• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • Jenkins 1.495 -> 1.506

      I have multiple Windows agents that are being launched as services.
      When I updated Jenkins from 1.495 to 1.506, all the slaves died - they just failed to launch, even though they did it without issues during regular Jenkins restarts.

      In order to bring the agents back to life, I had to remove the services from each Windows host ("sc delete jenkinsslave..."), manually remove the agent directory (containing the .jars and .exe), and then create the service from scratch.
      If I skip any of the described steps, the agent fails to launch.

      Agents are running Windows 2003 Server and Windows 2008 Server, the behavior is identical.

          [JENKINS-17246] Windows agents die on Jenkins update

          Alex Vesely created issue -

          Daniel Beck added a comment -

          Difficult to investigate this long ago, but generally, you need to make sure that the "slave.jar" file is always up to date. The VersionColumn Plugin can help you determine that (and takes slaves with outdated slave.jar offline).

          Daniel Beck added a comment - Difficult to investigate this long ago, but generally, you need to make sure that the "slave.jar" file is always up to date. The VersionColumn Plugin can help you determine that (and takes slaves with outdated slave.jar offline).
          Daniel Beck made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Oleg Nenashev added a comment -

          I can confirm the issue on 1.532 / remoting-2.36.
          BTW, it is not very frequent

          Oleg Nenashev added a comment - I can confirm the issue on 1.532 / remoting-2.36. BTW, it is not very frequent
          Oleg Nenashev made changes -
          Resolution Original: Incomplete [ 4 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 148079 ] New: JNJira + In-Review [ 186114 ]
          Alex Earl made changes -
          Summary Original: Windows slaves die on Jenkins update New: Windows agents die on Jenkins update
          Alex Earl made changes -
          Description Original: I have multiple Windows slaves that are being launched as services.
          When I updated Jenkins from 1.495 to 1.506, all the slaves died - they just failed to launch, even though they did it without issues during regular Jenkins restarts.

          In order to bring the slaves back to life, I had to remove the services from each Windows host ("sc delete jenkinsslave..."), manually remove the slave directory (containing the .jars and .exe), and then create the service from scratch.
          If I skip any of the described steps, the slave fails to launch.

          Slaves are running Windows 2003 Server and Windows 2008 Server, the behavior is identical.
          New: I have multiple Windows agents that are being launched as services.
          When I updated Jenkins from 1.495 to 1.506, all the slaves died - they just failed to launch, even though they did it without issues during regular Jenkins restarts.

          In order to bring the agents back to life, I had to remove the services from each Windows host ("sc delete jenkinsslave..."), manually remove the agent directory (containing the .jars and .exe), and then create the service from scratch.
          If I skip any of the described steps, the agent fails to launch.

          Agents are running Windows 2003 Server and Windows 2008 Server, the behavior is identical.

            Unassigned Unassigned
            alex01ves Alex Vesely
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: