Clearcase 7 Integration with TeamCity 4.5.4

I'm looking for setup examples for using the Clearcase thick client. I've setup a VCS Root, when I client on "Test Connection" it reports success. But everytime TeamCity tries to pull the sources I get permission errors so my only assumption is that I have something wrong in my configuration.

I'd appreciate any help since I would like to switch my build server from CruiseControl over to TeamCity but the SCM configuration is right now totally blocking me.

-Richard

9 comments
Comment actions Permalink

Hi!

Do you have some log files?

Regards,

Olivier.

0
Comment actions Permalink

Here are the logs, for the most part while scanning the teamcity-vcs.log file things appear to be working until I get a several strange errors from Clearcase that I've never seen before.



Attachment(s):
teamcity-agent.log
teamcity-vcs.log.zip
0
Comment actions Permalink

Has the user, that launchs TeamCity server, correct rights to write? Can you write there?

jetbrains.buildServer.vcs.VcsException:
java.io.IOException:
cleartool: Error: \\filer2\vobstore\rtdb_server.vbs\c\cdft\26\1b\1274f7e43dce4b66b8b3a3e1dd167ba2.msdos: Permission denied
cleartool: Error: Operation "file copy" failed: No such file or directory.
   at jetbrains.buildServer.buildTriggers.vcs.clearcase.CCPatchProvider.loadFile(CCPatchProvider.java:171)

0
Comment actions Permalink

Actually, my TeamCity user doesn't have permission to write to that location. What is TeamCity doing that requires write access to other machines, what is this file?

0
Comment actions Permalink

I think that as TeamCity launches cleartool.exe, the user that launchs TeamCity should be able todo what ClearCase needs.

Just test manually with the cleartool command when logged with the user that launches TeamCity server process.

Olivier.

0
Comment actions Permalink

My assumption based on the log entry below

[2009-08-24 17:16:59,682]   INFO [  Cached pool 1] - .clearcase.ClearCaseConnection - interactive execute: cleartool get -to C:\TeamCity\temp\cc_34587temp C:\snapstore\teamcity_voyager_develp_snap_vu\rtdb_server\.@@\main\pd_voyager\pd_voyager_core_development\14\cruise.build@@\main\pd_voyager\pd_voyager_core_development\27
[2009-08-24 17:17:00,104]   INFO [  Cached pool 1] - .clearcase.ClearCaseConnection - interactive execute: cleartool quit

is that the command

cleartool get

is returning the error. But I was able to run the exact same command as the same user from a command prompt. Any suggestions on where else to look or is TeamCity attempting to access the vobstore file directly?

0
Comment actions Permalink

Hey Olivier,

I think I found the issue. The web service wasn't using the correct user, only the build agent . Now that I made that change I'm now getting through the CVS stage and am now having an error with my ANT script so that it progress in the correct direction.

Thanks for your replies, if managed to stir the thought patterns

0
Comment actions Permalink

OK. Pleased to help.

Good luck for Ant scripting.

Olivier.

0
Comment actions Permalink

Hi there, I am having the same problem. the build agent uses the correct user. How can check web service user to the correct one?

Could you please explain more. thank you, i can forward more, since I can not build.

0

Please sign in to leave a comment.