Intermittent toolkit/mozapps/update/tests/browser/browser_aboutPrefs_<smth>.js | single tracking bug
Categories
(Toolkit :: Application Update, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox111 | --- | unaffected |
firefox112 | --- | unaffected |
firefox113 | --- | wontfix |
firefox114 | --- | wontfix |
firefox115 | --- | fixed |
firefox116 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: robwu)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, test-verify-fail)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=410628564&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ICv1lXB2RzGKhfWFDQ1iuQ/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/ICv1lXB2RzGKhfWFDQ1iuQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1
[task 2023-03-29T08:18:58.622Z] 08:18:58 INFO - TEST-PASS | toolkit/mozapps/update/tests/browser/browser_aboutPrefs_internalError.js | The panel ID should equal internalError - "internalError" == "internalError" -
[task 2023-03-29T08:18:58.629Z] 08:18:58 INFO - Buffered messages finished
[task 2023-03-29T08:18:58.629Z] 08:18:58 INFO - TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/browser/browser_aboutPrefs_internalError.js | The current update state should be "STATE_IDLE". Actual: "STATE_DOWNLOADING" - Got 2, expected 1
[task 2023-03-29T08:18:58.631Z] 08:18:58 INFO - Stack trace:
[task 2023-03-29T08:18:58.631Z] 08:18:58 INFO - chrome://mochikit/content/browser-test.js:test_is:1512
[task 2023-03-29T08:18:58.631Z] 08:18:58 INFO - chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:runAboutPrefsUpdateTest/processAboutPrefsStep/<:1008
[task 2023-03-29T08:18:58.632Z] 08:18:58 INFO - chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:processAboutPrefsStep:1146
[task 2023-03-29T08:18:58.632Z] 08:18:58 INFO - chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:runAboutPrefsUpdateTest/<:1221
[task 2023-03-29T08:18:58.633Z] 08:18:58 INFO - chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:runAboutPrefsUpdateTest:1223
[task 2023-03-29T08:18:58.634Z] 08:18:58 INFO - chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/browser_aboutPrefs_internalError.js:aboutPrefs_internalError:30
[task 2023-03-29T08:18:58.634Z] 08:18:58 INFO - chrome://mochikit/content/browser-test.js:handleTask:1039
[task 2023-03-29T08:18:58.635Z] 08:18:58 INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1111
[task 2023-03-29T08:18:58.635Z] 08:18:58 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1253
[task 2023-03-29T08:18:58.636Z] 08:18:58 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1022
[task 2023-03-29T08:18:58.636Z] 08:18:58 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1053
[task 2023-03-29T08:18:58.637Z] 08:18:58 INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-29T08:18:58.637Z] 08:18:58 INFO - TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/browser/browser_aboutPrefs_internalError.js | There should not be a downloading update -
[task 2023-03-29T08:18:58.638Z] 08:18:58 INFO - Stack trace:
[task 2023-03-29T08:18:58.638Z] 08:18:58 INFO - chrome://mochikit/content/browser-test.js:test_ok:1484
[task 2023-03-29T08:18:58.639Z] 08:18:58 INFO - chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:runAboutPrefsUpdateTest/processAboutPrefsStep/<:1028
[task 2023-03-29T08:18:58.639Z] 08:18:58 INFO - chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:processAboutPrefsStep:1146
[task 2023-03-29T08:18:58.640Z] 08:18:58 INFO - chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:runAboutPrefsUpdateTest/<:1221
[task 2023-03-29T08:18:58.640Z] 08:18:58 INFO - chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:runAboutPrefsUpdateTest:1223
[task 2023-03-29T08:18:58.641Z] 08:18:58 INFO - chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/browser_aboutPrefs_internalError.js:aboutPrefs_internalError:30
[task 2023-03-29T08:18:58.642Z] 08:18:58 INFO - chrome://mochikit/content/browser-test.js:handleTask:1039
[task 2023-03-29T08:18:58.642Z] 08:18:58 INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1111
[task 2023-03-29T08:18:58.642Z] 08:18:58 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1253
[task 2023-03-29T08:18:58.644Z] 08:18:58 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1022
[task 2023-03-29T08:18:58.645Z] 08:18:58 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1053
[task 2023-03-29T08:18:58.646Z] 08:18:58 INFO - TEST-PASS | toolkit/mozapps/update/tests/browser/browser_aboutPrefs_internalError.js | There should not be a ready update -
[task 2023-03-29T08:18:58.647Z] 08:18:58 INFO - Leaving test bound aboutPrefs_internalError
[task 2023-03-29T08:18:59.030Z] 08:18:59 INFO - GECKO(3722) | MEMORY STAT | vsize 130560308MB | residentFast 1320MB
[task 2023-03-29T08:18:59.033Z] 08:18:59 INFO - TEST-OK | toolkit/mozapps/update/tests/browser/browser_aboutPrefs_internalError.js | took 5698ms
Comment 1•2 years ago
|
||
Set release status flags based on info from the regressing bug 1801379
:canadahonk, since you are the author of the regressor, bug 1801379, could you take a look?
For more information, please visit auto_nag documentation.
Comment 2•2 years ago
|
||
Not sure myself. All Bug 1801379 did was migrate Sinon to ESM, afaict it couldn't cause an intermittent like this?
Comment hidden (Intermittent Failures Robot) |
Comment 4•2 years ago
|
||
Set release status flags based on info from the regressing bug 1801379
Updated•2 years ago
|
Comment 5•1 year ago
|
||
https://treeherder.mozilla.org/logviewer?job_id=417679162&repo=autoland
[task 2023-05-31T18:46:23.391Z] 18:46:23 INFO - TEST-PASS | toolkit/mozapps/update/tests/browser/browser_aboutPrefs_internalError.js | There should not be a ready update -
[task 2023-05-31T18:46:23.391Z] 18:46:23 INFO - Buffered messages finished
[task 2023-05-31T18:46:23.393Z] 18:46:23 INFO - TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/browser/browser_aboutPrefs_internalError.js | Uncaught exception in test bound aboutPrefs_internalError - at chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:1156 - ReferenceError: BrowserTestUtils is not defined
[task 2023-05-31T18:46:23.393Z] 18:46:23 INFO - Stack trace:
[task 2023-05-31T18:46:23.393Z] 18:46:23 INFO - @chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:1156:15
[task 2023-05-31T18:46:23.393Z] 18:46:23 INFO - execute@resource://testing-common/SpecialPowersSandbox.sys.mjs:139:12
[task 2023-05-31T18:46:23.393Z] 18:46:23 INFO - _spawnTask@resource://testing-common/SpecialPowersChild.sys.mjs:1654:15
[task 2023-05-31T18:46:23.393Z] 18:46:23 INFO - receiveMessage@resource://testing-common/SpecialPowersChild.sys.mjs:261:21
[task 2023-05-31T18:46:23.393Z] 18:46:23 INFO - JSActor query*receiveMessage@resource://testing-common/SpecialPowersParent.sys.mjs:1396:14
[task 2023-05-31T18:46:23.393Z] 18:46:23 INFO - JSActor query*spawn@resource://testing-common/SpecialPowersChild.sys.mjs:1583:17
[task 2023-05-31T18:46:23.394Z] 18:46:23 INFO - runAboutPrefsUpdateTest/processAboutPrefsStep/<@chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:1127:27
[task 2023-05-31T18:46:23.394Z] 18:46:23 INFO - async*processAboutPrefsStep@chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:1197:7
[task 2023-05-31T18:46:23.394Z] 18:46:23 INFO - runAboutPrefsUpdateTest/<@chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:1272:13
[task 2023-05-31T18:46:23.394Z] 18:46:23 INFO - async*runAboutPrefsUpdateTest@chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/head.js:1274:5
[task 2023-05-31T18:46:23.394Z] 18:46:23 INFO - aboutPrefs_internalError@chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/browser_aboutPrefs_internalError.js:30:9
[task 2023-05-31T18:46:23.394Z] 18:46:23 INFO - handleTask@chrome://mochikit/content/browser-test.js:1133:26
[task 2023-05-31T18:46:23.394Z] 18:46:23 INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1205:18
[task 2023-05-31T18:46:23.394Z] 18:46:23 INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14
[task 2023-05-31T18:46:23.394Z] 18:46:23 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1122:14
[task 2023-05-31T18:46:23.394Z] 18:46:23 INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-05-31T18:46:23.394Z] 18:46:23 INFO - Leaving test bound aboutPrefs_internalError
[task 2023-05-31T18:46:23.660Z] 18:46:23 INFO - GECKO(6476) | MEMORY STAT | vsize 2112654MB | vsizeMaxContiguous 65323280MB | residentFast 417MB | heapAllocated 206MB
[task 2023-05-31T18:46:23.669Z] 18:46:23 INFO - TEST-OK | toolkit/mozapps/update/tests/browser/browser_aboutPrefs_internalError.js | took 941ms
Comment hidden (Intermittent Failures Robot) |
Comment 7•1 year ago
|
||
I think the latest spike may be a regression from bug 1835559. BrowserTestUtils.waitForEvent
is sometimes being used to try to wait for L10n to finish, but I believe that BrowserTestUtils
is not available within SpecialPowers.spawn
scopes.
Assignee | ||
Comment 8•1 year ago
|
||
Thanks, I should have used ContentTaskUtils.waitForEvent
instead.
Assignee | ||
Comment 9•1 year ago
|
||
This fixes two test issues:
- Use ContentTaskUtils.waitForEvent instead of
BrowserTestUtils.waitForEvent for the part of the test that runs in a
SpecialPowers.spawn
environment - fixes bug 1825228. - Await l10n translation completion in another place that was missed in
the patch to bug 1835559. Fixes bug 1836504.
Updated•1 year ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•1 year ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 16•1 year ago
|
||
Comment 18•1 year ago
|
||
bugherder |
Comment 19•1 year ago
|
||
I will take this test only change in a beta uplift.
Comment 20•1 year ago
|
||
bugherder uplift |
Comment hidden (Intermittent Failures Robot) |
Description
•