Bug: Intermittent browser/base/content/test/about/browser_aboutCertError.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-04-17 23:05:45+00:00
Resolved: 2022-03-15 17:05:35+00:00

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

---

```
[task 2020-04-17T21:08:50.626Z] 21:08:50     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | about:certificate is the new opened tab - true == true - 
[task 2020-04-17T21:08:50.626Z] 21:08:50     INFO - Buffered messages logged at 21:06:47
[task 2020-04-17T21:08:50.629Z] 21:08:50     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | infoGroup found - {} == true - 
[task 2020-04-17T21:08:50.630Z] 21:08:50     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | The correct item was selected - "certificate-viewer-common-name" == "certificate-viewer-common-name" - 
[task 2020-04-17T21:08:50.631Z] 21:08:50     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Shows the correct certificate in the page - "self-signed.example.com" == "self-signed.example.com" - 
[task 2020-04-17T21:08:50.631Z] 21:08:50     INFO - Buffered messages logged at 21:06:49
[task 2020-04-17T21:08:50.633Z] 21:08:50     INFO - Leaving test bound checkViewCertificate
[task 2020-04-17T21:08:50.633Z] 21:08:50     INFO - Entering test bound checkBadStsCertHeadline
[task 2020-04-17T21:08:50.635Z] 21:08:50     INFO - Loading a bad sts cert error page and checking that the correct headline is shown
[task 2020-04-17T21:08:50.635Z] 21:08:50     INFO - Buffered messages logged at 21:06:53
[task 2020-04-17T21:08:50.636Z] 21:08:50     INFO - Loading and waiting for the cert error
[task 2020-04-17T21:08:50.637Z] 21:08:50     INFO - Buffered messages logged at 21:07:20
[task 2020-04-17T21:08:50.638Z] 21:08:50     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 470}]
[task 2020-04-17T21:08:50.639Z] 21:08:50     INFO - Buffered messages logged at 21:07:21
[task 2020-04-17T21:08:50.639Z] 21:08:50     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Warning: Potential Security Risk Ahead - true == true - 
[task 2020-04-17T21:08:50.641Z] 21:08:50     INFO - Buffered messages logged at 21:07:22
[task 2020-04-17T21:08:50.641Z] 21:08:50     INFO - Loading cert error page in an iframe
[task 2020-04-17T21:08:50.641Z] 21:08:50     INFO - Buffered messages logged at 21:08:07
[task 2020-04-17T21:08:50.642Z] 21:08:50     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 474}]
[task 2020-04-17T21:08:50.643Z] 21:08:50     INFO - Buffered messages logged at 21:08:08
[task 2020-04-17T21:08:50.647Z] 21:08:50     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Did Not Connect: Potential Security Issue - true == true - 
[task 2020-04-17T21:08:50.652Z] 21:08:50     INFO - Buffered messages logged at 21:08:09
[task 2020-04-17T21:08:50.656Z] 21:08:50     INFO - Leaving test bound checkBadStsCertHeadline
[task 2020-04-17T21:08:50.657Z] 21:08:50     INFO - Entering test bound checkSandboxedIframe
[task 2020-04-17T21:08:50.659Z] 21:08:50     INFO - Loading a bad sts cert error in a sandboxed iframe and check that the correct headline is shown
[task 2020-04-17T21:08:50.659Z] 21:08:50     INFO - Loading cert error page in an iframe
[task 2020-04-17T21:08:50.661Z] 21:08:50     INFO - Buffered messages logged at 21:08:45
[task 2020-04-17T21:08:50.662Z] 21:08:50     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 474}]
[task 2020-04-17T21:08:50.663Z] 21:08:50     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Title shows Did Not Connect: Potential Security Issue - true == true - 
[task 2020-04-17T21:08:50.664Z] 21:08:50     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - "SEC_ERROR_EXPIRED_CERTIFICATE" == "SEC_ERROR_EXPIRED_CERTIFICATE" - 
[task 2020-04-17T21:08:50.665Z] 21:08:50     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Error message is a link - "a" == "a" - 
[task 2020-04-17T21:08:50.665Z] 21:08:50     INFO - Buffered messages logged at 21:08:46
[task 2020-04-17T21:08:50.666Z] 21:08:50     INFO - Leaving test bound checkSandboxedIframe
[task 2020-04-17T21:08:50.666Z] 21:08:50     INFO - Buffered messages finished
[task 2020-04-17T21:08:50.670Z] 21:08:50     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/about/browser_aboutCertError.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. - 
[task 2020-04-17T21:08:50.675Z] 21:08:50     INFO - GECKO(9444) | MEMORY STAT | vsize 2104209MB | vsizeMaxContiguous 68706791MB | residentFast 279MB | heapAllocated 107MB
[task 2020-04-17T21:08:50.680Z] 21:08:50     INFO - TEST-OK | browser/base/content/test/about/browser_aboutCertError.js | took 325002ms
[task 2020-04-17T21:08:50.683Z] 21:08:50     INFO - GECKO(9444) | [Child 9680: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0000026090048000 == 1 [pid = 9680] [id = {c707f69c-97e1-4b86-b6bb-6569af9c3011}]
[task 2020-04-17T21:08:50.685Z] 21:08:50     INFO - GECKO(9444) | [Child 9680: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (00000260963D6900) [pid = 9680] [serial = 29] [outer = 0000000000000000]
[task 2020-04-17T21:08:50.686Z] 21:08:50     INFO - GECKO(9444) | [Child 9680: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0000026090097C00) [pid = 9680] [serial = 30] [outer = 00000260963D6900]
[task 2020-04-17T21:08:50.687Z] 21:08:50     INFO - GECKO(9444) | [Child 9680: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (00000260967BA800) [pid = 9680] [serial = 31] [outer = 00000260963D6900]
[task 2020-04-17T21:08:50.687Z] 21:08:50     INFO - checking window state
[task 2020-04-17T21:08:51.597Z] 21:08:51     INFO - TEST-START | browser
```