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

interrupted svn update not retries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • subversion-plugin
    • None

      I have a slave with bad IO, and doing a full checkout for my project from that node takes a while, unfortunately the webserver serving the remote repo seems to drop the connection after a few hours.
      I would expect that in this case, the "SCM checkout retry count" kicks in, and jenkins would continue the checkout, but I'm seeing the following exception instead

      ERROR: Failed to update http://svn.php.net/repository/php/php-src/branches/PHP_5_4
      org.tmatesoft.svn.core.SVNException: svn: REPORT /repository/!svn/vcc/default 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.doReport(DAVConnection.java:283)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1282)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:830)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:564)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:401)
      at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:135)
      at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136)
      at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:787)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:768)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:752)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994)
      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(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at hudson.remoting.Engine$1$1.run(Engine.java:60)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: REPORT /repository/!svn/vcc/default 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)
      ... 24 more
      Caused by: org.tmatesoft.svn.core.SVNException: svn: REPORT request failed on '/repository/!svn/vcc/default'
      svn: Processing REPORT request response failed: Premature end of file. (/repository/!svn/vcc/default)
      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.http.HTTPConnection._request(HTTPConnection.java:662)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:292)
      ... 23 more
      Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: REPORT request failed on '/repository/!svn/vcc/default'
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:660)
      ... 24 more
      Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: Processing REPORT request response failed: Premature end of file. (/repository/!svn/vcc/default)
      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.HTTPConnection.readData(HTTPConnection.java:790)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:741)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:218)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:379)
      ... 24 more
      FATAL: null
      java.lang.NullPointerException
      at java.util.ArrayList.addAll(ArrayList.java:497)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:742)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:684)
      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.matrix.MatrixRun.run(MatrixRun.java:146)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:175)

            Unassigned Unassigned
            tyrael Ferenc Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: