Bug: Intermittent toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Uncaught exception - AbortError: Actor 'SpecialPowers' destroyed before query 'Spawn' was resolved | Found an unexpected tab at the end of test run: https://supports-inse
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-01-09 12:45:06+00:00
Resolved: 2021-02-02 17:03:36+00:00

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

---
```
[task 2021-01-09T11:37:34.389Z] 11:37:34     INFO - TEST-START | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js
[task 2021-01-09T11:37:37.411Z] 11:37:37     INFO - TEST-INFO | started process screentopng
[task 2021-01-09T11:37:37.818Z] 11:37:37     INFO - TEST-INFO | screentopng: exit 0
[task 2021-01-09T11:37:37.825Z] 11:37:37     INFO - Buffered messages logged at 11:37:34
[task 2021-01-09T11:37:37.825Z] 11:37:37     INFO - Entering test bound 
[task 2021-01-09T11:37:37.825Z] 11:37:37     INFO - Leaving test bound 
[task 2021-01-09T11:37:37.825Z] 11:37:37     INFO - Entering test bound 
[task 2021-01-09T11:37:37.826Z] 11:37:37     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure request “http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?queryresult=http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/” to use “https”." {file: "http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?queryresult=http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/" line: 0}]
[task 2021-01-09T11:37:37.826Z] 11:37:37     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure request “http://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?content” to use “https”."]
[task 2021-01-09T11:37:37.826Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Upgrading insecure request “https://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?content” failed. (M21-C12276)"]
[task 2021-01-09T11:37:37.827Z] 11:37:37     INFO - Loading and waiting for the error page
[task 2021-01-09T11:37:37.827Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | openInsecureButton should exist. - true == true - 
[task 2021-01-09T11:37:37.827Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Not upgrading insecure request “http://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?content” because it is exempt."]
[task 2021-01-09T11:37:37.827Z] 11:37:37     INFO - Buffered messages logged at 11:37:35
[task 2021-01-09T11:37:37.827Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Not upgrading insecure request “http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?img” because it is exempt." {file: "http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?img" line: 0}]
[task 2021-01-09T11:37:37.828Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Not upgrading insecure request “http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?xhr” because it is exempt." {file: "http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?xhr" line: 0}]
[task 2021-01-09T11:37:37.828Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Not upgrading insecure request “http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?iframe” because it is exempt." {file: "http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?iframe" line: 0}]
[task 2021-01-09T11:37:37.831Z] 11:37:37     INFO - Console message: [JavaScript Error: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?xhr. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)."]
[task 2021-01-09T11:37:37.832Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Not upgrading insecure request “http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?nestedimg” because it is exempt." {file: "http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?nestedimg" line: 0}]
[task 2021-01-09T11:37:37.832Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Page should load normally after exception button was clicked. - true == true - 
[task 2021-01-09T11:37:37.833Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Request 'content' should be loaded with HTTP.' - 
[task 2021-01-09T11:37:37.833Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Request 'img' should be loaded with HTTP.' - 
[task 2021-01-09T11:37:37.834Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Request 'xhr' should be loaded with HTTP.' - 
[task 2021-01-09T11:37:37.834Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Request 'iframe' should be loaded with HTTP.' - 
[task 2021-01-09T11:37:37.834Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Request 'nestedimg' should be loaded with HTTP.' - 
[task 2021-01-09T11:37:37.835Z] 11:37:37     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure request “http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?queryresult=http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/” to use “https”." {file: "http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?queryresult=http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/" line: 0}]
[task 2021-01-09T11:37:37.836Z] 11:37:37     INFO - Buffered messages logged at 11:37:36
[task 2021-01-09T11:37:37.836Z] 11:37:37     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure request “http://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?content” to use “https”."]
[task 2021-01-09T11:37:37.836Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Upgrading insecure request “https://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?content” failed. (M21-C12276)"]
[task 2021-01-09T11:37:37.837Z] 11:37:37     INFO - Loading and waiting for the error page
[task 2021-01-09T11:37:37.837Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | openInsecureButton should exist. - true == true - 
[task 2021-01-09T11:37:37.839Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Not upgrading insecure request “http://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?content” because it is exempt."]
[task 2021-01-09T11:37:37.840Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Not upgrading insecure request “http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?iframe” because it is exempt." {file: "http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?iframe" line: 0}]
[task 2021-01-09T11:37:37.841Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Not upgrading insecure request “http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?img” because it is exempt." {file: "http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?img" line: 0}]
[task 2021-01-09T11:37:37.841Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Not upgrading insecure request “http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?xhr” because it is exempt." {file: "http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?xhr" line: 0}]
[task 2021-01-09T11:37:37.842Z] 11:37:37     INFO - Console message: [JavaScript Error: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?xhr. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)."]
[task 2021-01-09T11:37:37.843Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Not upgrading insecure request “http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?nestedimg” because it is exempt." {file: "http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?nestedimg" line: 0}]
[task 2021-01-09T11:37:37.843Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Page should load normally after exception button was clicked. - true == true - 
[task 2021-01-09T11:37:37.844Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Request 'content' should be loaded with HTTP.' - 
[task 2021-01-09T11:37:37.844Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Request 'iframe' should be loaded with HTTP.' - 
[task 2021-01-09T11:37:37.844Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Request 'img' should be loaded with HTTP.' - 
[task 2021-01-09T11:37:37.846Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Request 'xhr' should be loaded with HTTP.' - 
[task 2021-01-09T11:37:37.846Z] 11:37:37     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Request 'nestedimg' should be loaded with HTTP.' - 
[task 2021-01-09T11:37:37.846Z] 11:37:37     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure request “http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?queryresult=http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/” to use “https”." {file: "http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?queryresult=http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/" line: 0}]
[task 2021-01-09T11:37:37.847Z] 11:37:37     INFO - Buffered messages logged at 11:37:37
[task 2021-01-09T11:37:37.848Z] 11:37:37     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure request “http://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?content” to use “https”."]
[task 2021-01-09T11:37:37.849Z] 11:37:37     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Upgrading insecure request “https://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?content” failed. (M21-C12276)"]
[task 2021-01-09T11:37:37.849Z] 11:37:37     INFO - Loading and waiting for the error page
[task 2021-01-09T11:37:37.850Z] 11:37:37     INFO - Buffered messages finished
[task 2021-01-09T11:37:37.850Z] 11:37:37     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Uncaught exception - AbortError: Actor 'SpecialPowers' destroyed before query 'Spawn' was resolved
[task 2021-01-09T11:37:37.851Z] 11:37:37     INFO - Leaving test bound 
[task 2021-01-09T11:37:37.851Z] 11:37:37     INFO - GECKO(3531) | MEMORY STAT | vsize 2820MB | residentFast 284MB | heapAllocated 108MB
[task 2021-01-09T11:37:37.851Z] 11:37:37     INFO - TEST-OK | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | took 3056ms
[task 2021-01-09T11:37:37.852Z] 11:37:37     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-01-09T11:37:37.852Z] 11:37:37     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Found an unexpected tab at the end of test run: https://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?content - 
[task 2021-01-09T11:37:37.853Z] 11:37:37     INFO - checking window state
[task 2021-01-09T11:37:37.854Z] 11:37:37     INFO - GECKO(3531) | Completed ShutdownLeaks collections in process 3531
[task 2021-01-09T11:37:37.855Z] 11:37:37     INFO - TEST-START | Shutdown```