Christoph Jaehnigen created JENKINS-13137:
---------------------------------------------

             Summary: Job build does not fail on failed SVN update
                 Key: JENKINS-13137
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13137
             Project: Jenkins
          Issue Type: Bug
          Components: subversion
    Affects Versions: current
         Environment: Jenkins 1.455, Subversion plugin 1.39, Subversion 1.6
            Reporter: Christoph Jaehnigen


When a job is executed and one of the SVN repositories has invalid credentials 
set (and thus the SVN update fails) this does not fail the build!

Updating https://stripped
ERROR: Failed to update https://stripped
org.tmatesoft.svn.core.SVNException: svn: OPTIONS /stripped failed
        at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:298)
        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.exchangeCapabilities(DAVConnection.java:533)
        at 
org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)
        at 
org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1011)
        at 
org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:148)
        at 
org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:342)
        at 
org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:330)
        at 
org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:535)
        at 
org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:401)
        at 
hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:136)
        at 
hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136)
        at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:788)
        at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:769)
        at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:753)
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2099)
        at hudson.remoting.UserRequest.perform(UserRequest.java:118)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:287)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at hudson.remoting.Engine$1$1.run(Engine.java:60)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: OPTIONS /stripped failed
        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)
        ... 27 more
Caused by: org.tmatesoft.svn.core.SVNAuthenticationException: svn: OPTIONS 
request failed on '/stripped'
svn: OPTIONS of /stripped: 403 Forbidden (https://stripped)
        at 
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)
        at 
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
        at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:656)
        at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:292)
        ... 26 more
Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: OPTIONS request failed 
on '/stripped'
        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.SVNErrorMessage.wrap(SVNErrorMessage.java:366)
        ... 28 more
Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: OPTIONS of /stripped: 
403 Forbidden (https://stripped)
        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.dispatch(HTTPRequest.java:189)
        at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:379)

no change for https://stripped since the previous build
Triggering SLAVE_NOTE
SLAVE_NOTE completed with result SUCCESS
Triggering a new build of Project (Matrix) #60
Finished: SUCCESS

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to