|
Copy Artifacts Plugin Throws "IOException: Pipe is already closed"
------------------------------------------------------------------ Key: JENKINS-9540 URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 Project: Jenkins Issue Type: Bug Components: copyartifact Affects Versions: current Environment: Windows XP SP3, Sun JRE 1.6.25 Reporter: Dirk Weinhardt Assignee: Alan Harder Fix For: current Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** java.io.IOException: Pipe is already closed at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) at java.io.BufferedOutputStream.flushBuffer(Unknown Source) at java.io.BufferedOutputStream.write(Unknown Source) at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) at java.util.zip.DeflaterOutputStream.write(Unknown Source) at java.util.zip.GZIPOutputStream.write(Unknown Source) at java.io.BufferedOutputStream.write(Unknown Source) 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:1596) at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) at hudson.model.Build$RunnerImpl.build(Build.java:177) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) 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:185) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) at hudson.FilePath$32.invoke(FilePath.java:1517) at hudson.FilePath$32.invoke(FilePath.java:1511) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:58) ... 1 more The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148510#comment-148510 ] Dirk Weinhardt commented on JENKINS-9540: ----------------------------------------- Is there any additional information I could provide to help you reproducing this issue? > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Alan Harder > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Harder updated JENKINS-9540: --------------------------------- Assignee: Kohsuke Kawaguchi (was: Alan Harder) Component/s: core Kohsuke, another instance of remoting problems with copyartifact.. can you take a look? > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149119#comment-149119 ] Gardner Bickford commented on JENKINS-9540: ------------------------------------------- This does not occur after explicitly clearing the workspace in the Jenkins UI (even if no workspace directory exists). > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149200#comment-149200 ] Dirk Weinhardt commented on JENKINS-9540: ----------------------------------------- I have explicitly cleared the workspaces of all builds that copy artifacts from other builds through the UI. Additionally I have manually deleted all workspace folders of these projects on nodes the builds previously were executed at. Then I stopped the Jenkins slave console processes and restarted the slaves as Windows services. Builds using the Copy Artifacts Plugin can now be executed through the Service slave again. After running a few test builds I haven't seen any more IOExceptions. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150020#comment-150020 ] Dirk Weinhardt commented on JENKINS-9540: ----------------------------------------- Haven't seen this issue again after three more weeks of operation. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150032#comment-150032 ] Gardner Bickford commented on JENKINS-9540: ------------------------------------------- Thanks for the update Dirk. I will adjust the priority to reflect the existence of a work around. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150735#comment-150735 ] Uwe Stuehler edited comment on JENKINS-9540 at 7/21/11 1:04 PM: ---------------------------------------------------------------- Might be related to JENKINS-9189 and fixed by [9cdd9cc0c5640beeb6bf36a4b26fa1ddcce7fd60|https://github.com/jenkinsci/jenkins/commit/9cdd9cc0c5640beeb6bf36a4b26fa1ddcce7fd60]. was (Author: ustuehler): Might be fixed by [9cdd9cc0c5640beeb6bf36a4b26fa1ddcce7fd60|https://github.com/jenkinsci/jenkins/commit/9cdd9cc0c5640beeb6bf36a4b26fa1ddcce7fd60]. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150826#comment-150826 ] Alan Harder commented on JENKINS-9540: -------------------------------------- Thx for that reference.. has anyone seen this issue on jenkins 1.416 or later? Please report back so we can decide whether to close this bug. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152002#comment-152002 ] sanga commented on JENKINS-9540: -------------------------------- I'm seeing this issue. Jenkins is v1.426 and copy-artifact plugin is v1.16. What kind of diagnostic information would be useful here? I will update the plugin and mess around with a few other things to see what I can figure out in the meantime. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152003#comment-152003 ] Alan Harder commented on JENKINS-9540: -------------------------------------- A new stack trace on current Jenkins would be good. Does the file size being copied matter? Does it happen for a slave node running only 1 job, or only when other jobs are running too? > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152019#comment-152019 ] sanga commented on JENKINS-9540: -------------------------------- ERROR: Failed to copy artifacts from test_OLB_SDK_core with filter: archive/**/* 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:1634) at hudson.FilePath.copyRecursiveTo(FilePath.java:1559) at hudson.FilePath.copyRecursiveTo(FilePath.java:1488) at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:448) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) 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(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) at hudson.FilePath$32.invoke(FilePath.java:1555) at hudson.FilePath$32.invoke(FilePath.java:1549) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994) 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 java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) ... 1 more Build step 'Copy artifacts from another project' marked build as failure The stack trace is, I guess exactly the same. As to the size: I'm not sure but I suspect it doesn't make a difference. It was working just fine one moment and then when I came back from lunch, it had stopped working. The size of the artifacts didn't change over that period. The downstream "copyer" job is locked to one slave, and it's the only job running on that slave. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152023#comment-152023 ] sanga commented on JENKINS-9540: -------------------------------- Upgraded copy-artifact plugin to 1.18 and it appears to have fixed the problem. Will still watch it for a while in case it reappears (as previously it worked for a while before breaking). > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152051#comment-152051 ] sanga commented on JENKINS-9540: -------------------------------- The error has reappeared intermittently. So it's seems this is not fixed. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152051#comment-152051 ] sanga edited comment on JENKINS-9540 at 8/25/11 8:35 AM: --------------------------------------------------------- The error has reappeared intermittently. So it seems that this issue is not fixed. was (Author: sanga): The error has reappeared intermittently. So it's seems this is not fixed. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152065#comment-152065 ] Alan Harder commented on JENKINS-9540: -------------------------------------- ya, the file copying code is all in jenkins core so I wouldn't expect an upgrade of the plugin to resolve this. kohsuke, please take a look when you get a chance. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=154601#comment-154601 ] Eric Long commented on JENKINS-9540: ------------------------------------ My errors went away once I realized that the slave was out of drive space. I cleared up space and then the "java.io.IOException: Pipe is already closed" messages disappeared and jobs completed. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156537#comment-156537 ] Jørgen Tjernø commented on JENKINS-9540: ---------------------------------------- I just experienced this on my Jenkins 1.442 - and Eric's comment is what helped me. This bug should track changing that message to something related to disk space. :-) > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156617#comment-156617 ] Ruth Morgenstein commented on JENKINS-9540: ------------------------------------------- I got this message and I don't think it is related to disk space on the slave (the disks and filesystems are huge on my machines). I'm running 1.434 on Centos master and slaves. To reproduce: 1) Make a Job1 that gets a large* repsitoryo cloned from git (e.g. my repo: [hidden email]:VoltDB/voltdb.git). Create an artifact from the whole thing (voltdb/**) Note: I assume it could be any large fileset, but I haven't tried it) 2) Make a Job2 that copies the artifact from Job1 Result: Job2 gets this error if I don't first delete the workspace (which I'm using a plugin to do, but really should not need to). *I say large repo because an artifact of a subset, for example votldb/src/** works fine). > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159284#comment-159284 ] Ringo De Smet commented on JENKINS-9540: ---------------------------------------- I bump into this issue with Jenkins 1.445 and CopyArtifact 1.18. In my case, it is not related to a lack of diskspace on the slave. There are multiple gigabytes of free space. The workaround was to remove the work space (tnx Dirk) and trigger a clean build. > Copy Artifacts Plugin Throws "IOException: Pipe is already closed" > ------------------------------------------------------------------ > > Key: JENKINS-9540 > URL: https://issues.jenkins-ci.org/browse/JENKINS-9540 > Project: Jenkins > Issue Type: Bug > Components: copyartifact, core > Affects Versions: current > Environment: Windows XP SP3, Sun JRE 1.6.25 > Reporter: Dirk Weinhardt > Assignee: Kohsuke Kawaguchi > Fix For: current > > > Since updating to Jenkins 1.409 and Copy Artifacts Plugin 1.16, build jobs fail with an IOException when copying build artifacts from the Master to the current Slave. > ERROR: Failed to copy artifacts from ABC Build with filter: _tests\UnitTests\bin\Debug\** > java.io.IOException: Pipe is already closed > at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) > at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:165) > at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) > at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) > at java.util.zip.DeflaterOutputStream.write(Unknown Source) > at java.util.zip.GZIPOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > 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:1596) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1521) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1450) > at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) > at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) > at hudson.model.Build$RunnerImpl.build(Build.java:177) > at hudson.model.Build$RunnerImpl.doRun(Build.java:139) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) > at hudson.model.Run.run(Run.java:1362) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > 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:185) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... > at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) > at hudson.FilePath$32.invoke(FilePath.java:1517) > at hudson.FilePath$32.invoke(FilePath.java:1511) > at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956) > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > at hudson.remoting.Request$2.run(Request.java:270) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at hudson.remoting.Engine$1$1.run(Engine.java:58) > ... 1 more > The Slaves are running as Windows Services under the Local System account. The slave.jar files have been updated to 1.409. > The IOException is thrown no matter if the service is running under the Local System account, the Network Service account, under a Windows domain user account, or with desktop interaction enabled (see https://issues.jenkins-ci.org/browse/JENKINS-9456). > If the Slave is started from a DOS prompt (java -Xrs -jar slave.jar -noCertificateCheck -jnlpUrl "https://buildserver.example.com/computer/esxi-01%20XP08/slave-agent.jnlp") the issue does not occur. The DOS prompt is started by a Windows domain user. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
| Powered by Nabble | See how NAML generates this page |
