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

Fix test testIsrepairedArg - org.apache.cassandra.tools.SSTableRepairedAtSetterTest

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Fix Version/s: 4.0-rc
    • Component/s: CI, Test/unit
    • Labels:
      None
    • Bug Category:
      Correctness - Test Failure
    • Severity:
      Normal
    • Complexity:
      Normal
    • Discovered By:
      Unit Test
    • Platform:
      All
    • Impacts:
      None

      Description

      https://app.circleci.com/pipelines/github/dcapwell/cassandra/874/workflows/0b0a1e36-107a-43c7-815f-bf8e61d3028d/jobs/5227/tests

      junit.framework.AssertionFailedError: [org.apache.cassandra.tools.SSTableRepairedAtSetter,
          --really-set,
          --is-repaired,
          /tmp/cassandra/build/test/cassandra/data/legacy_sstables/legacy_ma_simple/ma-1-big-Data.db]
      exited with code -1
      stderr:
      
      java.lang.RuntimeException: java.nio.file.NoSuchFileException: /tmp/cassandra/build/test/cassandra/data/legacy_sstables/legacy_ma_simple/ma-1-big-Data.db
      	at org.apache.cassandra.tools.ToolRunner.runClassAsTool(ToolRunner.java:102)
      	at org.apache.cassandra.tools.ToolRunner$2.get(ToolRunner.java:249)
      	at org.apache.cassandra.tools.ToolRunner$2.get(ToolRunner.java:245)
      	at org.apache.cassandra.tools.ToolRunner.invokeSupplier(ToolRunner.java:305)
      	at org.apache.cassandra.tools.ToolRunner.invokeClass(ToolRunner.java:253)
      	at org.apache.cassandra.tools.ToolRunner.invokeClass(ToolRunner.java:235)
      	at org.apache.cassandra.tools.SSTableRepairedAtSetterTest.testIsrepairedArg(SSTableRepairedAtSetterTest.java:81)
      Caused by: java.nio.file.NoSuchFileException: /tmp/cassandra/build/test/cassandra/data/legacy_sstables/legacy_ma_simple/ma-1-big-Data.db
      	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
      	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      	at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
      	at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144)
      	at sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
      	at java.nio.file.Files.readAttributes(Files.java:1737)
      	at java.nio.file.Files.getLastModifiedTime(Files.java:2266)
      	at org.apache.cassandra.tools.SSTableRepairedAtSetter.main(SSTableRepairedAtSetter.java:90)
      	at org.apache.cassandra.tools.ToolRunner.runClassAsTool(ToolRunner.java:82)
      
      stdout:
      
      	at org.apache.cassandra.tools.ToolRunner$ToolResult.assertExitCode(ToolRunner.java:408)
      	at org.apache.cassandra.tools.ToolRunner$ToolResult.assertOnExitCode(ToolRunner.java:402)
      	at org.apache.cassandra.tools.ToolRunner$ToolResult.assertOnCleanExit(ToolRunner.java:450)
      	at org.apache.cassandra.tools.SSTableRepairedAtSetterTest.testIsrepairedArg(SSTableRepairedAtSetterTest.java:85)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dcapwell David Capwell
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: