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

Flaky Test LogCleanerIntegrationTest#testIsThreadFailed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core, unit tests
    • Labels:

      Description

      https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/2622/testReport/junit/kafka.log/LogCleanerIntegrationTest/testIsThreadFailed/

      java.lang.AssertionError: expected:<1> but was:<0> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:633) at kafka.log.LogCleanerIntegrationTest.testIsThreadFailed(LogCleanerIntegrationTest.scala:211)

      STDOUT:

      [2019-10-14 22:33:01,382] ERROR [kafka-log-cleaner-thread-0]: Error due to (kafka.log.LogCleaner:76) java.lang.InterruptedException at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1081) at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1369) at java.base/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:278) at kafka.utils.ShutdownableThread.pause(ShutdownableThread.scala:82) at kafka.log.LogCleaner$CleanerThread.doWork(LogCleaner.scala:315) at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:96)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                viktorsomogyi Viktor Somogyi-Vass
                Reporter:
                mjsax Matthias J. Sax
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: