kyuubi icon indicating copy to clipboard operation
kyuubi copied to clipboard

Flaky Test: travis ci issue - EtcdDiscoveryClientSuite: org.apache.kyuubi.ha.client.etcd.EtcdDiscoveryClientSuite

Open turboFei opened this issue 3 years ago • 0 comments

Code of Conduct

Search before asking

  • [X] I have searched in the issues and found no similar issues.

Describe the flaky test

EtcdDiscoveryClientSuite:
org.apache.kyuubi.ha.client.etcd.EtcdDiscoveryClientSuite *** ABORTED ***
  java.lang.IllegalStateException: Cluster failed to start
  at io.etcd.jetcd.launcher.EtcdClusterImpl.start(EtcdClusterImpl.java:82)
  at org.apache.kyuubi.ha.client.etcd.EtcdDiscoveryClientSuite.beforeAll(EtcdDiscoveryClientSuite.scala:48)
  at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:212)
  at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
  at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
  at org.apache.kyuubi.ha.client.etcd.EtcdDiscoveryClientSuite.run(EtcdDiscoveryClientSuite.scala:33)
  at org.scalatest.Suite.callExecuteOnSuite$1(Suite.scala:1175)
  at org.scalatest.Suite.$anonfun$runNestedSuites$1(Suite.scala:1222)
  at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
  at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
  ...
  Cause: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed
  at io.etcd.jetcd.launcher.EtcdContainer.start(EtcdContainer.java:183)
  at io.etcd.jetcd.launcher.EtcdClusterImpl.lambda$start$2(EtcdClusterImpl.java:62)
  at java.lang.Thread.run(Thread.java:748)
  ...
  Cause: org.testcontainers.containers.ContainerLaunchException: Container startup failed
  at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:345)
  at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:326)
  at io.etcd.jetcd.launcher.EtcdContainer.start(EtcdContainer.java:180)
  at io.etcd.jetcd.launcher.EtcdClusterImpl.lambda$start$2(EtcdClusterImpl.java:62)
  at java.lang.Thread.run(Thread.java:748)
  ...
  Cause: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
  at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
  at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:338)
  at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:326)
  at io.etcd.jetcd.launcher.EtcdContainer.start(EtcdContainer.java:180)
  at io.etcd.jetcd.launcher.EtcdClusterImpl.lambda$start$2(EtcdClusterImpl.java:62)
  at java.lang.Thread.run(Thread.java:748)
  ...
  Cause: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
  at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:537)
  at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:340)
  at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
  at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:338)
  at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:326)
  at io.etcd.jetcd.launcher.EtcdContainer.start(EtcdContainer.java:180)
  at io.etcd.jetcd.launcher.EtcdClusterImpl.lambda$start$2(EtcdClusterImpl.java:62)
  at java.lang.Thread.run(Thread.java:748)
  ...
  Cause: java.lang.IllegalStateException: Container did not start correctly.
  at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:475)
  at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:340)
  at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
  at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:338)
  at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:326)
  at io.etcd.jetcd.launcher.EtcdContainer.start(EtcdContainer.java:180)
  at io.etcd.jetcd.launcher.EtcdClusterImpl.lambda$start$2(EtcdClusterImpl.java:62)
  at java.lang.Thread.run(Thread.java:748)
  ...
Run completed in 2 minutes, 38 seconds.
Total number of tests run: 9
Suites: completed 5, aborted 1
Tests: succeeded 9, failed 0, canceled 0, ignored 0, pending 0
*** 1 SUITE ABORTED ***

Actions URL

https://app.travis-ci.com/github/apache/incubator-kyuubi/jobs/576755050

Parent issue

#1733

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

turboFei avatar Jul 15 '22 05:07 turboFei