Looks like when we run valgrind.sh under mock, we lose the .hgrc settings which enable the share extension. Checking if share extension works command: START command: hg help share command: cwd: /builds/slave/m-cen-lnx-valgrind command: output: command: END (0.33 elapsed) command: START command: hg path default command: cwd: /builds/hg-shared/mozilla-central command: output: http://hg.mozilla.org/mozilla-central command: END (0.41 elapsed) Updating shared repo command: START command: hg path default command: cwd: /builds/hg-shared/mozilla-central command: output: http://hg.mozilla.org/mozilla-central command: END (0.38 elapsed) command: START command: hg pull -r 7c7639f797d0 http://hg.mozilla.org/mozilla-central command: cwd: /builds/hg-shared/mozilla-central command: output: pulling from http://hg.mozilla.org/mozilla-central searching for changes adding changesets adding manifests adding file changes added 58 changesets with 146 changes to 101 files (run 'hg update' to get a working copy) command: END (9.15s elapsed) Trying to share /builds/hg-shared/mozilla-central to /builds/slave/m-cen-lnx-valgrind/src command: START command: hg share -U /builds/hg-shared/mozilla-central /builds/slave/m-cen-lnx-valgrind/src command: cwd: /builds/slave/m-cen-lnx-valgrind command: output: hg: unknown command 'share' 'share' is provided by the following extension: share share a common history between several working directories use "hg help extensions" for information on enabling extensions command: ERROR Traceback (most recent call last): File "/builds/slave/m-cen-lnx-valgrind/scripts/buildfarm/utils/../../lib/python/util/commands.py", line 42, in run_cmd return subprocess.check_call(cmd, **kwargs) File "/usr/lib/python2.6/subprocess.py", line 502, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['hg', 'share', '-U', '/builds/hg-shared/mozilla-central', '/builds/slave/m-cen-lnx-valgrind/src']' returned non-zero exit status 255 command: END (0.35s elapsed)
Looks like adding /home/cltbld/.hgrc to mock_copyin_files could do the trick...
This is happening every day or other day, but it goes away with a retrigger. Unfortunately the sheriffs will have to manually retrigger everytime it occurs, once we get green trees.
Created attachment 668857 [details] [diff] [review] copyin It would be great to use the same config for all mock based builds. I hit some issues before and had to use the following config which is in hgrc arleady. [format] dotencode=False
Comment on attachment 668857 [details] [diff] [review] copyin http://hg.mozilla.org/build/buildbot-configs/rev/0e1e9328d65c It'll be in production next Monday after the scheduled reconfig.