jenkinsci / jenkinsci/google-compute-engine-plugin
Jobs on preempted VMs hang indefinitely until manually cancelled
- Dominant language
- Java
- Stars
- 58
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
### Jenkins and plugins versions report
Environment
```text
Paste the output here
```
### What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu
### Reproduction steps
1. Create a pipeline where steps are run on preemptible instances
2. 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
1. the node is marked as "offline"
2. the console output shows the preemption handler getting the preemption event;
3. 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_
Contributor guide
Assessment
This issue has not been assessed yet.