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

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : jglick
          Path:
          trunk/hudson/plugins/mercurial/src/main/java/hudson/plugins/mercurial/Cache.java
          http://jenkins-ci.org/commit/31103
          Log:
          [FIXED JENKINS-6549] Propagation of caches to slaves broken.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : jglick Path: trunk/hudson/plugins/mercurial/src/main/java/hudson/plugins/mercurial/Cache.java http://jenkins-ci.org/commit/31103 Log: [FIXED JENKINS-6549] Propagation of caches to slaves broken.
          Hide
          jglick Jesse Glick added a comment -

          Regression from Kohsuke's 30704: uses "xfer.log" when it should use "xfer.hg".

          Show
          jglick Jesse Glick added a comment - Regression from Kohsuke's 30704: uses "xfer.log" when it should use "xfer.hg".

            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: