Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10095 Fix dtests on 3.0 branch on Windows
  3. CASSANDRA-10184

Windows dtest 3.0: offline_tools_test.py:TestOfflineTools.sstablelevelreset_test fails

    XMLWordPrintableJSON

    Details

      Description

      CI error:

        File "C:\tools\python2\lib\unittest\case.py", line 329, in run
          testMethod()
        File "D:\jenkins\workspace\cassandra-3.0_dtest_win32\cassandra-dtest\tools.py", line 252, in wrapped
          f(obj)
        File "D:\jenkins\workspace\cassandra-3.0_dtest_win32\cassandra-dtest\offline_tools_test.py", line 75, in sstablelevelreset_test
          self.assertTrue(max(final_levels) == 0)
        File "C:\tools\python2\lib\unittest\case.py", line 422, in assertTrue
          raise self.failureException(msg)
      'False is not true\n-------------------- >> begin captured logging << --------------------\ndtest: DEBUG: cluster ccm directory: d:\\temp\\dtest-epkti6\ndtest: DEBUG: \ndtest: DEBUG: [1, 1, 1, 1, 2, 0, 0, 1, 1, 1, 1, 1, 1]\ndtest: DEBUG: [1, 1, 1, 1, 2, 0, 0, 1, 1, 1, 1, 1, 1]\n--------------------- >> end captured logging << ---------------------'
      

      Local failure:

      FAIL: sstablelevelreset_test (offline_tools_test.TestOfflineTools)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "c:\src\cassandra-dtest\tools.py", line 252, in wrapped
          f(obj)
        File "c:\src\cassandra-dtest\offline_tools_test.py", line 32, in sstablelevelreset_test
          self.assertIn("ColumnFamily not found: keyspace1/standard1", error)
      AssertionError: 'ColumnFamily not found: keyspace1/standard1' not found in 'Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.DatabaseDescriptor\r\n\tat org.apache.cassandra.utils.JVMStabilityInspector.inspectThrowable(JVMStabilityInspector.java:57)\r\n\tat org.apache.cassandra.tools.SSTableLevelResetter.main(SSTableLevelResetter.java:104)\r\n'
      -------------------- >> begin captured logging << --------------------
      dtest: DEBUG: cluster ccm directory: c:\temp\dtest-3kgttu
      

      Failure is consistent.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                JoshuaMcKenzie Joshua McKenzie
                Reporter:
                JoshuaMcKenzie Joshua McKenzie
                Authors:
                Joshua McKenzie
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: