Multiples Clearcase VCS roots
Hello,
I configured a build conf which has multiple Clearcase UCM VCS roots.
"Clean all files before build" is set and the checkout mode is set to "Automatically on server".
So I expect that the sources from my 3 VCS roots will be copied in my checkout directory. But when a change is detected, only the VCS root where the changes occurs is checked out!
As a result the build always fails...
This was working with TC 3.1.2, and doesn't work anymore with TC 4.0...
Regards,
Xavier Seignard
Please sign in to leave a comment.
Xavier,
Thank you for your feedback, I will investigate it.
thnaks,
please let me know if you need any informations.
Xavier,
Can you please provide me view path and checkout rules of each of your ClearCase VCS roots, your config spec(s) and TeamCity debug logs?
Hello Maxim, here is that you requested :
1st vcs root :
View path : D:\Snapshots\VUE_PIC_INT_OPA_V1.0\uapal\opa
Checkout rules : +:.=>uapal/opa
cleartool catcs :
2nd vcs root :
View path : d:\Snapshots\VUE_PIC_INT_P03_V2.0\uapal\p03
Checkout rules : +:.=>uapal/p03
cleartool catcs :
3rd vcs root :
View path : D:\Snapshots\VUE_PIC_INT_UAPAL_COMMUN_V2.0\uapal\uapal_commun
Checkout rules : +:.=>uapal/uapal_commun
cleartool catcs :
And according to this page : http://www.jetbrains.net/confluence/display/TCD4/Reporting+Issues#ReportingIssues-ClearCase, you'll find attached a light version of the log, because of it's size!
I think the main info is this one :
Best regards,
Xavier Seignard
Attachment(s):
teamcity-clearcase-part.log
Xavier,
Sorry for the delay in replying, I didn't recieve any notification about your answer.
Thank you for the provided information, I will investigate it.
Xavier,
Unfortunately I can't reproduce this bug. But I've noticed that caches of different ClearCase roots are saved in one common folder so they can rewrite each other. I've fixed this and attached new "clearcase.jar" to this message. Please try it and let me know whether it was a cause or not.
Attachment(s):
clearcase.jar
Hello,
Thanks for your investigation, but the patch don't solve the problem.
Happy new year,
Regards,
Xavier Seignard
Xavier,
Sorry for the delay in replying, I had new year holidays. Ok, can you please provide me all information which can be useful? E.g. full set of server debug logs (that contain time which is specified in the error message), number of your agents, number of simultaneously running builds in this configuration, anything also that you think can be useful...
Happy New Year!
Hello,
Sorry for the delay, but I had a lot to deal with these days.
I don't really know what can I send to help you.
I had a look at my project configuration, and nothing seems wrong.
Furthermore, there's only one agent, which is on the same virtual machine as the server. And there is no simultaneous running builds.
I really don't know what to do to help you... I'am a bit lost.
Is it possible that the problem is caused by a wrong encoding?
Here is a clearcase activity, which is form the cleartool lshistory output (teamcity-clearcase.log)
"ACT_DEV_ERU_LOT2_-_EVOL_-2009-006_Úvolution_affichage_du_libe"
But it should be :
"ACT_DEV_ERU_LOT2_-_EVOL_-2009-006_évolution_affichage_du_libe"
There is a problem about french characters any "é" are replaced by "Ú". Even in other log files as teamcity-activities.log, teamcity-vcs.log, ...
I don't know if there is any relations, I'm really lost about how you manage Clearcase vcs.
Maybe you could share a kind of mind map that represent the process of how do you get the sources from Clearcase??
Regards,
Xavier
Hello,
Any updates? Mainly about your process of how do you get the sources?
Regards,
Xavier
Hello.
Still no updates?
We are planning to buy your product, but this problem is a blocking issue.
We have a huge Clearcase system, with multi-site, and multi-streams projects.
So if you can tell us more about the way you manage Clearcase, maybe we could tune it by oursleves.
Regards,
Xavier
Xavier,
Sorry for the delay in replying.
Can you please send full set of server debug logs to my e-mail (maxim.manuylov@jetbrains.com)? To enable debug information logging you should delete all lines that contain the phrase "DELETE THIS LINE FOR ENABLING DEBUG LOGGING" from "<TeamCity Home>\conf\teamcity-server-log4j.xml" file and restart TeamCity server.
Yes, we have shared our ClearCase integration sources so you can find it by the following url: http://svn.jetbrains.org/teamcity/plugins/clearcase-vcs.