org.rnorth.ducttape.TimeoutException

Timeout waiting for result with exception

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web1

  • Stack trace

    • org.rnorth.ducttape.TimeoutException: Timeout waiting for result with exception at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:51)[duct-tape-1.0.6.jar:na] at org.testcontainers.containers.JdbcDatabaseContainer.waitUntilContainerStarted(JdbcDatabaseContainer.java:67)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:219)[testcontainers-1.1.5-SNAPSHOT.jar:na] at org.testcontainers.containers.GenericContainer.lambda$start$0(GenericContainer.java:169)[testcontainers-1.1.5-SNAPSHOT.jar:na] at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:76)[duct-tape-1.0.6.jar:na] at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:167)[testcontainers-1.1.5-SNAPSHOT.jar:na] at org.testcontainers.junit.SimpleMySQLTest.testMySQLWithCustomIniFile(SimpleMySQLTest.java:77)[test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_66] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_66] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)[surefire-api-2.12.4.jar:2.12.4] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)[surefire-booter-2.12.4.jar:2.12.4] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)[surefire-booter-2.12.4.jar:2.12.4] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)[surefire-booter-2.12.4.jar:2.12.4] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)[surefire-booter-2.12.4.jar:2.12.4] Caused by: org.testcontainers.containers.ContainerLaunchException: Container failed to start at org.testcontainers.containers.JdbcDatabaseContainer.lambda$waitUntilContainerStarted$2(JdbcDatabaseContainer.java:70)[jdbc-1.1.5-SNAPSHOT.jar:na] at org.rnorth.ducttape.unreliables.Unreliables.lambda$retryUntilSuccess$0(Unreliables.java:41)[duct-tape-1.0.6.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_66] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_66]

    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

    We couldn't find other users who have seen this exception.