Mercurial Failed to set label

I have had a few issues with TeamCity and Mercurial tagging, but those were related to running out of TeamCity Temp space on our TeamCity Server.  I am now experiencing a similar problem, except that I get no useful information from the debug log (set to debug-all).  Could this be related to the size of my repository (About 1.6GB)?

[2015-01-09 19:43:09,761]  DEBUG [cal executor 10] -      jetbrains.buildServer.VCS - [E:\TeamCityData\system\caches\mercurial\hg_-4048197814400385121] hg version --quiet
[2015-01-09 19:43:10,198]   WARN [rmal executor 4] -      jetbrains.buildServer.VCS - Failed to set label '10.0.158'
jetbrains.buildServer.vcs.VcsException: 'hg --config ui.interactive=False push --config auth.tc.prefix=* --config auth.tc.username=dsschurn --config auth.tc.password=****** --config "auth.tc.schemes=http https" http://dss-scm.stp.ime.*******.com/pubs' 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.PushCommand.call(PushCommand.java:51)
    at jetbrains.buildServer.buildTriggers.vcs.mercurial.MercurialVcsSupport.label(MercurialVcsSupport.java:552)
    at jetbrains.vcs.api.services.impl.LabelingServiceProvider$1.label(LabelingServiceProvider.java:1)
    at jetbrains.buildServer.vcs.impl.VcsLabeler.doSetLabel(VcsLabeler.java:17)
    at jetbrains.buildServer.vcs.impl.VcsLabeler.access$500(VcsLabeler.java:15)
    at jetbrains.buildServer.vcs.impl.VcsLabeler$2$1.run(VcsLabeler.java:2)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    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)

0
4 comments
Avatar
Permanently deleted user

Typo - The current size of the repository is 6.5 GB.

0

Hi Jerry,

Could you please attach full teamcity-vcs.log in debug mode? Also please point out which TeamCity version you use.

0
Avatar
Permanently deleted user
We're using TeamCity Professional 8.0.5 (build 27692).

0

It seems that the push command fails because of lack of permissions. Are you able to run the same command on agent via console under the same user that the agent is running? We need the full teamcity-vcs.log in debug mode to investigate this issue.

BTW, we would recommend to upgrade to the latest TeamCity version (9.0.1 as of now).

0

Please sign in to leave a comment.