Closed Bug 1421724 Opened 7 years ago Closed 5 years ago

browser_devices_get_user_media_screen.js consistently timing out in ccov builds

Categories

(Core :: WebRTC, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: marco, Assigned: pehrsons)

References

Details

Attachments

(4 files)

      No description provided.
Increasing the timeout by 10x didn't help.
Let's disable the test until it is fixed.
Attachment #8933336 - Flags: review?(achronop)
Keywords: leave-open
Comment on attachment 8933336 [details] [diff] [review]
Disable test until it is fixed

If I understand correctly we disable only for Code Coverage run in windows.
Attachment #8933336 - Flags: review?(achronop) → review+
(In reply to Alex Chronopoulos [:achronop] from comment #3)
> Comment on attachment 8933336 [details] [diff] [review]
> Disable test until it is fixed
> 
> If I understand correctly we disable only for Code Coverage run in windows.

Exactly.
Pushed by mcastelluccio@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ac74d02ba092
Disable browser_devices_get_user_media_screen.js on Windows coverage builds until it is fixed. r=achronop
Rank: 25
Priority: -- → P3
The leave-open keyword is there and there is no activity for 6 months.
:drno, maybe it's time to close this bug?
Flags: needinfo?(drno)
I hit a similar issue in a local linux headless test run. Turns out that we're timing out at [1] waiting for the doorhanger to appear, but it doesn't because the right window is not active any longer. chrome://browser/content/webrtcIndicator.xul is the active window instead (this is the global media capture indicator on at least linux, but not mac, hopefully windows too).

This makes sense perhaps, as it has appeared after the previous doorhanger was granted permission but before the current one could appear.

Florian, do you know whether this is expected? I.e., should I make the test move focus to the previous window, or do we expect the webrtc indicator to not take focus?


[1] https://searchfox.org/mozilla-central/rev/0ee0b63732d35d16ba22d5a1120622e2e8d58c29/browser/base/content/test/webrtc/browser_devices_get_user_media_screen.js#107-110
Flags: needinfo?(florian)
(In reply to Andreas Pehrson [:pehrsons] from comment #8)

> Florian, do you know whether this is expected? I.e., should I make the test
> move focus to the previous window, or do we expect the webrtc indicator to
> not take focus?

I don't expect the webrtc global indicator window to steal focus. That said, if forcefully moving the focus to the browser window again makes the test pass and lets you move forward, I'm ok with it.
Flags: needinfo?(florian)
Assignee: nobody → apehrson
Status: NEW → ASSIGNED
Keywords: leave-open
Flags: needinfo?(drno)
Pushed by pehrsons@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/5c37c61c937e
Re-enable browser-chrome gUM_screen test. r=marco
https://hg.mozilla.org/integration/autoland/rev/2c1444bc6c19
Steal back focus from global webrtc indicator when doing second gUM requests. r=florian
https://hg.mozilla.org/integration/autoland/rev/2c87990aee06
Account for headless Firefox not exposing scary windows. r=florian
https://hg.mozilla.org/mozilla-central/rev/5c37c61c937e
https://hg.mozilla.org/mozilla-central/rev/2c1444bc6c19
https://hg.mozilla.org/mozilla-central/rev/2c87990aee06
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: