Cannot Cancel Automated Build
Automated builds triggered by a git push are not completing and when attempting to cancel nothing is happening. Clicking Cancel flips the button state to Canceling but it just hangs there -- eventually goes back to Cancel. The status of all these builds stays at Building.
I was hoping that it would automatically cancel these builds after reading that there is a 2 hour limit. No dice. 🤔
@mcmurter Same thing is happening for me. Automated build kicked off after git push and was taking longer than usual. Doesn't look like anything is actually building when I click on the build details. Hit Cancel and nothing happens.
same thing is happening for me too 😢
@mcmurter did it resolved after a while? I see your post is from 8 days ago...
@NicolasDorier I had one queued up after the stuck one. Overnight the first one completed but now the queued one is stuck, build kicked off 10 hours ago.
yeah happening to me right now as well...
Was finally able to cancel some automated builds. Didn't happen immediately but I hit cancel on 2 builds, came back a little while later and they were both in Error! status. Then the next manually triggered build built just fine. We'll see if this problem continues as I continue to push changes
Same here, often clicking the Cancel button does nothing at all, although it works after a few tries. Also the "Cancel" buttons are visible when not signed in, where they can't be used.
Same issue here. I have one build sitting there in the build state for 4 hours, attempted to cancel and it does nothing.
The build that is stuck in build state reports "Unexpected error" but hasn't entered an error state.
Confirm the issue, my build is queued during 2 days and cancel button doesn't help.
Same problem for me. Currently I delete and recreate the docker repository with the automated builds but that is no solution
Hi,
I've the same issue. Some builds are suck in queue since hours, it's impossible to cancel them and trigger new build for those tags.

Yep add me to this list, i keep clicking on cancel and it switches to cancelling but never does cancel, its been like this for over 24 hours now, very frustrating!.

I experienced the same problem
I also ran across this issue this morning. I can click Cancel, and the button state changes to Canceling however, on a page refresh the button changes back to Cancel. It may be worth noting that the build is probably broken-it's been over an hour and there aren't any logs and the dockerfile field is also empty.
Update: After ~6 hours the build finally died with an Error state. The second build succeeded.
happening as well here

This did eventually resolve for me if I remember correctly, but it did take quite a while.
Same here but I have to go requeue all my automated builds.
Apparently there's a glitch, and it's not reflected in the status page. Everyone seems to have come back here...
I experience the same and have also posted it on reddit before I came across this thread:
https://www.reddit.com/r/docker/comments/a1fsy0/cannot_really_cancel_an_automated_build_in_docker/
Same here. CANCELING for 4 hours now...
And at the end of log:
Done!
Build finished
Actually the image has been built ... :sob: but it can not start building next one