Time gaps in build steps
Hello,
One of our builds seems to have an 8 minute time gap between build steps.
Here are the last 2 lines of the build step from the build log in verbose mode:
Here is the pertinent lines for build agent's teamcity-build.log.
[2015-03-03 15:11:43,190] out -
[2015-03-03 15:11:43,190] out -
[2015-03-03 15:11:43,244] out - Process exited with code 0
[2015-03-03 15:19:46,650] out - ----------------------------------------- [ DEPLOYMENTS::QA deployment #QADEPLOY_qa07_2.70.0_921(42275) (buildId = 180656) ] -----------------------------------------
[2015-03-03 15:19:46,654] out - Starting: /opt/srt/home/teamcity/buildAgent/temp/agentTmp/custom_script2796797246488642224
[2015-03-03 15:19:46,654] out - in directory: /opt/srt/home/teamcity/buildAgent/work/82ae2e47fb94f303
[2015-03-03 15:19:46,657] err - /opt/srt/home/teamcity/buildAgent/temp/agentTmp/custom_script2796797246488642224
Is there a way to analyze why that time gap exists? I posted a different build problem earlier and am wondering if we have a communication problem between build agents and the TeamCity server.
Thanks,
-Dave
Please sign in to leave a comment.
Hi Dave,
Do you see this problem constantly? If yes, does this time gap always appear between the same build steps? Between what type of build runners, please attach screenshots of affected build steps settings?
Also please attach full teamcity-agent.log and a couple of thread dumps from the agent while it is in this state. You can take agent thread dump using Agent details page.
This seems to have been caused by an overload on the TeamCity server when all 14 of our build agents are building at the same time.
Here is the output of top at the time:
The TeamCity 8.1.5 server is running on CentOS6 VM and as you can see above had 6 vcpus. After we doubled the number of vcpus to 12, the problem seems to have gone away.
-Dave