[Webkit-unassigned] [Bug 206959] New: [ macOS wk2 ] http/tests/media/media-stream/get-display-media-prompt.html is flaky timing out

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 29 13:15:31 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=206959

            Bug ID: 206959
           Summary: [ macOS wk2 ]
                    http/tests/media/media-stream/get-display-media-prompt
                    .html is flaky timing out
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jacob_uphoff at apple.com

http/tests/media/media-stream/get-display-media-prompt.html 

this test is a flaky failure on MacOS 

test is also flaky timing out 

I was able to reproduce the failure by running the test in iterations

Timeouts are seen throughout all visible history

History:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fmedia%2Fmedia-stream%2Fget-display-media-prompt.html

Diff:

--- /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/tests/media/media-stream/get-display-media-prompt-expected.txt
+++ /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/tests/media/media-stream/get-display-media-prompt-actual.txt
@@ -1,55 +1,6 @@
-Test basic getDisplayMedia prompting behavior
+CONSOLE MESSAGE: line 123: Unhandled Promise Rejection: InvalidAccessError: getDisplayMedia must be called from a user gesture handler.
+#PID UNRESPONSIVE - WebKitTestRunner (pid 94078)
+FAIL: Timed out waiting for notifyDone to be called

-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 0
-
-** Request an audio-only stream, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 0
-PASS stream is undefined.
-PASS err instanceof Error  is true
-PASS err.name is "TypeError"
-
-** Request an video-only stream, the user should be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 1
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-** Request a stream with audio and video, the user should be prompted but no audio track should be created **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-** Request a stream with 'max' constraints, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream is undefined.
-PASS err instanceof Error  is true
-PASS err.name is "TypeError"
-
-** Request a stream with 'min' constraints, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream is undefined.
-PASS err instanceof Error  is true
-PASS err.name is "TypeError"
-
-** Request a stream with 'advanced' constraints, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream is undefined.
-PASS err instanceof Error  is true
-PASS err.name is "TypeError"
-
-** Request a stream with valid constraints, the user should be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 3
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-** Request a stream with an exact audio constraint, it should be ignored **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 4
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
+#EOF
+#EOF

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200129/c0d50d07/attachment-0001.htm>


More information about the webkit-unassigned mailing list