[ https://issues.apache.org/jira/browse/KAFKA-8728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boyang Chen resolved KAFKA-8728. -------------------------------- Resolution: Cannot Reproduce > Flaky Test KTableSourceTopicRestartIntegrationTest > #shouldRestoreAndProgressWhenTopicWrittenToDuringRestorationWithEosDisabled > ------------------------------------------------------------------------------------------------------------------------------ > > Key: KAFKA-8728 > URL: https://issues.apache.org/jira/browse/KAFKA-8728 > Project: Kafka > Issue Type: Bug > Components: streams, unit tests > Affects Versions: 2.4.0 > Reporter: Matthias J. Sax > Priority: Critical > Labels: flaky-test > > [https://builds.apache.org/blue/organizations/jenkins/kafka-trunk-jdk11/detail/kafka-trunk-jdk11/719/tests] > {quote}java.lang.AssertionError: Condition not met within timeout 30000. > Table did not read all values > at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:376) > at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:353) > at > org.apache.kafka.streams.integration.KTableSourceTopicRestartIntegrationTest.assertNumberValuesRead(KTableSourceTopicRestartIntegrationTest.java:187) > at > org.apache.kafka.streams.integration.KTableSourceTopicRestartIntegrationTest.shouldRestoreAndProgressWhenTopicWrittenToDuringRestorationWithEosDisabled(KTableSourceTopicRestartIntegrationTest.java:113){quote} > STDOUT > {quote}[2019-07-29 04:08:45,009] ERROR [Controller id=2 epoch=3] Controller 2 > epoch 3 failed to change state for partition __transaction_state-23 from > OnlinePartition to OnlinePartition (state.change.logger:76) > kafka.common.StateChangeFailedException: Failed to elect leader for partition > __transaction_state-23 under strategy > ControlledShutdownPartitionLeaderElectionStrategy > at > kafka.controller.ZkPartitionStateMachine.$anonfun$doElectLeaderForPartitions$7(PartitionStateMachine.scala:424) > at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62) > at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55) > at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49) > at > kafka.controller.ZkPartitionStateMachine.doElectLeaderForPartitions(PartitionStateMachine.scala:421) > at > kafka.controller.ZkPartitionStateMachine.electLeaderForPartitions(PartitionStateMachine.scala:335) > at > kafka.controller.ZkPartitionStateMachine.doHandleStateChanges(PartitionStateMachine.scala:236) > at > kafka.controller.ZkPartitionStateMachine.handleStateChanges(PartitionStateMachine.scala:157) > at > kafka.controller.KafkaController.doControlledShutdown(KafkaController.scala:1091) > at > kafka.controller.KafkaController.$anonfun$processControlledShutdown$1(KafkaController.scala:1053) > at scala.util.Try$.apply(Try.scala:213) > at > kafka.controller.KafkaController.processControlledShutdown(KafkaController.scala:1053) > at kafka.controller.KafkaController.process(KafkaController.scala:1624) > at kafka.controller.QueuedEvent.process(ControllerEventManager.scala:53) > at > kafka.controller.ControllerEventManager$ControllerEventThread.$anonfun$doWork$1(ControllerEventManager.scala:137) > at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) > at kafka.metrics.KafkaTimer.time(KafkaTimer.scala:31) > at > kafka.controller.ControllerEventManager$ControllerEventThread.doWork(ControllerEventManager.scala:137) > at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:89){quote} -- This message was sent by Atlassian Jira (v8.3.4#803005)