Bamboo was not able to extract changesets.
Asked by Pitty:

Hello

I m using Bamboo version 3.4.4 with 4 project and 8 Hg repositories. All builds didn t show code changes. The messages is like this:

\[unknow\]   
Warning: previous build was on d7cac36e708886f4dc38a6165d7c3c4796f5973d, current build is on 730a9d3c0654882db477be49676081bbc6e8e71b. Bamboo was not able to extract changesets.

When I was working with SVN repositories, all code changes was retrieved ok. Why this not happens with Hg repositories?

<br />

![](http://www.google.com/uds/css/small-logo.png)


Answers:
author: Przemek Bruski
body: It seems there's an exception thrown during changeset retrieval, but unfortunately, it's not logged. I think it will be fastest if you head over to [support.atlassian.com](http://support.atlassian.com) . I'll provide you with a debug version of Hg plugin there. Give link to this question as a reference and don't forget to mention your Hg version.


author: Pitty
body: ![](http://www.google.com/uds/css/small-logo.png)


author: Pitty
body: Hi Piotr

I attached a image with the Tortoise Workbench showing the 2 revisions in repository cache. So, the cache repository has the revisisons.

![](https://lh6.googleusercontent.com/-9Qv8SuYVafg/T10uwEQMr6I/AAAAAAAAGkA/gOc-a5h1pfM/s800/bamboo.jpg)


author: Pitty
body: Hi Przemek

I examined some lines from the log of this build, but there is nothing wrong. Note that update was made correctly (in bold).

**2012-03-09 19:48:44,077 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updating source code to revision: 730a9d3c0654882db477be49676081bbc6e8e71b**

**2012-03-09 19:48:59,737 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updated source code to revision: 730a9d3c0654882db477be49676081bbc6e8e71b**


author: Pitty
body: Hi Przemek

I examined some lines from the log of this build, but there is nothing wrong. Note that update was made correctly (in bold).

2012-03-09 19:48:43,847 INFO \[qtp1535043768-25789\] \[ChainExecutionManagerImpl\] Build COL-C8PAC-C8REPO-70 has been dispatched

2012-03-09 19:48:43,850 INFO \[AtlassianEvent::0-BAM::EVENTS:pool-1-thread-1\] \[BuildQueueManagerImpl\] Attempting to queue COL-C8PAC-C8REPO-70.

2012-03-09 19:48:43,850 INFO \[AtlassianEvent::0-BAM::EVENTS:pool-1-thread-1\] \[BuildQueueManagerImpl\] Obtained write lock to add to build queue

2012-03-09 19:48:43,854 INFO \[AtlassianEvent::0-BAM::EVENTS:pool-1-thread-1\] \[BuildQueueManagerImpl\] Running pre-build queued event handler $Proxy544

2012-03-09 19:48:43,937 INFO \[AtlassianEvent::0-BAM::EVENTS:pool-1-thread-1\] \[BuildQueueManagerImpl\] COL-C8PAC-C8REPO-70 added to queue.

2012-03-09 19:48:43,975 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[BuildAgentControllerImpl\] COL-C8PAC-C8REPO-70 taken from queue.

2012-03-09 19:48:43,975 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[DefaultBuildExecutionManager\] Plan 'COL-C8PAC-C8REPO-70' started on agentId 720897

2012-03-09 19:48:44,038 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[BuildAgentControllerImpl\] COL-C8PAC-C8REPO-70: Build COL-C8PAC-C8REPO-70 started building on agent Agente-C8-2

2012-03-09 19:48:44,038 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[DefaultBuildAgent\] Running build task: com.atlassian.bamboo.v2.build.task.InitializeBuild

2012-03-09 19:48:44,051 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[InitializeBuild\] COL-C8PAC-C8REPO-70: Build working directory is D:\\Atlassian\\Bamboo\\xml-data\\build-dir\\COL-C8PAC-C8REPO

2012-03-09 19:48:44,075 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[DefaultBuildAgent\] Running build task: com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask

2012-03-09 19:48:44,076 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[PrepareBuildTask\] COL-C8PAC-C8REPO-70: Executing build COL-C8PAC-C8REPO-70

**2012-03-09 19:48:44,077 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updating source code to revision: 730a9d3c0654882db477be49676081bbc6e8e71b**

**2012-03-09 19:48:59,737 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updated source code to revision: 730a9d3c0654882db477be49676081bbc6e8e71b**

2012-03-09 19:48:59,738 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updating source code to revision: be30827bf7961947a25b4042dc097c562798316f

2012-03-09 19:49:14,544 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updated source code to revision: be30827bf7961947a25b4042dc097c562798316f

2012-03-09 19:49:14,544 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updating source code to revision: 98a0a1edcc159f70e1368b09ab80873df7fd3067

2012-03-09 19:49:44,205 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updated source code to revision: 98a0a1edcc159f70e1368b09ab80873df7fd3067

2012-03-09 19:49:44,205 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updating source code to revision: 3d95d1f1b3bb9e971fa13982cf165d1c210fda70

2012-03-09 19:49:54,738 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updated source code to revision: 3d95d1f1b3bb9e971fa13982cf165d1c210fda70

2012-03-09 19:49:54,738 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updating source code to revision: 0251116a605f63a69e2ff626f755b4312b39f675

2012-03-09 19:50:12,283 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[VcsCheckoutTask\] COL-C8PAC-C8REPO-70: Updated source code to revision: 0251116a605f63a69e2ff626f755b4312b39f675

2012-03-09 19:50:12,285 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[PrepareBuildTask\] COL-C8PAC-C8REPO-70: Running pre-build action: Build Number Stamper

2012-03-09 19:50:12,288 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[PrepareBuildTask\] COL-C8PAC-C8REPO-70: Running pre-build action: Clover Grails PreBuild Action

2012-03-09 19:50:12,289 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[PrepareBuildTask\] COL-C8PAC-C8REPO-70: Running pre-build action: VCS Version Collector

2012-03-09 19:50:12,322 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[PrepareBuildTask\] COL-C8PAC-C8REPO-70: Running pre-build action: Repository Isolation Enabler Action

2012-03-09 19:50:12,324 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[PrepareBuildTask\] COL-C8PAC-C8REPO-70: Running pre-build action: Maven Settings Prebuild Action

2012-03-09 19:50:12,325 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[DefaultBuildAgent\] Running build task: com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask

2012-03-09 19:50:12,338 INFO \[3-BAM::Agente-C8-2::Agent:pool-9-thread-1\] \[ProcessServiceImpl\] Beginning to execute external process for build 'Colibri - C8-Pacote - Gerando pacote'\<br /\> ... running command line: \<br /\>C:\\Program Files\\VisBuildPro8\\VisBuildCmd.exe\<br /\> major_version=8\<br /\> minor_version=2\<br /\> release=6\<br /\> build_number=70\<br /\> /s\<br /\> /b\<br /\> c:\\builder\\c8-compilar.bld\<br /\> ... in: D:\\Atlassian\\Bamboo\\xml-data\\build-dir\\COL-C8PAC-C8REPO\<br /\> ... using extra environment variables: \<br /\>bamboo_c8_params=major_version=${bamboo.c8_majorversion} minor_version=${bamboo.c8_minorversion} release=${bamboo.c8_release} build_number=${bamboo.buildNumber} /s /b\<br /\>bamboo_c8_release=6\<br /\>bamboo_c8_majorversion=8\<br /\>bamboo_c8_minorversion=2\<br /\>  
![](http://www.google.com/uds/css/small-logo.png)


author: Przemek Bruski
body: Are there any interesting messages in your server log?


author: PiotrA
body: Seems to me like a candidate for [support.atlassian.com](https://support.atlassian.com)... What are those revisions (7dcac, 730a9)? Anything peculiar with them?

Bamboo throws such 'warning' when it is unable to retrieve changesets from the cached hg repository - question is, why your plan's cache repositories went corrupt. Can you check if the cache repositories (their directories are shown in 'view plan configuration' pages) contain reported revisions?