Closed Bug 1678813 Opened 4 years ago Closed 4 years ago

High frequency dom/media/mediacontrol/tests/browser/browser_nosrc_and_error_media.js | Test timed out -

Categories

(Core :: Audio/Video, defect, P5)

defect

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox83 --- unaffected
firefox84 --- unaffected
firefox85 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [retriggered][stockwell fixed:patch])

Attachments

(3 files)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=322519098&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/C8GQMdurRg6XnbbQK3R2Ow/runs/1/artifacts/public/logs/live_backing.log


[task 2020-11-21T11:12:34.351Z] 11:12:34     INFO - TEST-START | dom/media/mediacontrol/tests/browser/browser_nosrc_and_error_media.js
[task 2020-11-21T11:12:34.668Z] 11:12:34     INFO - GECKO(7528) | 1605957154661	Marionette	TRACE	Received observer notification toplevel-window-ready
[task 2020-11-21T11:12:34.769Z] 11:12:34     INFO - GECKO(7528) | JavaScript error: resource://gre/actors/PictureInPictureChild.jsm, line 298: InvalidStateError: JSWindowActorChild.contentWindow getter: Cannot access property 'contentWindow' after actor 'PictureInPictureToggle' has been destroyed
[task 2020-11-21T11:12:34.786Z] 11:12:34     INFO - GECKO(7528) | JavaScript error: resource://gre/actors/PictureInPictureChild.jsm, line 298: InvalidStateError: JSWindowActorChild.contentWindow getter: Cannot access property 'contentWindow' after actor 'PictureInPictureToggle' has been destroyed
[task 2020-11-21T11:13:19.351Z] 11:13:19     INFO - TEST-INFO | started process screentopng
[task 2020-11-21T11:13:19.733Z] 11:13:19     INFO - TEST-INFO | screentopng: exit 0
[task 2020-11-21T11:13:19.733Z] 11:13:19     INFO - Buffered messages logged at 11:12:34
[task 2020-11-21T11:13:19.733Z] 11:13:19     INFO - Entering test bound setupTestingPref
[task 2020-11-21T11:13:19.733Z] 11:13:19     INFO - Leaving test bound setupTestingPref
[task 2020-11-21T11:13:19.733Z] 11:13:19     INFO - Entering test bound testNoSrcOrErrorMediaEntersPIPMode
[task 2020-11-21T11:13:19.734Z] 11:13:19     INFO - open media page https://example.com/browser/dom/media/mediacontrol/tests/browser/file_no_src_media.html
[task 2020-11-21T11:13:19.734Z] 11:13:19     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "https://example.com/browser/dom/media/mediacontrol/tests/browser/file_no_src_media.html" line: 0}]
[task 2020-11-21T11:13:19.734Z] 11:13:19     INFO - controller should always inactive
[task 2020-11-21T11:13:19.734Z] 11:13:19     INFO - enter and leave PIP mode which would not affect controller
[task 2020-11-21T11:13:19.735Z] 11:13:19     INFO - TEST-PASS | dom/media/mediacontrol/tests/browser/browser_nosrc_and_error_media.js | Should be able to find Picture-in-Picture overlay. - {} == true - 
[task 2020-11-21T11:13:19.736Z] 11:13:19     INFO - TEST-PASS | dom/media/mediacontrol/tests/browser/browser_nosrc_and_error_media.js | Video should be showing the expected state. - true == true - 
[task 2020-11-21T11:13:19.737Z] 11:13:19     INFO - TEST-PASS | dom/media/mediacontrol/tests/browser/browser_nosrc_and_error_media.js | controller is still inactive - 
[task 2020-11-21T11:13:19.738Z] 11:13:19     INFO - remove tab
[task 2020-11-21T11:13:19.738Z] 11:13:19     INFO - wait until finishing close tab wrapper
[task 2020-11-21T11:13:19.738Z] 11:13:19     INFO - must wait for focus
[task 2020-11-21T11:13:19.739Z] 11:13:19     INFO - Console message: [JavaScript Error: "InvalidStateError: JSWindowActorChild.contentWindow getter: Cannot access property 'contentWindow' after actor 'PictureInPictureToggle' has been destroyed" {file: "resource://gre/actors/PictureInPictureChild.jsm" line: 298}]
[task 2020-11-21T11:13:19.739Z] 11:13:19     INFO - handleEvent@resource://gre/actors/PictureInPictureChild.jsm:298:9
[task 2020-11-21T11:13:19.740Z] 11:13:19     INFO - 
[task 2020-11-21T11:13:19.741Z] 11:13:19     INFO - Console message: [JavaScript Error: "InvalidStateError: JSWindowActorChild.contentWindow getter: Cannot access property 'contentWindow' after actor 'PictureInPictureToggle' has been destroyed" {file: "resource://gre/actors/PictureInPictureChild.jsm" line: 298}]
[task 2020-11-21T11:13:19.742Z] 11:13:19     INFO - handleEvent@resource://gre/actors/PictureInPictureChild.jsm:298:9
[task 2020-11-21T11:13:19.742Z] 11:13:19     INFO - 
[task 2020-11-21T11:13:19.743Z] 11:13:19     INFO - Buffered messages finished
[task 2020-11-21T11:13:19.744Z] 11:13:19     INFO - TEST-UNEXPECTED-FAIL | dom/media/mediacontrol/tests/browser/browser_nosrc_and_error_media.js | Test timed out - 
[task 2020-11-21T11:13:19.744Z] 11:13:19     INFO - GECKO(7528) | MEMORY STAT | vsize 3263MB | residentFast 310MB | heapAllocated 90MB
[task 2020-11-21T11:13:19.745Z] 11:13:19     INFO - TEST-OK | dom/media/mediacontrol/tests/browser/browser_nosrc_and_error_media.js | took 45007ms
[task 2020-11-21T11:13:19.745Z] 11:13:19     INFO - checking window state
[task 2020-11-21T11:13:19.746Z] 11:13:19     INFO - GECKO(7528) | must wait for focus
[task 2020-11-21T11:13:19.747Z] 11:13:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-11-21T11:13:19.750Z] 11:13:19     INFO - TEST-UNEXPECTED-FAIL | dom/media/mediacontrol/tests/browser/browser_nosrc_and_error_media.js | Uncaught exception received from previously timed out test - at chrome://mochitests/content/browser/dom/media/mediacontrol/tests/browser/browser_nosrc_and_error_media.js:27 - ReferenceError: info is not defined
[task 2020-11-21T11:13:19.751Z] 11:13:19     INFO - Stack trace:
[task 2020-11-21T11:13:19.751Z] 11:13:19     INFO - testNoSrcOrErrorMediaEntersPIPMode@chrome://mochitests/content/browser/dom/media/mediacontrol/tests/browser/browser_nosrc_and_error_media.js:27:5```

Alastor I believe this is a regression of Bug 1659064, can you please take a look?

Flags: needinfo?(alwu)
Regressed by: 1659064
Whiteboard: [retriggered][stockwell needswork:owner]
Has Regression Range: --- → yes
Keywords: regression

Set release status flags based on info from the regressing bug 1659064

Assignee: nobody → alwu
Status: NEW → ASSIGNED
Flags: needinfo?(alwu)
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1c8480affdfd to ensure we would create promise focus before tab is closed. r=bryce
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Status: RESOLVED → REOPENED
Flags: needinfo?(alwu)
Resolution: FIXED → ---
Target Milestone: 85 Branch → ---

Will have a patch today.

Flags: needinfo?(alwu)

The patch 1 is the main patch to solve this intermittent failure, so I'm going to land it first because current intermittent failure rare is quite high. Patch2 is for solving another lower chance intermittent faliure, which I would land later after getting r+.

Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7ba52193a4f3 part1 : use `waitForFocus()` to ensure the window is focus before entering fullscreen. r=bryce
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66e7944bb19a part2 : await all promises to ensure window is focus and loaded. r=mconley
Whiteboard: [retriggered][stockwell disable-recommended] → [retriggered][stockwell fixed:patch]
See Also: → 1682123
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: