[ 
https://issues.apache.org/jira/browse/KAFKA-9041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16953669#comment-16953669
 ] 

ASF GitHub Bot commented on KAFKA-9041:
---------------------------------------

viktorsomogyi commented on pull request #7542: [KAFKA-9041] Flaky Test 
LogCleanerIntegrationTest#testIsThreadFailed
URL: https://github.com/apache/kafka/pull/7542
 
 
   Aims to fix the flaky LogCleanerIntegrationTest#testIsThreadFailed by 
changing how metrics are cleaned.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to