Bug: Intermittent [tier2] TV 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-10-27 00:54:40+00:00
Resolved: 2021-06-15 17:01:31+00:00

**Filed by:** abutkovits [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=319799505&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/fhT7fp8FSxClEC6VFxk4VA/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/fhT7fp8FSxClEC6VFxk4VA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2020-10-26T22:01:45.125Z] 22:01:45     INFO - TEST-START | browser/base/content/test/about/browser_aboutCertError.js
[task 2020-10-26T22:02:40.231Z] 22:02:40     INFO - TEST-INFO | started process screencapture
[task 2020-10-26T22:02:40.343Z] 22:02:40     INFO - TEST-INFO | screencapture: exit 0
[task 2020-10-26T22:02:40.343Z] 22:02:40     INFO - <snipped 54 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2020-10-26T22:02:40.343Z] 22:02:40     INFO - Buffered messages logged at 22:02:05
[task 2020-10-26T22:02:40.343Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Exception button is not disabled by default. - true == true - 
[task 2020-10-26T22:02:40.343Z] 22:02:40     INFO - Buffered messages logged at 22:02:06
[task 2020-10-26T22:02:40.343Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-10-26T22:02:40.343Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Error message is a link - 
[task 2020-10-26T22:02:40.344Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Debug information is visible - 
[task 2020-10-26T22:02:40.344Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct URL found - 
[task 2020-10-26T22:02:40.344Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-10-26T22:02:40.344Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HSTS value found - 
[task 2020-10-26T22:02:40.345Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HPKP value found - 
[task 2020-10-26T22:02:40.345Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Found certificate chain - 
[task 2020-10-26T22:02:40.346Z] 22:02:40     INFO - Loading cert error page in an iframe
[task 2020-10-26T22:02:40.347Z] 22:02:40     INFO - Buffered messages logged at 22:02:09
[task 2020-10-26T22:02:40.347Z] 22:02:40     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: 618}]
[task 2020-10-26T22:02:40.347Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Should list hostname in error message. - true == true - 
[task 2020-10-26T22:02:40.347Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Exception button is not disabled by default. - true == true - 
[task 2020-10-26T22:02:40.348Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-10-26T22:02:40.350Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Error message is a link - 
[task 2020-10-26T22:02:40.350Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Debug information is visible - 
[task 2020-10-26T22:02:40.350Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct URL found - 
[task 2020-10-26T22:02:40.351Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-10-26T22:02:40.351Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HSTS value found - 
[task 2020-10-26T22:02:40.352Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HPKP value found - 
[task 2020-10-26T22:02:40.352Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Found certificate chain - 
[task 2020-10-26T22:02:40.352Z] 22:02:40     INFO - Leaving test bound checkAdvancedDetails
[task 2020-10-26T22:02:40.352Z] 22:02:40     INFO - Entering test bound checkAdvancedDetailsForHSTS
[task 2020-10-26T22:02:40.352Z] 22:02:40     INFO - Loading a bad STS cert page and verifying the advanced details section
[task 2020-10-26T22:02:40.353Z] 22:02:40     INFO - Buffered messages logged at 22:02:10
[task 2020-10-26T22:02:40.354Z] 22:02:40     INFO - Loading and waiting for the cert error
[task 2020-10-26T22:02:40.354Z] 22:02:40     INFO - Buffered messages logged at 22:02:11
[task 2020-10-26T22:02:40.354Z] 22:02:40     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: 614}]
[task 2020-10-26T22:02:40.354Z] 22:02:40     INFO - Buffered messages logged at 22:02:12
[task 2020-10-26T22:02:40.356Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-10-26T22:02:40.356Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Error message is a link - 
[task 2020-10-26T22:02:40.356Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct cert_domain_link contents found - 
[task 2020-10-26T22:02:40.357Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | cert_domain_link is a link - 
[task 2020-10-26T22:02:40.357Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Debug information is visible - 
[task 2020-10-26T22:02:40.359Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct URL found - 
[task 2020-10-26T22:02:40.360Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-10-26T22:02:40.360Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HSTS value found - 
[task 2020-10-26T22:02:40.360Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HPKP value found - 
[task 2020-10-26T22:02:40.360Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Found certificate chain - 
[task 2020-10-26T22:02:40.360Z] 22:02:40     INFO - Loading cert error page in an iframe
[task 2020-10-26T22:02:40.360Z] 22:02:40     INFO - Buffered messages logged at 22:02:15
[task 2020-10-26T22:02:40.360Z] 22:02:40     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: 618}]
[task 2020-10-26T22:02:40.361Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-10-26T22:02:40.361Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Error message is a link - 
[task 2020-10-26T22:02:40.361Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct cert_domain_link contents found - 
[task 2020-10-26T22:02:40.362Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | cert_domain_link is a link - 
[task 2020-10-26T22:02:40.362Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Debug information is visible - 
[task 2020-10-26T22:02:40.363Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct URL found - 
[task 2020-10-26T22:02:40.363Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-10-26T22:02:40.363Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HSTS value found - 
[task 2020-10-26T22:02:40.367Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HPKP value found - 
[task 2020-10-26T22:02:40.367Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Found certificate chain - 
[task 2020-10-26T22:02:40.367Z] 22:02:40     INFO - Leaving test bound checkAdvancedDetailsForHSTS
[task 2020-10-26T22:02:40.367Z] 22:02:40     INFO - Entering test bound checkUnknownIssuerLearnMoreLink
[task 2020-10-26T22:02:40.367Z] 22:02:40     INFO - Loading a cert error for self-signed pages and checking the correct link is shown
[task 2020-10-26T22:02:40.367Z] 22:02:40     INFO - Buffered messages logged at 22:02:16
[task 2020-10-26T22:02:40.368Z] 22:02:40     INFO - Loading and waiting for the cert error
[task 2020-10-26T22:02:40.368Z] 22:02:40     INFO - Buffered messages logged at 22:02:17
[task 2020-10-26T22:02:40.368Z] 22:02:40     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: 614}]
[task 2020-10-26T22:02:40.368Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | security-error in the Learn More URL - 
[task 2020-10-26T22:02:40.368Z] 22:02:40     INFO - Loading cert error page in an iframe
[task 2020-10-26T22:02:40.368Z] 22:02:40     INFO - Buffered messages logged at 22:02:19
[task 2020-10-26T22:02:40.369Z] 22:02:40     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: 618}]
[task 2020-10-26T22:02:40.369Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | security-error in the Learn More URL - 
[task 2020-10-26T22:02:40.369Z] 22:02:40     INFO - Leaving test bound checkUnknownIssuerLearnMoreLink
[task 2020-10-26T22:02:40.369Z] 22:02:40     INFO - Entering test bound checkCautionClass
[task 2020-10-26T22:02:40.369Z] 22:02:40     INFO - Checking that are potentially more dangerous get a 'caution' class
[task 2020-10-26T22:02:40.369Z] 22:02:40     INFO - Buffered messages logged at 22:02:20
[task 2020-10-26T22:02:40.370Z] 22:02:40     INFO - Loading and waiting for the cert error
[task 2020-10-26T22:02:40.370Z] 22:02:40     INFO - Buffered messages logged at 22:02:21
[task 2020-10-26T22:02:40.370Z] 22:02:40     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: 614}]
[task 2020-10-26T22:02:40.370Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Cert error body has  caution class - true == true - 
[task 2020-10-26T22:02:40.370Z] 22:02:40     INFO - Buffered messages logged at 22:02:22
[task 2020-10-26T22:02:40.370Z] 22:02:40     INFO - Loading and waiting for the cert error
[task 2020-10-26T22:02:40.370Z] 22:02:40     INFO - Buffered messages logged at 22:02:23
[task 2020-10-26T22:02:40.371Z] 22:02:40     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: 614}]
[task 2020-10-26T22:02:40.371Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Cert error body has no caution class - true == true - 
[task 2020-10-26T22:02:40.371Z] 22:02:40     INFO - Loading cert error page in an iframe
[task 2020-10-26T22:02:40.371Z] 22:02:40     INFO - Buffered messages logged at 22:02:25
[task 2020-10-26T22:02:40.375Z] 22:02:40     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: 618}]
[task 2020-10-26T22:02:40.375Z] 22:02:40     INFO - Buffered messages logged at 22:02:26
[task 2020-10-26T22:02:40.376Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Cert error body has no caution class - false == false - 
[task 2020-10-26T22:02:40.376Z] 22:02:40     INFO - Loading cert error page in an iframe
[task 2020-10-26T22:02:40.376Z] 22:02:40     INFO - Buffered messages logged at 22:02:28
[task 2020-10-26T22:02:40.376Z] 22:02:40     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: 618}]
[task 2020-10-26T22:02:40.376Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Cert error body has no caution class - true == true - 
[task 2020-10-26T22:02:40.376Z] 22:02:40     INFO - Leaving test bound checkCautionClass
[task 2020-10-26T22:02:40.376Z] 22:02:40     INFO - Entering test bound checkViewCertificate
[task 2020-10-26T22:02:40.377Z] 22:02:40     INFO - Loading a cert error and checking that the certificate can be shown.
[task 2020-10-26T22:02:40.377Z] 22:02:40     INFO - Buffered messages logged at 22:02:29
[task 2020-10-26T22:02:40.377Z] 22:02:40     INFO - Loading and waiting for the cert error
[task 2020-10-26T22:02:40.377Z] 22:02:40     INFO - Buffered messages logged at 22:02:30
[task 2020-10-26T22:02:40.377Z] 22:02:40     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: 614}]
[task 2020-10-26T22:02:40.378Z] 22:02:40     INFO - Buffered messages logged at 22:02:31
[task 2020-10-26T22:02:40.378Z] 22:02:40     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "about:certerror?e=nssBadCert&u=https%3A//self-signed.example.com/&c=UTF-8&d=%20" line: 0}]
[task 2020-10-26T22:02:40.378Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | about:certificate is the new opened tab - true == true - 
[task 2020-10-26T22:02:40.378Z] 22:02:40     INFO - Buffered messages logged at 22:02:32
[task 2020-10-26T22:02:40.378Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | infoGroup found - {} == true - 
[task 2020-10-26T22:02:40.378Z] 22:02:40     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-10-26T22:02:40.378Z] 22:02:40     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-10-26T22:02:40.378Z] 22:02:40     INFO - Leaving test bound checkViewCertificate
[task 2020-10-26T22:02:40.379Z] 22:02:40     INFO - Entering test bound checkBadStsCertHeadline
[task 2020-10-26T22:02:40.379Z] 22:02:40     INFO - Loading a bad sts cert error page and checking that the correct headline is shown
[task 2020-10-26T22:02:40.379Z] 22:02:40     INFO - Buffered messages logged at 22:02:33
[task 2020-10-26T22:02:40.379Z] 22:02:40     INFO - Loading and waiting for the cert error
[task 2020-10-26T22:02:40.379Z] 22:02:40     INFO - Buffered messages logged at 22:02:34
[task 2020-10-26T22:02:40.379Z] 22:02:40     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: 614}]
[task 2020-10-26T22:02:40.379Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Warning: Potential Security Risk Ahead - true == true - 
[task 2020-10-26T22:02:40.379Z] 22:02:40     INFO - Loading cert error page in an iframe
[task 2020-10-26T22:02:40.380Z] 22:02:40     INFO - Buffered messages logged at 22:02:37
[task 2020-10-26T22:02:40.388Z] 22:02:40     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: 618}]
[task 2020-10-26T22:02:40.388Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Did Not Connect: Potential Security Issue - true == true - 
[task 2020-10-26T22:02:40.388Z] 22:02:40     INFO - Leaving test bound checkBadStsCertHeadline
[task 2020-10-26T22:02:40.388Z] 22:02:40     INFO - Entering test bound checkSandboxedIframe
[task 2020-10-26T22:02:40.389Z] 22:02:40     INFO - Loading a bad sts cert error in a sandboxed iframe and check that the correct headline is shown
[task 2020-10-26T22:02:40.389Z] 22:02:40     INFO - Loading cert error page in an iframe
[task 2020-10-26T22:02:40.389Z] 22:02:40     INFO - Buffered messages logged at 22:02:39
[task 2020-10-26T22:02:40.389Z] 22:02:40     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: 618}]
[task 2020-10-26T22:02:40.389Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Title shows Did Not Connect: Potential Security Issue - true == true - 
[task 2020-10-26T22:02:40.389Z] 22:02:40     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-10-26T22:02:40.389Z] 22:02:40     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Error message is a link - "a" == "a" - 
[task 2020-10-26T22:02:40.389Z] 22:02:40     INFO - Leaving test bound checkSandboxedIframe
[task 2020-10-26T22:02:40.389Z] 22:02:40     INFO - Buffered messages finished
[task 2020-10-26T22:02:40.389Z] 22:02:40     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. ```