www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Stevenson (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (INFRA-8488) can not write to temp directory during test on jenkins host
Date Sat, 15 Nov 2014 00:50:34 GMT

     [ https://issues.apache.org/jira/browse/INFRA-8488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tony Stevenson closed INFRA-8488.
---------------------------------
    Resolution: Fixed

Timeout. 

> can not write to temp directory during test on jenkins host
> -----------------------------------------------------------
>
>                 Key: INFRA-8488
>                 URL: https://issues.apache.org/jira/browse/INFRA-8488
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Jonathan Maron
>            Assignee: Andrew Bayer
>
> Gettting a Permission Denied exception while trying to write to the temp directory during
the execution of a unit test (invocation of File.createTempFile()):
> java.io.IOException: Permission denied
> 	at java.io.UnixFileSystem.createFileExclusively(Native Method)
> 	at java.io.File.checkAndCreate(File.java:1704)
> 	at java.io.File.createTempFile(File.java:1792)
> 	at org.apache.hadoop.fs.FileUtil.createLocalTempFile(FileUtil.java:1115)
> 	at org.apache.hadoop.fs.FileUtil$createLocalTempFile.call(Unknown Source)
> 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
> 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
> 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
> 	at org.apache.slider.client.TestInstallKeytab.testInstallKeytabWithNoFolder(TestInstallKeytab.groovy:80)
> I would expect that writing to the temp directory should be a relatively common practice
that would be allowed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message