Bug 236722

Summary: [ macOS ] http/tests/media/video-play-waiting.html is a constant time out.
Product: WebKit Reporter: Dawn Morningstar <Morningstar>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jean-yves.avenard, jenner, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=248585
Attachments:
Description Flags
expectations none

Description Dawn Morningstar 2022-02-16 11:27:44 PST
http/tests/media/video-play-waiting.html 

Is a constant time out on macOS, but notably also has never successfully passed on macOS.
It is currently marked as failing in TestExpectations.

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fmedia%2Fvideo-play-waiting.html

DIFF:
--- /Volumes/Data/worker/monterey-release-applesilicon-tests-wk2/build/layout-test-results/http/tests/media/video-play-waiting-expected.txt
+++ /Volumes/Data/worker/monterey-release-applesilicon-tests-wk2/build/layout-test-results/http/tests/media/video-play-waiting-actual.txt
@@ -1,3 +1,5 @@
+FAIL: Timed out waiting for notifyDone to be called
+
 
 Test that a waiting event is sent when media loading stalls after having sent 'canplay'.
 
@@ -7,6 +9,4 @@
 EVENT(canplay)
 RUN(video.play())
 EVENT(timeupdate)
-EVENT(waiting)
-END OF TEST

BUILD:
https://build.webkit.org/results/Apple-Monterey-Release-AppleSilicon-WK2-Tests/r289890%20(1778)/http/tests/media/video-play-waiting-diff.txt
Comment 1 Dawn Morningstar 2022-02-16 12:00:07 PST
As expected timeout was reproduced at Monterey production TOT using the following test:
http/tests/media/video-play-waiting.html

It appears the revert at r288549 caused this test to change from flaky failure and timeout to constant timeout:
https://trac.webkit.org/changeset/288549/webkit
Comment 2 Radar WebKit Bug Importer 2022-02-16 12:17:13 PST
<rdar://problem/89041245>
Comment 3 Dawn Morningstar 2022-02-16 13:44:04 PST
Created attachment 452245 [details]
expectations
Comment 4 Dawn Morningstar 2022-02-16 13:47:17 PST
Updated the expectations for a Timeout on Mac rather than failure until test can be looked at further.
Comment 5 Robert Jenner 2022-02-16 13:50:43 PST
Comment on attachment 452245 [details]
expectations

Clearing flags on attachment: 452245

Committed r289954 (247352@trunk): <https://commits.webkit.org/247352@trunk>