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

Windows slaves no longer connect after upgrading to 1.50.3 - ec2-plugin launches many instances requiring manual cleanup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: ec2-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.235.2 on CentOS 7 (fully patched) running in AWS VPC.
      ec2-plugin: 1.50.3
    • Similar Issues:

      Description

      We received reports of existing Jenkins masters failing to send build jobs to Windows 2016/2019 slaves upon only upgrading ec2-plugin from 1.50.2.1 to 1.50.3.  We confirmed this by launching a fresh master, applying all updates except ec2-plugin (leaving it at 1.50.2.1).  Then we ran multiple Windows test jobs and saw Windows slaves launched and execute the jobs.  

       

      We then performed only the update of ec2-plugin from 1.50.2.1 to 1.50.3 (nothing else changed) and tried to re-run our test Windows jobs.  This time the Windows slaves did not connect, but reported as "offline" even though I could see they were running in AWS Console, also I could RDP in, also they ran a build just minutes earlier at previous version.

       

      Instead, Jenkins master with the latest ec2-plugin started launching new instances, but never connecting resulting in  10s of instances launched but not used.  Required manual cleanup.

        Attachments

          Activity

          Hide
          guy_davis Guy Davis added a comment -

          Forgot to add that if I downgraded back to plugin 1.50.2.1 in Plugin Manager UI and restarted Jenkins, then all Windows slaves could reconnect and I could execute Windows builds again.

          Show
          guy_davis Guy Davis added a comment - Forgot to add that if I downgraded back to plugin 1.50.2.1 in Plugin Manager UI and restarted Jenkins, then all Windows slaves could reconnect and I could execute Windows builds again.

            People

            Assignee:
            thoulen FABRIZIO MANFREDI
            Reporter:
            guy_davis Guy Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: