Bug: Intermittent browser/components/preferences/tests/browser_sync_chooseWhatToSync.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2022-08-09 23:26:47+00:00
Resolved: 2025-03-03 07:06:27+00:00

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

---
```
[task 2022-08-09T22:22:27.191Z] 22:22:27     INFO - TEST-PASS | browser/components/preferences/tests/browser_sync_chooseWhatToSync.js | Accept callback was called - true == true - 
[task 2022-08-09T22:22:27.191Z] 22:22:27     INFO - Leaving test bound testDialogAccept
[task 2022-08-09T22:22:27.192Z] 22:22:27     INFO - Entering test bound testDialogCancel
[task 2022-08-09T22:22:27.192Z] 22:22:27     INFO - Buffered messages finished
[task 2022-08-09T22:22:27.193Z] 22:22:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_sync_chooseWhatToSync.js | Uncaught exception in test - out of memory
[task 2022-08-09T22:22:27.194Z] 22:22:27     INFO - Leaving test bound testDialogCancel
[task 2022-08-09T22:22:27.194Z] 22:22:27     INFO - GECKO(5252) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2022-08-09T22:22:27.195Z] 22:22:27     INFO - GECKO(5252) | JavaScript error: , line 0: NS_ERROR_OUT_OF_MEMORY: Out of Memory arg 0 [nsIThreadManager.dispatchToMainThread]
[task 2022-08-09T22:22:27.196Z] 22:22:27     INFO - Console message: [JavaScript Warning: "Sending message that cannot be cloned. Are you trying to send an XPCOM object?" {file: "resource://gre/modules/ConduitsChild.jsm" line: 65}]
[task 2022-08-09T22:22:27.196Z] 22:22:27     INFO - Console message: [JavaScript Warning: "Sending message that cannot be cloned. Are you trying to send an XPCOM object?" {file: "resource://specialpowers/SpecialPowersChild.jsm" line: 887}]
[task 2022-08-09T22:22:27.197Z] 22:22:27     INFO - Console message: [JavaScript Error: "[Exception... "Out of Memory arg 0 [mozIStorageAsyncStatement.executeAsync]"  nsresult: "0x8007000e (NS_ERROR_OUT_OF_MEMORY)"  location: "<unknown>"  data: no]"]
[task 2022-08-09T22:22:27.198Z] 22:22:27     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-08-09T22:22:27.199Z] 22:22:27     INFO - Console message: [JavaScript Error: "NS_ERROR_OUT_OF_MEMORY: Out of Memory arg 0 [nsIThreadManager.dispatchToMainThread]"]
[task 2022-08-09T22:22:27.199Z] 22:22:27     INFO - GECKO(5252) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2022-08-09T22:22:27.200Z] 22:22:27     INFO - GECKO(5252) | JavaScript error: , line 0: NS_ERROR_OUT_OF_MEMORY: Out of Memory arg 0 [nsIThreadManager.dispatchToMainThread]
[task 2022-08-09T22:22:27.201Z] 22:22:27     INFO - GECKO(5252) | JavaScript error: , line 0: NS_ERROR_OUT_OF_MEMORY: Component returned failure code: 0x8007000e (NS_ERROR_OUT_OF_MEMORY) [nsIXPCComponents_Utils.generateXPCWrappedJS]
[task 2022-08-09T22:22:27.201Z] 22:22:27     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-08-09T22:22:27.202Z] 22:22:27     INFO - Console message: [JavaScript Error: "NS_ERROR_OUT_OF_MEMORY: Out of Memory arg 0 [nsIThreadManager.dispatchToMainThread]"]
[task 2022-08-09T22:22:27.203Z] 22:22:27     INFO - Console message: [JavaScript Error: "NS_ERROR_OUT_OF_MEMORY: Component returned failure code: 0x8007000e (NS_ERROR_OUT_OF_MEMORY) [nsIXPCComponents_Utils.generateXPCWrappedJS]"]
[task 2022-08-09T22:23:11.432Z] 22:23:11     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-09T22:23:11.433Z] 22:23:11     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_sync_chooseWhatToSync.js | Test timed out - 
[task 2022-08-09T22:23:11.434Z] 22:23:11     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-09T22:23:11.435Z] 22:23:11     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_sync_chooseWhatToSync.js | A promise chain failed to handle a rejection: out of memory - stack: (No stack available.)
[task 2022-08-09T22:23:11.436Z] 22:23:11     INFO - Rejection date: Tue Aug 09 2022 22:22:27 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 270
[task 2022-08-09T22:23:11.436Z] 22:23:11     INFO - Stack trace:
[task 2022-08-09T22:23:11.436Z] 22:23:11     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:270
[task 2022-08-09T22:23:11.436Z] 22:23:11     INFO - chrome://mochikit/content/browser-test.js:nextTest:624
[task 2022-08-09T22:23:11.436Z] 22:23:11     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1288
[task 2022-08-09T22:23:11.436Z] 22:23:11     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-09T22:23:11.438Z] 22:23:11     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_sync_chooseWhatToSync.js | A promise chain failed to handle a rejection: Out of Memory arg 0 [nsIThreadManager.dispatchToMainThread] - stack: (No stack available.)
[task 2022-08-09T22:23:11.438Z] 22:23:11     INFO - Rejection date: Tue Aug 09 2022 22:22:27 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 270
[task 2022-08-09T22:23:11.438Z] 22:23:11     INFO - Stack trace:
[task 2022-08-09T22:23:11.438Z] 22:23:11     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:270
[task 2022-08-09T22:23:11.438Z] 22:23:11     INFO - chrome://mochikit/content/browser-test.js:nextTest:624
[task 2022-08-09T22:23:11.438Z] 22:23:11     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1288
[task 2022-08-09T22:23:11.465Z] 22:23:11     INFO - GECKO(5252) | MEMORY STAT | vsize 1867MB | vsizeMaxContiguous 16MB | residentFast 945MB | heapAllocated 651MB
[task 2022-08-09T22:23:11.466Z] 22:23:11     INFO - TEST-OK | browser/components/preferences/tests/browser_sync_chooseWhatToSync.js | took 45036ms
[task 2022-08-09T22:23:11.481Z] 22:23:11     INFO - checking window state
[task 2022-08-09T22:23:11.487Z] 22:23:11     INFO - TEST-START | browser/components/preferences/tests/browser_sync_disabled.js
[task 2022-08-09T22:23:12.175Z] 22:23:12     INFO - GECKO(5252) | MEMORY STAT | vsize 1885MB | vsizeMaxContiguous 8MB | residentFast 953MB | heapAllocated 661MB
[task 2022-08-09T22:23:12.175Z] 22:23:12     INFO - TEST-OK | browser/components/preferences/tests/browser_sync_disabled.js | took 688ms
[task 2022-08-09T22:23:12.187Z] 22:23:12     INFO - checking window state
[task 2022-08-09T22:23:12.191Z] 22:23:12     INFO - TEST-START | browser/components/preferences/tests/browser_sync_pairing.js
[task 2022-08-09T22:23:12.268Z] 22:23:12     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-09T22:23:12.269Z] 22:23:12     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_sync_pairing.js | Exception thrown - out of memory
[task 2022-08-09T22:23:12.308Z] 22:23:12     INFO - GECKO(5252) | MEMORY STAT | vsize 1886MB | vsizeMaxContiguous 8MB | residentFast 958MB | heapAllocated 667MB
[task 2022-08-09T22:23:12.309Z] 22:23:12     INFO - TEST-OK | browser/components/preferences/tests/browser_sync_pairing.js | took 118ms
[task 2022-08-09T22:23:12.321Z] 22:23:12     INFO - checking window state
[task 2022-08-09T22:23:12.326Z] 22:23:12     INFO - TEST-START | browser/components/preferences/tests/browser_warning_permanent_private_browsing.js
```