Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Tests in various modules fail occasionally because there is a problem starting a docker container. The following is from a recent CI build.
[ERROR] org.apache.jackrabbit.oak.upgrade.cli.SegmentTarToSegmentAzureTest Time elapsed: 30.98 s <<< ERROR! java.lang.RuntimeException: Unable to start docker container: DockerConfig{name=oak-test-azurite-2881c40a} at com.arakelian.docker.junit.DockerRule$StatementWithDockerRule.evaluate(DockerRule.java:76) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: java.lang.IllegalStateException: Timeout waiting for socket connection to 0.0.0.0:32769 at com.arakelian.docker.junit.Container.waitForPort(Container.java:404) at com.arakelian.docker.junit.Container.waitForPort(Container.java:362) at com.arakelian.docker.junit.Container.waitForPort(Container.java:350) at org.apache.jackrabbit.oak.segment.azure.AzuriteDockerRule.lambda$new$0(AzuriteDockerRule.java:55) at com.arakelian.docker.junit.Container.start(Container.java:260) at com.arakelian.docker.junit.DockerRule$StatementWithDockerRule.evaluate(DockerRule.java:72) ... 11 more
Attachments
Issue Links
- relates to
-
OAK-10376 AzureSegmentStoreServiceTest: strange behavior when Docker not running
- Open
- links to