FANNG1 opened a new issue, #6329:
URL: https://github.com/apache/gravitino/issues/6329

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   TestChainedAuthorizationIT failed without docker environment
   
   ### Error message and/or stacktrace
   
   ```
   
   TestChainedAuthorizationIT > initializationError FAILED
   java.lang.RuntimeException: Failed to initialize ContainerSuite
   at 
org.apache.gravitino.integration.test.container.ContainerSuite.initIfNecessary(ContainerSuite.java:103)
   at 
org.apache.gravitino.integration.test.container.ContainerSuite.startRangerContainer(ContainerSuite.java:519)
   at 
org.apache.gravitino.authorization.ranger.integration.test.RangerITEnv.init(RangerITEnv.java:94)
   at 
org.apache.gravitino.authorization.chain.integration.test.TestChainedAuthorizationIT.startIntegrationTest(TestChainedAuthorizationIT.java:85)
   
   Caused by:
   java.lang.IllegalStateException: Could not find a valid Docker environment. 
Please see logs and check configuration
   at 
org.testcontainers.dockerclient.DockerClientProviderStrategy.lambda$getFirstValidStrategy$7(DockerClientProviderStrategy.java:277)
   at java.util.Optional.orElseThrow(Optional.java:290)
   at 
org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:268)
   at 
org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:152)
   at 
org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:193)
   at 
org.apache.gravitino.integration.test.container.ContainerSuite.initIfNecessary(ContainerSuite.java:94)
   ... 3 more
   
   ```
   
   ### How to reproduce
   
   Run TestChainedAuthorizationIT without docker environment
   
   ### Additional context
   
   _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]

Reply via email to