Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13760

"Tag this build" results in "ERROR: Failed to tag, org.tmatesoft.svn.core.SVNException: svn: File not found: revision 555, path '/trunk/trunk'"

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin
    • Windows Server 2003 x86, Jenkins version=1.450, Subversion Plugin version=1.39

      When I click "Tag this build" then "Tag", I get the following stack trace:

      Build #234

      Tagging is in progress:

      Tagging https://ccr/svn/Our_Product/trunk (rev.555) to https://ccr/svn/Our_Product/tags/test
      ERROR: Failed to tag
      org.tmatesoft.svn.core.SVNException: svn: File not found: revision 555, path '/trunk/trunk'
      svn: '/svn/Our_Product/!svn/bc/555/trunk' path not found: 404 Not Found (https://ccr)
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.doGetMergeInfo(DAVRepository.java:1232)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getMergeInfoImpl(DAVRepository.java:1127)
      at org.tmatesoft.svn.core.io.SVNRepository.getMergeInfo(SVNRepository.java:2541)
      at org.tmatesoft.svn.core.wc.SVNBasicClient.getReposMergeInfo(SVNBasicClient.java:608)
      at org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.calculateTargetMergeInfo(SVNCopyDriver.java:1711)
      at org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.copyReposToRepos(SVNCopyDriver.java:318)
      at org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.setupCopy(SVNCopyDriver.java:629)
      at org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:426)
      at hudson.scm.SubversionTagAction$TagWorkerThread.perform(SubversionTagAction.java:261)
      at hudson.model.TaskThread.run(TaskThread.java:127)
      Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: File not found: revision 555, path '/trunk/trunk'
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:146)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:89)
      at org.tmatesoft.svn.core.internal.io.dav.handlers.DAVErrorHandler.endElement(DAVErrorHandler.java:72)
      at org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler.endElement(BasicDAVHandler.java:99)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:776)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:741)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readError(HTTPConnection.java:222)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.readError(HTTPRequest.java:290)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:213)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:379)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:292)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:283)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:271)
      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:283)
      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:274)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.doGetMergeInfo(DAVRepository.java:1226)
      ... 9 more
      Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: '/svn/Our_Product/!svn/bc/555/trunk' path not found: 404 Not Found (https://ccr)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:181)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:133)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.createDefaultErrorMessage(HTTPRequest.java:444)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.readError(HTTPRequest.java:288)
      ... 17 more
      Completed

      Note the '/trunk/trunk' in there - there is no such structure in our repo and this appears nowhere in the configuration.

      Revision number 555 is valid.

      Also note this is not related to the "Jenkins Subversion Tagging" plugin.

      I get this irrespective of what tag name I provide. In the example above, I supplied test as the tag name.

          [JENKINS-13760] "Tag this build" results in "ERROR: Failed to tag, org.tmatesoft.svn.core.SVNException: svn: File not found: revision 555, path '/trunk/trunk'"

          Tom Fanning added a comment -

          14 weeks later and it's not even been assigned to a dev?

          Tom Fanning added a comment - 14 weeks later and it's not even been assigned to a dev?

          Ben McDonie added a comment -

          Is this at the top of anyone's list?
          I could really use a solution to this. I get a similar stacktrace (404 on 'trunk/trunk').
          I can provide more details if someone is willing to look into it.

          Basically I used to have subversion plugin 1.43, but downgraded to 1.39 due to JENKINS-14550.

          Now with 1.39, my checkouts work, but I can no longer tag builds

          Ben McDonie added a comment - Is this at the top of anyone's list? I could really use a solution to this. I get a similar stacktrace (404 on 'trunk/trunk'). I can provide more details if someone is willing to look into it. Basically I used to have subversion plugin 1.43, but downgraded to 1.39 due to JENKINS-14550 . Now with 1.39, my checkouts work, but I can no longer tag builds

            Unassigned Unassigned
            tomfanning Tom Fanning
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: