Bug 230321 - 5 Media API tests are flakily timing out on iOS14
Summary: 5 Media API tests are flakily timing out on iOS14
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-15 14:42 PDT by Eric Hutchison
Modified: 2022-04-05 10:40 PDT (History)
7 users (show)

See Also:


Attachments
Patch (4.88 KB, patch)
2022-04-04 14:13 PDT, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].