Closed Bug 1073856 Opened 7 years ago Closed 7 years ago

browser_devices_get_user_media.js is going to perma-fail when Gecko 35 merges to Aurora

Categories

(Firefox :: General, defect)

x86
Windows 8.1
defect
Not set
critical

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

Details

This might just be the perma-fail from bug 1073855 polluting this test given the error, but filing it just in case. I can re-check it after that bug is fixed too. That said, could we isolate these tests better than they apparently are?

https://tbpl.mozilla.org/php/getParsedLog.php?id=49030393&tree=Try

21:40:37     INFO -  429 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/general/browser_datareporting_notification.js | Found a browser window after previous test timed out - expected PASS
21:40:37     INFO -  430 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/general/browser_datareporting_notification.js | Found a Browser:Preferences after previous test timed out - expected PASS
21:40:37     INFO -  must wait for focus
21:40:37     INFO -  431 INFO TEST-START | chrome://mochitests/content/browser/browser/base/content/test/general/browser_devices_get_user_media.js
21:40:38     INFO -  1411792838153	Sqlite.Connection.places.sqlite#1: 	TRACE	undefinedStmt #541 INSERT OR REPLACE INTO moz_openpages_temp (url, open_count)
21:40:38     INFO -           VALUES ( :url, IFNULL( (SELECT open_count + 1
21:40:38     INFO -                                    FROM moz_openpages_temp
21:40:38     INFO -                                    WHERE url = :url),
21:40:38     INFO -                                    1
21:40:38     INFO -                                )
21:40:38     INFO -                  ) - {"url":"https://example.com/browser/browser/base/content/test/general/get_user_media.html"}
21:40:38     INFO -  1411792838196	Sqlite.Connection.places.sqlite#1: 	DEBUG	undefinedStmt #541 finished.
21:40:38     INFO -  1411792838197	Sqlite.Connection.places.sqlite#0: 	TRACE	undefinedStmt #290 SELECT b.id FROM moz_bookmarks b
21:40:38     INFO -                           JOIN moz_places h on h.id = b.fk
21:40:38     INFO -                           WHERE h.url = :url - {"url":"https://example.com/browser/browser/base/content/test/general/get_user_media.html"}
21:40:38     INFO -  TEST DEVICES: No test devices found (in media.{audio,video}_loopback_dev, using fake streams.
21:40:38     INFO -  1411792838230	Sqlite.Connection.places.sqlite#0: 	DEBUG	undefinedStmt #290 finished.
21:40:38     INFO -  dumping last 3 message(s)
21:40:38     INFO -  if you need more context, please use SimpleTest.requestCompleteLog() in your test
21:40:38     INFO -  432 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_devices_get_user_media.js | should start the test without any prior popup notification
21:40:38     INFO -  433 INFO getUserMedia audio+video
21:40:38     INFO -  434 INFO requesting devices
21:40:38     INFO -  435 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/general/browser_devices_get_user_media.js | uncaught exception - ReferenceError: ok is not defined at chrome://mochitests/content/browser/browser/base/content/test/general/browser_datareporting_notification.js:177
21:40:38     INFO -  Stack trace:
21:40:38     INFO -  chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1317
21:40:38     INFO -  null:null:0
21:40:38     INFO -  JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/general/browser_datareporting_notification.js, line 177: ReferenceError: ok is not defined
21:40:42     INFO -  1411792842352	Services.DataReporting.Policy	DEBUG	Next data submission is scheduled in the future: Sat Sep 27 2014 21:39:41 GMT-0700 (Pacific Standard Time)
21:41:23     INFO -  Not taking screenshot here: see the one that was previously logged
21:41:23     INFO -  dumping last 1 message(s)
21:41:23     INFO -  if you need more context, please use SimpleTest.requestCompleteLog() in your test
21:41:23     INFO -  436 INFO Console message: [JavaScript Error: "ReferenceError: ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_datareporting_notification.js" line: 177}]
21:41:23     INFO -  437 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/general/browser_devices_get_user_media.js | Test timed out - expected PASS
21:41:23     INFO -  1411792882997	Sqlite.Connection.places.sqlite#1: 	TRACE	undefinedStmt #542 UPDATE moz_openpages_temp
21:41:23     INFO -         SET open_count = open_count - 1
21:41:23     INFO -         WHERE url = :url - {"url":"https://example.com/browser/browser/base/content/test/general/get_user_media.html"}
21:41:23     INFO -  438 INFO TEST-OK | chrome://mochitests/content/browser/browser/base/content/test/general/browser_devices_get_user_media.js | took 45063ms
21:41:23     INFO -  dumping last 1 message(s)
21:41:23     INFO -  if you need more context, please use SimpleTest.requestCompleteLog() in your test
21:41:23     INFO -  439 INFO checking window state
21:41:23     INFO -  440 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/general/browser_devices_get_user_media.js | Found a browser window after previous test timed out - expected PASS
21:41:23     INFO -  must wait for focus

And then it appears that this spills into browser_trackingUI.js as well, which seems less than ideal...

21:42:07     INFO -  698 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_trackingUI.js | Tracking Content Doorhanger did NOT appear when protection was ON and tracking was NOT present
21:42:07     INFO -  699 INFO Wait tab event: load
21:42:07     INFO -  700 INFO Tab event received: load
21:42:07     INFO -  701 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_trackingUI.js | Tracking Content Doorhanger did appear when protection was ON and tracking was present
21:42:07     INFO -  702 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_trackingUI.js | Tracking Content is being blocked
21:42:07     INFO -  703 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_trackingUI.js | Doorhanger must have no trackingblockdisabled attribute
21:42:07     INFO -  704 INFO Wait tab event: load
21:42:07     INFO -  705 INFO Skipping spurious 'load'' event for http://tracking.example.com/
21:42:07     INFO -  706 INFO Tab event received: load
21:42:07     INFO -  707 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_trackingUI.js | Tracking Content Doorhanger did appear when protection was ON and tracking was present but white-listed
21:42:07     INFO -  708 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_trackingUI.js | Tracking Content is NOT being blocked
21:42:07     INFO -  709 INFO TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_trackingUI.js | Doorhanger must have [trackingblockdisabled='true'] attribute
21:42:07     INFO -  710 INFO Wait tab event: load
21:42:07     INFO -  711 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/general/browser_trackingUI.js | uncaught exception - ReferenceError: ok is not defined at chrome://mochitests/content/browser/browser/base/content/test/general/browser_devices_get_user_media.js:90
21:42:07     INFO -  Stack trace:
21:42:07     INFO -  chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1317
21:42:07     INFO -  null:null:0
21:42:07     INFO -  JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/general/browser_devices_get_user_media.js, line 90: ReferenceError: ok is not defined
21:42:07     INFO -  1411792927116	Sqlite.Connection.places.sqlite#1: 	TRACE	undefinedStmt #786 UPDATE moz_openpages_temp
21:42:07     INFO -         SET open_count = open_count - 1
21:42:07     INFO -         WHERE url = :url - {"url":"http://tracking.example.org/browser/browser/base/content/test/general/trackingPage.html"}
21:42:07     INFO -  1411792927116	Sqlite.Connection.places.sqlite#1: 	TRACE	undefinedStmt #787 INSERT OR REPLACE INTO moz_openpages_temp (url, open_count)
21:42:07     INFO -           VALUES ( :url, IFNULL( (SELECT open_count + 1
21:42:07     INFO -                                    FROM moz_openpages_temp
21:42:07     INFO -                                    WHERE url = :url),
21:42:07     INFO -                                    1
21:42:07     INFO -                                )
21:42:07     INFO -                  ) - {"url":"http://tracking.example.org/browser/browser/base/content/test/general/trackingPage.html"}
21:42:07     INFO -  1411792927123	Sqlite.Connection.places.sqlite#1: 	DEBUG	undefinedStmt #786 finished.
21:42:07     INFO -  1411792927123	Sqlite.Connection.places.sqlite#1: 	DEBUG	undefinedStmt #787 finished.
21:42:07     INFO -  1411792927188	Sqlite.Connection.places.sqlite#1: 	TRACE	undefinedStmt #788 UPDATE moz_openpages_temp
21:42:07     INFO -         SET open_count = open_count - 1
21:42:07     INFO -         WHERE url = :url - {"url":"http://tracking.example.org/browser/browser/base/content/test/general/trackingPage.html"}
21:42:07     INFO -  1411792927189	Sqlite.Connection.places.sqlite#1: 	TRACE	undefinedStmt #789 INSERT OR REPLACE INTO moz_openpages_temp (url, open_count)
21:42:07     INFO -           VALUES ( :url, IFNULL( (SELECT open_count + 1
21:42:07     INFO -                                    FROM moz_openpages_temp
21:42:07     INFO -                                    WHERE url = :url),
21:42:07     INFO -                                    1
21:42:07     INFO -                                )
21:42:07     INFO -                  ) - {"url":"http://tracking.example.org/browser/browser/base/content/test/general/benignPage.html"}
21:42:07     INFO -  1411792927192	Sqlite.Connection.places.sqlite#1: 	DEBUG	undefinedStmt #788 finished.
21:42:07     INFO -  1411792927192	Sqlite.Connection.places.sqlite#1: 	DEBUG	undefinedStmt #789 finished.
21:42:07     INFO -  1411792927192	Sqlite.Connection.places.sqlite#0: 	TRACE	undefinedStmt #403 SELECT b.id FROM moz_bookmarks b
21:42:07     INFO -                           JOIN moz_places h on h.id = b.fk
21:42:07     INFO -                           WHERE h.url = :url - {"url":"http://tracking.example.org/browser/browser/base/content/test/general/benignPage.html"}
21:42:07     INFO -  1411792927193	Sqlite.Connection.places.sqlite#0: 	DEBUG	undefinedStmt #403 finished.
21:42:07     INFO -  1411792927238	Sqlite.Connection.places.sqlite#1: 	TRACE	undefinedStmt #790 UPDATE moz_openpages_temp
21:42:07     INFO -         SET open_count = open_count - 1
21:42:07     INFO -         WHERE url = :url - {"url":"http://tracking.example.org/browser/browser/base/content/test/general/benignPage.html"}
21:42:07     INFO -  712 INFO TEST-OK | chrome://mochitests/content/browser/browser/base/content/test/general/browser_trackingUI.js | took 601ms
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.