Skip to content

chore: Update Test dependencies (#279) #266

chore: Update Test dependencies (#279)

chore: Update Test dependencies (#279) #266

GitHub Actions / JUnit Test Report failed Apr 12, 2025 in 0s

98 tests run, 97 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 161 in src/functionalTest/kotlin/dev/monosoul/jooq/functional/ExcludeFlywayHistoryTableJooqDockerPluginFunctionalTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ExcludeFlywayHistoryTableJooqDockerPluginFunctionalTest.should exclude flyway schema history without overriding existing excludes()

java.lang.IllegalStateException: An error occurred executing build with args 'generateJooqClasses --stacktrace --info' in directory '/tmp/junit-7504097264026436345'. Output before error:
The client will now receive all logging from the daemon (pid: 3631). The daemon log file: /home/runner/work/jooq-gradle-plugin/jooq-gradle-plugin/build/tmp/functionalTest/work/.gradle-test-kit/test-kit-daemon/8.13/daemon-3631.out.log
Starting 13th build in daemon [uptime: 1 mins 37.801 secs, performance: 99%, GC rate: 0.00/s, heap usage: 0% of 3.9 GiB]
Using 4 worker leases.
Now considering [/tmp/junit-7504097264026436345, /tmp/junit-3472403294754366762] as hierarchies to watch
Watching the file system is configured to be enabled if available
File system watching is active
Starting Build
Settings evaluated using settings file '/tmp/junit-7504097264026436345/settings.gradle'.
Projects loaded. Root project using build file '/tmp/junit-7504097264026436345/build.gradle.kts'.
Included projects: [root project 'junit-7504097264026436345']

> Configure project :
Evaluating root project 'junit-7504097264026436345' using build file '/tmp/junit-7504097264026436345/build.gradle.kts'.
Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage1) because:
  Build cache is disabled
Resolved plugin [id: 'dev.monosoul.jooq-docker']
Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage2) because:
  Build cache is disabled
w: Classpath entry points to a non-existent location: /home/runner/work/jooq-gradle-plugin/jooq-gradle-plugin/build/classes/java/main
All projects evaluated.
Task name matched 'generateJooqClasses'
Selected primary task 'generateJooqClasses' from project :
Tasks to be executed: [task ':generateJooqClasses']
Tasks that were excluded: []
Resolve mutations for :generateJooqClasses (Thread[#312,Execution worker,5,main]) started.
:generateJooqClasses (Thread[#312,Execution worker,5,main]) started.
STDOUT: The files belonging to this database system will be owned by user "postgres".
STDOUT: This user must also own the server process.
STDOUT: 
STDOUT: The database cluster will be initialized with locale "en_US.utf8".
STDOUT: The default database encoding has accordingly been set to "UTF8".
STDOUT: The default text search configuration will be set to "english".
STDOUT: 
STDOUT: Data page checksums are disabled.
STDOUT: 
STDOUT: fixing permissions on existing directory /var/lib/postgresql/data ... ok
STDOUT: creating subdirectories ... ok
STDOUT: selecting dynamic shared memory implementation ... posix
STDOUT: selecting default max_connections ... 100
STDOUT: selecting default shared_buffers ... 128MB
STDOUT: selecting default time zone ... UTC
STDOUT: creating configuration files ... ok
STDOUT: running bootstrap script ... ok

> Task :generateJooqClasses
Caching disabled for task ':generateJooqClasses' because:
  Build cache is disabled
Task ':generateJooqClasses' is not up-to-date because:
  No history is available.
Creating container for image: postgres:14.4-alpine
Container postgres:14.4-alpine is starting: 112681758e64f1c080414980f696dea10a08994c6edf6a8a040d5839ab88035b
Waiting for database connection to become available at jdbc:postgresql://localhost:32783/postgres using query 'SELECT 1'
Raw output
java.lang.IllegalStateException: An error occurred executing build with args 'generateJooqClasses --stacktrace --info' in directory '/tmp/junit-7504097264026436345'. Output before error:
The client will now receive all logging from the daemon (pid: 3631). The daemon log file: /home/runner/work/jooq-gradle-plugin/jooq-gradle-plugin/build/tmp/functionalTest/work/.gradle-test-kit/test-kit-daemon/8.13/daemon-3631.out.log
Starting 13th build in daemon [uptime: 1 mins 37.801 secs, performance: 99%, GC rate: 0.00/s, heap usage: 0% of 3.9 GiB]
Using 4 worker leases.
Now considering [/tmp/junit-7504097264026436345, /tmp/junit-3472403294754366762] as hierarchies to watch
Watching the file system is configured to be enabled if available
File system watching is active
Starting Build
Settings evaluated using settings file '/tmp/junit-7504097264026436345/settings.gradle'.
Projects loaded. Root project using build file '/tmp/junit-7504097264026436345/build.gradle.kts'.
Included projects: [root project 'junit-7504097264026436345']

> Configure project :
Evaluating root project 'junit-7504097264026436345' using build file '/tmp/junit-7504097264026436345/build.gradle.kts'.
Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage1) because:
  Build cache is disabled
Resolved plugin [id: 'dev.monosoul.jooq-docker']
Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage2) because:
  Build cache is disabled
w: Classpath entry points to a non-existent location: /home/runner/work/jooq-gradle-plugin/jooq-gradle-plugin/build/classes/java/main
All projects evaluated.
Task name matched 'generateJooqClasses'
Selected primary task 'generateJooqClasses' from project :
Tasks to be executed: [task ':generateJooqClasses']
Tasks that were excluded: []
Resolve mutations for :generateJooqClasses (Thread[#312,Execution worker,5,main]) started.
:generateJooqClasses (Thread[#312,Execution worker,5,main]) started.
STDOUT: The files belonging to this database system will be owned by user "postgres".
STDOUT: This user must also own the server process.
STDOUT: 
STDOUT: The database cluster will be initialized with locale "en_US.utf8".
STDOUT: The default database encoding has accordingly been set to "UTF8".
STDOUT: The default text search configuration will be set to "english".
STDOUT: 
STDOUT: Data page checksums are disabled.
STDOUT: 
STDOUT: fixing permissions on existing directory /var/lib/postgresql/data ... ok
STDOUT: creating subdirectories ... ok
STDOUT: selecting dynamic shared memory implementation ... posix
STDOUT: selecting default max_connections ... 100
STDOUT: selecting default shared_buffers ... 128MB
STDOUT: selecting default time zone ... UTC
STDOUT: creating configuration files ... ok
STDOUT: running bootstrap script ... ok

> Task :generateJooqClasses
Caching disabled for task ':generateJooqClasses' because:
  Build cache is disabled
Task ':generateJooqClasses' is not up-to-date because:
  No history is available.
Creating container for image: postgres:14.4-alpine
Container postgres:14.4-alpine is starting: 112681758e64f1c080414980f696dea10a08994c6edf6a8a040d5839ab88035b
Waiting for database connection to become available at jdbc:postgresql://localhost:32783/postgres using query 'SELECT 1'

	at org.gradle.testkit.runner.internal.ToolingApiGradleExecutor.run(ToolingApiGradleExecutor.java:170)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:353)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:272)
	at dev.monosoul.jooq.functional.FunctionalTestBase.runGradleWithArguments(FunctionalTestBase.kt:30)
	at dev.monosoul.jooq.functional.FunctionalTestBase.runGradleWithArguments$default(FunctionalTestBase.kt:20)
	at dev.monosoul.jooq.functional.ExcludeFlywayHistoryTableJooqDockerPluginFunctionalTest.should exclude flyway schema history without overriding existing excludes(ExcludeFlywayHistoryTableJooqDockerPluginFunctionalTest.kt:161)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: org.gradle.tooling.GradleConnectionException: Could not execute build using connection to Gradle installation '/home/runner/.gradle/wrapper/dists/gradle-8.13-bin/5xuhj0ry160q40clulazy9h7d/gradle-8.13'.
	at app//org.gradle.tooling.internal.consumer.ConnectionExceptionTransformer.transform(ConnectionExceptionTransformer.java:73)
	at app//org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:42)
	at app//org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:68)
	at app//org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
	at app//org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at [email protected]/java.lang.Thread.run(Thread.java:1583)
	at app//org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46)
	at app//org.gradle.tooling.internal.consumer.DefaultBuildLauncher.run(DefaultBuildLauncher.java:82)
	at app//org.gradle.testkit.runner.internal.ToolingApiGradleExecutor.run(ToolingApiGradleExecutor.java:146)
	... 8 more