You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu
Reproduction steps
Create a pipeline where steps are run on preemptible instances
run the pipeline until an instance gets preempted while in the middle of a step
Expected Results
When a node is preempted, jobs / steps on the node should auto-cancel and be restarted elsewhere.
Actual Results
the node is marked as "offline"
the console output shows the preemption handler getting the preemption event;
The step is still treated as "in progress"--it shows with the progress display in the sidebar, the build time clock keeps ticking, etc, despite there being no hope of ever completing
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Create a pipeline job with the pipeline declarative code above
When the job is in the middle of a step (like the bash script), simulate a maintenance event with the above command.
The agent is getting the preemption event (as seen in the agent log) but the build is never failed or aborted and can last for days without a manual abort.
After the manual abort, the job is relaunched on another agent.
Hello, any updates on this ? This is quite annoying because jobs hangs and are not restarted elsewhere. Do you need additional logs or troubleshooting ?
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu
Reproduction steps
Expected Results
When a node is preempted, jobs / steps on the node should auto-cancel and be restarted elsewhere.
Actual Results
Anything else?
No response
The text was updated successfully, but these errors were encountered: