You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Greg Harris (Jira)" <ji...@apache.org> on 2024/05/15 19:15:00 UTC
[jira] [Created] (KAFKA-16776) Builds flaky-failing with leaked client-metrics-reaper thread
Greg Harris created KAFKA-16776:
-----------------------------------
Summary: Builds flaky-failing with leaked client-metrics-reaper thread
Key: KAFKA-16776
URL: https://issues.apache.org/jira/browse/KAFKA-16776
Project: Kafka
Issue Type: Test
Affects Versions: 3.8.0
Reporter: Greg Harris
I observed the assertion added by KAFKA-16477 failing in my build:
[https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-15469/6/tests] Reproduced here:
{noformat}
Build / JDK 17 and Scala 2.13 / initializationError – org.apache.kafka.tools.TopicCommandIntegrationTest<1sBuild / JDK 17 and Scala 2.13 / initializationError – org.apache.kafka.tools.consumer.group.AuthorizerIntegrationTest<1sBuild / JDK 17 and Scala 2.13 / initializationError – org.apache.kafka.tools.consumer.group.DescribeConsumerGroupTest<1sBuild / JDK 17 and Scala 2.13 / initializationError – org.apache.kafka.tools.consumer.group.ResetConsumerGroupOffsetTest<1sBuild / JDK 17 and Scala 2.13 / initializationError – org.apache.kafka.tools.reassign.ReassignPartitionsIntegrationTest<1s{noformat}
The exceptions for these tests are as follows:
{noformat}
org.opentest4j.AssertionFailedError: Found 1 unexpected threads during @BeforeAll: `executor-client-metrics` ==> expected: <true> but was: <false>
at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
at app//kafka.utils.TestUtils$.verifyNoUnexpectedThreads(TestUtils.scala:1896)
at app//kafka.server.QuorumTestHarness.setUpClass(QuorumTestHarness.scala:474)
...
Suppressed: org.opentest4j.AssertionFailedError: Found 1 unexpected threads during @AfterAll: `executor-client-metrics` ==> expected: <true> but was: <false>
at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
at app//kafka.utils.TestUtils$.verifyNoUnexpectedThreads(TestUtils.scala:1896)
at app//kafka.server.QuorumTestHarness.tearDownClass(QuorumTestHarness.scala:482){noformat}
But there is not any additional context about who leaked this thread.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)