Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10032 Windows 3.0 utest parity
  3. CASSANDRA-10036

Windows utest 3.0: ColumnFamilyStoreTest.testScrubDataDirectories failing

    XMLWordPrintableJSON

    Details

      Description

          [junit] Testcase: testScrubDataDirectories(org.apache.cassandra.db.ColumnFamilyStoreTest):  Caused an ERROR
          [junit] java.nio.file.AccessDeniedException: build\test\cassandra\data;0\ColumnFamilyStoreTest1\Standard1-a0d5fa503f8b11e58dec831ef068609c\ma-7-big-Index.db
          [junit] FSWriteError in build\test\cassandra\data;0\ColumnFamilyStoreTest1\Standard1-a0d5fa503f8b11e58dec831ef068609c\ma-7-big-Index.db
          [junit]     at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:135)
          [junit]     at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:152)
          [junit]     at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:147)
          [junit]     at org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories(ColumnFamilyStore.java:556)
          [junit]     at org.apache.cassandra.db.ColumnFamilyStoreTest.testScrubDataDirectories(ColumnFamilyStoreTest.java:533)
          [junit] Caused by: java.nio.file.AccessDeniedException: build\test\cassandra\data;0\ColumnFamilyStoreTest1\Standard1-a0d5fa503f8b11e58dec831ef068609c\ma-7-big-Index.db
          [junit]     at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
          [junit]     at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
          [junit]     at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
          [junit]     at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
          [junit]     at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
          [junit]     at java.nio.file.Files.delete(Files.java:1126)
          [junit]     at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:129)
      

      Test has never passed on Windows (history).

      Stefania Alborghetti: Looks like this is your test. Care to take this?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stefania Stefania Alborghetti
                Reporter:
                JoshuaMcKenzie Joshua McKenzie
                Authors:
                Stefania Alborghetti
                Reviewers:
                Joshua McKenzie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: