java.io.IOException: remote file operation failed: /home/jenkins/workspace/JOB at hudson.remoting.Channel@534f2fda:docker-5f823700b921: hudson.remoting.ChannelClosedException: channel is already closed

Jenkins JIRA | Kanstantsin Shautsou | 1 year ago
  1. 0

    When no WS required polling is run as usually, but when build is going it tries poll using this build that ends in stacktrace? {code} Started on Sep 16, 2015 1:51:41 AM Polling SCM changes on docker-5f823700b921 Using strategy: Default [poll] Last Built Revision: Revision 653b08cf73531b28015ff601b1e292236ed3b898 (origin/branch) FATAL: remote file operation failed: /home/jenkins/workspace/JOB at hudson.remoting.Channel@534f2fda:docker-5f823700b921: hudson.remoting.ChannelClosedException: channel is already closed java.io.IOException: remote file operation failed: /home/jenkins/workspace/JOB at hudson.remoting.Channel@534f2fda:docker-5f823700b921: hudson.remoting.ChannelClosedException: channel is already closed at hudson.FilePath.act(FilePath.java:985) at hudson.FilePath.act(FilePath.java:967) at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:131) at hudson.plugins.git.GitSCM.createClient(GitSCM.java:705) at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:646) at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:527) at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:380) at hudson.scm.SCM.poll(SCM.java:397) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1471) at hudson.model.AbstractProject._poll(AbstractProject.java:1442) at hudson.model.AbstractProject.poll(AbstractProject.java:1353) at jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:119) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:510) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:539) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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: hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:575) at hudson.remoting.Request.call(Request.java:130) at hudson.remoting.Channel.call(Channel.java:777) at hudson.FilePath.act(FilePath.java:978) ... 19 more Caused by: java.io.IOException at hudson.remoting.Channel.close(Channel.java:1160) at hudson.remoting.Channel.close(Channel.java:1135) at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:678) at hudson.slaves.SlaveComputer.access$600(SlaveComputer.java:94) at hudson.slaves.SlaveComputer$3.run(SlaveComputer.java:607) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) ... 5 more Done. Took 40 sec No changes {code} Build on cloud slave existed for 46 sec. Seems polling dies with stacktrace because it tries to do WS based polling on slave that shutdowns soon.

    Jenkins JIRA | 1 year ago | Kanstantsin Shautsou
    java.io.IOException: remote file operation failed: /home/jenkins/workspace/JOB at hudson.remoting.Channel@534f2fda:docker-5f823700b921: hudson.remoting.ChannelClosedException: channel is already closed
  2. 0

    When no WS required polling is run as usually, but when build is going it tries poll using this build that ends in stacktrace? {code} Started on Sep 16, 2015 1:51:41 AM Polling SCM changes on docker-5f823700b921 Using strategy: Default [poll] Last Built Revision: Revision 653b08cf73531b28015ff601b1e292236ed3b898 (origin/branch) FATAL: remote file operation failed: /home/jenkins/workspace/JOB at hudson.remoting.Channel@534f2fda:docker-5f823700b921: hudson.remoting.ChannelClosedException: channel is already closed java.io.IOException: remote file operation failed: /home/jenkins/workspace/JOB at hudson.remoting.Channel@534f2fda:docker-5f823700b921: hudson.remoting.ChannelClosedException: channel is already closed at hudson.FilePath.act(FilePath.java:985) at hudson.FilePath.act(FilePath.java:967) at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:131) at hudson.plugins.git.GitSCM.createClient(GitSCM.java:705) at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:646) at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:527) at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:380) at hudson.scm.SCM.poll(SCM.java:397) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1471) at hudson.model.AbstractProject._poll(AbstractProject.java:1442) at hudson.model.AbstractProject.poll(AbstractProject.java:1353) at jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:119) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:510) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:539) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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: hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:575) at hudson.remoting.Request.call(Request.java:130) at hudson.remoting.Channel.call(Channel.java:777) at hudson.FilePath.act(FilePath.java:978) ... 19 more Caused by: java.io.IOException at hudson.remoting.Channel.close(Channel.java:1160) at hudson.remoting.Channel.close(Channel.java:1135) at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:678) at hudson.slaves.SlaveComputer.access$600(SlaveComputer.java:94) at hudson.slaves.SlaveComputer$3.run(SlaveComputer.java:607) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) ... 5 more Done. Took 40 sec No changes {code} Build on cloud slave existed for 46 sec. Seems polling dies with stacktrace because it tries to do WS based polling on slave that shutdowns soon.

    Jenkins JIRA | 1 year ago | Kanstantsin Shautsou
    java.io.IOException: remote file operation failed: /home/jenkins/workspace/JOB at hudson.remoting.Channel@534f2fda:docker-5f823700b921: hudson.remoting.ChannelClosedException: channel is already closed
  3. 0

    Jenkins warnings

    GitHub | 1 year ago | gdbtek
    hudson.remoting.ChannelClosedException: channel is already closed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Stuck SSH slave?

    Google Groups | 4 years ago | Andrew Melo
    hudson.util.IOException2: remote file operation failed: /jenkins/workspace/WMCore-UnitTests-try at hudson.remoting.Channel@19119a16:dmwm-slave01
  6. 0

    Job requires a second svn working copy

    Google Groups | 6 years ago | David Aldrich
    hudson.util.IOException2: remote file operation failed: /home/hudson/ci/hudson/slaves/SolarisServer2/workspace/my_nightly2 at hudson.remoting.Channel@1be7b9b:SolarisServer2

    3 unregistered visitors
    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. java.io.IOException

      No message provided

      at hudson.remoting.Channel.close()
    2. Hudson :: Remoting Layer
      Channel.close
      1. hudson.remoting.Channel.close(Channel.java:1160)
      2. hudson.remoting.Channel.close(Channel.java:1135)
      2 frames
    3. Hudson
      SlaveComputer$3.run
      1. hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:678)
      2. hudson.slaves.SlaveComputer.access$600(SlaveComputer.java:94)
      3. hudson.slaves.SlaveComputer$3.run(SlaveComputer.java:607)
      3 frames
    4. jenkins.util
      ContextResettingExecutorService$1.run
      1. jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames