kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-4186) Transient failure in KStreamAggregationIntegrationTest
Date Fri, 16 Feb 2018 21:41:00 GMT

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

Matthias J. Sax resolved KAFKA-4186.
------------------------------------
    Resolution: Fixed

We did some test rework and this did not fail for a while. Closing this ticket for now.

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

Mime
View raw message