Bug 229268

Summary: [GTK] Test media/media-fragments/TC0009.html is flaky
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, crzwdjk
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Carlos Alberto Lopez Perez 2021-08-18 18:04:40 PDT
The test media/media-fragments/TC0009.html is flaky on GTK (but not on WPE).

The flakiness can be easily reproduce with:

$ Tools/Scripts/run-webkit-tests --repeat-each=100 --debug-rwt-logging --release --gtk media/media-fragments/TC0009.html


When it fails this is the diff:

--- /home/buildbot/worker/gtk-linux-64-release-skip-failing-tests/build/layout-test-results/media/media-fragments/TC0009-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-skip-failing-tests/build/layout-test-results/media/media-fragments/TC0009-actual.txt
@@ -4,6 +4,6 @@
 Fragment: 't=15,20'
 Comment: The request lies beyond the end of the resource. If the UA knows the duration of the resource, it seeks to the end of the media resource. Otherwise, the UA will send an (out-of-range) HTTP request with an 'include-setup' in order to setup its decoding pipeline.
 EVENT(canplaythrough)
-EXPECTED (video.currentTime == 'duration') OK
+EXPECTED (video.currentTime == 'duration'), OBSERVED '0' FAIL
 END OF TEST
Comment 1 Carlos Alberto Lopez Perez 2021-08-18 18:16:11 PDT
Updated expectations on r281219
Comment 2 Arcady Goldmints-Orlov 2021-09-01 13:12:07 PDT
It appears that media/media-fragments/TC0014.html is also flaky and when it fails shows the same failure. Gardening patch coming shortly.
Comment 3 Diego Pino 2023-01-10 07:47:41 PST
The test or tests filed under this bug are not failing anymore. Test expectations updated in https://commits.webkit.org/258724@main.