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

Igor Soarez updated KAFKA-16920:
--------------------------------
    Description: 
Several tests failed in this pipeline because {{testControlledShutdown}} did 
not clean up properly:

[https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-16232/3/tests]

Stack trace
{code:java}
org.opentest4j.AssertionFailedError: Found 1 unexpected threads during 
@BeforeAll: `controlled-shutdown-lifecycle-manager-event-handler` ==> expected: 
<true> but was: <false>
    at 
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
    at 
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
    at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
    at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
    at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
    at kafka.utils.TestUtils$.verifyNoUnexpectedThreads(TestUtils.scala:1917)
    at kafka.server.QuorumTestHarness$.setUpClass(QuorumTestHarness.scala:489)
    at kafka.server.QuorumTestHarness.setUpClass(QuorumTestHarness.scala)
{code}
Note that the thread name 
{{controlled-shutdown-lifecycle-manager-event-handler}} originates from the 
{{BrokerLifecycleManager}} instance created in 
{{{}kafka.server.BrokerLifecycleManagerTest#testControlledShutdown{}}}.

  was:
Several tests failed in this pipeline because `testControlledShutdown` did not 
clean up properly:

[https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-16232/3/tests]

 

Stack trace
{code:java}
org.opentest4j.AssertionFailedError: Found 1 unexpected threads during 
@BeforeAll: `controlled-shutdown-lifecycle-manager-event-handler` ==> expected: 
<true> but was: <false>
    at 
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
    at 
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
    at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
    at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
    at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
    at kafka.utils.TestUtils$.verifyNoUnexpectedThreads(TestUtils.scala:1917)
    at kafka.server.QuorumTestHarness$.setUpClass(QuorumTestHarness.scala:489)
    at kafka.server.QuorumTestHarness.setUpClass(QuorumTestHarness.scala)
{code}
Note that the thread name 
{{controlled-shutdown-lifecycle-manager-event-handler}} originates from the 
{{BrokerLifecycleManager}} instance created in 
{{{}kafka.server.BrokerLifecycleManagerTest#testControlledShutdown{}}}.


> Flaky test testControlledShutdown() - kafka.server.BrokerLifecycleManagerTest
> -----------------------------------------------------------------------------
>
>                 Key: KAFKA-16920
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16920
>             Project: Kafka
>          Issue Type: Test
>            Reporter: Igor Soarez
>            Priority: Minor
>
> Several tests failed in this pipeline because {{testControlledShutdown}} did 
> not clean up properly:
> [https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-16232/3/tests]
> Stack trace
> {code:java}
> org.opentest4j.AssertionFailedError: Found 1 unexpected threads during 
> @BeforeAll: `controlled-shutdown-lifecycle-manager-event-handler` ==> 
> expected: <true> but was: <false>
>     at 
> org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
>     at 
> org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
>     at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
>     at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
>     at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
>     at kafka.utils.TestUtils$.verifyNoUnexpectedThreads(TestUtils.scala:1917)
>     at kafka.server.QuorumTestHarness$.setUpClass(QuorumTestHarness.scala:489)
>     at kafka.server.QuorumTestHarness.setUpClass(QuorumTestHarness.scala)
> {code}
> Note that the thread name 
> {{controlled-shutdown-lifecycle-manager-event-handler}} originates from the 
> {{BrokerLifecycleManager}} instance created in 
> {{{}kafka.server.BrokerLifecycleManagerTest#testControlledShutdown{}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to