Bug: Intermittent browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2024-02-09 06:44:23+00:00
Resolved: 2024-02-10 06:02:17+00:00

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

---
```
[task 2024-02-09T04:10:34.052Z] 04:10:34     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | Firefox View tab exists - "[object XULElement]" == true - 
[task 2024-02-09T04:10:34.053Z] 04:10:34     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | Firefox View tab is hidden - true == true - 
[task 2024-02-09T04:10:34.054Z] 04:10:34     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | Firefox View tab is not in the list of visible tabs - -1 == -1 - 
[task 2024-02-09T04:10:34.054Z] 04:10:34     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | Firefox View tab is selected - true == true - 
[task 2024-02-09T04:10:34.055Z] 04:10:34     INFO - openFirefoxViewTab, waiting for complete readyState, visible and firefoxview-entered
[task 2024-02-09T04:10:34.056Z] 04:10:34     INFO - Buffered messages logged at 04:10:27
[task 2024-02-09T04:10:34.056Z] 04:10:34     INFO - Console message: 1707451827070	FirefoxView.TabsSetup	DEBUG	updateViewVisibility for instance: 475799, visibility: closed
[task 2024-02-09T04:10:34.057Z] 04:10:34     INFO - Console message: 1707451827070	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2024-02-09T04:10:34.058Z] 04:10:34     INFO - openFirefoxViewTab, ready resolved
[task 2024-02-09T04:10:34.058Z] 04:10:34     INFO - navigateToCategoryAndWait, for history
[task 2024-02-09T04:10:34.059Z] 04:10:34     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | Searching within history. - 
[task 2024-02-09T04:10:34.060Z] 04:10:34     INFO - Console message: 1707451827464	FirefoxView.TabsSetup	DEBUG	updateViewVisibility for instance: 475799, visibility: unloaded
[task 2024-02-09T04:10:34.060Z] 04:10:34     INFO - Console message: 1707451827464	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2024-02-09T04:10:34.061Z] 04:10:34     INFO - Console message: 1707451827464	FirefoxView.TabsSetup	DEBUG	updateViewVisibility for instance: 475799, visibility: hidden
[task 2024-02-09T04:10:34.062Z] 04:10:34     INFO - Console message: 1707451827464	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2024-02-09T04:10:34.062Z] 04:10:34     INFO - Input a search query
[task 2024-02-09T04:10:34.063Z] 04:10:34     INFO - Buffered messages finished
[task 2024-02-09T04:10:34.063Z] 04:10:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | Uncaught exception in test bound test_cumulative_searches_history_telemetry - Expected search results are not shown yet. - timed out after 50 tries.
[task 2024-02-09T04:10:34.064Z] 04:10:34     INFO - Leaving test bound test_cumulative_searches_history_telemetry
[task 2024-02-09T04:10:34.065Z] 04:10:34     INFO - Entering test bound test_cumulative_searches_syncedtabs_telemetry
[task 2024-02-09T04:10:34.066Z] 04:10:34     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | Firefox View tab exists - "[object XULElement]" == true - 
[task 2024-02-09T04:10:34.066Z] 04:10:34     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | Firefox View tab is hidden - true == true - 
[task 2024-02-09T04:10:34.067Z] 04:10:34     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | Firefox View tab is not in the list of visible tabs - -1 == -1 - 
[task 2024-02-09T04:10:34.068Z] 04:10:34     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | Firefox View tab is selected - true == true - 
[task 2024-02-09T04:10:34.069Z] 04:10:34     INFO - openFirefoxViewTab, waiting for complete readyState, visible and firefoxview-entered
[task 2024-02-09T04:10:34.069Z] 04:10:34     INFO - openFirefoxViewTab, ready resolved
[task 2024-02-09T04:10:34.070Z] 04:10:34     INFO - navigateToCategoryAndWait, for syncedtabs
[task 2024-02-09T04:10:34.071Z] 04:10:34     INFO - Stubbed SyncedTabs.getRecentTabs returning a promise that resolves to 6 tabs
[task 2024-02-09T04:10:34.071Z] 04:10:34     INFO - 
[task 2024-02-09T04:10:34.072Z] 04:10:34     INFO - Console message: 1707451833812	FirefoxView.TabsSetup	DEBUG	Handling UIState update
[task 2024-02-09T04:10:34.072Z] 04:10:34     INFO - Console message: 1707451833814	FirefoxView.TabsSetup	DEBUG	onSignedInChange, fxaSignedIn:: true
[task 2024-02-09T04:10:34.073Z] 04:10:34     INFO - Console message: 1707451833817	FirefoxView.TabsSetup	DEBUG	maybeUpdateUI, conditions not met to exit state: : synced-tabs-loaded
[task 2024-02-09T04:10:34.074Z] 04:10:34     INFO - Console message: 1707451833818	FirefoxView.TabsSetup	DEBUG	maybeUpdateUI, will notify update?:: true
[task 2024-02-09T04:10:34.075Z] 04:10:34     INFO - GECKO(5553) | [Parent 5553, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/generic/nsFrameSelection.cpp:1618
[task 2024-02-09T04:10:34.075Z] 04:10:34     INFO - Console message: 1707451833833	FirefoxView.TabsSetup	DEBUG	refreshDevices, mobileDeviceConnected: true, : secondaryDeviceConnected: true
[task 2024-02-09T04:10:34.076Z] 04:10:34     INFO - Console message: 1707451833833	FirefoxView.TabsSetup	DEBUG	refreshDevices: no device state change
[task 2024-02-09T04:10:34.076Z] 04:10:34     INFO - Console message: 1707451833833	FirefoxView.TabsSetup	DEBUG	onSignedInChange, tabSyncNeeded:: false
[task 2024-02-09T04:10:34.077Z] 04:10:34     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_firefoxview_search_telemetry.js | Searching within synced tabs. - 
```