[ https://issues.apache.org/jira/browse/CASSANDRA-19205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17799195#comment-17799195 ]
Ekaterina Dimitrova commented on CASSANDRA-19205: ------------------------------------------------- The issue seems analogous to CASSANDRA-19000, a different test in the same class. However, we never managed to reproduce it in CircleCI for any of the tests in the test class in thousands of runs, so that is new. Suggested patch [here|https://github.com/ekaterinadimitrova2/cassandra/commit/66b3b8ddd35bb2a3b0ca79498e4559e5e3d80cd6]. Repeated test run [without|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2606/workflows/3c18b390-adca-47ad-8479-34d79cdb03a6] and [with|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2605/workflows/8cecc141-5db4-445a-abdd-42b4adfca11b] the patch (2000 times each) does not reproduce the issue. > Fix flaky test: > org.apache.cassandra.tools.BulkLoaderTest.testBulkLoader_WithArgs1-_jdk17 > ----------------------------------------------------------------------------------------- > > Key: CASSANDRA-19205 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19205 > Project: Cassandra > Issue Type: Bug > Components: Tool/bulk load > Reporter: Brandon Williams > Assignee: Ekaterina Dimitrova > Priority: Normal > Fix For: 5.0-rc, 5.x > > > Seen here: > https://app.circleci.com/pipelines/github/driftx/cassandra/1418/workflows/5d108993-69f8-4bb8-a616-93a1d904ff1a/jobs/67177/tests > {quote} > junit.framework.AssertionFailedError: Wrong thread status, active threads > unaccounted for: [cluster2-nio-worker-2] > at > org.apache.cassandra.tools.OfflineToolUtils.assertNoUnexpectedThreadsStarted(OfflineToolUtils.java:120) > at > org.apache.cassandra.tools.BulkLoaderTest.testBulkLoader_WithArgs1(BulkLoaderTest.java:97) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {quote} > Looks like either a thread is hanging around too long or we need to except it. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org