Closed Bug 1793743 Opened 2 years ago Closed 1 year ago

High freq browser/components/extensions/test/browser/browser_unified_extensions.js | single tracking bug

Categories

(WebExtensions :: Untriaged, defect, P5)

defect

Tracking

(firefox-esr102 unaffected, firefox105 unaffected, firefox106 unaffected, firefox107 wontfix, firefox108 wontfix, firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox105 --- unaffected
firefox106 --- unaffected
firefox107 --- wontfix
firefox108 --- wontfix
firefox109 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: willdurand)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [addons-jira])

Attachments

(2 files)

Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=392299920&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OWYpAqtXRQStYnZ5Q1YsHA/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OWYpAqtXRQStYnZ5Q1YsHA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2022-10-05T07:40:29.727Z] 07:40:29     INFO - TEST-PASS | browser/components/extensions/test/browser/browser_unified_extensions.js | expected action button to be enabled - 
[task 2022-10-05T07:40:29.728Z] 07:40:29     INFO - Buffered messages logged at 07:39:44
[task 2022-10-05T07:40:29.728Z] 07:40:29     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2022-10-05T07:40:29.729Z] 07:40:29     INFO - Buffered messages finished
[task 2022-10-05T07:40:29.730Z] 07:40:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_unified_extensions.js | Test timed out - 
[task 2022-10-05T07:40:29.730Z] 07:40:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-10-05T07:40:29.731Z] 07:40:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_unified_extensions.js | Extension left running at test shutdown - 
[task 2022-10-05T07:40:29.732Z] 07:40:29     INFO - Stack trace:
[task 2022-10-05T07:40:29.732Z] 07:40:29     INFO - chrome://mochikit/content/browser-test.js:test_ok:1457
[task 2022-10-05T07:40:29.733Z] 07:40:29     INFO - chrome://mochikit/content/tests/SimpleTest/ExtensionTestUtils.js:ExtensionTestUtils.loadExtension/<:132
[task 2022-10-05T07:40:29.733Z] 07:40:29     INFO - chrome://mochikit/content/browser-test.js:nextTest:616
[task 2022-10-05T07:40:29.734Z] 07:40:29     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1345
[task 2022-10-05T07:40:29.734Z] 07:40:29     INFO - setTimeout handler*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest_setTimeoutShim:904
[task 2022-10-05T07:40:29.735Z] 07:40:29     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1306
[task 2022-10-05T07:40:29.735Z] 07:40:29     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1285
[task 2022-10-05T07:40:29.735Z] 07:40:29     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1028
[task 2022-10-05T07:40:29.736Z] 07:40:29     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1038
[task 2022-10-05T07:40:29.736Z] 07:40:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-10-05T07:40:29.736Z] 07:40:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_unified_extensions.js | Uncaught exception received from previously timed out test - mouseover listener not removed before the end of test
[task 2022-10-05T07:40:29.809Z] 07:40:29     INFO - GECKO(1630) | MEMORY STAT | vsize 3393MB | residentFast 516MB | heapAllocated 221MB
[task 2022-10-05T07:40:29.811Z] 07:40:29     INFO - TEST-OK | browser/components/extensions/test/browser/browser_unified_extensions.js | took 90511ms
Regressed by: 1784218

Set release status flags based on info from the regressing bug 1784218

:willdurand, since you are the author of the regressor, bug 1784218, could you take a look?

For more information, please visit auto_nag documentation.

Set release status flags based on info from the regressing bug 1784218

This appeared as tier 1 here

Summary: Intermittent TV browser/components/extensions/test/browser/browser_unified_extensions.js | single tracking bug → Intermittent browser/components/extensions/test/browser/browser_unified_extensions.js | single tracking bug
Summary: Intermittent browser/components/extensions/test/browser/browser_unified_extensions.js | single tracking bug → High freq browser/components/extensions/test/browser/browser_unified_extensions.js | single tracking bug

on it

Flags: needinfo?(wdurand)
Assignee: nobody → wdurand
Status: NEW → ASSIGNED
Attachment #9304914 - Attachment description: Bug 1793743 - Use `Services.uuid` to generate unique extension IDs in test helper. r?rpl! → Bug 1793743 - Let `ExtensionTestUtils` generate extension IDs in `createExtensions()`. r?rpl!
Keywords: leave-open
Pushed by wdurand@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b9f882512c90
Let `ExtensionTestUtils` generate extension IDs in `createExtensions()`. r=rpl

Depending on the test chunks on Firefox CI, we might have a test file
executed before this one that resizes the window and does not reset it.

In most cases, this isn't an issue except when we have logic to overflow
extension buttons pinned in the toolbar into the unified extensions
panel. This is what's happening here, at least for some configurations.

By making sure that the window is large enough, we should not have
overflowed extension buttons in the panel anymore. That will make the
test more robust.

Keywords: leave-open
Whiteboard: [addons-jira]
Pushed by wdurand@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d3aa95c59621
Resize window to avoid overflowed extensions in the unified extensions panel. r=rpl
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch

The patch landed in nightly and beta is affected.
:willdurand, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox108 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(wdurand)
Flags: needinfo?(wdurand)
See Also: → 1802574

Hi William! Can you please take another look at this? This is not high frequency anymore but it is still failing with browser/components/extensions/test/browser/browser_unified_extensions.js | Test timed out - | followed by Extension left running at test shutdown - Should we reopen this bug or file a new bug for this?
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=398053651&repo=autoland&lineNumber=35318

[task 2022-11-29T17:25:18.197Z] 17:25:18     INFO - Console message: Warning: attempting to write 47293 bytes to preference extensions.webextensions.uuids. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file.
[task 2022-11-29T17:25:18.198Z] 17:25:18     INFO - Buffered messages logged at 17:22:26
[task 2022-11-29T17:25:18.199Z] 17:25:18     INFO - Console message: [JavaScript Warning: "browser.ui.customized_widgets - Keyed scalars cannot have more than 100 keys."]
[task 2022-11-29T17:25:18.200Z] 17:25:18     INFO - Console message: [JavaScript Warning: "browser.ui.customized_widgets - Keyed scalars cannot have more than 100 keys."]
[task 2022-11-29T17:25:18.203Z] 17:25:18     INFO - Console message: Warning: attempting to write 7487 bytes to preference browser.pageActions.persistedActions. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file.
[task 2022-11-29T17:25:18.203Z] 17:25:18     INFO - Console message: [JavaScript Warning: "browser.ui.customized_widgets - Keyed scalars cannot have more than 100 keys."]
[task 2022-11-29T17:25:18.203Z] 17:25:18     INFO - Registering mock add-on provider
[task 2022-11-29T17:25:18.203Z] 17:25:18     INFO - TEST-PASS | browser/components/extensions/test/browser/browser_unified_extensions.js | expected add-on without a policy - 
[task 2022-11-29T17:25:18.203Z] 17:25:18     INFO - verifying extensions listed in the panel with private browsing disabled
[task 2022-11-29T17:25:18.204Z] 17:25:18     INFO - Console message: 1669742546494	addons.manager	DEBUG	Starting provider: <unnamed-provider>
[task 2022-11-29T17:25:18.205Z] 17:25:18     INFO - Console message: 1669742546495	addons.manager	DEBUG	Registering shutdown blocker for <unnamed-provider>
[task 2022-11-29T17:25:18.205Z] 17:25:18     INFO - Console message: 1669742546495	addons.manager	DEBUG	Provider finished startup: <unnamed-provider>
[task 2022-11-29T17:25:18.206Z] 17:25:18     INFO - Buffered messages logged at 17:23:47
[task 2022-11-29T17:25:18.207Z] 17:25:18     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2022-11-29T17:25:18.207Z] 17:25:18     INFO - Buffered messages finished
[task 2022-11-29T17:25:18.208Z] 17:25:18     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_unified_extensions.js | Test timed out - 
[task 2022-11-29T17:25:18.209Z] 17:25:18     INFO - GECKO(1637) | [Parent 1637, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2022-11-29T17:25:18.209Z] 17:25:18     INFO - GECKO(1637) | [Parent 1637, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2022-11-29T17:25:18.210Z] 17:25:18     INFO - GECKO(1637) | [Parent 1637, Compositor] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:371
[task 2022-11-29T17:25:18.210Z] 17:25:18     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-11-29T17:25:18.212Z] 17:25:18     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_unified_extensions.js | Extension left running at test shutdown - 
[task 2022-11-29T17:25:18.212Z] 17:25:18     INFO - Stack trace:
[task 2022-11-29T17:25:18.213Z] 17:25:18     INFO - chrome://mochikit/content/browser-test.js:test_ok:1449
[task 2022-11-29T17:25:18.213Z] 17:25:18     INFO - chrome://mochikit/content/tests/SimpleTest/ExtensionTestUtils.js:ExtensionTestUtils.loadExtension/<:132
[task 2022-11-29T17:25:18.213Z] 17:25:18     INFO - chrome://mochikit/content/browser-test.js:nextTest:611
[task 2022-11-29T17:25:18.214Z] 17:25:18     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1337
[task 2022-11-29T17:25:18.214Z] 17:25:18     INFO - setTimeout handler*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest_setTimeoutShim:900
[task 2022-11-29T17:25:18.215Z] 17:25:18     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1298
[task 2022-11-29T17:25:18.215Z] 17:25:18     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1277
[task 2022-11-29T17:25:18.215Z] 17:25:18     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1026
[task 2022-11-29T17:25:18.215Z] 17:25:18     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1036
[task 2022-11-29T17:25:18.215Z] 17:25:18     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-11-29T17:25:18.216Z] 17:25:18     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_unified_extensions.js | Extension left running at test shutdown - 
[task 2022-11-29T17:25:18.216Z] 17:25:18     INFO - Stack trace:
[task 2022-11-29T17:25:18.216Z] 17:25:18     INFO - chrome://mochikit/content/browser-test.js:test_ok:1449
<...>
Flags: needinfo?(wdurand)

could you please open a new bug so that we can monitor the failures? I am really not sure why this is happening again :/

Flags: needinfo?(wdurand) → needinfo?(imoraru)
See Also: → 1803418
Flags: needinfo?(imoraru)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: