Bug: Fix flakey test - org.apache.cassandra.distributed.test.RepairDigestTrackingTest  testPurgeableTombstonesAreIgnore
Status: Resolved
Priority: Normal
Resolution: Auto Closed
Created: 24/Jan/20 23:37
Resolved: 13/Sep/21 17:12

{code}
junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.base/java.util.Vector.forEach(Vector.java:1387)
  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.base/java.util.Vector.forEach(Vector.java:1387)
  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  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.lang.Thread.run(Thread.java:834)
{code}

Here are the logs

{code}
[junit-timeout] OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
[junit-timeout] Testsuite: org.apache.cassandra.distributed.test.RepairDigestTrackingTest
[junit-timeout] #
[junit-timeout] # A fatal error has been detected by the Java Runtime Environment:
[junit-timeout] #
[junit-timeout] #  SIGSEGV (0xb) at pc=0x00007f81932fa25f, pid=2628, tid=2635
[junit-timeout] #
[junit-timeout] # JRE version: OpenJDK Runtime Environment (11.0.5+10) (build 11.0.5+10-LTS)
[junit-timeout] # Java VM: OpenJDK 64-Bit Server VM (11.0.5+10-LTS, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
[junit-timeout] # Problematic frame:
[junit-timeout] # V  [libjvm.so+0x48225f]  MarkAndPushClosure::do_oop(oopDesc**)+0xaf
[junit-timeout] #
[junit-timeout] # Core dump will be written. Default location: /var/crash/core.%e.%p
[junit-timeout] #
[junit-timeout] # An error report file with more information is saved as:
[junit-timeout] # hs_err_pid2628.log
[junit-timeout] #
[junit-timeout] # If you would like to submit a bug report, please visit:
[junit-timeout] #   http://bugreport.java.com/bugreport/crash.jsp
[junit-timeout] #
[junit-timeout] Testsuite: org.apache.cassandra.distributed.test.RepairDigestTrackingTest
[junit-timeout] Testsuite: org.apache.cassandra.distributed.test.RepairDigestTrackingTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
[junit-timeout] 
[junit-timeout] Testcase: org.apache.cassandra.distributed.test.RepairDigestTrackingTest:testPurgeableTombstonesAreIgnored:	Caused an ERROR
[junit-timeout] Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit-timeout] junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit-timeout] 	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[junit-timeout] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit-timeout] 	at java.base/java.util.Vector.forEach(Vector.java:1387)
[junit-timeout] 	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[junit-timeout] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit-timeout] 	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[junit-timeout] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit-timeout] 	at java.base/java.util.Vector.forEach(Vector.java:1387)
[junit-timeout] 	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[junit-timeout] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit-timeout] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit-timeout] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[junit-timeout] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit-timeout] 	at java.base/java.lang.Thread.run(Thread.java:834)
{code}

hs_err_pid2628.log was lost