Bug: Intermittent browser/components/preferences/tests/browser_search_subdialogs_within_preferences_1.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: 2022-04-22 14:53:02+00:00
Resolved: 2022-06-14 17:08:33+00:00

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

---
```
[task 2022-04-22T13:32:17.039Z] 13:32:17     INFO - TEST-START | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_1.js
[task 2022-04-22T13:32:17.374Z] 13:32:17     INFO - GECKO(1688) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2022-04-22T13:32:17.375Z] 13:32:17     INFO - GECKO(1688) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2022-04-22T13:32:17.886Z] 13:32:17     INFO - GECKO(1688) | JavaScript error: resource:///modules/BrowserUsageTelemetry.jsm, line 826: TypeError: node.getAttribute is not a function
[task 2022-04-22T13:33:02.060Z] 13:33:02     INFO - TEST-INFO | started process screenshot
[task 2022-04-22T13:33:02.146Z] 13:33:02     INFO - TEST-INFO | screenshot: exit 0
[task 2022-04-22T13:33:02.147Z] 13:33:02     INFO - Buffered messages logged at 13:32:17
[task 2022-04-22T13:33:02.147Z] 13:33:02     INFO - Entering test bound 
[task 2022-04-22T13:33:02.148Z] 13:33:02     INFO - Leaving test bound 
[task 2022-04-22T13:33:02.148Z] 13:33:02     INFO - Entering test bound 
[task 2022-04-22T13:33:02.149Z] 13:33:02     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-22T13:33:02.149Z] 13:33:02     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-22T13:33:02.150Z] 13:33:02     INFO - Console message: [JavaScript Error: "TypeError: node.getAttribute is not a function" {file: "resource:///modules/BrowserUsageTelemetry.jsm" line: 826}]
[task 2022-04-22T13:33:02.151Z] 13:33:02     INFO - _recordCommand@resource:///modules/BrowserUsageTelemetry.jsm:826:15
[task 2022-04-22T13:33:02.151Z] 13:33:02     INFO - _addUsageListeners/<@resource:///modules/BrowserUsageTelemetry.jsm:857:51
[task 2022-04-22T13:33:02.151Z] 13:33:02     INFO - _fireCommand@chrome://global/content/elements/search-textbox.js:230:10
[task 2022-04-22T13:33:02.151Z] 13:33:02     INFO - 
[task 2022-04-22T13:33:02.151Z] 13:33:02     INFO - Buffered messages finished
[task 2022-04-22T13:33:02.152Z] 13:33:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_1.js | Test timed out - 
[task 2022-04-22T13:33:02.153Z] 13:33:02     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-04-22T13:33:02.153Z] 13:33:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_1.js | Uncaught exception received from previously timed out test - PreferencesSearchCompleted listener not removed before the end of test
[task 2022-04-22T13:33:02.154Z] 13:33:02     INFO - Entering test bound 
[task 2022-04-22T13:33:02.218Z] 13:33:02     INFO - GECKO(1688) | [GFX1-]: wr_window_new: Thread(Os { code: 8, kind: OutOfMemory, message: "Not enough storage is available to process this command." })
[task 2022-04-22T13:33:02.219Z] 13:33:02     INFO - GECKO(1688) | [GFX1-]: Failed to connect WebRenderBridgeChild. isParent=true
[task 2022-04-22T13:33:02.301Z] 13:33:02     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-04-22T13:33:02.301Z] 13:33:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_1.js | A promise chain failed to handle a rejection: out of memory - stack: (No stack available.)
[task 2022-04-22T13:33:02.301Z] 13:33:02     INFO - Rejection date: Fri Apr 22 2022 13:32:17 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-04-22T13:33:02.301Z] 13:33:02     INFO - Stack trace:
[task 2022-04-22T13:33:02.301Z] 13:33:02     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-04-22T13:33:02.301Z] 13:33:02     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2022-04-22T13:33:02.301Z] 13:33:02     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1282
[task 2022-04-22T13:33:02.302Z] 13:33:02     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-04-22T13:33:02.303Z] 13:33:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_1.js | A promise chain failed to handle a rejection: out of memory - stack: (No stack available.)
[task 2022-04-22T13:33:02.303Z] 13:33:02     INFO - Rejection date: Fri Apr 22 2022 13:32:17 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-04-22T13:33:02.303Z] 13:33:02     INFO - Stack trace:
[task 2022-04-22T13:33:02.303Z] 13:33:02     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-04-22T13:33:02.303Z] 13:33:02     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2022-04-22T13:33:02.303Z] 13:33:02     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1282
[task 2022-04-22T13:33:02.324Z] 13:33:02     INFO - GECKO(1688) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-04-22T13:33:02.372Z] 13:33:02     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_1.js | Element should not be null, when checking visibility - 
```