Bug: Intermittent uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-09-12 12:23:06+00:00
Resolved: 2024-12-16 12:02:37+00:00

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

---
```
[task 2022-09-12T11:37:29.328Z] 11:37:29     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | Should show the dialog for sandbox allow-scripts allow-popups - 
[task 2022-09-12T11:37:29.328Z] 11:37:29     INFO - runSandboxTest options: {"blocked":false,"sandbox":"allow-scripts allow-top-navigation"}
[task 2022-09-12T11:37:29.329Z] 11:37:29     INFO - Buffered messages logged at 11:35:58
[task 2022-09-12T11:37:29.331Z] 11:37:29     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2022-09-12T11:37:29.331Z] 11:37:29     INFO - Buffered messages logged at 11:36:19
[task 2022-09-12T11:37:29.332Z] 11:37:29     INFO - Console message: [JavaScript Error: "1662982579338	addons.xpi	ERROR	System addon update list error Error: got node name: html, expected: updates" {file: "resource://gre/modules/Log.jsm" line: 724}]
[task 2022-09-12T11:37:29.332Z] 11:37:29     INFO - append@resource://gre/modules/Log.jsm:724:12
[task 2022-09-12T11:37:29.333Z] 11:37:29     INFO - log@resource://gre/modules/Log.jsm:380:16
[task 2022-09-12T11:37:29.333Z] 11:37:29     INFO - error@resource://gre/modules/Log.jsm:388:10
[task 2022-09-12T11:37:29.333Z] 11:37:29     INFO - updateSystemAddons/res<@resource://gre/modules/addons/XPIInstall.jsm:4086:25
[task 2022-09-12T11:37:29.333Z] 11:37:29     INFO - 
[task 2022-09-12T11:37:29.334Z] 11:37:29     INFO - Buffered messages finished
[task 2022-09-12T11:37:29.334Z] 11:37:29     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | Test timed out - 
[task 2022-09-12T11:37:29.335Z] 11:37:29     INFO - GECKO(6570) | MEMORY STAT | vsize 20975822MB | residentFast 1593MB
[task 2022-09-12T11:37:29.339Z] 11:37:29     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | took 180038ms
[task 2022-09-12T11:37:29.340Z] 11:37:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-12T11:37:29.340Z] 11:37:29     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | Found a tab after previous test timed out: https://example.com/browser/uriloader/exthandler/tests/mochitest//protocol_custom_sandbox_helper.sjs - 
[task 2022-09-12T11:37:29.341Z] 11:37:29     INFO - checking window state
[task 2022-09-12T11:37:29.341Z] 11:37:29     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox_csp.js
[task 2022-09-12T11:37:29.342Z] 11:37:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-12T11:37:29.342Z] 11:37:29     INFO - Buffered messages logged at 11:37:29
[task 2022-09-12T11:37:29.343Z] 11:37:29     INFO - Entering setup bound test_common_initialize
[task 2022-09-12T11:37:29.344Z] 11:37:29     INFO - Buffered messages finished
[task 2022-09-12T11:37:29.345Z] 11:37:29     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | Uncaught exception received from previously timed out test - at chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/head.js:351 - ReferenceError: gTestPath is not defined
[task 2022-09-12T11:37:29.346Z] 11:37:29     INFO - Stack trace:
[task 2022-09-12T11:37:29.347Z] 11:37:29     INFO - navigateExternalProtoFromIframe@chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/head.js:351:18
[task 2022-09-12T11:37:29.347Z] 11:37:29     INFO - runExtProtocolSandboxTest/<@chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/head.js:512:15
[task 2022-09-12T11:37:29.348Z] 11:37:29     INFO - withNewTab@resource://testing-common/BrowserTestUtils.jsm:151:24
[task 2022-09-12T11:37:29.349Z] 11:37:29     INFO - Leaving setup bound test_common_initialize
[task 2022-09-12T11:37:29.350Z] 11:37:29     INFO - Entering setup bound 
[task 2022-09-12T11:37:29.351Z] 11:37:29     INFO - GECKO(6570) | JavaScript error: chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/head.js, line 150: TypeError: can't access property "tabContainer", browser is null
[task 2022-09-12T11:37:29.352Z] 11:37:29     INFO - GECKO(6570) | JavaScript error: chrome://mochikit/content/browser-test.js, line 1091: TypeError: can't access property "shift", currentScope.__tasks is null
[task 2022-09-12T11:37:29.353Z] 11:37:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-12T11:37:29.355Z] 11:37:29     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox_csp.js | A promise chain failed to handle a rejection: can't access property "tabContainer", browser is null - stack: waitForSubDialog@chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/head.js:150:7
[task 2022-09-12T11:37:29.356Z] 11:37:29     INFO - waitForProtocolAppChooserDialog@chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/head.js:204:10
[task 2022-09-12T11:37:29.357Z] 11:37:29     INFO - runExtProtocolSandboxTest/<@chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/head.js:508:70
[task 2022-09-12T11:37:29.358Z] 11:37:29     INFO - withNewTab@resource://testing-common/BrowserTestUtils.jsm:151:24
[task 2022-09-12T11:37:29.358Z] 11:37:29     INFO - Rejection date: Mon Sep 12 2022 11:37:29 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 270
[task 2022-09-12T11:37:29.359Z] 11:37:29     INFO - Stack trace:
[task 2022-09-12T11:37:29.360Z] 11:37:29     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:270
[task 2022-09-12T11:37:29.360Z] 11:37:29     INFO - chrome://mochikit/content/browser-test.js:handleTask:1056
[task 2022-09-12T11:37:29.361Z] 11:37:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-12T11:37:29.363Z] 11:37:29     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox_csp.js | A promise chain failed to handle a rejection: can't access property "shift", currentScope.__tasks is null - stack: _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1091:13
[task 2022-09-12T11:37:29.364Z] 11:37:29     INFO - Rejection date: Mon Sep 12 2022 11:37:29 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 270
[task 2022-09-12T11:37:29.364Z] 11:37:29     INFO - Stack trace:
[task 2022-09-12T11:37:29.365Z] 11:37:29     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:270
[task 2022-09-12T11:37:29.366Z] 11:37:29     INFO - chrome://mochikit/content/browser-test.js:handleTask:1056
[task 2022-09-12T11:37:29.367Z] 11:37:29     INFO - Leaving setup bound 
[task 2022-09-12T11:37:29.368Z] 11:37:29     INFO - Entering test bound test_sandbox_csp
[task 2022-09-12T11:37:29.369Z] 11:37:29     INFO - runSandboxTest options: {"blocked":false,"sandbox":"allow-scripts","useCSPSandbox":true,"triggerMethod":"trustedClick"}
[task 2022-09-12T11:37:29.370Z] 11:37:29     INFO - Console message: [JavaScript Error: "TypeError: can't access property "tabContainer", browser is null" {file: "chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/head.js" line: 150}]
[task 2022-09-12T11:37:29.371Z] 11:37:29     INFO - Console message: [JavaScript Error: "TypeError: can't access property "shift", currentScope.__tasks is null" {file: "chrome://mochikit/content/browser-test.js" line: 1091}]
[task 2022-09-12T11:37:29.511Z] 11:37:29     INFO - GECKO(6570) | -----------------------------------------------------
[task 2022-09-12T11:37:29.512Z] 11:37:29     INFO - GECKO(6570) | Suppressions used:
[task 2022-09-12T11:37:29.512Z] 11:37:29     INFO - GECKO(6570) |   count      bytes template
[task 2022-09-12T11:37:29.512Z] 11:37:29     INFO - GECKO(6570) |       2        288 libfontconfig.so
[task 2022-09-12T11:37:29.512Z] 11:37:29     INFO - GECKO(6570) | -----------------------------------------------------
[task 2022-09-12T11:38:59.065Z] 11:38:59     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-12T11:38:59.067Z] 11:38:59     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox_csp.js | Test timed out - 
[task 2022-09-12T11:38:59.076Z] 11:38:59     INFO - GECKO(6570) | MEMORY STAT | vsize 20975810MB | residentFast 1586MB
[task 2022-09-12T11:38:59.078Z] 11:38:59     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox_csp.js | took 90025ms
```