Closed
Bug 639851
Opened 14 years ago
Closed 14 years ago
Master config should allow release only mode
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: rail)
References
Details
(Whiteboard: [releases][automation][buildmasters])
Attachments
(1 file, 1 obsolete file)
2.76 KB,
patch
|
catlee
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
If you set ACTIVE_PROJECTS and ACTIVE_BRANCHES to [] builder masters fail with the following traceback. This is normal because buildObjects is not passed through mergeBuildObjects.
buildbot checkconfig
Traceback (most recent call last):
File "/builds/buildbot/release-master/sandbox/lib/python2.5/site-packages/buildbot-0.8.2_hg_cf597f8d9b94_default-py2.5.egg/buildbot/scripts/runner.py", line 1039, in doCheckConfig
ConfigLoader(configFileName=configFileName)
File "/builds/buildbot/release-master/sandbox/lib/python2.5/site-packages/buildbot-0.8.2_hg_cf597f8d9b94_default-py2.5.egg/buildbot/scripts/checkconfig.py", line 31, in __init__
self.loadConfig(configFile, check_synchronously_only=True)
File "/builds/buildbot/release-master/sandbox/lib/python2.5/site-packages/buildbot-0.8.2_hg_cf597f8d9b94_default-py2.5.egg/buildbot/master.py", line 624, in loadConfig
exec f in localDict
File "/builds/buildbot/release-master/master/master.cfg", line 54, in <module>
c['builders'].extend(buildObjects['builders'])
KeyError: 'builders'
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'maxint'" in <bound method Popen.__del__ of <subprocess.Popen object at 0x400cef0c>> ignored
make: *** [check] Error 1
Assignee | ||
Comment 1•14 years ago
|
||
This patch should fix the problem. Testing...
Assignee | ||
Updated•14 years ago
|
Assignee | ||
Comment 2•14 years ago
|
||
Comment on attachment 517752 [details] [diff] [review]
Fix master configs
It passes test-master.sh and allows to create a release only master. I created one in staging. The builders page shows "release-*" builders only.
Attachment #517752 -
Flags: review?(catlee)
Updated•14 years ago
|
Attachment #517752 -
Flags: review?(catlee)
Assignee | ||
Comment 3•14 years ago
|
||
This one is clearer. Passes test-masters.sh.
Attachment #517752 -
Attachment is obsolete: true
Attachment #518136 -
Flags: review?(catlee)
Updated•14 years ago
|
Attachment #518136 -
Flags: review?(catlee) → review+
Assignee | ||
Comment 4•14 years ago
|
||
Comment on attachment 518136 [details] [diff] [review]
Fix master configs
http://hg.mozilla.org/build/buildbot-configs/rev/99d615003a87
Attachment #518136 -
Flags: checked-in+
Comment 5•14 years ago
|
||
How will this interact with slavealloc?
Comment 6•14 years ago
|
||
(In reply to comment #5)
> How will this interact with slavealloc?
These would fall under the release-only pool, right?
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•