Permafailing fission tier 2 toolkit/content/tests/browser/browser_block_autoplay_media.js | The suspeded state of autoplay audio is correct. - 0 == 2 -
Categories
(Core :: Audio/Video: Playback, defect, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox-esr68 | --- | unaffected |
| firefox69 | --- | unaffected |
| firefox70 | --- | disabled |
| firefox71 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: whawkins)
References
(Regression)
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 file)
Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=261862934&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/O8Tuc5jrRIa_KwmRaGcgQw/runs/0/artifacts/public/logs/live_backing.log
[task 2019-08-15T20:49:43.352Z] 20:49:43 INFO - Console message: [JavaScript Warning: "Autoplay is only allowed when approved by the user, the site is activated by the user, or media is muted." {file: "https://example.com/browser/toolkit/content/tests/browser/file_multipleAudio.html" line: 16}]
[task 2019-08-15T20:49:43.352Z] 20:49:43 INFO - - should block autoplay for non-visited tab4 -
[task 2019-08-15T20:49:43.353Z] 20:49:43 INFO - Buffered messages finished
[task 2019-08-15T20:49:43.353Z] 20:49:43 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_media.js | The suspeded state of autoplay audio is correct. - 0 == 2 -
[task 2019-08-15T20:49:43.353Z] 20:49:43 INFO - Stack trace:
[task 2019-08-15T20:49:43.353Z] 20:49:43 INFO - resource://testing-common/content-task.js line 62 > eval:null:8
[task 2019-08-15T20:49:43.354Z] 20:49:43 INFO - resource://testing-common/content-task.js:null:63
[task 2019-08-15T20:49:43.354Z] 20:49:43 INFO - Console message: [JavaScript Error: "NotAllowedError: The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission."]
[task 2019-08-15T20:49:43.355Z] 20:49:43 INFO - TEST-PASS | toolkit/content/tests/browser/browser_block_autoplay_media.js | autoplay audio should be paused. - true == true -
[task 2019-08-15T20:49:43.355Z] 20:49:43 INFO - - should not block media from tab4 -
[task 2019-08-15T20:49:43.355Z] 20:49:43 INFO - Playing state doens't match, wait for attributes changes.
[task 2019-08-15T20:50:26.437Z] 20:50:26 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-08-15T20:50:26.439Z] 20:50:26 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_media.js | Test timed out -
[task 2019-08-15T20:50:26.441Z] 20:50:26 INFO - GECKO(16129) | MEMORY STAT | vsize 3062MB | residentFast 306MB | heapAllocated 101MB
[task 2019-08-15T20:50:26.442Z] 20:50:26 INFO - TEST-OK | toolkit/content/tests/browser/browser_block_autoplay_media.js | took 45015ms
[task 2019-08-15T20:50:26.443Z] 20:50:26 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-08-15T20:50:26.444Z] 20:50:26 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_media.js | Found a tab after previous test timed out: https://example.com/browser/toolkit/content/tests/browser/file_multipleAudio.html -
[task 2019-08-15T20:50:26.459Z] 20:50:26 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-08-15T20:50:26.460Z] 20:50:26 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_media.js | Found a tab after previous test timed out: about:blank -
[task 2019-08-15T20:50:26.495Z] 20:50:26 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-08-15T20:50:26.496Z] 20:50:26 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_media.js | Found a tab after previous test timed out: https://example.com/browser/toolkit/content/tests/browser/file_multipleAudio.html -
[task 2019-08-15T20:50:26.511Z] 20:50:26 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-08-15T20:50:26.512Z] 20:50:26 INFO - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_block_autoplay_media.js | Found a tab after previous test timed out: https://example.com/browser/toolkit/content/tests/browser/file_multipleAudio.html -
[task 2019-08-15T20:50:26.535Z] 20:50:26 INFO - checking window state
[task 2019-08-15T20:50:26.551Z] 20:50:26 INFO - GECKO(16129) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object
| Comment hidden (Intermittent Failures Robot) |
Comment 2•7 years ago
|
||
This has started permafailing once Bug 1551313 has landed: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&group_state=expanded&searchStr=linux%2Cx64%2Copt%2Cmochitests%2Cwith%2Cfission%2Cenabled%2Ctest-linux64%2Fopt-mochitest-browser-chrome-fis-e10s-1%2Cm-fis%28bc1%29&revision=243d7178baf8af12782eaeed566e00a086c852f7&selectedJob=263417340
Will, could you take a look please?
Thank you.
| Assignee | ||
Comment 3•7 years ago
|
||
Thanks for flagging me on this! I will absolutely take a look. I hope that I am not the cause, but I will definitely take a look. Thanks for flagging me!
Will
PS: I am going to leave the ni to keep up the pressure.:-)
| Assignee | ||
Comment 4•7 years ago
|
||
I popped up a try job to recreate this error because I cannot recreate it locally. I am testing locally on a 64 bit machine so I don't know if/how my local setup differs from the try server. I'll be interested in seeing the additional logs that the try server generates.
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 7•7 years ago
|
||
Hi Will, are there any updates on this?
| Assignee | ||
Comment 8•7 years ago
|
||
Yes, I have done extensive testing on this and, I think, have definitively determined that this is a timing-related failure. I have added extensive debugging and verified that the behavior is correct but that the tests sometimes race. I am still working to come up with a proposed fix.
| Assignee | ||
Comment 9•7 years ago
|
||
| Assignee | ||
Comment 10•7 years ago
|
||
nataliaCs: Just FYI, a test run with the the proposed fix: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3d3e2f74ffda0147219e83772303963f9b814c85&selectedJob=264658639
| Assignee | ||
Comment 11•7 years ago
|
||
Here is a try run for Mac: https://treeherder.mozilla.org/#/jobs?repo=try&revision=b15b50b2f17bef072ae1d3bc2098d8945835035b
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
Comment 12•7 years ago
|
||
Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/dd6fd67a75eb
Specify the proper parameters to BrowserTestUtils.browserLoaded to ensure that a page's content is entirely loaded before testing for the results of side effects of operations in that content.
Comment 13•7 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 14•7 years ago
|
||
| bugherder | ||
Comment 15•7 years ago
|
||
This is still happening: tier 2 test verify job: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=265507855&repo=mozilla-central&lineNumber=1234
| Assignee | ||
Comment 16•7 years ago
|
||
I was worried about this. We will take our backup approach and see if that helps. Thanks for flagging this.
Will
| Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Updated•7 years ago
|
Comment 18•6 years ago
|
||
Retroactively moving fixed bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to an appropriate Fission Milestone.
This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:
0ee3c76a-bc79-4eb2-8d12-05dc0b68e732
Updated•4 years ago
|
Description
•