Team city builds are hanging for msbuild runner

Hi,

We are using teamcity for our CI builds; (we have 3 agents) we use msbuild runner
we execute fxcop and stylecop for all builds

I am attaching the log for a particular build but results are similar for all builds

The builds are hanging you can see that from the image where i have marked between red boxes; for lot of time there is nothing going on

Can you tell me what is going wrong ??

Note : We are using teamcity build 6.5.3 (17985)

Thanks



Attachment(s):
tc.jpg
7 comments
Comment actions Permalink

Could you please post teamcity-agent.log and teamcity-build.log from such a problem build.

Thanks

0
Comment actions Permalink

Hi,

i have attached the appropriate part of build log and agent log

You can see for the build of 31 Aug 11 13:00 - 13:42 (42m:20s)

It will correspond to the snapshot i had attached previously

If you want me to attach whole log or you require any other files please reply

Thanks.



Attachment(s):
agent.log.zip
build.log.zip
0
Comment actions Permalink

Hi Thank you for the logs! From them I see this is a kind of communication problem between the agent and TeamCity server.
Could you please additionally post teamcity-server.log from server side.

Thanks

0
Comment actions Permalink

Hi,

i have attached the server log for appropriate time period

Thanks



Attachment(s):
server.log.zip
0
Comment actions Permalink

It seems the agent spends that time on publishing inspection results.
What's a total size of FxCop's reports for this build configuration? What SQL database do you use?

0
Comment actions Permalink

We publish fxcop results for almost all the builds; maximum of them has the size of about 650kb
We use internal database only (i mean we have not used any other database)

Please suggest a workaround

Thanks,
Chittoori Lokesh

0
Comment actions Permalink

Hi

I have to ask you for one more log.
To explain these agent hungs we need to investigate debug-level logs.
Please update  buildAgent\conf\teamcity-agent-log4j.xml as

  <category name="jetbrains.buildServer">
    <priority value="DEBUG"/>
    <appender-ref ref="ROLL"/>
  </category>


and reproduce the problem.

Thanks
0

Please sign in to leave a comment.