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

Jenkins Agents do not connect after update from version 2.95 to version 2.99 and jobs fail

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core, remoting
    • CentOS root node and 2 macOS agents connecting to it through JNLP4.

      Seeing something that sounds similar to https://issues.jenkins-ci.org/browse/JENKINS-48754.

      "After having installed Jenkins Version 2.99, none of my agents did connect to the server anymore. Even a restart of the java script on the slave did not help."

      Workaround: Update Remoting on the agent side to 3.15

      Agent is launched like so:

      java -jar agent.jar -jnlpUrl https://<Jenkins URL>/computer/<AgentName>/<>.jnlp -secret <Agent Secret>
      

          [JENKINS-48761] Jenkins Agents do not connect after update from version 2.95 to version 2.99 and jobs fail

          Goffredo Marocchi created issue -

          Goffredo Marocchi added a comment - - edited

          May be related... Suggested workaround is to update remoting to 3.15 for the agents. oleg_nenashev how would I do that?

          Remoting on the master should have happened with the 2.98 Jenkins update:

           Update Remoting from 3.14 to 3.15 to fix several issues. (full changelog, issue 37566, issue 37670, issue 38696, issue 46724, issue 47965, issue 48055, issue 48130, issue 48133, issue 48309) 
          

          Goffredo Marocchi added a comment - - edited May be related... Suggested workaround is to update remoting to 3.15 for the agents. oleg_nenashev how would I do that? Remoting on the master should have happened with the 2.98 Jenkins update: Update Remoting from 3.14 to 3.15 to fix several issues. (full changelog, issue 37566, issue 37670, issue 38696, issue 46724, issue 47965, issue 48055, issue 48130, issue 48133, issue 48309)
          Goffredo Marocchi made changes -
          Link New: This issue is related to JENKINS-48754 [ JENKINS-48754 ]

          Oleg Nenashev added a comment -

          > Suggested workaround is to update remoting to 3.15 for the agents. Oleg Nenashev how would I do that?

          Depends on which Launcher you use...

          • SSH Slaves get updated automatically
          • Windows Slaves (Java Web Start ones) may need manual update of slave.jar OR service restart if automatic upgrade is enabled
          • Swarm Plugin - update to the latest Swarm Plugin Client
          • Other agent types - to be handled on a case-by-case basis

          Oleg Nenashev added a comment - > Suggested workaround is to update remoting to 3.15 for the agents. Oleg Nenashev how would I do that? Depends on which Launcher you use... SSH Slaves get updated automatically Windows Slaves (Java Web Start ones) may need manual update of slave.jar OR service restart if automatic upgrade is enabled Swarm Plugin - update to the latest Swarm Plugin Client Other agent types - to be handled on a case-by-case basis
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Stupid me...

          wget https://<Jenkins CI>/jnlpJars/agent.jar
          

          ... results in a connected Agent .

          Goffredo Marocchi added a comment - Stupid me... wget https: //<Jenkins CI>/jnlpJars/agent.jar ... results in a connected Agent .
          Goffredo Marocchi made changes -
          Priority Original: Blocker [ 1 ] New: Major [ 3 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/3212 (Web Link)" [ 19704 ]

          Oleg Nenashev added a comment -

          Well, it SHOULD be working with old agent versions

          Oleg Nenashev added a comment - Well, it SHOULD be working with old agent versions

            oleg_nenashev Oleg Nenashev
            panajev Goffredo Marocchi
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: