Bug: Intermittent browser/components/preferences/tests/browser_search_within_preferences_2.js | Test timed out - | Uncaught exception received from previously timed out test - PreferencesSearchCompleted listener not removed before the end of test
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-08-03 08:05:25+00:00
Resolved: 2022-05-31 17:06:39+00:00

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

---
```
[task 2021-08-03T06:49:36.112Z] 06:49:36     INFO - TEST-START | browser/components/preferences/tests/browser_search_within_preferences_2.js
[task 2021-08-03T06:50:21.125Z] 06:50:21     INFO - TEST-INFO | started process screenshot
[task 2021-08-03T06:50:21.181Z] 06:50:21     INFO - TEST-INFO | screenshot: exit 0
[task 2021-08-03T06:50:21.181Z] 06:50:21     INFO - <snipped 17 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-08-03T06:50:21.182Z] 06:50:21     INFO - Buffered messages logged at 06:49:36
[task 2021-08-03T06:50:21.183Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Element should not be null, when checking visibility - 
[task 2021-08-03T06:50:21.184Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Should not be in search results - 
[task 2021-08-03T06:50:21.184Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Element should not be null, when checking visibility - 
[task 2021-08-03T06:50:21.185Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Should not be in search results - 
[task 2021-08-03T06:50:21.186Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Element should not be null, when checking visibility - 
[task 2021-08-03T06:50:21.186Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Should not be in search results - 
[task 2021-08-03T06:50:21.187Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Element should not be null, when checking visibility - 
[task 2021-08-03T06:50:21.188Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Should not be in search results - 
[task 2021-08-03T06:50:21.188Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Element should not be null, when checking visibility - 
[task 2021-08-03T06:50:21.189Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Should not be in search results - 
[task 2021-08-03T06:50:21.193Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Element should not be null, when checking visibility - 
[task 2021-08-03T06:50:21.193Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Should not be in search results - 
[task 2021-08-03T06:50:21.193Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Element should not be null, when checking visibility - 
[task 2021-08-03T06:50:21.194Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Should not be in search results - 
[task 2021-08-03T06:50:21.194Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Element should not be null, when checking visibility - 
[task 2021-08-03T06:50:21.194Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Should not be in search results - 
[task 2021-08-03T06:50:21.195Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Element should not be null, when checking visibility -
<...>
[task 2021-08-03T06:50:21.247Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Should be reporting no results - 
[task 2021-08-03T06:50:21.248Z] 06:50:21     INFO - Leaving test bound 
[task 2021-08-03T06:50:21.249Z] 06:50:21     INFO - Entering test bound 
[task 2021-08-03T06:50:21.249Z] 06:50:21     INFO - Buffered messages logged at 06:49:39
[task 2021-08-03T06:50:21.250Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Search input should be focused when visiting preferences - 
[task 2021-08-03T06:50:21.251Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | showUpdateHistory element should not contain the l10n id here. - 
[task 2021-08-03T06:50:21.251Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Element should not be null, when checking visibility - 
[task 2021-08-03T06:50:21.252Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | showUpdateHistory should not be in search results - 
[task 2021-08-03T06:50:21.253Z] 06:50:21     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_within_preferences_2.js | Search input should be focused when visiting preferences - 
[task 2021-08-03T06:50:21.253Z] 06:50:21     INFO - Buffered messages finished
[task 2021-08-03T06:50:21.254Z] 06:50:21     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_within_preferences_2.js | Test timed out - 
[task 2021-08-03T06:50:21.255Z] 06:50:21     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-03T06:50:21.255Z] 06:50:21     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_within_preferences_2.js | Uncaught exception received from previously timed out test - PreferencesSearchCompleted listener not removed before the end of test
[task 2021-08-03T06:50:21.256Z] 06:50:21     INFO - GECKO(3876) | MEMORY STAT | vsize 1868MB | vsizeMaxContiguous 4MB | residentFast 855MB | heapAllocated 683MB
[task 2021-08-03T06:50:21.257Z] 06:50:21     INFO - TEST-OK | browser/components/preferences/tests/browser_search_within_preferences_2.js | took 45039ms
[task 2021-08-03T06:50:21.257Z] 06:50:21     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-03T06:50:21.258Z] 06:50:21     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_within_preferences_2.js | Found a tab after previous test timed out: about:preferences#searchResults - 
[task 2021-08-03T06:50:21.259Z] 06:50:21     INFO - checking window state
[task 2021-08-03T06:56:31.255Z] 06:56:31     INFO - Buffered messages finished
[task 2021-08-03T06:56:31.255Z] 06:56:31    ERROR - TEST-UNEXPECTED-TIMEOUT | browser/components/preferences/tests/browser_search_within_preferences_2.js (finished) | application timed out after 370 seconds with no output
[task 2021-08-03T06:56:31.256Z] 06:56:31    ERROR - Force-terminating active process(es).
[task 2021-08-03T06:56:31.256Z] 06:56:31     INFO - Determining child pids from psutil...
[task 2021-08-03T06:56:31.257Z] 06:56:31     INFO - [4664]
[task 2021-08-03T06:56:31.258Z] 06:56:31     INFO - ==> process 4664 launched child process 3652 ("Z:\task_1627969961\build\application\firefox\firefox.exe" -contentproc --channel="4664.0.1843138902\975956964" -childID 1 -isForBrowser -prefsHandle 2376 -prefMapHandle 2364 -prefsLen 1 -prefMapSize 252097 -jsInit 968 285704 -parentBuildID 20210803033659 -appdir "Z:\task_1627969961\build\application\firefox\browser" - 4664 "\\.\pipe\gecko-crash-server-pipe.4664" 2420 207edf78 tab)
[task 2021-08-03T06:56:31.259Z] 06:56:31     INFO - ==> process 4664 launched child process 3956 ("Z:\task_1627969961\build\application\firefox\firefox.exe" -contentproc --channel="4664.1.1218420934\1881829516" -childID 2 -isForBrowser -prefsHandle 2756 -prefMapHandle 2752 -prefsLen 184 -prefMapSize 252097 -jsInit 968 285704 -parentBuildID 20210803033659 -appdir "Z:\task_1627969961\build\application\firefox\browser" - 4664 "\\.\pipe\gecko-crash-server-pipe.4664" 2768 236873a8 tab)
[task 2021-08-03T06:56:31.261Z] 06:56:31     INFO - ==> process 4664 launched child process 4844 ("Z:\task_1627969961\build\application\firefox\firefox.exe" -contentproc --channel="4664.2.1836956831\1903918406" -childID 3 -isForBrowser -prefsHandle 2752 -prefMapHandle 2756 -prefsLen 224 -prefMapSize 252097 -jsInit 968 285704 -parentBuildID 20210803033659 -appdir "Z:\task_1627969961\build\application\firefox\browser" - 4664 "\\.\pipe\gecko-crash-server-pipe.4664" 2896 24326108 tab)
[task 2021-08-03T06:56:31.262Z] 06:56:31     INFO - ==> process 4664 launched child process 1316 ("Z:\task_1627969961\build\application\firefox\firefox.exe" -contentproc --channel="4664.3.1112081637\257449496" -parentBuildID 20210803033659 -prefsHandle 3156 -prefMapHandle 3152 -prefsLen 1349 -prefMapSize 252097 -appdir "Z:\task_1627969961\build\application\firefox\browser" - 4664 "\\.\pipe\gecko-crash-server-pipe.4664" 3168 200383d8 rdd)
[task 2021-08-03T06:56:31.263Z] 06:56:31     INFO - ==> process 4664 launched child process 3964 ("Z:\task_1627969961\build\application\firefox\firefox.exe" -contentproc --channel="4664.5.2102996502\1527833550" -childID 4 -isForBrowser -prefsHandle 2332 -prefMapHandle 3432 -prefsLen 8813 -prefMapSize 252097 -jsInit 968 285704 -parentBuildID 20210803033659 -appdir "Z:\task_1627969961\build\application\firefox\browser" - 4664 "\\.\pipe\gecko-crash-server-pipe.4664" 3692 207edb88 tab)
[task 2021-08-03T06:56:31.264Z] 06:56:31     INFO - ==> process 4664 launched child process 4448 ("Z:\task_1627969961\build\application\firefox\firefox.exe" -contentproc --channel="4664.6.504165393\1590582171" -childID 5 -isForBrowser -prefsHandle 3900 -prefMapHandle 3896 -prefsLen 8841 -prefMapSize 252097 -jsInit 968 285704 -parentBuildID 20210803033659 -appdir "Z:\task_1627969961\build\application\firefox\browser" - 4664 "\\.\pipe\gecko-crash-server-pipe.4664" 3908 2996c648 tab)
[task 2021-08-03T06:56:31.266Z] 06:56:31     INFO - ==> process 4664 launched child process 5512 ("Z:\task_1627969961\build\application\firefox\firefox.exe" -contentproc --channel="4664.7.1525387663\1363414555" -childID 6 -isForBrowser -prefsHandle 4440 -prefMapHandle 4444 -prefsLen 9346 -prefMapSize 252097 -jsInit 968 285704 -parentBuildID 20210803033659 -appdir "Z:\task_1627969961\build\application\firefox\browser" - 4664 "\\.\pipe\gecko-crash-server-pipe.4664" 4424 29bb28e8 tab)
[task 2021-08-03T06:56:31.267Z] 06:56:31     INFO - Found child pids: {4448, 3652, 1316, 5512, 4844, 3956, 4664, 3964}
[task 2021-08-03T06:56:31.267Z] 06:56:31     INFO - Killing process: 4448
[task 2021-08-03T06:56:31.268Z] 06:56:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-03T06:56:31.268Z] 06:56:31     INFO - mozcrash Writing a dump to C:\Users\task_1627969961\AppData\Local\Temp\tmpcxc_d_3h.mozrunner\minidumps\15881d9b-719d-4168-8cfa-16e87c6e4f50.dmp for [4448]
[task 2021-08-03T06:56:31.354Z] 06:56:31     INFO - Killing process: 3652
[task 2021-08-03T06:56:31.355Z] 06:56:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-03T06:56:31.356Z] 06:56:31     INFO - mozcrash Writing a dump to C:\Users\task_1627969961\AppData\Local\Temp\tmpcxc_d_3h.mozrunner\minidumps\64a781e1-770c-4243-868e-eb69a9de5420.dmp for [3652]
[task 2021-08-03T06:56:31.449Z] 06:56:31     INFO - Killing process: 1316
[task 2021-08-03T06:56:31.450Z] 06:56:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-03T06:56:31.451Z] 06:56:31     INFO - mozcrash Writing a dump to C:\Users\task_1627969961\AppData\Local\Temp\tmpcxc_d_3h.mozrunner\minidumps\da98bfa7-7401-43b3-ab8e-55ba54d15c8f.dmp for [1316]
[task 2021-08-03T06:56:31.528Z] 06:56:31     INFO - Killing process: 5512
[task 2021-08-03T06:56:31.529Z] 06:56:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-03T06:56:31.530Z] 06:56:31     INFO - mozcrash Writing a dump to C:\Users\task_1627969961\AppData\Local\Temp\tmpcxc_d_3h.mozrunner\minidumps\cc81e6c8-d1d0-4e3a-b7df-bed2f6936e1a.dmp for [5512]
[task 2021-08-03T06:56:31.610Z] 06:56:31     INFO - Killing process: 4844
[task 2021-08-03T06:56:31.610Z] 06:56:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-03T06:56:31.611Z] 06:56:31     INFO - mozcrash Writing a dump to C:\Users\task_1627969961\AppData\Local\Temp\tmpcxc_d_3h.mozrunner\minidumps\42e4367f-4c14-43fb-9a56-60287134213d.dmp for [4844]
[task 2021-08-03T06:56:31.695Z] 06:56:31     INFO - Killing process: 3956
[task 2021-08-03T06:56:31.696Z] 06:56:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-03T06:56:31.697Z] 06:56:31     INFO - mozcrash Writing a dump to C:\Users\task_1627969961\AppData\Local\Temp\tmpcxc_d_3h.mozrunner\minidumps\4b6f10f7-5f54-4430-97a4-6f71ad0ec36c.dmp for [3956]
[task 2021-08-03T06:56:31.780Z] 06:56:31     INFO - Killing process: 4664
[task 2021-08-03T06:56:31.781Z] 06:56:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-03T06:56:31.781Z] 06:56:31     INFO - mozcrash Writing a dump to C:\Users\task_1627969961\AppData\Local\Temp\tmpcxc_d_3h.mozrunner\minidumps\629e2fa4-ecc8-4cde-b7ad-c9da43129669.dmp for [4664]
[task 2021-08-03T06:56:32.033Z] 06:56:32     INFO - Killing process: 3964
[task 2021-08-03T06:56:32.034Z] 06:56:32     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-03T06:56:32.035Z] 06:56:32     INFO - mozcrash Writing a dump to C:\Users\task_1627969961\AppData\Local\Temp\tmpcxc_d_3h.mozrunner\minidumps\90bdf0a6-9a6d-4b3c-bc11-b8b7c840911f.dmp for [3964]
[task 2021-08-03T06:56:32.037Z] 06:56:32  WARNING - mozcrash unable to dump minidump file for pid 3964: -2147024597
[task 2021-08-03T06:56:32.037Z] 06:56:32  WARNING - mozcrash kill_pid(): unable to terminate pid 3964: 5
[task 2021-08-03T06:56:32.040Z] 06:56:32     INFO - psutil found pid 4844 dead
[task 2021-08-03T06:56:32.041Z] 06:56:32     INFO - psutil found pid 3956 dead
[task 2021-08-03T06:56:32.042Z] 06:56:32     INFO - psutil found pid 3964 dead
[task 2021-08-03T06:56:32.042Z] 06:56:32     INFO - psutil found pid 1316 dead
[task 2021-08-03T06:56:32.043Z] 06:56:32     INFO - psutil found pid 4664 dead
[task 2021-08-03T06:56:32.044Z] 06:56:32     INFO - psutil found pid 3652 dead
[task 2021-08-03T06:56:32.044Z] 06:56:32     INFO - psutil found pid 4448 dead
[task 2021-08-03T06:56:32.045Z] 06:56:32     INFO - psutil found pid 5512 dead
[task 2021-08-03T06:56:32.045Z] 06:56:32     INFO - Killing process: 3876
[task 2021-08-03T06:56:32.046Z] 06:56:32     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-03T06:56:32.047Z] 06:56:32     INFO - mozcrash Writing a dump to C:\Users\task_1627969961\AppData\Local\Temp\tmpcxc_d_3h.mozrunner\minidumps\380681fc-dcd5-4b45-bd28-670fad39155c.dmp for [3876]
[task 2021-08-03T06:56:32.048Z] 06:56:32  WARNING - mozcrash unable to dump minidump file for pid 3876: -2147024597
[task 2021-08-03T06:56:32.048Z] 06:56:32  WARNING - mozcrash kill_pid(): unable to terminate pid 3876: 5
[task 2021-08-03T06:56:32.049Z] 06:56:32     INFO - psutil found pid 3876 dead
[task 2021-08-03T06:56:32.050Z] 06:56:32     INFO - TEST-INFO | Main app process: exit 1
```