Bug 241982

Summary: REGRESSION (251654@main): [ macOS Release ] Two TestWebKitAPI.VideoControlsManager.VideoControlsManager tests are flaky timeout
Product: WebKit Reporter: Karl Rackler <rackler>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: beidson, jer.noble, webkit-bot-watchers-bugzilla, webkit-bug-importer, y_soliman
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=225451

Description Karl Rackler 2022-06-24 13:15:21 PDT
Description:
TestWebKitAPI.VideoControlsManager.VideoControlsManagerSmallVideoInMediaDocument
TestWebKitAPI.VideoControlsManager.VideoControlsManagerTearsDownMediaControlsOnDealloc

The first failure that I saw on the dashboard was on 6/17/2022 at 251655@main.  251654@main touches video.currentSrc so could possibly be related.
This flaky timeout on the dashboard happens on macOS Release only and not macOS Debug.

I have not been successful in being able to reproduce these timeouts locally. 

History:
https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWebKitAPI.VideoControlsManager.VideoControlsManagerSmallVideoInMediaDocument&test=TestWebKitAPI.VideoControlsManager.VideoControlsManagerTearsDownMediaControlsOnDealloc&limit=50000&platform=mac&style=release

run-api-tests stdio:
Timeout
    TestWebKitAPI.VideoControlsManager.VideoControlsManagerSmallVideoInMediaDocument
        2022-06-17 17:50:07.270 com.apple.WebKit.WebContent.Development[49475:32727849] ApplePersistence=NO
        2022-06-17 17:50:07.535 com.apple.WebKit.WebContent.Development[49479:32727890] ApplePersistence=NO
    TestWebKitAPI.VideoControlsManager.VideoControlsManagerTearsDownMediaControlsOnDealloc
        2022-06-17 17:50:40.289 com.apple.WebKit.WebContent.Development[49481:32728093] ApplePersistence=NO
        2022-06-17 17:50:40.560 com.apple.WebKit.WebContent.Development[49485:32728141] ApplePersistence=NO
Comment 1 Radar WebKit Bug Importer 2022-06-24 13:15:42 PDT
<rdar://problem/95875578>
Comment 2 Ryan Haddad 2022-06-24 16:56:09 PDT
With a local release build, I was able to reproduce timeouts with the following:
run-api-tests --release --no-build --verbose TestWebKitAPI.VideoControlsManager.VideoControlsManagerSmallVideoInMediaDocument TestWebKitAPI.VideoControlsManager.VideoControlsManagerTearsDownMediaControlsOnDealloc

This resulted in either one or both of the tests timing out across multiple attempts.
Comment 3 Ryan Haddad 2022-06-24 17:03:16 PDT
After reverting 251654@main locally, I can no longer reproduce the timeouts.
Comment 4 Ryan Haddad 2022-06-24 17:15:27 PDT
Reverting in https://github.com/WebKit/WebKit/pull/1790
Comment 5 Ryan Haddad 2022-06-24 17:24:49 PDT
https://commits.webkit.org/251841@main