TFS 2010 build hangs intermittently
-
Friday, May 04, 2012 11:40 PM
I have a TFS 2010 build definition that builds 5 different VS 2010 solutions with MSBuild 4.0 on a 64-bit Dual-Core Opteron CPU with Windows 2008 2R. The build usually takes about 9 minutes. Every once in a while the build just hangs while building one of the solutions. It might hange on the first, the fifth or any in between. When I look at the running processes, MS build is no longer running. When I try to stop the build I get an "Exception Message: The operation did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. (type FaultException`1)" in the TFS build service logs. I've tried rebooting and disabling Symantec EP but nothing seems to help. Eventually, it will start working again on it's own.
Any suggestions would be appreciated!
Tom Owens
All Replies
-
Monday, May 07, 2012 7:58 AMModerator
Hi Tom,
Thanks for your post.
Did this issue only happen in that specific build definition? Other build definitions work fine?
When this issue happened, please check the Event Viewer log, if any error relate to this issue, please share the detailed error message here.
What’s the “Maximum Agent Reservation Wait Time” setting in your build definition?
Try to configure another build agent for that build definition, will still occur the same issue?
You can set the Logging Verbosity = Diagnostic in that build definition, when this issue happened, view the detailed build log, check if you can get more helpful message from the build log.
If you have any further research of this issue, please share your experience here.
John Qiao [MSFT]
MSDN Community Support | Feedback to us
-
Monday, May 07, 2012 8:28 AMAlso do you run MS Test ?? We had a similar issue where the MSTest process was not getting exitted after completing all the UTs..

