You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/04/19 08:07:25 UTC

[GitHub] [incubator-seatunnel] tmljob commented on issue #1708: [Feature][Connectors] Add integration test for connectors

tmljob commented on issue #1708:
URL: https://github.com/apache/incubator-seatunnel/issues/1708#issuecomment-1102253224

   How to run IT use cases in IDE development environment? I run FakeSourceToConsoleIT and get the error below, is there any configuration I need to do? Are there any instructions?
   ```
   D:\program\java\jdk1.8.0_191\bin\java.exe -ea -Djacoco-agent.destfile=D:\03_sourcecode\incubator-seatunnel\seatunnel-e2e\seatunnel-spark-e2e\target/jacoco.exec -Didea.test.cyclic.buffer.size=1048576 "-javaagent:D:\Program Files\JetBrains\IntelliJ IDEA 2021.2.2\lib\idea_rt.jar=57670:D:\Program Files\JetBrains\IntelliJ IDEA 2021.2.2\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\tianminliang\AppData\Local\Temp\classpath1842213126.jar com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit4 org.apache.seatunnel.e2e.spark.fake.FakeSourceToConsoleIT
   22/04/17 13:01:08 ERROR DockerClientProviderStrategy: Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
   22/04/17 13:01:08 ERROR DockerClientProviderStrategy:     NpipeSocketClientProviderStrategy: failed with exception TimeoutException (org.rnorth.ducttape.TimeoutException: java.util.concurrent.TimeoutException). Root cause TimeoutException (null)
   22/04/17 13:01:08 ERROR DockerClientProviderStrategy: As no valid configuration was found, execution cannot continue
   
   java.util.concurrent.CompletionException: java.lang.IllegalStateException: Could not find a valid Docker environment. Please see logs and check configuration
   
   	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
   	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
   	at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:708)
   	at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:687)
   	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: java.lang.IllegalStateException: Could not find a valid Docker environment. Please see logs and check configuration
   	at org.testcontainers.dockerclient.DockerClientProviderStrategy.lambda$getFirstValidStrategy$4(DockerClientProviderStrategy.java:156)
   	at java.util.Optional.orElseThrow(Optional.java:290)
   	at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:148)
   	at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:146)
   	at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:188)
   	at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:101)
   	at com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:107)
   	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:316)
   	at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705)
   	... 5 more
   
   ```


-- 
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: commits-unsubscribe@seatunnel.apache.org

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