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)

Jenkins JIRA | Tom Fanning | 5 years ago
  1. 0

    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 JIRA | 5 years ago | Tom Fanning
    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)
  2. 0

    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 JIRA | 5 years ago | Tom Fanning
    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)
  3. 0

    1. Start with a repository structure that contains this: http://svn/repos/trunk/mybranch 2. Create a branch as follows: svn copy http://svn/repos/trunk http://svn/repos/branches/develop 3. Setup a Hudson job that checks out the workspace from: http://svn/repos/branches/develop/mybranch 4. Run the job 5. Try to use the Tag this build function on the build 6. Tag this build will fail with the error message: ERROR: Failed to tag org.tmatesoft.svn.core.SVNException: svn: Path 'http://svn/repos/branches/develop/mybranch' does not exist in revision 173,203 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.wc.SVNCopyDriver.copyReposToRepos(SVNCopyDriver.java:264) at org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.setupCopy(SVNCopyDriver.java:628) at org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:426) at hudson.scm.SubversionTagAction$TagWorkerThread.perform(SubversionTagAction.java:262) at hudson.model.TaskThread.run(TaskThread.java:126) Completed The reason according to my analysis is the fact that the Last Changed Rev is stored instead of the Revision. The Last Changed Rev is created before step 2 above, i.e. it fails because the url http://svn/repos/branches/develop/mybranch does not exist in this revision. This has also been identified in this discussion: http://jenkins.361315.n4.nabble.com/problem-in-svn-tag-plugin-or-how-hudson-creates-revision-txt-td2965746.html

    Jenkins JIRA | 6 years ago | Peter Walls
    org.tmatesoft.svn.core.SVNException: svn: Path 'http://svn/repos/branches/develop/mybranch' does not exist in revision 173,203
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    1. Start with a repository structure that contains this: http://svn/repos/trunk/mybranch 2. Create a branch as follows: svn copy http://svn/repos/trunk http://svn/repos/branches/develop 3. Setup a Hudson job that checks out the workspace from: http://svn/repos/branches/develop/mybranch 4. Run the job 5. Try to use the Tag this build function on the build 6. Tag this build will fail with the error message: ERROR: Failed to tag org.tmatesoft.svn.core.SVNException: svn: Path 'http://svn/repos/branches/develop/mybranch' does not exist in revision 173,203 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.wc.SVNCopyDriver.copyReposToRepos(SVNCopyDriver.java:264) at org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.setupCopy(SVNCopyDriver.java:628) at org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:426) at hudson.scm.SubversionTagAction$TagWorkerThread.perform(SubversionTagAction.java:262) at hudson.model.TaskThread.run(TaskThread.java:126) Completed The reason according to my analysis is the fact that the Last Changed Rev is stored instead of the Revision. The Last Changed Rev is created before step 2 above, i.e. it fails because the url http://svn/repos/branches/develop/mybranch does not exist in this revision. This has also been identified in this discussion: http://jenkins.361315.n4.nabble.com/problem-in-svn-tag-plugin-or-how-hudson-creates-revision-txt-td2965746.html

    Jenkins JIRA | 6 years ago | Peter Walls
    org.tmatesoft.svn.core.SVNException: svn: Path 'http://svn/repos/branches/develop/mybranch' does not exist in revision 173,203
  6. 0

    Not able to commit to SVN through Jenkins while creating new branch

    Stack Overflow | 2 years ago
    org.tmatesoft.svn.core.SVNException: svn: E165001: Commit failed (details follow): svn: E165001: Commit blocked by start-commit hook (exit code 1) with output: Subversion 1.8 or greater is required to commit to this repository. svn: E175002: MKACTIVITY of '/svn/mainframe/!svn/act/e73af38c-4c01-0010-baae-91ffb01757b0': 500 Internal Server Error (https://peri.mojaair.com)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. SVNKit Library
      SVNCopyClient.doCopy
      1. org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200)
      2. org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:181)
      3. org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:133)
      4. org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.createDefaultErrorMessage(HTTPRequest.java:444)
      5. org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.readError(HTTPRequest.java:288)
      6. org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:213)
      7. org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:379)
      8. org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:292)
      9. org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:283)
      10. org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:271)
      11. org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:283)
      12. org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:274)
      13. org.tmatesoft.svn.core.internal.io.dav.DAVRepository.doGetMergeInfo(DAVRepository.java:1226)
      14. org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getMergeInfoImpl(DAVRepository.java:1127)
      15. org.tmatesoft.svn.core.io.SVNRepository.getMergeInfo(SVNRepository.java:2541)
      16. org.tmatesoft.svn.core.wc.SVNBasicClient.getReposMergeInfo(SVNBasicClient.java:608)
      17. org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.calculateTargetMergeInfo(SVNCopyDriver.java:1711)
      18. org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.copyReposToRepos(SVNCopyDriver.java:318)
      19. org.tmatesoft.svn.core.internal.wc.SVNCopyDriver.setupCopy(SVNCopyDriver.java:629)
      20. org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:426)
      20 frames
    3. Hudson
      TaskThread.run
      1. hudson.scm.SubversionTagAction$TagWorkerThread.perform(SubversionTagAction.java:261)
      2. hudson.model.TaskThread.run(TaskThread.java:127)
      2 frames