Bug: Intermittent toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Could not query results from server (undefined) -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-05-01 12:35:14+00:00
Resolved: 2022-05-24 17:02:03+00:00

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

---
```
[task 2022-05-01T12:04:35.691Z] 12:04:35     INFO - TEST-START | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js
[task 2022-05-01T12:04:35.706Z] 12:04:35     INFO - TEST-INFO | started process screencapture
[task 2022-05-01T12:04:35.827Z] 12:04:35     INFO - TEST-INFO | screencapture: exit 0
[task 2022-05-01T12:04:35.827Z] 12:04:35     INFO - Buffered messages logged at 12:04:35
[task 2022-05-01T12:04:35.827Z] 12:04:35     INFO - Entering setup bound 
[task 2022-05-01T12:04:35.827Z] 12:04:35     INFO - Leaving setup bound 
[task 2022-05-01T12:04:35.827Z] 12:04:35     INFO - Entering test bound 
[task 2022-05-01T12:04:35.828Z] 12:04:35     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure speculative TCP connection “http://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?content” to use “https”."]
[task 2022-05-01T12:04:35.828Z] 12:04:35     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 2022-05-01T12:04:35.828Z] 12:04:35     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 2022-05-01T12:04:35.828Z] 12:04:35     INFO - Buffered messages finished
[task 2022-05-01T12:04:35.829Z] 12:04:35     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Could not query results from server (undefined) - 
[task 2022-05-01T12:04:35.829Z] 12:04:35     INFO - Stack trace:
[task 2022-05-01T12:04:35.829Z] 12:04:35     INFO - chrome://mochikit/content/browser-test.js:test_ok:1394
[task 2022-05-01T12:04:35.829Z] 12:04:35     INFO - chrome://mochitests/content/browser/toolkit/components/httpsonlyerror/tests/browser/browser_exception.js:setupFileServer/</xhrRequest.onerror:152
[task 2022-05-01T12:04:35.829Z] 12:04:35     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Upgrading insecure request “https://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?queryresult=http://example.com/browser/toolkit/components/httpsonlyerror/tests/browser/” failed. (M6-C53)" {file: "https://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 2022-05-01T12:04:35.829Z] 12:04:35     INFO - GECKO(6386) | JavaScript error: , line 0: uncaught exception: undefined
[task 2022-05-01T12:04:35.829Z] 12:04:35     INFO - Console message: [JavaScript Error: "uncaught exception: undefined"]
[task 2022-05-01T12:04:35.829Z] 12:04:35     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 2022-05-01T12:04:36.110Z] 12:04:36     INFO - Loading and waiting for the error page
[task 2022-05-01T12:04:36.119Z] 12:04:36     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | openInsecureButton should exist. - true == true - 
[task 2022-05-01T12:04:36.129Z] 12:04:36     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 2022-05-01T12:04:36.163Z] 12:04:36     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?iframe” because it is exempt." {file: "http://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?iframe" line: 0}]
[task 2022-05-01T12:04:36.163Z] 12:04:36     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?img” because it is exempt." {file: "http://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?img" line: 0}]
[task 2022-05-01T12:04:36.164Z] 12:04:36     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?xhr” because it is exempt." {file: "http://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?xhr" line: 0}]
[task 2022-05-01T12:04:36.168Z] 12:04:36     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?nestedimg” because it is exempt." {file: "http://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?nestedimg" line: 0}]
[task 2022-05-01T12:04:36.173Z] 12:04:36     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Page should load normally after exception button was clicked. - true == true - 
[task 2022-05-01T12:04:36.174Z] 12:04:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-01T12:04:36.174Z] 12:04:36     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Uncaught exception in test - 
[task 2022-05-01T12:04:36.174Z] 12:04:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-01T12:04:36.175Z] 12:04:36     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | A promise chain failed to handle a rejection: undefined - stack: (No stack available.)
[task 2022-05-01T12:04:36.175Z] 12:04:36     INFO - Rejection date: Sun May 01 2022 12:04:35 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-05-01T12:04:36.175Z] 12:04:36     INFO - Stack trace:
[task 2022-05-01T12:04:36.175Z] 12:04:36     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-05-01T12:04:36.175Z] 12:04:36     INFO - chrome://mochikit/content/browser-test.js:handleTask:1017
[task 2022-05-01T12:04:36.175Z] 12:04:36     INFO - Leaving test bound 
[task 2022-05-01T12:04:36.175Z] 12:04:36     INFO - GECKO(6386) | MEMORY STAT | vsize 410494MB | residentFast 340MB | heapAllocated 126MB
[task 2022-05-01T12:04:36.176Z] 12:04:36     INFO - TEST-OK | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | took 484ms
[task 2022-05-01T12:04:36.176Z] 12:04:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-01T12:04:36.176Z] 12:04:36     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/httpsonlyerror/tests/browser/browser_exception.js | Found an unexpected tab at the end of test run: http://supports-insecure.expired.example.com/browser/toolkit/components/httpsonlyerror/tests/browser/file_upgrade_insecure_server.sjs?content - 
[task 2022-05-01T12:04:36.183Z] 12:04:36     INFO - checking window state
[task 2022-05-01T12:04:36.186Z] 12:04:36     INFO - GECKO(6386) | Completed ShutdownLeaks collections in process 6386
[task 2022-05-01T12:04:36.187Z] 12:04:36     INFO - TEST-START | Shutdown
[task 2022-05-01T12:04:36.187Z] 12:04:36     INFO - Browser Chrome Test Summary
[task 2022-05-01T12:04:36.187Z] 12:04:36     INFO - Passed:  30
[task 2022-05-01T12:04:36.187Z] 12:04:36     INFO - Failed:  4
[task 2022-05-01T12:04:36.187Z] 12:04:36     INFO - Todo:    0
[task 2022-05-01T12:04:36.187Z] 12:04:36     INFO - Mode:    e10s
[task 2022-05-01T12:04:36.188Z] 12:04:36     INFO - *** End BrowserChrome Test Results ***
```