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

counter upgrade dtest fails on 3.0 with JVM assertions disabled

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.0 rc2
    • Test/dtest/python
    • None

    Description

      counter_tests.TestCounters.upgrade_test
      will fail when run on a cluster with JVM assertions disabled. The tests will hang when cassandra throws the following exception:

      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 counter_tests.TestCounters.upgrade_test

      Attachments

        Issue Links

          Activity

            People

              yukim Yuki Morishita
              nutbunnies Andrew Hust
              Yuki Morishita
              Carl Yeksigian
              Andrew Hust Andrew Hust
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: