Closed Bug 510062 Opened 15 years ago Closed 14 years ago

buildbot masters should prioritize stable branches above projects branches

Categories

(Release Engineering :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: coop)

References

Details

(Keywords: student-project, Whiteboard: [buildmasters][automation][simple][oldbugs])

Attachments

(1 file, 1 obsolete file)

...but still prioritize all release work above everything else. So, that means:
releases > mozilla-{central,1.9.1,1.9.2} > tracemonkey,places,electrolysis
Futuring as an enhancement.
Component: Release Engineering → Release Engineering: Future
Mass move of bugs from Release Engineering:Future -> Release Engineering. See
http://coop.deadsquid.com/2010/02/kiss-the-future-goodbye/ for more details.
Component: Release Engineering: Future → Release Engineering
Priority: -- → P3
Whiteboard: [buildmasters][automation]
Assignee: nobody → armenzg
Status: NEW → ASSIGNED
Priority: P3 → P4
Keywords: student-project
Whiteboard: [buildmasters][automation] → [buildmasters][automation][simple]
Whiteboard: [buildmasters][automation][simple] → [buildmasters][automation][simple][oldbugs]
Assignee: armenzg → coop
Status: ASSIGNED → NEW
OS: Mac OS X → All
Priority: P4 → P3
Hardware: x86 → All
Status: NEW → ASSIGNED
Priority: P3 → P2
catlee just touched this code today, so he wins the review request.
Attachment #495932 - Flags: review?(catlee)
Comment on attachment 495932 [details] [diff] [review]
Prioritize m-c, 1.9.2, and 1.9.2 ahead of other branches

config.py is reloaded after master_common in builder_master.cfg, so changes to PRIORITY_BRANCHES wouldn't take effect at the first reconfig.

Also, the mozilla-tests/ masters also use master_common.py, so config.py (or wherever the list ends up) will have to be updated there as well.
Attachment #495932 - Flags: review?(catlee) → review-
(In reply to comment #5)
> config.py is reloaded after master_common in builder_master.cfg, so changes to
> PRIORITY_BRANCHES wouldn't take effect at the first reconfig.

What's the recommended way to make this reconfig-safe then? Move PRIORITY_BRANCHES into master_common?
Comment on attachment 496798 [details] [diff] [review]
Prioritize m-c, 1.9.2, and 1.9.2 ahead of other branches, v2

Moves the PRIORITY_BRANCHES list into master_common to facilitate reconfigs, as discussed in IRC.
Attachment #496798 - Attachment is patch: true
Attachment #496798 - Attachment mime type: application/octet-stream → text/plain
Attachment #496798 - Flags: review?(catlee)
Attachment #495932 - Attachment is obsolete: true
Comment on attachment 496798 [details] [diff] [review]
Prioritize m-c, 1.9.2, and 1.9.2 ahead of other branches, v2

I think instead of "and builder.properties['branch']" we should be doing "and 'branch' in builder.properties", or whatever the properties equivalent is.  The code as it is risks raising a KeyError of the builder doesn't have 'branch'.

r+ with that change.
Attachment #496798 - Flags: review?(catlee) → review+
(In reply to comment #9) 
> I think instead of "and builder.properties['branch']" we should be doing "and
> 'branch' in builder.properties", or whatever the properties equivalent is.  The
> code as it is risks raising a KeyError of the builder doesn't have 'branch'.

builder.properties.has_key('branch') is what we want here. Fixed.
Flags: needs-reconfig?
Comment on attachment 496798 [details] [diff] [review]
Prioritize m-c, 1.9.2, and 1.9.2 ahead of other branches, v2

Landed so it run in preproduction:

http://hg.mozilla.org/build/buildbot-configs/rev/2947e16e6502
Attachment #496798 - Flags: checked-in+
Comment on attachment 495932 [details] [diff] [review]
Prioritize m-c, 1.9.2, and 1.9.2 ahead of other branches

i just want all these bugs out of my computer. please help!!!
Comment on attachment 495932 [details] [diff] [review]
Prioritize m-c, 1.9.2, and 1.9.2 ahead of other branches

i just want all these bugs out of my computer. please help!!! and how can i write in here before if this is my first time ever being here?? i would even be here if my computer wasn't **** up!! so please help me fix all the bugs on my computer. PLEASE
(In reply to comment #10)
> (In reply to comment #9) 
> > I think instead of "and builder.properties['branch']" we should be doing "and
> > 'branch' in builder.properties", or whatever the properties equivalent is.  The
> > code as it is risks raising a KeyError of the builder doesn't have 'branch'.
> 
> builder.properties.has_key('branch') is what we want here. Fixed.

HOW CAN I COMMENT ON SOMETHING IF I WAS NEVER HERE BEFORE!!!!!!!!!
(In reply to comment #14)
> HOW CAN I COMMENT ON SOMETHING IF I WAS NEVER HERE BEFORE!!!!!!!!!

Please stop.

If you need help with Mozilla products, please start here:

http://support.mozilla.com/en-US/home/
Comment on attachment 496798 [details] [diff] [review]
Prioritize m-c, 1.9.2, and 1.9.2 ahead of other branches, v2

Landed on production branch
Clearing reconfig flag.
Flags: needs-reconfig?
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: