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

EC2 Node with job lost during master restart with maxTotalUses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ec2-plugin
    • None
    • EC2-Plugin: 1.49.1

      I have a build running on an ec2 slave (with maxTotalUses set to 1). 

      Then jenkins master is restarted. 

      When the jenkins master comes back up it reconnects the node then disposes of them because EC2RetentionStrategy#taskAccepted: maxTotalUses drained - suspending agent i-xxxx, but it should not because these nodes are still in use with the previous build.

            thoulen FABRIZIO MANFREDI
            legonigel Nigel Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: