Closed
Bug 1022862
Opened 10 years ago
Closed 10 years ago
Split Marionette and WebAPI tasks on B2G so we have Mn and Mnw
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(firefox33 wontfix, firefox34 fixed, firefox35 fixed, b2g-v1.4 fixed, b2g-v2.0 fixed, b2g-v2.0M fixed, b2g-v2.1 fixed, b2g-v2.2 fixed)
People
(Reporter: automatedtester, Assigned: automatedtester)
References
Details
(Whiteboard: [affects=marionette][status-b2g-v1.3:fixed][status-b2g-v1.3t:fixed])
Attachments
(2 files, 6 obsolete files)
(deleted),
patch
|
jlund
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
Currently we have both the marionette unit tests and the web api tests run on the same job on B2G.
Unfortunately WebAPI tests have a high intermittent count (either from b2g or gecko crashes) and are on the verge of being hidden on TBPL. See https://tbpl.mozilla.org/?tree=Try&rev=8fa5dc94a2d2 as an example of how intermittent they are.
Losing the Mn tests from TBPL has the potential to allow marionette regressions on to b2g which has a bigger impact than potentially just letting through WebAPI regressions.
we should split the suites or have it as a "chunk" in Mn
Comment 1•10 years ago
|
||
Thank you for filing this after our meeting Monday - splitting these two into separate jobs will:
* Mean any future hiding of webapi tests will not affect the visibility of marionette sanity tests
* Make it easier for sheriffs and other devs to know where to file bugs against when issues occur (as well as reduce the tainting of Marionette as a harness by flaky webapi tests; which would inevitably be followed by the boy-who-called-wolf effect, similar to what happened with Android infra issues a few years ago).
Updated•10 years ago
|
Whiteboard: [affects=marionette]
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → dburns
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8448253 -
Flags: feedback?(jgriffin)
Comment 3•10 years ago
|
||
Comment on attachment 8448253 [details] [diff] [review]
Part 1 - Update buildconfig to split Mn and Mnw
Review of attachment 8448253 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good so far; you'll also have to add a 'marionette' section to the emulator's 'suite_config', here:
http://hg.mozilla.org/build/buildbot-configs/file/680a941f66fe/mozilla-tests/b2g_config.py#l1095
Attachment #8448253 -
Flags: feedback?(jgriffin) → feedback+
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8488065 -
Flags: feedback?(jgriffin)
Assignee | ||
Updated•10 years ago
|
Attachment #8448253 -
Attachment is obsolete: true
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8488073 -
Flags: review?(jgriffin)
Assignee | ||
Comment 6•10 years ago
|
||
now with 100% more manifest file
Attachment #8488078 -
Flags: review?(jgriffin)
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8488081 -
Flags: review?(jgriffin)
Assignee | ||
Updated•10 years ago
|
Attachment #8488073 -
Attachment is obsolete: true
Attachment #8488073 -
Flags: review?(jgriffin)
Assignee | ||
Updated•10 years ago
|
Attachment #8488078 -
Attachment is obsolete: true
Attachment #8488078 -
Flags: review?(jgriffin)
Comment 8•10 years ago
|
||
Comment on attachment 8488081 [details] [diff] [review]
Create a manifest just for marionette web-api tests
Review of attachment 8488081 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm
Attachment #8488081 -
Flags: review?(jgriffin) → review+
Comment 9•10 years ago
|
||
Comment on attachment 8488065 [details] [diff] [review]
Update buildconfig to split Mn and Mnw
Review of attachment 8488065 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good so far. A couple of other changes you'll need:
Everywhere you see 'marionette-webapi', like http://hg.mozilla.org/build/buildbot-configs/file/4092544e664c/mozilla-tests/b2g_config.py#l1124, you'll need to add a --test-manifest=webapi-tests.ini argument.
Everywhere you see 'marionette-webapi', you'll need to add a new block for 'marionette' (the one you just created) and pass it the same --cfg arg as 'marionette-webapi' currently uses, but no need to include a --test-manifest argument.
Attachment #8488065 -
Flags: feedback?(jgriffin) → feedback+
Assignee | ||
Updated•10 years ago
|
Keywords: leave-open
Assignee | ||
Comment 10•10 years ago
|
||
Comment 11•10 years ago
|
||
Assignee | ||
Comment 12•10 years ago
|
||
Updated as suggested, if you think it is ready for review please defer to the correct person.
Attachment #8489916 -
Flags: feedback?(jgriffin)
Assignee | ||
Updated•10 years ago
|
Attachment #8488065 -
Attachment is obsolete: true
Comment 13•10 years ago
|
||
Comment on attachment 8489916 [details] [diff] [review]
Update buildconfig to split Mn and Mnw
Review of attachment 8489916 [details] [diff] [review]:
-----------------------------------------------------------------
Almost ready for review!
::: mozilla-tests/b2g_config.py
@@ +1376,4 @@
> 'marionette-webapi': {
> 'extra_args': [
> "--cfg", "marionette/automation_emulator_config.py",
> + "--manifest", "webapi-tests.ini"
Should be --test-manifest, see http://hg.mozilla.org/build/mozharness/file/d75b03fc4d56/scripts/marionette.py#l99
@@ +1883,3 @@
> 'marionette-webapi': {
> 'extra_args': [
> "--cfg", "marionette/automation_emulator_config.py",
Need to add the --test-manifest arg here.
@@ +1916,3 @@
> 'marionette-webapi': {
> 'extra_args': [
> "--cfg", "marionette/automation_emulator_config.py",
Need to add the --test-manifest arg here.
Attachment #8489916 -
Flags: feedback?(jgriffin) → feedback+
Assignee | ||
Comment 14•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8489916 -
Attachment is obsolete: true
Assignee | ||
Comment 15•10 years ago
|
||
Changes made as suggested, if there isnt anything else you can suggest can you recommend a reviewer?
Flags: needinfo?(jgriffin)
Updated•10 years ago
|
Attachment #8491150 -
Flags: review?(jlund)
Updated•10 years ago
|
Flags: needinfo?(jgriffin)
Comment 16•10 years ago
|
||
Comment on attachment 8491150 [details] [diff] [review]
Update buildconfig to split Mn and Mnw
Review of attachment 8491150 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm :)
just a sanity check, IIUC the suite we are adding, 'marionette', looks to be the exact same as 'marionette-webapi' used to be prior to this patch. I can see how we add a manifest to marionette-webapi which I assume tells that suite to run webapi component only.
but how does the new suite/job we are adding run only marionette and not the webapi part? Does that need a manifest too or am I grepping things wrong?
Attachment #8491150 -
Flags: review?(jlund) → review+
Assignee | ||
Comment 17•10 years ago
|
||
(In reply to Jordan Lund (:jlund) from comment #16)
> Comment on attachment 8491150 [details] [diff] [review]
> Update buildconfig to split Mn and Mnw
>
> Review of attachment 8491150 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> lgtm :)
>
> just a sanity check, IIUC the suite we are adding, 'marionette', looks to be
> the exact same as 'marionette-webapi' used to be prior to this patch. I can
> see how we add a manifest to marionette-webapi which I assume tells that
> suite to run webapi component only.
>
> but how does the new suite/job we are adding run only marionette and not the
> webapi part? Does that need a manifest too or am I grepping things wrong?
Currently there is a new manifest in central for only webapi but because this change isnt being rolled out to all twigs/branches I want to get my build config change rolled out and then on cedar remove the webapi tests from the main manifest and just triple check (mainly to keep the sheriffs from locking me up and throwing away the key) that I don't break anything when i try do this on Inbound.
There shouldnt be any weird dependencies but want to check that before the major rollout.
Assignee | ||
Comment 18•10 years ago
|
||
what's the process for getting this landed and rolled out? Do I need to set any flags?
Flags: needinfo?(jlund)
Comment 19•10 years ago
|
||
(In reply to David Burns :automatedtester from comment #18)
> what's the process for getting this landed and rolled out? Do I need to set
> any flags?
land on default at hg.m.o/build/buildbot-configs whenever (it's a no-op)
that will run through some tests and show up in #releng whether it passed or failed. releng will merge it to production and roll it out across our integration system ~3 times a week. this bug will be updated whenever that happens.
Flags: needinfo?(jlund)
Assignee | ||
Comment 20•10 years ago
|
||
Comment 21•10 years ago
|
||
In prod with reconfig on 2014-09-22 08:20 PT
Comment 22•10 years ago
|
||
This broke Mnw on Aurora (and probably the other B2G release branches as well):
https://tbpl.mozilla.org/php/getParsedLog.php?id=48588232&tree=Mozilla-Aurora
Also, is it expected that Mn appears to be running the full webapi suite as well? Based on the test counts, it appears that way.
Mnw before: marionette: 533/0/42
Mn after: marionette: 535/0/42
Mnw after: marionette: 203/0/9
Comment 23•10 years ago
|
||
I've reverted the buildbot-configs patch.
http://hg.mozilla.org/build/buildbot-configs/rev/08c6e52d150c
I wasn't comfortable backporting the in-tree manifest patch to the various release branches due to not being sure how comparable the list of tests is from branch to branch. I'd rather not try to sort that out while the tree is actively burning.
But to be clear, we will need in-tree manifests backported to Aurora, b2g32, b2g30, and b2g28_v1_3t before this goes live in production again. They can land a=test-only.
Comment 24•10 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #22)
> Also, is it expected that Mn appears to be running the full webapi suite as
> well? Based on the test counts, it appears that way.
> Mnw before: marionette: 533/0/42
> Mn after: marionette: 535/0/42
> Mnw after: marionette: 203/0/9
OK, I guess this part was expected based on the earlier comments in the bug.
Assignee | ||
Comment 25•10 years ago
|
||
Please land the manifest in Aurora, b2g32, b2g30, and b2g28_v1_3t (see comment 23)
Keywords: checkin-needed
Comment 26•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/205e1704dcb6
https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/f18695cae418
https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/0b494a495ca3
v1.3t is near death, so I'm not going to bother landing this there.
status-b2g-v1.4:
--- → fixed
status-b2g-v2.0:
--- → fixed
status-b2g-v2.1:
--- → fixed
status-b2g-v2.2:
--- → fixed
status-firefox33:
--- → wontfix
status-firefox34:
--- → fixed
status-firefox35:
--- → fixed
Keywords: checkin-needed,
leave-open
Comment 27•10 years ago
|
||
status-b2g-v2.0M:
--- → fixed
Assignee | ||
Comment 28•10 years ago
|
||
Comment 29•10 years ago
|
||
So apparently the manifest cleanups I snuck in with these patches made Mnw perma-fail (see bug 1067363). Fantastic.
Reverted that part:
https://hg.mozilla.org/mozilla-central/rev/ad2e5aff3a3a
https://hg.mozilla.org/releases/mozilla-aurora/rev/973e99d258a8
https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/75521744e0e8
https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/1dad764fbd52
Assignee | ||
Comment 30•10 years ago
|
||
Assignee | ||
Comment 31•10 years ago
|
||
Assignee | ||
Comment 32•10 years ago
|
||
Assignee | ||
Comment 33•10 years ago
|
||
Assignee | ||
Comment 34•10 years ago
|
||
Assignee | ||
Comment 35•10 years ago
|
||
Assignee | ||
Comment 36•10 years ago
|
||
Attachment #8500039 -
Flags: review?(jgriffin)
Assignee | ||
Updated•10 years ago
|
Attachment #8488081 -
Attachment is obsolete: true
Comment 37•10 years ago
|
||
Comment on attachment 8500039 [details] [diff] [review]
remove WebApi tests from Marionette unit tests manifests:
Review of attachment 8500039 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm
Attachment #8500039 -
Flags: review?(jgriffin) → review+
Assignee | ||
Comment 38•10 years ago
|
||
Comment 39•10 years ago
|
||
Comment 40•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Comment 41•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g28_v1_3/rev/3a208c39bcb9
https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/3a208c39bcb9
Don't ask.
Whiteboard: [affects=marionette] → [affects=marionette][status-b2g-v1.3:fixed][status-b2g-v1.3t:fixed]
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•