Open Bug 1440900 Opened 2 years ago Updated 2 months ago

browser/base/content/test/webrtc/browser_devices_get_user_media_paused.js is disabled win !debug and linux64 !debug for frequent failures | Found an unexpected Browser:WebRTCGlobalIndicator at the end of test run -

Categories

(Core :: WebRTC, defect, P3)

defect

Tracking

()

REOPENED

People

(Reporter: intermittent-bug-filer, Assigned: aciure)

Details

(Keywords: intermittent-failure, leave-open, Whiteboard: [stockwell disabled])

Attachments

(3 files, 2 obsolete files)

Filed by: ncsoregi [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=163993998&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/W9sodTmQRJKw6lD97kCsuQ/runs/0/artifacts/public/logs/live_backing.log

[task 2018-02-23T19:07:01.631Z] 19:07:01     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_paused.js | screen global indicator attribute as expected - 
[task 2018-02-23T19:07:01.635Z] 19:07:01     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_paused.js | only one global indicator window - 
[task 2018-02-23T19:07:01.637Z] 19:07:01     INFO - Leaving test bound test
[task 2018-02-23T19:07:01.642Z] 19:07:01     INFO - GECKO(2186) | MEMORY STAT | vsize 2438MB | residentFast 326MB | heapAllocated 112MB
[task 2018-02-23T19:07:01.645Z] 19:07:01     INFO - TEST-OK | browser/base/content/test/webrtc/browser_devices_get_user_media_paused.js | took 1772ms
[task 2018-02-23T19:07:01.688Z] 19:07:01     INFO - checking window state
[task 2018-02-23T19:07:01.690Z] 19:07:01     INFO - TEST-INFO | started process screentopng
[task 2018-02-23T19:07:02.224Z] 19:07:02     INFO - TEST-INFO | screentopng: exit 0
[task 2018-02-23T19:07:02.225Z] 19:07:02     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/webrtc/browser_devices_get_user_media_paused.js | Found an unexpected Browser:WebRTCGlobalIndicator at the end of test run - 
[task 2018-02-23T19:07:02.225Z] 19:07:02     INFO - TEST-START | browser/base/content/test/webrtc/browser_devices_get_user_media_queue_request.js
[task 2018-02-23T19:07:02.227Z] 19:07:02     INFO - GECKO(2186) | TEST DEVICES: Using media devices:
[task 2018-02-23T19:07:02.228Z] 19:07:02     INFO - GECKO(2186) | audio: Monitor of Null Output
[task 2018-02-23T19:07:02.229Z] 19:07:02     INFO - GECKO(2186) | video: Dummy video device (0x0000)
[task 2018-02-23T19:07:02.980Z] 19:07:02     INFO - GECKO(2186) | MEMORY STAT | vsize 2434MB | residentFast 328MB | heapAllocated 114MB
[task 2018-02-23T19:07:02.981Z] 19:07:02     INFO - TEST-OK | browser/base/content/test/webrtc/browser_devices_get_user_media_queue_request.js | took 1252ms
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → INCOMPLETE

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=239499971&repo=mozilla-central&lineNumber=1885

23:21:13 INFO - TEST-OK | browser/base/content/test/webrtc/browser_devices_get_user_media_paused.js | took 2384ms
23:21:13 INFO - checking window state
23:21:13 INFO - TEST-INFO | started process screenshot
23:21:13 INFO - TEST-INFO | screenshot: exit 0
23:21:13 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/webrtc/browser_devices_get_user_media_paused.js | Found an unexpected Browser:WebRTCGlobalIndicator at the end of test run -
23:21:13 INFO - TEST-START | browser/base/content/test/webrtc/browser_devices_get_user_media_queue_request.js
23:21:13 INFO - GECKO(4664) | TEST DEVICES: No test devices found (in media.{audio,video}_loopback_dev, using fake streams.
23:21:15 INFO - GECKO(4664) | MEMORY STAT | vsize 2103141MB | vsizeMaxContiguous 67568130MB | residentFast 294MB | heapAllocated 97MB
23:21:15 INFO - TEST-OK | browser/base/content/test/webrtc/browser_devices_get_user_media_queue_request.js | took 2059ms
23:21:15 INFO - checking window state
23:21:15 INFO - TEST-START | browser/base/content/test/webrtc/browser_devices_get_user_media_screen.js
23:21:16 INFO - GECKO(4664) | TEST DEVICES: No test devices found (in media.{audio,video}_loopback_dev, using fake streams.
23:21:18 INFO - GECKO(4664) | JavaScript error: resource:///modules/webrtcUI.jsm, line 505: AbortError: The fetching process for the media resource was aborted by the user agent at the user's request.
23:21:18 INFO - GECKO(4664) | ###!!! [Parent][DispatchAsyncMessage] Error: PQuotaUsageRequest::Msg_Cancel Route error: message sent to unknown actor ID
23:21:18 INFO - GECKO(4664) | ###!!! [Parent][DispatchAsyncMessage] Error: PQuotaUsageRequest::Msg_Cancel Route error: message sent to unknown actor ID
23:21:19 INFO - GECKO(4664) | JavaScript error: resource:///modules/webrtcUI.jsm, line 505: AbortError: The fetching process for the media resource was aborted by the user agent at the user's request.
23:21:19 INFO - GECKO(4664) | ###!!! [Parent][DispatchAsyncMessage] Error: PQuotaUsageRequest::Msg_Cancel Route error: message sent to unknown actor ID
23:21:19 INFO - GECKO(4664) | TEST DEVICES: Using media devices:
23:21:19 INFO - GECKO(4664) | audio:
23:21:19 INFO - GECKO(4664) | video:
23:21:20 INFO - GECKO(4664) | JavaScript warning: chrome://global/content/bindings/tabbox.xml, line 162: Array.forEach is deprecated; use Array.prototype.forEach instead
23:21:21 INFO - GECKO(4664) | JavaScript warning: chrome://browser/content/browser-ctrlTab.js, line 568: Array.filter is deprecated; use Array.prototype.filter instead
23:21:21 INFO - GECKO(4664) | JavaScript warning: chrome://global/content/bindings/tabbox.xml, line 258: Array.indexOf is deprecated; use Array.prototype.indexOf instead
23:21:21 INFO - GECKO(4664) | MEMORY STAT | vsize 2103182MB | vsizeMaxContiguous 67568130MB | residentFast 311MB | heapAllocated 101MB
23:21:21 INFO - TEST-OK | browser/base/content/test/webrtc/browser_devices_get_user_media_screen.js | took 5825ms
23:21:21 INFO - checking window state

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Attached file part of the log
We had 45 failures in the past week:
Platforms: windows7-32-shippable, windows7-32-devedition, windows7-32, windows10-aarch64, windows10-64-shippable-qr, windows10-64-shippable, windows10-64-qr, windows10-64-devedition, windows10-64, linux64-shippable, linux64 all on opt and linux64 debug.
Recent log failure: 
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=255198163&repo=try&lineNumber=2946
Flags: needinfo?(drno)
Whiteboard: [stokwell needswork]
Attached patch bug1440900.patch (obsolete) — Splinter Review
Assignee: nobody → aciure
Whiteboard: [stokwell needswork][stockwell disable-recommended] → [stockwell disable-recommended]
Attached patch bug1440900.patch (obsolete) — Splinter Review
Attachment #9077893 - Attachment is obsolete: true
Attachment #9077894 - Attachment is obsolete: true
Attachment #9077930 - Attachment description: Bug 1440900 - disable browser/base/content/test/webrtc/browser_devices_get_user_media_paused.js on win7 opt for frequent failures. r=jmaher → Bug 1440900 - Disable browser_devices_get_user_media_paused.js win !debug and linux64 !debug for frequent failures. r=jmaher
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
Pushed by ccoroiu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/faf9cff8b643
Disable browser_devices_get_user_media_paused.js win !debug and linux64 !debug for frequent failures. r=jmaher

FWIW, this error happens very often on ash repository which has a session history implementation moved to parent process.
That implementation changes scheduling a bit and tends to reveal racy tests.

Flags: needinfo?(jhofmann)

Other tests in the file explicitly call closeStream. It seems to help with the issue, but this
is a bit guess fix, since I'm not at all familiar with the relevant code. Perhaps the test
should pass without explicit closeStream? If so, there should be a comment why.

Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/625eaaf27bcf
try to ensure Browser:WebRTCGlobalIndicator is closed, r=johannh

Thanks for the patch!

Flags: needinfo?(jhofmann)

An attempted fix was landed (see comment 79), but I don't think anyone has gone back and checked whether we can re-enable these tests now.

Flags: needinfo?(drno)
Priority: P5 → P3
Summary: Intermittent browser/base/content/test/webrtc/browser_devices_get_user_media_paused.js | Found an unexpected Browser:WebRTCGlobalIndicator at the end of test run - → browser/base/content/test/webrtc/browser_devices_get_user_media_paused.js is disabled win !debug and linux64 !debug for frequent failures | Found an unexpected Browser:WebRTCGlobalIndicator at the end of test run -
You need to log in before you can comment on or make changes to this bug.