Bug: Intermittent browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js | A promise chain failed to handle a rejection: out of memory - stack: (No stack available.)
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-08-17 00:58:43+00:00
Resolved: 2021-09-21 17:01:27+00:00

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

---
```
[task 2021-08-17T00:41:22.288Z] 00:41:22     INFO - TEST-START | browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js
[task 2021-08-17T00:41:22.837Z] 00:41:22     INFO - GECKO(4296) | must wait for focus
[task 2021-08-17T00:41:23.093Z] 00:41:23     INFO - GECKO(4296) | must wait for focus
[task 2021-08-17T00:41:23.961Z] 00:41:23     INFO - GECKO(4296) | must wait for focus
[task 2021-08-17T00:41:24.366Z] 00:41:24     INFO - GECKO(4296) | must wait for focus
[task 2021-08-17T00:41:24.743Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.744Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.744Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.752Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.759Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.760Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.765Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.765Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.770Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.773Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.773Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.775Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.776Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.777Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.778Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.780Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.781Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.782Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.783Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.784Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.787Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.796Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.797Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.798Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.800Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.801Z] 00:41:24     INFO - GECKO(4296) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-08-17T00:41:24.839Z] 00:41:24     INFO - TEST-INFO | started process screenshot
[task 2021-08-17T00:41:24.910Z] 00:41:24     INFO - TEST-INFO | screenshot: exit 0
[task 2021-08-17T00:41:24.911Z] 00:41:24     INFO - Buffered messages logged at 00:41:22
[task 2021-08-17T00:41:24.911Z] 00:41:24     INFO - Entering test bound test_new_tab
[task 2021-08-17T00:41:24.912Z] 00:41:24     INFO - Preparing non-remote browser
[task 2021-08-17T00:41:24.912Z] 00:41:24     INFO - Non-remote browser prepared
[task 2021-08-17T00:41:24.913Z] 00:41:24     INFO - Wait tab event: load
[task 2021-08-17T00:41:24.914Z] 00:41:24     INFO - Buffered messages logged at 00:41:23
[task 2021-08-17T00:41:24.914Z] 00:41:24     INFO - Tab event received: load
[task 2021-08-17T00:41:24.915Z] 00:41:24     INFO - TEST-PASS | browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js | The opened browser never became remote. - 
[task 2021-08-17T00:41:24.916Z] 00:41:24     INFO - Preparing non-remote browser
[task 2021-08-17T00:41:24.917Z] 00:41:24     INFO - Non-remote browser prepared
[task 2021-08-17T00:41:24.917Z] 00:41:24     INFO - Wait tab event: load
[task 2021-08-17T00:41:24.918Z] 00:41:24     INFO - Console message: [JavaScript Warning: "HTTPS-First Mode: Upgrading insecure request �http://example.com/� to use �https�."]
[task 2021-08-17T00:41:24.919Z] 00:41:24     INFO - Tab event received: load
[task 2021-08-17T00:41:24.920Z] 00:41:24     INFO - TEST-PASS | browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js | The opened browser never became remote. - 
[task 2021-08-17T00:41:24.920Z] 00:41:24     INFO - Leaving test bound test_new_tab
[task 2021-08-17T00:41:24.921Z] 00:41:24     INFO - Entering test bound test_new_window
[task 2021-08-17T00:41:24.921Z] 00:41:24     INFO - Buffered messages logged at 00:41:24
[task 2021-08-17T00:41:24.922Z] 00:41:24     INFO - TEST-PASS | browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js | Private browsing state of new window does not match the original! - 
[task 2021-08-17T00:41:24.923Z] 00:41:24     INFO - Wait tab event: load
[task 2021-08-17T00:41:24.923Z] 00:41:24     INFO - Tab event received: load
[task 2021-08-17T00:41:24.924Z] 00:41:24     INFO - TEST-PASS | browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js | The opened browser never became remote. - 
[task 2021-08-17T00:41:24.925Z] 00:41:24     INFO - TEST-PASS | browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js | Private browsing state of new window does not match the original! - 
[task 2021-08-17T00:41:24.926Z] 00:41:24     INFO - Wait tab event: load
[task 2021-08-17T00:41:24.926Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.927Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.928Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.928Z] 00:41:24     INFO - Console message: [JavaScript Warning: "HTTPS-First Mode: Upgrading insecure request �http://example.com/� to use �https�."]
[task 2021-08-17T00:41:24.929Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.930Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.930Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.931Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.932Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.932Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.933Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.934Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.935Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.935Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.936Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.937Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.937Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.938Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.939Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.939Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.940Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.940Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.941Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.942Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.943Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.944Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.944Z] 00:41:24     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-08-17T00:41:24.945Z] 00:41:24     INFO - Tab event received: load
[task 2021-08-17T00:41:24.946Z] 00:41:24     INFO - TEST-PASS | browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js | The opened browser never became remote. - 
[task 2021-08-17T00:41:24.946Z] 00:41:24     INFO - Buffered messages finished
[task 2021-08-17T00:41:24.948Z] 00:41:24     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js | A promise chain failed to handle a rejection: out of memory - stack: (No stack available.)
[task 2021-08-17T00:41:24.948Z] 00:41:24     INFO - Rejection date: Tue Aug 17 2021 00:41:24 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-08-17T00:41:24.948Z] 00:41:24     INFO - Stack trace:
[task 2021-08-17T00:41:24.948Z] 00:41:24     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-08-17T00:41:24.948Z] 00:41:24     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1122
[task 2021-08-17T00:41:24.949Z] 00:41:24     INFO - Leaving test bound test_new_window
[task 2021-08-17T00:41:25.046Z] 00:41:25     INFO - GECKO(4296) | MEMORY STAT | vsize 1693MB | vsizeMaxContiguous 88MB | residentFast 545MB | heapAllocated 695MB
[task 2021-08-17T00:41:25.047Z] 00:41:25     INFO - TEST-OK | browser/base/content/test/general/browser_testOpenNewRemoteTabsFromNonRemoteBrowsers.js | took 2758ms
[task 2021-08-17T00:41:25.056Z] 00:41:25     INFO - checking window state
[task 2021-08-17T00:41:25.065Z] 00:41:25     INFO - TEST-START | browser/base/content/test/general/browser_typeAheadFind.js
```