Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2054 Fix Kafka transient unit test failures
  3. KAFKA-4801

Transient test failure (part 2): ConsumerBounceTest.testConsumptionWithBrokerFailures

    XMLWordPrintableJSON

    Details

      Description

      There is still some (but very little ... when reproducing this you need more than 100 runs in half the cases statistically) instability left in the test

      ConsumerBounceTest.testConsumptionWithBrokerFailures
      

      Resulting in this exception being thrown at a relatively low rate (I'd say def less than 0.5% of all runs on my machine).

      kafka.api.ConsumerBounceTest > testConsumptionWithBrokerFailures FAILED
          java.lang.IllegalArgumentException: You can only check the position for partitions assigned to this consumer.
              at org.apache.kafka.clients.consumer.KafkaConsumer.position(KafkaConsumer.java:1271)
              at kafka.api.ConsumerBounceTest.consumeWithBrokerFailures(ConsumerBounceTest.scala:96)
              at kafka.api.ConsumerBounceTest.testConsumptionWithBrokerFailures(ConsumerBounceTest.scala:69)
      

      this was also reported in a comment to the original KAFKA-4198

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                original-brownbear Armin Braun
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: