Bug: Intermittent browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js | Timed out waiting oop-browser-crashed (basic) event -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-07-20 10:18:32+00:00
Resolved: 2022-04-27 20:53:13+00:00

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

---
```
[task 2021-07-20T09:12:56.478Z] 09:12:56     INFO - TEST-START | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js
[task 2021-07-20T09:12:56.528Z] 09:12:56     INFO - GECKO(3732) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/6k/2vg3bwq97ydbnwx63vzfvzjc000014/T/tmpm6eug1yy.mozrunner/runtests_leaks_tab_pid3738.log
[task 2021-07-20T09:12:56.528Z] 09:12:56     INFO - GECKO(3732) | [3738, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:248
[task 2021-07-20T09:12:56.588Z] 09:12:56     INFO - GECKO(3732) | [2021-07-20T09:12:56Z WARN  webrender::device::gl] Attribute VertexAttribute { name: "aClipDeviceArea", count: 4, kind: F32 } is not found in the shader cs_clip_image. Expected at 1, found at -1
[task 2021-07-20T09:12:56.706Z] 09:12:56     INFO - GECKO(3732) | [Child 3737: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 106cecc00 == 1 [pid = 3737] [id = 0]
[task 2021-07-20T09:12:56.707Z] 09:12:56     INFO - GECKO(3732) | [Child 3737: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (104bcdc80) [pid = 3737] [serial = 1] [outer = 0]
[task 2021-07-20T09:12:56.707Z] 09:12:56     INFO - GECKO(3732) | [Child 3737: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (106cedc00) [pid = 3737] [serial = 2] [outer = 104bcdc80]
[task 2021-07-20T09:12:56.811Z] 09:12:56     INFO - GECKO(3732) | [Child 3738: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 100cee800 == 1 [pid = 3738] [id = 0]
[task 2021-07-20T09:12:56.811Z] 09:12:56     INFO - GECKO(3732) | [Child 3738: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (100abfc80) [pid = 3738] [serial = 1] [outer = 0]
[task 2021-07-20T09:12:56.812Z] 09:12:56     INFO - GECKO(3732) | [Child 3738: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (100cef800) [pid = 3738] [serial = 2] [outer = 100abfc80]
[task 2021-07-20T09:12:56.854Z] 09:12:56     INFO - GECKO(3732) | [Child 3738: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (100cf5400) [pid = 3738] [serial = 3] [outer = 100abfc80]
[task 2021-07-20T09:12:56.865Z] 09:12:56     INFO - GECKO(3732) | Et tu, Brute?
[task 2021-07-20T09:12:56.866Z] 09:12:56     INFO - GECKO(3732) | XPCOM_MEM_BLOAT_LOG: /var/folders/6k/2vg3bwq97ydbnwx63vzfvzjc000014/T/tmpm6eug1yy.mozrunner/runtests_leaks.log
[task 2021-07-20T09:12:56.866Z] 09:12:56     INFO - GECKO(3732) | Writing to log: /var/folders/6k/2vg3bwq97ydbnwx63vzfvzjc000014/T/tmpm6eug1yy.mozrunner/runtests_leaks_tab_pid3738.log
[task 2021-07-20T09:12:56.897Z] 09:12:56     INFO - GECKO(3732) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/6k/2vg3bwq97ydbnwx63vzfvzjc000014/T/tmpm6eug1yy.mozrunner/runtests_leaks_tab_pid3739.log
[task 2021-07-20T09:12:56.898Z] 09:12:56     INFO - GECKO(3732) | [3739, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:248
[task 2021-07-20T09:13:01.589Z] 09:13:01     INFO - TEST-INFO | started process screencapture
[task 2021-07-20T09:13:01.696Z] 09:13:01     INFO - TEST-INFO | screencapture: exit 0
[task 2021-07-20T09:13:01.696Z] 09:13:01     INFO - Buffered messages logged at 09:12:56
[task 2021-07-20T09:13:01.697Z] 09:13:01     INFO - Entering test bound test_browser_crashed_basic_event
[task 2021-07-20T09:13:01.697Z] 09:13:01     INFO - Waiting for oop-browser-crashed event.
[task 2021-07-20T09:13:01.697Z] 09:13:01     INFO - TEST-PASS | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js | Build ID mismatch false positive count should be undefined - 
[task 2021-07-20T09:13:01.698Z] 09:13:01     INFO - Installing event listener (basic)
[task 2021-07-20T09:13:01.698Z] 09:13:01     INFO - Installed event listener (basic)
[task 2021-07-20T09:13:01.699Z] 09:13:01     INFO - Buffered messages finished
[task 2021-07-20T09:13:01.699Z] 09:13:01     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js | Timed out waiting oop-browser-crashed (basic) event - 
[task 2021-07-20T09:13:01.699Z] 09:13:01     INFO - Stack trace:
[task 2021-07-20T09:13:01.699Z] 09:13:01     INFO - chrome://mochikit/content/browser-test.js:test_ok:1326
[task 2021-07-20T09:13:01.700Z] 09:13:01     INFO - chrome://mochitests/content/browser/browser/base/content/test/tabcrashed/head.js:getEventPromise/</maybeTimeout<:172
[task 2021-07-20T09:13:01.700Z] 09:13:01     INFO - GECKO(3732) | JavaScript error: , line 0: uncaught exception: undefined
[task 2021-07-20T09:13:01.700Z] 09:13:01     INFO - Console message: [JavaScript Error: "uncaught exception: undefined"]
[task 2021-07-20T09:13:01.701Z] 09:13:01     INFO - GECKO(3732) | [Child 3734, Main Thread] WARNING: Shouldn't call SchedulePaint in a detached pres context: file /builds/worker/checkouts/gecko/layout/generic/nsIFrame.cpp:7170
[task 2021-07-20T09:13:01.701Z] 09:13:01     INFO - GECKO(3732) | [Child 3734, Main Thread] WARNING: Shouldn't call SchedulePaint in a detached pres context: file /builds/worker/checkouts/gecko/layout/generic/nsIFrame.cpp:7170
[task 2021-07-20T09:13:01.702Z] 09:13:01     INFO - GECKO(3732) | [Child 3735, Main Thread] WARNING: '!aContent->GetComposedDoc()', file /builds/worker/checkouts/gecko/layout/base/nsCSSFrameConstructor.cpp:8524
[task 2021-07-20T09:13:01.702Z] 09:13:01     INFO - GECKO(3732) | [Child 3735, Main Thread] WARNING: '!aContent->GetComposedDoc()', file /builds/worker/checkouts/gecko/layout/base/nsCSSFrameConstructor.cpp:8524
[task 2021-07-20T09:13:01.703Z] 09:13:01     INFO - GECKO(3732) | [Child 3735, Main Thread] WARNING: '!aContent->GetComposedDoc()', file /builds/worker/checkouts/gecko/layout/base/nsCSSFrameConstructor.cpp:8524
[task 2021-07-20T09:13:01.703Z] 09:13:01     INFO - GECKO(3732) | [Child 3735, Main Thread] WARNING: '!aContent->GetComposedDoc()', file /builds/worker/checkouts/gecko/layout/base/nsCSSFrameConstructor.cpp:8524
[task 2021-07-20T09:13:02.950Z] 09:13:02     INFO - GECKO(3732) | [Child 3734: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 100a85400 == 0 [pid = 3734] [id = 0] [url = about:blank]
[task 2021-07-20T09:13:07.490Z] 09:13:07     INFO - GECKO(3732) | [Child 3734: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (100a88800) [pid = 3734] [serial = 2] [outer = 0] [url = about:blank]
[task 2021-07-20T09:13:07.502Z] 09:13:07     INFO - GECKO(3732) | [Child 3734: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1007bbe40) [pid = 3734] [serial = 1] [outer = 0] [url = about:blank]
[task 2021-07-20T09:13:08.602Z] 09:13:08     INFO - GECKO(3732) | [Child 3733: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (11b507800) [pid = 3733] [serial = 4] [outer = 0] [url = about:blank]
[task 2021-07-20T09:13:08.603Z] 09:13:08     INFO - GECKO(3732) | [Child 3733: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (11b508800) [pid = 3733] [serial = 6] [outer = 0] [url = about:blank]
[task 2021-07-20T09:13:08.603Z] 09:13:08     INFO - GECKO(3732) | [Child 3733: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (11b503400) [pid = 3733] [serial = 2] [outer = 0] [url = about:blank]
[task 2021-07-20T09:13:08.604Z] 09:13:08     INFO - GECKO(3732) | [Child 3733: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (11b50a800) [pid = 3733] [serial = 8] [outer = 0] [url = about:blank]
[task 2021-07-20T09:13:08.604Z] 09:13:08     INFO - GECKO(3732) | [Child 3733: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (11b50c800) [pid = 3733] [serial = 10] [outer = 0] [url = about:blank]
[task 2021-07-20T09:13:08.753Z] 09:13:08     INFO - GECKO(3732) | [Child 3733: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 104b1bc00 == 4 [pid = 3733] [id = 2] [url = moz-extension://9be97b07-1194-b644-b896-89b967f9f1fe/_generated_background_page.html]
[task 2021-07-20T09:13:08.753Z] 09:13:08     INFO - GECKO(3732) | [Child 3733: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (104bf5580) [pid = 3733] [serial = 5] [outer = 0] [url = moz-extension://9be97b07-1194-b644-b896-89b967f9f1fe/_generated_background_page.html]
[task 2021-07-20T09:13:08.783Z] 09:13:08     INFO - GECKO(3732) | [Child 3735: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (109290800) [pid = 3735] [serial = 2] [outer = 0] [url = about:blank]
[task 2021-07-20T09:13:12.095Z] 09:13:12     INFO - GECKO(3732) | [Child 3734: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (100a93c00) [pid = 3734] [serial = 4] [outer = 0] [url = about:blank]
[task 2021-07-20T09:13:12.096Z] 09:13:12     INFO - GECKO(3732) | [Child 3734: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (100908400) [pid = 3734] [serial = 3] [outer = 0] [url = about:blank]
[task 2021-07-20T09:13:13.260Z] 09:13:13     INFO - GECKO(3732) | [Child 3733: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (11b642400) [pid = 3733] [serial = 13] [outer = 0] [url = moz-extension://9be97b07-1194-b644-b896-89b967f9f1fe/_generated_background_page.html]
[task 2021-07-20T09:13:22.437Z] 09:13:22     INFO - GECKO(3732) | 2021-07-20 09:13:22.436 firefox[3732:54655] Persistent UI failed to open file file:///Users/cltbld/Library/Saved%20Application%20State/org.mozilla.nightlydebug.savedState/window_1.data: No such file or directory (2)
[task 2021-07-20T09:14:26.682Z] 09:14:26     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-20T09:14:26.683Z] 09:14:26     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js | Test timed out - 
[task 2021-07-20T09:14:26.686Z] 09:14:26     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-20T09:14:26.687Z] 09:14:26     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js | A promise chain failed to handle a rejection: undefined - stack: (No stack available.)
[task 2021-07-20T09:14:26.687Z] 09:14:26     INFO - Rejection date: Tue Jul 20 2021 09:13:01 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-07-20T09:14:26.687Z] 09:14:26     INFO - Stack trace:
[task 2021-07-20T09:14:26.687Z] 09:14:26     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-07-20T09:14:26.687Z] 09:14:26     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2021-07-20T09:14:26.687Z] 09:14:26     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1214
[task 2021-07-20T09:14:26.690Z] 09:14:26     INFO - GECKO(3732) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2021-07-20T09:14:26.690Z] 09:14:26     INFO - GECKO(3732) | MEMORY STAT | vsize 7842MB | residentFast 309MB | heapAllocated 115MB
[task 2021-07-20T09:14:26.691Z] 09:14:26     INFO - TEST-OK | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js | took 90213ms
[task 2021-07-20T09:14:26.692Z] 09:14:26     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-20T09:14:26.693Z] 09:14:26     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js | Found a tab after previous test timed out: about:blank - 
[task 2021-07-20T09:14:26.726Z] 09:14:26     INFO - GECKO(3732) | [Child 3734: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 100908400 == 1 [pid = 3734] [id = 1]
[task 2021-07-20T09:14:26.726Z] 09:14:26     INFO - GECKO(3732) | [Child 3734: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (100753040) [pid = 3734] [serial = 5] [outer = 0]
[task 2021-07-20T09:14:26.727Z] 09:14:26     INFO - GECKO(3732) | [Child 3734: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (100979c00) [pid = 3734] [serial = 6] [outer = 100753040]
[task 2021-07-20T09:14:26.749Z] 09:14:26     INFO - checking window state
[task 2021-07-20T09:14:26.778Z] 09:14:26     INFO - TEST-START | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_buildid.js
```