Closed
Bug 837936
Opened 12 years ago
Closed 12 years ago
Need per-commit builds of B2G desktop build (on all mozilla-central merging trees)
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgriffin, Assigned: mozilla)
References
Details
(Keywords: sheriffing-P1)
Attachments
(5 files, 1 obsolete file)
(deleted),
patch
|
bhearsum
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bhearsum
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bhearsum
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bhearsum
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bhearsum
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
In order to start running Gaia Unit tests in automation (bug 833666) we'll need to have b2g desktop builds built per-commit. AFAICT, we are only generating them as nightlies right now.
The nightly b2g desktop build we're creating includes a bundled gaia, but this is a non-debug version. The per-commit builds that we will use for Gaia Unit tests need a debug gaia - the output of 'DEBUG=1 make' in the gaia directory.
Reporter | ||
Comment 1•12 years ago
|
||
(In reply to Jonathan Griffin (:jgriffin) from comment #0)
> The per-commit builds that we will use for
> Gaia Unit tests need a debug gaia - the output of 'DEBUG=1 make' in the gaia
> directory.
Make that 'DEBUG=1 NOFTU=1 make'
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Jonathan Griffin (:jgriffin) from comment #1)
> (In reply to Jonathan Griffin (:jgriffin) from comment #0)
> > The per-commit builds that we will use for
> > Gaia Unit tests need a debug gaia - the output of 'DEBUG=1 make' in the gaia
> > directory.
>
> Make that 'DEBUG=1 NOFTU=1 make'
More experimentation shows that we'll need to generate the gaia profile from within the mozharness script of the test job, so it doesn't matter how it's generated as part of the build...we could use the exact same job as produces the current nightly.
Comment 3•12 years ago
|
||
Yes, please.
Yesterday, a Gaia commit caused these builds to break, but was not caught immediately due to the low checkin volume on the b2g18 branches. Having these builds on inbound/m-c would have enabled us to find this bustage much faster. Moreover, given that we're frequently uplifting patches from m-c to the release branches where these builds are generated per-commit, we should be making sure we aren't breaking them beforehand.
Updated•12 years ago
|
Summary: Need per-commit builds of B2G desktop build → Need per-commit builds of B2G desktop build (on all mozilla-central merging trees)
Updated•12 years ago
|
Keywords: sheriffing-P1
Comment 4•12 years ago
|
||
Another data point - the moz.build landing broke these nightlies on m-c, but due to their hidden status, nobody noticed.
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Jonathan Griffin (:jgriffin) from comment #0)
> In order to start running Gaia Unit tests in automation (bug 833666) we'll
> need to have b2g desktop builds built per-commit. AFAICT, we are only
> generating them as nightlies right now.
It's really easy to turn on depend desktop builds.
> The nightly b2g desktop build we're creating includes a bundled gaia, but
> this is a non-debug version. The per-commit builds that we will use for
> Gaia Unit tests need a debug gaia - the output of 'DEBUG=1 make' in the gaia
> directory.
However, this step needs more info.
* I don't think we currently run make in gaia explicitly currently. When should we do this? Before make -f client.mk build, or after, but before adding locales, or ...?
* Does it make sense to do a DEBUG=1 make in an opt desktop build? Or do we need to turn on debug desktop builds?
Reporter | ||
Comment 6•12 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #5)
> * I don't think we currently run make in gaia explicitly currently. When
> should we do this? Before make -f client.mk build, or after, but before
> adding locales, or ...?
> * Does it make sense to do a DEBUG=1 make in an opt desktop build? Or do we
> need to turn on debug desktop builds?
It turns out we'll need to build gaia on the test slaves (I already verified we can) in the mozharness script for these tests, so we don't need to worry about DEBUG=1 or gaia's make; we can use the exact same mechanism that is used to generate the B2G nightlies.
Comment 7•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #4)
> Another data point - the moz.build landing broke these nightlies on m-c, but
> due to their hidden status, nobody noticed.
Not quite literally true - I've noticed that particular bustage repeatedly, and told several people, some of whom expressed temporary interest, but I didn't feel like filing a bug about it if absolutely nobody was missing them.
Assignee | ||
Comment 8•12 years ago
|
||
Localizer builds are still nightly-only.
This patch has the side effect of enabling b2g desktop builds on Try, which seems desirable.
Passes test-masters.sh.
Assignee: nobody → aki
Attachment #725665 -
Flags: review?(bhearsum)
Updated•12 years ago
|
Attachment #725665 -
Flags: review?(bhearsum) → review+
Comment 9•12 years ago
|
||
FYI, desktop B2G builds are currently broken on Windows (bug 852107).
Assignee | ||
Comment 10•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #9)
> FYI, desktop B2G builds are currently broken on Windows (bug 852107).
I'm going to guess this isn't blocking landing this bug?
Comment 11•12 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #10)
> (In reply to Ryan VanderMeulen [:RyanVM] from comment #9)
> > FYI, desktop B2G builds are currently broken on Windows (bug 852107).
>
> I'm going to guess this isn't blocking landing this bug?
Correct, we can hide them for now :-)
Assignee | ||
Comment 12•12 years ago
|
||
Comment on attachment 725665 [details] [diff] [review]
depend desktop builds
http://hg.mozilla.org/build/buildbot-configs/rev/384a353ceae9
Attachment #725665 -
Flags: checked-in+
Comment 13•12 years ago
|
||
This is in production now.
Assignee | ||
Comment 14•12 years ago
|
||
I see some desktop Beegees on inbound.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 15•12 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #14)
> I see some desktop Beegees on inbound.
Awesome, thanks!
Assignee | ||
Comment 16•12 years ago
|
||
* make check appears to have issues in these builds; that would seem to be a separate bug, unless we need those to be turned off.
* try builds aren't pulling gaia, and are perma-red. Reopening for this issue.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 17•12 years ago
|
||
We don't do 'make check' on B2G desktop builds on mozilla-b2g18, so I'm guessing we should turn them off here as well. But, I'll file a bug for the current failures since people may be interested.
Assignee | ||
Comment 18•12 years ago
|
||
TryBuildFactory completely overrides MercurialBuildFactory.addSourceSteps(), which contains the gaia logic.
I'm basically pulling the gaia bits out of addSourceSteps(), into addGaiaSourceSteps(). Then I'm calling that method from both MercurialBuildFactory.addSourceSteps() and TryBuildFactory.addSourceSteps().
The diff chose to represent this in a weird way; hopefully it's clear.
I'm pretty sure this'll fix it; let me know if you need me to test further than test-masters.sh.
Attachment #726377 -
Flags: review?(bhearsum)
Reporter | ||
Comment 19•12 years ago
|
||
'make check' problem filed as bug 852320.
Assignee | ||
Comment 20•12 years ago
|
||
Weird, we explicitly globally turn on 'enable_checktests' for these platforms, then turn them off on b2g18 and b2g18_v1_0_1.
Easy enough to turn them off everywhere; patch incoming.
Assignee | ||
Comment 21•12 years ago
|
||
Haven't been able to figure out why these are on for non-b2g18* branches, and they appear to be perma-orange.
Attachment #726380 -
Flags: review?(bhearsum)
Comment 22•12 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #21)
> Created attachment 726380 [details] [diff] [review]
> disable b2g desktop checktests everywhere
>
> Haven't been able to figure out why these are on for non-b2g18* branches,
> and they appear to be perma-orange.
Since bug 852320 has now hopefully just been fixed, do we need to turn these off? Should we try to enable them on b2g18 too?
Assignee | ||
Comment 23•12 years ago
|
||
I imagine we'll want that patch to land in b2g18*, and any other fixes that aren't uplifted, before we turn them on there.
I'm happy to do whatever that results in good use of compute time and useful information. If bug 852320 is fixed on inbound-only, I think that means I should obsolete this patch and leave things the way they are?
Comment 24•12 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #23)
> If bug 852320 is fixed on inbound-only, I think that means I
> should obsolete this patch and leave things the way they are?
I would imagine so; who from the B2G team can we get to weigh in on whether we want them enabled for all trees (not that it need block this bug)?
Comment 25•12 years ago
|
||
That was only one of the two failures showing so far, and it remains to be seen whether there were others below that one which put a stop to everything.
Reporter | ||
Comment 26•12 years ago
|
||
(In reply to Ed Morley [:edmorley UTC+0] from comment #24)
> (In reply to Aki Sasaki [:aki] from comment #23)
> > If bug 852320 is fixed on inbound-only, I think that means I
> > should obsolete this patch and leave things the way they are?
>
> I would imagine so; who from the B2G team can we get to weigh in on whether
> we want them enabled for all trees (not that it need block this bug)?
Sounds like an issue for Jonas. Jonas, is there value in running 'make check' on B2G desktop builds? Currently we're not doing so on mozilla-b2g18, and there is a problem or two with these tests on mozilla-inbound, where they've just been enabled.
Flags: needinfo?(jonas)
Comment 27•12 years ago
|
||
Comment on attachment 726380 [details] [diff] [review]
disable b2g desktop checktests everywhere
Review of attachment 726380 [details] [diff] [review]:
-----------------------------------------------------------------
It sounds like you probably don't want to land this, given comment #24, but r+ in case you need to.
Attachment #726380 -
Flags: review?(bhearsum) → review+
Comment 28•12 years ago
|
||
Comment on attachment 726377 [details] [diff] [review]
fix gaia source on try builds
Review of attachment 726377 [details] [diff] [review]:
-----------------------------------------------------------------
I don't see a gecko l10n root being set for try: https://github.com/mozilla/build-buildbot-configs/blob/master/mozilla/b2g_config.py#L926. I think that's going to make this patch fail at runtime.
::: process/factory.py
@@ +1180,1 @@
> if self.gaiaRepo:
I think it'd be clearer to move this check to addSourceSteps so that we avoid calling addGaiaSourceSteps unless it's actually going to do something.
Attachment #726377 -
Flags: review?(bhearsum) → review-
Comment 29•12 years ago
|
||
Hidden on m-c due to bug 852543.
Comment 30•12 years ago
|
||
Hidden on try due to too many people asking me why there was a red build that had nothing to do with them on their try push.
Assignee | ||
Comment 32•12 years ago
|
||
Attachment #726377 -
Attachment is obsolete: true
Attachment #726782 -
Flags: review?(bhearsum)
Updated•12 years ago
|
Attachment #726780 -
Flags: review?(bhearsum) → review+
Updated•12 years ago
|
Attachment #726782 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 33•12 years ago
|
||
Comment on attachment 726780 [details] [diff] [review]
try gecko_l10n_root
http://hg.mozilla.org/build/buildbot-configs/rev/d7a16feeb117
Attachment #726780 -
Flags: checked-in+
Assignee | ||
Comment 34•12 years ago
|
||
Comment on attachment 726782 [details] [diff] [review]
fix gaia source on try builds take 2
http://hg.mozilla.org/build/buildbotcustom/rev/d18bddd3a1d1
Attachment #726782 -
Flags: checked-in+
Comment 35•12 years ago
|
||
Reason for b2g18 make check being disabled:
https://bugzilla.mozilla.org/show_bug.cgi?id=821401#c20
Assignee | ||
Comment 36•12 years ago
|
||
Heh, I guess I've forgotten.
Bug 853024 and history working in these 1.0 projects leads me to believe that test failures are going to be low priority compared to shipping features and fixing blocker bugs. I'm inclined to disable |make check| everywhere until that changes.
Assignee | ||
Comment 37•12 years ago
|
||
Comment on attachment 726380 [details] [diff] [review]
disable b2g desktop checktests everywhere
I'm making a call here in the absence of any other information.
Disabling |make check|, since a broken build would cause dev action; broken tests will just hide broken builds.
Easy enough to reenable should dev priorities change.
http://hg.mozilla.org/build/buildbot-configs/rev/5a8166d1c4bd
Attachment #726380 -
Flags: checked-in+
Assignee | ||
Comment 38•12 years ago
|
||
For RyanVM. Allows devs to green these up without hiding/wasting build cycles on the other branches.
Attachment #727345 -
Flags: review?(bhearsum)
Comment 39•12 years ago
|
||
Comment on attachment 727345 [details] [diff] [review]
enable make check for try only
Review of attachment 727345 [details] [diff] [review]:
-----------------------------------------------------------------
How long do these tests take? It still seems wasteful to turn these on if no one is _actively_ looking at them.
Comment 40•12 years ago
|
||
I'm intending to at least get the broken tests disabled within the next day or two. If I can't run these builds on Try, I don't know how I'll be able to do so.
Comment 41•12 years ago
|
||
Comment on attachment 727345 [details] [diff] [review]
enable make check for try only
Review of attachment 727345 [details] [diff] [review]:
-----------------------------------------------------------------
shrug
Attachment #727345 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 42•12 years ago
|
||
Comment on attachment 727345 [details] [diff] [review]
enable make check for try only
http://hg.mozilla.org/build/buildbot-configs/rev/2e1f693fa05b
Attachment #727345 -
Flags: checked-in+
(In reply to Jonathan Griffin (:jgriffin) from comment #26)
> Sounds like an issue for Jonas. Jonas, is there value in running 'make
> check' on B2G desktop builds? Currently we're not doing so on
> mozilla-b2g18, and there is a problem or two with these tests on
> mozilla-inbound, where they've just been enabled.
I don't actually know. Needinfo'ing some people that might.
Flags: needinfo?(jonas)
Flags: needinfo?(fabrice)
Flags: needinfo?(21)
Comment 44•12 years ago
|
||
The fact that they're failing when desktop Firefox builds aren't is worrying IMO...
Comment 45•12 years ago
|
||
(In reply to Ben Hearsum [:bhearsum] from comment #39)
> Comment on attachment 727345 [details] [diff] [review]
> enable make check for try only
>
> How long do these tests take? It still seems wasteful to turn these on if no
> one is _actively_ looking at them.
Or we could use |try_by_default: False|
Comment 46•12 years ago
|
||
I'm perfectly fine with checktests being off by default as long as there's *some* way for me to push with them enabled.
Comment 47•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #46)
> I'm perfectly fine with checktests being off by default as long as there's
> *some* way for me to push with them enabled.
try_by_default is at the job level; make check would have to be on for all try B2g desktop builds (which is fine) - I'm just saying that if bhearsum was concerned about load, we could just make the B2G desktop builds not run by default (ie the try feature sfink recently added).
Comment 48•12 years ago
|
||
Merged change from this bug and I reconfigured the masters.
Assignee | ||
Comment 49•12 years ago
|
||
I think we're done here, though we could still use further information about whether we care about |make check| on other branches.
-> RESO FIXED; reopen or file new to enable |make check| elsewhere (or disable on try, or w/e).
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Comment 50•12 years ago
|
||
Thanks for all the help, aki! Agreed that any follow-up work can be done in other bugs.
Updated•11 years ago
|
Flags: needinfo?(fabrice)
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Flags: needinfo?(21)
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
•