Justine Olshan created KAFKA-14896:
--------------------------------------
Summary: TransactionsBounceTest causes a thread leak
Key: KAFKA-14896
URL: https://issues.apache.org/jira/browse/KAFKA-14896
Project: Kafka
Issue Type: Bug
Reporter: Justine Olshan
Assignee: Justine Olshan
On several PR builds I see a test fail with ["Producer closed forcefully"
|https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-13391/21/testReport/junit/kafka.api/TransactionsBounceTest/Build___JDK_8_and_Scala_2_12___testWithGroupId__/]
and then many other tests fail with initialization errors due to
[controller-event-thread,daemon-broker-bouncer-EventThread|https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-13391/21/testReport/junit/kafka.api/TransactionsBounceTest/Build___JDK_8_and_Scala_2_12___executionError/]
In TransactionsBounceTest.testBrokerFailure, we create this thread to bounce
the brokers. There is a finally block to shut it down but it seems to not be
working. We should shut it down correctly.
Examples of failures:
[https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-13391/21/#showFailuresLink]
[https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-13391/17/#showFailuresLink]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)