You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Armin Braun (JIRA)" <ji...@apache.org> on 2017/02/24 16:34:44 UTC

[jira] [Created] (KAFKA-4801) Transient test failure (part 2): ConsumerBounceTest.testConsumptionWithBrokerFailures

Armin Braun created KAFKA-4801:
----------------------------------

             Summary: Transient test failure (part 2): ConsumerBounceTest.testConsumptionWithBrokerFailures
                 Key: KAFKA-4801
                 URL: https://issues.apache.org/jira/browse/KAFKA-4801
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Armin Braun
            Priority: Minor


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

{code}
ConsumerBounceTest.testConsumptionWithBrokerFailures
{code}

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).

{code}
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)
{code}

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






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)