Closed Bug 1596770 Opened 5 years ago Closed 5 years ago

Add '--enable-fission' command line argument to 'mach marionette-test'

Categories

(Remote Protocol :: Marionette, task)

Version 3
task
Not set
normal

Tracking

(Fission Milestone:M6, firefox72 fixed)

RESOLVED FIXED
mozilla72
Fission Milestone M6
Tracking Status
firefox72 --- fixed

People

(Reporter: marauder, Assigned: marauder)

References

Details

Attachments

(2 files)

I created this bug after Henrik's request from :
https://phabricator.services.mozilla.com/D48660#inline-320565

If there is something needed by AWSY or another harness which is based on Marionette can you please file a separate issue first? That way we can get it properly implemented in Marionette first, and make it available for others too.

Here some things to care about in the new bug to be filed:

  1. We want a proper solution for Marionette harness (including the mach marionette-test command), which isn't working here, because --enable-fission isn't a known option for Marionette. It means the implementation of it should happen in the lowest possible part of the stack, which is not AWSY but Marionette.

  2. I don't expect to see references to other test harnesses in Marionette code. All of those can override certain methods and properties of Marionette classes to customize the behavior. Also references to Treeherder are out of place here. This tool is a couple of layers above Marionette.

  3. Have a look at eg. --disable-e10s how it has to be implemented for Marionette.

  4. When you file the new bug please mark it blocking bug 1518468.

Tentatively moving all bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to the "?" triage milestone.

This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:

0ee3c76a-bc79-4eb2-8d12-05dc0b68e732

Fission Milestone: --- → ?

Henrik,

I added 'fission.autostart' to self.prefs dictionary and I modified locally the marionette tests, to be able to check the 'about:config' settings:
for 'mach marionette-test' -> fission.autostart = False
for 'mach marionette-test --enable-fission' -> fission.autostart = True

I attached an image above.
Let me know if it's all good, to proceed with the "Enable Fission for Awsy" task.
Thanks!

Flags: needinfo?(hskupin)

Yes, that sounds fine. Thanks for the update. I hope to get to your review request soon.

Flags: needinfo?(hskupin)

I finished the last required changes : https://phabricator.services.mozilla.com/D53205#1639035

What do you think about the behavior described in this comment :
https://phabricator.services.mozilla.com/D48660#1618549 ?

Thanks!

Flags: needinfo?(hskupin)

Marian, there is no need to set needinfo if a review is open for that. It only adds a double flag. Thanks

Flags: needinfo?(hskupin)
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/44656d71c606
Add '--enable-fission' command line argument to 'mach marionette-test' r=whimboo,marionette-reviewers

Blocks enabling Fission in Nightly (M6)

Fission Milestone: ? → M6
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: