28 Replies Last post: Jan 22, 2009 6:04 AM by Michael Hedgpeth  
Michael Hedgpeth Newbie 45 posts since
Dec 17, 2008
Currently Being Moderated

Dec 17, 2008 3:01 PM

[EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

I am trying to implement TeamCity for a project which has a codebase of 37,442 files in 2,287 folders taking up 6.89 GB of disk space.  We are running TFS.  I have set up a single VCS root which goes to the root of the TFS project (i.e., $/Root).  I have three folders set up as checkout rules:

 

+:Baseline/Sources=>Sources
+:ThirdParty=>ThirdParty
+:AnotherLibrary=>ThirdParty/AnotherLibrary

 

I tried to run this over the weekend with the 4.0 RTM and gave up after waiting over 40 hours.  I checked your EAP and saw http://jetbrains.net/tracker/issue/TW-6399 and thought that might fix my problem, so I upgraded.  It's still getting project sources after 9 hours.

 

I put the server in debug mode for the logs but haven't seen anything out of the ordinary.  I can send those to you if you need them.

Kirill Maximov JetBrains 2,180 posts since
Aug 23, 2002
Currently Being Moderated
Dec 18, 2008 7:57 PM in response to: Michael Hedgpeth
Re: [EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

Hello Michael,

 

   Unfortunately, the responsible developer won't be available until monday. I'll forward the issue to him.

 

   Sorry for inconvenience,

   KIR

Eugene Petrenko JetBrains 2,212 posts since
Oct 4, 2004
Currently Being Moderated
Dec 23, 2008 12:53 PM in response to: Michael Hedgpeth
Re: [EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

Thank you for feedback. Could you please attach logs from TC-tfs-native.exe process call. You may notice that process running under TeamCity server process.

To get the logs please do the following:

 

Copy to some folder tc-tfs-native.exe. This file can be found under TeamCity temp folder. The name would be TC-TFS-NATIVE-<some numbers>.exe .
Run this program with /log switch. To get command-line parameters help, run the process with no parameters.
Log files would be created under TEMP directory in TeamCity.NET folder. For each process new log file is created.

 

please start the process with the following commandline:

 

tfs-native.exe /log <http://server:port> /u:user /p:ppassowrd result.xml BuildPatch $/<TFS path> 0 c <some existing temp folder>

 

Please capture output from that process.

I believe that would be enough to run it for 10-15min

 

Please attach captured output and result.xml file

Thanks!

Eugene Petrenko JetBrains 2,212 posts since
Oct 4, 2004
Currently Being Moderated
Dec 23, 2008 4:59 PM in response to: Michael Hedgpeth
Re: [EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

Could you please check that you've used right url and tfs server path. Is that possible to work with TFS using some other clients from the same machine?

Thanks!

Eugene Petrenko JetBrains 2,212 posts since
Oct 4, 2004
Currently Being Moderated
Dec 23, 2008 5:36 PM in response to: Michael Hedgpeth
Re: [EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

For me that is strage too. Could that be port, https. Do you use same settings for TeamCity? Could you please try to specify username in the way: domain\user.

Thanks!

Eugene Petrenko JetBrains 2,212 posts since
Oct 4, 2004
Currently Being Moderated
Dec 23, 2008 7:34 PM in response to: Michael Hedgpeth
Re: [EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

Could you please create some other temp folder for the latest parameters.

For my example please create

C:\Temp\Results\ and

C:\Temp\Results\rrr filders.

 

TC-TFS-NATIVE-1230042624921.exe /log http://tfs.COMPANYNAME.com:8080 /u:DOMAIN\USERID /p:PASSWORD C:\Temp\Results\result.xml BuildPatch $/ROOT 0 c C:\Temp\Results\rrr

 

Thanks!

Eugene Petrenko JetBrains 2,212 posts since
Oct 4, 2004
Currently Being Moderated
Dec 24, 2008 5:21 PM in response to: Michael Hedgpeth
Re: [EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

Thank you for logs. Could you please include console output of TC-VSS-NATIVE too. I plan to implement more optimized way for clean patch. I'll send you a patch with it.

How muck time does it takes TC to collect changes?

 

Thanks!

Eugene Petrenko JetBrains 2,212 posts since
Oct 4, 2004
Currently Being Moderated
Dec 24, 2008 8:16 PM in response to: Michael Hedgpeth
Re: [EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

How much different version control settings do you have on TeamCity.

That seem time depends on the number of different VCS roots/different checkout rules. For each root and Checkout rules TeamCity checks out source files using TC-TFS-NATIVE util.

 

Thanks!

Eugene Petrenko JetBrains 2,212 posts since
Oct 4, 2004
Currently Being Moderated
Dec 25, 2008 4:44 PM in response to: Michael Hedgpeth
Re: [EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

Yes. I think it would be helpful for me to analyze dotTrace snapshot from that run. Thanks!

Please attach the results to the issue in our tracker at http://www.jetbrains.net/tracker/issue/TW-6471

 

Thanks!

Eugene Petrenko JetBrains 2,212 posts since
Oct 4, 2004
Currently Being Moderated
Dec 25, 2008 5:49 PM in response to: Michael Hedgpeth
Re: [EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

Let's start from 10 minutes. But, please wait serveral minutes before starting to profile. Thanks!

Eugene Petrenko JetBrains 2,212 posts since
Oct 4, 2004
Currently Being Moderated
Dec 29, 2008 5:10 PM in response to: Michael Hedgpeth
Re: [EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

I've analyzed your log and found out that most of the time TC-VSS-NATIVE is downloading files. No we plan to implement TFS checkout on agent.

I'll send you a patch with that support as soon as possible. Please note, I will be on New Year hollidays from 31-th dec to 10-th jan.

 

The benefit of TFS on agent support is that it whould work using TFS Workspace, thus it would work faster and more relyable.

 

Thanks!

Eugene Petrenko JetBrains 2,212 posts since
Oct 4, 2004
Currently Being Moderated
Jan 20, 2009 8:09 PM in response to: Michael Hedgpeth
Re: [EAP 4.0.1 build 8137] Getting project sources not completing after 9 hours

Could you please try hotfix from the issue at http://www.jetbrains.net/tracker/issue/TW-6471

Thanks!

More Like This

  • Retrieving data ...