-
Bug
-
Resolution: Unresolved
-
Major
-
None
When trying to install a new AdoptOpenJDK version we run into the following exception
Caused by: java.io.IOException: Failed to unpack file:/var/lib/jenkins/caches/adoptopenjdk/LINUX/amd64/jdk8u292-b10.zip (103,891,868 bytes read) at io.jenkins.plugins.adoptopenjdk.AdoptOpenJDKInstaller.performInstallation(AdoptOpenJDKInstaller.java:132) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:69) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:217) at hudson.model.JDK.forNode(JDK.java:148) at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2.setupJDK(WithMavenStepExecution2.java:290) at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2.doStart(WithMavenStepExecution2.java:194) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) ... 5 more Caused by: java.nio.file.AccessDeniedException: /var/lib/jenkins/tools/hudson.model.JDK/JDK8AdoptOpenJdk/THIRD_PARTY_README 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.newByteChannel(UnixFileSystemProvider.java:214) at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434) at java.nio.file.Files.newOutputStream(Files.java:216) at hudson.util.IOUtils.copy(IOUtils.java:42) at hudson.FilePath.unzip(FilePath.java:710) at hudson.FilePath.unzip(FilePath.java:682) at hudson.FilePath.access$200(FilePath.java:214) at hudson.FilePath$UnzipFrom.invoke(FilePath.java:671) at hudson.FilePath$UnzipFrom.invoke(FilePath.java:664) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3314) at hudson.remoting.UserRequest.perform(UserRequest.java:211) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:376) at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) ... 4 more Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to ci-slave-01 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) at hudson.remoting.Channel.call(Channel.java:1001) at hudson.FilePath.act(FilePath.java:1158) at hudson.FilePath.act(FilePath.java:1147) at hudson.FilePath.unzipFrom(FilePath.java:662) at io.jenkins.plugins.adoptopenjdk.AdoptOpenJDKInstaller.performInstallation(AdoptOpenJDKInstaller.java:130) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:69) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:217) at hudson.model.JDK.forNode(JDK.java:148) at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2.setupJDK(WithMavenStepExecution2.java:290) at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2.doStart(WithMavenStepExecution2.java:194) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ... 4 more
Seems that for some reason the slave cannot retrieve the file from master.
Thank you for reporting this.
I've not been able to reproduce the result so perhaps you could supply some additional information?
Could this perhaps be a case of a disk that's out of storage and that the error message is not precise? Or SELinux or other security related systems?