You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jay Zhuang (JIRA)" <ji...@apache.org> on 2018/09/26 16:24:00 UTC

[jira] [Commented] (CASSANDRA-14791) [utest] tests unable to write system tmp directory

    [ https://issues.apache.org/jira/browse/CASSANDRA-14791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16629010#comment-16629010 ] 

Jay Zhuang commented on CASSANDRA-14791:
----------------------------------------

Hi [~mshuler], [~spodxx@gmail.com], any idea if there's a permission setting we could set for the Jenkins Job/Slave?

> [utest] tests unable to write system tmp directory
> --------------------------------------------------
>
>                 Key: CASSANDRA-14791
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14791
>             Project: Cassandra
>          Issue Type: Task
>          Components: Testing
>            Reporter: Jay Zhuang
>            Priority: Minor
>
> Some tests are failing from time to time because it cannot write to directory {{/tmp/}}:
> https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-trunk-test/lastCompletedBuild/testReport/org.apache.cassandra.streaming.compression/CompressedInputStreamTest/testException/
> {noformat}
> 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:152)
> 	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:119)
> 	at org.apache.cassandra.streaming.compression.CompressedInputStreamTest.testException(CompressedInputStreamTest.java:78)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.lang.Thread.run(Thread.java:748)
> 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)
> {noformat}
>  I guess it's because some Jenkins slaves don't have proper permission set. For slave {{cassandra16}}, the tests are fine:
> https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-trunk-test/723/testReport/junit/org.apache.cassandra.streaming.compression/CompressedInputStreamTest/testException/history/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org