Bug: Intermittent browser/base/content/test/webextensions/browser_permissions_optional.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-02-25 16:29:02+00:00
Resolved: 2023-07-19 12:03:25+00:00

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

---
```
[task 2023-02-25T15:47:36.930Z] 15:47:36     INFO - TEST-START | browser/base/content/test/webextensions/browser_permissions_optional.js
[task 2023-02-25T15:48:21.946Z] 15:48:21     INFO - TEST-INFO | started process screenshot
[task 2023-02-25T15:48:22.017Z] 15:48:22     INFO - TEST-INFO | screenshot: exit 0
[task 2023-02-25T15:48:22.020Z] 15:48:22     INFO - Buffered messages logged at 15:47:36
[task 2023-02-25T15:48:22.020Z] 15:48:22     INFO - Entering setup bound head_setup
[task 2023-02-25T15:48:22.021Z] 15:48:22     INFO - Leaving setup bound head_setup
[task 2023-02-25T15:48:22.021Z] 15:48:22     INFO - Entering test bound test_request_permissions_without_prompt
[task 2023-02-25T15:48:22.022Z] 15:48:22     INFO - Extension loaded
[task 2023-02-25T15:48:22.022Z] 15:48:22     INFO - Buffered messages finished
[task 2023-02-25T15:48:22.022Z] 15:48:22     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/webextensions/browser_permissions_optional.js | Test timed out - 
[task 2023-02-25T15:48:22.023Z] 15:48:22     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-02-25T15:48:22.024Z] 15:48:22     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/webextensions/browser_permissions_optional.js | Extension left running at test shutdown - 
[task 2023-02-25T15:48:22.024Z] 15:48:22     INFO - Stack trace:
[task 2023-02-25T15:48:22.024Z] 15:48:22     INFO - chrome://mochikit/content/browser-test.js:test_ok:1465
[task 2023-02-25T15:48:22.024Z] 15:48:22     INFO - chrome://mochikit/content/tests/SimpleTest/ExtensionTestUtils.js:ExtensionTestUtils.loadExtension/<:132
[task 2023-02-25T15:48:22.024Z] 15:48:22     INFO - chrome://mochikit/content/browser-test.js:nextTest:611
[task 2023-02-25T15:48:22.025Z] 15:48:22     INFO - Console message: [JavaScript Error: "Message manager was disconnected before receiving Extension:ExtensionViewLoaded" {file: "resource://gre/modules/ExtensionParent.jsm" line: 1816}]
[task 2023-02-25T15:48:22.025Z] 15:48:22     INFO - observer@resource://gre/modules/ExtensionParent.jsm:1816:11
[task 2023-02-25T15:48:22.025Z] 15:48:22     INFO - _releaseBrowser@resource://gre/modules/ExtensionParent.jsm:1513:18
[task 2023-02-25T15:48:22.026Z] 15:48:22     INFO - shutdown@resource://gre/modules/ExtensionParent.jsm:1508:12
[task 2023-02-25T15:48:22.026Z] 15:48:22     INFO - shutdown@chrome://extensions/content/parent/ext-backgroundPage.js:149:11
[task 2023-02-25T15:48:22.026Z] 15:48:22     INFO - onShutdown@chrome://extensions/content/parent/ext-backgroundPage.js:628:23
[task 2023-02-25T15:48:22.026Z] 15:48:22     INFO - ExtensionAPI/<@resource://gre/modules/ExtensionCommon.jsm:362:14
[task 2023-02-25T15:48:22.026Z] 15:48:22     INFO - wrapper@resource://gre/modules/ExtensionCommon.jsm:306:14
[task 2023-02-25T15:48:22.026Z] 15:48:22     INFO - emit@resource://gre/modules/ExtensionCommon.jsm:333:32
[task 2023-02-25T15:48:22.026Z] 15:48:22     INFO - emit@resource://gre/modules/Extension.jsm:2651:25
[task 2023-02-25T15:48:22.026Z] 15:48:22     INFO - shutdown@resource://gre/modules/Extension.jsm:3393:10
[task 2023-02-25T15:48:22.026Z] 15:48:22     INFO - 
[task 2023-02-25T15:48:29.967Z] 15:48:29     INFO - Console message: [JavaScript Error: "Timeout while waiting for extension child to shutdown: "Generated extension" (ID: {1adaab10-263a-40a7-a58a-63f097935a98}, moz-extension://d1df0c3e-1934-4768-ac24-fe4c2c4da9ab/)" {file: "resource://gre/modules/Extension.jsm" line: 3404}]
[task 2023-02-25T15:48:29.967Z] 15:48:29     INFO - shutdown@resource://gre/modules/Extension.jsm:3404:10
[task 2023-02-25T15:48:29.967Z] 15:48:29     INFO - 
[task 2023-02-25T15:52:56.086Z] 15:52:56     INFO -  console.error: (new TypeError("connection not specified or invalid.", "resource://gre/modules/Sqlite.sys.mjs", 1363))
[task 2023-02-25T15:53:27.204Z] 15:53:27     INFO - GECKO(756) | console.error: (new Error("Polling for changes failed: Unexpected content-type \"text/plain;charset=US-ASCII\".", "resource://services-settings/remote-settings.sys.mjs", 325))
[task 2023-02-25T15:54:56.091Z] 15:54:56     INFO -  console.error: (new TypeError("can't access property \"executeTransaction\", db is undefined", "resource://gre/modules/PlacesFrecencyRecalculator.sys.mjs", 186))
[task 2023-02-25T15:55:27.227Z] 15:55:27     INFO - GECKO(756) | 1677340527232	addons.xpi	ERROR	System addon update list error Error: got node name: html, expected: updates
[task 2023-02-25T15:55:27.235Z] 15:55:27     INFO - Console message: [JavaScript Error: "1677340527232	addons.xpi	ERROR	System addon update list error Error: got node name: html, expected: updates" {file: "resource://gre/modules/Log.sys.mjs" line: 723}]
[task 2023-02-25T15:55:27.235Z] 15:55:27     INFO - append@resource://gre/modules/Log.sys.mjs:723:12
[task 2023-02-25T15:55:27.235Z] 15:55:27     INFO - log@resource://gre/modules/Log.sys.mjs:377:16
[task 2023-02-25T15:55:27.235Z] 15:55:27     INFO - error@resource://gre/modules/Log.sys.mjs:385:10
[task 2023-02-25T15:55:27.235Z] 15:55:27     INFO - updateSystemAddons/res<@resource://gre/modules/addons/XPIInstall.jsm:4104:25
[task 2023-02-25T15:55:27.235Z] 15:55:27     INFO - 
[task 2023-02-25T16:01:37.236Z] 16:01:37     INFO - Buffered messages finished
[task 2023-02-25T16:01:37.236Z] 16:01:37    ERROR - TEST-UNEXPECTED-TIMEOUT | browser/base/content/test/webextensions/browser_permissions_optional.js | application timed out after 370 seconds with no output
[task 2023-02-25T16:01:37.238Z] 16:01:37  WARNING - Force-terminating active process(es).
```