You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Gaurav Narula (Jira)" <ji...@apache.org> on 2024/01/31 15:19:00 UTC

[jira] [Commented] (KAFKA-16045) ZkMigrationIntegrationTest.testMigrateTopicDeletion flaky

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

Gaurav Narula commented on KAFKA-16045:
---------------------------------------

I've observed that {{allTopics}} seems to contain {{"topic-1", "topic-2", "topic-3"}} and {{topicDeletions}} is empty in [ZkTopicMigrationClient::iterateTopics|https://github.com/apache/kafka/blob/127fe7d2765cfdcee6243cbc62a77a7760b3c84c/core/src/main/scala/kafka/zk/migration/ZkTopicMigrationClient.scala#L52]

CC: [~davidarthur]

> ZkMigrationIntegrationTest.testMigrateTopicDeletion flaky
> ---------------------------------------------------------
>
>                 Key: KAFKA-16045
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16045
>             Project: Kafka
>          Issue Type: Test
>            Reporter: Justine Olshan
>            Assignee: David Arthur
>            Priority: Major
>              Labels: flaky-test
>
> I'm seeing ZkMigrationIntegrationTest.testMigrateTopicDeletion fail for many builds. I believe it is also causing a thread leak because on most runs where it fails I also see ReplicaManager tests also fail with extra threads. 
> The test always fails 
> `org.opentest4j.AssertionFailedError: Timed out waiting for topics to be deleted`
> gradle enterprise link:
> [https://ge.apache.org/scans/tests?search.names=Git%20branch&search.relativeStartTim[…]lues=trunk&tests.container=kafka.zk.ZkMigrationIntegrationTest|https://ge.apache.org/scans/tests?search.names=Git%20branch&search.relativeStartTime=P28D&search.rootProjectNames=kafka&search.timeZoneId=America%2FLos_Angeles&search.values=trunk&tests.container=kafka.zk.ZkMigrationIntegrationTest]
> recent pr: [https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-15023/18/tests/]
> trunk builds: [https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka/detail/trunk/2502/tests], [https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka/detail/trunk/2501/tests] (edited) 



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