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

Hudson fails to launch the slave agent a second time, even though it availablity is to go off line on idle.


    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: remoting
    • Labels:
    • Environment:
      Platform: All, OS: Linux


      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
      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.

        Issue Links


          owensynge owensynge created issue -
          mindless Alan Harder made changes -
          Field Original Value New Value
          Link This issue is duplicated by JENKINS-4302 [ JENKINS-4302 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]


            • Assignee:
              mindless Alan Harder
              owensynge owensynge
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: