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

hudson.remoting.ChannelClosedException: channel is already closed

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Minor Minor
    • _unsorted

      Building remotely on fw-build-14 (FC14 Linux) in workspace /work/jenkins/workspace/robot-tesla-linux
      java.io.IOException: remote file operation failed: /work/jenkins/workspace/robot-tesla-linux at hudson.remoting.Channel@376f735f:fw-build-14: hudson.remoting.ChannelClosedException: channel is already closed
      at hudson.FilePath.act(FilePath.java:985)
      at hudson.FilePath.act(FilePath.java:967)
      at hudson.FilePath.mkdirs(FilePath.java:1150)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1263)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
      at hudson.model.Run.execute(Run.java:1751)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)
      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:978)
      ... 10 more
      Caused by: java.io.IOException
      at hudson.remoting.Channel.close(Channel.java:1109)
      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)
      Caused by: java.util.concurrent.TimeoutException: Ping started at 1489166596118 hasn't completed by 1489166836119
      ... 2 more

          [JENKINS-42678] hudson.remoting.ChannelClosedException: channel is already closed

          Oleg Nenashev added a comment -

          Please provide

          • Logs from the agent side
          • Version of the Jenkins core
          • Version of Remoting on the agent side

          Oleg Nenashev added a comment - Please provide Logs from the agent side Version of the Jenkins core Version of Remoting on the agent side

          Oleg Nenashev added a comment -

          No response from the submitter. There is not enough information to decide if it is a bug.

          Oleg Nenashev added a comment - No response from the submitter. There is not enough information to decide if it is a bug.

          Srikanth Vadlamani added a comment - - edited

          We use Cloudbees Enterprise version 2.7.22.0.3 and EC2-plugin version 1.36. Also, I seeing the following error frequently. Also, CJE is on Ubuntu 14.04.4 LTS, AWS ami

          ERROR: SEVERE ERROR occurs
          org.jenkinsci.lib.envinject.EnvInjectException: hudson.remoting.ChannelClosedException: channel is already closed
          at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:79)
          at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:80)
          at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:42)
          at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:572)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:492)
          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:410)
          Caused by: hudson.remoting.ChannelClosedException: channel is already closed
          at hudson.remoting.Channel.send(Channel.java:578)
          at hudson.remoting.Request.call(Request.java:130)
          at hudson.remoting.Channel.call(Channel.java:780)
          at hudson.FilePath.act(FilePath.java:1102)
          at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:48)
          ... 8 more
          Caused by: java.io.IOException
          at hudson.remoting.Channel.close(Channel.java:1163)
          at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:121)
          at hudson.remoting.PingThread.ping(PingThread.java:130)
          at hudson.remoting.PingThread.run(PingThread.java:86)
          Caused by: java.util.concurrent.TimeoutException: Ping started at 1493347954228 hasn't completed by 1493348194229
          
          

          Srikanth Vadlamani added a comment - - edited We use Cloudbees Enterprise version 2.7.22.0.3 and EC2-plugin version 1.36. Also, I seeing the following error frequently. Also, CJE is on Ubuntu 14.04.4 LTS, AWS ami ERROR: SEVERE ERROR occurs org.jenkinsci.lib.envinject.EnvInjectException: hudson.remoting.ChannelClosedException: channel is already closed at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:79) at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:80) at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:42) at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:572) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:492) 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:410) Caused by: hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:578) at hudson.remoting.Request.call(Request.java:130) at hudson.remoting.Channel.call(Channel.java:780) at hudson.FilePath.act(FilePath.java:1102) at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:48) ... 8 more Caused by: java.io.IOException at hudson.remoting.Channel.close(Channel.java:1163) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:121) at hudson.remoting.PingThread.ping(PingThread.java:130) at hudson.remoting.PingThread.run(PingThread.java:86) Caused by: java.util.concurrent.TimeoutException: Ping started at 1493347954228 hasn't completed by 1493348194229

            oleg_nenashev Oleg Nenashev
            swang Simon Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: