Bug 228204 - [iOS] media/video-presentation-mode.html is a flaky timeout
Summary: [iOS] media/video-presentation-mode.html is a flaky timeout
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-07-22 15:45 PDT by ayumi_kojima
Modified: 2021-07-26 12:48 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ayumi_kojima 2021-07-22 15:45:14 PDT
media/video-presentation-mode.html

Is a flaky timeout on iOS 14 E Simulator wk2.

History: https://results.webkit.org/?suite=layout-tests&test=media%2Fvideo-presentation-mode.html

There is a bug about a crash seen on Big Sur Debug wk2: https://bugs.webkit.org/show_bug.cgi?id=221414

I am creating a separate bug for iOS since iOS is timing out instead of crashing.

I see one crash at r277964 (Crash Log URL: https://build.webkit.org/results/Apple-iOS-14-Simulator-Debug-WK2-Tests/r277964%20(1329)/media/video-presentation-mode-stderr.txt) which shows a very similar crash log to one reported in https://bugs.webkit.org/show_bug.cgi?id=221414

I was not able to reproduce the timeout on my local machine using run-webkit-tests -f --debug --exit-after-n-failures 2 --exit-after-n-crashes-or-timeouts 2 --ios-simulator --iterations 50 media/video-presentation-mode.html

Diff: 

==============================

--- /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/media/video-presentation-mode-expected.txt
+++ /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/media/video-presentation-mode-actual.txt
@@ -1,35 +1,4 @@
+#PID UNRESPONSIVE - WebKitTestRunnerApp (pid 31101)
+FAIL: Timed out waiting for notifyDone to be called
 
-Test the video presentation mode (video fullscreen and picture-in-picture) API.
-
-
-EVENT(canplaythrough)
-EXPECTED (video.webkitSupportsFullscreen == 'true') OK
-EXPECTED (video.webkitPresentationMode == 'inline') OK
-
-** Try to enter fullscreen
-RUN(video.webkitSetPresentationMode('fullscreen'))
-EVENT(webkitpresentationmodechanged)
-
-** Received webkitpresentationmodechanged event
-EXPECTED (internals.isChangingPresentationMode(video) == 'false') OK
-EXPECTED (video.webkitPresentationMode == 'fullscreen') OK
-
-** Try to enter picture-in-picture
-RUN(video.webkitSetPresentationMode('picture-in-picture'))
-EVENT(webkitpresentationmodechanged)
-
-** Received webkitpresentationmodechanged event
-EXPECTED (internals.isChangingPresentationMode(video) == 'false') OK
-EXPECTED (video.webkitPresentationMode == 'picture-in-picture') OK
-
-** Try to return to inline
-RUN(video.webkitSetPresentationMode('inline'))
-EVENT(webkitpresentationmodechanged)
-
-** Received webkitpresentationmodechanged event
-EXPECTED (internals.isChangingPresentationMode(video) == 'false') OK
-EXPECTED (video.webkitPresentationMode == 'inline') OK
-
-** Test Completed
-END OF TEST
-
+#EOF

==============================
Comment 1 Radar WebKit Bug Importer 2021-07-22 15:45:51 PDT
<rdar://problem/80986580>
Comment 2 ayumi_kojima 2021-07-22 16:03:08 PDT
Updated test expectations https://trac.webkit.org/changeset/280206/webkit