org.testcontainers.containers.ContainerLaunchException

Container startup failed

Samebug tips1

Take a look at this blog post on how to set up Grid2 https://goo.gl/rxzbE6. A user related (in the email group on the source) that using older selenium libs solves this exception.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web21

  • via GitHub by rnorth
    , 6 months ago
    Container startup failed
  • Container startup failed
  • Container startup failed
  • Stack trace

    • org.testcontainers.containers.ContainerLaunchException: Container startup failed at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:174) at org.testcontainers.containers.DockerCompose.start(DockerComposeContainer.java:305) at org.testcontainers.containers.DockerComposeContainer.pullImages(DockerComposeContainer.java:92) at org.testcontainers.containers.DockerComposeContainer.starting(DockerComposeContainer.java:82) at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:28) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:83) at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:167) ... 23 more Caused by: java.lang.NullPointerException: containerId was not specified at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:228) at com.github.dockerjava.core.command.LogContainerCmdImpl.withContainerId(LogContainerCmdImpl.java:78) at com.github.dockerjava.core.command.LogContainerCmdImpl.<init>(LogContainerCmdImpl.java:38) at com.github.dockerjava.core.DockerClientImpl.logContainerCmd(DockerClientImpl.java:335) at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:231) at org.testcontainers.containers.GenericContainer.lambda$start$0(GenericContainer.java:169) at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:76) ... 25 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 5 months ago
    Unknown user
    Once, 7 months ago
    2 times, 10 months ago
    Unknown user
    Once, 11 months ago
    3 times, 5 days ago
    85 more bugmates