I'm using TeamCity 4.5.5, server is on Linux, and I have agents on Windows and Linux.

Sometimes builds are too long, and I configured TeamCity to stop too long builds. It works well on Windows, but on Linux, from time to time, the build cannot be stop, I cannot reproduce, I don't know why it happens.

I see this :

This build is probably hanging. Last message was received on: 30 nov. 09 14:07 (17m:18s ago)

Started: 30 nov. 09 13:37 Cannot stop

Is it a known problem? What can I check to know why it's happening ?

Thanks,

Gérald

Votes

0

Share

Sometimes builds are too long, and I configured TeamCity to stop toolong builds. It works well on Windows, but on Linux, from time to time,the build cannot be stop, I cannot reproduce, I don't know why it happens.

>

I see this :

>

This build is probably hanging. Last message was received on: 30 nov. 0914:07 (17m:18s ago)

>

Started: 30 nov. 09 13:37 Cannot stop

>>

Is it a known problem? What can I check to know why it's happening ?

Anyone can help? That's a pretty blocking problem, even if it doesn't happen often...

It looks like agent was not able to establish reliable connection to the server. Sometimes there are "Proxy error" messages. Do you have some kind of a proxy betwen agent and TeamCity server? It would be better to bypass proxy in this case.

It seems that some processes can not be killed by build agent, it was yesterday afternoon, but when I look now, the processes are not running anymore, but build is still running, no way to stop it, except restarting agent.

It seems that some processes can not be killed by build agent, it was yesterday afternoon, but when I look now, the processes are not running anymore, but build is still running, no way to stop it, except restarting agent.

I am able to cancel an agent running on a remote linux or windows machine.

I am only unable to cancel an agent running on a solaris machine and here is what is being written to the agent log when i try:[2010-01-05 08:59:54,903] WARN - erver.agent.impl.GuardedAction - runGuarded failed to acquireStoppingLock() for jetbrains.buildServer.agent.impl.BuildRunAction$1$1@2d6b76

I let the build run through once to completion, then I ran again and cancelled half way.

Notice that the maven build completed successfully, on tc, the build still says cannot stop and appears to still be running. It will continue like this until I manually kill the agent, then restart teamcity and then cancel the build from teamcity.