Skip to content

Failed

org.eclipse.hono.deviceregistry.mongodb.service.MongoDbBasedRegistrationServiceTest.org.eclipse.hono.deviceregistry.mongodb.service.MongoDbBasedRegistrationServiceTest

Failing for the past 1 build (Since #2059 )
Took 0.51 sec.

Error Message

Could not initialize class org.eclipse.hono.deviceregistry.mongodb.service.MongoDbTestUtils

Stacktrace

java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.hono.deviceregistry.mongodb.service.MongoDbTestUtils
	at org.eclipse.hono.deviceregistry.mongodb.service.MongoDbBasedRegistrationServiceTest.setup(MongoDbBasedRegistrationServiceTest.java:63)

Standard Output

13:41:46.346 [ForkJoinPool-1-worker-1] WARN  o.t.u.TestcontainersConfiguration - Attempted to read Testcontainers configuration file at file:/home/jenkins/.testcontainers.properties but the file was not found. Exception message: FileNotFoundException: /home/jenkins/.testcontainers.properties (No such file or directory)
13:41:46.365 [ForkJoinPool-1-worker-1] INFO  o.t.d.DockerMachineClientProviderStrategy - docker-machine executable was not found on PATH ([/opt/tools/java/openjdk/jdk-11/latest/bin, /home/jenkins/agent/workspace/Hono CI Pipeline@tmp/withMavend2b4c990, /opt/java/openjdk/bin, /usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, /bin])
13:41:46.416 [ForkJoinPool-1-worker-1] ERROR o.t.d.DockerClientProviderStrategy - Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
13:41:46.416 [ForkJoinPool-1-worker-1] ERROR o.t.d.DockerClientProviderStrategy -     UnixSocketClientProviderStrategy: failed with exception InvalidConfigurationException (Could not find unix domain socket). Root cause NoSuchFileException (/var/run/docker.sock)
13:41:46.416 [ForkJoinPool-1-worker-1] ERROR o.t.d.DockerClientProviderStrategy - As no valid configuration was found, execution cannot continue