If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Intermittent browser/base/content/test/webrtc/browser_devices_get_user_media_tear_off_tab.js | expected notification recording-device-events - Got undefined, expected 1

RESOLVED FIXED in Firefox 52

Status

()

Firefox
General
RESOLVED FIXED
11 months ago
9 months ago

People

(Reporter: aryx, Assigned: pehrsons)

Tracking

({intermittent-failure, regression})

Trunk
Firefox 52
intermittent-failure, regression
Points:
---

Firefox Tracking Flags

(firefox49 unaffected, firefox50 unaffected, firefox51 unaffected, firefox52 fixed)

Details

MozReview Requests

()

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

+++ This bug was initially created as a clone of Bug #1301588 +++

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


12:57:11     INFO -  251 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_tear_off_tab.js | only one global indicator window -
12:57:11     INFO -  252 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_tear_off_tab.js | control center should be hidden -
12:57:11     INFO -  253 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_tear_off_tab.js | control center should be open in the second window -
12:57:11     INFO -  254 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_tear_off_tab.js | control center should be hidden in the first window -
12:57:11     INFO -  255 INFO TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_tear_off_tab.js | expected notification recording-window-ended -
12:57:11     INFO -  256 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/webrtc/browser_devices_get_user_media_tear_off_tab.js | expected notification recording-device-events - Got undefined, expected 1
12:57:11     INFO -  Stack trace:
12:57:11     INFO -  chrome://mochikit/content/browser-test.js:test_is:909
12:57:11     INFO -  chrome://mochitests/content/browser/browser/base/content/test/webrtc/head.js:listener:212
Looks like this started with https://hg.mozilla.org/integration/autoland/rev/583a86a0e8d2 from bug 1284102.
Flags: needinfo?(pehrson)
(Assignee)

Comment 2

11 months ago
Looks like that event sometimes comes later than expected.
If we think it's just a matter of waiting, we could do:

 let promises = [promiseObserverCalled("recording-device-events"),
                 promiseObserverCalled("recording-window-ended")];
 /* close window... */
 yield Promise.all(promises);

like closeStream does in head.js.
Comment hidden (mozreview-request)
(Assignee)

Updated

11 months ago
Flags: needinfo?(pehrson)
(Assignee)

Updated

11 months ago
Assignee: nobody → pehrson
Status: NEW → ASSIGNED

Comment 5

11 months ago
mozreview-review
Comment on attachment 8803878 [details]
Bug 1312234 - Wait for gUM capture messages when tearing off a tab.

https://reviewboard.mozilla.org/r/88078/#review87324

Thanks!
Attachment #8803878 - Flags: review?(florian) → review+
Blocks: 1284102
status-firefox49: --- → unaffected
status-firefox50: --- → unaffected
status-firefox51: --- → unaffected
status-firefox52: --- → affected
Keywords: regression

Comment 6

11 months ago
Pushed by pehrsons@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/2199f815eaa9
Wait for gUM capture messages when tearing off a tab. r=florian

Comment 7

11 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/2199f815eaa9
Status: ASSIGNED → RESOLVED
Last Resolved: 11 months ago
status-firefox52: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52

Comment 8

11 months ago
31 automation job failures were associated with this bug in the last 7 days.

Repository breakdown:
* mozilla-inbound: 12
* autoland: 8
* try: 5
* mozilla-central: 3
* fx-team: 2
* mozilla-aurora: 1

Platform breakdown:
* linux32: 31

For more details, see:
https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1312234&startday=2016-10-24&endday=2016-10-30&tree=all
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.