Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10754

Fix flaky shouldShutdownSingleThreadApplication test

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0
    • streams, unit tests
    • None

    Description

      org.apache.kafka.streams.integration.StreamsUncaughtExceptionHandlerIntegrationTest.shouldShutdownSingleThreadApplication failed, log available in /home/jenkins/jenkins-agent/workspace/Kafka/kafka-trunk-jdk11/streams/build/reports/testOutput/org.apache.kafka.streams.integration.StreamsUncaughtExceptionHandlerIntegrationTest.shouldShutdownSingleThreadApplication.test.stdout

      org.apache.kafka.streams.integration.StreamsUncaughtExceptionHandlerIntegrationTest > shouldShutdownSingleThreadApplication FAILED
      java.lang.AssertionError: Expected all streams instances in [org.apache.kafka.streams.KafkaStreams@36c1250, org.apache.kafka.streams.KafkaStreams@124268b5] to be ERROR within 30000 ms, but the following were not: {org.apache.kafka.streams.KafkaStreams@124268b5=RUNNING, org.apache.kafka.streams.KafkaStreams@36c1250=RUNNING}
      at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:26)
      at org.apache.kafka.streams.integration.utils.IntegrationTestUtils.lambda$waitForApplicationState$12(IntegrationTestUtils.java:933)
      at org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:450)
      at org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:418)
      at org.apache.kafka.streams.integration.utils.IntegrationTestUtils.waitForApplicationState(IntegrationTestUtils.java:916)
      at org.apache.kafka.streams.integration.StreamsUncaughtExceptionHandlerIntegrationTest.shouldShutdownSingleThreadApplication(StreamsUncaughtExceptionHandlerIntegrationTest.java:186)

       

       

      https://ci-builds.apache.org/blue/rest/organizations/jenkins/pipelines/Kafka/pipelines/kafka-trunk-jdk15/runs/267/log/?start=0

      https://ci-builds.apache.org/blue/rest/organizations/jenkins/pipelines/Kafka/pipelines/kafka-trunk-jdk11/runs/241/log/?start=0

      https://ci-builds.apache.org/blue/rest/organizations/jenkins/pipelines/Kafka/pipelines/kafka-trunk-jdk15/runs/270/log/?start=0

       

      Attachments

        Issue Links

          Activity

            People

              showuon Luke Chen
              showuon Luke Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: