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

Failure to copy xfer.hg

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • mercurial-plugin
    • None

      After upgrading to Mercurial Plugin 1.29 + Hudson 1.358 I am seeing:

      Building remotely on ...
      [...] $ hg pull
      pulling from ...
      searching for changes
      adding changesets
      adding manifests
      adding file changes
      added 15 changesets with 17 changes to 16 files
      (run 'hg update' to get a working copy)
      [...] $ hg heads --template {node}\n
      [...] $ hg heads --template {node}\n
      [...] $ hg bundle --base ... xfer.hg
      106 changesets found
      [...] $ hg unbundle xfer.log
      abort: No such file or directory: /space/hgcache/.../xfer.log
      ERROR: Failed to unbundle /space/hgcache/.../xfer.hg
      ERROR: Failed to use repository cache for ...
      java.lang.NullPointerException
      	at hudson.plugins.mercurial.MercurialSCM.cachedSource(MercurialSCM.java:661)
      	at hudson.plugins.mercurial.MercurialSCM.update(MercurialSCM.java:495)
      	at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:436)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1044)
      	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      	at hudson.model.Run.run(Run.java:1241)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:122)
      [...] $ hg incoming --quiet --bundle hg.bundle --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev default
      [...] $ hg unbundle hg.bundle
      adding changesets
      adding manifests
      adding file changes
      added 94 changesets with 157 changes to 144 files
      (run 'hg update' to get a working copy)
      

      It looks like the file copy to the remote node is not working.

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: