java.io.IOException: Pipe is already closed

Jenkins JIRA | prevot | 6 years ago
  1. 0

    After several hours of work without any problem, the process started to use 100% of CPU. I waited for 1 hour but CPU was always at 100% and the application was not available for the users during this period. A restart of Hudson solved the problem. This problem occurs almost every day since upgrading to version 1.384 We have more than a thousand jobs into Hudson. Stack trace of the catalina.out (repeated during 1 hour): Dec 6, 2010 11:00:20 AM hudson.remoting.ProxyOutputStream$Chunk$1 run WARNING: Failed to write to stream java.io.IOException: Pipe is already closed at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:145) at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:129) at hudson.remoting.ProxyOutputStream$Chunk$1.run(ProxyOutputStream.java:185) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at hudson.remoting.SynchronousExecutorService.execute(SynchronousExecutorService.java:51) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78) at hudson.remoting.ProxyOutputStream$Chunk.execute(ProxyOutputStream.java:182) at hudson.remoting.Channel$ReaderThread.run(Channel.java:963) Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:110) at java.io.FilterInputStream.close(FilterInputStream.java:155) at java.util.zip.InflaterInputStream.close(InflaterInputStream.java:210) at java.util.zip.GZIPInputStream.close(GZIPInputStream.java:109) at org.apache.tools.tar.TarBuffer.close(TarBuffer.java:456) at hudson.org.apache.tools.tar.TarInputStream.close(TarInputStream.java:110) at hudson.FilePath.readFromTar(FilePath.java:1579) at hudson.FilePath.copyRecursiveTo(FilePath.java:1491) at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:76) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:681) at hudson.model.Run.run(Run.java:1367) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) Dec 6, 2010 11:00:20 AM hudson.remoting.ProxyOutputStream$Chunk$1 run WARNING: Failed to write to stream java.io.IOException: Pipe is already closed at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:145) at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:129) at hudson.remoting.ProxyOutputStream$Chunk$1.run(ProxyOutputStream.java:185) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at hudson.remoting.SynchronousExecutorService.execute(SynchronousExecutorService.java:51) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78) at hudson.remoting.ProxyOutputStream$Chunk.execute(ProxyOutputStream.java:182) at hudson.remoting.Channel$ReaderThread.run(Channel.java:963) Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:110) at java.io.FilterInputStream.close(FilterInputStream.java:155) at java.util.zip.InflaterInputStream.close(InflaterInputStream.java:210) at java.util.zip.GZIPInputStream.close(GZIPInputStream.java:109) at org.apache.tools.tar.TarBuffer.close(TarBuffer.java:456) at hudson.org.apache.tools.tar.TarInputStream.close(TarInputStream.java:110) at hudson.FilePath.readFromTar(FilePath.java:1579) at hudson.FilePath.copyRecursiveTo(FilePath.java:1491) at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:76) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:681) at hudson.model.Run.run(Run.java:1367) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139)

    Jenkins JIRA | 6 years ago | prevot
    java.io.IOException: Pipe is already closed
  2. 0

    After several hours of work without any problem, the process started to use 100% of CPU. I waited for 1 hour but CPU was always at 100% and the application was not available for the users during this period. A restart of Hudson solved the problem. This problem occurs almost every day since upgrading to version 1.384 We have more than a thousand jobs into Hudson. Stack trace of the catalina.out (repeated during 1 hour): Dec 6, 2010 11:00:20 AM hudson.remoting.ProxyOutputStream$Chunk$1 run WARNING: Failed to write to stream java.io.IOException: Pipe is already closed at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:145) at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:129) at hudson.remoting.ProxyOutputStream$Chunk$1.run(ProxyOutputStream.java:185) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at hudson.remoting.SynchronousExecutorService.execute(SynchronousExecutorService.java:51) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78) at hudson.remoting.ProxyOutputStream$Chunk.execute(ProxyOutputStream.java:182) at hudson.remoting.Channel$ReaderThread.run(Channel.java:963) Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:110) at java.io.FilterInputStream.close(FilterInputStream.java:155) at java.util.zip.InflaterInputStream.close(InflaterInputStream.java:210) at java.util.zip.GZIPInputStream.close(GZIPInputStream.java:109) at org.apache.tools.tar.TarBuffer.close(TarBuffer.java:456) at hudson.org.apache.tools.tar.TarInputStream.close(TarInputStream.java:110) at hudson.FilePath.readFromTar(FilePath.java:1579) at hudson.FilePath.copyRecursiveTo(FilePath.java:1491) at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:76) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:681) at hudson.model.Run.run(Run.java:1367) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) Dec 6, 2010 11:00:20 AM hudson.remoting.ProxyOutputStream$Chunk$1 run WARNING: Failed to write to stream java.io.IOException: Pipe is already closed at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:145) at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:129) at hudson.remoting.ProxyOutputStream$Chunk$1.run(ProxyOutputStream.java:185) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at hudson.remoting.SynchronousExecutorService.execute(SynchronousExecutorService.java:51) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78) at hudson.remoting.ProxyOutputStream$Chunk.execute(ProxyOutputStream.java:182) at hudson.remoting.Channel$ReaderThread.run(Channel.java:963) Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:110) at java.io.FilterInputStream.close(FilterInputStream.java:155) at java.util.zip.InflaterInputStream.close(InflaterInputStream.java:210) at java.util.zip.GZIPInputStream.close(GZIPInputStream.java:109) at org.apache.tools.tar.TarBuffer.close(TarBuffer.java:456) at hudson.org.apache.tools.tar.TarInputStream.close(TarInputStream.java:110) at hudson.FilePath.readFromTar(FilePath.java:1579) at hudson.FilePath.copyRecursiveTo(FilePath.java:1491) at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:76) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:681) at hudson.model.Run.run(Run.java:1367) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139)

    Jenkins JIRA | 6 years ago | prevot
    java.io.IOException: Pipe is already closed
  3. 0

    Jenkins issues - [JIRA] (JENKINS-7013) Build fails to archive the artifacts

    nabble.com | 1 year ago
    hudson.util.IOException2: hudson.util.IOException2: Failed to extract c:\jenkins\workspace\evo11main/evo11-* 09:32:16 at hudson.FilePath.readFromTar(FilePath.java:1843) 09:32:16 at hudson.FilePath.copyRecursiveTo(FilePath.java:1755) 09:32:16 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116) 09:32:16 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 09:32:16 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) 09:32:16 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) 09:32:16 at hudson.model.Build$BuildExecution.post2(Build.java:183) 09:32:16 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) 09:32:16 at hudson.model.Run.execute(Run.java:1485) 09:32:16 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 09:32:16 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:32:16 at hudson.model.Executor.run(Executor.java:239) 09:32:16 Caused by: java.io.FileNotFoundException: f:\jenkins\jobs\evo11-PKG\builds\2012-09-10_09-16-27\archive??m? ?m?`?M&? ?bk?1?????0!?"? N?L?T??F9?#9?a?v (The filename, directory name, or volume label syntax is incorrect) 09:32:16 at java.io.FileOutputStream.open(Native Method) 09:32:16 at java.io.FileOutputStream.<init>(Unknown Source) 09:32:16 at java.io.FileOutputStream.<init>(Unknown Source) 09:32:16 at hudson.util.IOUtils.copy(IOUtils.java:34) 09:32:16 at hudson.FilePath.readFromTar(FilePath.java:1833) 09:32:16 ... 11 more 09:32:16
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-7013] Build fails to archive the artifacts - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    hudson.util.IOException2: hudson.util.IOException2: Failed to extract c:\jenkins\workspace\evo11main/evo11-* 09:32:16 at hudson.FilePath.readFromTar(FilePath.java:1843) 09:32:16 at hudson.FilePath.copyRecursiveTo(FilePath.java:1755) 09:32:16 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116) 09:32:16 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 09:32:16 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) 09:32:16 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) 09:32:16 at hudson.model.Build$BuildExecution.post2(Build.java:183) 09:32:16 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) 09:32:16 at hudson.model.Run.execute(Run.java:1485) 09:32:16 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 09:32:16 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:32:16 at hudson.model.Executor.run(Executor.java:239) 09:32:16 Caused by: java.io.FileNotFoundException: f:\jenkins\jobs\evo11-PKG\builds\2012-09-10_09-16-27\archive??m? ?m?`?M&? ?bk?1?????0!?"? N?L?T??F9?#9?a?v (The filename, directory name, or volume label syntax is incorrect) 09:32:16 at java.io.FileOutputStream.open(Native Method) 09:32:16 at java.io.FileOutputStream.<init>(Unknown Source) 09:32:16 at java.io.FileOutputStream.<init>(Unknown Source) 09:32:16 at hudson.util.IOUtils.copy(IOUtils.java:34) 09:32:16 at hudson.FilePath.readFromTar(FilePath.java:1833) 09:32:16 ... 11 more 09:32:16

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.remoting.FastPipedInputStream$ClosedBy

      The pipe was closed at...

      at hudson.remoting.FastPipedInputStream.close()
    2. Hudson :: Remoting Layer
      FastPipedInputStream.close
      1. hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:110)
      1 frame
    3. Java RT
      GZIPInputStream.close
      1. java.io.FilterInputStream.close(FilterInputStream.java:155)
      2. java.util.zip.InflaterInputStream.close(InflaterInputStream.java:210)
      3. java.util.zip.GZIPInputStream.close(GZIPInputStream.java:109)
      3 frames
    4. Ant
      TarBuffer.close
      1. org.apache.tools.tar.TarBuffer.close(TarBuffer.java:456)
      1 frame
    5. Hudson
      FilePath.copyRecursiveTo
      1. hudson.org.apache.tools.tar.TarInputStream.close(TarInputStream.java:110)
      2. hudson.FilePath.readFromTar(FilePath.java:1579)
      3. hudson.FilePath.copyRecursiveTo(FilePath.java:1491)
      3 frames
    6. com.michelin.cio
      CopyToMasterNotifier.perform
      1. com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:76)
      1 frame
    7. Hudson
      AbstractBuild$AbstractRunner.performAllBuildSteps
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      3 frames
    8. Hudson Maven Embedder
      MavenModuleSetBuild$RunnerImpl.cleanUp
      1. hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:681)
      1 frame
    9. Hudson
      Run.run
      1. hudson.model.Run.run(Run.java:1367)
      1 frame
    10. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349)
      1 frame
    11. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:139)
      2 frames