[
https://issues.apache.org/jira/browse/KAFKA-9041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16953670#comment-16953670
]
Viktor Somogyi-Vass edited comment on KAFKA-9041 at 10/17/19 11:48 AM:
-----------------------------------------------------------------------
I've reorganized the metrics cleanup so I hope it works. Ran it 20000 times on
my local machine and it didn't fail.
was (Author: viktorsomogyi):
I've reorganized the metrics cleanup so I hope it works. Ran it 20000 times
repeatedly on my local machine and it didn't fail.
> Flaky Test LogCleanerIntegrationTest#testIsThreadFailed
> -------------------------------------------------------
>
> Key: KAFKA-9041
> URL: https://issues.apache.org/jira/browse/KAFKA-9041
> Project: Kafka
> Issue Type: Bug
> Components: core, unit tests
> Reporter: Matthias J. Sax
> Assignee: Viktor Somogyi-Vass
> Priority: Major
> Labels: flaky-test
>
> [https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/2622/testReport/junit/kafka.log/LogCleanerIntegrationTest/testIsThreadFailed/]
> {quote}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){quote}
> STDOUT:
> {quote}[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){quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)