[ https://issues.apache.org/jira/browse/KAFKA-7969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779487#comment-16779487 ]
Stanislav Kozlovski commented on KAFKA-7969: -------------------------------------------- No luck still... I managed to find out that we get this error when the broker returns an empty map for the `OffsetFetchRequest`. This is the code that gets executed when we fetch all the offsets - [https://github.com/apache/kafka/blob/a8f2307164ce0f1f47c458eee8f54173f7218a16/core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala#L461.] I then started digging around when we might remove these `offsets` but it seems to be only from expiry (which definitely doesn't happen in this test) and `deleteGroup/deletePartition` calls. > Flaky Test > DescribeConsumerGroupTest#testDescribeOffsetsOfExistingGroupWithNoMembers > ------------------------------------------------------------------------------------ > > Key: KAFKA-7969 > URL: https://issues.apache.org/jira/browse/KAFKA-7969 > Project: Kafka > Issue Type: Bug > Components: admin, clients, unit tests > Affects Versions: 2.2.0 > Reporter: Matthias J. Sax > Assignee: Stanislav Kozlovski > Priority: Critical > Labels: flaky-test > Fix For: 2.3.0, 2.2.1 > > > To get stable nightly builds for `2.2` release, I create tickets for all > observed test failures. > [https://jenkins.confluent.io/job/apache-kafka-test/job/2.2/24/] > {quote}java.lang.AssertionError: Expected no active member in describe group > results, state: Some(Empty), assignments: Some(List()) at > org.junit.Assert.fail(Assert.java:88) at > org.junit.Assert.assertTrue(Assert.java:41) at > kafka.admin.DescribeConsumerGroupTest.testDescribeOffsetsOfExistingGroupWithNoMembers(DescribeConsumerGroupTest.scala:278{quote} -- This message was sent by Atlassian JIRA (v7.6.3#76005)