You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Igor Soarez (Jira)" <ji...@apache.org> on 2024/04/23 00:50:00 UTC

[jira] [Created] (KAFKA-16602) Flaky test – org.apache.kafka.controller.QuorumControllerTest.testBootstrapZkMigrationRecord()

Igor Soarez created KAFKA-16602:
-----------------------------------

             Summary: Flaky test – org.apache.kafka.controller.QuorumControllerTest.testBootstrapZkMigrationRecord()
                 Key: KAFKA-16602
                 URL: https://issues.apache.org/jira/browse/KAFKA-16602
             Project: Kafka
          Issue Type: Test
          Components: controller
            Reporter: Igor Soarez


 org.apache.kafka.controller.QuorumControllerTest.testBootstrapZkMigrationRecord() failed with:

 
h4. Error
{code:java}
org.apache.kafka.server.fault.FaultHandlerException: fatalFaultHandler: exception while renouncing leadership: Attempt to resign from epoch 1 which is larger than the current epoch 0{code}
h4. Stacktrace
{code:java}
org.apache.kafka.server.fault.FaultHandlerException: fatalFaultHandler: exception while renouncing leadership: Attempt to resign from epoch 1 which is larger than the current epoch 0  at app//org.apache.kafka.metalog.LocalLogManager.resign(LocalLogManager.java:808)  at app//org.apache.kafka.controller.QuorumController.renounce(QuorumController.java:1270)  at app//org.apache.kafka.controller.QuorumController.handleEventException(QuorumController.java:547)  at app//org.apache.kafka.controller.QuorumController.access$800(QuorumController.java:179)  at app//org.apache.kafka.controller.QuorumController$ControllerWriteEvent.complete(QuorumController.java:881)  at app//org.apache.kafka.controller.QuorumController$ControllerWriteEvent.handleException(QuorumController.java:871)  at app//org.apache.kafka.queue.KafkaEventQueue$EventContext.completeWithException(KafkaEventQueue.java:149)  at app//org.apache.kafka.queue.KafkaEventQueue$EventContext.run(KafkaEventQueue.java:138)  at app//org.apache.kafka.queue.KafkaEventQueue$EventHandler.handleEvents(KafkaEventQueue.java:211)  at app//org.apache.kafka.queue.KafkaEventQueue$EventHandler.run(KafkaEventQueue.java:182)  at java.base@11.0.16.1/java.lang.Thread.run(Thread.java:829) Caused by: java.lang.IllegalArgumentException: Attempt to resign from epoch 1 which is larger than the current epoch 0{code}
 

Source: https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-15701/3/tests/



--
This message was sent by Atlassian Jira
(v8.20.10#820010)