Fix failing CSS mochitests with cross-origin and Fission enabled
Categories
(Core :: CSS Parsing and Computation, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: neha, Assigned: boris)
References
Details
Attachments
(2 files, 1 obsolete file)
These tests are marked as skipped/failed for cross-origin and Fission, and need to be fixed
layout/style/test/test_transitions_replacement_on_busy_frame.html
More info: https://wiki.mozilla.org/Project_Fission/Enabling_Tests_with_Fission#Cross-Origin_Mochitests
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Boris: Looks like we have one failing related to transitions. layout/style/test/test_transitions_replacement_on_busy_frame.html
Can you take a look when you have a moment? (If you haven't started on any M6c audits, this is higher priority.)
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
I'm trying to reproduce this issue locally on mac.
It seems layout/style/test/test_transitions_replacement_on_busy_frame.html
is not marked as skip-if and failed-if in mochitest.ini, so I just run this command:
./mach test --enable-fission --enable-xorigin-tests layout/style/test/test_transitions_replacement_on_busy_frame.html
However, it passed. Is there anything I miss in the reproduce steps? Or is this reproducible only on Linux?
(In reply to Boris Chiou [:boris] from comment #2)
Created attachment 9165550 [details]
Screen Shot 2020-07-22 at 14.59.26.pngI'm trying to reproduce this issue locally on mac.
It seems
layout/style/test/test_transitions_replacement_on_busy_frame.html
is not marked as skip-if and failed-if in mochitest.ini, so I just run this command:./mach test --enable-fission --enable-xorigin-tests layout/style/test/test_transitions_replacement_on_busy_frame.html
However, it passed. Is there anything I miss in the reproduce steps? Or is this reproducible only on Linux?
Hi Boris, the test failure was seen during this treeherder run, under test-linux1804-64/opt-mochitest-plain-fis-xorig-e10s-5: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ec97fc16ca8f622267f8d9137fb6d54215726dbb&selectedTaskRun=OnCPwyqTRxe5JAfAFac83g.0
I'm on linux and I actually can't reproduce the failure locally either. This may more appropriate as an intermittent failure?
Assignee | ||
Comment 4•4 years ago
•
|
||
(In reply to Tahia K from comment #3)
Hi Boris, the test failure was seen during this treeherder run, under test-linux1804-64/opt-mochitest-plain-fis-xorig-e10s-5: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ec97fc16ca8f622267f8d9137fb6d54215726dbb&selectedTaskRun=OnCPwyqTRxe5JAfAFac83g.0
I'm on linux and I actually can't reproduce the failure locally either. This may more appropriate as an intermittent failure?
I re-run 4 more times for this test by the same treeherder run (note: 2/5 failure rate), and yes I think this is an intermittent failure. test_transitions_replacement_on_busy_frame.html needs the support of the OMTA (off main thread animation). Perhaps there are something wrong in OMTA.
BTW, it seems test_animation_omta.html is failed in XOrigin sheet. Not sure if it is related.
Assignee | ||
Comment 5•4 years ago
|
||
Trying to tweak the waiting time from 300ms to 500ms:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=42234882143a370282eadfa8b6aad77f55251cf2
Assignee | ||
Comment 6•4 years ago
|
||
(In reply to Boris Chiou [:boris] from comment #5)
Trying to tweak the waiting time from 300ms to 500ms:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=42234882143a370282eadfa8b6aad77f55251cf2
Looks good for now. I will upload this patch for now.
Assignee | ||
Comment 7•4 years ago
|
||
In order to reduce the probability of the intermittent of
test_transitions_replacement_on_busy_frame.html, for Fission and Xorigin test,
I'd like to increase the while loop waiting time from 300ms to 500ms.
It seems I didn't see this failure at least in 10 times in treeherder run.
Assignee | ||
Comment 8•4 years ago
|
||
(In reply to Boris Chiou [:boris] from comment #6)
(In reply to Boris Chiou [:boris] from comment #5)
Trying to tweak the waiting time from 300ms to 500ms:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=42234882143a370282eadfa8b6aad77f55251cf2Looks good for now. I will upload this patch for now.
Looks like no intermittent now after applying my patch. I'd like to wait until Bug 1647720 goes into m-c.
Comment 9•4 years ago
•
|
||
(In reply to Boris Chiou [:boris] from comment #4)
BTW, it seems test_animation_omta.html is failed in XOrigin sheet. Not sure if it is related.
test_animation_omta.html has been flaky since we moved OMTA thread to the sampler thread (bug 1467765) on WebRender. The fis-xorig tests run on the WebRender, right? I know the flakiness reason, but I haven't figured out a good way to resolve the flakiness. The flakiness is not a problem in the wild since the flakiness is due to a test-only API (nsIDOMWindowUtils.getOMTAStyle).
Assignee | ||
Comment 10•4 years ago
|
||
Looks like M-fis-xori is running on Linux 18.04 x64 opt/debug (not webrender, based on the treeherder run). Perhaps it's not related to sampler thread. However, about this bug, I'm still not sure the root cause actually. This only happens on opt build with fis-xorigin.
Updated•4 years ago
|
Assignee | ||
Comment 11•4 years ago
•
|
||
Unfortunately, I cannot reproduce this anymore on treeherder run after adding some logs (note: tried 20 retriggers but no failure). Perhaps this is a timing issue (e.g. timestamp issue), or maybe it is also related to Bug 1634945.
Comment 12•4 years ago
|
||
Isn't it possible that the root cause has been already fixed, then?
Assignee | ||
Comment 13•4 years ago
•
|
||
Maybe. I am writing a patch which just updates mochitest.ini to try. Let's see what happens now.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=33da40f0527abcbd1bd834162f624d75237decb8
Assignee | ||
Comment 14•4 years ago
|
||
Assignee | ||
Comment 15•4 years ago
|
||
(In reply to Boris Chiou [:boris] from comment #13)
Maybe. I am writing a patch which just updates mochitest.ini to try. Let's see what happens now.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=33da40f0527abcbd1bd834162f624d75237decb8
Didn't see any failure related to this issue. I'd like to enable this test for fission-xorigin.
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
bugherder |
Description
•