Bug 206959 - [ macOS wk2 ] http/tests/media/media-stream/get-display-media-prompt.html is flaky timing out
Summary: [ macOS wk2 ] http/tests/media/media-stream/get-display-media-prompt.html is ...
Status: RESOLVED DUPLICATE of bug 206958
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-29 13:15 PST by Jacob Uphoff
Modified: 2020-01-30 15:24 PST (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 Jacob Uphoff 2020-01-29 13:15:31 PST
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
Comment 1 Radar WebKit Bug Importer 2020-01-29 13:29:12 PST
<rdar://problem/59004286>
Comment 2 Alexey Proskuryakov 2020-01-30 15:18:18 PST
No failures before 2019-11-05. First failure was with r252047, which was a media related change, but failures were not frequent enough to positively blame.
Comment 3 Alexey Proskuryakov 2020-01-30 15:24:34 PST
Let's track failures and timeouts together, because they started at the same time.

*** This bug has been marked as a duplicate of bug 206958 ***