Bug: Intermittent browser/base/content/test/siteIdentity/browser_check_identity_state.js | Should be an about:certerror - Got false, expected true
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-02-15 13:49:22+00:00
Resolved: 2022-08-02 17:08:13+00:00

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

---
```
[task 2022-02-15T11:34:51.042Z] 11:34:51     INFO - TEST-START | browser/base/content/test/siteIdentity/browser_check_identity_state.js
<...>
[task 2022-02-15T11:35:19.815Z] 11:35:19     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Connection should be the cert error page. - 
[task 2022-02-15T11:35:19.816Z] 11:35:19     INFO - Buffered messages logged at 11:35:19
[task 2022-02-15T11:35:19.817Z] 11:35:19     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "http://example.com/browser/browser/base/content/test/siteIdentity/dummy_page.html" line: 0}]
[task 2022-02-15T11:35:19.818Z] 11:35:19     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Should be the cert error URL - "https://nocert.example.com/" == "https://nocert.example.com/" - 
[task 2022-02-15T11:35:19.818Z] 11:35:19     INFO - Buffered messages finished
[task 2022-02-15T11:35:19.820Z] 11:35:19     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Should be an about:certerror - Got false, expected true
[task 2022-02-15T11:35:19.820Z] 11:35:19     INFO - Stack trace:
[task 2022-02-15T11:35:19.820Z] 11:35:19     INFO - chrome://mochikit/content/browser-test.js:test_is:1422
[task 2022-02-15T11:35:19.820Z] 11:35:19     INFO - chrome://mochitests/content/browser/browser/base/content/test/siteIdentity/browser_check_identity_state.js:noCertErrorFromNavigationTest:556
[task 2022-02-15T11:35:19.821Z] 11:35:19     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Identity should be the cert error page. - 
[task 2022-02-15T11:35:19.821Z] 11:35:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-02-15T11:35:19.823Z] 11:35:19     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Connection should be the cert error page. - Got "file", expected "cert-error-page"
[task 2022-02-15T11:35:19.823Z] 11:35:19     INFO - Stack trace:
[task 2022-02-15T11:35:19.823Z] 11:35:19     INFO - chrome://mochikit/content/browser-test.js:test_is:1422
[task 2022-02-15T11:35:19.823Z] 11:35:19     INFO - chrome://mochitests/content/browser/browser/base/content/test/siteIdentity/browser_check_identity_state.js:noCertErrorFromNavigationTest:566
[task 2022-02-15T11:35:19.824Z] 11:35:19     INFO - Leaving test bound test_about_net_error_uri_from_navigation_tab
[task 2022-02-15T11:35:19.825Z] 11:35:19     INFO - Entering test bound tlsErrorPageTest
[task 2022-02-15T11:35:19.955Z] 11:35:19     INFO - Loading and waiting for the net error
[task 2022-02-15T11:35:19.961Z] 11:35:19     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Should be showing error page - true == true - 
[task 2022-02-15T11:35:19.962Z] 11:35:19     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Connection state should be the cert error page. - 
[task 2022-02-15T11:35:19.984Z] 11:35:19     INFO - Leaving test bound tlsErrorPageTest
[task 2022-02-15T11:35:19.984Z] 11:35:19     INFO - Entering test bound netErrorPageTest
[task 2022-02-15T11:35:20.300Z] 11:35:20     INFO - Loading and waiting for the net error
[task 2022-02-15T11:35:20.305Z] 11:35:20     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Should be showing error page - true == true - 
[task 2022-02-15T11:35:20.307Z] 11:35:20     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Connection should be the net error page. - 
[task 2022-02-15T11:35:20.316Z] 11:35:20     INFO - Leaving test bound netErrorPageTest
[task 2022-02-15T11:35:20.316Z] 11:35:20     INFO - Entering test bound test_about_blocked
[task 2022-02-15T11:35:20.688Z] 11:35:20     INFO - Console message: [JavaScript Warning: "The resource at �http://www.itisatrap.org/firefox/its-an-attack.html� was blocked by Safe Browsing." {file: "about:blank" line: 0}]
[task 2022-02-15T11:35:20.716Z] 11:35:20     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Identity should be unknown. - 
<...>
[task 2022-02-15T11:35:28.255Z] 11:35:28     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Identity should be notSecure for a PDF served via HTTP. - 
[task 2022-02-15T11:35:28.263Z] 11:35:28     INFO - GECKO(3948) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "http://example.com"
[task 2022-02-15T11:35:28.694Z] 11:35:28     INFO - GECKO(3948) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://example.com"
[task 2022-02-15T11:35:28.754Z] 11:35:28     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Identity should be verifiedDomain for a PDF served via HTTPS. - 
[task 2022-02-15T11:35:28.765Z] 11:35:28     INFO - GECKO(3948) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://example.com"
[task 2022-02-15T11:35:28.765Z] 11:35:28     INFO - Leaving test bound test_pdf
[task 2022-02-15T11:35:28.800Z] 11:35:28     INFO - GECKO(3948) | MEMORY STAT | vsize 1293MB | vsizeMaxContiguous 133MB | residentFast 398MB | heapAllocated 379MB
[task 2022-02-15T11:35:28.801Z] 11:35:28     INFO - TEST-OK | browser/base/content/test/siteIdentity/browser_check_identity_state.js | took 37751ms
[task 2022-02-15T11:35:28.813Z] 11:35:28     INFO - checking window state
[task 2022-02-15T11:35:28.827Z] 11:35:28     INFO - TEST-START | browser/base/content/test/siteIdentity/browser_csp_block_all_mixedcontent.js

```