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

Jenkins Slave doesn't have permission to write to /tmp/ directory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Won't Fix
    • Fix Version/s: None
    • Component/s: Build, CI
    • Labels:
    • Severity:
      Normal

      Description

      Which is causing uTest failed, e.g.:
      https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-trunk-test/lastCompletedBuild/testReport/org.apache.cassandra.streaming.compression/CompressedInputStreamTest/testCompressedReadUncompressedChunks/

      Error Message

      java.nio.file.AccessDeniedException: /tmp/na-1-big-Data.db
      

      Stacktrace

      java.lang.RuntimeException: java.nio.file.AccessDeniedException: /tmp/na-1-big-Data.db at org.apache.cassandra.io.util.SequentialWriter.openChannel(SequentialWriter.java:119) at org.apache.cassandra.io.util.SequentialWriter.<init>(SequentialWriter.java:141) at org.apache.cassandra.io.compress.CompressedSequentialWriter.<init>(CompressedSequentialWriter.java:82) at org.apache.cassandra.streaming.compression.CompressedInputStreamTest.testCompressedReadWith(CompressedInputStreamTest.java:118) at org.apache.cassandra.streaming.compression.CompressedInputStreamTest.testCompressedReadUncompressedChunks(CompressedInputStreamTest.java:83) Caused by: java.nio.file.AccessDeniedException: /tmp/na-1-big-Data.db at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177) at java.nio.channels.FileChannel.open(FileChannel.java:287) at java.nio.channels.FileChannel.open(FileChannel.java:335) at org.apache.cassandra.io.util.SequentialWriter.openChannel(SequentialWriter.java:100)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jay.zhuang Jay Zhuang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: