Closed
Bug 715853
Opened 14 years ago
Closed 14 years ago
AggregatingScheduler should update its builders on reconfig and allow resetting the state
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: rail)
Details
Attachments
(1 file, 1 obsolete file)
|
2.67 KB,
patch
|
catlee
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
AggregatingScheduler doesn't update its up/downstream builders on reconfig what may be a problem when we rename builder names (undead scheduler).
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #586408 -
Flags: review?(catlee)
| Assignee | ||
Comment 2•14 years ago
|
||
Comment on attachment 586408 [details] [diff] [review]
compare remainingBuilders and upstreamBuilders
New versin will be ready a little bit later.
Attachment #586408 -
Flags: review?(catlee)
| Assignee | ||
Updated•14 years ago
|
Summary: AggregatingScheduler should update its builders on reconfig → AggregatingScheduler should update its builders on reconfig and allow resetting the state
| Assignee | ||
Comment 3•14 years ago
|
||
* Inherit Triggerable to make buildbot happy. It uses isinstance(scheduler, Ttiggerable)
* add trigger method which resets the state
* _startService now checks additions and removal now
Example usage in process/release.py:
aggregating_shedulers = []
for s in schedulers:
if isinstance(s, AggregatingScheduler):
aggregating_shedulers.append(s.name)
if aggregating_shedulers:
scheduler_reset_factory = BuildFactory()
scheduler_reset_factory.addStep(Trigger(
schedulerNames=aggregating_shedulers,
))
builders.append({
'name': builderPrefix(
'%s_reset_schedulers' % releaseConfig['productName']),
'slavenames': all_slaves,
'category': builderPrefix(''),
'builddir': builderPrefix(
'%s_reset_schedulers' % releaseConfig['productName']),
'factory': scheduler_reset_factory,
})
Attachment #586408 -
Attachment is obsolete: true
Attachment #587304 -
Flags: review?(catlee)
Updated•14 years ago
|
Attachment #587304 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 4•14 years ago
|
||
Comment on attachment 587304 [details] [diff] [review]
add trigger() and startService()
http://hg.mozilla.org/build/buildbotcustom/rev/0b809be1d315
Attachment #587304 -
Flags: checked-in+
| Assignee | ||
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•