buildkite / feedback

Got feedback? Please let us know!
https://buildkite.com
25 stars 24 forks source link

Possible bug: cancelling last job while it was waiting for an agent doesn't finish a build #531

Open tomdeboer opened 3 years ago

tomdeboer commented 3 years ago

Hi there,

In our environment, we often find ourselves cancelling steps that are waiting for an agent, if we know the agent is not going to be available soon. In this case we manually cancel this step and this is OK.

What we often see, however, is that if we cancel the last step of a build that was waiting for an agent, the build itself will just hang and never finish, as if it was still waiting for steps to finish. Only clicking cancel on the "build level" will finally stop the build itself.

I assume this is a bug?

Reproducing is relatively easy.

You may observe the build doesn't actually finish, even though all steps have completed.

ticky commented 3 years ago

Hi Tom, thanks for the report. This is a bug we've been working to track down, if you send a link to the stuck build to support@buildkite.com we can resolve the state in the interim.