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

Matthias J. Sax commented on KAFKA-8245:
----------------------------------------

Different test `testDeleteEmptyGroup` is also flaky:

[https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/4521/testReport/junit/kafka.admin/DeleteConsumerGroupsTest/testDeleteEmptyGroup/]
{quote}org.scalatest.exceptions.TestFailedException: The group did not become 
empty as expected. at 
org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:530) at 
org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:529) at 
org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1389) at 
org.scalatest.Assertions.fail(Assertions.scala:1091) at 
org.scalatest.Assertions.fail$(Assertions.scala:1087) at 
org.scalatest.Assertions$.fail(Assertions.scala:1389) at 
kafka.admin.DeleteConsumerGroupsTest.testDeleteEmptyGroup(DeleteConsumerGroupsTest.scala:176){quote}
STDOUT
{quote}Error: Deletion of some consumer groups failed:
* Group 'test.group' could not be deleted due to: 
java.util.concurrent.ExecutionException: 
org.apache.kafka.common.errors.GroupNotEmptyException: The group is not empty.

 Error: Deletion of some consumer groups failed:
* Group 'missing.group' could not be deleted due to: 
java.util.concurrent.ExecutionException: 
org.apache.kafka.common.errors.GroupIdNotFoundException: The group id does not 
exist

 Error: Deletion of some consumer groups failed:
* Group 'missing.group' could not be deleted due to: 
java.util.concurrent.ExecutionException: 
org.apache.kafka.common.errors.GroupIdNotFoundException: The group id does not 
exist.

These consumer groups were deleted successfully: 'test.group'
{quote}

> Flaky Test DeleteConsumerGroupsTest#testDeleteCmdAllGroups
> ----------------------------------------------------------
>
>                 Key: KAFKA-8245
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8245
>             Project: Kafka
>          Issue Type: Bug
>          Components: admin, unit tests
>    Affects Versions: 2.3.0
>            Reporter: Matthias J. Sax
>            Assignee: Chia-Ping Tsai
>            Priority: Critical
>              Labels: flaky-test
>             Fix For: 2.5.0
>
>
> [https://builds.apache.org/job/kafka-pr-jdk11-scala2.12/3781/testReport/junit/kafka.admin/DeleteConsumerGroupsTest/testDeleteCmdAllGroups/]
> {quote}java.lang.AssertionError: The group did become empty as expected. at 
> kafka.utils.TestUtils$.fail(TestUtils.scala:381) at 
> kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:791) at 
> kafka.admin.DeleteConsumerGroupsTest.testDeleteCmdAllGroups(DeleteConsumerGroupsTest.scala:148){quote}
> STDOUT
> {quote}Error: Deletion of some consumer groups failed: * Group 'test.group' 
> could not be deleted due to: java.util.concurrent.ExecutionException: 
> org.apache.kafka.common.errors.GroupNotEmptyException: The group is not 
> empty. Error: Deletion of some consumer groups failed: * Group 
> 'missing.group' could not be deleted due to: 
> java.util.concurrent.ExecutionException: 
> org.apache.kafka.common.errors.GroupIdNotFoundException: The group id does 
> not exist. [2019-04-16 09:42:02,316] WARN Unable to read additional data from 
> client sessionid 0x104f958dba30000, likely client has closed socket 
> (org.apache.zookeeper.server.NIOServerCnxn:376) Deletion of requested 
> consumer groups ('test.group') was successful. Error: Deletion of some 
> consumer groups failed: * Group 'missing.group' could not be deleted due to: 
> java.util.concurrent.ExecutionException: 
> org.apache.kafka.common.errors.GroupIdNotFoundException: The group id does 
> not exist. These consumer groups were deleted successfully: 
> 'test.group'{quote}



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

Reply via email to