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

12 comments
Comment actions Permalink

Xavier,

Thank you for your feedback, I will investigate it.

0
Comment actions Permalink

thnaks,
please let me know if you need any informations.

0
Comment actions Permalink

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?

0
Comment actions Permalink

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 :

ucm
identity UCM.Stream oid:44cc616a.d32911dc.988e.00:01:80:f3:a2:80@vobuuid:834c11ca.4de411d9.926d.00:01:80:a6:71:76 2

# ONLY EDIT THIS CONFIG SPEC IN THE INDICATED "CUSTOM" AREAS
#
# This config spec was automatically generated by the UCM stream
# "INT_OPA_V1.0" at 13/11/2008 14:28:00.
#



# Select checked out versions
element * CHECKEDOUT

# Component selection rules...

element "[610cb0d9949e11da9c2c000180a67176=\uapal]/opa/..." .../INT_OPA_V1.0/LATEST
element "[610cb0d9949e11da9c2c000180a67176=\uapal]/opa/..." /main/0 -mkbranch INT_OPA_V1.0
element "[610cb0d9949e11da9c2c000180a67176=\uapal]/opa/..." /main/0 -mkbranch INT_OPA_V1.0


end ucm

#UCMCustomElemBegin - DO NOT REMOVE - ADD CUSTOM ELEMENT RULES AFTER THIS LINE
#UCMCustomElemEnd - DO NOT REMOVE - END CUSTOM ELEMENT RULES

# Non-included component backstop rule: no checkouts
element * /main/0 -ucm -nocheckout

#UCMCustomLoadBegin - DO NOT REMOVE - ADD CUSTOM LOAD RULES AFTER THIS LINE
load \uapal


2nd vcs root :
View path : d:\Snapshots\VUE_PIC_INT_P03_V2.0\uapal\p03
Checkout rules : +:.=>uapal/p03
cleartool catcs :

ucm
identity UCM.Stream oid:425c615b.d32911dc.988c.00:01:80:f3:a2:80@vobuuid:834c11ca.4de411d9.926d.00:01:80:a6:71:76 1

# ONLY EDIT THIS CONFIG SPEC IN THE INDICATED "CUSTOM" AREAS
#
# This config spec was automatically generated by the UCM stream
# "INT_P03_V2.0" at 04.02.08 14:51:19.
#



# Select checked out versions
element * CHECKEDOUT

# Component selection rules...

element "[610cb0d9949e11da9c2c000180a67176=/devel/alliance/uapal]/p03/..." .../INT_P03_V2.0/LATEST
element "[610cb0d9949e11da9c2c000180a67176=/devel/alliance/uapal]/p03/..." /main/0 -mkbranch INT_P03_V2.0
element "[610cb0d9949e11da9c2c000180a67176=/devel/alliance/uapal]/p03/..." /main/0 -mkbranch INT_P03_V2.0


end ucm

#UCMCustomElemBegin - DO NOT REMOVE - ADD CUSTOM ELEMENT RULES AFTER THIS LINE
#UCMCustomElemEnd - DO NOT REMOVE - END CUSTOM ELEMENT RULES

# Non-included component backstop rule: no checkouts
element * /main/0 -ucm -nocheckout

#UCMCustomLoadBegin - DO NOT REMOVE - ADD CUSTOM LOAD RULES AFTER THIS LINE
load \uapal




3rd vcs root :
View path : D:\Snapshots\VUE_PIC_INT_UAPAL_COMMUN_V2.0\uapal\uapal_commun
Checkout rules : +:.=>uapal/uapal_commun
cleartool catcs :

ucm
identity UCM.Stream oid:3ffc6148.d32911dc.988b.00:01:80:f3:a2:80@vobuuid:834c11ca.4de411d9.926d.00:01:80:a6:71:76 1

# ONLY EDIT THIS CONFIG SPEC IN THE INDICATED "CUSTOM" AREAS
#
# This config spec was automatically generated by the UCM stream
# "INT_UAPAL_COMMUN_V2.0" at 04.02.08 14:51:18.
#



# Select checked out versions
element * CHECKEDOUT

# Component selection rules...

element "[610cb0d9949e11da9c2c000180a67176=/devel/alliance/uapal]/uapal_commun/..." .../INT_UAPAL_COMMUN_V2.0/LATEST
element "[610cb0d9949e11da9c2c000180a67176=/devel/alliance/uapal]/uapal_commun/..." /main/0 -mkbranch INT_UAPAL_COMMUN_V2.0
element "[610cb0d9949e11da9c2c000180a67176=/devel/alliance/uapal]/uapal_commun/..." /main/0 -mkbranch INT_UAPAL_COMMUN_V2.0


end ucm

#UCMCustomElemBegin - DO NOT REMOVE - ADD CUSTOM ELEMENT RULES AFTER THIS LINE
#UCMCustomElemEnd - DO NOT REMOVE - END CUSTOM ELEMENT RULES

# Non-included component backstop rule: no checkouts
element * /main/0 -ucm -nocheckout

#UCMCustomLoadBegin - DO NOT REMOVE - ADD CUSTOM LOAD RULES AFTER THIS LINE
load \uapal


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 :

StdErr:------------
cleartool: Warning: An update is already in progress for view "D:\Snapshots\VUE_PIC_INT_P01_V3.0".
Started by 'dsiv_asspic_svc@SPICNADEV01' (process 6252) on 16/12/2008 10:54:10
Continue, terminating the previous update session? [no]


Best regards,

Xavier Seignard



Attachment(s):
teamcity-clearcase-part.log
0
Comment actions Permalink

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.

0
Comment actions Permalink

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
0
Comment actions Permalink

Hello,
Thanks for your investigation, but the patch don't solve the problem.

Happy new year,

Regards,

Xavier Seignard

0
Comment actions Permalink

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!

0
Comment actions Permalink

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

0
Comment actions Permalink

Hello,
Any updates? Mainly about your process of how do you get the sources?

Regards,

Xavier

0
Comment actions Permalink

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

0
Comment actions Permalink

Xavier,

Sorry for the delay in replying.

I don't really know what can I send to help you.


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.

Maybe you could share a kind of mind map that represent the process of how do you get the sources from Clearcase??


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.

0

Please sign in to leave a comment.