[ https://issues.apache.org/jira/browse/KAFKA-18298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yu-Lin Chen reopened KAFKA-18298: --------------------------------- Reopen this Jira becasue other flaky issues found in CI. # org.opentest4j.AssertionFailedError: expected: <2> but was: <3> ([Report|https://ge.apache.org/s/ndoj6s2stb446/tests/task/:core:test/details/kafka.api.PlaintextAdminIntegrationTest/testConsumerGroupsDeprecatedConsumerGroupState(String%2C%20String)%5B1%5D?expanded-stacktrace=WyIxIl0&top-execution=2]) # org.opentest4j.AssertionFailedError: expected: <true> but was: <false> ([Report|https://ge.apache.org/s/kh3jze2tc5qeu/tests/task/:core:test/details/kafka.api.PlaintextAdminIntegrationTest/testConsumerGroupsDeprecatedConsumerGroupState(String%2C%20String)%5B1%5D?top-execution=1]) The flaky can't be reproduce in my local, but can be simulated with the attached patch. (Uncomment the sleep 1 sec) The root cause is that the member rejoining group after it was removed from group. Same issue occur on KAFKA-18297 too. > Fix flaky > PlaintextAdminIntegrationTest#testConsumerGroupsDeprecatedConsumerGroupState > -------------------------------------------------------------------------------------- > > Key: KAFKA-18298 > URL: https://issues.apache.org/jira/browse/KAFKA-18298 > Project: Kafka > Issue Type: Bug > Components: clients, consumer > Reporter: Chia-Ping Tsai > Assignee: Chia-Ping Tsai > Priority: Blocker > Labels: flaky-test, integration-test, kip-848-client-support > Fix For: 4.0.0 > > > org.opentest4j.AssertionFailedError: Expected the offset for partition 0 to > eventually become 1. at > app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38) at > app//org.junit.jupiter.api.Assertions.fail(Assertions.java:138) at > app//kafka.api.PlaintextAdminIntegrationTest.testConsumerGroupsDeprecatedConsumerGroupState(PlaintextAdminIntegrationTest.scala:2360) > at java.base@23.0.1/java.lang.reflect.Method.invoke(Method.java:580) -- This message was sent by Atlassian Jira (v8.20.10#820010)