testcontainers / testcontainers-java

Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
https://testcontainers.org
MIT License
8.02k stars 1.65k forks source link

[Bug]: MongoDB container - Could not start container #6402

Open flebastard opened 1 year ago

flebastard commented 1 year ago

Module

MongoDB

Testcontainers version

1.17.6

Using the latest Testcontainers version?

Yes

Host OS

Docker in Docker

Host Arch

Kubernetes

Docker version

We run our tests in a Kubernetes pod which uses another pod as a docker Daemon : docker:19.03.1-dind
Our configuration is based on this bloc article : https://joostvdg.github.io/jenkins-pipeline/podtemplate-dind/

What happened?

Hello, Randomly, our MongoDB test container doesn't start. There are several errors in logs bug we can't figure out which one causes the issue

14:37:42  13:37:40.485 WARN  --- [testcontainers-wait-0] .c.w.i.InternalCommandPortListeningCheck : An exception while executing the internal check: Container.ExecResult(exitCode=137, stdout=, stderr=/bin/sh: 1: nc: not found
14:37:42  /bin/bash: connect: Cannot assign requested address
14:37:42  /bin/bash: /dev/tcp/localhost/27017: Cannot assign requested address
14:37:42  13:37:40.699 ERROR --- [main] ?.d.c.0-focal]                           : Log output from the failed container:
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.420+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.422+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.429+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.430+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.439+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.439+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.439+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.439+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}}
14:37:42  /tmp must be a directory

Relevant log output

14:37:42    .   ____          _            __ _ _
14:37:42   /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
14:37:42  ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
14:37:42   \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
14:37:42    '  |____| .__|_| |_|_| |_\__, | / / / /
14:37:42   =========|_|==============|___/=/_/_/_/
14:37:42   :: Spring Boot ::                (v2.7.6)
14:37:42  
14:37:42  13:37:35.144 INFO  --- [main] o.t.t.o.s.batch.BatchJob      : Starting BatchJob using Java 17.0.2 on orchestration-e3b1c9c4-16ac-4dac-8183-6fc2fce9331-k1d-j1spk with PID 4906 (started by jenkins in /home/jenkins/agent/workspace/d_orchestration-build_PR-115/timeout/batch)
14:37:42  13:37:35.170 INFO  --- [main] o.t.t.o.s.batch.BatchJob      : No active profile set, falling back to 1 default profile: "default"
14:37:42  13:37:37.436 WARN  --- [main] o.t.utility.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)
14:37:42  13:37:38.392 WARN  --- [main] o.testcontainers.utility.ResourceReaper  : 
14:37:42  ********************************************************************************
14:37:42  Ryuk has been disabled. This can cause unexpected behavior in your environment.
14:37:42  ********************************************************************************
14:37:42  13:37:40.485 WARN  --- [testcontainers-wait-0] .c.w.i.InternalCommandPortListeningCheck : An exception while executing the internal check: Container.ExecResult(exitCode=137, stdout=, stderr=/bin/sh: 1: nc: not found
14:37:42  /bin/bash: connect: Cannot assign requested address
14:37:42  /bin/bash: /dev/tcp/localhost/27017: Cannot assign requested address
14:37:42  /bin/sh: 1: nc: not found
14:37:42  /bin/bash: connect: Cannot assign requested address
14:37:42  /bin/bash: /dev/tcp/localhost/27017: Cannot assign requested address
14:37:42  /bin/sh: 1: nc: not found
14:37:42  /bin/bash: connect: Cannot assign requested address
14:37:42  /bin/bash: /dev/tcp/localhost/27017: Cannot assign requested address
14:37:42  /bin/sh: 1: nc: not found
14:37:42  /bin/bash: connect: Cannot assign requested address
14:37:42  /bin/bash: /dev/tcp/localhost/27017: Cannot assign requested address
14:37:42  /bin/sh: 1: nc: not found
14:37:42  /bin/bash: connect: Cannot assign requested address
14:37:42  /bin/bash: /dev/tcp/localhost/27017: Cannot assign requested address
14:37:42  )
14:37:42  13:37:40.514 ERROR --- [main] o.t.containers.MongoDBContainer          : An error occurred: cannot exec in a stopped state: unknown
14:37:42  
14:37:42  13:37:40.517 ERROR --- [main] ?.d.c.0-focal]                           : Could not start container
14:37:42  org.testcontainers.containers.MongoDBContainer$ReplicaSetInitializationException: An error occurred: cannot exec in a stopped state: unknown
14:37:42  
14:37:42    at org.testcontainers.containers.MongoDBContainer.checkMongoNodeExitCode(MongoDBContainer.java:101)
14:37:42    at org.testcontainers.containers.MongoDBContainer.initReplicaSet(MongoDBContainer.java:136)
14:37:42    at org.testcontainers.containers.MongoDBContainer.containerIsStarted(MongoDBContainer.java:86)
14:37:42    at org.testcontainers.containers.GenericContainer.containerIsStarted(GenericContainer.java:701)
14:37:42    at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:521)
14:37:42    at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)
14:37:42    at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
14:37:42    at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)
14:37:42    at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
14:37:42    at org.company.orchestration.batch.TestConfig.mongoDBContainer(TestConfig.java:74)
14:37:42    at org.company.orchestration.batch.TestConfig$$EnhancerBySpringCGLIB$$2f0586f1.CGLIB$mongoDBContainer$1(<generated>)
14:37:42    at org.company.orchestration.batch.TestConfig$$EnhancerBySpringCGLIB$$2f0586f1$$FastClassBySpringCGLIB$$a384b1fe.invoke(<generated>)
14:37:42    at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
14:37:42    at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
14:37:42    at org.company.orchestration.batch.TestConfig$$EnhancerBySpringCGLIB$$2f0586f1.mongoDBContainer(<generated>)
14:37:42    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:37:42    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
14:37:42    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
14:37:42    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
14:37:42    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
14:37:42    at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
14:37:42    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:486)
14:37:42    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
14:37:42    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
14:37:42    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
14:37:42    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
14:37:42    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
14:37:42    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
14:37:42    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
14:37:42    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
14:37:42    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
14:37:42    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
14:37:42    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
14:37:42    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
14:37:42    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
14:37:42    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
14:37:42    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
14:37:42    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
14:37:42    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
14:37:42    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
14:37:42    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
14:37:42    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:760)
14:37:42    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:720)
14:37:42    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
14:37:42    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
14:37:42    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
14:37:42    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
14:37:42    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
14:37:42    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
14:37:42    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
14:37:42    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
14:37:42    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
14:37:42    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
14:37:42    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
14:37:42    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
14:37:42    at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
14:37:42    at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136)
14:37:42    at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141)
14:37:42    at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90)
14:37:42    at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124)
14:37:42    at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
14:37:42    at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
14:37:42    at org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance(SpringBootDependencyInjectionTestExecutionListener.java:43)
14:37:42    at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248)
14:37:42    at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:138)
14:37:42    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$8(ClassBasedTestDescriptor.java:363)
14:37:42    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:368)
14:37:42    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$9(ClassBasedTestDescriptor.java:363)
14:37:42    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
14:37:42    at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
14:37:42    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
14:37:42    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
14:37:42    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
14:37:42    at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310)
14:37:42    at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
14:37:42    at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
14:37:42    at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
14:37:42    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:362)
14:37:42    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:283)
14:37:42    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
14:37:42    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:282)
14:37:42    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:272)
14:37:42    at java.base/java.util.Optional.orElseGet(Optional.java:364)
14:37:42    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:271)
14:37:42    at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31)
14:37:42    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:102)
14:37:42    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
14:37:42    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:101)
14:37:42    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:66)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123)
14:37:42    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90)
14:37:42    at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
14:37:42    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
14:37:42    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
14:37:42    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
14:37:42    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
14:37:42    at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
14:37:42    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
14:37:42    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
14:37:42    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
14:37:42    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
14:37:42    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
14:37:42    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
14:37:42    at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
14:37:42    at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
14:37:42    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
14:37:42    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
14:37:42    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
14:37:42    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
14:37:42    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
14:37:42    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
14:37:42    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
14:37:42    at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
14:37:42    at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
14:37:42    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
14:37:42    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
14:37:42    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
14:37:42    at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
14:37:42    at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
14:37:42    at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
14:37:42    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
14:37:42  13:37:40.699 ERROR --- [main] ?.d.c.0-focal]                           : Log output from the failed container:
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.420+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.422+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.429+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.430+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.439+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.439+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.439+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}}
14:37:42  {"t":{"$date":"2023-01-10T13:37:40.439+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}}
14:37:42  /tmp must be a directory

Additional Information

No response

asciicode commented 1 year ago

/tmp must be a directory