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

Intermittent failure of SSTableImportTest unit test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1.3
    • Legacy/Testing
    • None
    • Normal

    Description

          [junit] Testsuite: org.apache.cassandra.tools.SSTableImportTest
          [junit] Tests run: 8, Failures: 1, Errors: 0, Time elapsed: 6.712 sec
          [junit] 
          [junit] ------------- Standard Output ---------------
          [junit] Counting keys to import, please wait... (NOTE: to skip this use -n <num_keys>)
          [junit] Importing 2 keys...
          [junit] 2 keys imported successfully.
          [junit] Counting keys to import, please wait... (NOTE: to skip this use -n <num_keys>)
          [junit] Importing 2 keys...
          [junit] 2 keys imported successfully.
          [junit] Counting keys to import, please wait... (NOTE: to skip this use -n <num_keys>)
          [junit] Importing 2 keys...
          [junit] 2 keys imported successfully.
          [junit] Counting keys to import, please wait... (NOTE: to skip this use -n <num_keys>)
          [junit] Importing 2 keys...
          [junit] Importing 2 keys...
          [junit] 2 keys imported successfully.
          [junit] Counting keys to import, please wait... (NOTE: to skip this use -n <num_keys>)
          [junit] Importing 2 keys...
          [junit] 2 keys imported successfully.
          [junit] Counting keys to import, please wait... (NOTE: to skip this use -n <num_keys>)
          [junit] Importing 1 keys...
          [junit] 1 keys imported successfully.
          [junit] Counting keys to import, please wait... (NOTE: to skip this use -n <num_keys>)
          [junit] Importing 2 keys...
          [junit] 2 keys imported successfully.
          [junit] ------------- ---------------- ---------------
          [junit] Testcase: testImportWithAsciiKeyValidator(org.apache.cassandra.tools.SSTableImportTest):    FAILED
          [junit] null
          [junit] junit.framework.AssertionFailedError
          [junit]     at org.apache.cassandra.tools.SSTableImportTest.testImportWithAsciiKeyValidator(SSTableImportTest.java:166)
          [junit] 
          [junit] 
          [junit] Test org.apache.cassandra.tools.SSTableImportTest FAILED
      

      testImportWithAsciiKeyValidator was added in CASSANDRA-7498 and fails as above occasionally (~10-15% of runs) in CI. Attached is the system.log from the failed test on 2.1 HEAD (8e5fdc2).

      Attachments

        1. CASSANDRA-8181.txt
          1 kB
          Benjamin Lerer
        2. SSTableImportTest_failure_system.log.gz
          44 kB
          Michael Shuler

        Activity

          People

            blerer Benjamin Lerer
            mshuler Michael Shuler
            Benjamin Lerer
            Aleksei Zotov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: