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

lightweight Checkouts return error code when trying to checkout jenkins file returns 404

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: subversion-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.176.1
      SVN plug in 2.12.1
    • Similar Issues:

      Description

      Started by an SCM change
      org.tmatesoft.svn.core.SVNException: svn: E160013: '/vc/bne_bbr_ios/!svn/bc/11641/trunk/code/jenkins/jenkins/Jenkinsfile_incremental' path not found: 404 Not Found (https://svn02)
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70)
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:760)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352)
      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:920)
      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doGet(DAVConnection.java:335)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFile(DAVRepository.java:289)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFile(DAVRepository.java:251)
      at jenkins.scm.impl.subversion.SubversionSCMFile.content(SubversionSCMFile.java:82)
      Caused: java.io.IOException: failed to fetch file: jenkins/Jenkinsfile_incremental
      at jenkins.scm.impl.subversion.SubversionSCMFile.content(SubversionSCMFile.java:85)
      at jenkins.scm.api.SCMFile.contentAsString(SCMFile.java:338)
      at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:110)
      at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:67)
      at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:293)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      Finished: FAILURE

        Attachments

          Activity

          Hide
          richard_a Arnaud Richard added a comment -

          I'm running the same issue with Subversion Plug-in 2.12.2

          I don't have any externals.

           

          Show
          richard_a Arnaud Richard added a comment - I'm running the same issue with Subversion Plug-in 2.12.2 I don't have any externals.  
          Hide
          psteiner Philip Steiner added a comment - - edited

          I'm getting the same error with Subversion Plugin 2.13.0 on Jenkins 2.190.1 for a standard pipeline job (not multibranch). Checkout works as expected if I deselect Lightweight Checkout. I noticed the path includes characters which are not part of the actual URL, i.e. '!svn/bc/73877'

          org.tmatesoft.svn.core.SVNException: svn: E160013: '/svn/gpd/!svn/bc/73877/CI/dev/trunk/CI/Build/jenkinsFile' path not found: 404 Not Found (https://SVN_URL_ELIDED)
          at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70)
          at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57)
          at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:760)
          at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352)
          at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:920)
          at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doGet(DAVConnection.java:335)
          at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFile(DAVRepository.java:301)
          at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFile(DAVRepository.java:263)
          at jenkins.scm.impl.subversion.SubversionSCMFile.content(SubversionSCMFile.java:82)
          Caused: java.io.IOException: failed to fetch file: CI/Build/jenkinsFile
          at jenkins.scm.impl.subversion.SubversionSCMFile.content(SubversionSCMFile.java:85)
          at jenkins.scm.api.SCMFile.contentAsString(SCMFile.java:335)
          at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:118)
          at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:69)
          at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:299)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:429)
          Finished: FAILURE

          Show
          psteiner Philip Steiner added a comment - - edited I'm getting the same error with Subversion Plugin 2.13.0 on Jenkins 2.190.1 for a standard pipeline job (not multibranch). Checkout works as expected if I deselect Lightweight Checkout. I noticed the path includes characters which are not part of the actual URL, i.e. '!svn/bc/73877' org.tmatesoft.svn.core.SVNException: svn: E160013: '/svn/gpd/!svn/bc/73877/CI/dev/trunk/CI/Build/jenkinsFile' path not found: 404 Not Found ( https://SVN_URL_ELIDED ) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:760) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:920) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doGet(DAVConnection.java:335) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFile(DAVRepository.java:301) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFile(DAVRepository.java:263) at jenkins.scm.impl.subversion.SubversionSCMFile.content(SubversionSCMFile.java:82) Caused: java.io.IOException: failed to fetch file: CI/Build/jenkinsFile at jenkins.scm.impl.subversion.SubversionSCMFile.content(SubversionSCMFile.java:85) at jenkins.scm.api.SCMFile.contentAsString(SCMFile.java:335) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:118) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:69) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:299) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Finished: FAILURE

            People

            • Assignee:
              Unassigned
              Reporter:
              rockowwc Robert Orrock
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: