hudson.util.IOException2: remote file operation failed: /tmp/hudson8819356115500333751.sh at hudson.remoting.Channel@6d12070a:srv-nl-crd12

Jenkins JIRA | Cees Bos | 5 years ago
  1. 0

    We random see jobs getting aborted with the stacktraces below. We see this for long running jobs, which execute a large set of JUnit tests. Windows 2008 machine (x64) FATAL: Unable to delete script file C:\Windows\TEMP\hudson7878511792654741097.bat hudson.util.IOException2: remote file operation failed: C:\Windows\TEMP\hudson7878511792654741097.bat at hudson.remoting.Channel@5a171ae3:srv-nl-crd05 at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.FilePath.delete(FilePath.java:995) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) 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:459) 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: hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:492) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:674) at hudson.FilePath.act(FilePath.java:747) ... 13 more Caused by: hudson.remoting.Channel$OrderlyShutdown at hudson.remoting.Channel$CloseCommand.execute(Channel.java:819) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1071) Caused by: Command close created at at hudson.remoting.Command.<init>(Command.java:62) at hudson.remoting.Command.<init>(Command.java:47) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:815) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:815) at hudson.remoting.Channel.close(Channel.java:860) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:112) at hudson.remoting.PingThread.ping(PingThread.java:107) at hudson.remoting.PingThread.run(PingThread.java:81) FATAL: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown at hudson.remoting.Request.call(Request.java:149) at hudson.remoting.Channel.call(Channel.java:674) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158) at $Proxy35.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:850) at hudson.Launcher$ProcStarter.join(Launcher.java:336) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:82) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) 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:459) 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: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown at hudson.remoting.Request.abort(Request.java:273) at hudson.remoting.Channel.terminate(Channel.java:725) at hudson.remoting.Channel$CloseCommand.execute(Channel.java:819) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1071) Caused by: hudson.remoting.Channel$OrderlyShutdown ... 2 more Caused by: Command close created at at hudson.remoting.Command.<init>(Command.java:62) at hudson.remoting.Command.<init>(Command.java:47) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:815) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:815) at hudson.remoting.Channel.close(Channel.java:860) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:112) at hudson.remoting.PingThread.ping(PingThread.java:107) at hudson.remoting.PingThread.run(PingThread.java:81) Linux (CentOS x64) FATAL: Unable to delete script file /tmp/hudson8819356115500333751.sh hudson.util.IOException2: remote file operation failed: /tmp/hudson8819356115500333751.sh at hudson.remoting.Channel@6d12070a:srv-nl-crd12 at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.FilePath.delete(FilePath.java:995) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) 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:459) 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: hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:492) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:674) at hudson.FilePath.act(FilePath.java:747) ... 13 more Caused by: hudson.remoting.Channel$OrderlyShutdown at hudson.remoting.Channel$CloseCommand.execute(Channel.java:819) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1071) Caused by: Command close created at at hudson.remoting.Command.<init>(Command.java:62) at hudson.remoting.Command.<init>(Command.java:47) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:815) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:815) at hudson.remoting.Channel.close(Channel.java:860) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:112) at hudson.remoting.PingThread.ping(PingThread.java:107) at hudson.remoting.PingThread.run(PingThread.java:81) FATAL: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown at hudson.remoting.Request.call(Request.java:149) at hudson.remoting.Channel.call(Channel.java:674) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158) at $Proxy35.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:850) at hudson.Launcher$ProcStarter.join(Launcher.java:336) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:82) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) 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:459) 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: hudson.remoting.RequestAbortedException: hudson.remoting.Channel$OrderlyShutdown at hudson.remoting.Request.abort(Request.java:273) at hudson.remoting.Channel.terminate(Channel.java:725) at hudson.remoting.Channel$CloseCommand.execute(Channel.java:819) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1071) Caused by: hudson.remoting.Channel$OrderlyShutdown ... 2 more Caused by: Command close created at at hudson.remoting.Command.<init>(Command.java:62) at hudson.remoting.Command.<init>(Command.java:47) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:815) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:815) at hudson.remoting.Channel.close(Channel.java:860) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:112) at hudson.remoting.PingThread.ping(PingThread.java:107) at hudson.remoting.PingThread.run(PingThread.java:81) Our master is running on CentOS x64.

    Jenkins JIRA | 5 years ago | Cees Bos
    hudson.util.IOException2: remote file operation failed: C:\Windows\TEMP\hudson7878511792654741097.bat at hudson.remoting.Channel@5a171ae3:srv-nl-crd05
  2. 0

    Slave issue with SSH

    Google Groups | 4 years ago | Andrew Melo
    hudson.remoting.Channel$OrderlyShutdown
  3. 0

    Slave issue with SSH

    Google Groups | 4 years ago | Andrew Melo
    hudson.util.IOException2: remote file operation failed: /tmp/hudson6039265956144709398.sh at hudson.remoting.Channel@48e9bce1:dmwm-slave03
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I had this working with older versions of Hudson, it broke on upgrade. I can manually launch the agent, and it is configured as such. Launch method = ssh Availability = Take node off line when idle then when the agent goes off line Hudson fails to restart it. I then have to manually click the "launch slave agent" to restart it. Once this is done, the agent runs until the agent is idle, when it will go off line again, and will never come on line again until I click the button "launch slave agent". The agents are running on Scientific Linux (Red Hat binary compatible OS) 32 and 64 bit, versions 4 and 5. The following is a typical log file [06/16/09 18:43:32] [SSH] Connection closed. <lots of jibberish characters> channel stopped [06/16/09 18:43:32] slave agent was terminated hudson.remoting.Channel$OrderlyShutdown at hudson.remoting.Channel$CloseCommand.execute(Channel.java:623) at hudson.remoting.Channel$ReaderThread.run(Channel.java:758) Caused by: Command close created at at hudson.remoting.Command.<init>(Command.java:47) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:619) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:619) at hudson.remoting.Channel.close(Channel.java:663) at hudson.remoting.Channel$CloseCommand.execute(Channel.java:622) ... 1 more This is 100% repeatable, we are running Hudson ver. 1.310 and this bug has been around for quiet some releases, maybe 3-4 months.

    Jenkins JIRA | 7 years ago | owensynge
    hudson.remoting.Channel$OrderlyShutdown
  6. 0

    Build fails with FATAL: Unable to load resource META-INF/services/javax.xml.parsers.SAXParserFactory - dWAnswers

    ibm.com | 4 months ago
    java.lang.Error: Unable to load resource META-INF/services/javax.xml.parsers.SAXParserFactory

    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.Channel$OrderlyShutdown

      No message provided

      at hudson.remoting.Channel$CloseCommand.execute()
    2. Hudson :: Remoting Layer
      Channel.close
      1. hudson.remoting.Channel$CloseCommand.execute(Channel.java:819)
      2. hudson.remoting.Channel$ReaderThread.run(Channel.java:1071)
      3. hudson.remoting.Command.<init>(Command.java:62)
      4. hudson.remoting.Command.<init>(Command.java:47)
      5. hudson.remoting.Channel$CloseCommand.<init>(Channel.java:815)
      6. hudson.remoting.Channel$CloseCommand.<init>(Channel.java:815)
      7. hudson.remoting.Channel.close(Channel.java:860)
      7 frames
    3. Hudson
      ChannelPinger$1.onDead
      1. hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:112)
      1 frame
    4. Hudson :: Remoting Layer
      PingThread.run
      1. hudson.remoting.PingThread.ping(PingThread.java:107)
      2. hudson.remoting.PingThread.run(PingThread.java:81)
      2 frames