Bug: Intermittent browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-10-12 07:07:48+00:00
Resolved: 2023-11-10 12:02:28+00:00

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

---
```
[task 2023-10-12T06:47:38.148Z] 06:47:38     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js | Tab list has items with URLs in the expected order - ["data:,Tab1","data:,Tab2","data:,Tab3","data:,Tab4"] deepEqual ["data:,Tab1","data:,Tab2","data:,Tab3","data:,Tab4"] - 
[task 2023-10-12T06:47:38.148Z] 06:47:38     INFO - Buffered messages finished
[task 2023-10-12T06:47:38.151Z] 06:47:38     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js | A promise chain failed to handle a rejection: this.cachedHistoryOptions is null - stack: #getMapKeyForVisit@resource://gre/modules/PlacesQuery.sys.mjs:221:13
[task 2023-10-12T06:47:38.151Z] 06:47:38     INFO - #getContainerForVisit@resource://gre/modules/PlacesQuery.sys.mjs:211:43
[task 2023-10-12T06:47:38.151Z] 06:47:38     INFO - appendToCache@resource://gre/modules/PlacesQuery.sys.mjs:148:31
[task 2023-10-12T06:47:38.151Z] 06:47:38     INFO - appendToCache@resource:///modules/firefox-view-places-query.sys.mjs:90:11
[task 2023-10-12T06:47:38.151Z] 06:47:38     INFO - fetchHistory@resource://gre/modules/PlacesQuery.sys.mjs:133:12
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - async*fetchHistory@resource:///modules/firefox-view-places-query.sys.mjs:120:17
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - getHistory@resource://gre/modules/PlacesQuery.sys.mjs:85:18
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - updateHistoryData@chrome://browser/content/firefoxview/history.mjs:129:51
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - #updateAllHistoryItems@chrome://browser/content/firefoxview/history.mjs:88:18
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - viewTabVisibleCallback@chrome://browser/content/firefoxview/history.mjs:95:32
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - handleEvent@chrome://browser/content/firefoxview/viewpage.mjs:48:16
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - EventListener.handleEvent*connectedCallback@chrome://browser/content/firefoxview/viewpage.mjs:36:24
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - connectedCallback@chrome://browser/content/firefoxview/history.mjs:44:11
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - @chrome://browser/content/firefoxview/history.mjs:526:16
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - Rejection date: Thu Oct 12 2023 06:47:37 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":587,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":553,"lineNumber":1159,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":553,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":553,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":553,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":578,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1159:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nhandleTask@chrome://mochikit/content/browser-test.js:1159:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - Stack trace:
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - chrome://mochikit/content/browser-test.js:handleTask:1159
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-10-12T06:47:38.157Z] 06:47:38     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-10-12T06:47:38.158Z] 06:47:38     INFO - Leaving test bound test_multiple_window_tabs
[task 2023-10-12T06:47:38.158Z] 06:47:38     INFO - Entering test bound test_windows_activation
[task 2023-10-12T06:47:38.159Z] 06:47:38     INFO - Loading data:,Tab1 into blank tab: about:blank
[task 2023-10-12T06:47:38.160Z] 06:47:38     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js | Prepared 1 tabs as expected - 1 == 1 
```