Bug: Intermittent browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | After filtering we must have the expected number of events. - 5 == 3 - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertEvents :: line 181
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2022-09-02 00:32:30+00:00
Resolved: 2022-09-15 23:44:32+00:00

**Filed by:** nbeleuzu [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=389222988&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Z0Eba3zmT92HXsAf2fylMQ/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Z0Eba3zmT92HXsAf2fylMQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2022-09-01T23:03:52.662Z] 23:03:52     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | parent must be in snapshot. Has [parent]. - true == true - 
[task 2022-09-01T23:03:52.663Z] 23:03:52     INFO - Buffered messages finished
[task 2022-09-01T23:03:52.664Z] 23:03:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | After filtering we must have the expected number of events. - 5 == 3 - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertEvents :: line 181
[task 2022-09-01T23:03:52.664Z] 23:03:52     INFO - Stack trace:
[task 2022-09-01T23:03:52.665Z] 23:03:52     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertEvents:181
[task 2022-09-01T23:03:52.665Z] 23:03:52     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js:test_time_updates_correctly/<:371
[task 2022-09-01T23:03:52.666Z] 23:03:52     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | category in event firefoxview#tab_pickup_open#tabs must match. - "firefoxview" matches "firefoxview" - 
[task 2022-09-01T23:03:52.667Z] 23:03:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-01T23:03:52.668Z] 23:03:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | method in event firefoxview#tab_pickup_open#tabs must match. - "tab_pickup_open" matches "entered" - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertEvents :: line 216
[task 2022-09-01T23:03:52.668Z] 23:03:52     INFO - Stack trace:
[task 2022-09-01T23:03:52.669Z] 23:03:52     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertEvents:216
[task 2022-09-01T23:03:52.670Z] 23:03:52     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js:test_time_updates_correctly/<:371
[task 2022-09-01T23:03:52.670Z] 23:03:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-01T23:03:52.671Z] 23:03:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | object in event firefoxview#tab_pickup_open#tabs must match. - "tabs" matches "firefoxview" - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertEvents :: line 216
[task 2022-09-01T23:03:52.671Z] 23:03:52     INFO - Stack trace:
[task 2022-09-01T23:03:52.672Z] 23:03:52     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertEvents:216
[task 2022-09-01T23:03:52.672Z] 23:03:52     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js:test_time_updates_correctly/<:371
[task 2022-09-01T23:03:52.673Z] 23:03:52     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | category in event firefoxview#closed_tabs_open#tabs must match. - "firefoxview" matches "firefoxview" - 
[task 2022-09-01T23:03:52.674Z] 23:03:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-01T23:03:52.674Z] 23:03:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | method in event firefoxview#closed_tabs_open#tabs must match. - "closed_tabs_open" matches "synced_tabs" - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertEvents :: line 216
[task 2022-09-01T23:03:52.675Z] 23:03:52     INFO - Stack trace:
[task 2022-09-01T23:03:52.676Z] 23:03:52     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertEvents:216
[task 2022-09-01T23:03:52.676Z] 23:03:52     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js:test_time_updates_correctly/<:371
[task 2022-09-01T23:03:52.677Z] 23:03:52     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | object in event firefoxview#closed_tabs_open#tabs must match. - "tabs" matches "tabs" - 
[task 2022-09-01T23:03:52.677Z] 23:03:52     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | Actual event firefoxview#closed_tabs_open#tabs expected to have extra. - true == true - 
[task 2022-09-01T23:03:52.678Z] 23:03:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-01T23:03:52.679Z] 23:03:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | Uncaught exception in test - at resource://testing-common/TelemetryTestUtils.jsm:238 - TypeError: right-hand side of 'in' should be an object, got undefined
[task 2022-09-01T23:03:52.679Z] 23:03:52     INFO - Stack trace:
[task 2022-09-01T23:03:52.680Z] 23:03:52     INFO - assertEvents@resource://testing-common/TelemetryTestUtils.jsm:238:1
[task 2022-09-01T23:03:52.680Z] 23:03:52     INFO - test_time_updates_correctly/<@chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js:371:26
[task 2022-09-01T23:03:52.681Z] 23:03:52     INFO - Leaving test bound test_time_updates_correctly
[task 2022-09-01T23:03:52.681Z] 23:03:52     INFO - Console message: 1662073432037	FirefoxView.TabsSetup	DEBUG	maybeUpdateUI, conditions not met to exit state: : synced-tabs-not-ready
[task 2022-09-01T23:03:52.684Z] 23:03:52     INFO - Console message: 1662073432037	FirefoxView.TabsSetup	DEBUG	maybeUpdateUI, _uiUpdateNeeded:: true
[task 2022-09-01T23:03:52.686Z] 23:03:52     INFO - GECKO(15275) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 378: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2022-09-01T23:03:52.687Z] 23:03:52     INFO - Console message: [JavaScript Error: "TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null" {file: "resource:///modules/AsyncTabSwitcher.jsm" line: 378}]
[task 2022-09-01T23:03:52.688Z] 23:03:52     INFO - updateDisplay@resource:///modules/AsyncTabSwitcher.jsm:378:26
[task 2022-09-01T23:03:52.689Z] 23:03:52     INFO - postActions@resource:///modules/AsyncTabSwitcher.jsm:673:10
[task 2022-09-01T23:03:52.689Z] 23:03:52     INFO - handleEvent@resource:///modules/AsyncTabSwitcher.jsm:1127:12
[task 2022-09-01T23:03:52.681Z] 23:03:52     INFO - Console message: 1662073432037	FirefoxView.TabsSetup	DEBUG	maybeUpdateUI, conditions not met to exit state: : synced-tabs-not-ready
[task 2022-09-01T23:03:52.684Z] 23:03:52     INFO - Console message: 1662073432037	FirefoxView.TabsSetup	DEBUG	maybeUpdateUI, _uiUpdateNeeded:: true
[task 2022-09-01T23:03:52.686Z] 23:03:52     INFO - GECKO(15275) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 378: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2022-09-01T23:03:52.687Z] 23:03:52     INFO - Console message: [JavaScript Error: "TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null" {file: "resource:///modules/AsyncTabSwitcher.jsm" line: 378}]
[task 2022-09-01T23:03:52.688Z] 23:03:52     INFO - updateDisplay@resource:///modules/AsyncTabSwitcher.jsm:378:26
[task 2022-09-01T23:03:52.689Z] 23:03:52     INFO - postActions@resource:///modules/AsyncTabSwitcher.jsm:673:10
[task 2022-09-01T23:03:52.689Z] 23:03:52     INFO - handleEvent@resource:///modules/AsyncTabSwitcher.jsm:1127:12
[task 2022-09-01T23:03:52.690Z] 23:03:52     INFO - 
[task 2022-09-01T23:03:52.691Z] 23:03:52     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/" line: 0}]
[task 2022-09-01T23:03:53.163Z] 23:03:53     INFO - GECKO(15275) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2022-09-01T23:03:53.165Z] 23:03:53     INFO - GECKO(15275) | MEMORY STAT | vsize 11443MB | residentFast 503MB | heapAllocated 238MB
[task 2022-09-01T23:03:53.168Z] 23:03:53     INFO - TEST-OK | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | took 3201ms
[task 2022-09-01T23:03:53.169Z] 23:03:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-01T23:03:53.170Z] 23:03:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | Found an unexpected tab at the end of test run: https://example.com/ - 
[task 2022-09-01T23:03:53.183Z] 23:03:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-01T23:03:53.185Z] 23:03:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_tab_pickup_list.js | Found an unexpected tab at the end of test run: about:firefoxview - 
[task 2022-09-01T23:03:53.216Z] 23:03:53     INFO - checking window state
[task 2022-09-01T23:03:53.232Z] 23:03:53     INFO - GECKO(15275) | Completed ShutdownLeaks collections in process 15275
```