java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Stuck SSH slave?
    via by Andrew Melo,
  • Job requires a second svn working copy
    via by David Aldrich,
  • Our cron box, a Jenkins slave which runs most of our tied jobs, got overwhelmed with CPU and jobs were failing. This made sense, but it didn't send failure emails even though the jobs were failing, which was quite unfortunate as it meant we were failing to update production data for a few hours until we noticed. It seems to be relying on a healthy connection to the slave in the case of a failure, which might be the cause of the failure in the first place. I'm not actually sure if email-ext is the root culprit or not, though it is configured for affected jobs. The full log follows: Started by user michael Building remotely on Cron hudson.util.IOException2: remote file operation failed: /tmp/workspace/alerts_low_priority at hudson.remoting.Channel@317dc9:Cron at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.FilePath.mkdirs(FilePath.java:806) at hudson.model.AbstractProject.checkout(AbstractProject.java:1191) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) 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:486) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:668) at hudson.FilePath.act(FilePath.java:747) ... 9 more Caused by: java.io.IOException at hudson.remoting.Channel.close(Channel.java:855) 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) Email was triggered for: Failure Email was triggered for: Still Failing Trigger Failure was overridden by another trigger and will not send an email. Sending email for trigger: Still Failing ERROR: Could not send email as a part of the post-build publishers. hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:486) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:668) at hudson.EnvVars.getRemote(EnvVars.java:202) at hudson.model.Computer.getEnvironment(Computer.java:821) at hudson.model.Run.getEnvironment(Run.java:1794) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:783) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:295) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:235) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:227) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:189) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1420) 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: java.io.IOException at hudson.remoting.Channel.close(Channel.java:855) 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) Finished: FAILURE
    via by mcrooney,
  • Jenkins running on Linux kurki 2.6.32-5-xen-amd64 #1 SMP x86_64 Debian GNU/Linux 6.0 failed to contact a Unix slave on SLES 11 SP 1. Jenkins 1.430 version. The last attempt failed with the following log. The next attempts to contact the slave failed altogether and there was no text in the slave node log either. Started by upstream project "pmc-snapshot-itest" build number 545 Building remotely on pmc-inst-test hudson.util.IOException2: remote file operation failed: /var/jenkins/workspace/pmc-snapshot-inst-test at hudson.remoting.Channel@74e1b1dd:pmc-inst-test at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.FilePath.mkdirs(FilePath.java:806) at hudson.model.AbstractProject.checkout(AbstractProject.java:1191) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) 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:499) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.act(FilePath.java:747) ... 9 more Caused by: java.io.IOException at hudson.remoting.Channel.close(Channel.java:868) 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) Recording test results ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:499) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:681) at hudson.EnvVars.getRemote(EnvVars.java:202) at hudson.model.Computer.getEnvironment(Computer.java:821) at hudson.model.Run.getEnvironment(Run.java:1794) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:808) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:131) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615) at hudson.model.Run.run(Run.java:1401) 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: java.io.IOException at hudson.remoting.Channel.close(Channel.java:868) 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) ERROR: Publisher hudson.tasks.Mailer aborted due to exception hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:499) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:681) at hudson.EnvVars.getRemote(EnvVars.java:202) at hudson.model.Computer.getEnvironment(Computer.java:821) at hudson.model.Run.getEnvironment(Run.java:1794) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:808) at hudson.tasks.Mailer.perform(Mailer.java:98) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615) at hudson.model.Run.run(Run.java:1401) 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: java.io.IOException at hudson.remoting.Channel.close(Channel.java:868) 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) Finished: FAILURE
    via by Matti Linnanvuori,
  • {noformat} 2014-11-14 12:41:02 [EnvInject] - Loading node environment variables. 2014-11-14 12:41:02 ERROR: SEVERE ERROR occurs 2014-11-14 12:41:02 org.jenkinsci.lib.envinject.EnvInjectException: hudson.remoting.ChannelClosedException: channel is already closed 2014-11-14 12:41:02 at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:75) 2014-11-14 12:41:02 at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:81) 2014-11-14 12:41:02 at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:39) 2014-11-14 12:41:02 at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:581) 2014-11-14 12:41:02 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:487) 2014-11-14 12:41:02 at hudson.model.Run.execute(Run.java:1706) 2014-11-14 12:41:02 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 2014-11-14 12:41:02 at hudson.model.ResourceController.execute(ResourceController.java:88) 2014-11-14 12:41:02 at hudson.model.Executor.run(Executor.java:232) 2014-11-14 12:41:02 Caused by: hudson.remoting.ChannelClosedException: channel is already closed 2014-11-14 12:41:02 at hudson.remoting.Channel.send(Channel.java:540) 2014-11-14 12:41:02 at hudson.remoting.Request.call(Request.java:129) 2014-11-14 12:41:02 at hudson.remoting.Channel.call(Channel.java:742) 2014-11-14 12:41:02 at hudson.FilePath.act(FilePath.java:1009) 2014-11-14 12:41:02 at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:44) 2014-11-14 12:41:02 ... 8 more 2014-11-14 12:41:02 Caused by: java.io.IOException 2014-11-14 12:41:02 at hudson.remoting.Channel.close(Channel.java:1030) 2014-11-14 12:41:02 at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:110) 2014-11-14 12:41:02 at hudson.remoting.PingThread.ping(PingThread.java:120) 2014-11-14 12:41:02 at hudson.remoting.PingThread.run(PingThread.java:81) 2014-11-14 12:41:02 Caused by: java.util.concurrent.TimeoutException: Ping started on 1415995733541 hasn't completed at 1415995973541 {noformat}
    via by Sam Xiao,
  • Our cron box, a Jenkins slave which runs most of our tied jobs, got overwhelmed with CPU and jobs were failing. This made sense, but it didn't send failure emails even though the jobs were failing, which was quite unfortunate as it meant we were failing to update production data for a few hours until we noticed. It seems to be relying on a healthy connection to the slave in the case of a failure, which might be the cause of the failure in the first place. I'm not actually sure if email-ext is the root culprit or not, though it is configured for affected jobs. The full log follows: Started by user michael Building remotely on Cron hudson.util.IOException2: remote file operation failed: /tmp/workspace/alerts_low_priority at hudson.remoting.Channel@317dc9:Cron at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.FilePath.mkdirs(FilePath.java:806) at hudson.model.AbstractProject.checkout(AbstractProject.java:1191) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) 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:486) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:668) at hudson.FilePath.act(FilePath.java:747) ... 9 more Caused by: java.io.IOException at hudson.remoting.Channel.close(Channel.java:855) 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) Email was triggered for: Failure Email was triggered for: Still Failing Trigger Failure was overridden by another trigger and will not send an email. Sending email for trigger: Still Failing ERROR: Could not send email as a part of the post-build publishers. hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:486) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:668) at hudson.EnvVars.getRemote(EnvVars.java:202) at hudson.model.Computer.getEnvironment(Computer.java:821) at hudson.model.Run.getEnvironment(Run.java:1794) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:783) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:295) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:235) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:227) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:189) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1420) 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: java.io.IOException at hudson.remoting.Channel.close(Channel.java:855) 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) Finished: FAILURE
    via by mcrooney,
  • Jenkins running on Linux kurki 2.6.32-5-xen-amd64 #1 SMP x86_64 Debian GNU/Linux 6.0 failed to contact a Unix slave on SLES 11 SP 1. Jenkins 1.430 version. The last attempt failed with the following log. The next attempts to contact the slave failed altogether and there was no text in the slave node log either. Started by upstream project "pmc-snapshot-itest" build number 545 Building remotely on pmc-inst-test hudson.util.IOException2: remote file operation failed: /var/jenkins/workspace/pmc-snapshot-inst-test at hudson.remoting.Channel@74e1b1dd:pmc-inst-test at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.FilePath.mkdirs(FilePath.java:806) at hudson.model.AbstractProject.checkout(AbstractProject.java:1191) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) 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:499) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:681) at hudson.FilePath.act(FilePath.java:747) ... 9 more Caused by: java.io.IOException at hudson.remoting.Channel.close(Channel.java:868) 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) Recording test results ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:499) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:681) at hudson.EnvVars.getRemote(EnvVars.java:202) at hudson.model.Computer.getEnvironment(Computer.java:821) at hudson.model.Run.getEnvironment(Run.java:1794) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:808) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:131) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615) at hudson.model.Run.run(Run.java:1401) 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: java.io.IOException at hudson.remoting.Channel.close(Channel.java:868) 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) ERROR: Publisher hudson.tasks.Mailer aborted due to exception hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:499) at hudson.remoting.Request.call(Request.java:110) at hudson.remoting.Channel.call(Channel.java:681) at hudson.EnvVars.getRemote(EnvVars.java:202) at hudson.model.Computer.getEnvironment(Computer.java:821) at hudson.model.Run.getEnvironment(Run.java:1794) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:808) at hudson.tasks.Mailer.perform(Mailer.java:98) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615) at hudson.model.Run.run(Run.java:1401) 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: java.io.IOException at hudson.remoting.Channel.close(Channel.java:868) 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) Finished: FAILURE
    via by Matti Linnanvuori,
    • java.io.IOException: remote file operation failed: C:\JSBuilds\workspace****************** at hudson.remoting.Channel@1530a3e:********: hudson.remoting.ChannelClosedException: channel is already closed at hudson.FilePath.act(FilePath.java:987) at hudson.FilePath.act(FilePath.java:969) at hudson.FilePath.mkdirs(FilePath.java:1152) at hudson.model.AbstractProject.checkout(AbstractProject.java:1275) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Caused by: hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:550) at hudson.remoting.Request.call(Request.java:129) at hudson.remoting.Channel.call(Channel.java:752) at hudson.FilePath.act(FilePath.java:980) ... 10 more Caused by: java.io.IOException at hudson.remoting.Channel.close(Channel.java:1110) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:118) at hudson.remoting.PingThread.ping(PingThread.java:126) at hudson.remoting.PingThread.run(PingThread.java:85)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,