Closed
Bug 794063
Opened 12 years ago
Closed 12 years ago
mock based valgrind jobs need to copy in ~/.hgrc to enable sharing
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: rail)
References
Details
(Whiteboard: [mock])
Attachments
(1 file)
13.89 KB,
patch
|
Callek
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
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)
Reporter | ||
Comment 1•12 years ago
|
||
Looks like adding /home/cltbld/.hgrc to mock_copyin_files could do the trick...
Comment 2•12 years ago
|
||
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.
Blocks: valgrind-on-tbpl
Assignee | ||
Comment 3•12 years ago
|
||
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
Updated•12 years ago
|
Attachment #668857 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Comment 4•12 years ago
|
||
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.
Attachment #668857 -
Flags: checked-in+
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•