www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith W <keith.w...@gmail.com>
Subject Jenkins slave ubuntu-us1 fails with exception installing Maven - java.nio.file.AccessDeniedException
Date Mon, 11 Apr 2016 18:42:37 GMT
Hello builds.

We (Apache Qpid) are seeing a number of our Jenkins build jobs fail in
the follow way on ubuntu-us1.

One example:

https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-JoramJMSTest/403/jdk=latest1.7,label=Ubuntu,qpid.joramtests=qpid-amqp-1-0-client-jms/console


The Jenkins stack trace from the Console.  It appears to be permissions related.

Could someone take a look please?

Kind regards, Keith


FATAL: Failed to install
https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.0.4/apache-maven-3.0.4-bin.zip
to /home/jenkins/tools/maven/apache-maven-3.0.4
java.io.IOException: Failed to install
https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.0.4/apache-maven-3.0.4-bin.zip
to /home/jenkins/tools/maven/apache-maven-3.0.4
at hudson.FilePath.installIfNecessaryFrom(FilePath.java:832)
at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:75)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:624)
at hudson.tasks.Maven.perform(Maven.java:288)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
at hudson.model.Build$BuildExecution.build(Build.java:205)
at hudson.model.Build$BuildExecution.doRun(Build.java:162)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1738)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: java.io.IOException: remote file operation failed:
/home/jenkins/tools/maven/apache-maven-3.0.4 at
hudson.remoting.Channel@e3210c0:ubuntu-us1:
java.nio.file.AccessDeniedException:
/home/jenkins/tools/maven/apache-maven-3.0.4/.installedFrom
at hudson.FilePath.act(FilePath.java:986)
at hudson.FilePath.act(FilePath.java:968)
at hudson.FilePath.deleteContents(FilePath.java:1183)
at hudson.FilePath.installIfNecessaryFrom(FilePath.java:796)
... 15 more
Caused by: java.nio.file.AccessDeniedException:
/home/jenkins/tools/maven/apache-maven-3.0.4/.installedFrom
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.implDelete(UnixFileSystemProvider.java:244)
at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
at java.nio.file.Files.delete(Files.java:1077)
at sun.reflect.GeneratedMethodAccessor1048.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at hudson.Util.deleteFile(Util.java:255)
at hudson.FilePath.deleteRecursive(FilePath.java:1203)
at hudson.FilePath.deleteContentsRecursive(FilePath.java:1212)
at hudson.FilePath.access$1100(FilePath.java:190)
at hudson.FilePath$15.invoke(FilePath.java:1186)
at hudson.FilePath$15.invoke(FilePath.java:1183)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
at hudson.remoting.UserRequest.perform(UserRequest.java:120)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at ......remote call to ubuntu-us1(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
at hudson.remoting.Channel.call(Channel.java:781)
at hudson.FilePath.act(FilePath.java:979)

Mime
View raw message