com.atlassian.bamboo.task.TaskException: Exception when tagging repository

Stack Overflow | leandro | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Subversion tagging fails using Bamboo

    Stack Overflow | 4 years ago | leandro
    com.atlassian.bamboo.task.TaskException: Exception when tagging repository
  2. 0

    Hudson version 1.227. Stand alone setup running on Winstone. When attempting a tag after selecting 'Tag this build', the tag fails with an error: Tagging http://subversion/svn/XXXXX/web/project/trunk (rev.19085) to http://subversion/svn/XXXXX/web/project/tags/project-30 Failed to tag org.tmatesoft.svn.core.SVNAuthenticationException: svn: Commit failed (details follow): svn: CHECKOUT of '/svn/XXXXX/!svn/ver/19211/web/project/tags': 403 Forbidden (http://subversion) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:84) at org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:354) at hudson.scm.SubversionTagAction$TagWorkerThread.perform(SubversionTagAction.java:167) at hudson.model.TaskThread.run(TaskThread.java:77) Completed The error suggests the user setup within the hudson.scm.SubversionSCM.xml does not have the authority to checkout the subversion tags directory revision. Further investigation found the user being used for the tag is the user that started Hudson in the first instance, and NOT the user declared in the hudson.scm.SubversionSCM.xml file. Thus, if the user account that started Hudson does not have enough permissions for SVN, then the tagging fails with the above error. Regards Matt Gaunt

    Jenkins JIRA | 9 years ago | wymgaz
    org.tmatesoft.svn.core.SVNAuthenticationException: svn: Commit failed (details follow): svn: CHECKOUT of '/svn/XXXXX/!svn/ver/19211/web/project/tags': 403 Forbidden (http://subversion) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:84)
  3. 0

    Hudson version 1.227. Stand alone setup running on Winstone. When attempting a tag after selecting 'Tag this build', the tag fails with an error: Tagging http://subversion/svn/XXXXX/web/project/trunk (rev.19085) to http://subversion/svn/XXXXX/web/project/tags/project-30 Failed to tag org.tmatesoft.svn.core.SVNAuthenticationException: svn: Commit failed (details follow): svn: CHECKOUT of '/svn/XXXXX/!svn/ver/19211/web/project/tags': 403 Forbidden (http://subversion) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:84) at org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:354) at hudson.scm.SubversionTagAction$TagWorkerThread.perform(SubversionTagAction.java:167) at hudson.model.TaskThread.run(TaskThread.java:77) Completed The error suggests the user setup within the hudson.scm.SubversionSCM.xml does not have the authority to checkout the subversion tags directory revision. Further investigation found the user being used for the tag is the user that started Hudson in the first instance, and NOT the user declared in the hudson.scm.SubversionSCM.xml file. Thus, if the user account that started Hudson does not have enough permissions for SVN, then the tagging fails with the above error. Regards Matt Gaunt

    Jenkins JIRA | 9 years ago | wymgaz
    org.tmatesoft.svn.core.SVNAuthenticationException: svn: Commit failed (details follow): svn: CHECKOUT of '/svn/XXXXX/!svn/ver/19211/web/project/tags': 403 Forbidden (http://subversion) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:84)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.tmatesoft.svn.core.SVNAuthenticationException

      svn: E170001: Commit failed (details follow): svn: E170001: MKACTIVITY of '/svn/!svn/act/119a900a-3f01-0010-8d97-3313e23e6ce8': 403 Forbidden (https://xxxxx)

      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error()
    2. SVNKit Library
      SVNCopyClient.doCopy
      1. org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)
      2. org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
      3. org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.copyReposToRepos(SVNCopyDriver.java:378)
      4. org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.setupCopy(SVNCopyDriver.java:627)
      5. org.tmatesoft.svn.core.internal.wc16.SVNCopyClient16.doCopy(SVNCopyClient16.java:440)
      6. org.tmatesoft.svn.core.internal.wc2.remote.SvnNgReposToReposCopy.run(SvnNgReposToReposCopy.java:65)
      7. org.tmatesoft.svn.core.internal.wc2.remote.SvnNgReposToReposCopy.run(SvnNgReposToReposCopy.java:23)
      8. org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
      9. org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
      10. org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:291)
      11. org.tmatesoft.svn.core.wc2.SvnRemoteCopy.run(SvnRemoteCopy.java:227)
      12. org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:480)
      12 frames
    3. com.atlassian.bamboo
      SvnRepository.createTag
      1. com.atlassian.bamboo.repository.svn.SvnRepository.copyRepository(SvnRepository.java:1876)
      2. com.atlassian.bamboo.repository.svn.SvnRepository.createTag(SvnRepository.java:1914)
      2 frames