Closed
Bug 969542
Opened 12 years ago
Closed 11 years ago
Make B2G device builds periodic
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: catlee)
References
Details
(Whiteboard: [b2g])
Attachments
(2 files, 1 obsolete file)
3.33 KB,
patch
|
rail
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
20.69 KB,
patch
|
rail
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
We spend a lot of time building b2g device builds per push just to make sure they compile. Let's try running them periodically instead. This should save a bunch of time on the infra.
Emulator builds should still be done per push. This should catch most bustage from JB/ICS changes.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → catlee
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #8373460 -
Flags: review?(rail)
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #8373462 -
Flags: review?(rail)
Comment 3•12 years ago
|
||
Can we please run these on mozilla-inbound and fx-team now too? We're still going to be way under the load we used to be, and bug 966257 is a real example of bustage that hit on inbound first.
Comment 4•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #3)
> Can we please run these on mozilla-inbound and fx-team now too? We're still
> going to be way under the load we used to be, and bug 966257 is a real
> example of bustage that hit on inbound first.
By "these" I mean all device image builds, FWIW (would also apply to m-c). Also, I don't see any changes to b2g-inbound in the first patch. Is that right?
Comment 5•12 years ago
|
||
This bug may conflict with Clint's ask in bug 969767.
Comment 6•12 years ago
|
||
Maybe we could just store the nightlies that will still run like normal?
Comment 7•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #6)
> Maybe we could just store the nightlies that will still run like normal?
Who is this in response to?
It won't solve bug 969767 if that's what you're asking. That bug specifically wants all per-checkin builds saved for 12 weeks for bisecting purposes; we won't get per-checkin builds if we shift to periodic.
Updated•12 years ago
|
Attachment #8373460 -
Flags: review?(rail) → review+
Updated•12 years ago
|
Attachment #8373462 -
Flags: review?(rail) → review+
Assignee | ||
Comment 8•12 years ago
|
||
12 weeks of periodic builds may be enough?
Flags: needinfo?(ctalbert)
Assignee | ||
Comment 9•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #4)
> (In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #3)
> > Can we please run these on mozilla-inbound and fx-team now too? We're still
> > going to be way under the load we used to be, and bug 966257 is a real
> > example of bustage that hit on inbound first.
Yeah, we can do that. I want to make sure this works properly first!
> By "these" I mean all device image builds, FWIW (would also apply to m-c).
> Also, I don't see any changes to b2g-inbound in the first patch. Is that
> right?
This changes the default behaviour to be periodic builds instead of per-push. The rest of the patch is undoing that default for all the !trunk branches.
Comment 10•12 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #5)
> This bug may conflict with Clint's ask in bug 969767.
Yes it does. Specifically, we need per-push builds on b2g-inbound so that we can use tinderbox-builds to do quicker manual bisections without building b2g over and over again on our laptops. If we could work out an API where a tester could request specific device builds from old pushes then we could solve both problems - we could run our builds periodically and still support our bisection needs (that old bisect-in-the-cloud idea of mine ;-) ).
But for the moment, the only option we have is brute force, unfortunately. So, one consideration I could make is that we only need the builds for the devices that we are testing on for a particular release. Right now, that's the hamachi builds. Maybe we can make a compromise on that so that our testing team is supported with per push builds of the primary device they are using for a given release. And we can set that on a per release basis.
I still think the ideal solution here is a bisect in the cloud solution where my local bisection script uses APIs to talk to the automation and then we only do these builds on an "on demand or periodic" basis.
Flags: needinfo?(ctalbert)
Comment 11•12 years ago
|
||
(In reply to Clint Talbert ( :ctalbert ) from comment #10)
> (In reply to Aki Sasaki [:aki] from comment #5)
> > This bug may conflict with Clint's ask in bug 969767.
>
> Yes it does. Specifically, we need per-push builds on b2g-inbound so that we
> can use tinderbox-builds to do quicker manual bisections without building
> b2g over and over again on our laptops. If we could work out an API where a
> tester could request specific device builds from old pushes then we could
> solve both problems - we could run our builds periodically and still support
> our bisection needs (that old bisect-in-the-cloud idea of mine ;-) ).
>
> But for the moment, the only option we have is brute force, unfortunately.
> So, one consideration I could make is that we only need the builds for the
> devices that we are testing on for a particular release. Right now, that's
> the hamachi builds. Maybe we can make a compromise on that so that our
> testing team is supported with per push builds of the primary device they
> are using for a given release. And we can set that on a per release basis.
Ok. This means the currently attached patches need changing to allow for per-checkin builds for at least hamachi{,-eng}? on b2g-inbound, and then we need to allow for pvtbuilds uploads of hamachi.
> I still think the ideal solution here is a bisect in the cloud solution
> where my local bisection script uses APIs to talk to the automation and then
> we only do these builds on an "on demand or periodic" basis.
Yeah. I think that requires in-tree manifests, which we only recently have, otherwise we're building against tip of gaia/gonk even when bisecting. After that we *may* have enough hooks in buildbot land to be able to do this without massive changes ? (Not 100% sure)
Assignee | ||
Comment 12•12 years ago
|
||
same as before, except leaves hamachi per-push
Attachment #8373460 -
Attachment is obsolete: true
Attachment #8373627 -
Flags: review?(rail)
Updated•12 years ago
|
Attachment #8373627 -
Flags: review?(rail) → review+
Assignee | ||
Updated•12 years ago
|
Attachment #8373627 -
Flags: checked-in+
Assignee | ||
Updated•12 years ago
|
Attachment #8373462 -
Flags: checked-in+
Comment 13•12 years ago
|
||
Live in production (not getting CCed).
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 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
•