-
Bug
-
Resolution: Unresolved
-
Major
-
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.
After testing this a bit more, It seems to be a race condition, because I can't get it to happen consistently.