Bug: Intermittent browser/components/preferences/tests/browser_searchRestoreDefaults.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-04-22 20:26:56+00:00
Resolved: 2024-10-14 12:05:27+00:00

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

---
```
[task 2024-04-22T20:00:50.921Z] 20:00:50     INFO - TEST-START | browser/components/preferences/tests/browser_searchRestoreDefaults.js
[task 2024-04-22T20:00:52.600Z] 20:00:52     INFO - GECKO(1612) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2024-04-22T20:00:52.600Z] 20:00:52     INFO - GECKO(1612) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2024-04-22T20:00:52.655Z] 20:00:52     INFO - GECKO(1612) | [GFX1-]: Handling webrender error 2
[task 2024-04-22T20:00:55.444Z] 20:00:55     INFO - GECKO(1612) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2024-04-22T20:00:55.444Z] 20:00:55     INFO - GECKO(1612) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2024-04-22T20:00:55.452Z] 20:00:55     INFO - GECKO(1612) | [GFX1-]: Handling webrender error 2
[task 2024-04-22T20:01:11.522Z] 20:01:11     INFO - GECKO(1612) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2024-04-22T20:01:11.522Z] 20:01:11     INFO - GECKO(1612) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2024-04-22T20:01:11.522Z] 20:01:11     INFO - GECKO(1612) | [GFX1-]: Handling webrender error 2
[task 2024-04-22T20:01:35.925Z] 20:01:35     INFO - TEST-INFO | started process screenshot
[task 2024-04-22T20:01:35.971Z] 20:01:35     INFO - TEST-INFO | screenshot: exit 0
[task 2024-04-22T20:01:35.971Z] 20:01:35     INFO - Buffered messages logged at 20:00:50
[task 2024-04-22T20:01:35.971Z] 20:01:35     INFO - Entering test bound test_restore_functionality
[task 2024-04-22T20:01:35.971Z] 20:01:35     INFO - Buffered messages finished
[task 2024-04-22T20:01:35.971Z] 20:01:35     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchRestoreDefaults.js | Test timed out - 
[task 2024-04-22T20:01:35.971Z] 20:01:35     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchRestoreDefaults.js | Uncaught exception received from previously timed out test bound test_restore_functionality - Initialized listener not removed before the end of test
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - Entering test bound test_restoreEnabledOnOpenWithEngineHidden
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchRestoreDefaults.js | Uncaught exception received from previously timed out test bound test_restoreEnabledOnOpenWithEngineHidden - at chrome://mochitests/content/browser/browser/components/preferences/tests/browser_searchRestoreDefaults.js:86 - TypeError: restoreDefaultsButton is null
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - Stack trace:
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - test_restoreEnabledOnOpenWithEngineHidden@chrome://mochitests/content/browser/browser/components/preferences/tests/browser_searchRestoreDefaults.js:86:5
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - Entering test bound test_removeOutOfOrder
[task 2024-04-22T20:01:35.979Z] 20:01:35     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-22T20:01:35.987Z] 20:01:35     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchRestoreDefaults.js | Uncaught exception received from previously timed out test bound test_removeOutOfOrder - at chrome://mochitests/content/browser/browser/components/preferences/tests/browser_searchRestoreDefaults.js:117 - TypeError: restoreDefaultsButton is null
[task 2024-04-22T20:01:35.987Z] 20:01:35     INFO - Stack trace:
[task 2024-04-22T20:01:35.987Z] 20:01:35     INFO - test_removeOutOfOrder@chrome://mochitests/content/browser/browser/components/preferences/tests/browser_searchRestoreDefaults.js:117:1
[task 2024-04-22T20:01:35.987Z] 20:01:35     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2024-04-22T20:01:35.987Z] 20:01:35     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2024-04-22T20:01:35.987Z] 20:01:35     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2024-04-22T20:01:35.987Z] 20:01:35     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2024-04-22T20:01:35.987Z] 20:01:35     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2024-04-22T20:01:35.987Z] 20:01:35     INFO - Entering test bound test_removeAndRestoreMultiple
[task 2024-04-22T20:01:36.003Z] 20:01:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-22T20:01:36.003Z] 20:01:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchRestoreDefaults.js | Uncaught exception received from previously timed out test bound test_removeAndRestoreMultiple - at chrome://mochitests/content/browser/browser/components/preferences/tests/browser_searchRestoreDefaults.js:206 - TypeError: removeEngineButton is null
[task 2024-04-22T20:01:36.003Z] 20:01:36     INFO - Stack trace:
[task 2024-04-22T20:01:36.003Z] 20:01:36     INFO - test_removeAndRestoreMultiple@chrome://mochitests/content/browser/browser/components/preferences/tests/browser_searchRestoreDefaults.js:206:3
[task 2024-04-22T20:01:36.003Z] 20:01:36     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2024-04-22T20:01:36.003Z] 20:01:36     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2024-04-22T20:01:36.003Z] 20:01:36     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2024-04-22T20:01:36.003Z] 20:01:36     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2024-04-22T20:01:36.003Z] 20:01:36     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2024-04-22T20:01:36.026Z] 20:01:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchRestoreDefaults.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-04-22T20:01:36.034Z] 20:01:36     INFO - ensureDOMPromiseRejectionsProcessed@resource://testing-common/PromiseTestUtils.sys.mjs:115:17
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - nextTest@chrome://mochikit/content/browser-test.js:765:29
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - timeoutFn@chrome://mochikit/content/browser-test.js:1437:18
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - Rejection date: Mon Apr 22 2024 20:01:36 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":562,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":529,"lineNumber":766,"columnNumber":29,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"timeoutFn","sourceId":529,"lineNumber":1437,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":529,"lineNumber":1379,"columnNumber":45,"sourceLine":"","asyncCause":"setTimeout handler","asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":529,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":553,"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":"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":"nextTest@chrome://mochikit/content/browser-test.js:766:29\ntimeoutFn@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\ntimeoutFn@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-04-22T20:01:36.034Z] 20:01:36     INFO - Stack trace:
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - chrome://mochikit/content/browser-test.js:nextTest:766
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1437
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1379
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2024-04-22T20:01:36.034Z] 20:01:36     INFO - GECKO(1612) | 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-04-22T20:01:36.034Z] 20:01:36     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-04-22T20:01:39.331Z] 20:01:39     INFO - GECKO(1612) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2024-04-22T20:01:39.331Z] 20:01:39     INFO - GECKO(1612) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2024-04-22T20:01:39.331Z] 20:01:39     INFO - GECKO(1612) | [GFX1-]: Handling webrender error 2
[task 2024-04-22T20:01:39.628Z] 20:01:39     INFO - GECKO(1612) | MEMORY STAT | vsize 1891MB | vsizeMaxContiguous 13MB | residentFast 938MB | heapAllocated 609MB
[task 2024-04-22T20:01:39.628Z] 20:01:39     INFO - TEST-OK | browser/components/preferences/tests/browser_searchRestoreDefaults.js | took 48712ms
[task 2024-04-22T20:01:39.628Z] 20:01:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-22T20:01:39.628Z] 20:01:39     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchRestoreDefaults.js | Found a tab after previous test timed out: about:blank - 
[task 2024-04-22T20:01:39.628Z] 20:01:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-22T20:01:39.628Z] 20:01:39     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchRestoreDefaults.js | Found a tab after previous test timed out: about:blank - 
[task 2024-04-22T20:01:39.628Z] 20:01:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-22T20:01:39.628Z] 20:01:39     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchRestoreDefaults.js | Found a tab after previous test timed out: about:blank - 
[task 2024-04-22T20:01:39.635Z] 20:01:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-22T20:01:39.635Z] 20:01:39     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchRestoreDefaults.js | Found a tab after previous test timed out: about:preferences#search - 
[task 2024-04-22T20:01:39.667Z] 20:01:39     INFO - checking window state
[task 2024-04-22T20:01:39.682Z] 20:01:39     INFO - TEST-START | browser/components/preferences/tests/browser_searchScroll.js
```