Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10280

Occasional failure to start docker container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.54.0
    • documentmk, segment-azure
    • 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

          Activity

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: