Bug 198110 - [GTK] media/video-currentTime.html is flaky
Summary: [GTK] media/video-currentTime.html is flaky
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-22 06:46 PDT by Alicia Boya García
Modified: 2021-04-27 09:31 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alicia Boya García 2019-05-22 06:46:27 PDT
media/video-currentTime.html

FPPFFFFPPPPPPPPPPPPFPPPPPPPPPPPPPPPPPPPPPPPP (there are a couple failures more after all these passes).

It fails rarely, but it happens.

<video controls></video>
<script src=media-file.js></script>
<script src=video-test.js></script>
<script>
    testExpected("video.currentTime", 0)
    waitForEvent('canplaythrough', function() { testExpected("video.currentTime", 0); } );
    video.addEventListener('canplaythrough', function() { video.play(); });
    waitForEvent('play');
    video.addEventListener('timeupdate', function() {
        if (video.currentTime > 0) {
            logResult(true, 'video.currentTime > 0');
            endTest();
        }
    });
    video.src = findMediaFile("video", "content/test");
    failTestIn(3000);
</script>

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/video-currentTime-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/video-currentTime-actual.txt
@@ -3,6 +3,6 @@
 EVENT(canplaythrough)
 EXPECTED (video.currentTime == '0') OK
 EVENT(play)
-video.currentTime > 0 OK
+FAIL: did not end fast enough
 END OF TEST
 

This means that a video was not able to load in 3 seconds. Maybe the build bots were just too stressed?
Comment 1 Enrique Ocaña 2021-04-27 09:31:24 PDT
This test hasn't had any failure since January 17th 2020. I've run it locally 10000 times (--repeat-each=100 --iterations=100) with no failures.

I'm closing this as WORKSFORME.