jenkinsci / jenkinsci/subversion-plugin
[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'"
- Dominant language
- Java
- Stars
- 131
- Forks
- 275
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 6
Description
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.
---
Originally reported by tomfanning, imported from: "Tag this build" results in "ERROR: Failed to tag, org.tmatesoft.svn.core.SVNException: svn: File not found: revision 555, path '/trunk/trunk'"
Raw content of original issue
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
CompletedNote 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.
- environment:
Windows Server 2003 x86, Jenkins version=1.450, Subversion Plugin version=1.39
Contributor guide
Assessment
This issue has not been assessed yet.