Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.12.1, 1.13.0
Description
Tests using testcontainers fail from time to time downloading required images. Most probably caused by: https://github.com/testcontainers/testcontainers-java/issues/3574
We should upgrade testcontainers to 1.15.1
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=12890&view=logs&j=c88eea3b-64a0-564d-0031-9fdcd7b8abee&t=ff888d9b-cd34-53cc-d90f-3e446d355529
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=12874&view=logs&j=c88eea3b-64a0-564d-0031-9fdcd7b8abee&t=ff888d9b-cd34-53cc-d90f-3e446d355529
Feb 03 19:14:14 java.lang.RuntimeException: Could not build the flink-dist image Feb 03 19:14:14 at org.apache.flink.tests.util.flink.FlinkContainer$FlinkContainerBuilder.build(FlinkContainer.java:281) Feb 03 19:14:14 at org.apache.flink.tests.util.kafka.SQLClientSchemaRegistryITCase.<init>(SQLClientSchemaRegistryITCase.java:88) Feb 03 19:14:14 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) Feb 03 19:14:14 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) Feb 03 19:14:14 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) Feb 03 19:14:14 at java.lang.reflect.Constructor.newInstance(Constructor.java:423) Feb 03 19:14:14 at org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:217) Feb 03 19:14:14 at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:266) Feb 03 19:14:14 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) Feb 03 19:14:14 at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:263) Feb 03 19:14:14 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) Feb 03 19:14:14 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) Feb 03 19:14:14 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) Feb 03 19:14:14 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) Feb 03 19:14:14 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) Feb 03 19:14:14 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) Feb 03 19:14:14 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) Feb 03 19:14:14 at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) Feb 03 19:14:14 at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) Feb 03 19:14:14 at java.util.concurrent.FutureTask.run(FutureTask.java:266) Feb 03 19:14:14 at java.lang.Thread.run(Thread.java:748) Feb 03 19:14:14 Caused by: java.lang.RuntimeException: com.github.dockerjava.api.exception.NotFoundException: Status 404: {"message":"No such image: testcontainers/ryuk:0.3.0"} Feb 03 19:14:14 Feb 03 19:14:14 at org.rnorth.ducttape.timeouts.Timeouts.callFuture(Timeouts.java:68) Feb 03 19:14:14 at org.rnorth.ducttape.timeouts.Timeouts.getWithTimeout(Timeouts.java:43) Feb 03 19:14:14 at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:45) Feb 03 19:14:14 at org.apache.flink.tests.util.flink.FlinkContainer$FlinkContainerBuilder.buildBaseImage(FlinkContainer.java:309) Feb 03 19:14:14 at org.apache.flink.tests.util.flink.FlinkContainer$FlinkContainerBuilder.build(FlinkContainer.java:268) Feb 03 19:14:14 ... 20 more Feb 03 19:14:14 Caused by: com.github.dockerjava.api.exception.NotFoundException: Status 404: {"message":"No such image: testcontainers/ryuk:0.3.0"} Feb 03 19:14:14 Feb 03 19:14:14 at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:241) Feb 03 19:14:14 at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.post(DefaultInvocationBuilder.java:125) Feb 03 19:14:14 at org.testcontainers.shaded.com.github.dockerjava.core.exec.CreateContainerCmdExec.execute(CreateContainerCmdExec.java:33) Feb 03 19:14:14 at org.testcontainers.shaded.com.github.dockerjava.core.exec.CreateContainerCmdExec.execute(CreateContainerCmdExec.java:13) Feb 03 19:14:14 at org.testcontainers.shaded.com.github.dockerjava.core.exec.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:21) Feb 03 19:14:14 at org.testcontainers.shaded.com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:35) Feb 03 19:14:14 at org.testcontainers.shaded.com.github.dockerjava.core.command.CreateContainerCmdImpl.exec(CreateContainerCmdImpl.java:595) Feb 03 19:14:14 at org.testcontainers.utility.ResourceReaper.start(ResourceReaper.java:91) Feb 03 19:14:14 at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:203) Feb 03 19:14:14 at org.apache.flink.tests.util.flink.FlinkContainer$FlinkContainerBuilder.imageExists(FlinkContainer.java:316) Feb 03 19:14:14 at org.apache.flink.tests.util.flink.FlinkContainer$FlinkContainerBuilder.buildBaseImage(FlinkContainer.java:301) Feb 03 19:14:14 ... 21 more
Attachments
Issue Links
- links to