Bug: Intermittent [tier 2] browser/components/places/tests/browser/browser_library_warnOnOpen.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-05-03 18:02:10+00:00
Resolved: 2024-05-31 12:02:25+00:00

**Filed by:** sstanca [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=456875950&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SWMACB-KT2eOszvGBZFy1w/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2024-05-03T17:41:29.876Z] 17:41:29     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_warnOnOpen.js | Expected dialog was shown when attempting to open folder with lots of links - true == true - 
[task 2024-05-03T17:41:29.876Z] 17:41:29     INFO - Buffered messages logged at 17:41:29
[task 2024-05-03T17:41:29.877Z] 17:41:29     INFO - Leaving test bound test_warnOnOpenFolder
[task 2024-05-03T17:41:29.877Z] 17:41:29     INFO - Entering test bound test_warnOnOpenLinks
[task 2024-05-03T17:41:29.878Z] 17:41:29     INFO - Pushed test folder into the bookmarks tree
[task 2024-05-03T17:41:29.879Z] 17:41:29     INFO - Got selection in the Library left pane
[task 2024-05-03T17:41:29.879Z] 17:41:29     INFO - Context menu opened as expected
[task 2024-05-03T17:41:29.880Z] 17:41:29     INFO - Buffered messages finished
[task 2024-05-03T17:41:29.882Z] 17:41:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_library_warnOnOpen.js | Uncaught exception in test bound test_warnOnOpenLinks - InvalidStateError: XULPopupElement.activateItem: Popup is not open
[task 2024-05-03T17:41:29.882Z] 17:41:29     INFO - Stack trace:
[task 2024-05-03T17:41:29.882Z] 17:41:29     INFO - test_warnOnOpenLinks@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_library_warnOnOpen.js:131:17
[task 2024-05-03T17:41:29.882Z] 17:41:29     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-05-03T17:41:29.882Z] 17:41:29     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-05-03T17:41:29.882Z] 17:41:29     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-05-03T17:41:29.883Z] 17:41:29     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-05-03T17:41:29.883Z] 17:41:29     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-05-03T17:41:29.883Z] 17:41:29     INFO - Leaving test bound test_warnOnOpenLinks
[task 2024-05-03T17:41:29.938Z] 17:41:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-05-03T17:41:29.942Z] 17:41:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_library_warnOnOpen.js | A promise chain failed to handle a rejection: common-dialog-loaded observer not removed before the end of test - stack: promiseAlertDialog@resource://testing-common/BrowserTestUtils.sys.mjs:2636:26
[task 2024-05-03T17:41:29.942Z] 17:41:29     INFO - async*test_warnOnOpenLinks@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_library_warnOnOpen.js:129:40
[task 2024-05-03T17:41:29.943Z] 17:41:29     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-05-03T17:41:29.943Z] 17:41:29     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-05-03T17:41:29.943Z] 17:41:29     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-05-03T17:41:29.943Z] 17:41:29     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-05-03T17:41:29.943Z] 17:41:29     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-05-03T17:41:29.943Z] 17:41:29     INFO - Rejection date: Fri May 03 2024 17:41:29 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":618,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":583,"lineNumber":774,"columnNumber":29,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"testScope/test_finish/<","sourceId":583,"lineNumber":1806,"columnNumber":25,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"run","sourceId":583,"lineNumber":1726,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"run@chrome://mochikit/content/browser-test.js:1726:9\n","nativeSavedFrame":{}},"formattedStack":"async*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1806:25\nrun@chrome://mochikit/content/browser-test.js:1726:9\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"nextTest@chrome://mochikit/content/browser-test.js:774:29\nasync*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1806:25\nrun@chrome://mochikit/content/browser-test.js:1726:9\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nnextTest@chrome://mochikit/content/browser-test.js:774:29\nasync*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1806:25\nrun@chrome://mochikit/content/browser-test.js:1726:9\n","nativeSavedFrame":{}}
[task 2024-05-03T17:41:29.943Z] 17:41:29     INFO - Stack trace:
[task 2024-05-03T17:41:29.943Z] 17:41:29     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-05-03T17:41:29.943Z] 17:41:29     INFO - chrome://mochikit/content/browser-test.js:nextTest:774
[task 2024-05-03T17:41:29.943Z] 17:41:29     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1806
[task 2024-05-03T17:41:29.943Z] 17:41:29     INFO - chrome://mochikit/content/browser-test.js:run:1726
[task 2024-05-03T17:41:29.944Z] 17:41:29     INFO - GECKO(7912) | JavaScript error: resource://testing-common/BrowserTestUtils.sys.mjs, line 2636: uncaught exception: common-dialog-loaded observer not removed before the end of test
[task 2024-05-03T17:41:29.945Z] 17:41:29     INFO - Console message: [JavaScript Error: "uncaught exception: common-dialog-loaded observer not removed before the end of test" {file: "resource://testing-common/BrowserTestUtils.sys.mjs" line: 2636}]
[task 2024-05-03T17:41:30.361Z] 17:41:30     INFO - GECKO(7912) | MEMORY STAT | vsize 2104748MB | vsizeMaxContiguous 65277262MB | residentFast 588MB | heapAllocated 272MB
[task 2024-05-03T17:41:30.362Z] 17:41:30     INFO - TEST-OK | browser/components/places/tests/browser/browser_library_warnOnOpen.js | took 2171ms
```