Bug: Intermittent browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_merinoSessions.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-01-05 22:31:37+00:00
Resolved: 2024-06-10 12:03:58+00:00

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

---
```
[task 2023-01-05T21:02:40.860Z] 21:02:40     INFO - TEST-PASS | browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_merinoSessions.js | Session ID is a UUID - true == true - 
[task 2023-01-05T21:02:40.863Z] 21:02:40     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/?q=search1" line: 0}]
[task 2023-01-05T21:02:40.863Z] 21:02:40     INFO - Awaiting for the urlbar panel to open
[task 2023-01-05T21:02:40.863Z] 21:02:40     INFO - Urlbar panel opened
[task 2023-01-05T21:02:40.863Z] 21:02:40     INFO - Buffered messages logged at 21:02:40
[task 2023-01-05T21:02:40.863Z] 21:02:40     INFO - Checking requests
[task 2023-01-05T21:02:40.863Z] 21:02:40     INFO - actual: []
[task 2023-01-05T21:02:40.863Z] 21:02:40     INFO - expect: [{"params":{"q":"search2","seq":0}}]
[task 2023-01-05T21:02:40.863Z] 21:02:40     INFO - Buffered messages finished
[task 2023-01-05T21:02:40.863Z] 21:02:40     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_merinoSessions.js | Expected request count - 0 == 1 - JS frame :: resource://testing-common/MerinoTestUtils.sys.mjs :: checkAndClearRequests :: line 415
[task 2023-01-05T21:02:40.863Z] 21:02:40     INFO - Stack trace:
[task 2023-01-05T21:02:40.863Z] 21:02:40     INFO - resource://testing-common/MerinoTestUtils.sys.mjs:checkAndClearRequests:415
[task 2023-01-05T21:02:40.863Z] 21:02:40     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_merinoSessions.js:manyEngagements_engagement/<:99
[task 2023-01-05T21:02:45.194Z] 21:02:45     INFO - MockMerinoServer received request with query string: "q=search2&sid=5f35f71f-0dec-406e-834b-35720b1c24c7&seq=0"
[task 2023-01-05T21:02:45.199Z] 21:02:45     INFO - MockMerinoServer replying with response: {"status":200,"contentType":"application/json","body":{"request_id":"request_id","suggestions":[{"full_keyword":"full_keyword","title":"title","url":"url","icon":null,"impression_url":"impression_url","click_url":"click_url","block_id":1,"advertiser":"advertiser","is_sponsored":true,"score":1}]}}
[task 2023-01-05T21:02:45.326Z] 21:02:45     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/?q=search2" line: 0}]
[task 2023-01-05T21:02:45.346Z] 21:02:45     INFO - Leaving test bound manyEngagements_engagement
[task 2023-01-05T21:02:45.353Z] 21:02:45     INFO - Entering test bound manyEngagements_abandonment
[task 2023-01-05T21:02:45.366Z] 21:02:45     INFO - Awaiting for the urlbar panel to open
[task 2023-01-05T21:02:45.399Z] 21:02:45     INFO - Urlbar panel opened
[task 2023-01-05T21:02:45.433Z] 21:02:45     INFO - MockMerinoServer received request with query string: "q=search0&sid=7662e0ee-9b42-4109-95f7-03e9b02c326b&seq=0"
[task 2023-01-05T21:02:45.450Z] 21:02:45     INFO - MockMerinoServer replying with response: {"status":200,"contentType":"application/json","body":{"request_id":"request_id","suggestions":[{"full_keyword":"full_keyword","title":"title","url":"url","icon":null,"impression_url":"impression_url","click_url":"click_url","block_id":1,"advertiser":"advertiser","is_sponsored":true,"score":1}]}}
[task 2023-01-05T21:02:45.475Z] 21:02:45     INFO - Checking requests
[task 2023-01-05T21:02:45.482Z] 21:02:45     INFO - actual: [{"params":{"q":"search2","sid":"5f35f71f-0dec-406e-834b-35720b1c24c7","seq":"0"}},{"params":{"q":"search0","sid":"7662e0ee-9b42-4109-95f7-03e9b02c326b","seq":"0"}}]
[task 2023-01-05T21:02:45.483Z] 21:02:45     INFO - expect: [{"params":{"q":"search0","seq":0}}]
[task 2023-01-05T21:02:45.484Z] 21:02:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-01-05T21:02:45.485Z] 21:02:45     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_merinoSessions.js | Expected request count - 2 == 1 - JS frame :: resource://testing-common/MerinoTestUtils.sys.mjs :: checkAndClearRequests :: line 415
[task 2023-01-05T21:02:45.485Z] 21:02:45     INFO - Stack trace:
[task 2023-01-05T21:02:45.485Z] 21:02:45     INFO - resource://testing-common/MerinoTestUtils.sys.mjs:checkAndClearRequests:415
[task 2023-01-05T21:02:45.485Z] 21:02:45     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_merinoSessions.js:manyEngagements_abandonment:130
[task 2023-01-05T21:02:45.491Z] 21:02:45     INFO - Awaiting for the urlbar panel to open
[task 2023-01-05T21:02:45.518Z] 21:02:45     INFO - Urlbar panel opened
[task 2023-01-05T21:02:45.557Z] 21:02:45     INFO - MockMerinoServer received request with query string: "q=search1&sid=4c33be0d-1721-4b87-b151-d648b426e953&seq=0"
[task 2023-01-05T21:02:45.572Z] 21:02:45     INFO - MockMerinoServer replying with response: {"status":200,"contentType":"application/json","body":{"request_id":"request_id","suggestions":[{"full_keyword":"full_keyword","title":"title","url":"url","icon":null,"impression_url":"impression_url","click_url":"click_url","block_id":1,"advertiser":"advertiser","is_sponsored":true,"score":1}]}}
[task 2023-01-05T21:02:45.599Z] 21:02:45     INFO - Checking requests
[task 2023-01-05T21:02:45.615Z] 21:02:45     INFO - actual: [{"params":{"q":"search2","sid":"5f35f71f-0dec-406e-834b-35720b1c24c7","seq":"0"}},{"params":{"q":"search0","sid":"7662e0ee-9b42-4109-95f7-03e9b02c326b","seq":"0"}},{"params":{"q":"search1","sid":"4c33be0d-1721-4b87-b151-d648b426e953","seq":"0"}}]
[task 2023-01-05T21:02:45.615Z] 21:02:45     INFO - expect: [{"params":{"q":"search1","seq":0}}]
[task 2023-01-05T21:02:45.616Z] 21:02:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-01-05T21:02:45.619Z] 21:02:45     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_merinoSessions.js | Expected request count - 3 == 1 - JS frame :: resource://testing-common/MerinoTestUtils.sys.mjs :: checkAndClearRequests :: line 415
[task 2023-01-05T21:02:45.619Z] 21:02:45     INFO - Stack trace:
[task 2023-01-05T21:02:45.619Z] 21:02:45     INFO - resource://testing-common/MerinoTestUtils.sys.mjs:checkAndClearRequests:415
[task 2023-01-05T21:02:45.619Z] 21:02:45     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_merinoSessions.js:manyEngagements_abandonment:130
[task 2023-01-05T21:02:45.621Z] 21:02:45     INFO - Awaiting for the urlbar panel to open
[task 2023-01-05T21:02:45.648Z] 21:02:45     INFO - Urlbar panel opened
[task 2023-01-05T21:02:45.690Z] 21:02:45     INFO - MockMerinoServer received request with query string: "q=search2&sid=a9306db1-cb09-4f23-a420-4a17f85f60b9&seq=0"
[task 2023-01-05T21:02:45.704Z] 21:02:45     INFO - MockMerinoServer replying with response: {"status":200,"contentType":"application/json","body":{"request_id":"request_id","suggestions":[{"full_keyword":"full_keyword","title":"title","url":"url","icon":null,"impression_url":"impression_url","click_url":"click_url","block_id":1,"advertiser":"advertiser","is_sponsored":true,"score":1}]}}
[task 2023-01-05T21:02:45.733Z] 21:02:45     INFO - Checking requests
[task 2023-01-05T21:02:45.740Z] 21:02:45     INFO - actual: [{"params":{"q":"search2","sid":"5f35f71f-0dec-406e-834b-35720b1c24c7","seq":"0"}},{"params":{"q":"search0","sid":"7662e0ee-9b42-4109-95f7-03e9b02c326b","seq":"0"}},{"params":{"q":"search1","sid":"4c33be0d-1721-4b87-b151-d648b426e953","seq":"0"}},{"params":{"q":"search2","sid":"a9306db1-cb09-4f23-a420-4a17f85f60b9","seq":"0"}}]
[task 2023-01-05T21:02:45.741Z] 21:02:45     INFO - expect: [{"params":{"q":"search2","seq":0}}]
[task 2023-01-05T21:02:45.741Z] 21:02:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-01-05T21:02:45.743Z] 21:02:45     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_merinoSessions.js | Expected request count - 4 == 1 - JS frame :: resource://testing-common/MerinoTestUtils.sys.mjs :: checkAndClearRequests :: line 415
[task 2023-01-05T21:02:45.743Z] 21:02:45     INFO - Stack trace:
[task 2023-01-05T21:02:45.743Z] 21:02:45     INFO - resource://testing-common/MerinoTestUtils.sys.mjs:checkAndClearRequests:415
[task 2023-01-05T21:02:45.743Z] 21:02:45     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_merinoSessions.js:manyEngagements_abandonment:130
[task 2023-01-05T21:02:45.744Z] 21:02:45     INFO - Leaving test bound manyEngagements_abandonment
[task 2023-01-05T21:02:46.107Z] 21:02:46     INFO - GECKO(2160) | MEMORY STAT | vsize 2112383MB | vsizeMaxContiguous 68839423MB | residentFast 270MB | heapAllocated 126MB
[task 2023-01-05T21:02:46.113Z] 21:02:46     INFO - TEST-OK | browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_merinoSessions.js | took 8662ms
[task 2023-01-05T21:02:46.126Z] 21:02:46     INFO - checking window state
[task 2023-01-05T21:02:46.138Z] 21:02:46     INFO - TEST-START | browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_onboardingDialog.js
```