Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Duplicate
-
None
-
Quality Assurance
-
Normal
-
All
-
None
Description
It seems like we can hit that path only sometimes and the test is flaky as I never saw it so far failing in CircleCI.
Seen here:
https://ci-cassandra.apache.org/job/Cassandra-trunk-test-cdc/jdk=jdk_17_latest,label=cassandra,split=4/lastBuild/testReport/junit/org.apache.cassandra.tools/StandaloneSplitterWithCQLTesterTest/testSplittingMultipleSSTables_cdc_jdk17/
Stacktrace junit.framework.AssertionFailedError: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.lang.Object java.nio.channels.spi.AbstractInterruptibleChannel.closeLock accessible: module java.base does not "opens java.nio.channels.spi" to unnamed module @57536d79 at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178) at java.base/java.lang.reflect.Field.setAccessible(Field.java:172) at org.apache.cassandra.utils.concurrent.Ref.getFields(Ref.java:654) at org.apache.cassandra.utils.concurrent.Ref.getFields(Ref.java:657) at org.apache.cassandra.utils.concurrent.Ref.getFields(Ref.java:657) at org.apache.cassandra.utils.concurrent.Ref$Visitor.traverse(Ref.java:611) at org.apache.cassandra.utils.concurrent.Ref$Visitor.run(Ref.java:566) at org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:133) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:833) at org.apache.cassandra.tools.StandaloneSplitterWithCQLTesterTest.testSplittingMultipleSSTables(StandaloneSplitterWithCQLTesterTest.java:99) 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)
Attachments
Issue Links
- Discovered while testing
-
CASSANDRA-18255 Drop JDK8 Support
- Resolved
- is related to
-
CASSANDRA-18708 Test failure: org.apache.cassandra.tools.StandaloneSplitterWithCQLTesterTest.testNoSnapshotOption-.jdk17
- Resolved