Bug 188924

Summary: REGRESSION: [macOS WK2] Layout Test fast/mediastream/device-change-event-2.html is a flaky timeout
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ben_schwartz, eric.carlson, jacob_uphoff, realdawei, tsavell, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Ryan Haddad 2018-08-24 11:59:31 PDT
The following layout test is flaky on macOS Debug WK2

fast/mediastream/device-change-event-2.html

Probable cause:

Unknown, this started very recently.

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=fast%2Fmediastream%2Fdevice-change-event-2.html

--- /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/fast/mediastream/device-change-event-2-expected.txt
+++ /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/fast/mediastream/device-change-event-2-actual.txt
@@ -1,6 +1,9 @@
+CONSOLE MESSAGE: line 2451: Error: assert_true: devicechange should only fire when the document is focused and active expected true got false
+CONSOLE MESSAGE: line 78: navigator.mediaDevices.ondevicechange took too long
+CONSOLE MESSAGE: line 41: event 1 took too long
+CONSOLE MESSAGE: line 53: event 2 took too long
+#PID UNRESPONSIVE - com.apple.WebKit.WebContent.Development (pid 37639)
+FAIL: Timed out waiting for notifyDone to be called
 
-PASS 'devicechange' event fired when device list changes 
-PASS 'devicechange' events fired quickly are coalesced 
-PASS 'devicechange' event is not fired when the document doesn't has focus or permission to capture 
-PASS 'devicechange' event is fired when the document doesn't has focus but has permission to capture 
-
+#EOF
+#EOF
Comment 1 Ryan Haddad 2018-08-24 12:00:37 PDT
This test was recently modified as part of https://trac.webkit.org/changeset/235086
Comment 2 Radar WebKit Bug Importer 2020-06-03 13:02:51 PDT
<rdar://problem/63940720>
Comment 3 Jacob Uphoff 2020-06-03 13:13:47 PDT
I can also see timeouts on release as well
Comment 4 Jacob Uphoff 2020-06-03 13:17:19 PDT
Set expectations here: https://trac.webkit.org/changeset/262512/webkit
Comment 6 Ben Schwartz 2023-09-08 15:05:01 PDT
(In reply to Jacob Uphoff from comment #4)
> Set expectations here: https://trac.webkit.org/changeset/262512/webkit

Cannonical link: https://commits.webkit.org/225536@main