I am facing this error while testing the build #6526
Unanswered
prannjjol33
asked this question in
Q&A
Replies: 1 comment
-
You need to have the docker daemon up and running for those tests to work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Gradle Test Executor 83 STANDARD_ERROR [17 12:11:05.523] | [Test worker] ERROR org.testcontainers.dockerclient.DockerClientProviderStrategy - Could not find a valid Docker environment. Please check configuration. Attempted configurations were: [17 12:11:05.523] | UnixSocketClientProviderStrategy: failed with exception InvalidConfigurationException (Could not find unix domain socket). Root cause NoSuchFileException (/var/run/docker.sock) [17 12:11:05.523] | DockerDesktopClientProviderStrategy: failed with exception NullPointerException (Cannot invoke "java.nio.file.Path.toString()" because the return value of "org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy.getSocketPath()" is null)As no valid configuration was found, execution cannot continue.
I built io.opentelemetry:opentelemetry-exporter-otlp:1.28.0 and now I am testing the build using ./gradlew test command but in some tests I am seeing this error.
JAVA_VERSION : 17
GRADLE_VERSION : 8.2.1
Beta Was this translation helpful? Give feedback.
All reactions