how to stop "cannot stop" builds on TeamCity
Asked Answered
M

2

16

I get "cannot stop" status once in a while after trying to stop builds on TeamCity. I would expect that killing my build process on build agent would do the trick, but it doesn't work. Stopping TeamCity agent process on the build machine doesn't help either. Restarting build agent (i.e. computer) does the trick, but it takes plus 2-3min after the machine has started. It looks like TeamCity server itself thinks that my build is still running.

Is there a better way to stop those builds? Or maybe there is some info somewhere that could explain this logic?

Monda answered 12/7, 2010 at 9:35 Comment(0)
H
2

Please see/vote for http://youtrack.jetbrains.net/issue/TW-3154 and related requests

Hospodar answered 7/2, 2011 at 8:3 Comment(1)
Any workaround (even low-level) without machine reboot will be greatly appreciated.Broaddus
T
2

Just restart the TeamCity WebServer windows service. You shouldn't need to restart your whole machine.

Testudo answered 30/12, 2010 at 21:53 Comment(2)
I restarted the 'TeamCity Build Agent Service' instead, and the build immediately died.Quinquagesima
I had to kill several other processes (Testrunners, ...) and then it died and I could restart the 'TeamCity Build Agent Service'.Copulate
H
2

Please see/vote for http://youtrack.jetbrains.net/issue/TW-3154 and related requests

Hospodar answered 7/2, 2011 at 8:3 Comment(1)
Any workaround (even low-level) without machine reboot will be greatly appreciated.Broaddus

© 2022 - 2024 — McMap. All rights reserved.