Bug: Intermittent browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-11-26 13:38:31+00:00
Resolved: 2024-02-05 06:15:07+00:00

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

---
```
[task 2023-11-26T12:18:02.106Z] 12:18:02     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | Firefox View tab exists - [object XULElement] == true - 
[task 2023-11-26T12:18:02.108Z] 12:18:02     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | Firefox View tab is hidden - true == true - 
[task 2023-11-26T12:18:02.108Z] 12:18:02     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | Firefox View tab is not in the list of visible tabs - -1 == -1 - 
[task 2023-11-26T12:18:02.109Z] 12:18:02     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | Firefox View tab is selected - true == true - 
[task 2023-11-26T12:18:02.109Z] 12:18:02     INFO - openFirefoxViewTab, waiting for complete readyState, visible and firefoxview-entered
[task 2023-11-26T12:18:02.110Z] 12:18:02     INFO - Buffered messages logged at 12:18:00
[task 2023-11-26T12:18:02.110Z] 12:18:02     INFO - openFirefoxViewTab, ready resolved
[task 2023-11-26T12:18:02.110Z] 12:18:02     INFO - navigateToCategoryAndWait, for opentabs
[task 2023-11-26T12:18:02.111Z] 12:18:02     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | There are two windows. - 
[task 2023-11-26T12:18:02.111Z] 12:18:02     INFO - Select a tab from the new window.
[task 2023-11-26T12:18:02.112Z] 12:18:02     INFO - Wait for the new window to be focused
[task 2023-11-26T12:18:02.112Z] 12:18:02     INFO - Buffered messages logged at 12:18:01
[task 2023-11-26T12:18:02.113Z] 12:18:02     INFO - Console message: [JavaScript Error: "InvalidStateError: [fluent][resolver] errors in en-US/firefoxview-opentabs-tab-row: Resolver error: Unknown variable: $url"]
[task 2023-11-26T12:18:02.113Z] 12:18:02     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | Reference to Firefox View tab got removed when closing the tab - true == true - 
[task 2023-11-26T12:18:02.113Z] 12:18:02     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | One window at the end of test cleanup - 
[task 2023-11-26T12:18:02.114Z] 12:18:02     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | One about:blank tab open at the end up test cleanup - ["about:blank"] deepEqual ["about:blank"] - 
[task 2023-11-26T12:18:02.115Z] 12:18:02     INFO - Buffered messages finished
[task 2023-11-26T12:18:02.119Z] 12:18:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | A promise chain failed to handle a rejection: [fluent][resolver] errors in en-US/firefoxview-opentabs-tab-row: Resolver error: Unknown variable: $url - stack: (No stack available.)
[task 2023-11-26T12:18:02.120Z] 12:18:02     INFO - Rejection date: Sun Nov 26 2023 12:18:01 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":594,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":559,"lineNumber":1166,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":559,"lineNumber":1210,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":559,"lineNumber":1352,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":559,"lineNumber":1127,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":585,"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:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127: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:1210:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1166:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127: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:1166:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2023-11-26T12:18:02.120Z] 12:18:02     INFO - Stack trace:
[task 2023-11-26T12:18:02.120Z] 12:18:02     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2023-11-26T12:18:02.120Z] 12:18:02     INFO - chrome://mochikit/content/browser-test.js:handleTask:1166
[task 2023-11-26T12:18:02.120Z] 12:18:02     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1210
[task 2023-11-26T12:18:02.120Z] 12:18:02     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1352
[task 2023-11-26T12:18:02.120Z] 12:18:02     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1127
[task 2023-11-26T12:18:02.121Z] 12:18:02     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-11-26T12:18:02.121Z] 12:18:02     INFO - Leaving test bound open_tab_new_window
[task 2023-11-26T12:18:02.121Z] 12:18:02     INFO - Entering test bound open_tab_new_private_window
[task 2023-11-26T12:18:02.857Z] 12:18:02     INFO - GECKO(10012) | 1701001082857	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-11-26T12:18:03.062Z] 12:18:03     INFO - GECKO(10012) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-11-26T12:18:03.125Z] 12:18:03     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-11-26T12:18:03.125Z] 12:18:03     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-11-26T12:18:03.125Z] 12:18:03     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-11-26T12:18:03.125Z] 12:18:03     INFO - 
[task 2023-11-26T12:18:03.142Z] 12:18:03     INFO - GECKO(10012) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-11-26T12:18:03.158Z] 12:18:03     INFO - GECKO(10012) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-11-26T12:18:03.172Z] 12:18:03     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-11-26T12:18:03.172Z] 12:18:03     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-11-26T12:18:03.172Z] 12:18:03     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-11-26T12:18:03.183Z] 12:18:03     INFO - 
[task 2023-11-26T12:18:03.184Z] 12:18:03     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-11-26T12:18:03.184Z] 12:18:03     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-11-26T12:18:03.184Z] 12:18:03     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-11-26T12:18:03.184Z] 12:18:03     INFO - 
[task 2023-11-26T12:18:03.235Z] 12:18:03     INFO - GECKO(10012) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-11-26T12:18:03.267Z] 12:18:03     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-11-26T12:18:03.267Z] 12:18:03     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-11-26T12:18:03.267Z] 12:18:03     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-11-26T12:18:03.278Z] 12:18:03     INFO - 
[task 2023-11-26T12:18:03.279Z] 12:18:03     INFO - GECKO(10012) | must wait for focus
[task 2023-11-26T12:18:03.289Z] 12:18:03     INFO - GECKO(10012) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-11-26T12:18:03.361Z] 12:18:03     INFO - GECKO(10012) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-11-26T12:18:03.376Z] 12:18:03     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-11-26T12:18:03.376Z] 12:18:03     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-11-26T12:18:03.376Z] 12:18:03     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-11-26T12:18:03.376Z] 12:18:03     INFO - 
[task 2023-11-26T12:18:03.391Z] 12:18:03     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-11-26T12:18:03.391Z] 12:18:03     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-11-26T12:18:03.391Z] 12:18:03     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-11-26T12:18:03.391Z] 12:18:03     INFO - 
[task 2023-11-26T12:18:03.455Z] 12:18:03     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | Firefox View tab exists - [object XULElement] == true - 
[task 2023-11-26T12:18:03.455Z] 12:18:03     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | Firefox View tab is hidden - true == true - 
[task 2023-11-26T12:18:03.471Z] 12:18:03     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | Firefox View tab is not in the list of visible tabs - -1 == -1 - 
[task 2023-11-26T12:18:03.472Z] 12:18:03     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_cards.js | Firefox View tab is selected - true == true - 
```