concourse
concourse copied to clipboard
Aborting build does nothing when build runs in put step for pool resource
Summary
When putting a pool-resource, the build can't not be aborted
Steps to reproduce
Config a pipeline containes a pool resource and add a job with the resource in put-step. While the put step runs, try cancel the build by top right cancel button or fly cli abort-build cmd.
Expected results
Build can be aborted
Actual results
Build still runs
Additional context
Even ssh into the put step and kill the put process won't allow the step to be completed
- Concourse version: 7.8.1
- Browser (if applicable):
- Did this used to work? Yes. Verified it was working by v7.4.4
@evanchaoli this is the example we have in hush-house. Seems like it only happens for pool-resource.
Run a test pipeline on older versions and found the issue was introduced on v7.5.0.
The last log after aborting the build is
{"timestamp":"2022-07-12T20:32:49.343640500Z","level":"info","source":"atc","message":"atc.tracker.notify.run.aborting","data":{"build":"1","build_id":1,"job":"do-nothing","pipeline":"test","session":"24.7.2","team":"main"}}