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

Failure to copy xfer.hg

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          jglick Jesse Glick created issue -
          jglick Jesse Glick made changes -
          Field Original Value New Value
          Assignee kohsuke [ kohsuke ] jglick [ jglick ]
          jglick Jesse Glick made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 136644 ] JNJira + In-Review [ 204150 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: