Closed
Bug 1227277
Opened 10 years ago
Closed 10 years ago
Disabling b2g builds on project branches other than pine
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: selenamarie, Assigned: aselagea)
Details
Attachments
(3 files, 8 obsolete files)
|
17.17 KB,
text/plain
|
Details | |
|
6.05 KB,
text/plain
|
Details | |
|
3.95 KB,
patch
|
kmoir
:
review+
kmoir
:
checked-in+
|
Details | Diff | Splinter Review |
We need to disable b2g builds on the following branches unless there's some B2G-specific reason for running them:
alder
ash
cedar
cypress
fx-team
gum
jamun
larch
maple
oak
Based on feedback in https://public.etherpad-mozilla.org/p/b2g-build-audit B2G is only using pine.
This reduces our build storage requirements by about 80 GB/day.
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8692027 -
Flags: review?(kmoir)
| Assignee | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Comment on attachment 8692027 [details] [diff] [review]
bug_1227277.patch
This is works, however, I think a better solution would be to iterate over the values in ACTIVE_PROJECT_BRANCHES and if it's not in pine, disable it. This way we don't have two sources of truth if the list of ACTIVE_PROJECT_BRANCHES changes from the list you have defined.
| Assignee | ||
Comment 4•10 years ago
|
||
Updated patch.
Thanks for suggestions Kim!
Attachment #8692027 -
Attachment is obsolete: true
Attachment #8692027 -
Flags: review?(kmoir)
Attachment #8692963 -
Flags: review?(kmoir)
| Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8692028 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8692963 -
Flags: review?(kmoir) → review+
Updated•10 years ago
|
Assignee: nobody → alin.selagea
Updated•10 years ago
|
Attachment #8692963 -
Flags: checked-in+
Comment 6•10 years ago
|
||
Comment on attachment 8692963 [details] [diff] [review]
bug_1227277.patch
The build failed
https://travis-ci.org/mozilla/build-buildbot-configs/jobs/93530737
The reason is that there are still test builders associated with these builds and they need to be removed. So this patch is okay but we also need a patch to remove the associated test builders.
Attachment #8692963 -
Flags: checked-in+ → checked-in-
| Assignee | ||
Comment 7•10 years ago
|
||
okay, let's see if this works :)
Attachment #8692963 -
Attachment is obsolete: true
Attachment #8693016 -
Flags: review?(kmoir)
| Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8692964 -
Attachment is obsolete: true
| Assignee | ||
Comment 9•10 years ago
|
||
Comment 10•10 years ago
|
||
Comment on attachment 8693016 [details] [diff] [review]
bug_1227277.patch
mozilla-inbound and b2g-inbound are not listed among the branches where you want to remove the builders
https://bugzilla.mozilla.org/show_bug.cgi?id=1227277#c0
Also you can remove the bits like this
+# Disabled for bug 1227277
+# BRANCHES['alder']['branch_name'] = "Alder"
+# BRANCHES['alder']['repo_path'] = "projects/alder"... entirely instead of just commenting them out. If we ever need to add them back we can just look at this bug.
Attachment #8693016 -
Flags: review?(kmoir) → review-
Comment 11•10 years ago
|
||
You are correct ACTIVE_PROJECT_BRANCHES specifies mozilla-inbound, fx-team and b2g-inbound. However, according to comment #0, we don't want to disable on b2g-inbound or mozilla-inbound.
So you could do something like this
B2GTWIGS = [x for x in ACTIVE_PROJECT_BRANCHES if x not in ('mozilla-inbound', 'b2g-inbound', 'pine')]
as is here
http://hg.mozilla.org/build/buildbot-configs/file/tip/mozilla-tests/config.py#l65
to further reduce the list of branches from the ACTIVE_BRANCHES that you want to disable
| Assignee | ||
Comment 12•10 years ago
|
||
Updated patch.
Attachment #8693016 -
Attachment is obsolete: true
Attachment #8694810 -
Flags: review?(kmoir)
| Assignee | ||
Comment 13•10 years ago
|
||
Attachment #8693018 -
Attachment is obsolete: true
| Assignee | ||
Comment 14•10 years ago
|
||
Attachment #8693017 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8694810 -
Flags: review?(kmoir) → review+
Updated•10 years ago
|
Attachment #8694810 -
Flags: checked-in+
These need to be turned back on for fx-team, as it is NOT a project branch, but instead a co-equal branch with mozilla-inbound and b2g-inbound.
Flags: needinfo?(alin.selagea)
Comment 16•10 years ago
|
||
fx-team is closed, since nothing landed there can merge to m-c now.
Severity: normal → blocker
Flags: needinfo?(kmoir)
I've backed out the offending patch and cherry-picked it to production to get things reopened over the weekend. I'm almost positive https://pastebin.mozilla.org/8853890 is all that would be needed (on top of the original patch) to get things successfully resolved here.
Attachment #8694810 -
Flags: checked-in+ → checked-in-
And that unified patch would be this.
Attachment #8694810 -
Attachment is obsolete: true
Attachment #8696135 -
Flags: review?
Updated•10 years ago
|
Severity: blocker → normal
Updated•10 years ago
|
Flags: needinfo?(kmoir)
Attachment #8696135 -
Flags: review? → review+
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(alin.selagea)
Comment 19•10 years ago
|
||
I'm likely to need them back on ash this week, will take care of that when I need it.
Comment 20•10 years ago
|
||
Comment on attachment 8696135 [details] [diff] [review]
Original patch but don't disable fx-team
This was landed here
http://hg.mozilla.org/build/buildbot-configs/rev/6bac4fc6f593
and merged to production a week or so ago
Attachment #8696135 -
Flags: checked-in+
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
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
•