Agent doesn't have this build anymore
Hi all,
We had a massive load issue on our Teamcity server and it's somehow got itself confused and no longer builds anything.
We have one build agent which is stuck in a "cancelling build" state, from the logs I see:
WARN - jetbrains.buildServer.SERVER - Remove zombie build from database 938 on agent Default agent
INFO - jetbrains.buildServer.SERVER - Running build bt5 on Default agent:938 was interrupted: FINISHED_UNEXPECTEDLY
I've tried all manner of stopping/starting both TeamCity and the agent with no joy. Even when the agent's stopped TeamCity shows the in-progress build cancellation.
Is there anything I can do? Any files to delete/tweak/hack to force the status of the agent back to normal?
We're running against the default HSQLDB database (I should really move to postgres thou).
Please sign in to leave a comment.
Managed to solve/work-around the issue by deleted the build profile and recreating it.
If possible please submit bug report to our tracker with build logs attached.
--
Pavel Sher
Hi Pavel, I have pretty much the same thing.
I have restarted both the build machine and the server, when I startup the server again on the mainpage it just keeps looping on stopping the build.
#1.5.0.3183 Cancelled (Tests passed: 510, ignored: 94) No artifacts No changes started: 16 Sep 08:26 Stopping
Below are my logs, I would hate to delete the configuration and loose the whole history of the builds.
Thanks,
Orn
Attachment(s):
logs.zip
I have posted my suggested solution for this issue which prevents any data loss. The solution has provided our team the means to continue with all our history and builds are now running without issue. I plan to monitor our builds and the TC server the rest of the week but things seem good.
http://getonthetrail.blogsite.org/Blog/post/2008/09/Teamcity-Continuous-Loop-Stopping-Build.aspx
Hello,
The problem will be fixed in the upcoming Calcutta EAP build.
Regards,
KIR