Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testcontainers, Ryuk, aarch64 #256

Open
Karm opened this issue Apr 23, 2024 · 1 comment
Open

Testcontainers, Ryuk, aarch64 #256

Karm opened this issue Apr 23, 2024 · 1 comment
Assignees

Comments

@Karm
Copy link
Owner

Karm commented Apr 23, 2024

It seems that ryuk is acting up on aarch64 RHEL 9 instances, not sure if it's local podman setup or what.

Quarkus TS

Postgres: docker.io/postgres:14

java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
 [error]: Build step io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor#launchDatabases threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image docker.io/postgres:14
 at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:363)
 at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.launchDatabases(DevServicesDatasourceProcessor.java:140)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
 at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:864)
 at io.quarkus.builder.BuildContext.run(BuildContext.java:282)
 at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
 at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
 at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
 at java.base/java.lang.Thread.run(Thread.java:840)
 at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image docker.io/postgres:14
 at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
 at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
 at io.quarkus.devservices.postgresql.deployment.PostgresqlDevServicesProcessor$1.startDatabase(PostgresqlDevServicesProcessor.java:72)
 at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:291)
 ... 12 more
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
 at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
 at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
 ... 15 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
 at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:553)
 at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
 at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
 ... 16 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image testcontainers/ryuk:0.5.1
 at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
 at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
 at org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:78)
 at org.testcontainers.utility.RyukResourceReaper.register(RyukResourceReaper.java:68)
 at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:423)
 ... 18 more
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
 at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
 at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
 ... 22 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
 at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:553)
 at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
 at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
 ... 23 more
Caused by: java.lang.IllegalStateException: Wait strategy failed. Container is removed
 at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:501)
 ... 25 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Started.*'
 at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
 at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
 at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:964)
 at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:490)
 ... 25 more

Integration TS

Postregss: quay.io/debezium/postgres:15

2024-04-22 13:53:22,347 INFO  [org.tes.doc.DockerClientProviderStrategy] (build-62) Found Docker environment with Environment variables, system properties and defaults. Resolved dockerHost=unix:///run/user/1000/podman/podman.sock
2024-04-22 13:53:22,356 INFO  [org.tes.DockerClientFactory] (build-62) Docker host IP address is localhost
2024-04-22 13:53:22,463 INFO  [org.tes.DockerClientFactory] (build-62) Connected to docker: 
  Server Version: 4.9.4-dev
  API Version: 1.41
  Operating System: rhel
  Total Memory: 97798 MB
2024-04-22 13:53:22,512 INFO  [org.tes.uti.ImageNameSubstitutor] (build-62) Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
2024-04-22 13:53:22,522 INFO  [org.tes.DockerClientFactory] (build-62) Checking the system...
2024-04-22 13:53:22,524 INFO  [org.tes.DockerClientFactory] (build-62) ✔︎ Docker server version should be at least 1.6.0
2024-04-22 13:53:22,594 INFO  [tc.qua.io/debezium/postgres:15] (build-62) Pulling docker image: quay.io/debezium/postgres:15. Please be patient; this may take some time but only needs to be done once.
2024-04-22 13:53:22,604 INFO  [org.tes.uti.RegistryAuthLocator] (build-62) Failure when attempting to lookup auth config. Please ignore if you don't have images in an authenticated registry. Details: (dockerImageName: quay.io/debezium/postgres:latest, configFile: /home/tester/.docker/config.json, configEnv: DOCKER_AUTH_CONFIG). Falling back to docker-java default behaviour. Exception message: Status 404: No config supplied. Checked in order: /home/tester/.docker/config.json (file not found), DOCKER_AUTH_CONFIG (not set)
2024-04-22 13:53:24,857 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Starting to pull image
2024-04-22 13:53:24,927 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  0 pending,  1 downloaded,  0 extracted, (0 bytes/0 bytes)
2024-04-22 13:53:25,181 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  1 pending,  2 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,200 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  2 pending,  3 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,214 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  2 pending,  4 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,239 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  1 pending,  5 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,383 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  2 pending,  6 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,451 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  3 pending,  7 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,468 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  2 pending,  8 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,551 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  2 pending,  9 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,584 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  2 pending, 10 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,684 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  2 pending, 11 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,708 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  2 pending, 12 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,819 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  3 pending, 13 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,900 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  3 pending, 14 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:25,942 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  3 pending, 15 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:26,012 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  3 pending, 16 downloaded,  0 extracted, (0 bytes/? MB)
2024-04-22 13:53:27,345 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  2 pending, 17 downloaded,  0 extracted, (91 MB/? MB)
2024-04-22 13:53:27,512 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  1 pending, 18 downloaded,  0 extracted, (91 MB/? MB)
2024-04-22 13:53:31,086 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  0 pending, 19 downloaded,  0 extracted, (91 MB/167 MB)
2024-04-22 13:53:31,092 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  0 pending, 20 downloaded,  0 extracted, (91 MB/167 MB)
2024-04-22 13:53:31,148 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pulling image layers:  0 pending, 20 downloaded,  0 extracted, (91 MB/167 MB)
2024-04-22 13:53:31,148 INFO  [tc.qua.io/debezium/postgres:15] (docker-java-stream-1754348782) Pull complete. 20 layers, pulled in 6s (downloaded 91 MB at 15 MB/s)
2024-04-22 13:53:31,195 INFO  [tc.qua.io/debezium/postgres:15] (build-62) Creating container for image: quay.io/debezium/postgres:15
2024-04-22 13:53:31,209 WARN  [tc.qua.io/debezium/postgres:15] (build-62) Reuse was requested but the environment does not support the reuse of containers
To enable reuse of containers, you must set 'testcontainers.reuse.enable=true' in a file located at /home/tester/.testcontainers.properties
2024-04-22 13:53:31,213 INFO  [tc.tes.5.1] (build-62) Pulling docker image: testcontainers/ryuk:0.5.1. Please be patient; this may take some time but only needs to be done once.
2024-04-22 13:53:31,214 INFO  [org.tes.uti.RegistryAuthLocator] (build-62) Failure when attempting to lookup auth config. Please ignore if you don't have images in an authenticated registry. Details: (dockerImageName: testcontainers/ryuk:latest, configFile: /home/tester/.docker/config.json, configEnv: DOCKER_AUTH_CONFIG). Falling back to docker-java default behaviour. Exception message: Status 404: No config supplied. Checked in order: /home/tester/.docker/config.json (file not found), DOCKER_AUTH_CONFIG (not set)
2024-04-22 13:53:32,777 INFO  [tc.tes.5.1] (docker-java-stream--1761815518) Starting to pull image
2024-04-22 13:53:32,870 INFO  [tc.tes.5.1] (docker-java-stream--1761815518) Pulling image layers:  0 pending,  1 downloaded,  0 extracted, (0 bytes/0 bytes)
2024-04-22 13:53:32,931 INFO  [tc.tes.5.1] (docker-java-stream--1761815518) Pulling image layers:  0 pending,  2 downloaded,  0 extracted, (0 bytes/0 bytes)
2024-04-22 13:53:33,315 INFO  [tc.tes.5.1] (docker-java-stream--1761815518) Pulling image layers:  0 pending,  3 downloaded,  0 extracted, (0 bytes/0 bytes)
2024-04-22 13:53:33,322 INFO  [tc.tes.5.1] (docker-java-stream--1761815518) Pulling image layers:  0 pending,  4 downloaded,  0 extracted, (0 bytes/0 bytes)
2024-04-22 13:53:33,343 INFO  [tc.tes.5.1] (docker-java-stream--1761815518) Pulling image layers:  0 pending,  4 downloaded,  0 extracted, (0 bytes/0 bytes)
2024-04-22 13:53:33,350 INFO  [tc.tes.5.1] (build-62) Creating container for image: testcontainers/ryuk:0.5.1
2024-04-22 13:53:33,459 INFO  [tc.tes.5.1] (build-62) Container testcontainers/ryuk:0.5.1 is starting: 7fac5b93818dfdcdcc3ddd874108a8611ada715d50df1c18c2a95d861b649773
2024-04-22 13:54:35,286 INFO  [com.git.doc.zer.sha.org.apa.hc.cli.htt.imp.cla.HttpRequestRetryExec] (build-62) Recoverable I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:2375
2024-04-22 13:54:35,387 ERROR [tc.tes.5.1] (build-62) Could not start container: java.lang.IllegalStateException: Wait strategy failed. Container is removed
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:501)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
	at org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:78)
	at org.testcontainers.utility.RyukResourceReaper.register(RyukResourceReaper.java:68)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:423)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
	at io.quarkus.devservices.postgresql.deployment.PostgresqlDevServicesProcessor$1.startDatabase(PostgresqlDevServicesProcessor.java:72)
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:291)
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.launchDatabases(DevServicesDatasourceProcessor.java:152)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:864)
	at io.quarkus.builder.BuildContext.run(BuildContext.java:282)
	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
	at java.base/java.lang.Thread.run(Thread.java:840)
	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Started.*'
	at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
	at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
	at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:964)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:490)
	... 25 more

2024-04-22 13:54:35,393 ERROR [tc.tes.5.1] (build-62) There are no stdout/stderr logs available for the failed container
2024-04-22 13:54:35,393 ERROR [tc.qua.io/debezium/postgres:15] (build-62) Could not start container: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image testcontainers/ryuk:0.5.1
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
	at org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:78)
	at org.testcontainers.utility.RyukResourceReaper.register(RyukResourceReaper.java:68)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:423)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
	at io.quarkus.devservices.postgresql.deployment.PostgresqlDevServicesProcessor$1.startDatabase(PostgresqlDevServicesProcessor.java:72)
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:291)
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.launchDatabases(DevServicesDatasourceProcessor.java:152)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:864)
	at io.quarkus.builder.BuildContext.run(BuildContext.java:282)
	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
	at java.base/java.lang.Thread.run(Thread.java:840)
	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
	... 22 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:553)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	... 23 more
Caused by: java.lang.IllegalStateException: Wait strategy failed. Container is removed
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:501)
	... 25 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Started.*'
	at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
	at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
	at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:964)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:490)
	... 25 more

[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 81.335 s <<< FAILURE! - in quarkus.awt.ImageResourceTest
[ERROR] testWatermarkJPG  Time elapsed: 0.014 s  <<< ERROR!
java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor#launchDatabases threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image quay.io/debezium/postgres:15
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:363)
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.launchDatabases(DevServicesDatasourceProcessor.java:152)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:864)
	at io.quarkus.builder.BuildContext.run(BuildContext.java:282)
	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
	at java.base/java.lang.Thread.run(Thread.java:840)
	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image quay.io/debezium/postgres:15
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
	at io.quarkus.devservices.postgresql.deployment.PostgresqlDevServicesProcessor$1.startDatabase(PostgresqlDevServicesProcessor.java:72)
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:291)
	... 12 more
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
	... 15 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:553)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	... 16 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image testcontainers/ryuk:0.5.1
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
	at org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:78)
	at org.testcontainers.utility.RyukResourceReaper.register(RyukResourceReaper.java:68)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:423)
	... 18 more
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
	... 22 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:553)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	... 23 more
Caused by: java.lang.IllegalStateException: Wait strategy failed. Container is removed
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:501)
	... 25 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Started.*'
	at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
	at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
	at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:964)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:490)
	... 25 more

Caused by: java.lang.RuntimeException: 
io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor#launchDatabases threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image quay.io/debezium/postgres:15
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:363)
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.launchDatabases(DevServicesDatasourceProcessor.java:152)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:864)
	at io.quarkus.builder.BuildContext.run(BuildContext.java:282)
	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
	at java.base/java.lang.Thread.run(Thread.java:840)
	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image quay.io/debezium/postgres:15
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
	at io.quarkus.devservices.postgresql.deployment.PostgresqlDevServicesProcessor$1.startDatabase(PostgresqlDevServicesProcessor.java:72)
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:291)
	... 12 more
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
	... 15 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:553)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	... 16 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image testcontainers/ryuk:0.5.1
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
	at org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:78)
	at org.testcontainers.utility.RyukResourceReaper.register(RyukResourceReaper.java:68)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:423)
	... 18 more
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
	... 22 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:553)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	... 23 more
Caused by: java.lang.IllegalStateException: Wait strategy failed. Container is removed
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:501)
	... 25 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Started.*'
	at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
	at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
	at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:964)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:490)
	... 25 more

Caused by: io.quarkus.builder.BuildException: 
Build failure: Build failed due to errors
	[error]: Build step io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor#launchDatabases threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image quay.io/debezium/postgres:15
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:363)
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.launchDatabases(DevServicesDatasourceProcessor.java:152)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:864)
	at io.quarkus.builder.BuildContext.run(BuildContext.java:282)
	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
	at java.base/java.lang.Thread.run(Thread.java:840)
	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image quay.io/debezium/postgres:15
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
	at io.quarkus.devservices.postgresql.deployment.PostgresqlDevServicesProcessor$1.startDatabase(PostgresqlDevServicesProcessor.java:72)
	at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:291)
	... 12 more
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
	... 15 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:553)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	... 16 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image testcontainers/ryuk:0.5.1
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
	at org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:78)
	at org.testcontainers.utility.RyukResourceReaper.register(RyukResourceReaper.java:68)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:423)
	... 18 more
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
	... 22 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:553)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	... 23 more
Caused by: java.lang.IllegalStateException: Wait strategy failed. Container is removed
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:501)
	... 25 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Started.*'
	at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
	at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
	at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:964)
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:490)
	... 25 more

Caused by: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image quay.io/debezium/postgres:15
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image quay.io/debezium/postgres:15
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image testcontainers/ryuk:0.5.1
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
Caused by: java.lang.IllegalStateException: Wait strategy failed. Container is removed
Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.*Started.*'
@Karm Karm self-assigned this Apr 23, 2024
@Karm
Copy link
Owner Author

Karm commented Apr 23, 2024

TESTCONTAINERS_RYUK_DISABLED was not in the active job config, re running...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant