Bug 259546 - REGRESSION(266513@main?): [ macOS Monterey+ Debug WK1 ] media/modern-media-controls/tracks-support/text-track-selected-via-media-api.html is a constant timeout
Summary: REGRESSION(266513@main?): [ macOS Monterey+ Debug WK1 ] media/modern-media-co...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-26 21:01 PDT by Ben Schwartz
Modified: 2023-10-17 15:36 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Schwartz 2023-07-26 21:01:15 PDT
media/modern-media-controls/tracks-support/text-track-selected-via-media-api.html

This test is a constant timeout on macOS Monterey and above, debug wk1.

HISTORY:

https://results.webkit.org/?suite=layout-tests&test=media%2Fmodern-media-controls%2Ftracks-support%2Ftext-track-selected-via-media-api.html&style=debug

TEXT DIFF:

+FAIL: Timed out waiting for notifyDone to be called
 This test checks that setting an embedded text track as selected via the HTMLMediaElement JS APIs will correctly show this track as selected, and that selecting the "Automatic (Recommended)" track will revert back to selecting that entry.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
 PASS shadowRoot.querySelector('button.tracks') became different from null
-PASS shadowRoot.querySelector('button.tracks').getBoundingClientRect().width became different from 0
-Setting mode to 'showing' for 'English' text track via JavaScript...
-Tapping tracks button...
-PASS contextmenuItem('English').checked is true
-PASS contextmenuItem('French').checked is undefined.
-Selecting 'French' text track...
-PASS subtitleTrack('en').mode is 'disabled'
-PASS subtitleTrack('fr').mode is 'showing'
-Tapping tracks button...
-PASS contextmenuItem('English').checked is undefined.
-PASS contextmenuItem('French').checked is true
-PASS successfullyParsed is true
 
-TEST COMPLETE
-

REPRODUCIBILITY:

I was able to reproduce this bug on macOS Ventura running the test as follows:

run-webkit-tests -1 --iterations 10 --debug --verbose media/modern-media-controls/tracks-support/text-track-selected-via-media-api.html

It's important to note that this result differs from the flakiness dashboard, which is showing a constant crash on macOS Ventura. See bug #259545 for the crash log.
Comment 1 Radar WebKit Bug Importer 2023-07-26 21:01:29 PDT
<rdar://problem/112952952>
Comment 2 Ben Schwartz 2023-07-26 21:16:37 PDT
I have marked this test as a constant crash/timeout while this issue is investigated. (Link: https://github.com/WebKit/WebKit/pull/16129)
Comment 3 EWS 2023-07-31 10:53:22 PDT
merge-queue failed to commit PR to repository. To retry, remove any blocking labels and re-apply merge-queue label
Comment 4 EWS 2023-07-31 12:30:20 PDT
Test gardening commit 266455@main (0d4df5cb372d): <https://commits.webkit.org/266455@main>

Reviewed commits have been landed. Closing PR #16129 and removing active labels.
Comment 5 Ben Schwartz 2023-09-22 12:07:49 PDT
REGRESSION:

While this test was a flaky/consistent timeout before 266513@main, it further regressed to constant at 266513@main.