-
Bug
-
Resolution: Unresolved
-
Major
-
None
Issue with maven jobs running on slaves (linux). The maven run completes successfully, but not sure why Jenkins tries to archive files from the maven project after maven run completes. This is where the Jenkins job fails when attempting to archive these project files as indicated by the stacktrace below. But when the same job runs on the master (linux), it builds just fine.
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving /var/lib/jenkins/workspace/company-abc/test-project/pom.xml to com.companyabc/test-project/1.1.1/test-project-1.1.1.pom [JENKINS] Archiving /var/lib/jenkins/workspace/company-abc/test-project/target/test-project-1.1.1.jar to com.companyabc/test-project/1.1.1/test-project-1.1.1.jar channel stopped ERROR: Failed to parse POMs java.io.IOException: java.util.concurrent.ExecutionException: hudson.os.PosixException: native error calling stat: No such file or directory /var/lib/jenkins/workspace/company-abc/test-project/target/test-project-1.1.1.jar ENOENT at hudson.FilePath.copyRecursiveTo(FilePath.java:2016) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57) at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:471) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:835) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566) at hudson.model.Run.execute(Run.java:1678) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.util.concurrent.ExecutionException: hudson.os.PosixException: native error calling stat: No such file or directory /var/lib/jenkins/workspace/company-abc/test-project/target/test-project-1.1.1.jar ENOENT at hudson.remoting.Channel$3.adapt(Channel.java:755) at hudson.remoting.Channel$3.adapt(Channel.java:750) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:2014) ... 8 more Caused by: hudson.os.PosixException: native error calling stat: No such file or directory /var/lib/jenkins/workspace/company-abc/test-project/target/test-project-1.1.1.jar ENOENT at hudson.os.PosixAPI$1.error(PosixAPI.java:35) at jnr.posix.LinuxPOSIX.stat(LinuxPOSIX.java:117) at jnr.posix.CheckedPOSIX.stat(CheckedPOSIX.java:265) at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267) at hudson.util.IOUtils.mode(IOUtils.java:125) at hudson.util.io.TarArchiver.visit(TarArchiver.java:101)company-abc at hudson.util.DirScanner.scanSingle(DirScanner.java:49) at hudson.FilePath$ExplicitlySpecifiedDirScanner.scan(FilePath.java:2540) at hudson.FilePath.writeToTar(FilePath.java:2052) at hudson.FilePath.access$1000(FilePath.java:172) at hudson.FilePath$41.invoke(FilePath.java:1993) at hudson.FilePath$41.invoke(FilePath.java:1989) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2461) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679)
- is related to
-
JENKINS-20187 TarArchiver.visit produces corrupt archive when file size changes during write
- Closed