You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2019/03/01 22:42:00 UTC

[jira] [Resolved] (KAFKA-4186) Transient failure in KStreamAggregationIntegrationTest

     [ https://issues.apache.org/jira/browse/KAFKA-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias J. Sax resolved KAFKA-4186.
------------------------------------
    Resolution: Cannot Reproduce

> Transient failure in KStreamAggregationIntegrationTest
> ------------------------------------------------------
>
>                 Key: KAFKA-4186
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4186
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: streams
>            Reporter: Jason Gustafson
>            Assignee: Matthias J. Sax
>            Priority: Major
>
> Saw this running locally off of trunk:
> {code}
> org.apache.kafka.streams.integration.KStreamAggregationIntegrationTest > shouldGroupByKey[1] FAILED
>     java.lang.AssertionError: Condition not met within timeout 60000. Did not receive 10 number of records
>         at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:268)
>         at org.apache.kafka.streams.integration.utils.IntegrationTestUtils.waitUntilMinKeyValueRecordsReceived(IntegrationTestUtils.java:211)
>         at org.apache.kafka.streams.integration.KStreamAggregationIntegrationTest.receiveMessages(KStreamAggregationIntegrationTest.java:480)
>         at org.apache.kafka.streams.integration.KStreamAggregationIntegrationTest.shouldGroupByKey(KStreamAggregationIntegrationTest.java:407)
> {code}
> ----------------
> Re-opening this issue with a different test, but it seems the test suite itself has a timing-dependent flakiness.
> {code}
> Stacktrace
> java.lang.AssertionError: Condition not met within timeout 30000. metadata for topic=output-9 partition=0 not propagated to all brokers
> 	at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:276)
> 	at org.apache.kafka.streams.integration.utils.IntegrationTestUtils.waitUntilMetadataIsPropagated(IntegrationTestUtils.java:254)
> 	at org.apache.kafka.streams.integration.utils.IntegrationTestUtils.waitForTopicPartitions(IntegrationTestUtils.java:246)
> 	at org.apache.kafka.streams.integration.utils.EmbeddedKafkaCluster.createTopic(EmbeddedKafkaCluster.java:209)
> 	at org.apache.kafka.streams.integration.utils.EmbeddedKafkaCluster.createTopics(EmbeddedKafkaCluster.java:168)
> 	at org.apache.kafka.streams.integration.KStreamAggregationIntegrationTest.createTopics(KStreamAggregationIntegrationTest.java:680)
> 	at org.apache.kafka.streams.integration.KStreamAggregationIntegrationTest.before(KStreamAggregationIntegrationTest.java:105)
> ...
> {code}
> Example: https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/10564/testReport/junit/org.apache.kafka.streams.integration/KStreamAggregationIntegrationTest/shouldAggregateWindowed/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)