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

Jenkins JIRA | Cees Bos | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 6 years ago | Cees Bos
    hudson.util.IOException2: remote file operation failed: C:\Windows\TEMP\hudson7878511792654741097.bat at hudson.remoting.Channel@5a171ae3:srv-nl-crd05

    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