Bug: Intermittent browser/components/preferences/tests/browser_searchsuggestions.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-05-13 18:27:37+00:00
Resolved: 2024-06-14 12:03:43+00:00

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

---
```
[task 2024-05-13T17:36:06.264Z] 17:36:06     INFO - TEST-OK | browser/components/preferences/tests/browser_search_within_preferences_command.js | took 19993ms
[task 2024-05-13T17:36:06.279Z] 17:36:06     INFO - checking window state
[task 2024-05-13T17:36:06.295Z] 17:36:06     INFO - TEST-START | browser/components/preferences/tests/browser_searchsuggestions.js
[task 2024-05-13T17:36:51.295Z] 17:36:51     INFO - TEST-INFO | started process screenshot
[task 2024-05-13T17:36:51.349Z] 17:36:51     INFO - TEST-INFO | screenshot: exit 0
[task 2024-05-13T17:36:51.349Z] 17:36:51     INFO - Buffered messages logged at 17:36:06
[task 2024-05-13T17:36:51.349Z] 17:36:51     INFO - Entering setup bound 
[task 2024-05-13T17:36:51.349Z] 17:36:51     INFO - Leaving setup bound 
[task 2024-05-13T17:36:51.349Z] 17:36:51     INFO - Entering test bound test_suggestions_start_enabled
[task 2024-05-13T17:36:51.349Z] 17:36:51     INFO - Buffered messages finished
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchsuggestions.js | Test timed out - 
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchsuggestions.js | Uncaught exception received from previously timed out test bound test_suggestions_start_enabled - Initialized listener not removed before the end of test
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - Entering test bound test_suggestions_start_disabled
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchsuggestions.js | Uncaught exception received from previously timed out test bound test_suggestions_start_disabled - at chrome://mochitests/content/browser/browser/components/preferences/tests/browser_searchsuggestions.js:118 - TypeError: urlbarBox is null
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - Stack trace:
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - test_suggestions_start_disabled@chrome://mochitests/content/browser/browser/components/preferences/tests/browser_searchsuggestions.js:118:3
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2024-05-13T17:36:51.357Z] 17:36:51     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchsuggestions.js | A promise chain failed to handle a rejection: sync-pane-loaded observer not removed before the end of test - stack: topicObserved/</<@resource://testing-common/TestUtils.sys.mjs:180:15
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - ensureDOMPromiseRejectionsProcessed@resource://testing-common/PromiseTestUtils.sys.mjs:115:17
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - nextTest@chrome://mochikit/content/browser-test.js:765:29
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - async*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - Rejection date: Mon May 13 2024 17:36:51 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":564,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":531,"lineNumber":766,"columnNumber":29,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"timeoutFn","sourceId":531,"lineNumber":1437,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":531,"lineNumber":1379,"columnNumber":45,"sourceLine":"","asyncCause":"setTimeout handler","asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":531,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":555,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"nextTest@chrome://mochikit/content/browser-test.js:766:29\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nnextTest@chrome://mochikit/content/browser-test.js:766:29\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - Stack trace:
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - chrome://mochikit/content/browser-test.js:nextTest:766
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1437
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1379
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - GECKO(3336) | JavaScript error: resource://testing-common/TestUtils.sys.mjs, line 180: uncaught exception: sync-pane-loaded observer not removed before the end of test
[task 2024-05-13T17:36:51.365Z] 17:36:51     INFO - Console message: [JavaScript Error: "uncaught exception: sync-pane-loaded observer not removed before the end of test" {file: "resource://testing-common/TestUtils.sys.mjs" line: 180}]
[task 2024-05-13T17:36:51.935Z] 17:36:51     INFO - GECKO(3336) | MEMORY STAT | vsize 1878MB | vsizeMaxContiguous 16MB | residentFast 927MB | heapAllocated 642MB
[task 2024-05-13T17:36:51.935Z] 17:36:51     INFO - TEST-OK | browser/components/preferences/tests/browser_searchsuggestions.js | took 45640ms
[task 2024-05-13T17:36:51.935Z] 17:36:51     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-05-13T17:36:51.935Z] 17:36:51     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchsuggestions.js | Found a tab after previous test timed out: about:blank - 
[task 2024-05-13T17:36:51.935Z] 17:36:51     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-05-13T17:36:51.935Z] 17:36:51     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchsuggestions.js | Found a tab after previous test timed out: about:preferences#search - 
[task 2024-05-13T17:36:51.974Z] 17:36:51     INFO - checking window state
[task 2024-05-13T17:36:52.006Z] 17:36:52     INFO - TEST-START | browser/components/preferences/tests/browser_security-1.js
```