Is there a way to speed up the ClearCase integration?
I am trying to setup a TeamCity environment for my development group to evaluate but I am having problems setting up ClearCase integration. I have read numerous posts and so far I have not been able to resolve my issue.
For the evaluation I have loaded the Csla.NET 3-6-3 Framework source and nUnit test set into a VOB named CI_EVAL_PVOB in ClearCase. I would like to demonstrate the tools ability to build the framework and execute the unit tests. I can successfully do this on my development machine using VS2008 and nUnit.
When I execute a build I see a tomcat6 process using 99% of my CPU resources. In trying to debug the issue and I have found that the teamcity-vcs.log shows that it is slooooowly (11h:44m:33s) crawling through the the source tree executing various cleartool commands like 'cleartool lsvtree -obs -all' and 'cleartool lshistory -all -since' which makes me wonder if I have the correct configuration since I can compile and test this code in under 5 minutes outside of TeamCity.
Here are the specifics:
TeamCity (4.5) is installed on a fully patched Windows 2003 server WM image, using all the default installation options.
I have a DynamicView created on that machine @ "m:\TeamCity_CI_EVAL_SQU_DEV"
I created a single project named "CSLA 3.6.x" with a single build configuration called "CSLA 3.6.x Build"
Version Control Settings
VCS Root Name: CSLA 3.6.x Framework
Type of VCS: ClearCase
ClearCase view path: M:\TeamCity_CI_EVAL_SQU_DEV
Relative path within the view: \CI_EVAL_SRC\CSLA 3.6.x\Framework\
Use ClearCase: UCM
Build Runner: sln2008
Solution file path: .\csla-build.sln
After trying numerous configurations to try and get a reasonable performance out of TeamCity 4.5 and ClearCase I copied the source to a VSS 6.0 repository and detached the ClearCase VCS Root and created a new VSS VCS Root. The source update took 7s and compiled in less than a minute.
The issue appears to be in the ClearCase plugin.
Attachment(s):CSLA 3.6.x Build3.PNGCSLA_3.6.x_CSLA_3.6.x_Build_3.log