• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core

      Since 1.456 jenkins stopped archiving artifacts from remote slave. This affects both 1.456 and 1.457, works correctly with 1.455.

      ERROR: Failed to archive artifacts: build/Release/.app//
      hudson.util.IOException2: hudson.util.IOException2: Failed to extract /var/jenkins/workspace/NGB_Queues/build/Release/.app//
      at hudson.FilePath.readFromTar(FilePath.java:1817)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1729)
      at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656)
      at hudson.model.Build$RunnerImpl.post2(Build.java:162)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625)
      at hudson.model.Run.run(Run.java:1435)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)
      Caused by: java.io.IOException: Failed to chmod /mnt/storage/.jenkins/jobs/NGB_Queues/builds/2012-03-27_03-11-27/archive/build/Release/NGB Queues.app/Contents/Frameworks/BWToolkitFramework.framework/BWToolkitFramework : No such file or directory
      at hudson.FilePath._chmod(FilePath.java:1248)
      at hudson.FilePath.readFromTar(FilePath.java:1813)
      ... 12 more

      at hudson.FilePath.copyRecursiveTo(FilePath.java:1736)
      at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656)
      at hudson.model.Build$RunnerImpl.post2(Build.java:162)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625)
      at hudson.model.Run.run(Run.java:1435)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)
      Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Pipe is already closed
      at hudson.remoting.Channel$2.adapt(Channel.java:714)
      at hudson.remoting.Channel$2.adapt(Channel.java:709)
      at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1732)
      ... 11 more
      Caused by: java.io.IOException: Pipe is already closed
      at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83)
      at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:171)
      at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118)
      at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
      at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
      at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:161)
      at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:118)
      at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:72)
      at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
      at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410)
      at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:351)
      at hudson.org.apache.tools.tar.TarOutputStream.writeEOFRecord(TarOutputStream.java:356)
      at hudson.org.apache.tools.tar.TarOutputStream.finish(TarOutputStream.java:137)
      at hudson.org.apache.tools.tar.TarOutputStream.close(TarOutputStream.java:149)
      at hudson.util.io.TarArchiver.close(TarArchiver.java:119)
      at hudson.FilePath.writeToTar(FilePath.java:1783)
      at hudson.FilePath.access$1000(FilePath.java:166)
      at hudson.FilePath$36.invoke(FilePath.java:1722)
      at hudson.FilePath$36.invoke(FilePath.java:1719)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2154)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:287)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)
      Caused by: java.io.IOException: Pipe is already closed
      at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:147)
      at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:131)
      at hudson.remoting.ProxyOutputStream$Chunk$1.run(ProxyOutputStream.java:211)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at...
      at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112)
      at java.io.FilterInputStream.close(FilterInputStream.java:155)
      at java.util.zip.InflaterInputStream.close(InflaterInputStream.java:210)
      at java.util.zip.GZIPInputStream.close(GZIPInputStream.java:113)
      at org.apache.tools.tar.TarBuffer.close(TarBuffer.java:456)
      at hudson.org.apache.tools.tar.TarInputStream.close(TarInputStream.java:110)
      at hudson.FilePath.readFromTar(FilePath.java:1824)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1729)
      at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656)
      at hudson.model.Build$RunnerImpl.post2(Build.java:162)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625)
      at hudson.model.Run.run(Run.java:1435)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)

          [JENKINS-13241] Artifact archiving from remote slave fails

          This is not fixed, as of Jenkins 1.466. HP (risc) and AIX (5.3) are still broken. I've been monitoring this for many weeks now.

          08:00:29 Deleting project workspace... done
          08:00:29
          08:00:31 [pkg_hprisc64] $ /bin/sh -xe /var/tmp/hudson4047294948000005962.sh
          08:00:31 + 1> env.txt
          08:00:31 + tar cf test-pkg_hprisc64.tar env.txt
          08:00:31 + gzip test-pkg_hprisc64.tar
          08:00:32 Archiving artifacts
          08:01:05 ERROR: Failed to archive artifacts: test-*
          08:01:05 hudson.util.IOException2: java.lang.UnsupportedOperationException
          08:01:05 at hudson.FilePath.copyRecursiveTo(FilePath.java:1768)
          08:01:05 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116)
          08:01:05 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
          08:01:05 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710)
          08:01:05 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:685)
          08:01:05 at hudson.model.Build$RunnerImpl.post2(Build.java:162)
          08:01:05 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:632)
          08:01:05 at hudson.model.Run.run(Run.java:1463)
          08:01:05 at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
          08:01:05 at hudson.model.ResourceController.execute(ResourceController.java:88)
          08:01:05 at hudson.model.Executor.run(Executor.java:239)
          08:01:05 Caused by: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException
          08:01:05 at hudson.remoting.Channel$3.adapt(Channel.java:679)
          08:01:05 at hudson.remoting.Channel$3.adapt(Channel.java:674)
          08:01:05 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
          08:01:05 at hudson.FilePath.copyRecursiveTo(FilePath.java:1766)
          08:01:05 ... 10 more
          08:01:05 Caused by: java.lang.UnsupportedOperationException
          08:01:05 at hudson.os.PosixAPI$1.getCurrentWorkingDirectory(PosixAPI.java:59)
          08:01:05 at org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:59)
          08:01:05 at org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51)
          08:01:05 at org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:196)
          08:01:05 at org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:160)
          08:01:05 at hudson.Util.resolveSymlink(Util.java:1067)
          08:01:05 at hudson.Util.resolveSymlink(Util.java:1030)
          08:01:05 at hudson.util.DirScanner$Glob.scan(DirScanner.java:115)
          08:01:05 at hudson.FilePath.writeToTar(FilePath.java:1804)
          08:01:05 at hudson.FilePath.access$1000(FilePath.java:166)
          08:01:05 at hudson.FilePath$36.invoke(FilePath.java:1745)
          08:01:05 at hudson.FilePath$36.invoke(FilePath.java:1742)
          08:01:05 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2177)
          08:01:05 at hudson.remoting.UserRequest.perform(UserRequest.java:118)
          08:01:05 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          08:01:05 at hudson.remoting.Request$2.run(Request.java:287)
          08:01:05 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
          08:01:05 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
          08:01:05 at java.util.concurrent.FutureTask.run(FutureTask.java:123)
          08:01:05 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
          08:01:05 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
          08:01:05 at java.lang.Thread.run(Thread.java:637)
          08:01:05 Finished: SUCCESS

          Richard Walker added a comment - This is not fixed, as of Jenkins 1.466. HP (risc) and AIX (5.3) are still broken. I've been monitoring this for many weeks now. 08:00:29 Deleting project workspace... done 08:00:29 08:00:31 [pkg_hprisc64] $ /bin/sh -xe /var/tmp/hudson4047294948000005962.sh 08:00:31 + 1> env.txt 08:00:31 + tar cf test-pkg_hprisc64.tar env.txt 08:00:31 + gzip test-pkg_hprisc64.tar 08:00:32 Archiving artifacts 08:01:05 ERROR: Failed to archive artifacts: test-* 08:01:05 hudson.util.IOException2: java.lang.UnsupportedOperationException 08:01:05 at hudson.FilePath.copyRecursiveTo(FilePath.java:1768) 08:01:05 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116) 08:01:05 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 08:01:05 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710) 08:01:05 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:685) 08:01:05 at hudson.model.Build$RunnerImpl.post2(Build.java:162) 08:01:05 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:632) 08:01:05 at hudson.model.Run.run(Run.java:1463) 08:01:05 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 08:01:05 at hudson.model.ResourceController.execute(ResourceController.java:88) 08:01:05 at hudson.model.Executor.run(Executor.java:239) 08:01:05 Caused by: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException 08:01:05 at hudson.remoting.Channel$3.adapt(Channel.java:679) 08:01:05 at hudson.remoting.Channel$3.adapt(Channel.java:674) 08:01:05 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 08:01:05 at hudson.FilePath.copyRecursiveTo(FilePath.java:1766) 08:01:05 ... 10 more 08:01:05 Caused by: java.lang.UnsupportedOperationException 08:01:05 at hudson.os.PosixAPI$1.getCurrentWorkingDirectory(PosixAPI.java:59) 08:01:05 at org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:59) 08:01:05 at org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51) 08:01:05 at org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:196) 08:01:05 at org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:160) 08:01:05 at hudson.Util.resolveSymlink(Util.java:1067) 08:01:05 at hudson.Util.resolveSymlink(Util.java:1030) 08:01:05 at hudson.util.DirScanner$Glob.scan(DirScanner.java:115) 08:01:05 at hudson.FilePath.writeToTar(FilePath.java:1804) 08:01:05 at hudson.FilePath.access$1000(FilePath.java:166) 08:01:05 at hudson.FilePath$36.invoke(FilePath.java:1745) 08:01:05 at hudson.FilePath$36.invoke(FilePath.java:1742) 08:01:05 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2177) 08:01:05 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 08:01:05 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 08:01:05 at hudson.remoting.Request$2.run(Request.java:287) 08:01:05 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 08:01:05 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) 08:01:05 at java.util.concurrent.FutureTask.run(FutureTask.java:123) 08:01:05 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) 08:01:05 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) 08:01:05 at java.lang.Thread.run(Thread.java:637) 08:01:05 Finished: SUCCESS

          HP and AIX platforms fail to archive artifacts (even though they claim SUCCESS)
          This has been broken for months - I created a job to monitor this bug on March 25.

          Richard Walker added a comment - HP and AIX platforms fail to archive artifacts (even though they claim SUCCESS) This has been broken for months - I created a job to monitor this bug on March 25.

          crusius added a comment - - edited

          Happening every single time on an OSX 10.4 SSH slave, Jenkins 1.467. It was not copying the artifacts at all with 1.461, and now it simply hangs. Cancelling the slave job does not work (the job does not die), I have to cancel the main job instead. I reverted to using 1.461 in the time being – it also does not work, but at least it does not hang.

          Edit: Please diregard this comment, it was intended to be made in JENKINS-7641

          crusius added a comment - - edited Happening every single time on an OSX 10.4 SSH slave, Jenkins 1.467 . It was not copying the artifacts at all with 1.461 , and now it simply hangs. Cancelling the slave job does not work (the job does not die), I have to cancel the main job instead. I reverted to using 1.461 in the time being – it also does not work, but at least it does not hang. Edit: Please diregard this comment, it was intended to be made in JENKINS-7641

          I can confirm this bug - happened to me under Jenkins 1.470, downgrade to Jenkins 1.455 helped.

          Markus Schulte added a comment - I can confirm this bug - happened to me under Jenkins 1.470, downgrade to Jenkins 1.455 helped.

          Re-ran my job and it still fails under Jenkins 1.471, but the stack trace changed. This suggests this bug is related to (or identical to) the "symlink" issue. If anyone needs info on the AIX box or details about the JVM let me know. I'm willing to help however I can – this bug is causing me a major headache.

          HP-UX risc slave gives
          Caused by: java.lang.UnsupportedOperationException became
          Caused by: java.util.concurrent.ExecutionException: java.io.IOException: readlink: not found

          AIX slave gives
          hudson.util.IOException2: java.io.IOException: Cannot run program "readlink" (in directory "/home/hudson/edge/jenkins/."): error=2, A file or directory in the path name does not exist.

          HP-UX risc full job output

          22:09:05 Started by upstream project "jenkins-sanity-check" build number 30
          22:09:05 Building remotely on hpux_risc64.persistent in workspace /export/home/walker/jenk64/workspace/jenkins-sanity-check/label/pkg_hprisc64
          22:09:05
          22:09:06 Deleting project workspace... done
          22:09:06
          22:09:08 [pkg_hprisc64] $ /bin/sh -xe /var/tmp/hudson1564277718947270334.sh
          22:09:08 + 1> env.txt
          22:09:08 + tar cf test-pkg_hprisc64.tar env.txt
          22:09:08 + gzip test-pkg_hprisc64.tar
          22:09:09 Archiving artifacts
          22:10:16 ERROR: Failed to archive artifacts: test-*
          22:10:16 hudson.util.IOException2: java.io.IOException: readlink: not found
          22:10:16 at hudson.FilePath.copyRecursiveTo(FilePath.java:1771)
          22:10:16 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116)
          22:10:16 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
          22:10:16 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
          22:10:16 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
          22:10:16 at hudson.model.Build$BuildExecution.post2(Build.java:183)
          22:10:16 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
          22:10:16 at hudson.model.Run.execute(Run.java:1509)
          22:10:16 at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
          22:10:16 at hudson.model.ResourceController.execute(ResourceController.java:88)
          22:10:16 at hudson.model.Executor.run(Executor.java:236)
          22:10:16 Caused by: java.util.concurrent.ExecutionException: java.io.IOException: readlink: not found
          22:10:16 at hudson.remoting.Channel$3.adapt(Channel.java:679)
          22:10:16 at hudson.remoting.Channel$3.adapt(Channel.java:674)
          22:10:16 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
          22:10:16 at hudson.FilePath.copyRecursiveTo(FilePath.java:1769)
          22:10:16 ... 10 more
          22:10:16 Caused by: java.io.IOException: readlink: not found
          22:10:16 at java.lang.UNIXProcess.forkAndExec(Native Method)
          22:10:16 at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
          22:10:16 at java.lang.ProcessImpl.start(ProcessImpl.java:65)
          22:10:16 at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
          22:10:16 at java.lang.Runtime.exec(Runtime.java:591)
          22:10:16 at org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:61)
          22:10:16 at org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51)
          22:10:16 at org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:196)
          22:10:16 at org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:160)
          22:10:16 at hudson.Util.resolveSymlink(Util.java:1067)
          22:10:16 at hudson.util.DirScanner$Glob.scan(DirScanner.java:115)
          22:10:16 at hudson.FilePath.writeToTar(FilePath.java:1807)
          22:10:16 at hudson.FilePath.access$1000(FilePath.java:166)
          22:10:16 at hudson.FilePath$36.invoke(FilePath.java:1748)
          22:10:16 at hudson.FilePath$36.invoke(FilePath.java:1745)
          22:10:16 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2180)
          22:10:16 at hudson.remoting.UserRequest.perform(UserRequest.java:118)
          22:10:16 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          22:10:16 at hudson.remoting.Request$2.run(Request.java:287)
          22:10:16 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
          22:10:16 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
          22:10:16 at java.util.concurrent.FutureTask.run(FutureTask.java:123)
          22:10:16 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
          22:10:16 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
          22:10:16 at java.lang.Thread.run(Thread.java:637)
          22:10:16 Finished: SUCCESS

          Richard Walker added a comment - Re-ran my job and it still fails under Jenkins 1.471, but the stack trace changed. This suggests this bug is related to (or identical to) the "symlink" issue. If anyone needs info on the AIX box or details about the JVM let me know. I'm willing to help however I can – this bug is causing me a major headache. HP-UX risc slave gives Caused by: java.lang.UnsupportedOperationException became Caused by: java.util.concurrent.ExecutionException: java.io.IOException: readlink: not found AIX slave gives hudson.util.IOException2: java.io.IOException: Cannot run program "readlink" (in directory "/home/hudson/edge/jenkins/."): error=2, A file or directory in the path name does not exist. HP-UX risc full job output 22:09:05 Started by upstream project "jenkins-sanity-check" build number 30 22:09:05 Building remotely on hpux_risc64.persistent in workspace /export/home/walker/jenk64/workspace/jenkins-sanity-check/label/pkg_hprisc64 22:09:05 22:09:06 Deleting project workspace... done 22:09:06 22:09:08 [pkg_hprisc64] $ /bin/sh -xe /var/tmp/hudson1564277718947270334.sh 22:09:08 + 1> env.txt 22:09:08 + tar cf test-pkg_hprisc64.tar env.txt 22:09:08 + gzip test-pkg_hprisc64.tar 22:09:09 Archiving artifacts 22:10:16 ERROR: Failed to archive artifacts: test-* 22:10:16 hudson.util.IOException2: java.io.IOException: readlink: not found 22:10:16 at hudson.FilePath.copyRecursiveTo(FilePath.java:1771) 22:10:16 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116) 22:10:16 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 22:10:16 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) 22:10:16 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) 22:10:16 at hudson.model.Build$BuildExecution.post2(Build.java:183) 22:10:16 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) 22:10:16 at hudson.model.Run.execute(Run.java:1509) 22:10:16 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 22:10:16 at hudson.model.ResourceController.execute(ResourceController.java:88) 22:10:16 at hudson.model.Executor.run(Executor.java:236) 22:10:16 Caused by: java.util.concurrent.ExecutionException: java.io.IOException: readlink: not found 22:10:16 at hudson.remoting.Channel$3.adapt(Channel.java:679) 22:10:16 at hudson.remoting.Channel$3.adapt(Channel.java:674) 22:10:16 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 22:10:16 at hudson.FilePath.copyRecursiveTo(FilePath.java:1769) 22:10:16 ... 10 more 22:10:16 Caused by: java.io.IOException: readlink: not found 22:10:16 at java.lang.UNIXProcess.forkAndExec(Native Method) 22:10:16 at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) 22:10:16 at java.lang.ProcessImpl.start(ProcessImpl.java:65) 22:10:16 at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) 22:10:16 at java.lang.Runtime.exec(Runtime.java:591) 22:10:16 at org.jruby.ext.posix.util.ExecIt.run(ExecIt.java:61) 22:10:16 at org.jruby.ext.posix.util.ExecIt.runAndWait(ExecIt.java:51) 22:10:16 at org.jruby.ext.posix.JavaLibCHelper.readlink(JavaLibCHelper.java:196) 22:10:16 at org.jruby.ext.posix.JavaPOSIX.readlink(JavaPOSIX.java:160) 22:10:16 at hudson.Util.resolveSymlink(Util.java:1067) 22:10:16 at hudson.util.DirScanner$Glob.scan(DirScanner.java:115) 22:10:16 at hudson.FilePath.writeToTar(FilePath.java:1807) 22:10:16 at hudson.FilePath.access$1000(FilePath.java:166) 22:10:16 at hudson.FilePath$36.invoke(FilePath.java:1748) 22:10:16 at hudson.FilePath$36.invoke(FilePath.java:1745) 22:10:16 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2180) 22:10:16 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 22:10:16 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 22:10:16 at hudson.remoting.Request$2.run(Request.java:287) 22:10:16 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 22:10:16 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) 22:10:16 at java.util.concurrent.FutureTask.run(FutureTask.java:123) 22:10:16 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) 22:10:16 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) 22:10:16 at java.lang.Thread.run(Thread.java:637) 22:10:16 Finished: SUCCESS

          Hey - is there something new? Our Dev-Team is still using Jenkins 1.455 because of this bug.

          Markus Schulte added a comment - Hey - is there something new? Our Dev-Team is still using Jenkins 1.455 because of this bug.

          Tom Denley added a comment -

          I've added a stopgap fix in this pull request. This doesn't represent a final solution, but might take the heat off things a bit.

          https://github.com/jenkinsci/jenkins/pull/547

          Tom Denley added a comment - I've added a stopgap fix in this pull request. This doesn't represent a final solution, but might take the heat off things a bit. https://github.com/jenkinsci/jenkins/pull/547

          I just gave Jenkins 1.480 a try. This issue still exists.

          Markus Schulte added a comment - I just gave Jenkins 1.480 a try. This issue still exists.

          Jesse Glick added a comment -

          The UnsupportedOperationException from getWorkingDirectory was already fixed in 95c1728 for JENKINS-13202. The Cannot run program "readlink" exception is separate; tracking in JENKINS-13202 as well.

          Jesse Glick added a comment - The UnsupportedOperationException from getWorkingDirectory was already fixed in 95c1728 for JENKINS-13202 . The Cannot run program "readlink" exception is separate; tracking in JENKINS-13202 as well.

          @jglick Yep, this is a duplicate, and it's fixed in JENKINS-13202

          Richard Walker added a comment - @jglick Yep, this is a duplicate, and it's fixed in JENKINS-13202

            Unassigned Unassigned
            stigger Vyacheslav Karpukhin
            Votes:
            15 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: