./mach wpt --enable-fission doesn't enable Fission when running wdspec tests
Categories
(Testing :: geckodriver, defect)
Tracking
(Fission Milestone:M8, 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
Comment 1•4 years ago
|
||
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.
Assignee | ||
Comment 2•4 years ago
|
||
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.
Comment 3•4 years ago
|
||
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.
Comment 4•4 years ago
|
||
Oh, wait. In CI we make use of mozharness instead. Strange that we never noticed that yet.
Comment 5•4 years ago
|
||
James, will you work on that bug? If not maybe you can share some code?
Comment 6•4 years ago
|
||
I've pinged jgraham separately to get an update on this.
Henrik, do you have any other updates/ideas for fixing this?
Assignee | ||
Comment 7•4 years ago
|
||
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.
Comment 8•4 years ago
|
||
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.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 9•4 years ago
|
||
(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:
Comment 10•4 years ago
|
||
Tentatively assigning to jgraham because he is assigned to bug 1678044 and bug 1686707 blocking this bug.
Assignee | ||
Comment 11•4 years ago
|
||
Patches are updated and just waiting for re-review. Sorry for the long delay here.
Assignee | ||
Comment 13•4 years ago
|
||
I believe this should be fixed, unless we missed wiring up the fission-specific part of the patch.
Comment 14•4 years ago
|
||
(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).
Comment 15•3 years ago
|
||
I just checked with the argument and it indeed correctly enables Fission.
Updated•3 years ago
|
Description
•