checkout from VSS problem/bug in TC5 ?

Hi,

we are using TC 5.0 and VSS 6.0. Problem: New added files to VSS don't get  transfered to the agent's checkoutdir:

-  Installed TC 5.0 and agent on same machine
-  Created a build conf. with options "clean all files before every build" and "perform full checkout" turned on, no explicit checkout dir defined;
   teamcity.agent.build.checkoutDir.expireHours=0 in buildagent.properties
-  Started first build : all files from VSS were transfered successfully to the checkout dir
-  Added new file to VSS
-  Started second build a few minutes later: the new added file was not  transfered to the checkout dir (although I've cleared the system/caches/sources dir before build)

- Started third build 24 hours later:  The new added file got transfered !


Thanks
fritz

BUILD log:

[10:20:46]: Checking for changes
[10:21:19]: Clearing temporary directory: C:\TeamCity\buildAgent\temp\buildTmp
[10:21:21]: Checkout directory: C:\TeamCity\buildAgent\work\c3764a829963f842
[10:21:21]: Updating sources: server side checkout... (4m:37s)
[10:21:21]: [Updating sources: server side checkout...] Will perform clean checkout
[10:21:21]: [Updating sources: server side checkout...] Clean checkout reasons
[10:21:21]: [Clean checkout reasons] Checkout directory is empty or doesn't exist
[10:21:21]: [Clean checkout reasons] "Clean all files before build" turned on
[10:21:21]: [Updating sources: server side checkout...] Transferring cached clean patch for VCS root: TestProject1
[10:21:42]: [Updating sources: server side checkout...] Building incremental patch over the cached patch
[10:24:18]: [Updating sources: server side checkout...] Transferring repository sources: 89.0Mb so far...
[10:24:42]: [Updating sources: server side checkout...] Repository sources transferred: 179.92Mb total
[10:24:42]: [Updating sources: server side checkout...] Average transfer speed: 918.36Kb per second
[10:24:42]: [Updating sources: server side checkout...] Removing C:\TeamCity\buildAgent\work\c3764a829963f842
[10:24:42]: [Updating sources: server side checkout...] Updating C:\TeamCity\buildAgent\work\c3764a829963f842
[10:24:42]: [Updating sources: server side checkout...] Removing C:\TeamCity\buildAgent\work\c3764a829963f842
[10:25:38]: [Updating sources: server side checkout...] Removing C:\TeamCity\buildAgent\work\c3764a829963f842

5 comments
Comment actions Permalink

Could you please check that system time at the VCS server, TeamCity server and TeamCity agent (only if agent-side checkout is used) is synchronized?

0
Comment actions Permalink

The system time does not differ on both servers. We now  found a solution to the problem by using the nant contrib task "vssget", i.e. not let TC do the checkout. Maybe this solution is even better for us because you have more control over the checkout.

Thanks
fritz

0
Comment actions Permalink

Did TeamCity report a change for the second or third build?

What was the version of TeamCity?

What time zone is used for the machine where VSS database files are?

What is the version of VSS?

Thanks!

0
Comment actions Permalink

The above build log shows the log of the second build.

VSS 6.0

TC 5.0

The time on the VSS server is equal to the time on TC server, but it's in english e.g.  3:44 PM

0
Comment actions Permalink

Do you mean locale, time zone, time?
What are the time and timezone on those servers?

0

Please sign in to leave a comment.