Skip to content

Address Guillaume's comments #807

Address Guillaume's comments

Address Guillaume's comments #807

GitHub Actions / Build summary for 0ea1c6b63a00a491575a4d0da2c01d8cadc6d5cc completed Oct 17, 2024 in 0s

Build summary for 0ea1c6b63a00a491575a4d0da2c01d8cadc6d5cc

Failing Jobs - Building 0ea1c6b - Back to Workflow run summary

Status Name Step Failures Logs Raw logs Build scan
Native Tests - Misc4 Build Failures Logs Raw logs 🚧

Details

Test Failures

⚙️ Native Tests - Misc4 #

- Failing: integration-tests/opentelemetry-jdbc-instrumentation 

📦 integration-tests/opentelemetry-jdbc-instrumentation

# Tests:    4
+ Success:  0
- Failures: 0
- Errors:   2
! Skipped:  2

io.quarkus.it.opentelemetry.MariaDbOpenTelemetryJdbcInstrumentationIT.testMariaDbQueryTraced - Source on GitHub - 🠅

java.lang.RuntimeException: java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.MariaDbLifecycleManager
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.throwBootFailureException(QuarkusIntegrationTestExtension.java:375)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeEach(QuarkusIntegrationTestExtension.java:118)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.MariaDbLifecycleManager
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)

io.quarkus.it.opentelemetry.PostgresOpenTelemetryJdbcInstrumentationIT.testPostgreSqlQueryTraced - Source on GitHub - 🠅

java.lang.RuntimeException: java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.PostgreSqlLifecycleManager
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.throwBootFailureException(QuarkusIntegrationTestExtension.java:375)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeEach(QuarkusIntegrationTestExtension.java:118)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.PostgreSqlLifecycleManager
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)

Annotations

Check failure on line 1 in integration-tests/opentelemetry-jdbc-instrumentation/src/test/java/io/quarkus/it/opentelemetry/MariaDbOpenTelemetryJdbcInstrumentationIT.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 0ea1c6b63a00a491575a4d0da2c01d8cadc6d5cc

Native Tests - Misc4

java.lang.RuntimeException: java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.MariaDbLifecycleManager
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.throwBootFailureException(QuarkusIntegrationTestExtension.java:375)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeEach(QuarkusIntegrationTestExtension.java:118)
Raw output
java.lang.RuntimeException: java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.MariaDbLifecycleManager
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.throwBootFailureException(QuarkusIntegrationTestExtension.java:375)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeEach(QuarkusIntegrationTestExtension.java:118)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.MariaDbLifecycleManager
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
	Suppressed: java.lang.RuntimeException: Unable to stop Quarkus test resource io.quarkus.it.opentelemetry.MariaDbLifecycleManager@3fecdd00
		at io.quarkus.test.common.TestResourceManager.close(TestResourceManager.java:214)
		at io.quarkus.test.junit.QuarkusIntegrationTestExtension.doProcessStart(QuarkusIntegrationTestExtension.java:319)
		at io.quarkus.test.junit.QuarkusIntegrationTestExtension.ensureStarted(QuarkusIntegrationTestExtension.java:170)
		at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeAll(QuarkusIntegrationTestExtension.java:131)
		at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Caused by: java.lang.NullPointerException: Cannot invoke "io.quarkus.it.opentelemetry.MariaDbLifecycleManager$StartedMariaDBContainer.stop()" because "this.mariaDbContainer" is null
		at io.quarkus.it.opentelemetry.MariaDbLifecycleManager.stop(MariaDbLifecycleManager.java:40)
		at io.quarkus.test.common.TestResourceManager.close(TestResourceManager.java:212)
		... 4 more
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.MariaDbLifecycleManager
	at io.quarkus.test.common.TestResourceManager$TestResourceRunnable.run(TestResourceManager.java:635)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
	... 3 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image testcontainers/ryuk:0.9.0
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:359)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:330)
	at org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:78)
	at org.testcontainers.utility.RyukResourceReaper.init(RyukResourceReaper.java:42)
	at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:245)
	at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:108)
	at com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:109)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:329)
	at io.quarkus.it.opentelemetry.MariaDbLifecycleManager$StartedMariaDBContainer.<init>(MariaDbLifecycleManager.java:53)
	at io.quarkus.it.opentelemetry.MariaDbLifecycleManager.start(MariaDbLifecycleManager.java:20)
	at io.quarkus.test.common.TestResourceManager$TestResourceRunnable.run(TestResourceManager.java:629)
	... 4 more
Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=testcontainers/ryuk:0.9.0, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@40739be0)
	at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1364)
	at org.testcontainers.containers.GenericContainer.logger(GenericContainer.java:671)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:341)
	... 14 more
Caused by: org.testcontainers.shaded.org.awaitility.core.ConditionTimeoutException: Condition with org.testcontainers.images.RemoteDockerImage was not fulfilled within 2 minutes.
	at org.testcontainers.shaded.org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.testcontainers.shaded.org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
	at org.testcontainers.shaded.org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
	at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
	at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:954)
	at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:106)
	at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:34)
	at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:20)
	at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:41)
	at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1362)
	... 16 more

Check failure on line 1 in integration-tests/opentelemetry-jdbc-instrumentation/src/test/java/io/quarkus/it/opentelemetry/PostgresOpenTelemetryJdbcInstrumentationIT.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 0ea1c6b63a00a491575a4d0da2c01d8cadc6d5cc

Native Tests - Misc4

java.lang.RuntimeException: java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.PostgreSqlLifecycleManager
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.throwBootFailureException(QuarkusIntegrationTestExtension.java:375)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeEach(QuarkusIntegrationTestExtension.java:118)
Raw output
java.lang.RuntimeException: java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.PostgreSqlLifecycleManager
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.throwBootFailureException(QuarkusIntegrationTestExtension.java:375)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeEach(QuarkusIntegrationTestExtension.java:118)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.PostgreSqlLifecycleManager
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
	Suppressed: java.lang.RuntimeException: Unable to stop Quarkus test resource io.quarkus.it.opentelemetry.PostgreSqlLifecycleManager@a03b86a
		at io.quarkus.test.common.TestResourceManager.close(TestResourceManager.java:214)
		at io.quarkus.test.junit.QuarkusIntegrationTestExtension.doProcessStart(QuarkusIntegrationTestExtension.java:319)
		at io.quarkus.test.junit.QuarkusIntegrationTestExtension.ensureStarted(QuarkusIntegrationTestExtension.java:170)
		at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeAll(QuarkusIntegrationTestExtension.java:131)
		at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Caused by: java.lang.NullPointerException: Cannot invoke "io.quarkus.it.opentelemetry.PostgreSqlLifecycleManager$StartedPostgresContainer.stop()" because "this.postgresContainer" is null
		at io.quarkus.it.opentelemetry.PostgreSqlLifecycleManager.stop(PostgreSqlLifecycleManager.java:40)
		at io.quarkus.test.common.TestResourceManager.close(TestResourceManager.java:212)
		... 4 more
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.opentelemetry.PostgreSqlLifecycleManager
	at io.quarkus.test.common.TestResourceManager$TestResourceRunnable.run(TestResourceManager.java:635)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
	... 3 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image testcontainers/ryuk:0.9.0
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:359)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:330)
	at org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:78)
	at org.testcontainers.utility.RyukResourceReaper.init(RyukResourceReaper.java:42)
	at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:245)
	at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:108)
	at com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:109)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:329)
	at io.quarkus.it.opentelemetry.MariaDbLifecycleManager$StartedMariaDBContainer.<init>(MariaDbLifecycleManager.java:53)
	at io.quarkus.it.opentelemetry.MariaDbLifecycleManager.start(MariaDbLifecycleManager.java:20)
	at io.quarkus.test.common.TestResourceManager$TestResourceRunnable.run(TestResourceManager.java:629)
	... 4 more
Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=testcontainers/ryuk:0.9.0, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@40739be0)
	at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1364)
	at org.testcontainers.containers.GenericContainer.logger(GenericContainer.java:671)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:341)
	... 14 more
Caused by: org.testcontainers.shaded.org.awaitility.core.ConditionTimeoutException: Condition with org.testcontainers.images.RemoteDockerImage was not fulfilled within 2 minutes.
	at org.testcontainers.shaded.org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.testcontainers.shaded.org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
	at org.testcontainers.shaded.org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
	at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
	at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:954)
	at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:106)
	at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:34)
	at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:20)
	at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:41)
	at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1362)
	... 16 more