Bug: Intermittent win7-32-qr browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | Test timed out - | A promise chain failed to handle a rejection: undefined - stack: (No stack available.)
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-06-30 19:21:33+00:00
Resolved: 2022-07-26 22:15:21+00:00

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

---
```
INFO - TEST-PASS | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | Opening a reg window from a private window does not open the sidebar - 
[task 2021-06-30T18:17:52.963Z] 18:17:52     INFO - Buffered messages logged at 18:17:10
[task 2021-06-30T18:17:52.964Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.965Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.965Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.966Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.966Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.967Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.968Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.968Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.969Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: undefined"]
[task 2021-06-30T18:17:52.970Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: undefined"]
[task 2021-06-30T18:17:52.971Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: undefined"]
[task 2021-06-30T18:17:52.971Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.972Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: 2153578497"]
[task 2021-06-30T18:17:52.973Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.974Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.974Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.975Z] 18:17:52     INFO - Console message: [JavaScript Error: "TypeError: can't access property "classList", badge is null" {file: "resource:///modules/BrowserGlue.jsm" line: 2110}]
[task 2021-06-30T18:17:52.976Z] 18:17:52     INFO - _monitorIonStudies/onOpenWindow/<@resource:///modules/BrowserGlue.jsm:2110:15
[task 2021-06-30T18:17:52.976Z] 18:17:52     INFO - 
[task 2021-06-30T18:17:52.977Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.978Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.979Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.979Z] 18:17:52     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.981Z] 18:17:52     INFO - Console message: [JavaScript Error: "TypeError: can't access property "selectedBrowser", win.gBrowser is undefined" {file: "resource:///modules/ProcessHangMonitor.jsm" line: 466}]
[task 2021-06-30T18:17:52.981Z] 18:17:52     INFO - updateWindow@resource:///modules/ProcessHangMonitor.jsm:466:18
[task 2021-06-30T18:17:52.982Z] 18:17:52     INFO - updateWindows@resource:///modules/ProcessHangMonitor.jsm:451:12
[task 2021-06-30T18:17:52.982Z] 18:17:52     INFO - listener@resource:///modules/ProcessHangMonitor.jsm:252:16
[task 2021-06-30T18:17:52.982Z] 18:17:52     INFO - 
INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-06-30T18:17:52.984Z] 18:17:52     INFO - Console message: [JavaScript Error: "TypeError: can't access property "tabs", win.gBrowser is undefined" {file: "resource://gre/modules/BrowserTelemetryUtils.jsm" line: 82}]
[task 2021-06-30T18:17:52.984Z] 18:17:52     INFO - computeSiteOriginCount@resource://gre/modules/BrowserTelemetryUtils.jsm:82:9
[task 2021-06-30T18:17:52.984Z] 18:17:52     INFO - _recordSiteOriginTelemetry@resource://gre/modules/BrowserTelemetryUtils.jsm:116:28
[task 2021-06-30T18:17:52.985Z] 18:17:52     INFO - recordSiteOriginTelemetry/<@resource://gre/modules/BrowserTelemetryUtils.jsm:67:12
[task 2021-06-30T18:17:52.985Z] 18:17:52     INFO - 
[task 2021-06-30T18:17:52.985Z] 18:17:52     INFO - Console message: [JavaScript Error: "TypeError: can't access property "tabs", win.gBrowser is undefined" {file: "resource://gre/modules/BrowserTelemetryUtils.jsm" line: 82}]
[task 2021-06-30T18:17:52.986Z] 18:17:52     INFO - computeSiteOriginCount@resource://gre/modules/BrowserTelemetryUtils.jsm:82:9
[task 2021-06-30T18:17:52.986Z] 18:17:52     INFO - _recordSiteOriginTelemetry@resource://gre/modules/BrowserTelemetryUtils.jsm:116:28
[task 2021-06-30T18:17:52.986Z] 18:17:52     INFO - recordSiteOriginTelemetry/<@resource://gre/modules/BrowserTelemetryUtils.jsm:67:12
[task 2021-06-30T18:17:52.986Z] 18:17:52     INFO - 
[task 2021-06-30T18:17:52.987Z] 18:17:52     INFO - Buffered messages finished
[task 2021-06-30T18:17:52.988Z] 18:17:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | Test timed out - 
[task 2021-06-30T18:17:52.988Z] 18:17:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-30T18:17:52.991Z] 18:17:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | A promise chain failed to handle a rejection: undefined - stack: (No stack available.)
[task 2021-06-30T18:17:52.991Z] 18:17:52     INFO - Rejection date: Wed Jun 30 2021 18:17:10 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-06-30T18:17:52.991Z] 18:17:52     INFO - Stack trace:
[task 2021-06-30T18:17:52.991Z] 18:17:52     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-06-30T18:17:52.991Z] 18:17:52     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2021-06-30T18:17:52.991Z] 18:17:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-30T18:17:52.992Z] 18:17:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | A promise chain failed to handle a rejection: undefined - stack: (No stack available.)
[task 2021-06-30T18:17:52.992Z] 18:17:52     INFO - Rejection date: Wed Jun 30 2021 18:17:10 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-06-30T18:17:52.993Z] 18:17:52     INFO - Stack trace:
[task 2021-06-30T18:17:52.993Z] 18:17:52     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-06-30T18:17:52.993Z] 18:17:52     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2021-06-30T18:17:52.993Z] 18:17:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-30T18:17:52.995Z] 18:17:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | A promise chain failed to handle a rejection: undefined - stack: (No stack available.)
[task 2021-06-30T18:17:52.995Z] 18:17:52     INFO - Rejection date: Wed Jun 30 2021 18:17:10 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-06-30T18:17:52.995Z] 18:17:52     INFO - Stack trace:
INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-06-30T18:17:52.996Z] 18:17:52     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2021-06-30T18:17:52.996Z] 18:17:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-30T18:17:52.998Z] 18:17:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | A promise chain failed to handle a rejection: browser-delayed-startup-finished observer not removed before the end of test - stack: (No stack available.)
[task 2021-06-30T18:17:52.998Z] 18:17:52     INFO - Rejection date: Wed Jun 30 2021 18:17:52 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-06-30T18:17:52.998Z] 18:17:52     INFO - Stack trace:
[task 2021-06-30T18:17:52.999Z] 18:17:52     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-06-30T18:17:52.999Z] 18:17:52     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2021-06-30T18:17:52.999Z] 18:17:52     INFO - GECKO(6056) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 131: uncaught exception: browser-delayed-startup-finished observer not removed before the end of test
[task 2021-06-30T18:17:53.000Z] 18:17:53     INFO - Console message: [JavaScript Error: "uncaught exception: browser-delayed-startup-finished observer not removed before the end of test" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 131}]
[task 2021-06-30T18:17:53.001Z] 18:17:53     INFO - GECKO(6056) | MEMORY STAT | vsize 1915MB | vsizeMaxContiguous 5MB | residentFast 545MB | heapAllocated 854MB
[task 2021-06-30T18:17:53.002Z] 18:17:53     INFO - TEST-OK | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | took 45035ms
[task 2021-06-30T18:17:53.003Z] 18:17:53     INFO - GECKO(6056) | JavaScript error: resource:///modules/BrowserUsageTelemetry.jsm, line 208: TypeError: can't access property "tabs", win.gBrowser is undefined
[task 2021-06-30T18:17:53.004Z] 18:17:53     INFO - checking window state
[task 2021-06-30T18:17:53.004Z] 18:17:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-30T18:17:53.005Z] 18:17:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sidebar.js | Found a browser window after previous test timed out - 
[task 2021-06-30T18:17:53.006Z] 18:17:53     INFO - Not taking screenshot here: see the one that was previously logged
<...>
```