Closed Bug 1680963 Opened 4 years ago Closed 3 years ago

./mach wpt --enable-fission doesn't enable Fission when running wdspec tests

Categories

(Testing :: geckodriver, defect)

Default
defect

Tracking

(Fission Milestone:M8, firefox-esr78 wontfix, firefox85 wontfix, firefox86 wontfix, firefox87 wontfix, firefox88 wontfix, firefox89 wontfix, firefox90 fixed)

RESOLVED FIXED
90 Branch
Fission Milestone M8
Tracking Status
firefox-esr78 --- wontfix
firefox85 --- wontfix
firefox86 --- wontfix
firefox87 --- wontfix
firefox88 --- wontfix
firefox89 --- wontfix
firefox90 --- fixed

People

(Reporter: smaug, Assigned: jgraham)

References

(Blocks 1 open bug)

Details

./mach wpt --enable-fission testing/web-platform/tests/webdriver/tests/element_click/navigate.py

for example doesn't seem to enable Fission.
On needs to explicitly use
--setpref fission.autostart=true

Hi James, you added the --enable-fission option to mach wpt in bug 1622338. This bug reports --enable-fission doesn't work when running WPT .py tests. Can I assign this bug to you?

Tracking for Fission milestone M6c.

Blocks: 1622338
Fission Milestone: --- → M6c
Flags: needinfo?(james)

It's because we aren't setting the profile when running wdspec tests. I have another patch that fixes this, but some investigation of failures is required.

Flags: needinfo?(james)

Huh, but we correctly pass the preference via the new session command over to geckodriver:
https://treeherder.mozilla.org/logviewer?job_id=323759516&repo=mozilla-central&lineNumber=1481

And all those preferences are getting correctly set in the Firefox profile before it gets started.

Also note that element_click/navigate.py is currently marked as disabled for Fission in the manifest.

Component: Marionette → geckodriver
Summary: ./mach wpt --enable-fission doesn't enable Fission when running .py tests → ./mach wpt --enable-fission doesn't enable Fission when running wdspec tests

Oh, wait. In CI we make use of mozharness instead. Strange that we never noticed that yet.

James, will you work on that bug? If not maybe you can share some code?

Flags: needinfo?(james)

I've pinged jgraham separately to get an update on this.
Henrik, do you have any other updates/ideas for fixing this?

Flags: needinfo?(hskupin)

Apologies for the lack of update here; I was doing the work but forgot to update the relevant bugs. The problem turned out to be "we don't pass a profile into the wdspec Firefox instances at all" and it required some changes in geckodriver so we could pass in a profile and also set test-specific prefs. Anyway https://phabricator.services.mozilla.com/D101772 is the relevant stack. I think :whimboo is the right reviewer but he's away for a couple of weeks. If there's something urgent blocked on this then we could figure out a different review setup.

Apologies again for the radio silence.

Flags: needinfo?(james)

Thank you, jgraham. This is needed to unblock devs working on Fission WPTs, but does not need to block M6c or M7 (Fission on Beta) so moving this to M8.
Keeping whimboo's NI here so they can address jgraham's patch when they're back.

Fission Milestone: M6c → M8
Flags: needinfo?(hskupin)

(In reply to James Graham [:jgraham] from comment #7)

Apologies for the lack of update here; I was doing the work but forgot to update the relevant bugs. The problem turned out to be "we don't pass a profile into the wdspec Firefox instances at all" and it required some changes in geckodriver so we could pass in a profile and also set test-specific prefs. Anyway https://phabricator.services.mozilla.com/D101772 is the relevant stack. I think :whimboo is the right reviewer but he's away for a couple of weeks. If there's something urgent blocked on this then we could figure out a different review setup.

Hi James, what are the next steps for this bug (and --enable-webrender bug 1678044 and profile bug 1686707 blocking it)? Looks like :whimboo left some review feedback for bug 1686707's patch:

https://phabricator.services.mozilla.com/D101772#3461853

Tentatively assigning to jgraham because he is assigned to bug 1678044 and bug 1686707 blocking this bug.

Assignee: nobody → james

Patches are updated and just waiting for re-review. Sorry for the long delay here.

Flags: needinfo?(james)

James, what's left for this particular bug?

Flags: needinfo?(james)

I believe this should be fixed, unless we missed wiring up the fission-specific part of the patch.

Flags: needinfo?(james)

(In reply to Chris Peterson [:cpeterson] from comment #10)

Tentatively assigning to jgraham because he is assigned to bug 1678044 and bug 1686707 blocking this bug.

(In reply to James Graham [:jgraham] from comment #13)

I believe this should be fixed, unless we missed wiring up the fission-specific part of the patch.

Thanks for confirming. In that case, I'll close this bug as fixed (by bug 1678044 and/or bug 1686707).

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

I just checked with the argument and it indeed correctly enables Fission.

Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.