You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/04/25 05:05:17 UTC

[GitHub] [shardingsphere] zjcnb opened a new issue, #17080: Build failed when i not strart up docker

zjcnb opened a new issue, #17080:
URL: https://github.com/apache/shardingsphere/issues/17080

   ```
   [INFO] Running org.apache.shardingsphere.integration.data.pipline.cases.mysql.MySQLManualScalingTest
   [INFO ] 2022-04-25 13:01:59.646 [main] o.t.d.DockerClientProviderStrategy - Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
   [INFO ] 2022-04-25 13:02:30.084 [main] o.t.d.DockerMachineClientProviderStrategy - docker-machine executable was not found on PATH ([/usr/local/bin, /usr/local/sbin, /usr/local/bin, /usr/bin, /bin, /usr/sbin, /sbin, /Users/zhaojinchao/Documents/apache-maven-3.8.1/bin])
   [ERROR] 2022-04-25 13:03:00.089 [main] o.t.d.DockerClientProviderStrategy - Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
   [ERROR] 2022-04-25 13:03:00.089 [main] o.t.d.DockerClientProviderStrategy -     UnixSocketClientProviderStrategy: failed with exception TimeoutException (Timeout waiting for result with exception). Root cause IOException (native connect() failed : Connection refused)
   [ERROR] 2022-04-25 13:03:00.089 [main] o.t.d.DockerClientProviderStrategy -     UnixSocketClientProviderStrategy: failed with exception TimeoutException (Timeout waiting for result with exception). Root cause IOException (native connect() failed : Connection refused)
   [ERROR] 2022-04-25 13:03:00.089 [main] o.t.d.DockerClientProviderStrategy - As no valid configuration was found, execution cannot continue
   [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 60.744 s <<< FAILURE! - in org.apache.shardingsphere.integration.data.pipline.cases.mysql.MySQLManualScalingTest
   [ERROR] assertManualScalingSuccess(org.apache.shardingsphere.integration.data.pipline.cases.mysql.MySQLManualScalingTest)  Time elapsed: 0.007 s  <<< ERROR!
   java.lang.IllegalStateException: Could not find a valid Docker environment. Please see logs and check configuration
           at org.testcontainers.dockerclient.DockerClientProviderStrategy.lambda$getFirstValidStrategy$7(DockerClientProviderStrategy.java:215)
           at java.util.Optional.orElseThrow(Optional.java:290)
           at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:207)
           at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:136)
           at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:178)
           at org.testcontainers.LazyDockerClient.getDockerClient(LazyDockerClient.java:14)
           at org.testcontainers.LazyDockerClient.authConfig(LazyDockerClient.java:12)
           at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:310)
           at org.apache.shardingsphere.test.integration.framework.container.atomic.DockerITContainer.start(DockerITContainer.java:49)
           at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
           at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
           at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235)
           at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
           at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
           at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
           at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
           at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
           at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
           at org.apache.shardingsphere.test.integration.framework.container.atomic.ITContainers.start(ITContainers.java:75)
           at org.apache.shardingsphere.integration.data.pipline.container.compose.BaseComposedContainer.start(BaseComposedContainer.java:59)
           at org.apache.shardingsphere.integration.data.pipline.container.compose.LocalComposedContainer.start(LocalComposedContainer.java:43)
           at org.apache.shardingsphere.integration.data.pipline.cases.BaseScalingITCase.<init>(BaseScalingITCase.java:71)
           at org.apache.shardingsphere.integration.data.pipline.cases.mysql.BaseMySQLScalingCase.<init>(BaseMySQLScalingCase.java:36)
           at org.apache.shardingsphere.integration.data.pipline.cases.mysql.MySQLManualScalingTest.<init>(MySQLManualScalingTest.java:39)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
           at org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:217)
           at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:266)
           at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
           at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:263)
           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.runners.ParentRunner.run(ParentRunner.java:363)
           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:383)
           at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
           at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
           at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
   
   [INFO] 
   [INFO] Results:
   [INFO] 
   [ERROR] Errors: 
   [ERROR]   MySQLManualScalingTest.<init>:39->BaseMySQLScalingCase.<init>:36->BaseScalingITCase.<init>:71 ยป IllegalState
   [INFO] 
   [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
   [INFO] 
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] sandynz closed issue #17080: Build failed when i not strart up docker

Posted by GitBox <gi...@apache.org>.
sandynz closed issue #17080: Build  failed when i not strart up docker
URL: https://github.com/apache/shardingsphere/issues/17080


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org