[ https://issues.apache.org/jira/browse/CASSANDRA-17928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17624337#comment-17624337 ]
Berenguer Blasi edited comment on CASSANDRA-17928 at 10/26/22 11:08 AM: ------------------------------------------------------------------------ Ohhhh we're accessing CommitLog init in a multi-threaded way mixing static and non-static monitors. Hence data visibility and reordering are not warrantied. I pushed a proposal to see if that theory is right [here|https://github.com/bereng/cassandra/commit/718f831e6de0b0b88802018d5112fb7d3fe2cf40] with [10K CI|https://app.circleci.com/pipelines/github/bereng/cassandra/800/workflows/5dd074e9-051a-4cd0-bf28-00d84257cb67] running. [~adelapena] it might be my fault or me being an idiot but - I run generate.sh and it barfs all tests. We don't seem to have a simple way to bring up the help/usage instructions - I run it with -m and it barfs all tests - I run {{./generate.sh -m -e REPEATED_ANT_TEST_TARGET=test -e REPEATED_ANT_TEST_CLASS=CommitLogInitWithExceptionTest -e REPEATED_ANT_TEST_COUNT=10000 -e REPEATED_TESTS_STOP_ON_FAILURE=true}} and the config went empty but for the header of comments was (Author: bereng): Ohhhh we're accessing CommitLog init in a multi-threaded way mixing static and non-static monitors. Hence data visibility and reordering are not warrantied. I pushed a proposal to see if that theory is right [here|https://github.com/bereng/cassandra/commit/718f831e6de0b0b88802018d5112fb7d3fe2cf40] with [CI|https://app.circleci.com/pipelines/github/bereng/cassandra/800/workflows/5dd074e9-051a-4cd0-bf28-00d84257cb67] running. [~adelapena] it might be my fault or me being an idiot but - I run generate.sh and it barfs all tests. We don't seem to have a simple way to bring up the help/usage instructions - I run it with -m and it barfs all tests - I run {{./generate.sh -m -e REPEATED_ANT_TEST_TARGET=test -e REPEATED_ANT_TEST_CLASS=CommitLogInitWithExceptionTest -e REPEATED_ANT_TEST_COUNT=10000 -e REPEATED_TESTS_STOP_ON_FAILURE=true}} and the config went empty but for the header of comments > Test Failure: > org.apache.cassandra.db.commitlog.CommitLogInitWithExceptionTest.testCommitLogInitWithException-compression > ------------------------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-17928 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17928 > Project: Cassandra > Issue Type: Bug > Components: Test/unit > Reporter: Josh McKenzie > Assignee: Brandon Williams > Priority: Normal > Fix For: 4.1-rc > > > [Link|https://ci-cassandra.apache.org/job/Cassandra-4.1/169/testReport/org.apache.cassandra.db.commitlog/CommitLogInitWithExceptionTest/testCommitLogInitWithException_compression/] > Failed 1 times in the last 14 runs. Flakiness: 7%, Stability: 92% > Stacktrace > {code:java} > java.lang.NullPointerException > at > org.apache.cassandra.db.commitlog.CommitLogInitWithExceptionTest.testCommitLogInitWithException(CommitLogInitWithExceptionTest.java:93) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at java.base/java.lang.Thread.run(Thread.java:829) > {code} > {code:java} > Standard Output > INFO [main] 2022-09-25 11:43:16,512 Reflections.java:219 - Reflections took > 1221 ms to scan 8 urls, producing 1756 keys and 6922 values > INFO [main] 2022-09-25 11:43:17,480 Reflections.java:219 - Reflections took > 907 ms to scan 8 urls, producing 1756 keys and 6922 values > INFO [main] 2022-09-25 11:43:17,573 YamlConfigurationLoader.java:104 - > Configuration location: > file:////home/cassandra/cassandra/build/test/cassandra.compressed.yaml > DEBUG [main] 2022-09-25 11:43:17,574 YamlConfigurationLoader > ...[truncated 35568 chars]... > .apache.cassandra.db.commitlog.CommitLogInitWithExceptionTest$MockCommitLogSegmentMgr.createSegment(CommitLogInitWithExceptionTest.java:106) > at > org.apache.cassandra.db.commitlog.AbstractCommitLogSegmentManager$AllocatorRunnable.run(AbstractCommitLogSegmentManager.java:155) > at > org.apache.cassandra.concurrent.InfiniteLoopExecutor.loop(InfiniteLoopExecutor.java:121) > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > at java.lang.Thread.run(Thread.java:748) > {code} -- 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