Bug: Intermittent browser/components/preferences/tests/browser_search_subdialogs_within_preferences_7.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: DUPLICATE
Created: 2021-07-19 16:06:18+00:00
Resolved: 2022-07-26 00:13:27+00:00

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

---
```
[task 2021-07-19T11:48:30.850Z] 11:48:30     INFO - TEST-INFO | started process screenshot
[task 2021-07-19T11:48:30.908Z] 11:48:30     INFO - TEST-INFO | screenshot: exit 0
[task 2021-07-19T11:48:30.909Z] 11:48:30     INFO - Buffered messages logged at 11:47:00
[task 2021-07-19T11:48:30.909Z] 11:48:30     INFO - Entering test bound 
[task 2021-07-19T11:48:30.909Z] 11:48:30     INFO - Leaving test bound 
[task 2021-07-19T11:48:30.910Z] 11:48:30     INFO - Entering test bound 
[task 2021-07-19T11:48:30.910Z] 11:48:30     INFO - Buffered messages logged at 11:47:45
[task 2021-07-19T11:48:30.911Z] 11:48:30     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2021-07-19T11:48:30.911Z] 11:48:30     INFO - Buffered messages finished
[task 2021-07-19T11:48:30.912Z] 11:48:30     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_7.js | Test timed out - 
[task 2021-07-19T11:48:30.913Z] 11:48:30     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:48:30.914Z] 11:48:30     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_7.js | Uncaught exception received from previously timed out test - PreferencesSearchCompleted listener not removed before the end of test
[task 2021-07-19T11:48:30.914Z] 11:48:30     INFO - GECKO(5100) | MEMORY STAT | vsize 1850MB | vsizeMaxContiguous 5MB | residentFast 776MB | heapAllocated 565MB
[task 2021-07-19T11:48:30.915Z] 11:48:30     INFO - TEST-OK | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_7.js | took 90044ms
[task 2021-07-19T11:48:30.915Z] 11:48:30     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:48:30.916Z] 11:48:30     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_7.js | Found a tab after previous test timed out: about:preferences#searchResults - 
[task 2021-07-19T11:48:30.945Z] 11:48:30     INFO - checking window state
[task 2021-07-19T11:54:40.948Z] 11:54:40     INFO - Buffered messages finished
[task 2021-07-19T11:54:40.948Z] 11:54:40    ERROR - TEST-UNEXPECTED-TIMEOUT | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_7.js (finished) | application timed out after 370 seconds with no output
[task 2021-07-19T11:54:40.949Z] 11:54:40    ERROR - Force-terminating active process(es).
[task 2021-07-19T11:54:40.949Z] 11:54:40     INFO - Determining child pids from psutil...
[task 2021-07-19T11:54:40.950Z] 11:54:40     INFO - [3960]
[task 2021-07-19T11:54:40.951Z] 11:54:40     INFO - ==> process 3960 launched child process 3500 ("Z:\task_1626693725\build\application\firefox\firefox.exe" -contentproc --channel="3960.0.1788863392\1689706091" -childID 1 -isForBrowser -prefsHandle 2344 -prefMapHandle 868 -prefsLen 1 -prefMapSize 251426 -jsInit 956 285716 -parentBuildID 20210719093934 -appdir "Z:\task_1626693725\build\application\firefox\browser" - 3960 "\\.\pipe\gecko-crash-server-pipe.3960" 2408 17acd108 tab)
[task 2021-07-19T11:54:40.952Z] 11:54:40     INFO - ==> process 3960 launched child process 5960 ("Z:\task_1626693725\build\application\firefox\firefox.exe" -contentproc --channel="3960.1.900402434\1464845738" -childID 2 -isForBrowser -prefsHandle 2708 -prefMapHandle 2704 -prefsLen 184 -prefMapSize 251426 -jsInit 956 285716 -parentBuildID 20210719093934 -appdir "Z:\task_1626693725\build\application\firefox\browser" - 3960 "\\.\pipe\gecko-crash-server-pipe.3960" 2720 1b06d4f8 tab)
[task 2021-07-19T11:54:40.953Z] 11:54:40     INFO - ==> process 3960 launched child process 6064 ("Z:\task_1626693725\build\application\firefox\firefox.exe" -contentproc --channel="3960.2.92821321\1956580075" -childID 3 -isForBrowser -prefsHandle 2740 -prefMapHandle 2748 -prefsLen 224 -prefMapSize 251426 -jsInit 956 285716 -parentBuildID 20210719093934 -appdir "Z:\task_1626693725\build\application\firefox\browser" - 3960 "\\.\pipe\gecko-crash-server-pipe.3960" 2840 1bbb2f78 tab)
[task 2021-07-19T11:54:40.954Z] 11:54:40     INFO - ==> process 3960 launched child process 1768 ("Z:\task_1626693725\build\application\firefox\firefox.exe" -contentproc --channel="3960.3.532252628\749719859" -parentBuildID 20210719093934 -prefsHandle 3148 -prefMapHandle 3144 -prefsLen 1349 -prefMapSize 251426 -appdir "Z:\task_1626693725\build\application\firefox\browser" - 3960 "\\.\pipe\gecko-crash-server-pipe.3960" 3160 17ab9f28 rdd)
[task 2021-07-19T11:54:40.956Z] 11:54:40     INFO - ==> process 3960 launched child process 5528 ("Z:\task_1626693725\build\application\firefox\firefox.exe" -contentproc --channel="3960.5.1237382228\1812546661" -childID 4 -isForBrowser -prefsHandle 3600 -prefMapHandle 3328 -prefsLen 8846 -prefMapSize 251426 -jsInit 956 285716 -parentBuildID 20210719093934 -appdir "Z:\task_1626693725\build\application\firefox\browser" - 3960 "\\.\pipe\gecko-crash-server-pipe.3960" 3656 17bcf78 tab)
[task 2021-07-19T11:54:40.957Z] 11:54:40     INFO - ==> process 3960 launched child process 2608 ("Z:\task_1626693725\build\application\firefox\firefox.exe" -contentproc --channel="3960.6.628313438\449595474" -childID 5 -isForBrowser -prefsHandle 3900 -prefMapHandle 3896 -prefsLen 8942 -prefMapSize 251426 -jsInit 956 285716 -parentBuildID 20210719093934 -appdir "Z:\task_1626693725\build\application\firefox\browser" - 3960 "\\.\pipe\gecko-crash-server-pipe.3960" 3904 1bd4ecd8 tab)
[task 2021-07-19T11:54:40.958Z] 11:54:40     INFO - ==> process 3960 launched child process 2876 ("Z:\task_1626693725\build\application\firefox\firefox.exe" -contentproc --channel="3960.7.296830920\1907104948" -childID 6 -isForBrowser -prefsHandle 4164 -prefMapHandle 4396 -prefsLen 9379 -prefMapSize 251426 -jsInit 956 285716 -parentBuildID 20210719093934 -appdir "Z:\task_1626693725\build\application\firefox\browser" - 3960 "\\.\pipe\gecko-crash-server-pipe.3960" 4412 1bd4e3a8 tab)
[task 2021-07-19T11:54:40.959Z] 11:54:40     INFO - ==> process 3960 launched child process 892 ("Z:\task_1626693725\build\application\firefox\firefox.exe" -contentproc --channel="3960.8.220641489\1189444833" -childID 7 -isForBrowser -prefsHandle 4480 -prefMapHandle 4000 -prefsLen 9379 -prefMapSize 251426 -jsInit 956 285716 -parentBuildID 20210719093934 -appdir "Z:\task_1626693725\build\application\firefox\browser" - 3960 "\\.\pipe\gecko-crash-server-pipe.3960" 4424 17a24258 tab)
[task 2021-07-19T11:54:40.960Z] 11:54:40     INFO - Found child pids: {5528, 1768, 5960, 892, 3500, 6064, 2608, 3960, 2876}
[task 2021-07-19T11:54:40.960Z] 11:54:40     INFO - Failed to get child procs
[task 2021-07-19T11:54:40.961Z] 11:54:40     INFO - Killing process: 5528
[task 2021-07-19T11:54:40.961Z] 11:54:40     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:54:40.962Z] 11:54:40     INFO - mozcrash Writing a dump to C:\Users\task_1626693725\AppData\Local\Temp\tmpavot673z.mozrunner\minidumps\a369b3cb-fb9b-4da5-9889-4d8b7454ceb7.dmp for [5528]
[task 2021-07-19T11:54:41.121Z] 11:54:41     INFO - Killing process: 1768
[task 2021-07-19T11:54:41.122Z] 11:54:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:54:41.123Z] 11:54:41     INFO - mozcrash Writing a dump to C:\Users\task_1626693725\AppData\Local\Temp\tmpavot673z.mozrunner\minidumps\95a7aa3c-51dd-45ad-8c21-d1a2705f4c76.dmp for [1768]
[task 2021-07-19T11:54:41.195Z] 11:54:41     INFO - Killing process: 5960
[task 2021-07-19T11:54:41.196Z] 11:54:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:54:41.196Z] 11:54:41     INFO - mozcrash Writing a dump to C:\Users\task_1626693725\AppData\Local\Temp\tmpavot673z.mozrunner\minidumps\3b960b26-e98e-4f84-891f-c52c166d5a3f.dmp for [5960]
[task 2021-07-19T11:54:41.272Z] 11:54:41     INFO - Killing process: 892
[task 2021-07-19T11:54:41.272Z] 11:54:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:54:41.273Z] 11:54:41     INFO - mozcrash Writing a dump to C:\Users\task_1626693725\AppData\Local\Temp\tmpavot673z.mozrunner\minidumps\ca811598-b94f-43fe-9174-378e54b48cc1.dmp for [892]
[task 2021-07-19T11:54:41.274Z] 11:54:41  WARNING - mozcrash unable to get handle for pid 892: 87
[task 2021-07-19T11:54:41.274Z] 11:54:41  WARNING - mozcrash kill_pid(): unable to get handle for pid 892: 87
[task 2021-07-19T11:54:41.275Z] 11:54:41     INFO - Killing process: 3500
[task 2021-07-19T11:54:41.275Z] 11:54:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:54:41.276Z] 11:54:41     INFO - mozcrash Writing a dump to C:\Users\task_1626693725\AppData\Local\Temp\tmpavot673z.mozrunner\minidumps\3c8474d3-ed46-49b3-87d8-58ea3340d18b.dmp for [3500]
[task 2021-07-19T11:54:41.356Z] 11:54:41     INFO - Killing process: 6064
[task 2021-07-19T11:54:41.356Z] 11:54:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:54:41.357Z] 11:54:41     INFO - mozcrash Writing a dump to C:\Users\task_1626693725\AppData\Local\Temp\tmpavot673z.mozrunner\minidumps\a6d02d1d-9ceb-47d2-9f18-e1500b412a3c.dmp for [6064]
[task 2021-07-19T11:54:41.433Z] 11:54:41     INFO - Killing process: 2608
[task 2021-07-19T11:54:41.434Z] 11:54:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:54:41.435Z] 11:54:41     INFO - mozcrash Writing a dump to C:\Users\task_1626693725\AppData\Local\Temp\tmpavot673z.mozrunner\minidumps\5d52c920-d352-4230-9a43-7d90f5ac6f0e.dmp for [2608]
[task 2021-07-19T11:54:41.507Z] 11:54:41     INFO - Killing process: 3960
[task 2021-07-19T11:54:41.508Z] 11:54:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:54:41.508Z] 11:54:41     INFO - mozcrash Writing a dump to C:\Users\task_1626693725\AppData\Local\Temp\tmpavot673z.mozrunner\minidumps\406ab8f9-7923-4be0-bbdb-a64b763d0ed3.dmp for [3960]
[task 2021-07-19T11:54:41.729Z] 11:54:41     INFO - Killing process: 2876
[task 2021-07-19T11:54:41.729Z] 11:54:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:54:41.729Z] 11:54:41     INFO - mozcrash Writing a dump to C:\Users\task_1626693725\AppData\Local\Temp\tmpavot673z.mozrunner\minidumps\400854c6-6a4a-4f31-87a0-6926b9873162.dmp for [2876]
[task 2021-07-19T11:54:41.732Z] 11:54:41  WARNING - mozcrash unable to dump minidump file for pid 2876: -2147024597
[task 2021-07-19T11:54:41.732Z] 11:54:41  WARNING - mozcrash kill_pid(): unable to terminate pid 2876: 5
[task 2021-07-19T11:54:41.733Z] 11:54:41     INFO - Killing process: 5100
[task 2021-07-19T11:54:41.733Z] 11:54:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-19T11:54:41.734Z] 11:54:41     INFO - mozcrash Writing a dump to C:\Users\task_1626693725\AppData\Local\Temp\tmpavot673z.mozrunner\minidumps\7ac90e57-64e9-4cba-8f67-9a6e624103f0.dmp for [5100]
[task 2021-07-19T11:54:41.735Z] 11:54:41  WARNING - mozcrash unable to dump minidump file for pid 5100: -2147024597
[task 2021-07-19T11:54:41.735Z] 11:54:41  WARNING - mozcrash kill_pid(): unable to terminate pid 5100: 5
[task 2021-07-19T11:54:41.736Z] 11:54:41     INFO - psutil found pid 5100 dead
[task 2021-07-19T11:54:41.736Z] 11:54:41     INFO - TEST-INFO | Main app process: exit 1
```