Bug: Intermittent browser/base/content/test/performance/browser_windowopen.js | uncaught exception - NS_ERROR_FAILURE:  at afterPaintListener@chrome://mochitests/content/browser/browser/base/content/test/performance/head.js:418:9
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-08-04 05:08:40+00:00
Resolved: 2022-03-01 17:06:31+00:00

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

---
```
[task 2021-08-04T04:21:23.050Z] 04:21:23     INFO - TEST-START | browser/base/content/test/performance/browser_windowopen.js
[task 2021-08-04T04:21:23.549Z] 04:21:23     INFO - GECKO(5668) | Waiting for browser load of about:home
[task 2021-08-04T04:21:23.549Z] 04:21:23     INFO - GECKO(5668) | Waiting for browser state change of about:home
[task 2021-08-04T04:21:23.554Z] 04:21:23     INFO - GECKO(5668) | Saw state f0001 and status 0
[task 2021-08-04T04:21:23.894Z] 04:21:23     INFO - GECKO(5668) | Saw state c0010 and status 0
[task 2021-08-04T04:21:23.897Z] 04:21:23     INFO - GECKO(5668) | Browser got expected state change about:home
[task 2021-08-04T04:21:24.146Z] 04:21:24     INFO - GECKO(5668) | [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no surf
[task 2021-08-04T04:21:24.160Z] 04:21:24     INFO - GECKO(5668) | [GFX1]: Failed to create DrawTarget, Type: 3 Size: Size(1280,1031)
[task 2021-08-04T04:21:24.165Z] 04:21:24     INFO - TEST-INFO | started process screenshot
[task 2021-08-04T04:21:24.224Z] 04:21:24     INFO - TEST-INFO | screenshot: exit 0
[task 2021-08-04T04:21:24.225Z] 04:21:24     INFO - Buffered messages logged at 04:21:23
[task 2021-08-04T04:21:24.225Z] 04:21:24     INFO - Entering test bound 
[task 2021-08-04T04:21:24.226Z] 04:21:24     INFO - Note: ensureDirtyRootFrame threw an exception:[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.ensureDirtyRootFrame]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://mochitests/content/browser/browser/base/content/test/performance/head.js :: dirtyFrame :: line 20"  data: no]
[task 2021-08-04T04:21:24.227Z] 04:21:24     INFO - Note: ensureDirtyRootFrame threw an exception:[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.ensureDirtyRootFrame]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://mochitests/content/browser/browser/base/content/test/performance/head.js :: dirtyFrame :: line 20"  data: no]
<...>
[task 2021-08-04T04:21:24.316Z] 04:21:24     INFO - Note: ensureDirtyRootFrame threw an exception:[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.ensureDirtyRootFrame]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://mochitests/content/browser/browser/base/content/test/performance/head.js :: dirtyFrame :: line 20"  data: no]
[task 2021-08-04T04:21:24.317Z] 04:21:24     INFO - Note: ensureDirtyRootFrame threw an exception:[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.ensureDirtyRootFrame]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://mochitests/content/browser/browser/base/content/test/performance/head.js :: dirtyFrame :: line 20"  data: no]
[task 2021-08-04T04:21:24.318Z] 04:21:24     INFO - Buffered messages finished
[task 2021-08-04T04:21:24.319Z] 04:21:24     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_windowopen.js | uncaught exception - NS_ERROR_FAILURE:  at afterPaintListener@chrome://mochitests/content/browser/browser/base/content/test/performance/head.js:418:9
[task 2021-08-04T04:21:24.319Z] 04:21:24     INFO - 
[task 2021-08-04T04:21:24.319Z] 04:21:24     INFO - Stack trace:
[task 2021-08-04T04:21:24.319Z] 04:21:24     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2021-08-04T04:21:24.320Z] 04:21:24     INFO - GECKO(5668) | JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/performance/head.js, line 418: NS_ERROR_FAILURE:
[task 2021-08-04T04:21:24.321Z] 04:21:24     INFO - Console message: [JavaScript Error: "NS_ERROR_FAILURE: " {file: "chrome://mochitests/content/browser/browser/base/content/test/performance/head.js" line: 418}]
[task 2021-08-04T04:21:24.321Z] 04:21:24     INFO - afterPaintListener@chrome://mochitests/content/browser/browser/base/content/test/performance/head.js:418:9
[task 2021-08-04T04:21:24.321Z] 04:21:24     INFO - 
[task 2021-08-04T04:21:24.322Z] 04:21:24     INFO - TEST-PASS | browser/base/content/test/performance/browser_windowopen.js | 0 unexpected reflows - true == true - 
[task 2021-08-04T04:21:24.322Z] 04:21:24     INFO - comparing 2 frames
[task 2021-08-04T04:21:24.323Z] 04:21:24     INFO - TEST-FAIL | browser/base/content/test/performance/browser_windowopen.js | bug 1421463 - reload toolbar icon shouldn't flicker, ({x1:89, x2:102, y1:66, y2:79, w:14, h:14}), window width: 1280 - 
[task 2021-08-04T04:21:24.324Z] 04:21:24     INFO - TEST-PASS | browser/base/content/test/performance/browser_windowopen.js | should have 0 unknown flickering areas - 
[task 2021-08-04T04:21:24.324Z] 04:21:24     INFO - Leaving test bound 
[task 2021-08-04T04:21:24.335Z] 04:21:24     INFO - GECKO(5668) | MEMORY STAT | vsize 1812MB | vsizeMaxContiguous 37MB | residentFast 959MB | heapAllocated 929MB
[task 2021-08-04T04:21:24.335Z] 04:21:24     INFO - TEST-OK | browser/base/content/test/performance/browser_windowopen.js | took 1285ms
[task 2021-08-04T04:21:24.347Z] 04:21:24     INFO - checking window state
[task 2021-08-04T04:21:24.354Z] 04:21:24     INFO - GECKO(5668) | Completed ShutdownLeaks collections in process 5624
[task 2021-08-04T04:21:24.354Z] 04:21:24     INFO - TEST-START | Shutdown
[task 2021-08-04T04:21:24.355Z] 04:21:24     INFO - Browser Chrome Test Summary
[task 2021-08-04T04:21:24.355Z] 04:21:24     INFO - Passed:  71
[task 2021-08-04T04:21:24.356Z] 04:21:24     INFO - Failed:  1
[task 2021-08-04T04:21:24.357Z] 04:21:24     INFO - Todo:    5
[task 2021-08-04T04:21:24.357Z] 04:21:24     INFO - Mode:    e10s
[task 2021-08-04T04:21:24.358Z] 04:21:24     INFO - *** End BrowserChrome Test Results ***
[task 2021-08-04T04:21:24.373Z] 04:21:24     INFO - GECKO(5668) | Exiting due to channel error.
[task 2021-08-04T04:21:24.491Z] 04:21:24     INFO - TEST-INFO | Main app process: exit 0
[task 2021-08-04T04:21:24.491Z] 04:21:24     INFO - runtests.py | Application ran for: 0:00:21.744348
```