You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2020/01/29 06:18:00 UTC

[jira] [Commented] (KAFKA-8085) Flaky Test ResetConsumerGroupOffsetTest#testResetOffsetsByDuration

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

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

Different tes within the same class: [https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/4393/testReport/junit/kafka.admin/ResetConsumerGroupOffsetTest/testResetOffsetsExportImportPlanSingleGroupArg/]
{quote}java.lang.AssertionError: expected:<Map(bar-0 -> 2, bar-1 -> 2)> but was:<Map()> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:120) at org.junit.Assert.assertEquals(Assert.java:146) at kafka.admin.ResetConsumerGroupOffsetTest.testResetOffsetsExportImportPlanSingleGroupArg(ResetConsumerGroupOffsetTest.scala:388){quote}
And one more: [https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/4393/testReport/junit/kafka.admin/ResetConsumerGroupOffsetTest/testResetOffsetsExportImportPlan/]
{quote}java.lang.AssertionError: expected:<Map(bar1-0 -> 2, bar1-1 -> 2)> but was:<Map()> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:120) at org.junit.Assert.assertEquals(Assert.java:146) at kafka.admin.ResetConsumerGroupOffsetTest.testResetOffsetsExportImportPlan(ResetConsumerGroupOffsetTest.scala:426){quote}

> Flaky Test ResetConsumerGroupOffsetTest#testResetOffsetsByDuration
> ------------------------------------------------------------------
>
>                 Key: KAFKA-8085
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8085
>             Project: Kafka
>          Issue Type: Bug
>          Components: admin, unit tests
>    Affects Versions: 2.2.0
>            Reporter: Matthias J. Sax
>            Priority: Critical
>              Labels: flaky-test
>             Fix For: 2.5.0
>
>
> [https://jenkins.confluent.io/job/apache-kafka-test/job/2.2/62/testReport/junit/kafka.admin/ResetConsumerGroupOffsetTest/testResetOffsetsByDuration/]
> {quote}java.lang.AssertionError: Expected that consumer group has consumed all messages from topic/partition. at kafka.utils.TestUtils$.fail(TestUtils.scala:381) at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:791) at kafka.admin.ResetConsumerGroupOffsetTest.awaitConsumerProgress(ResetConsumerGroupOffsetTest.scala:364) at kafka.admin.ResetConsumerGroupOffsetTest.produceConsumeAndShutdown(ResetConsumerGroupOffsetTest.scala:359) at kafka.admin.ResetConsumerGroupOffsetTest.testResetOffsetsByDuration(ResetConsumerGroupOffsetTest.scala:146){quote}
> STDOUT
> {quote}[2019-03-09 08:39:29,856] WARN Unable to read additional data from client sessionid 0x105f6adb2080000, likely client has closed socket (org.apache.zookeeper.server.NIOServerCnxn:376) [2019-03-09 08:39:46,373] WARN Unable to read additional data from client sessionid 0x105f6adf4c50001, likely client has closed socket (org.apache.zookeeper.server.NIOServerCnxn:376){quote}



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