Bug: Intermittent browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | single tracking bug
Status: ASSIGNED
Priority: P5
Created: 2024-11-30 07:59:26+00:00
Resolved: 2025-02-17 06:56:35+00:00

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

---
```
[task 2024-11-30T07:17:43.749Z] 07:17:43     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js
[task 2024-11-30T07:17:45.256Z] 07:17:45     INFO - GECKO(10042) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp6_2yvzo9.mozrunner/runtests_leaks_tab_pid23755.log
[task 2024-11-30T07:17:45.265Z] 07:17:45     INFO - GECKO(10042) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp6_2yvzo9.mozrunner/runtests_leaks_tab_pid23761.log
[task 2024-11-30T07:17:46.080Z] 07:17:46     INFO - GECKO(10042) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp6_2yvzo9.mozrunner/runtests_leaks_tab_pid23811.log
[task 2024-11-30T07:17:46.095Z] 07:17:46     INFO - GECKO(10042) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp6_2yvzo9.mozrunner/runtests_leaks_tab_pid23813.log
[task 2024-11-30T07:17:51.274Z] 07:17:51     INFO - TEST-INFO | started process screentopng
[task 2024-11-30T07:17:51.448Z] 07:17:51     INFO - TEST-INFO | screentopng: exit 0
[task 2024-11-30T07:17:51.448Z] 07:17:51     INFO - Buffered messages logged at 07:17:43
[task 2024-11-30T07:17:51.449Z] 07:17:51     INFO - Entering setup bound 
[task 2024-11-30T07:17:51.449Z] 07:17:51     INFO - Install Search Engines related to Persisted Search Tests
[task 2024-11-30T07:17:51.449Z] 07:17:51     INFO - Example
[task 2024-11-30T07:17:51.449Z] 07:17:51     INFO - Leaving setup bound 
[task 2024-11-30T07:17:51.449Z] 07:17:51     INFO - Entering test bound search_after_search
[task 2024-11-30T07:17:51.450Z] 07:17:51     INFO - Buffered messages logged at 07:17:44
[task 2024-11-30T07:17:51.451Z] 07:17:51     INFO - Search for string: chocolate.
[task 2024-11-30T07:17:51.452Z] 07:17:51     INFO - Waiting for the urlbar view to open
[task 2024-11-30T07:17:51.452Z] 07:17:51     INFO - Urlbar view opened
[task 2024-11-30T07:17:51.453Z] 07:17:51     INFO - Loaded page: https://www.example.com/?q=chocolate
[task 2024-11-30T07:17:51.454Z] 07:17:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | browser.engagement.navigation.urlbar_persisted must not be recorded. - true == true - 
[task 2024-11-30T07:17:51.455Z] 07:17:51     INFO - Search for string: chocolate.
[task 2024-11-30T07:17:51.456Z] 07:17:51     INFO - Waiting for the urlbar view to open
[task 2024-11-30T07:17:51.456Z] 07:17:51     INFO - Urlbar view opened
[task 2024-11-30T07:17:51.457Z] 07:17:51     INFO - Loaded page: https://www.example.com/?q=chocolate
[task 2024-11-30T07:17:51.457Z] 07:17:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | browser.engagement.navigation.urlbar_persisted must be recorded. - true == true - 
[task 2024-11-30T07:17:51.457Z] 07:17:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | browser.engagement.navigation.urlbar_persisted must contain the 'search_enter' key. - true == true - 
[task 2024-11-30T07:17:51.457Z] 07:17:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | browser.engagement.navigation.urlbar_persisted['search_enter'] must contain the expected value - 1 == 1 - 
[task 2024-11-30T07:17:51.457Z] 07:17:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | The histogram SEARCH_COUNTS must contain Example.urlbar-persisted. - true == true - 
[task 2024-11-30T07:17:51.457Z] 07:17:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | The key Example.urlbar-persisted must contain the expected sum in SEARCH_COUNTS. - 1 == 1 - 
[task 2024-11-30T07:17:51.457Z] 07:17:51     INFO - Leaving test bound search_after_search
[task 2024-11-30T07:17:51.458Z] 07:17:51     INFO - Entering test bound switch_to_tab_and_search
[task 2024-11-30T07:17:51.458Z] 07:17:51     INFO - Search for string: chocolate.
[task 2024-11-30T07:17:51.458Z] 07:17:51     INFO - Waiting for the urlbar view to open
[task 2024-11-30T07:17:51.458Z] 07:17:51     INFO - Urlbar view opened
[task 2024-11-30T07:17:51.458Z] 07:17:51     INFO - Loaded page: https://www.example.com/?q=chocolate
[task 2024-11-30T07:17:51.459Z] 07:17:51     INFO - Buffered messages logged at 07:17:45
[task 2024-11-30T07:17:51.459Z] 07:17:51     INFO - Loaded page: https://test1.example.com/
[task 2024-11-30T07:17:51.459Z] 07:17:51     INFO - Search for string: chocolate.
[task 2024-11-30T07:17:51.460Z] 07:17:51     INFO - Waiting for the urlbar view to open
[task 2024-11-30T07:17:51.460Z] 07:17:51     INFO - Urlbar view opened
[task 2024-11-30T07:17:51.461Z] 07:17:51     INFO - Loaded page: https://www.example.com/?q=chocolate
[task 2024-11-30T07:17:51.462Z] 07:17:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | browser.engagement.navigation.urlbar_persisted must be recorded. - true == true - 
[task 2024-11-30T07:17:51.463Z] 07:17:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | browser.engagement.navigation.urlbar_persisted must contain the 'search_enter' key. - true == true - 
[task 2024-11-30T07:17:51.463Z] 07:17:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | browser.engagement.navigation.urlbar_persisted['search_enter'] must contain the expected value - 1 == 1 - 
[task 2024-11-30T07:17:51.464Z] 07:17:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | The histogram SEARCH_COUNTS must contain Example.urlbar-persisted. - true == true - 
[task 2024-11-30T07:17:51.465Z] 07:17:51     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | The key Example.urlbar-persisted must contain the expected sum in SEARCH_COUNTS. - 1 == 1 - 
[task 2024-11-30T07:17:51.466Z] 07:17:51     INFO - Leaving test bound switch_to_tab_and_search
[task 2024-11-30T07:17:51.467Z] 07:17:51     INFO - Entering test bound search_and_go_back_and_search_again
[task 2024-11-30T07:17:51.467Z] 07:17:51     INFO - Search for string: chocolate.
[task 2024-11-30T07:17:51.468Z] 07:17:51     INFO - Waiting for the urlbar view to open
[task 2024-11-30T07:17:51.468Z] 07:17:51     INFO - Urlbar view opened
[task 2024-11-30T07:17:51.468Z] 07:17:51     INFO - Buffered messages logged at 07:17:46
[task 2024-11-30T07:17:51.469Z] 07:17:51     INFO - Loaded page: https://www.example.com/?q=chocolate
[task 2024-11-30T07:17:51.469Z] 07:17:51     INFO - Loaded page: https://test2.example.com/
[task 2024-11-30T07:17:51.469Z] 07:17:51     INFO - Go back to https://www.example.com/?q=chocolate
[task 2024-11-30T07:17:51.469Z] 07:17:51     INFO - Buffered messages finished
[task 2024-11-30T07:17:51.470Z] 07:17:51     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | Uncaught exception in test bound search_and_go_back_and_search_again - Waiting for the expected page to load - timed out after 50 tries.
[task 2024-11-30T07:17:51.470Z] 07:17:51     INFO - Leaving test bound search_and_go_back_and_search_again
[task 2024-11-30T07:17:51.470Z] 07:17:51     INFO - Closing the view directly
[task 2024-11-30T07:17:51.470Z] 07:17:51     INFO - Waiting for the view to close
[task 2024-11-30T07:17:51.470Z] 07:17:51     INFO - Urlbar view closed
[task 2024-11-30T07:17:52.407Z] 07:17:52     INFO - GECKO(10042) | MEMORY STAT | vsize 12367MB | residentFast 765MB | heapAllocated 374MB
[task 2024-11-30T07:17:52.408Z] 07:17:52     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | took 8657ms
[task 2024-11-30T07:17:52.409Z] 07:17:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-11-30T07:17:52.409Z] 07:17:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_persisted.js | Found an unexpected tab at the end of test run: https://test2.example.com/ - 
[task 2024-11-30T07:17:52.434Z] 07:17:52     INFO - checking window state
[task 2024-11-30T07:17:52.448Z] 07:17:52     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js
```