Bug: Intermittent browser/components/search/test/browser/browser_contentSearchUI.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-08-03 16:25:05+00:00
Resolved: 2024-12-23 12:07:44+00:00

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

---
```
[task 2022-08-03T14:41:53.119Z] 14:41:53     INFO - TEST-PASS | browser/components/search/test/browser/browser_contentSearchUI.js | Search event data - 
[task 2022-08-03T14:41:53.120Z] 14:41:53     INFO - Buffered messages logged at 14:40:22
[task 2022-08-03T14:41:53.121Z] 14:41:53     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2022-08-03T14:41:53.122Z] 14:41:53     INFO - Buffered messages finished
[task 2022-08-03T14:41:53.123Z] 14:41:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_contentSearchUI.js | Test timed out - 
[task 2022-08-03T14:41:53.124Z] 14:41:53     INFO - Console message: [JavaScript Error: "Unknown engine name: searchSuggestionEngine1" {file: "resource:///actors/ContentSearchParent.jsm" line: 515}]
[task 2022-08-03T14:41:53.125Z] 14:41:53     INFO - _onMessageSpeculativeConnect@resource:///actors/ContentSearchParent.jsm:515:13
[task 2022-08-03T14:41:53.125Z] 14:41:53     INFO - _onMessage@resource:///actors/ContentSearchParent.jsm:440:29
[task 2022-08-03T14:41:53.126Z] 14:41:53     INFO - 
[task 2022-08-03T14:41:53.241Z] 14:41:53     INFO - GECKO(1635) | MEMORY STAT | vsize 20975672MB | residentFast 1357MB
[task 2022-08-03T14:41:53.245Z] 14:41:53     INFO - TEST-OK | browser/components/search/test/browser/browser_contentSearchUI.js | took 180778ms
[task 2022-08-03T14:41:53.249Z] 14:41:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-03T14:41:53.250Z] 14:41:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_contentSearchUI.js | Found a tab after previous test timed out: about:blank - 
[task 2022-08-03T14:41:53.337Z] 14:41:53     INFO - checking window state
[task 2022-08-03T14:41:53.351Z] 14:41:53     INFO - TEST-START | browser/components/search/test/browser/browser_contentSearchUI_default.js
[task 2022-08-03T14:41:53.882Z] 14:41:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-03T14:41:53.884Z] 14:41:53     INFO - Buffered messages logged at 14:41:53
[task 2022-08-03T14:41:53.885Z] 14:41:53     INFO - Entering setup bound 
[task 2022-08-03T14:41:53.886Z] 14:41:53     INFO - Extension loaded
[task 2022-08-03T14:41:53.886Z] 14:41:53     INFO - TEST-PASS | browser/components/search/test/browser/browser_contentSearchUI_default.js | Search provider extension should be running - "running" == "running" - 
[task 2022-08-03T14:41:53.888Z] 14:41:53     INFO - TEST-PASS | browser/components/search/test/browser/browser_contentSearchUI_default.js | Extension ID of search provider should be set - "searchSuggestionEngine@tests.mozilla.org" == true - 
[task 2022-08-03T14:41:53.889Z] 14:41:53     INFO - Leaving setup bound 
[task 2022-08-03T14:41:53.890Z] 14:41:53     INFO - Entering test bound test_content_search_attributes
[task 2022-08-03T14:41:53.892Z] 14:41:53     INFO - Global property added while loading chrome://browser/content/places/browserPlacesViews.js: PlacesViewBase
[task 2022-08-03T14:41:53.893Z] 14:41:53     INFO - Buffered messages finished
[task 2022-08-03T14:41:53.895Z] 14:41:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_contentSearchUI.js | Uncaught exception received from previously timed out test - at chrome://mochitests/content/browser/browser/components/search/test/browser/browser_contentSearchUI.js:1078 - ReferenceError: registerCleanupFunction is not defined
[task 2022-08-03T14:41:53.895Z] 14:41:53     INFO - Stack trace:
[task 2022-08-03T14:41:53.895Z] 14:41:53     INFO - promiseTab@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_contentSearchUI.js:1078:3
[task 2022-08-03T14:41:53.896Z] 14:41:53     INFO - GECKO(1635) | JavaScript error: chrome://mochikit/content/browser-test.js, line 1091: TypeError: can't access property "shift", currentScope.__tasks is null
[task 2022-08-03T14:41:53.899Z] 14:41:53     INFO - Console message: [JavaScript Error: "TypeError: can't access property "shift", currentScope.__tasks is null" {file: "chrome://mochikit/content/browser-test.js" line: 1091}]
[task 2022-08-03T14:41:54.340Z] 14:41:54     INFO - TEST-PASS | browser/components/search/test/browser/browser_contentSearchUI_default.js | Should have the expected icon - "url(moz-extension://558d8571-28c8-49d6-950e-8611d8bc3f07/favicon.ico)" == "url(moz-extension://558d8571-28c8-49d6-950e-8611d8bc3f07/favicon.ico)" - 
[task 2022-08-03T14:41:54.560Z] 14:41:54     INFO - TEST-PASS | browser/components/search/test/browser/browser_contentSearchUI_default.js | Expected updated l10n ID and args. - {"args":{"engine":"Google"},"id":"newtab-search-box-handoff-input"} deepEqual {"id":"newtab-search-box-handoff-input","args":{"engine":"Google"}} - 
[task 2022-08-03T14:41:54.855Z] 14:41:54     INFO - TEST-PASS | browser/components/search/test/browser/browser_contentSearchUI_default.js | Should have the expected icon - "url(chrome://global/skin/icons/search-glass.svg)" == "url(chrome://global/skin/icons/search-glass.svg)" - 
[task 2022-08-03T14:41:55.067Z] 14:41:55     INFO - TEST-PASS | browser/components/search/test/browser/browser_contentSearchUI_default.js | Expected updated l10n ID and args. - {"args":null,"id":"newtab-search-box-handoff-input-no-engine"} deepEqual {"id":"newtab-search-box-handoff-input-no-engine","args":null} - 
[task 2022-08-03T14:41:55.290Z] 14:41:55     INFO - TEST-PASS | browser/components/search/test/browser/browser_contentSearchUI_default.js | Expected updated l10n ID and args. - {"args":null,"id":"newtab-search-box-input"} deepEqual {"id":"newtab-search-box-input","args":null} - 
[task 2022-08-03T14:41:55.398Z] 14:41:55     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-03T14:41:55.400Z] 14:41:55     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_contentSearchUI_default.js | A promise chain failed to handle a rejection: can't access property "shift", currentScope.__tasks is null - stack: _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1091:13
[task 2022-08-03T14:41:55.400Z] 14:41:55     INFO - Rejection date: Wed Aug 03 2022 14:41:53 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 270
[task 2022-08-03T14:41:55.400Z] 14:41:55     INFO - Stack trace:
[task 2022-08-03T14:41:55.401Z] 14:41:55     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:270
[task 2022-08-03T14:41:55.403Z] 14:41:55     INFO - chrome://mochikit/content/browser-test.js:handleTask:1056
[task 2022-08-03T14:41:55.403Z] 14:41:55     INFO - Leaving test bound test_content_search_attributes
[task 2022-08-03T14:41:55.403Z] 14:41:55     INFO - Entering test bound test_content_search_attributes_no_handoff
[task 2022-08-03T14:41:56.039Z] 14:41:56     INFO - TEST-PASS | browser/components/search/test/browser/browser_contentSearchUI_default.js | Should have the expected icon - "url(moz-extension://558d8571-28c8-49d6-950e-8611d8bc3f07/favicon.ico)" == "url(moz-extension://558d8571-28c8-49d6-950e-8611d8bc3f07/favicon.ico)" 
```