Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24761

Jenkin job fails with hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • remoting

      My Jenkins job is failing continuously with this error, earlier it used to pass. I am getting the error on the Jenkins job execution page, but the job is still running on windows node. I don't know if it is Jenkins problem or windows slave's issue.
      Here I am pasting the logs:

      c:\jenkins\workspace\NSClient-Automation-1>FATAL: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown
      hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown
      	at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41)
      	at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34)
      	at hudson.remoting.Request.call(Request.java:174)
      	at hudson.remoting.Channel.call(Channel.java:739)
      	at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:168)
      	at com.sun.proxy.$Proxy56.join(Unknown Source)
      	at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:956)
      	at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:137)
      	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97)
      	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756)
      	at hudson.model.Build$BuildExecution.build(Build.java:198)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:159)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      	at hudson.model.Run.execute(Run.java:1706)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:232)
      Caused by: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown
      	at hudson.remoting.Request.abort(Request.java:299)
      	at hudson.remoting.Channel.terminate(Channel.java:802)
      	at hudson.remoting.Channel$CloseCommand.execute(Channel.java:951)
      	at hudson.remoting.Channel$2.handle(Channel.java:475)
      	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:60)
      Caused by: hudson.remoting.Channel$OrderlyShutdown
      	... 3 more
      Caused by: Command close created at
      	at hudson.remoting.Command.<init>(Command.java:56)
      	at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:921)
      	at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:919)
      	at hudson.remoting.Channel.close(Channel.java:1002)
      	at hudson.remoting.Channel.close(Channel.java:985)
      	at hudson.remoting.Channel$CloseCommand.execute(Channel.java:926)
      	at hudson.remoting.Channel$2.handle(Channel.java:461)
      	... 1 more
      

      Jenkins ver. 1.565.2

        1. stacktrace-2.32.2.log
          3 kB
          Peter Rifel
        2. stacktrace-2.46.1.log
          2 kB
          Peter Rifel

          [JENKINS-24761] Jenkin job fails with hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown

          Sushant Gupta created issue -
          Daniel Beck made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: slave-proxy [ 17602 ]
          Component/s Original: windows-slaves [ 18327 ]
          Labels New: remoting

          Hi, this project called "Jenkins", not "junkins" or "junking". Thanks.

          Kanstantsin Shautsou added a comment - Hi, this project called "Jenkins", not "junkins" or "junking". Thanks.

          Daniel Beck added a comment -

          Does this issue still occur? Does it occur after a Jenkins restart? Is only one specific job affected? Only one specific slave? Is it sufficient to just disconnect and reconnect the slave to get things working again?

          Daniel Beck added a comment - Does this issue still occur? Does it occur after a Jenkins restart? Is only one specific job affected? Only one specific slave? Is it sufficient to just disconnect and reconnect the slave to get things working again?
          Daniel Beck made changes -
          Component/s New: remoting [ 15489 ]
          Component/s Original: core [ 15593 ]
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ]
          Description Original: My junking job is failing continuously with this error, earlier it used to pass. I am getting the error on the Jenkins job execution page, but the job is still running on windows node. I don't know if it is Junkins problem or windows slave's issue.
          Here I am pasting the logs:


          c:\jenkins\workspace\NSClient-Automation-1>FATAL: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown
          hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown
          at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41)
          at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34)
          at hudson.remoting.Request.call(Request.java:174)
          at hudson.remoting.Channel.call(Channel.java:739)
          at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:168)
          at com.sun.proxy.$Proxy56.join(Unknown Source)
          at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:956)
          at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:137)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756)
          at hudson.model.Build$BuildExecution.build(Build.java:198)
          at hudson.model.Build$BuildExecution.doRun(Build.java:159)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
          at hudson.model.Run.execute(Run.java:1706)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:232)
          Caused by: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown
          at hudson.remoting.Request.abort(Request.java:299)
          at hudson.remoting.Channel.terminate(Channel.java:802)
          at hudson.remoting.Channel$CloseCommand.execute(Channel.java:951)
          at hudson.remoting.Channel$2.handle(Channel.java:475)
          at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:60)
          Caused by: hudson.remoting.Channel$OrderlyShutdown
          ... 3 more
          Caused by: Command close created at
          at hudson.remoting.Command.<init>(Command.java:56)
          at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:921)
          at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:919)
          at hudson.remoting.Channel.close(Channel.java:1002)
          at hudson.remoting.Channel.close(Channel.java:985)
          at hudson.remoting.Channel$CloseCommand.execute(Channel.java:926)
          at hudson.remoting.Channel$2.handle(Channel.java:461)
          ... 1 more

          Jenkins ver. 1.565.2
          New: My Jenkins job is failing continuously with this error, earlier it used to pass. I am getting the error on the Jenkins job execution page, but the job is still running on windows node. I don't know if it is Jenkins problem or windows slave's issue.
          Here I am pasting the logs:

          {noformat}
          c:\jenkins\workspace\NSClient-Automation-1>FATAL: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown
          hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown
          at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41)
          at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34)
          at hudson.remoting.Request.call(Request.java:174)
          at hudson.remoting.Channel.call(Channel.java:739)
          at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:168)
          at com.sun.proxy.$Proxy56.join(Unknown Source)
          at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:956)
          at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:137)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97)
          at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756)
          at hudson.model.Build$BuildExecution.build(Build.java:198)
          at hudson.model.Build$BuildExecution.doRun(Build.java:159)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
          at hudson.model.Run.execute(Run.java:1706)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:232)
          Caused by: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown
          at hudson.remoting.Request.abort(Request.java:299)
          at hudson.remoting.Channel.terminate(Channel.java:802)
          at hudson.remoting.Channel$CloseCommand.execute(Channel.java:951)
          at hudson.remoting.Channel$2.handle(Channel.java:475)
          at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:60)
          Caused by: hudson.remoting.Channel$OrderlyShutdown
          ... 3 more
          Caused by: Command close created at
          at hudson.remoting.Command.<init>(Command.java:56)
          at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:921)
          at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:919)
          at hudson.remoting.Channel.close(Channel.java:1002)
          at hudson.remoting.Channel.close(Channel.java:985)
          at hudson.remoting.Channel$CloseCommand.execute(Channel.java:926)
          at hudson.remoting.Channel$2.handle(Channel.java:461)
          ... 1 more
          {noformat}

          Jenkins ver. 1.565.2

          wbauer added a comment -

          I see this as well, master is RHEL 6.5 linux jenkins version 1.572 and only windows slaves are affected (look s like they loose connection sporadically). Mac and Linux slaves are fine. I was not able to consistently reproduce or pinpoint how, when or why this happens yet - due to time constraints.

          wbauer added a comment - I see this as well, master is RHEL 6.5 linux jenkins version 1.572 and only windows slaves are affected (look s like they loose connection sporadically). Mac and Linux slaves are fine. I was not able to consistently reproduce or pinpoint how, when or why this happens yet - due to time constraints.

          Gil Zellner added a comment -

          Happens to me too. Master is Ubuntu 12.04 x64 on AWS, Running Jenkins 1.594
          Slaves are Mac OS Yosemite.

          Gil Zellner added a comment - Happens to me too. Master is Ubuntu 12.04 x64 on AWS, Running Jenkins 1.594 Slaves are Mac OS Yosemite.

          David Rubio added a comment -

          Same problem here. Master is Ubuntu 12.04 x64 with Jenkins 1.597. The slave is a Windows 7 machine.

          David Rubio added a comment - Same problem here. Master is Ubuntu 12.04 x64 with Jenkins 1.597. The slave is a Windows 7 machine.

          I've also seen this problem intermittently connecting from an Ubuntu 12.04 master to slaves also running Ubuntu 12.04. The problem clears up after a slave connection restart.

          Carter Sanders added a comment - I've also seen this problem intermittently connecting from an Ubuntu 12.04 master to slaves also running Ubuntu 12.04. The problem clears up after a slave connection restart.

          Kevin Cheng added a comment -

          We are seeing this randomly as well. I am not sure if it is related to the reliability of the network between master and slave. We use Jenkins v 1.596.1. Master is running Ubuntu 12.04 and slave is running Ubuntu 14.01

          Note: Our master runs in datacenter while most of the slaves are running in AWS for scalability reason. The connection between DC and AWS is through a dual 10GB direct link.

          The reason I ask whether this issue might be impacted by the network reliability is that we also have one other setup 100% in AWS (both master and slaves) and we only see this issue in a about 1:100 ratio comparing to the "DC-AWS" setup.

          Kevin Cheng added a comment - We are seeing this randomly as well. I am not sure if it is related to the reliability of the network between master and slave. We use Jenkins v 1.596.1. Master is running Ubuntu 12.04 and slave is running Ubuntu 14.01 Note: Our master runs in datacenter while most of the slaves are running in AWS for scalability reason. The connection between DC and AWS is through a dual 10GB direct link. The reason I ask whether this issue might be impacted by the network reliability is that we also have one other setup 100% in AWS (both master and slaves) and we only see this issue in a about 1:100 ratio comparing to the "DC-AWS" setup.

            Unassigned Unassigned
            sushant Sushant Gupta
            Votes:
            15 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated: