Bug: Intermittent browser/components/preferences/tests/browser_search_within_preferences_2.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-09-21 15:01:37+00:00
Resolved: 2025-03-03 12:11:20+00:00

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

---
```
[task 2024-09-21T10:58:41.848Z] 10:58:41     INFO - TEST-START | browser/components/preferences/tests/browser_search_within_preferences_2.js
[task 2024-09-21T10:59:26.850Z] 10:59:26     INFO - TEST-INFO | started process screenshot
[task 2024-09-21T10:59:26.913Z] 10:59:26     INFO - TEST-INFO | screenshot: exit 0
[task 2024-09-21T10:59:26.913Z] 10:59:26     INFO - Buffered messages logged at 10:58:41
[task 2024-09-21T10:59:26.913Z] 10:59:26     INFO - Entering test bound 
[task 2024-09-21T10:59:26.913Z] 10:59:26     INFO - Leaving test bound 
[task 2024-09-21T10:59:26.921Z] 10:59:26     INFO - Entering test bound 
[task 2024-09-21T10:59:26.921Z] 10:59:26     INFO - Buffered messages finished
[task 2024-09-21T10:59:26.921Z] 10:59:26     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_within_preferences_2.js | Test timed out - 
[task 2024-09-21T10:59:26.921Z] 10:59:26     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-09-21T10:59:26.921Z] 10:59:26     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_within_preferences_2.js | Uncaught exception received from previously timed out test bound  - Initialized listener not removed before the end of test
[task 2024-09-21T10:59:26.921Z] 10:59:26     INFO - Entering test bound 
[task 2024-09-21T10:59:26.921Z] 10:59:26     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_within_preferences_2.js | Uncaught exception received from previously timed out test bound  - at chrome://mochitests/content/browser/browser/components/preferences/tests/browser_search_within_preferences_2.js:110 - TypeError: gBrowser.contentDocument.activeElement is null
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - Stack trace:
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - @chrome://mochitests/content/browser/browser/components/preferences/tests/browser_search_within_preferences_2.js:110:1
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_within_preferences_2.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-09-21T10:59:26.928Z] 10:59:26     INFO - ensureDOMPromiseRejectionsProcessed@resource://testing-common/PromiseTestUtils.sys.mjs:115:17
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - nextTest@chrome://mochikit/content/browser-test.js:765:29
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - timeoutFn@chrome://mochikit/content/browser-test.js:1437:18
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - Rejection date: Sat Sep 21 2024 10:59:26 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":null,"caller":{"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":"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-09-21T10:59:26.928Z] 10:59:26     INFO - Stack trace:
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - chrome://mochikit/content/browser-test.js:nextTest:766
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1437
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1379
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2024-09-21T10:59:26.928Z] 10:59:26     INFO - GECKO(1168) | 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-09-21T10:59:26.928Z] 10:59:26     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-09-21T10:59:27.467Z] 10:59:27     INFO - GECKO(1168) | MEMORY STAT | vsize 1915MB | vsizeMaxContiguous 8MB | residentFast 945MB | heapAllocated 669MB
[task 2024-09-21T10:59:27.467Z] 10:59:27     INFO - TEST-OK | browser/components/preferences/tests/browser_search_within_preferences_2.js | took 45620ms
[task 2024-09-21T10:59:27.467Z] 10:59:27     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-09-21T10:59:27.467Z] 10:59:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_within_preferences_2.js | Found a tab after previous test timed out: about:blank - 
[task 2024-09-21T10:59:27.467Z] 10:59:27     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-09-21T10:59:27.467Z] 10:59:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_within_preferences_2.js | Found a tab after previous test timed out: about:preferences#general - 
[task 2024-09-21T10:59:27.491Z] 10:59:27     INFO - checking window state
[task 2024-09-21T10:59:27.507Z] 10:59:27     INFO - TEST-START | browser/components/preferences/tests/browser_search_within_preferences_command.js
```