Frequent browser/components/places/tests/browser/browser_toolbar_other_bookmarks.js | [JavaScript Error: "uncaught exception: Object"] -
Categories
(Firefox :: Address Bar, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox83 | --- | unaffected |
firefox84 | --- | fixed |
firefox85 | --- | affected |
People
(Reporter: intermittent-bug-filer, Assigned: jaws)
References
(Regression)
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 file)
Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=321785369&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Gq5fzGv_RqS3T8XPnHnkpw/runs/0/artifacts/public/logs/live_backing.log
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - TEST-PASS | browser/components/places/tests/browser/browser_toolbar_other_bookmarks.js | Menu item was removed from the popup. -
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - Closing menu popup.
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - Leaving test bound testDeletingMenuItems
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - Entering test bound no_errors_when_bookmarks_placed_in_palette
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - Buffered messages finished
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_toolbar_other_bookmarks.js | [JavaScript Error: "uncaught exception: Object"] -
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - Stack trace:
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - chrome://mochikit/content/browser-test.js:test_ok:1304
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_toolbar_other_bookmarks.js:observe:229
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_toolbar_other_bookmarks.js | There should be no console errors - Got 1, expected +0
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - Stack trace:
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-11-14T11:32:23.000Z] 11:32:22 INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_toolbar_other_bookmarks.js:no_errors_when_bookmarks_placed_in_palette:239
[task 2020-11-14T11:32:23.000Z] 11:32:23 INFO - GECKO(2060) | [Parent 2060, Main Thread] WARNING: 'NS_FAILED(aRv)', file /builds/worker/checkouts/gecko/netwerk/ipc/NeckoParent.cpp:914
[task 2020-11-14T11:32:23.000Z] 11:32:23 INFO - GECKO(2060) | [Child 2063, Main Thread] WARNING: NS_ENSURE_TRUE(mRequest) failed: file /builds/worker/checkouts/gecko/netwerk/base/nsBaseChannel.cpp:928
[task 2020-11-14T11:32:23.000Z] 11:32:23 INFO - GECKO(2060) | JavaScript error: , line 0: uncaught exception: Object
[task 2020-11-14T11:32:23.000Z] 11:32:23 INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2020-11-14T11:32:23.000Z] 11:32:23 INFO - Leaving test bound no_errors_when_bookmarks_placed_in_palette```
Assignee | ||
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 3•5 years ago
|
||
Set release status flags based on info from the regressing bug 1674091
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 6•5 years ago
|
||
No instances since November 20. Good enough for me.
Comment 7•5 years ago
|
||
Ryan, this looks to have appeared again, should we reopen this bug?
https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&fromchange=1359af4d35d17f5db3e8e35e34e2f86d2a5b4ea2&searchStr=os%2Cx%2C10.14%2Cwebrender%2Cdebug%2Cmochitests%2Ctest-macosx1014-64-qr%2Fdebug-mochitest-browser-chrome-e10s%2Cbc3&tochange=be05e6b10ddfb4f6aa5fd10d69c3e3641bce3c69&selectedTaskRun=KiwkCRYVQY2qSf0hgmb36w.0
Comment 8•5 years ago
|
||
Sure.
Comment 9•5 years ago
|
||
filter by test path https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&test_paths=browser%2Fcomponents%2Fplaces%2Ftests%2Fbrowser&tochange=f01f746874d4b81eb44ec92a588edfb72b7329a8&fromchange=ea5674f9a511fda3697a159e2be34fad0623dda3&selectedTaskRun=HRZz_BKfTiaVoL2_J0Sf8Q.0
Treeherder
Comment 10•5 years ago
|
||
Jared, can you remind me why we're checking for errors in this test in this way? I suspect this uncaught exception is coming from somewhere else, but it's not clear where from, so it'll be a bit of a nightmare to debug...
Comment 11•5 years ago
|
||
Judging by the error description alone, it seems awfully similar to bug 1586741...
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 13•5 years ago
|
||
I added the test that looks for any exceptions because an exception was getting thrown when trying to update the Other Bookmarks folder visibility if the toolbar was in the palette. There's a couple things we can do here:
- Check for specific exception messages and ignore the rest.
- To help with debugging, change
ok(false, error.message);
to
ok(false, `${error.message}, ${error.stack}, ${JSON.stringify(error)}`);
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
Updated•5 years ago
|
Comment 16•5 years ago
|
||
bugherder |
Comment 17•5 years ago
|
||
That didn't help. :-(
[task 2020-12-16T11:38:35.948Z] 11:38:35 INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_toolbar_other_bookmarks.js | [JavaScript Error: "uncaught exception: Object"], undefined, {"message":"[JavaScript Error: "uncaught exception: Object"]","logLevel":3,"timeStamp":1608118715705,"debug":0,"info":1,"warn":2,"error":3} -
Comment 18•5 years ago
|
||
These types of errors are the bane of our existence - they're really hard to track down and often not directly related to what's happening in a given test.
Kris, how hard would it be to assert in debug builds if system-privileged code throws exceptions or rejects promises in a way that produces these useless messages?
Updated•5 years ago
|
Comment 19•5 years ago
|
||
This particular intermittent isn't happening on release branch, and didn't happen on beta when 84 was on beta, so we shouldn't mark 84 as affected (and anyway we probably wouldn't uplift further changes there if they were automation/debug-specific).
Comment hidden (Intermittent Failures Robot) |
Comment 21•5 years ago
|
||
Looks like this went away with bug 1674840 and the fix for bug 1683206. I don't understand why, but there's probably not much point keeping this open. I filed bug 1684043 to make changes to the JS engine to avoid this class of problems being so hard to diagnose/fix.
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
Description
•