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

Unittest failed: org.apache.cassandra.utils.BitSetTest.compareBitSets

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Won't Fix
    • Fix Version/s: None
    • Component/s: Legacy/Testing
    • Labels:
    • Severity:
      Low

      Description

          [junit] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.822 sec
          [junit]
          [junit] Testcase: compareBitSets(org.apache.cassandra.utils.BitSetTest):    Caused an ERROR
          [junit] java.io.FileNotFoundException: /usr/share/dict/words (No such file or directory)
          [junit] java.lang.RuntimeException: java.io.FileNotFoundException: /usr/share/dict/words (No such file or directory)
          [junit]     at org.apache.cassandra.utils.KeyGenerator$WordGenerator.reset(KeyGenerator.java:137)
          [junit]     at org.apache.cassandra.utils.KeyGenerator$WordGenerator.<init>(KeyGenerator.java:126)
          [junit]     at org.apache.cassandra.utils.BitSetTest.compareBitSets(BitSetTest.java:50)
          [junit] Caused by: java.io.FileNotFoundException: /usr/share/dict/words (No such file or directory)
          [junit]     at java.io.FileInputStream.open0(Native Method)
          [junit]     at java.io.FileInputStream.open(FileInputStream.java:195)
          [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:138)
          [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:93)
          [junit]     at org.apache.cassandra.utils.KeyGenerator$WordGenerator.reset(KeyGenerator.java:135)
          [junit]
          [junit]
          [junit] Test org.apache.cassandra.utils.BitSetTest FAILED
      

      Works fine on my mac but failed on some linux hosts which do not have /usr/share/dict/words. It's the same issue as CASSANDRA-7389, should we backport that?

        Attachments

          Activity

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment