Closed
Bug 809689
Opened 13 years ago
Closed 13 years ago
spidermonkey builds require hg
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 821097
People
(Reporter: sfink, Unassigned)
Details
The spidermonkey builds are getting much farther now inside the mock environment. The latest failure is that the shell script they use, spidermonkey.sh, does the actual clone of the source with this line:
$PYTHON $SCRIPTS_DIR/buildfarm/utils/hgtool.py --tbox $HG_REPO src || exit 2
Unfortunately, the mock builders do not have hg installed.
I can imagine several ways of fixing this:
1. Edit http://hg.mozilla.org/build/puppet's modules/mockbuild/files/mozilla-centos6-x86_64.cfg and friends to include hg in the chroot_setup_cmd that installs the base packages.
2. Install hg from the spidermonkey.sh script (yum install hg?)
3. Expose the host hg to the mock environment.
4. Muck with buildbotcustom/misc.py to make the spidermonkey builds check out the source first, before invoking the spidermonkey.sh script. (Basically, make the spidermonkey builds look more like the regular builds.)
I don't know how to set up a full test environment, particularly a build slave. I might be able to stumble through #1 or #2 without one. Perhaps I could even do #3, though that seems dicier. I would never be able to make #4 work without a full test environment.
Or somebody else could do one of these for me?
I don't think it's even possible for me to stumble through creating a slave on my own, because even the mock stuff now requires yum repositories that I do not have access to. I think the regular slave setup requires stuff I can't get at, too.
Advice?
Reporter | ||
Comment 1•13 years ago
|
||
CC'ing a bunch of people who seem like they might be usefully begged for help.
Comment 2•13 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=16841860&tree=Mozilla-Inbound&full=1
hg is getting installed via mock_mozilla install ...
DEBUG: mozilla-python27-mercurial
DEBUG: x86_64 2.1.1-4.el6 releng-centos6-x86_64 1.4 M
perhaps PATH is wrong? I believe mozilla-python27-mercurial installs to /usr/local/bin
Reporter | ||
Comment 3•13 years ago
|
||
(In reply to Chris AtLee [:catlee] from comment #2)
> https://tbpl.mozilla.org/php/getParsedLog.php?id=16841860&tree=Mozilla-
> Inbound&full=1
>
> hg is getting installed via mock_mozilla install ...
>
> DEBUG: mozilla-python27-mercurial
> DEBUG: x86_64 2.1.1-4.el6
> releng-centos6-x86_64 1.4 M
>
> perhaps PATH is wrong? I believe mozilla-python27-mercurial installs to
> /usr/local/bin
You are right. How did I miss that? I guess grepping for hg wasn't quite enough. Thanks!
/tools/python27-mercurial/bin gets added to $PATH. What is that for? The package name 'mozilla-python27-mercurial' suggests a relation. But if it put it there, then it should have been found, so it seems like you must be right.
So maybe I'll try adding /usr/local/bin to the path of the mock builders.
Comment 4•13 years ago
|
||
fixed?
Reporter | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Assignee | ||
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
•