concourse icon indicating copy to clipboard operation
concourse copied to clipboard

Aborting build does nothing when build runs in put step for pool resource

Open xtremerui opened this issue 3 years ago • 2 comments

Summary

When putting a pool-resource, the build can't not be aborted

Screen Shot 2022-06-30 at 5 24 13 PM

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

xtremerui avatar Jun 30 '22 21:06 xtremerui

@evanchaoli this is the example we have in hush-house. Seems like it only happens for pool-resource.

xtremerui avatar Jun 30 '22 21:06 xtremerui

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"}}

xtremerui avatar Jul 12 '22 21:07 xtremerui