• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin
    • None
    • Hudson 1.377, SVN Plugin 1.21, SVN repo v1.6, repo storage v1.4

      I've run into a problem with Hudson where svn:externals appear to be checked out during a build, but when I examine the working directory the externals aren't actually there. The following is output from one of my failed builds:

      Started by user anonymous
      Building remotely on build2
      Cleaning workspace /opt/hudson/workspace/Shell Build
      Checking out http://repo/svn/vwc_repo/ShellScripts/trunk/softsys
      ...(typical svn output)...
      Fetching 'http://repo/svn/vwc_repo/ShellScripts/trunk/lib/bashLibrary.sh' at 13,135 into '/opt/hudson/workspace/Shell Build/softsys/bashLibrary.sh'
      At revision 13143
      no change for http://repo/svn/vwc_repo/ShellScripts/trunk/softsys since the previous build
      no change for http://repo/svn/vwc_repo/ShellScripts/trunk/softsys/bashLibrary.sh since the previous build
      [Shell Build] $ /bin/sh -xe /tmp/hudson1416944625665584251.sh
      ...(execution of script)...
      

      So it appears as though the external is checked out, however upon examining the working directory (directly and via extra lines in the running script) the external is not actually there.

      Here is the definition of the external property on http://repo/svn/vwc_repo/ShellScripts/trunk/softsys:

      http://repo/svn/vwc_repo/ShellScripts/trunk/lib/bashLibrary.sh@13135 bashLibrary.sh

      Using SVN 1.6 I can check out the same directory and the external is properly retrieved.

      I have the Subversion Workspace Version set to "1.6 (svn:externals to file)" and have the workspace cleaned on every build.

          [JENKINS-8312] svn:externals not being checked out

          matt__ created issue -
          matt__ made changes -
          Description Original: I've run into a problem with Hudson where svn:externals appear to be checked out during a build, but when I examine the working directory the externals aren't actually there. The following is output from one of my failed builds:

          {noformat}
          Started by user anonymous
          Building remotely on build2
          Cleaning workspace /opt/hudson/workspace/Shell Build
          Checking out http://repo/svn/vwc_repo/ShellScripts/trunk/softsys
          ...(typical svn output)...
          Fetching 'http://repo/svn/vwc_repo/ShellScripts/trunk/lib/bashLibrary.sh' at 13,135 into '/opt/hudson/workspace/Shell Build/softsys/bashLibrary.sh'
          At revision 13143
          no change for http://repo/svn/vwc_repo/ShellScripts/trunk/softsys since the previous build
          no change for http://repo/svn/vwc_repo/ShellScripts/trunk/softsys/bashLibrary.sh since the previous build
          [Shell Build] $ /bin/sh -xe /tmp/hudson1416944625665584251.sh
          ...(execution of script)...
          {noformat}

          So it appears as though the external is checked out, however upon examining the working directory (directly and via extra lines in the running script) the external is not actually there.

          Here is the definition of the external property on http://repo/svn/vwc_repo/ShellScripts/trunk/softsys:

          {{http://video/svn/vwc_repo/ShellScripts/trunk/lib/bashLibrary.sh@13135 bashLibrary.sh}}

          Using SVN 1.6 I can check out the same directory and the external is properly retrieved.

          I have the Subversion Workspace Version set to "1.6 (svn:externals to file)" and have the workspace cleaned on every build.
          New: I've run into a problem with Hudson where svn:externals appear to be checked out during a build, but when I examine the working directory the externals aren't actually there. The following is output from one of my failed builds:

          {noformat}
          Started by user anonymous
          Building remotely on build2
          Cleaning workspace /opt/hudson/workspace/Shell Build
          Checking out http://repo/svn/vwc_repo/ShellScripts/trunk/softsys
          ...(typical svn output)...
          Fetching 'http://repo/svn/vwc_repo/ShellScripts/trunk/lib/bashLibrary.sh' at 13,135 into '/opt/hudson/workspace/Shell Build/softsys/bashLibrary.sh'
          At revision 13143
          no change for http://repo/svn/vwc_repo/ShellScripts/trunk/softsys since the previous build
          no change for http://repo/svn/vwc_repo/ShellScripts/trunk/softsys/bashLibrary.sh since the previous build
          [Shell Build] $ /bin/sh -xe /tmp/hudson1416944625665584251.sh
          ...(execution of script)...
          {noformat}

          So it appears as though the external is checked out, however upon examining the working directory (directly and via extra lines in the running script) the external is not actually there.

          Here is the definition of the external property on http://repo/svn/vwc_repo/ShellScripts/trunk/softsys:

          {{http://repo/svn/vwc_repo/ShellScripts/trunk/lib/bashLibrary.sh@13135 bashLibrary.sh}}

          Using SVN 1.6 I can check out the same directory and the external is properly retrieved.

          I have the Subversion Workspace Version set to "1.6 (svn:externals to file)" and have the workspace cleaned on every build.
          Chris Z made changes -
          Link New: This issue is related to JENKINS-17103 [ JENKINS-17103 ]
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Fabien Carmagnac made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Fabien Carmagnac made changes -
          Comment [ See my comment :

          The external is in the same svn tree.
          in the svn :
          /a/b/c/foo.txt
          /a/d/e/f/foo.txt <== external to /a/b/c/foo.txt
          updating a/d/e does not update /a/d/e/f/foo.txt when /a/b/c/foo.txt has been updated.
          Jenkins ver : 1.647
          svn plugin (https://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin) : 2.5.7

          ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 138422 ] New: JNJira + In-Review [ 185985 ]

            Unassigned Unassigned
            matt__ matt__
            Votes:
            14 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated: