Mercurial VCS Issue

Hi Guys,

My teamcity started to behave a little bit funny. One of the projects struggles with Mercurial clone:

Log:

Patch is broken, can be found in file: C:\BuildAgent\temp\globalTmp\temp7099771477854268477patch_225
[12:05:29]Failed to build patch for build #92 {build id=225}, VCS root: mercurial: http://10.100.62.210/hg/mag/root {instance id=10, parent root: (id=Ikea_Family_Live_Magazine___Staging, internal id=7)}, due to error: '"C:\Program Files\Mercurial\hg" archive -t files -r 888e8914de9b C:\TeamCity\bin\..\temp\hg1' command failed.
[12:05:29]


teamcity-vcs.log:

[2013-08-16 12:05:04,533]   INFO [-bio-80-exec-11] -      jetbrains.buildServer.VCS - Setting build revisions on agent=WIN-TK6VUJ8U42E {id=1, host=127.0.0.1:9090, agentTypeId=1, pool=Default}, buildPromotion=BuildPromotion{myId=226, myPersonal=false, myBuildTypeId='bt6', myModificationId=627, myRevisions=[BuildRevision[myVcsRootEntry=VcsRootEntry[VcsSettings[mercurial: http://10.100.62.210/hg/mag/root {instance id=10, parent root: (id=Ikea_Family_Live_Magazine___Staging, internal id=7)}; Checkout rules: ]], myRevision=RepositoryVersion{myVersion='888e8914de9b', myDisplayVersion='888e8914de9b', myVcsBranch='staging-august'}]], myAssociatedBuildId=225, myBranch=}, revisions={mercurial: http://10.100.62.210/hg/mag/root {instance id=10, parent root: (id=Ikea_Family_Live_Magazine___Staging, internal id=7)}=null}
[2013-08-16 12:05:04,691]   INFO [rmal executor 8] -      jetbrains.buildServer.VCS - Requesting patch: root=mercurial: http://10.100.62.210/hg/mag/root {instance id=10, parent root: (id=Ikea_Family_Live_Magazine___Staging, internal id=7)}, cleanPatch=true, prevVersion=null, newVersion=888e8914de9b, buildType=Ikea Family Live Magazine :: Staging {id=bt6, internal id=bt6}, buildId=225
[2013-08-16 12:05:06,253]   WARN [rmal executor 8] -      jetbrains.buildServer.VCS - '"C:\Program Files\Mercurial\hg" archive -t files -r 888e8914de9b C:\TeamCity\bin\..\temp\hg1' command failed.abort: data/Fuse8.DomainFramework.Practices.dll.i@de2c1e48eb4b: no match found!

[2013-08-16 12:05:06,567]   WARN [rmal executor 8] -      jetbrains.buildServer.VCS - Failed to build patch for build #92 {build id=225}, VCS root: mercurial: http://10.100.62.210/hg/mag/root {instance id=10, parent root: (id=Ikea_Family_Live_Magazine___Staging, internal id=7)}, due to error: '"C:\Program Files\Mercurial\hg" archive -t files -r 888e8914de9b C:\TeamCity\bin\..\temp\hg1' command failed.
jetbrains.buildServer.vcs.VcsRootVcsException: '"C:\Program Files\Mercurial\hg" archive -t files -r 888e8914de9b C:\TeamCity\bin\..\temp\hg1' command failed.
 at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatchForRoot(PatchComposer.java:150)
 at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatch(PatchComposer.java:9)
 at jetbrains.buildServer.serverSide.impl.BuildTypeImpl.buildPatch(BuildTypeImpl.java:174)
 at jetbrains.buildServer.serverSide.impl.BuildStarter$2.call(BuildStarter.java:17)
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: jetbrains.buildServer.vcs.VcsException: '"C:\Program Files\Mercurial\hg" archive -t files -r 888e8914de9b C:\TeamCity\bin\..\temp\hg1' command failed.
 at jetbrains.buildServer.buildTriggers.vcs.mercurial.command.CommandResult.throwVcsException(CommandResult.java:94)
 at jetbrains.buildServer.buildTriggers.vcs.mercurial.command.CommandResult.logAndThrowError(CommandResult.java:84)
 at jetbrains.buildServer.buildTriggers.vcs.mercurial.command.CommandResult.checkFailure(CommandResult.java:69)
 at jetbrains.buildServer.buildTriggers.vcs.mercurial.command.CommandUtil.runCommand(CommandUtil.java:35)
 at jetbrains.buildServer.buildTriggers.vcs.mercurial.command.VcsRootCommand.runCommand(VcsRootCommand.java:28)
 at jetbrains.buildServer.buildTriggers.vcs.mercurial.command.ArchiveCommand.call(ArchiveCommand.java:53)
 at jetbrains.buildServer.buildTriggers.vcs.mercurial.MercurialVcsSupport.buildFullPatch(MercurialVcsSupport.java:333)
 at jetbrains.buildServer.buildTriggers.vcs.mercurial.MercurialVcsSupport.buildPatch(MercurialVcsSupport.java:499)
 at jetbrains.vcs.api.services.patches.BuildPatchUtil.buildPatch(BuildPatchUtil.java:0)
 at jetbrains.vcs.api.services.patches.PatchServiceBase.buildPatchImpl(PatchServiceBase.java:7)
 at jetbrains.vcs.api.services.patches.CleanPatchServiceImplA.buildCleanPatch(CleanPatchServiceImplA.java:3)
 at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.makeCleanPatch(PatchComposer.java:38)
 at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.makePatch(PatchComposer.java:81)
 at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatchForRoot(PatchComposer.java:84)
 ... 8 more



Any help would be really appreciated!

Regards, M
2 comments
Comment actions Permalink

Hi,

Any help would be really appreciated! :)

Thanks, M

0
Comment actions Permalink

Sorry for late reply. It seems like a clone of your repository on TeamCity server machine is broken (a file .hg/store/data/Fuse8.DomainFramework.Practices.dll.i is missing). I wonder if TeamCity has problems with collects changes in this VCS root?

To get rid of the error please clear mercurial caches at Administration > Diagnostics > Caches. Let me know if it helps.

0

Please sign in to leave a comment.