domhanak opened a new issue, #2073:
URL: https://github.com/apache/incubator-kie-kogito-examples/issues/2073

   ### Describe the bug
   
   *Summary*
   
   A test `org.acme.AcmeExchangeResourceIT.unauthorizedTest` 
   Location: 
https://github.com/apache/incubator-kie-kogito-examples/blob/main/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/test/java/org/acme/AcmeExchangeResourceIT.java
   
   Stacktrace:
   ```
   java.lang.RuntimeException: io.quarkus.builder.BuildException: Build 
failure: Build failed due to errors
    [error]: Build step 
io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
 threw an exception: java.lang.RuntimeException: 
org.testcontainers.containers.ContainerLaunchException: Container startup 
failed for image quay.io/keycloak/keycloak:23.0.7
    at 
io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:249)
    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:849)
    at io.quarkus.builder.BuildContext.run(BuildContext.java:256)
    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/keycloak/keycloak:23.0.7
    at 
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:359)
    at 
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:330)
    at 
io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:376)
    at java.base/java.util.Optional.orElseGet(Optional.java:364)
    at 
io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:401)
    at 
io.quarkus.oidc.deployment.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:197)
    ... 11 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:344)
    ... 16 more
   Caused by: org.testcontainers.containers.ContainerLaunchException: Could not 
create/start container
    at 
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:563)
    at 
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:354)
    at 
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
    ... 17 more
   Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out 
waiting for log output matching '.*Keycloak.*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:909)
    at 
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:500)
   ```
   
   ### Expected behavior
   
   Test does not fail intermittently
   
   ### Actual behavior
   
   Test does fail intermittently
   
   ### How to Reproduce?
   
   Run pull request checks.
   
   ### 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]

Reply via email to