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

Windows agents die on Jenkins update

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

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

          danielbeck 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).
          oleg_nenashev Oleg Nenashev added a comment -

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

          oleg_nenashev Oleg Nenashev added a comment - I can confirm the issue on 1.532 / remoting-2.36. BTW, it is not very frequent

          People

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

            Dates

              Created:
              Updated: