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

hg share always recreating working copy on slave (on master it's working fine)

XMLWordPrintable

      We recently enabled Use Repository Sharing option in mercurial because we need all branches and there is no such option - we used fake working copy (to have changes in build) before and were manually getting data from repository, also it faster and saves space as we have a lot of jobs for the same repository.
      As a result we have full build on slaves instead of incremental build.
      Jenkins ver. 1.490 Jenkins Mercurial plugin 1.42

      First run on master
      Started by user anonymous
      Building on master in workspace /app/agora/hudson/jobs/ShareTest/workspace
      Acquired master cache lock.
      [D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight] $ hg pull
      pulling from http://url/hg/AgoraLight
      searching for changes
      no changes found
      Master cache lock released.
      $ hg --config extensions.share= share --noupdate /app/agora/hudson/hgcache/D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight /app/agora/hudson/jobs/ShareTest/workspace/AgoraLight
      [AgoraLight] $ hg update --rev default
      3843 files updated, 0 files merged, 0 files removed, 0 files unresolved
      [AgoraLight] $ hg log --rev . --template

      {node}
      [AgoraLight] $ hg log --rev . --template {rev}
      [AgoraLight] $ hg log --rev 8ff039e2eee43cd13859f650c500ac9f67235d5c
      [AgoraLight] $ hg log --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:0 --follow --prune 8ff039e2eee43cd13859f650c500ac9f67235d5c
      Notifying upstream projects of job completion
      Finished: SUCCESS

      Second run on master
      Started by user anonymous
      Building on master in workspace /app/agora/hudson/jobs/ShareTest/workspace
      [AgoraLight] $ hg showconfig paths.default
      Acquired master cache lock.
      [D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight] $ hg pull
      pulling from http://url/hg/AgoraLight
      searching for changes
      no changes found
      Master cache lock released.
      [AgoraLight] $ hg pull --rev default /app/agora/hudson/hgcache/D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight
      [AgoraLight] $ hg update --clean --rev default
      0 files updated, 0 files merged, 0 files removed, 0 files unresolved
      [AgoraLight] $ hg log --rev . --template {node}
      [AgoraLight] $ hg log --rev . --template {rev}
      [AgoraLight] $ hg log --rev 8ff039e2eee43cd13859f650c500ac9f67235d5c
      [AgoraLight] $ hg log --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:0 --follow --prune 8ff039e2eee43cd13859f650c500ac9f67235d5c
      Notifying upstream projects of job completion
      Finished: SUCCESS

      First run on slave
      Started by user anonymous
      Building remotely on cll36a-9516 in workspace /app/agora/hudsonslave/workspace/ShareTest
      Acquired master cache lock.
      [D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight] $ hg pull
      pulling from http://url/hg/AgoraLight
      searching for changes
      no changes found
      Master cache lock released.
      Acquired slave node cache lock for node cll36a-9516.
      [D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight] $ hg heads --template {node}\n --topo --closed
      [D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight] $ hg heads --template {node}\n --topo --closed
      Local cache is up to date.
      Slave node cache lock released for node cll36a-9516.
      $ hg --config extensions.share= share --noupdate /app/agora/hudsonslave/hgcache/D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight /app/agora/hudsonslave/workspace/ShareTest/AgoraLight
      [AgoraLight] $ hg update --rev default
      3843 files updated, 0 files merged, 0 files removed, 0 files unresolved
      [AgoraLight] $ hg log --rev . --template {node}
      [AgoraLight] $ hg log --rev . --template {rev}

      [AgoraLight] $ hg log --rev 8ff039e2eee43cd13859f650c500ac9f67235d5c
      [AgoraLight] $ hg log --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:0 --follow --prune 8ff039e2eee43cd13859f650c500ac9f67235d5c
      Notifying upstream projects of job completion
      Finished: SUCCESS

      Second run on slave
      Started by user anonymous
      Building remotely on cll36a-9516 in workspace /app/agora/hudsonslave/workspace/ShareTest
      Acquired master cache lock.
      [D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight] $ hg pull
      pulling from http://url/hg/AgoraLight
      searching for changes
      no changes found
      Master cache lock released.
      Acquired slave node cache lock for node cll36a-9516.
      [D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight] $ hg heads --template {node}

      \n --topo --closed
      [D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight] $ hg heads --template

      {node}\n --topo --closed
      Local cache is up to date.
      Slave node cache lock released for node cll36a-9516.
      $ hg --config extensions.share= share --noupdate /app/agora/hudsonslave/hgcache/D38534FF4534AE3232A1AB292D5BA54825AE752B-AgoraLight /app/agora/hudsonslave/workspace/ShareTest/AgoraLight
      [AgoraLight] $ hg update --rev default
      3843 files updated, 0 files merged, 0 files removed, 0 files unresolved
      [AgoraLight] $ hg log --rev . --template {node}

      [AgoraLight] $ hg log --rev . --template

      {rev}
      [AgoraLight] $ hg log --rev 8ff039e2eee43cd13859f650c500ac9f67235d5c
      [AgoraLight] $ hg log --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:0 --follow --prune 8ff039e2eee43cd13859f650c500ac9f67235d5c
      Notifying upstream projects of job completion
      Finished: SUCCESS

            willemv Willem Verstraeten
            igorkostenko Igor Kostenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: