Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-19039

Test failure: org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest

    XMLWordPrintableJSON

Details

    • Correctness
    • Normal
    • Normal
    • Unit Test
    • All
    • None

    Description

      CommitLogSegmentManagerCDCTest presents a number of failures. Some were test errors and some product problems which were addressed in CASSANDRA-18948 but some remain and they smell like product a problem:

      junit.framework.AssertionFailedError: Expected 0 files in CDC folder after deletion.  expected:<0> but was:<1>
      	at org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest.testReplayLogic(CommitLogSegmentManagerCDCTest.java:277)
      	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)
      
      junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
      	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:1365)
      	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:1365)
      	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)
      
      junit.framework.AssertionFailedError: Actual size (0) should be at least the mutation size (1747626)
      	at org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest.lambda$testNonblockingShouldMaintainSteadyDiskUsage$1(CommitLogSegmentManagerCDCTest.java:128)
      	at org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest.testWithCDCSpaceInMb(CommitLogSegmentManagerCDCTest.java:427)
      	at org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest.lambda$testNonblockingShouldMaintainSteadyDiskUsage$2(CommitLogSegmentManagerCDCTest.java:119)
      	at org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest.testWithNonblockingMode(CommitLogSegmentManagerCDCTest.java:413)
      	at org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest.testNonblockingShouldMaintainSteadyDiskUsage(CommitLogSegmentManagerCDCTest.java:119)
      	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)
      
      junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
      	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:1365)
      	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:1365)
      	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:77)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.util.Vector.forEach(Vector.java:1365)
      	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)
      	at org.apache.cassandra.anttasks.TestHelper.execute(TestHelper.java:53)
      	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:1365)
      	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)
      

      It seems, finger in the air, there could be some deadlock causing those timeouts imo.

      Attachments

        Issue Links

          Activity

            People

              jlewandowski Jacek Lewandowski
              bereng Berenguer Blasi
              Jacek Lewandowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: