Bug 311317
| Summary: | REGRESSION(310087@main): [GStreamer] fast/mediastream/MediaStream-video-element-track-stop.html is a flaky timeout / failure | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Claudio Saavedra <csaavedra> |
| Component: | Media | Assignee: | Philippe Normand <philn> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | aboya, calvaris, eocanha, lmoura, philn, vwatermeier, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Claudio Saavedra
This test was failing consistently but it started flakily timing out around 310089@main. Not necessarily because of that change, but around that time:
https://results.webkit.org/?suite=layout-tests&test=fast%2Fmediastream%2FMediaStream-video-element-track-stop.html&platform=GTK&platform=WPE
stderr when timing out:
0:00:10.345510431 1435672 0x555bed682610 ERROR pulse pulsedeviceprovider.c:571:gst_pulse_device_provider_start:<pulsedeviceprovider0> Failed to connect: Connection refused
0:00:10.345931852 1435672 0x555bed682610 ERROR pulse pulsedeviceprovider.c:466:gst_pulse_device_provider_probe:<pulsedeviceprovider0> Failed to connect: Invalid argument
0:00:10.385767495 1435672 0x555bed682610 ERROR video-info video-info.c:595:gst_video_info_from_caps: no format given
diff when timing out:
--- /sdk/webkit/layout-test-results/fast/mediastream/MediaStream-video-element-track-stop-expected.txt
+++ /sdk/webkit/layout-test-results/fast/mediastream/MediaStream-video-element-track-stop-actual.txt
@@ -1,3 +1,5 @@
+FAIL: Timed out waiting for notifyDone to be called
+
Tests MediaStreamTrack callbacks.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -47,21 +49,5 @@
mediaStream.getVideoTracks()[0].stop()
mediaStream.getAudioTracks()[0].stop()
-Event 'ended'
+Event 'canplaythrough'
-**** re-check states now that the video stream has ended ****
-PASS video.ended is true
-PASS video.videoWidth is 0
-PASS video.videoHeight is 0
-
-PASS video.videoTracks.length is 1
-PASS video.videoTracks.selectedIndex is -1
-PASS video.videoTracks[0].selected is false
-
-PASS mediaStream.getVideoTracks()[0].enabled is true
-PASS mediaStream.getVideoTracks()[0].readyState is "ended"
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
stderr when it fails:
0:00:06.192102790 58223 0x559a628a1820 ERROR pulse pulsedeviceprovider.c:571:gst_pulse_device_provider_start:<pulsedeviceprovider0> Failed to connect: Connection refused
0:00:06.192531575 58223 0x559a628a1820 ERROR pulse pulsedeviceprovider.c:466:gst_pulse_device_provider_probe:<pulsedeviceprovider0> Failed to connect: Invalid argument
0:00:06.238394812 58223 0x559a628a1820 ERROR video-info video-info.c:595:gst_video_info_from_caps: no format given
diff when it fails:
--- /sdk/webkit/layout-test-results/fast/mediastream/MediaStream-video-element-track-stop-expected.txt
+++ /sdk/webkit/layout-test-results/fast/mediastream/MediaStream-video-element-track-stop-actual.txt
@@ -47,6 +47,7 @@
mediaStream.getVideoTracks()[0].stop()
mediaStream.getAudioTracks()[0].stop()
+Event 'canplaythrough'
Event 'ended'
**** re-check states now that the video stream has ended ****
@@ -54,7 +55,7 @@
PASS video.videoWidth is 0
PASS video.videoHeight is 0
-PASS video.videoTracks.length is 1
+FAIL video.videoTracks.length should be 1. Was 2.
PASS video.videoTracks.selectedIndex is -1
PASS video.videoTracks[0].selected is false
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Claudio Saavedra
Similar situation with imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-removetrack.https.html
See https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/310431@main%20(24341)/results.html
Claudio Saavedra
https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fmediacapture-streams%2FMediaStream-removetrack.https.html&test=fast%2Fmediastream%2FMediaStream-video-element-track-stop.html&platform=GTK&platform=WPE
Philippe Normand
*** Bug 307032 has been marked as a duplicate of this bug. ***
Philippe Normand
Pull request: https://github.com/WebKit/WebKit/pull/61979
EWS
Committed 310636@main (bdd2974c9e82): <https://commits.webkit.org/310636@main>
Reviewed commits have been landed. Closing PR #61979 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/174153504>