org.testcontainers.containers.ContainerFetchException: Can't get Docker image name from org.testcontainers.images.RemoteDockerImage@133e019b

GitHub | dbyron0 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 170#233210434

    GitHub | 7 months ago | dbyron0
    org.testcontainers.containers.ContainerFetchException: Can't get Docker image name from org.testcontainers.images.RemoteDockerImage@133e019b
  2. 0

    test failures in version 1.1.0

    GitHub | 8 months ago | dbyron0
    java.lang.IllegalStateException: failed to create a child event loop
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 170#230904684

    GitHub | 8 months ago | dbyron0
    java.lang.IllegalStateException: failed to create a child event loop

    Root Cause Analysis

    1. java.io.IOException

      Too many open files

      at sun.nio.ch.IOUtil.makePipe()
    2. Java RT
      KQueueSelectorProvider.openSelector
      1. sun.nio.ch.IOUtil.makePipe(Native Method)
      2. sun.nio.ch.KQueueSelectorImpl.<init>(KQueueSelectorImpl.java:84)
      3. sun.nio.ch.KQueueSelectorProvider.openSelector(KQueueSelectorProvider.java:42)
      3 frames
    3. Netty
      NioEventLoopGroup.<init>
      1. io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:125)
      2. io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:119)
      3. io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:97)
      4. io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:31)
      5. io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:77)
      6. io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:48)
      7. io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:57)
      8. io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:67)
      9. io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:54)
      9 frames
    4. com.github.dockerjava
      DockerCmdExecFactoryImpl.init
      1. com.github.dockerjava.netty.DockerCmdExecFactoryImpl$InetSocketInitializer.init(DockerCmdExecFactoryImpl.java:241)
      2. com.github.dockerjava.netty.DockerCmdExecFactoryImpl.init(DockerCmdExecFactoryImpl.java:197)
      2 frames
    5. docker-java
      DockerClientBuilder.build
      1. com.github.dockerjava.core.DockerClientImpl.withDockerCmdExecFactory(DockerClientImpl.java:159)
      2. com.github.dockerjava.core.DockerClientBuilder.build(DockerClientBuilder.java:45)
      2 frames
    6. org.testcontainers.dockerclient
      DockerClientProviderStrategy.getClient
      1. org.testcontainers.dockerclient.DockerClientProviderStrategy.getClientForConfig(DockerClientProviderStrategy.java:103)
      2. org.testcontainers.dockerclient.DockerClientProviderStrategy.getClient(DockerClientProviderStrategy.java:96)
      2 frames
    7. org.testcontainers
      DockerClientFactory.client
      1. org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:85)
      1 frame
    8. org.testcontainers.images
      RemoteDockerImage.resolve
      1. org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:43)
      2. org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:21)
      2 frames
    9. org.testcontainers.utility
      LazyFuture.get
      1. org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:20)
      2. org.testcontainers.utility.LazyFuture.get(LazyFuture.java:27)
      2 frames
    10. org.testcontainers.containers
      GenericContainer.<init>
      1. org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:687)
      2. org.testcontainers.containers.GenericContainer.setDockerImageName(GenericContainer.java:677)
      3. org.testcontainers.containers.GenericContainer.<init>(GenericContainer.java:140)
      3 frames
    11. org.testcontainers.junit
      HttpWaitStrategyTest.testWaitUntilReady_Timeout
      1. org.testcontainers.junit.wait.AbstractWaitStrategyTest.startContainerWithCommand(AbstractWaitStrategyTest.java:57)
      2. org.testcontainers.junit.wait.AbstractWaitStrategyTest.waitUntilReadyAndTimeout(AbstractWaitStrategyTest.java:85)
      3. org.testcontainers.junit.wait.HttpWaitStrategyTest.testWaitUntilReady_Timeout(HttpWaitStrategyTest.java:35)
      3 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    13. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      6. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      9. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      10. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      11. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      12. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      13. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      14. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      14 frames
    14. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
      3 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    16. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
      3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
      4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
      5 frames