RESOLVED FIXED208272
REGRESSION (r257394) [ Mac wk2 ] media/modern-media-controls/pip-support/pip-support-click.html is flaky timing out.
https://bugs.webkit.org/show_bug.cgi?id=208272
Summary REGRESSION (r257394) [ Mac wk2 ] media/modern-media-controls/pip-support/pip-...
Jason Lawrence
Reported 2020-02-26 15:53:12 PST
media/modern-media-controls/pip-support/pip-support-click.html Description: This test is flaky timing out on Mac wk2. It appears to have a possible regression point of r257394. History: https://results.webkit.org/?suite=layout-tests&test=media%2Fmodern-media-controls%2Fpip-support%2Fpip-support-click.html&flavor=wk2&limit=50000 Diff: --- /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/media/modern-media-controls/pip-support/pip-support-click-expected.txt +++ /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/media/modern-media-controls/pip-support/pip-support-click-actual.txt @@ -1,11 +1,6 @@ -Testing the PiPSupport behavior when clicking the PiP button. +CONSOLE MESSAGE: Unhandled Promise Rejection: InvalidStateError: The video element does not have a video track or it has not detected a video track yet. +#PID UNRESPONSIVE - WebKitTestRunner (pid 78234) +FAIL: Timed out waiting for notifyDone to be called -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". - - -PASS mediaController.controls.pipButton.element.getBoundingClientRect().width became different from 0 -PASS media.webkitPresentationMode is "picture-in-picture" -PASS successfullyParsed is true - -TEST COMPLETE - +#EOF +#EOF
Attachments
Patch (2.93 KB, patch)
2020-02-27 12:53 PST, Ben Nham
no flags
Patch for landing (2.93 KB, patch)
2020-02-27 14:00 PST, Ben Nham
ews-feeder: commit-queue-
Radar WebKit Bug Importer
Comment 1 2020-02-26 15:53:31 PST
Jason Lawrence
Comment 2 2020-02-26 16:00:36 PST
I have marked this test as timing out while this issue is investigated. https://trac.webkit.org/changeset/257525/webkit
Jason Lawrence
Comment 3 2020-02-26 16:25:59 PST
This timeout issue appears to have started on r257394. I can reproduce the timeout issue on r257515 and r257394, but I cannot on r257391. This is the command that I used: run-webkit-tests --force -f --exit-after-n-failures 3 --iterations 1000 media/modern-media-controls/pip-support/pip-support-click.html r257515: [22/1000] media/modern-media-controls/pip-support/pip-support-click.html failed unexpectedly (text diff) [51/1000] media/modern-media-controls/pip-support/pip-support-click.html failed unexpectedly (test timed out, text diff) [52/1000] media/modern-media-controls/pip-support/pip-support-click.html failed unexpectedly (test timed out, text diff) Exiting early after 3 failures. 49 tests run. 46 tests ran as expected, 3 didn't (951 didn't run): r257394: [76/1000] media/modern-media-controls/pip-support/pip-support-click.html failed unexpectedly (test timed out, text diff) [77/1000] media/modern-media-controls/pip-support/pip-support-click.html failed unexpectedly (test timed out, text diff) [90/1000] media/modern-media-controls/pip-support/pip-support-click.html failed unexpectedly (test timed out, text diff) Exiting early after 3 failures. 87 tests run. 84 tests ran as expected, 3 didn't (913 didn't run): r257391: [8/1000] media/modern-media-controls/pip-support/pip-support-click.html failed unexpectedly (text diff) Retrying 1 unexpected failure .. Running 1 WebKitTestRunner. 999 tests ran as expected, 1 didn't:
Ben Nham
Comment 4 2020-02-27 12:38:53 PST
*** Bug 208333 has been marked as a duplicate of this bug. ***
Ben Nham
Comment 5 2020-02-27 12:53:14 PST
Ben Nham
Comment 6 2020-02-27 12:54:08 PST
This test sometimes fails because it presses the PIP control before the video starts playing. Jer suggested that I work around this by only playing the video after the event handler that presses the PIP control is set up. That's what I've done in this patch.
Ben Nham
Comment 7 2020-02-27 14:00:41 PST
Created attachment 391910 [details] Patch for landing
EWS
Comment 8 2020-02-27 14:02:04 PST
Comment on attachment 391910 [details] Patch for landing Rejecting attachment 391910 [details] from commit-queue. nham@apple.com does not have committer permissions according to https://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json. - If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
Ben Nham
Comment 9 2020-02-27 14:08:36 PST
Note You need to log in before you can comment on or make changes to this bug.