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

Windows utest 2.2: RecoveryManagerTest.testRecoverPITUnordered failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • Normal

    Description

      FSWriteError in build\test\cassandra\commitlog;84\CommitLog-5-1439989060300.log
      	at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:132)
      	at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:149)
      	at org.apache.cassandra.db.commitlog.CommitLogSegmentManager.recycleSegment(CommitLogSegmentManager.java:359)
      	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:167)
      	at org.apache.cassandra.db.commitlog.CommitLog.startUnsafe(CommitLog.java:441)
      	at org.apache.cassandra.db.commitlog.CommitLog.resetUnsafe(CommitLog.java:414)
      	at org.apache.cassandra.db.RecoveryManagerTest.testRecoverPITUnordered(RecoveryManagerTest.java:166)
      Caused by: java.nio.file.AccessDeniedException: build\test\cassandra\commitlog;84\CommitLog-5-1439989060300.log
      	at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
      	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
      	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
      	at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
      	at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
      	at java.nio.file.Files.delete(Files.java:1126)
      	at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:126)
      

      Failure started with build #89 but reverting CASSANDRA-9749 doesn't resolve it; I can reproduce the error locally even after revert/rebuild.

      I've bashed my head against trying to get the CommitLogTests to behave on Windows enough times that I think we could use a new set of eyes on them.

      Assigning to Paulo and taking review.

      Attachments

        Issue Links

          Activity

            People

              pauloricardomg Paulo Motta
              JoshuaMcKenzie Joshua McKenzie
              Paulo Motta
              Joshua McKenzie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: