You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Konstantine Karantasis (Jira)" <ji...@apache.org> on 2021/07/14 21:36:00 UTC

[jira] [Commented] (KAFKA-12283) Flaky Test RebalanceSourceConnectorsIntegrationTest#testMultipleWorkersRejoining

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

Konstantine Karantasis commented on KAFKA-12283:
------------------------------------------------

As mentioned above, this failure corresponds to a corner case that does not seem to appear in practice often. The current suggestion to allow for consecutive revocations carries some risk. I have another fix in mind that I'd like to explore. In the meantime I'm punting this issue to the next release. 

> Flaky Test RebalanceSourceConnectorsIntegrationTest#testMultipleWorkersRejoining
> --------------------------------------------------------------------------------
>
>                 Key: KAFKA-12283
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12283
>             Project: Kafka
>          Issue Type: Test
>          Components: KafkaConnect, unit tests
>            Reporter: Matthias J. Sax
>            Assignee: Luke Chen
>            Priority: Blocker
>              Labels: flaky-test
>             Fix For: 3.0.0
>
>
> https://github.com/apache/kafka/pull/10000/checks?check_run_id=1820092809
> {quote} {{java.lang.AssertionError: Tasks are imbalanced: 
> localhost:36037=[seq-source13-0, seq-source13-1, seq-source13-2, seq-source13-3, seq-source12-0, seq-source12-1, seq-source12-2, seq-source12-3]
> localhost:43563=[seq-source11-0, seq-source11-2, seq-source10-0, seq-source10-2]
> localhost:46539=[seq-source11-1, seq-source11-3, seq-source10-1, seq-source10-3]
> 	at org.junit.Assert.fail(Assert.java:89)
> 	at org.junit.Assert.assertTrue(Assert.java:42)
> 	at org.apache.kafka.connect.integration.RebalanceSourceConnectorsIntegrationTest.assertConnectorAndTasksAreUniqueAndBalanced(RebalanceSourceConnectorsIntegrationTest.java:362)
> 	at org.apache.kafka.test.TestUtils.lambda$waitForCondition$3(TestUtils.java:303)
> 	at org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:351)
> 	at org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:319)
> 	at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:300)
> 	at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:290)
> 	at org.apache.kafka.connect.integration.RebalanceSourceConnectorsIntegrationTest.testMultipleWorkersRejoining(RebalanceSourceConnectorsIntegrationTest.java:313)}}
> {quote}



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