Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10166 Fix failing tests
  3. CASSANDRA-10521

snapshot dtests failing on 3.0 when JVM assertions disabled

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Fix Version/s: 3.0.0 rc2
    • Component/s: None
    • Labels:
      None

      Description

      snapshot_test.TestArchiveCommitlog.test_archive_commitlog_with_active_commitlog
      and
      snapshot_test.TestArchiveCommitlog.test_archive_commitlog_point_in_time_with_active_commitlog
      will fail when run on a cluster with JVM assertions disabled. The tests will hang when cassandra throws the following exception (in both cases):

      java.lang.IllegalStateException: No match found
      	at java.util.regex.Matcher.group(Matcher.java:536) ~[na:1.8.0_60]
      	at org.apache.cassandra.db.lifecycle.LogFile.make(LogFile.java:52) ~[main/:na]
      	at org.apache.cassandra.db.lifecycle.LogTransaction.removeUnfinishedLeftovers(LogTransaction.java:399) ~[main/:na]
      	at org.apache.cassandra.db.lifecycle.LifecycleTransaction.removeUnfinishedLeftovers(LifecycleTransaction.java:552) ~[main/:na]
      	at org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories(ColumnFamilyStore.java:571) ~[main/:na]
      	at org.apache.cassandra.service.StartupChecks$7.execute(StartupChecks.java:274) ~[main/:na]
      	at org.apache.cassandra.service.StartupChecks.verify(StartupChecks.java:103) ~[main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:169) [main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:548) [main/:na]
      	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:676) [main/:na]
      

      These tests both pass with/without JVM assertions on C* 2.2 and pass on 3.0 when assertions are enabled.

      Ran against:
      apache/cassandra-2.2: 7cab3272455bdd16b639c510416ae339a8613414
      apache/cassandra-3.0: f21c888510b0dbbea1a63459476f2dc54093de63

      Ran with cmd:
      JVM_EXTRA_OPTS=-da PRINT_DEBUG=true nosetests -xsv snapshot_test.py:TestArchiveCommitlog.test_archive_commitlog_point_in_time_with_active_commitlog

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nutbunnies Andrew Hust
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: