hudson.remoting.RequestAbortedException: java.io.IOException: Pipe closed

Jenkins JIRA | Matt McCormick | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JIRA] [ec2-plugin] (JENKINS-34044) EC2 Plugin: Windows: java.io.IOException: Pipe closed

    Google Groups | 1 year ago | matt.mc...@kitware.com (JIRA)
    hudson.remoting.RequestAbortedException: java.io.IOException: Pipe closed
  2. 0

    When starting the AWS Windows slave, failure occurs with: {noformat} Apr 05, 2016 8:12:55 PM null FINEST: Node ITKAWSWindows (i-0234e203d06253ae7)(i-0234e203d06253ae7) is still pending/launching, waiting 5s Apr 05, 2016 8:13:00 PM null FINEST: Node ITKAWSWindows (i-0234e203d06253ae7)(i-0234e203d06253ae7) is still pending/launching, waiting 5s Apr 05, 2016 8:13:05 PM null FINEST: Node ITKAWSWindows (i-0234e203d06253ae7)(i-0234e203d06253ae7) is still pending/launching, waiting 5s Apr 05, 2016 8:13:10 PM null FINEST: Node ITKAWSWindows (i-0234e203d06253ae7)(i-0234e203d06253ae7) is still pending/launching, waiting 5s Apr 05, 2016 8:13:10 PM null FINER: Node ITKAWSWindows (i-0234e203d06253ae7)(i-0234e203d06253ae7) is ready ITKAWSWindows (i-0234e203d06253ae7) booted at 1459901636000 Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator WinRM service responded. Waiting for WinRM service to stabilize on ITKAWSWindows (i-0234e203d06253ae7) WinRM should now be ok on ITKAWSWindows (i-0234e203d06253ae7) Connected with WinRM. Creating tmp directory if it does not exist slave.jar sent remotely. Bootstrapping it <===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 2.53.3 This is a Windows slave ERROR: Connection terminated java.io.IOException: Pipe closed at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:260) at java.io.PipedInputStream.receive(PipedInputStream.java:226) at java.io.PipedOutputStream.write(PipedOutputStream.java:149) at java.io.OutputStream.write(OutputStream.java:75) at hudson.remoting.ChunkedOutputStream.sendFrame(ChunkedOutputStream.java:93) at hudson.remoting.ChunkedOutputStream.drain(ChunkedOutputStream.java:89) at hudson.remoting.ChunkedOutputStream.write(ChunkedOutputStream.java:58) at java.io.OutputStream.write(OutputStream.java:75) at hudson.remoting.ChunkedCommandTransport.writeBlock(ChunkedCommandTransport.java:45) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.write(AbstractSynchronousByteArrayCommandTransport.java:45) at hudson.remoting.Channel.send(Channel.java:582) at hudson.remoting.Channel.close(Channel.java:1156) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:118) at hudson.remoting.PingThread.run(PingThread.java:96) Ouch: hudson.remoting.RequestAbortedException: java.io.IOException: Pipe closed at hudson.remoting.Request.abort(Request.java:297) at hudson.remoting.Channel.terminate(Channel.java:847) at hudson.remoting.Channel.close(Channel.java:1160) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:118) at hudson.remoting.PingThread.run(PingThread.java:96) at ......remote call to ITKAWSWindows (i-0234e203d06253ae7)(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.Request.call(Request.java:172) at hudson.remoting.Channel.call(Channel.java:780) at org.jenkinsci.modules.slave_installer.impl.ComputerListenerImpl.onOnline(ComputerListenerImpl.java:32) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:573) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:381) at hudson.plugins.ec2.win.EC2WindowsLauncher.launch(EC2WindowsLauncher.java:68) at hudson.plugins.ec2.EC2ComputerLauncher.launch(EC2ComputerLauncher.java:100) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:253) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Pipe closed at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:260) at java.io.PipedInputStream.receive(PipedInputStream.java:226) at java.io.PipedOutputStream.write(PipedOutputStream.java:149) at java.io.OutputStream.write(OutputStream.java:75) at hudson.remoting.ChunkedOutputStream.sendFrame(ChunkedOutputStream.java:93) at hudson.remoting.ChunkedOutputStream.drain(ChunkedOutputStream.java:89) at hudson.remoting.ChunkedOutputStream.write(ChunkedOutputStream.java:58) at java.io.OutputStream.write(OutputStream.java:75) at hudson.remoting.ChunkedCommandTransport.writeBlock(ChunkedCommandTransport.java:45) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.write(AbstractSynchronousByteArrayCommandTransport.java:45) at hudson.remoting.Channel.send(Channel.java:582) at hudson.remoting.Channel.close(Channel.java:1156) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:118) at hudson.remoting.PingThread.run(PingThread.java:96) ERROR: Connection terminated {noformat} A successful connection occur if the initialization is cancelled, then I manually launch the slave agent via the Jenkins GUI.

    Jenkins JIRA | 1 year ago | Matt McCormick
    hudson.remoting.RequestAbortedException: java.io.IOException: Pipe closed
  3. 0

    [JENKINS-34044] EC2 Plugin: Windows: java.io.IOException: Pipe closed - Jenkins JIRA

    jenkins-ci.org | 9 months ago
    hudson.remoting.RequestAbortedException: java.io.IOException: Pipe closed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When starting the AWS Windows slave, failure occurs with: {noformat} Apr 05, 2016 8:12:55 PM null FINEST: Node ITKAWSWindows (i-0234e203d06253ae7)(i-0234e203d06253ae7) is still pending/launching, waiting 5s Apr 05, 2016 8:13:00 PM null FINEST: Node ITKAWSWindows (i-0234e203d06253ae7)(i-0234e203d06253ae7) is still pending/launching, waiting 5s Apr 05, 2016 8:13:05 PM null FINEST: Node ITKAWSWindows (i-0234e203d06253ae7)(i-0234e203d06253ae7) is still pending/launching, waiting 5s Apr 05, 2016 8:13:10 PM null FINEST: Node ITKAWSWindows (i-0234e203d06253ae7)(i-0234e203d06253ae7) is still pending/launching, waiting 5s Apr 05, 2016 8:13:10 PM null FINER: Node ITKAWSWindows (i-0234e203d06253ae7)(i-0234e203d06253ae7) is ready ITKAWSWindows (i-0234e203d06253ae7) booted at 1459901636000 Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-54-152-165-170.compute-1.amazonaws.com(54.152.165.170) with WinRM as Administrator WinRM service responded. Waiting for WinRM service to stabilize on ITKAWSWindows (i-0234e203d06253ae7) WinRM should now be ok on ITKAWSWindows (i-0234e203d06253ae7) Connected with WinRM. Creating tmp directory if it does not exist slave.jar sent remotely. Bootstrapping it <===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 2.53.3 This is a Windows slave ERROR: Connection terminated java.io.IOException: Pipe closed at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:260) at java.io.PipedInputStream.receive(PipedInputStream.java:226) at java.io.PipedOutputStream.write(PipedOutputStream.java:149) at java.io.OutputStream.write(OutputStream.java:75) at hudson.remoting.ChunkedOutputStream.sendFrame(ChunkedOutputStream.java:93) at hudson.remoting.ChunkedOutputStream.drain(ChunkedOutputStream.java:89) at hudson.remoting.ChunkedOutputStream.write(ChunkedOutputStream.java:58) at java.io.OutputStream.write(OutputStream.java:75) at hudson.remoting.ChunkedCommandTransport.writeBlock(ChunkedCommandTransport.java:45) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.write(AbstractSynchronousByteArrayCommandTransport.java:45) at hudson.remoting.Channel.send(Channel.java:582) at hudson.remoting.Channel.close(Channel.java:1156) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:118) at hudson.remoting.PingThread.run(PingThread.java:96) Ouch: hudson.remoting.RequestAbortedException: java.io.IOException: Pipe closed at hudson.remoting.Request.abort(Request.java:297) at hudson.remoting.Channel.terminate(Channel.java:847) at hudson.remoting.Channel.close(Channel.java:1160) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:118) at hudson.remoting.PingThread.run(PingThread.java:96) at ......remote call to ITKAWSWindows (i-0234e203d06253ae7)(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.Request.call(Request.java:172) at hudson.remoting.Channel.call(Channel.java:780) at org.jenkinsci.modules.slave_installer.impl.ComputerListenerImpl.onOnline(ComputerListenerImpl.java:32) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:573) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:381) at hudson.plugins.ec2.win.EC2WindowsLauncher.launch(EC2WindowsLauncher.java:68) at hudson.plugins.ec2.EC2ComputerLauncher.launch(EC2ComputerLauncher.java:100) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:253) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Pipe closed at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:260) at java.io.PipedInputStream.receive(PipedInputStream.java:226) at java.io.PipedOutputStream.write(PipedOutputStream.java:149) at java.io.OutputStream.write(OutputStream.java:75) at hudson.remoting.ChunkedOutputStream.sendFrame(ChunkedOutputStream.java:93) at hudson.remoting.ChunkedOutputStream.drain(ChunkedOutputStream.java:89) at hudson.remoting.ChunkedOutputStream.write(ChunkedOutputStream.java:58) at java.io.OutputStream.write(OutputStream.java:75) at hudson.remoting.ChunkedCommandTransport.writeBlock(ChunkedCommandTransport.java:45) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.write(AbstractSynchronousByteArrayCommandTransport.java:45) at hudson.remoting.Channel.send(Channel.java:582) at hudson.remoting.Channel.close(Channel.java:1156) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:118) at hudson.remoting.PingThread.run(PingThread.java:96) ERROR: Connection terminated {noformat} A successful connection occur if the initialization is cancelled, then I manually launch the slave agent via the Jenkins GUI.

    Jenkins JIRA | 1 year ago | Matt McCormick
    hudson.remoting.RequestAbortedException: java.io.IOException: Pipe closed

    Root Cause Analysis

    1. hudson.remoting.RequestAbortedException

      java.io.IOException: Pipe closed

      at hudson.remoting.Request.abort()
    2. Hudson :: Remoting Layer
      Channel.close
      1. hudson.remoting.Request.abort(Request.java:297)
      2. hudson.remoting.Channel.terminate(Channel.java:847)
      3. hudson.remoting.Channel.close(Channel.java:1160)
      3 frames
    3. Hudson
      ChannelPinger$1.onDead
      1. hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:118)
      1 frame
    4. Hudson :: Remoting Layer
      PingThread.run
      1. hudson.remoting.PingThread.run(PingThread.java:96)
      1 frame