Bug 242804

Summary: [ macOS wk2 ] media/track/track-forced-subtitles-in-band.html is a flaky failure
Product: WebKit Reporter: Hercules Hjalmarsson <hhjalmarsson>
Component: New BugsAssignee: Jonathan Bedard <jbedard>
Status: NEW ---    
Severity: Normal CC: eric.carlson, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=137505
https://bugs.webkit.org/show_bug.cgi?id=228334

Description Hercules Hjalmarsson 2022-07-15 09:41:53 PDT
media/track/track-forced-subtitles-in-band.html

Is a flaky text failure on macOS wk2 ToT.

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=media%2Ftrack%2Ftrack-forced-subtitles-in-band.html

DIFF:
--- /Volumes/Data/worker/Apple-Monterey-Release-WK2-Tests/build/layout-test-results/media/track/track-forced-subtitles-in-band-expected.txt
+++ /Volumes/Data/worker/Apple-Monterey-Release-WK2-Tests/build/layout-test-results/media/track/track-forced-subtitles-in-band-actual.txt
@@ -26,7 +26,7 @@
 
 EXPECTED (video.textTracks[3].language == 'fr') OK
 EXPECTED (video.textTracks[3].kind == 'forced') OK
-EXPECTED (video.textTracks[3].mode == 'showing') OK
+EXPECTED (video.textTracks[3].mode == 'showing'), OBSERVED 'disabled' FAIL
 
 EXPECTED (video.textTracks[4].language == 'es') OK
 EXPECTED (video.textTracks[4].kind == 'subtitles') OK
@@ -58,9 +58,7 @@
 
 ** A cue should become active when current time is within its active range
 RUN(video.currentTime = 9.5)
-EVENT(seeked)
-EVENT(cuechange)
-EXPECTED (video.textTracks[3].activeCues.length === 1 == 'true') OK
 
+Test timed out. FAIL
 END OF TEST
 
DIFF URL:
https://build.webkit.org/results/Apple-Monterey-Release-WK2-Tests/251434@main%20(4482)/media/track/track-forced-subtitles-in-band-pretty-diff.html
Comment 1 Radar WebKit Bug Importer 2022-07-15 09:42:22 PDT
<rdar://problem/97079773>
Comment 2 Hercules Hjalmarsson 2022-07-15 10:15:10 PDT
I'm able to reproduce this issue on macOS wk2 ToT running 1k iterations of command:

run-webkit-tests -f --force media/track/track-forced-subtitles-in-band.html
Comment 3 Hercules Hjalmarsson 2022-07-15 10:17:08 PDT
It appears that this issue has been flakily failing on macOS wk2 since the test was modified at 251432@main to stop it from consistently failing on all queues.
Comment 4 EWS 2022-07-15 10:30:24 PDT
Test gardening commit 252511@main (acf9538fef4b): <https://commits.webkit.org/252511@main>

Reviewed commits have been landed. Closing PR #2459 and removing active labels.
Comment 5 Jonathan Bedard 2022-12-02 10:06:40 PST
Pull request: https://github.com/WebKit/WebKit/pull/7075
Comment 6 EWS 2022-12-02 10:10:23 PST
Test gardening commit 257290@main (ce5f5e3516ce): <https://commits.webkit.org/257290@main>

Reviewed commits have been landed. Closing PR #7075 and removing active labels.