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

svn: PROPFIND request failed can we add a retry after timeout?

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • subversion-plugin
    • None
    • Windows 1.608

      Hello
      Is there a way for Jenkins to have a retry mechanism? The server is available.. so I can only think for an instant there was an intermittent network issue. Could Jenkins retry for 30 seconds?

      ERROR: Failed to update https://myserver/svn/trunk/
      org.tmatesoft.svn.core.SVNException: svn: E175002: PROPFIND /svn/trunk failed
      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.DAVUtil.findStartingProperties(DAVUtil.java:136)
      at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getVCCPath(DAVUtil.java:172)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1284)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:839)
      at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:192)
      at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:76)
      at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:38)
      at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18)
      at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
      at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
      at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1238)
      at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:311)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:291)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:387)
      at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:157)
      at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:161)
      at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:908)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:889)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:872)
      at hudson.FilePath.act(FilePath.java:989)
      at hudson.FilePath.act(FilePath.java:967)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:848)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:786)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)
      Caused by: svn: E175002: PROPFIND /svn/trunk failed

          [JENKINS-32553] svn: PROPFIND request failed can we add a retry after timeout?

          Oleg Nenashev added a comment -

          Fixed the component

          Oleg Nenashev added a comment - Fixed the component

          Ashvini Joshi added a comment -

          Hello, i am getting the same issue for SVN checkout. It was all working fine , but suddenly i started getting this issue. it says:
          SVNAuthenticationException for svn root url.

          i have access to only my project directory, and svn tries to estimate the remote timestamp and fails with 403 http error.

          Please let me know what is the resolution for this. thnx.

          Ashvini Joshi added a comment - Hello, i am getting the same issue for SVN checkout. It was all working fine , but suddenly i started getting this issue. it says: SVNAuthenticationException for svn root url. i have access to only my project directory, and svn tries to estimate the remote timestamp and fails with 403 http error. Please let me know what is the resolution for this. thnx.

          Ashvini - I don't think your issue is related. Your issue appears to be svn permissions. Worth checking with your svn server administrator.

          Jonathan Grant added a comment - Ashvini - I don't think your issue is related. Your issue appears to be svn permissions. Worth checking with your svn server administrator.

          Ashvini Joshi added a comment -

          Hi Jonathan, This is not SVN permissions issue.

          This is how the issue appears:
          1) I am trying to check out svn code from svn location:
          http://svn-server/svn/MyOrgFolder/MyProject/Dir

          2) It is expected that I have access to only "MyProject/Dir" and not to "svn/MyOrgFolder" as this is root URL and I do not need to access that. I am able to checkout the code through tortoise svn and I have proper credentials to access "MyProject/Dir".

          3) i configured the svn url and proper credentials to Jenkins configuration page. It is able to checkout the code into following directory :

          default-jenkins-dir(.jenkins)\workspace\MyProject

          4) But the issue I am getting is , on Tomcat console it gives following error:
          it tries to check the remote timestamp and fails with a PROPFIND failure, appearing to access the SVN root URL.
          SVNAuthenticationException : svn: E170001 PROFIND request failed on 'svn/MyOrgFolder'

          and as a result 403 Forbidden (access to svn server)

          My question is why does it try to access svn root url to calculate the remote timestamp. We can not ask for root url access to svn admin.

          I also see there is already an open issue on same thing:
          https://issues.jenkins-ci.org/browse/JENKINS-5750

          Thanks.

          Ashvini Joshi added a comment - Hi Jonathan, This is not SVN permissions issue. This is how the issue appears: 1) I am trying to check out svn code from svn location: http://svn-server/svn/MyOrgFolder/MyProject/Dir 2) It is expected that I have access to only "MyProject/Dir" and not to "svn/MyOrgFolder" as this is root URL and I do not need to access that. I am able to checkout the code through tortoise svn and I have proper credentials to access "MyProject/Dir". 3) i configured the svn url and proper credentials to Jenkins configuration page. It is able to checkout the code into following directory : default-jenkins-dir(.jenkins)\workspace\MyProject 4) But the issue I am getting is , on Tomcat console it gives following error: it tries to check the remote timestamp and fails with a PROPFIND failure, appearing to access the SVN root URL. SVNAuthenticationException : svn: E170001 PROFIND request failed on 'svn/MyOrgFolder' and as a result 403 Forbidden (access to svn server) My question is why does it try to access svn root url to calculate the remote timestamp. We can not ask for root url access to svn admin. I also see there is already an open issue on same thing: https://issues.jenkins-ci.org/browse/JENKINS-5750 Thanks.

          Hi Ashivini
          Your issue appears unrelated to the issue I reported. Please see my description.
          It's better if you post your comments on the JENKINS-5750 issue you found, if that is related to your issue.
          Regards, Jonathan

          Jonathan Grant added a comment - Hi Ashivini Your issue appears unrelated to the issue I reported. Please see my description. It's better if you post your comments on the JENKINS-5750 issue you found, if that is related to your issue. Regards, Jonathan

            Unassigned Unassigned
            jgrant Jonathan Grant
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: