gmunozfe opened a new issue, #4322:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/4322
### Describe the bug
### Description
Quarkus integration tests are failing during startup because Testcontainers
cannot fetch the Redpanda Docker image used by Kafka Dev Services:
`java.util.concurrent.CompletionException:
org.testcontainers.containers.ContainerFetchException: Can't get Docker image:
RemoteDockerImage(imageName=redpandadata/redpanda:v24.3.1,
imagePullPolicy=DefaultPullPolicy(),
imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@7278db0d)
`
The failure happens before the test itself runs, while
Quarkus/Testcontainers is trying to start the Redpanda container.
### Expected behavior
The integration tests should start successfully and Kafka Dev Services
should be able to start a Redpanda container. Currently, the test boot process
fails because Testcontainers cannot fetch:
`redpandadata/redpanda:v24.3.1`
### Actual behavior
```
java.lang.RuntimeException: java.util.concurrent.CompletionException:
org.testcontainers.containers.ContainerFetchException: Can't get Docker image:
RemoteDockerImage(imageName=redpandadata/redpanda:v24.3.1,
imagePullPolicy=DefaultPullPolicy(),
imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@7278db0d)
at
io.quarkus.test.junit.QuarkusIntegrationTestExtension.throwBootFailureException(QuarkusIntegrationTestExtension.java:346)
at
io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeEach(QuarkusIntegrationTestExtension.java:114)
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:
org.testcontainers.containers.ContainerFetchException: Can't get Docker image:
RemoteDockerImage(imageName=redpandadata/redpanda:v24.3.1,
imagePullPolicy=DefaultPullPolicy(),
imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@7278db0d)
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.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
at
java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at
java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at
java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at
java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at
java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: org.testcontainers.containers.ContainerFetchException: Can't get
Docker image: RemoteDockerImage(imageName=redpandadata/redpanda:v24.3.1,
imagePullPolicy=DefaultPullPolicy(),
imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@7278db0d)
```
### How to Reproduce?
Execute this test org.kie.kogito.examples.CorrelationIT
### Output of `uname -a` or `ver`
_No response_
### Output of `java -version`
_No response_
### GraalVM version (if different from Java)
_No response_
### Kogito version or git rev (or at least Quarkus version if you are using
Kogito via Quarkus platform BOM)
_No response_
### Build tool (ie. output of `mvnw --version` or `gradlew --version`)
_No response_
### Additional information
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]