-
Notifications
You must be signed in to change notification settings - Fork 707
[JENKINS-76200] - Fix Stopped agents not stating on v2039 #1155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mikecirioli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested this locally as well and it seems to handle all the corner cases i can think of.
tuky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this PR mostly removes code I think it is worth mentioning that @mikecirioli was the author of that code and approves its removal. THX for the review and I'd say LGTM. @jglick you had been very much involved in that (#1149) as well. you might want to add in here?
|
No opinion. |
|
Hi @res0nance, this PR has been waiting for 2 weeks and I hope it will fix the issues we are facing when restarting stopped nodes, just in case you can review it. Thanks in advance. |
Apologies just saw this, is it possible to add tests here? I see you've just removed every test. |
|
Hi @res0nance. Yes, I removed the tests as the main change on So without that method, the tests have no sense. |
JENKINS-76200 - Agents never start after upgrade to 2039.v829e6272107c
It seems some code in #1151 and #1149 where not working well together, and it was leading to stopped instances not restarted, as the system considers it should be already started (done in #1142).
Changed the implementation to not consider stopped instances as available, as they need to be provisioned (Started).
Testing done
Manually tested #1151 and #1149.
Submitter checklist