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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 4.0-rc1, 4.0
    • CI, Test/unit
    • None
    • Correctness - Test Failure
    • Normal
    • Normal
    • Unit Test
    • All
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: