-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
Linux, 64bit.
We use peg revisions and passing of the SVN_REVISION parameter to a build job that's connected to a SVN url with peg revisions (...@${SVN_REVISION}).
While the checkout is correctly done with the provided $SVN_REVISION, this seems not to be the case for the procedure that summarizes the Changes. Probably those changes are always based on the latest available version.
If that latest version no longer exists, then the whole build fails.
For example, we periodically copy snapshots of trunk to 'branch', then we trigger a build using the peg revision that results from the copy operation - so the build starts e.g. with /branch@12345.
For the next snapshot, 'branch' has to be deleted first, so it can be re-created from the copy operation. For a short period, /branch then does not exist in latest SVN revision – so if the SVN plugin tries to determine the changes, the whole build fails. Example log:
At revision 150262
hudson.util.IOException2: revision check failed on https://.../branch
at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:158)
at hudson.scm.SubversionChangeLogBuilder.run(SubversionChangeLogBuilder.java:100)
at hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:554)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:674)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443)
at hudson.model.Run.run(Run.java:1376)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:175)
Caused by: org.tmatesoft.svn.core.SVNException: svn: 'branch' path not found: 404 Not Found (https://svnserver.net)
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.getLocationsImpl(DAVRepository.java:1049)
at org.tmatesoft.svn.core.io.SVNRepository.getLocations(SVNRepository.java:1087)
at org.tmatesoft.svn.core.io.SVNRepository.getLocations(SVNRepository.java:1515)
at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:900)
at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:534)
at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:1019)
at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:894)
at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:826)
at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:146)
... 10 more
Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: 'https://.../branch' path not found: 404 Not Found (https://svnserver.net)
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:430)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.readError(HTTPRequest.java:286)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:211)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:364)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:285)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:276)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:264)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:266)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:257)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLocationsImpl(DAVRepository.java:1043)
... 18 more
Archiving artifacts
[description-setter] Could not determine description.
Finished: FAILURE