Bug 230321

Summary: 5 Media API tests are flakily timing out on iOS14
Product: WebKit Reporter: Eric Hutchison <ehutchison>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, ehutchison, eric.carlson, hi, jer.noble, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Eric Hutchison 2021-09-15 14:42:50 PDT
TestWebKitAPI.WebKit.WKWebViewIsPlayingAudio
TestWebKitAPI.WKWebViewPausePlayingAudioTests.InWindow
TestWebKitAPI.WKWebViewPausePlayingAudioTests.OutOfWindow
TestWebKitAPI.RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback
TestWebKitAPI.SleepDisabler.Loop

are flakily timing out on iOS14.

History: https://results.webkit.org/?suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&test=TestWebKitAPI.WKWebViewPausePlayingAudioTests.InWindow&test=TestWebKitAPI.WKWebViewPausePlayingAudioTests.OutOfWindow&test=TestWebKitAPI.RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback&test=TestWebKitAPI.RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback&test=TestWebKitAPI.SleepDisabler.Loop

Unable to reproduce timeouts.
Comment 1 Radar WebKit Bug Importer 2021-09-15 14:43:44 PDT
<rdar://problem/83168970>
Comment 2 Eric Hutchison 2021-10-07 14:16:42 PDT
With exception of TestWebKitAPI.WKWebViewPausePlayingAudioTests.OutOfWindow, all of these tests last timed out on r283613. There have been no timeouts in past ~100 builds.

TestWebKitAPI.WKWebViewPausePlayingAudioTests.OutOfWindow now appears to be a constant timeout on iOS15. 

History: https://results.webkit.org/?suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&suite=api-tests&test=TestWebKitAPI.RequiresUserActionForPlaybackTest.DoesNotRequireUserActionForMediaPlayback&test=TestWebKitAPI.SleepDisabler.Loop&test=TestWebKitAPI.WKWebViewPausePlayingAudioTests.InWindow&test=TestWebKitAPI.WKWebViewPausePlayingAudioTests.OutOfWindow&test=TestWebKitAPI.WebKit.WKWebViewIsPlayingAudio

Reproduced timeout locally on r283279 using run-api-tests --iterations 50 --ios-simulator TestWebKitAPI.WKWebViewPausePlayingAudioTests.OutOfWindow
Comment 3 Ryan Haddad 2021-10-13 17:19:41 PDT
Disabled TestWebKitAPI.WKWebViewPausePlayingAudioTests.OutOfWindow as part of https://trac.webkit.org/changeset/284133
Comment 4 Eric Carlson 2022-04-04 14:13:06 PDT
Created attachment 456630 [details]
Patch
Comment 5 EWS 2022-04-05 10:39:56 PDT
Committed r292401 (249264@main): <https://commits.webkit.org/249264@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 456630 [details].