hub-feedback icon indicating copy to clipboard operation
hub-feedback copied to clipboard

Cannot Cancel Automated Build

Open mcmurter opened this issue 8 years ago • 102 comments

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.

screen shot 2018-02-07 at 4 49 22 pm

I was hoping that it would automatically cancel these builds after reading that there is a 2 hour limit. No dice. 🤔

mcmurter avatar Feb 07 '18 21:02 mcmurter

@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.

joshuajbrunner avatar Feb 15 '18 03:02 joshuajbrunner

same thing is happening for me too 😢

ttskch avatar Feb 15 '18 08:02 ttskch

@mcmurter did it resolved after a while? I see your post is from 8 days ago...

NicolasDorier avatar Feb 15 '18 10:02 NicolasDorier

@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.

joshuajbrunner avatar Feb 15 '18 13:02 joshuajbrunner

yeah happening to me right now as well...

NicolasDorier avatar Feb 15 '18 14:02 NicolasDorier

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

joshuajbrunner avatar Feb 15 '18 17:02 joshuajbrunner

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.

hubgit avatar Mar 07 '18 07:03 hubgit

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.

RavenX8 avatar Apr 05 '18 21:04 RavenX8

Confirm the issue, my build is queued during 2 days and cancel button doesn't help.

akhomy avatar Apr 12 '18 06:04 akhomy

Same problem for me. Currently I delete and recreate the docker repository with the automated builds but that is no solution

bsijoh avatar Apr 17 '18 14:04 bsijoh

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.

capture d ecran 2018-04-19 a 11 53 03

FabienD avatar Apr 19 '18 09:04 FabienD

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!.

image

binhex avatar Apr 25 '18 14:04 binhex

I experienced the same problem

nmaas87 avatar May 09 '18 08:05 nmaas87

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.

screen shot 2018-09-27 at 8 56 32 am

Update: After ~6 hours the build finally died with an Error state. The second build succeeded.

ThomasThelen avatar Sep 27 '18 15:09 ThomasThelen

happening as well here image

pryorda avatar Sep 27 '18 18:09 pryorda

This did eventually resolve for me if I remember correctly, but it did take quite a while.

mcmurter avatar Sep 27 '18 22:09 mcmurter

Same here but I have to go requeue all my automated builds.

pryorda avatar Sep 28 '18 00:09 pryorda

Apparently there's a glitch, and it's not reflected in the status page. Everyone seems to have come back here...

JJ avatar Sep 28 '18 06:09 JJ

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/

normoes avatar Nov 29 '18 11:11 normoes

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

williamfzc avatar Feb 28 '19 05:02 williamfzc