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

Subversion plugin fails to check out files specified in svn:externals

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin
    • None

      Steps to reproduce:
      1. Create svn externals file in the working copy of a check out project using 'svn propedit svn:externals .' command
      2. Enter a line with <local path>/<local file name> http://<svn url>/<svn file name>, where:
      <local path> is the name of the local directory where the file should be check out
      <local file name> is the name of the file
      http://<svn url> is snv location
      <svn file name> is the name of the file in svn
      4. Save and commit the svn externals file.
      5. Create Jenkins project and configure it to check out the svn url where you have commit the svn externals.
      6. Optionally do a fresh check out on the machine using the native svn client version: 1.6.17 (r1128011) to ensure that the check out of the externals is working.

      Result: Jenkins Subversion plugin fails to check out files specified in snv:externals

      Error log:

      ERROR: Failed to parse svn info for external http://<svn url>/<svn file name> at .///<local dir>/<local file name>
      org.tmatesoft.svn.core.SVNException: svn: '<local path>/./<local dir>/<local file name>' is not a working copy
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
      at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:316)
      at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:295)
      at org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3304)
      at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2506)
      at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2873)
      at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:1038)
      at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:1008)
      at hudson.FilePath.act(FilePath.java:783)
      at hudson.FilePath.act(FilePath.java:765)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:692)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:568)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:457)
      at hudson.model.Run.run(Run.java:1404)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)
      Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: '<local path>/./<local dir>/<local file name>' is not a working copy
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:163)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:118)
      at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:315)
      ... 16 more

          [JENKINS-12040] Subversion plugin fails to check out files specified in svn:externals

          Stanislav Kanev created issue -
          Stanislav Kanev made changes -
          Environment Original: Jenkins Subversion Plug-in version 1.37
          Jenkins server 1.442
          OS: RHEL 5.5 64 bit
          local native svn client version: 1.6.17 (r1128011)
          New: Jenkins Subversion Plug-in version 1.37
          Jenkins server 1.442 both master/slave and stand alone configurations.
          Subversion Workspace Version 1.6 (svn:externals to file)
          OS: RHEL 5.5 64 bit
          local native svn client version: 1.6.17 (r1128011)
          Stanislav Kanev made changes -
          Description Original: Steps to reproduce:
          1. Create svn externals file in the working copy of a check out project using 'svn propedit svn:externals .' command
          2. Enter a line with <local path>/<local file name> http://&lt;svn url>/<svn file name>, where:
          <local path> is the name of the local directory where the file should be check out
          <local file name> is the name of the file
          http://&lt;svn url> is snv location
          <svn file name> is the name of the file in svn
          4. Save and commit the svn externals file.
          5. Create Jenkins project and configure it to check out the svn url where you have commit the svn externals.

          Result: Jenkins Subversion plugin fails to check out files specified in snv:externals

          Error log:

          ERROR: Failed to parse svn info for external http://&lt;svn url>/<svn file name> at .///<local dir>/<local file name>
          org.tmatesoft.svn.core.SVNException: svn: '<local path>/./<local dir>/<local file name>' is not a working copy
          at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
          at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:316)
          at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:295)
          at org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3304)
          at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2506)
          at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2873)
          at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:1038)
          at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:1008)
          at hudson.FilePath.act(FilePath.java:783)
          at hudson.FilePath.act(FilePath.java:765)
          at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:692)
          at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
          at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:568)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:457)
          at hudson.model.Run.run(Run.java:1404)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:238)
          Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: '<local path>/./<local dir>/<local file name>' is not a working copy
          at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:163)
          at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:118)
          at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:315)
          ... 16 more
          New: Steps to reproduce:
          1. Create svn externals file in the working copy of a check out project using 'svn propedit svn:externals .' command
          2. Enter a line with <local path>/<local file name> http://&lt;svn url>/<svn file name>, where:
          <local path> is the name of the local directory where the file should be check out
          <local file name> is the name of the file
          http://&lt;svn url> is snv location
          <svn file name> is the name of the file in svn
          4. Save and commit the svn externals file.
          5. Create Jenkins project and configure it to check out the svn url where you have commit the svn externals.
          6. Optionally do a fresh check out on the machine using the native svn client version: 1.6.17 (r1128011) to ensure that the check out of the externals is working.

          Result: Jenkins Subversion plugin fails to check out files specified in snv:externals

          Error log:

          ERROR: Failed to parse svn info for external http://&lt;svn url>/<svn file name> at .///<local dir>/<local file name>
          org.tmatesoft.svn.core.SVNException: svn: '<local path>/./<local dir>/<local file name>' is not a working copy
          at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
          at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:316)
          at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:295)
          at org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3304)
          at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2506)
          at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2873)
          at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:1038)
          at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:1008)
          at hudson.FilePath.act(FilePath.java:783)
          at hudson.FilePath.act(FilePath.java:765)
          at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:692)
          at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
          at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:568)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:457)
          at hudson.model.Run.run(Run.java:1404)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:238)
          Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: '<local path>/./<local dir>/<local file name>' is not a working copy
          at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:163)
          at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:118)
          at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:315)
          ... 16 more
          Stanislav Kanev made changes -
          Priority Original: Blocker [ 1 ] New: Major [ 3 ]
          Stanislav Kanev made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Oliver Keller made changes -
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Tomalak Geret'kal made changes -
          Summary Original: Subversion plugin fails to check out files specified in snv:externals New: Subversion plugin fails to check out files specified in svn:externals
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 142312 ] New: JNJira + In-Review [ 186034 ]

            Unassigned Unassigned
            naninani Stanislav Kanev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: