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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: selenamarie, Assigned: aselagea)

Details

Attachments

(3 files, 8 obsolete files)

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.
Attached patch bug_1227277.patch (obsolete) — Splinter Review
Attachment #8692027 - Flags: review?(kmoir)
Attached file builder_diff.txt (obsolete) —
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.
Attached patch bug_1227277.patch (obsolete) — Splinter Review
Updated patch. Thanks for suggestions Kim!
Attachment #8692027 - Attachment is obsolete: true
Attachment #8692027 - Flags: review?(kmoir)
Attachment #8692963 - Flags: review?(kmoir)
Attached file builder_diff.txt (obsolete) —
Attachment #8692028 - Attachment is obsolete: true
Attachment #8692963 - Flags: review?(kmoir) → review+
Assignee: nobody → alin.selagea
Attachment #8692963 - Flags: checked-in+
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-
Attached patch bug_1227277.patch (obsolete) — Splinter Review
okay, let's see if this works :)
Attachment #8692963 - Attachment is obsolete: true
Attachment #8693016 - Flags: review?(kmoir)
Attached file builder_diff.txt (obsolete) —
Attachment #8692964 - Attachment is obsolete: true
Attached file tester_diff.txt (obsolete) —
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-
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
Attached patch bug_1227277.patch (obsolete) — Splinter Review
Updated patch.
Attachment #8693016 - Attachment is obsolete: true
Attachment #8694810 - Flags: review?(kmoir)
Attached file tester_diff.txt
Attachment #8693018 - Attachment is obsolete: true
Attached file builder_diff.txt
Attachment #8693017 - Attachment is obsolete: true
Attachment #8694810 - Flags: review?(kmoir) → review+
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)
fx-team is closed, since nothing landed there can merge to m-c now.
Severity: normal → blocker
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.
And that unified patch would be this.
Attachment #8694810 - Attachment is obsolete: true
Attachment #8696135 - Flags: review?
Severity: blocker → normal
Flags: needinfo?(kmoir)
Attachment #8696135 - Flags: review? → review+
Flags: needinfo?(alin.selagea)
I'm likely to need them back on ash this week, will take care of that when I need it.
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+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: