Bug 207146

Summary: REGRESSION: [ macOS ] media/media-source/media-source-seek-redundant-append.html is a flaky timeout
Product: WebKit Reporter: Jacob Uphoff <jacob_uphoff>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: rackler, tsavell, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Update Test Expectations none

Description Jacob Uphoff 2020-02-03 14:21:18 PST
media/media-source/media-source-seek-redundant-append.html

This test has been a flaky time out for all viewable history

I was able to reproduce the test by running it in iterations (in 500 runs, it timed out 5 times)

History:

https://results.webkit.org/?suite=layout-tests&test=media%2Fmedia-source%2Fmedia-source-seek-redundant-append.html&platform=mac&platform=ios&limit=50000

Diff:

--- /Volumes/Data/slave/catalina-debug-tests-wk1/build/layout-test-results/media/media-source/media-source-seek-redundant-append-expected.txt
+++ /Volumes/Data/slave/catalina-debug-tests-wk1/build/layout-test-results/media/media-source/media-source-seek-redundant-append-actual.txt
@@ -1,3 +1,4 @@
+FAIL: Timed out waiting for notifyDone to be called
 
 RUN(video.src = URL.createObjectURL(source))
 EVENT(sourceopen)
@@ -31,6 +32,4 @@
 Successful append
 SUCCESS seekAndAppend: time=308.9, segments=[8, 10)
 RUN(source.endOfStream())
-EVENT(ended)
-END OF TEST
Comment 1 Jacob Uphoff 2020-02-03 14:24:01 PST
Created attachment 389567 [details]
Update Test Expectations
Comment 2 Radar WebKit Bug Importer 2020-02-03 14:24:47 PST
<rdar://problem/59125607>
Comment 3 Truitt Savell 2020-02-03 14:26:35 PST
Comment on attachment 389567 [details]
Update Test Expectations

Clearing flags on attachment: 389567

Committed r255596: <https://trac.webkit.org/changeset/255596>
Comment 4 Karl Rackler 2020-07-23 06:00:53 PDT
REGRESSION: [ macOS ] media/media-source/media-source-seek-redundant-append.html is a flaky timeout

Description:
media/media-source/media-source-seek-redundant-append.html

This started approximately 10/17/19 and has been flaky timeout since.

History:
https://results.webkit.org/?suite=layout-tests&test=media%2Fmedia-source%2Fmedia-source-seek-redundant-append.html&platform=mac&limit=50000

Diff:
--- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/media/media-source/media-source-seek-redundant-append-expected.txt
+++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/media/media-source/media-source-seek-redundant-append-actual.txt
@@ -1,36 +1,5 @@
+#PID UNRESPONSIVE - WebKitTestRunner (pid 901)
+FAIL: Timed out waiting for notifyDone to be called
 
-RUN(video.src = URL.createObjectURL(source))
-EVENT(sourceopen)
-RUN(sourceBuffer = source.addSourceBuffer(loader.type()))
-RUN(sourceBuffer.appendBuffer(loader.initSegment()))
-EVENT(update)
-RUN(source.duration = 310)
-RUN(sourceBuffer.timestampOffset = 300)
-RUN(video.play())
-START seekAndAppend: time=300, segments=[0, 3)
-RUN(sourceBuffer.appendBuffer(loader.mediaSegment(0)))
-Successful append
-RUN(sourceBuffer.appendBuffer(loader.mediaSegment(1)))
-Successful append
-RUN(sourceBuffer.appendBuffer(loader.mediaSegment(2)))
-Successful append
-SUCCESS seekAndAppend: time=300, segments=[0, 3)
-START waitForVideoToReach(300.2)
-SUCCESS waitForVideoToReach(300.2)
-START seekAndAppend: time=309.2, segments=[9, 10)
-RUN(sourceBuffer.appendBuffer(loader.mediaSegment(9)))
-Successful append
-SUCCESS seekAndAppend: time=309.2, segments=[9, 10)
-START waitForVideoToReach(309.7)
-SUCCESS waitForVideoToReach(309.7)
-RUN(video.currentTime = 308.9)
-START seekAndAppend: time=308.9, segments=[8, 10)
-RUN(sourceBuffer.appendBuffer(loader.mediaSegment(8)))
-Successful append
-RUN(sourceBuffer.appendBuffer(loader.mediaSegment(9)))
-Successful append
-SUCCESS seekAndAppend: time=308.9, segments=[8, 10)
-RUN(source.endOfStream())
-EVENT(ended)
-END OF TEST
-
+#EOF
+#EOF
Comment 5 Karl Rackler 2020-07-23 06:10:31 PDT
I have updated and marked this test as timeout while this issue is investigated.
https://trac.webkit.org/changeset/264759/webkit