[ 
https://issues.apache.org/jira/browse/SPARK-30541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17053760#comment-17053760
 ] 

Gabor Somogyi commented on SPARK-30541:
---------------------------------------

As I see there are 2 problems:
 * Kafka broker is not coming up in time: I've had discussion with the Kafka 
guys and their solution to this is to execute their test with retry
 * Client not found in Kerberos database: which is reproduced here: 
[https://github.com/apache/spark/pull/27810]

I'm going to attach the logs for the second problem here not because jenkins 
results going to disappear.

 

> Flaky test: org.apache.spark.sql.kafka010.KafkaDelegationTokenSuite
> -------------------------------------------------------------------
>
>                 Key: SPARK-30541
>                 URL: https://issues.apache.org/jira/browse/SPARK-30541
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL, Structured Streaming
>    Affects Versions: 3.0.0
>            Reporter: Jungtaek Lim
>            Priority: Blocker
>
> The test suite has been failing intermittently as of now:
> [https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/116862/testReport/]
>  
> org.apache.spark.sql.kafka010.KafkaDelegationTokenSuite.(It is not a test it 
> is a sbt.testing.SuiteSelector)
>   
> {noformat}
> Error Details
> org.scalatest.exceptions.TestFailedDueToTimeoutException: The code passed to 
> eventually never returned normally. Attempted 3939 times over 
> 1.0001223535333332 minutes. Last failure message: KeeperErrorCode = 
> AuthFailed for /brokers/ids.
> Stack Trace
> sbt.ForkMain$ForkError: 
> org.scalatest.exceptions.TestFailedDueToTimeoutException: The code passed to 
> eventually never returned normally. Attempted 3939 times over 
> 1.0001223535333332 minutes. Last failure message: KeeperErrorCode = 
> AuthFailed for /brokers/ids.
>       at 
> org.scalatest.concurrent.Eventually.tryTryAgain$1(Eventually.scala:432)
>       at org.scalatest.concurrent.Eventually.eventually(Eventually.scala:439)
>       at org.scalatest.concurrent.Eventually.eventually$(Eventually.scala:391)
>       at org.scalatest.concurrent.Eventually$.eventually(Eventually.scala:479)
>       at org.scalatest.concurrent.Eventually.eventually(Eventually.scala:337)
>       at org.scalatest.concurrent.Eventually.eventually$(Eventually.scala:336)
>       at org.scalatest.concurrent.Eventually$.eventually(Eventually.scala:479)
>       at 
> org.apache.spark.sql.kafka010.KafkaTestUtils.setup(KafkaTestUtils.scala:292)
>       at 
> org.apache.spark.sql.kafka010.KafkaDelegationTokenSuite.beforeAll(KafkaDelegationTokenSuite.scala:49)
>       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.spark.SparkFunSuite.run(SparkFunSuite.scala:58)
>       at 
> org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:317)
>       at 
> org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:510)
>       at sbt.ForkMain$Run$2.call(ForkMain.java:296)
>       at sbt.ForkMain$Run$2.call(ForkMain.java:286)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       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: sbt.ForkMain$ForkError: 
> org.apache.zookeeper.KeeperException$AuthFailedException: KeeperErrorCode = 
> AuthFailed for /brokers/ids
>       at org.apache.zookeeper.KeeperException.create(KeeperException.java:130)
>       at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
>       at 
> kafka.zookeeper.AsyncResponse.resultException(ZooKeeperClient.scala:554)
>       at kafka.zk.KafkaZkClient.getChildren(KafkaZkClient.scala:719)
>       at kafka.zk.KafkaZkClient.getSortedBrokerList(KafkaZkClient.scala:455)
>       at 
> kafka.zk.KafkaZkClient.getAllBrokersInCluster(KafkaZkClient.scala:404)
>       at 
> org.apache.spark.sql.kafka010.KafkaTestUtils.$anonfun$setup$3(KafkaTestUtils.scala:293)
>       at 
> org.scalatest.concurrent.Eventually.makeAValiantAttempt$1(Eventually.scala:395)
>       at 
> org.scalatest.concurrent.Eventually.tryTryAgain$1(Eventually.scala:409)
>       ... 20 more
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to