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

[Bug report] TestChainedAuthorizationIT failed without docker environment #6329

Open
FANNG1 opened this issue Jan 20, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@FANNG1
Copy link
Contributor

FANNG1 commented Jan 20, 2025

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

@FANNG1 FANNG1 added the bug Something isn't working label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant