Mercurial. Unable to collect changes

Answered

 We have a problem with updating repository:

 Failed to collect changes, error: Error collecting changes for VCS repository '"mercurial: http://repo_url/stable"; {instance id=1, parent internal id=1, parent id=Rpg_MercurialHttpHgTvorogBitRpg3dStable, description: "mercurial: http://repo_url/stable"}'; 'hg --encoding UTF-8 log -v --style=/Volumes/SSD120/dev/TeamCity/temp/teamcity734467636363132588hg.log.template -r ancestors(96c16aa716c6) - ancestors(5e34684d4942) ....

 It's a very strange period of time (10 hours!) from waiting status to detecting changes (see full log below) >>>
 "[16:53:23]i: [Collecting changes in 1 VCS root] Waiting for completion ..."
 "[03:07:47]i: [Collecting changes in 1 VCS root] Detecting changes in VCS root ..."

 Mercurial's version: 3.8.2

 Full build log:
 Build 'RPG :: Build .apk only' #44
 Started 'Wed Jul 13 16:53:23 MSK 2016' on 'BuildBot' by 'admin'
 Is running with status 'NORMAL Collecting changes in 1 VCS root'
 TeamCity URL http://teamcity.dev/viewLog.html?buildId=894&buildTypeId=Rpg_BuildApkOnly
 TeamCity server version is 9.1.7 (build 37573)

 [16:53:23]i: TeamCity server version is 9.1.7 (build 37573)
 [16:53:23] : bt2 (running for 18h:45m:45s)
 [16:53:23] : Collecting changes in 1 VCS root (running for 18h:45m:45s)
 [16:53:23] :     [Collecting changes in 1 VCS root] VCS Root details
 [16:53:23] :         [VCS Root details] "mercurial: http://repo_url/stable" {instance id=1, parent internal id=1, parent id=Rpg_MercurialHttpHgTvorogBitRpg3dStable, description: "mercurial: http://repo_url/stable"}
 [16:53:23]i:     [Collecting changes in 1 VCS root] Loading current repository state for VCS root 'mercurial: http://repo_url/stable'
 [16:53:23]i:         [Loading current repository state for VCS root 'mercurial: http://repo_url/stable'] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg version
 [16:53:23]i:         [Loading current repository state for VCS root 'mercurial: http://repo_url/stable'] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg pull http://repo_url/stable
 [16:53:23]i:         [Loading current repository state for VCS root 'mercurial: http://repo_url/stable'] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg pull http://repo_url/stable
 [16:53:23]i:         [Loading current repository state for VCS root 'mercurial: http://repo_url/stable'] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg version
 [16:53:23]i:         [Loading current repository state for VCS root 'mercurial: http://repo_url/stable'] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg bookmarks
 [16:53:23]i:         [Loading current repository state for VCS root 'mercurial: http://repo_url/stable'] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg branches
 [16:53:23]i:     [Collecting changes in 1 VCS root] Waiting for completion of current operations for the VCS root 'mercurial: http://repo_url/stable'
 [03:07:47]i:     [Collecting changes in 1 VCS root] Detecting changes in VCS root 'mercurial: http://repo_url/stable' (used in 'Build .apk only', 'Build .ipa only' and 7 other configurations)
 [03:07:47]i:     [Collecting changes in 1 VCS root] Will collect changes for 'mercurial: http://repo_url/stable' starting from revision fec5efba95b4
 [03:07:47]i:     [Collecting changes in 1 VCS root] VCS revisions for 'mercurial: http://repo_url/stable' - fec5efba95b4..96c16aa716c6
 [03:07:47]i:     [Collecting changes in 1 VCS root] Processing combined checkout rule for 'mercurial: http://repo_url/stable'
 [03:07:47]i:     [Collecting changes in 1 VCS root] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg version
 [03:07:47]i:     [Collecting changes in 1 VCS root] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg pull http://repo_url/stable
 [03:07:49]i:     [Collecting changes in 1 VCS root] VCS root 'mercurial: http://repo_url/stable': manifests 57%
 [03:07:49]i:     [Collecting changes in 1 VCS root] VCS root 'mercurial: http://repo_url/stable': manifests 84%
 [03:07:50]i:     [Collecting changes in 1 VCS root] VCS root 'mercurial: http://repo_url/stable': files 51%
 [03:07:50]i:     [Collecting changes in 1 VCS root] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg pull http://repo_url/stable
 [03:07:50]i:     [Collecting changes in 1 VCS root] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg version
 [03:07:50]i:     [Collecting changes in 1 VCS root] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg log <dag>
 [03:07:53]i:     [Collecting changes in 1 VCS root] VCS root 'mercurial: http://repo_url/stable': [/Volumes/SSD120/dev/teamcity_build_server/system/caches/mercurial/hg_-4791310961625967494] hg log ancestors(96c16aa716c6) - ancestors(5e34684d4942) - ancestors(09ba89c0814c) - ancestors(4b1cc76139f3) - ancestors(8a8670f18975) - ancestors(609b087dcd35) - ancestors(8f034fb9857d) - ancestors(867a3c18759b) - ancestors(b799d73c0fc8) - ancestors(8d9271b84ac0) - ancestors(7bd4ec5af0b5) - ancestors(b157e9394322) - ancestors(c9fb2453a046) - ancestors(c281677bda5d) - ancestors(fec5efba95b4) - ancestors(666291131727) - ancestors(e34da519ebc5) - ancestors(61283d4838e4) - ancestors(464e08c51365) - ancestors(22b75448c3fe) - ancestors(ae2ca1c7e73f) - ancestors(1366d494d1dd) - ancestors(708bb0d9de3b) - ancestors(3a107ac79f12) - ancestors(43d1e2945432) - ancestors(daa45d433a14) - ancestors(4bf86ff75346) - ancestors(26469e62266e) - ancestors(e46e136ca31f)
 Current time: 11:39:08

 Thank you for any help!

2 comments

Hello Ivan,

It seems that you faced with the same problem as reported here: https://youtrack.jetbrains.com/issue/TW-36261. It's currently not fixed. Could you please describe your case in comments and watch the ticket to get status updates?

Sorry for the inconvenience.

0

Hello Alina!

I have the same problem with Upsource (product from Jetbrains) too. After updating Upsource to the newest version 3.0.4389 problems were fixed. Now Teamcity and Upsource can update project well from repository.

I don't know how updating Upsource impacted to Teamcity, but actually it did. 

I wrote some words of our case in https://youtrack.jetbrains.com/issue/TW-36261.

Thank you for answer.

0

Please sign in to leave a comment.