Closed Bug 2039634 Opened 6 months ago Closed 6 months ago

TV browser/components/preferences/tests/downloads/browser_downloads.js | testSelectDownloadDir - browser.ui.interaction.preferences_paneGeneral['chooseFolder'] must contain the expected value - 3 == 1

Categories

(Firefox :: Settings UI, defect, P5)

defect

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox150 --- unaffected
firefox151 --- unaffected
firefox152 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail, Whiteboard: [recomp])

Attachments

(1 external file)

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


[task 2026-05-14T14:40:45.830+00:00] 14:40:45     INFO - TEST-PASS | browser/components/preferences/tests/downloads/browser_downloads.js | testSelectDownloadDir - browser.ui.interaction.preferences_paneGeneral['chooseFolder'] must contain the expected value - 2 == 2
[task 2026-05-14T14:40:45.830+00:00] 14:40:45     INFO - Leaving test testSelectDownloadDir
[task 2026-05-14T14:40:45.831+00:00] 14:40:45     INFO - Buffered messages logged at 14:40:42
[task 2026-05-14T14:40:45.831+00:00] 14:40:45     INFO - checking for open sidebars
[task 2026-05-14T14:40:45.832+00:00] 14:40:45     INFO - checking window state
[task 2026-05-14T14:40:45.832+00:00] 14:40:45     INFO - Buffered messages finished
[task 2026-05-14T14:40:45.834+00:00] 14:40:45     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/downloads/browser_downloads.js | testSelectDownloadDir - browser.ui.interaction.preferences_paneGeneral['chooseFolder'] must contain the expected value - 3 == 1
[task 2026-05-14T14:40:45.834+00:00] 14:40:45     INFO - resource://testing-common/TelemetryTestUtils.sys.mjs:assertKeyedScalar:47
[task 2026-05-14T14:40:45.834+00:00] 14:40:45     INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/downloads/browser_downloads.js:assertTelemetry:30
[task 2026-05-14T14:40:45.834+00:00] 14:40:45     INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/downloads/browser_downloads.js:testSelectDownloadDir:135
[task 2026-05-14T14:40:45.834+00:00] 14:40:45     INFO - chrome://mochikit/content/browser-test.js:handleTask:1366
[task 2026-05-14T14:40:45.834+00:00] 14:40:45     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1456
[task 2026-05-14T14:40:45.834+00:00] 14:40:45     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1608
[task 2026-05-14T14:40:45.834+00:00] 14:40:45     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1340
[task 2026-05-14T14:40:45.834+00:00] 14:40:45     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1060
[task 2026-05-14T14:40:45.847+00:00] 14:40:45     INFO - TEST-PASS | browser/components/preferences/tests/downloads/browser_downloads.js | testSelectDownloadDir - FilePicker shown for C:\Users\task_177876641914180\Downloads
[task 2026-05-14T14:40:45.959+00:00] 14:40:45     INFO - TEST-PASS | browser/components/preferences/tests/downloads/browser_downloads.js | testSelectDownloadDir - Input folder value is set to the Downloads folder path
[task 2026-05-14T14:40:45.960+00:00] 14:40:45     INFO - TEST-PASS | browser/components/preferences/tests/downloads/browser_downloads.js | testSelectDownloadDir - Display value of the input folder is set to Downloads
[task 2026-05-14T14:40:45.962+00:00] 14:40:45     INFO - TEST-PASS | browser/components/preferences/tests/downloads/browser_downloads.js | testSelectDownloadDir - browser.ui.interaction.preferences_paneGeneral must be recorded. - true == true
[task 2026-05-14T14:40:45.962+00:00] 14:40:45     INFO - TEST-PASS | browser/components/preferences/tests/downloads/browser_downloads.js | testSelectDownloadDir - browser.ui.interaction.preferences_paneGeneral must contain the 'chooseFolder' key. - true == true
[task 2026-05-14T14:40:45.964+00:00] 14:40:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-05-14T14:40:45.966+00:00] 14:40:45     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/downloads/browser_downloads.js | testSelectDownloadDir - browser.ui.interaction.preferences_paneGeneral['chooseFolder'] must contain the expected value - 4 == 2
[task 2026-05-14T14:40:45.966+00:00] 14:40:45     INFO - resource://testing-common/TelemetryTestUtils.sys.mjs:assertKeyedScalar:47
[task 2026-05-14T14:40:45.966+00:00] 14:40:45     INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/downloads/browser_downloads.js:assertTelemetry:30
[task 2026-05-14T14:40:45.966+00:00] 14:40:45     INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/downloads/browser_downloads.js:testSelectDownloadDir:155
[task 2026-05-14T14:40:45.966+00:00] 14:40:45     INFO - chrome://mochikit/content/browser-test.js:handleTask:1366
[task 2026-05-14T14:40:45.966+00:00] 14:40:45     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1456
[task 2026-05-14T14:40:45.966+00:00] 14:40:45     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1608
[task 2026-05-14T14:40:45.966+00:00] 14:40:45     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1340
[task 2026-05-14T14:40:45.966+00:00] 14:40:45     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1060
[task 2026-05-14T14:40:46.025+00:00] 14:40:46     INFO - Leaving test testSelectDownloadDir
[task 2026-05-14T14:40:46.464+00:00] 14:40:46     INFO - GECKO(9132) | MEMORY STAT | vsize 1273MB | vsizeMaxContiguous 1293MB | residentFast 421MB | heapAllocated 134MB
[task 2026-05-14T14:40:46.465+00:00] 14:40:46     INFO - checking for open sidebars
[task 2026-05-14T14:40:46.466+00:00] 14:40:46     INFO - checking window state
[task 2026-05-14T14:40:46.466+00:00] 14:40:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-05-14T14:40:46.467+00:00] 14:40:46     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/downloads/browser_downloads.js | finished in 3855ms
[task 2026-05-14T14:40:46.467+00:00] 14:40:46     INFO - TEST-INFO took 3863ms
<...>
[task 2026-05-14T15:10:11.186+00:00] 15:10:11     INFO - ::: Test verification PASSED
[task 2026-05-14T15:10:11.186+00:00] 15:10:11     INFO - :::
[task 2026-05-14T15:10:11.187+00:00] 15:10:11     INFO - Buffered messages finished
[task 2026-05-14T15:10:11.187+00:00] 15:10:11     INFO - SUITE-END | took 0s
[task 2026-05-14T15:10:11.212+00:00] 15:10:11     INFO - Return code: 0
[task 2026-05-14T15:10:11.219+00:00] 15:10:11     INFO - TinderboxPrint: mochitest-mochitest-browser-chrome<br/>25/0/0
[task 2026-05-14T15:10:11.219+00:00] 15:10:11     INFO - Current worst status WARNING is worse; keeping it.
[task 2026-05-14T15:10:11.219+00:00] 15:10:11  WARNING - TinderboxPrint: Per-test run of ...\browser_open_download_preferences.js<br/>: SUCCESS
[task 2026-05-14T15:10:11.219+00:00] 15:10:11     INFO - Per-test suites: {}
[task 2026-05-14T15:10:11.219+00:00] 15:10:11     INFO - Per-test suites: {}
[task 2026-05-14T15:10:11.219+00:00] 15:10:11     INFO - Running post-action listener: _package_coverage_data
[task 2026-05-14T15:10:11.219+00:00] 15:10:11     INFO - Running post-action listener: _resource_record_post_action
[task 2026-05-14T15:10:11.220+00:00] 15:10:11     INFO - Running post-action listener: process_java_coverage_data
[task 2026-05-14T15:10:11.220+00:00] 15:10:11     INFO - [mozharness: 2026-05-14 15:10:11.220203Z] Finished run-tests step (success)
[task 2026-05-14T15:10:11.220+00:00] 15:10:11     INFO - [mozharness: 2026-05-14 15:10:11.220203Z] Running uninstall step.
[task 2026-05-14T15:10:11.220+00:00] 15:10:11     INFO - Running pre-action listener: _resource_record_pre_action
[task 2026-05-14T15:10:11.220+00:00] 15:10:11     INFO - Running main action method: uninstall
[task 2026-05-14T15:10:11.220+00:00] 15:10:11     INFO - Skipping uninstall for non-MSIX test
[task 2026-05-14T15:10:11.220+00:00] 15:10:11     INFO - Running post-action listener: _resource_record_post_action
[task 2026-05-14T15:10:11.220+00:00] 15:10:11     INFO - [mozharness: 2026-05-14 15:10:11.220203Z] Finished uninstall step (success)
[task 2026-05-14T15:10:11.221+00:00] 15:10:11     INFO - Running post-run listener: _resource_record_post_run
[task 2026-05-14T15:10:11.561+00:00] 15:10:11     INFO - Validating Perfherder data against D:\task_177876641914180\mozharness\external_tools\performance-artifact-schema.json
[task 2026-05-14T15:10:11.576+00:00] 15:10:11     INFO - PERFHERDER_DATA: {"framework": {"name": "job_resource_usage"}, "suites": [{"name": ".overall", "extraOptions": ["e10s", "taskcluster-Standard_F8s_v2"], "subtests": [{"name": "cpu_percent", "value": 21.169981703133217}, {"name": "io_write_bytes", "value": 5901435904}, {"name": "io.read_bytes", "value": 1756759040}, {"name": "io_write_time", "value": 18}, {"name": "io_read_time", "value": 50}]}, {"name": ".start-pulseaudio", "subtests": [{"name": "time", "value": 0.0}, {"name": "cpu_percent", "value": 0}]}, {"name": ".unlock-keyring", "subtests": [{"name": "time", "value": 0.0}, {"name": "cpu_percent", "value": 0}]}, {"name": ".install", "subtests": [{"name": "time", "value": 3.687000000000012}, {"name": "cpu_percent", "value": 12.864112903225806}]}, {"name": ".stage-files", "subtests": [{"name": "time", "value": 0.0}, {"name": "cpu_percent", "value": 0}]}, {"name": ".run-tests", "subtests": [{"name": "time", "value": 2618.75}, {"name": "cpu_percent", "value": 21.180071177772565}]}, {"name": ".uninstall", "subtests": [{"name": "time", "value": 0.0}, {"name": "cpu_percent", "value": 0}]}]}
[task 2026-05-14T15:10:11.578+00:00] 15:10:11     INFO - Total resource usage - Wall time: 2622s; CPU: Can't collect data; Read bytes: 1756759040; Write bytes: 5901435904; Read time: 50; Write time: 18
[task 2026-05-14T15:10:11.578+00:00] 15:10:11     INFO - TinderboxPrint: I/O read bytes / time<br/>1,756,759,040 / 50
[task 2026-05-14T15:10:11.578+00:00] 15:10:11     INFO - TinderboxPrint: I/O write bytes / time<br/>5,901,435,904 / 18
[task 2026-05-14T15:10:11.578+00:00] 15:10:11     INFO - TinderboxPrint: CPU idle<br/>16,529.0 (78.7%)
[task 2026-05-14T15:10:11.578+00:00] 15:10:11     INFO - TinderboxPrint: CPU system<br/>707.1 (3.4%)
[task 2026-05-14T15:10:11.578+00:00] 15:10:11     INFO - TinderboxPrint: CPU user<br/>3,739.1 (17.8%)
[task 2026-05-14T15:10:11.588+00:00] 15:10:11     INFO - start-pulseaudio - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2026-05-14T15:10:11.597+00:00] 15:10:11     INFO - unlock-keyring - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2026-05-14T15:10:11.603+00:00] 15:10:11     INFO - install - Wall time: 4s; CPU: 13%; Read bytes: 11714048; Write bytes: 54992896; Read time: 0; Write time: 0
[task 2026-05-14T15:10:11.609+00:00] 15:10:11     INFO - stage-files - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2026-05-14T15:10:11.781+00:00] 15:10:11     INFO - run-tests - Wall time: 2619s; CPU: 21%; Read bytes: 1745044992; Write bytes: 5846438912; Read time: 50; Write time: 18
[task 2026-05-14T15:10:11.799+00:00] 15:10:11     INFO - uninstall - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0

:mkennedy, since you are the author of the regressor, bug 2037638, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(mkennedy)

testResetFOG() only resets Glean; the legacy keyed scalar
browser.ui.interaction.preferences_paneGeneral['chooseFolder'] persists
across iterations when mochitest --verify reruns the test in the same
browser session, causing the cumulative-count assertions to fail on the
second iteration.

Assignee: nobody → mkennedy
Status: NEW → ASSIGNED
Flags: needinfo?(mkennedy)
Whiteboard: [recomp]

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

Pushed by mkennedy@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6ed989842511 https://hg.mozilla.org/integration/autoland/rev/57bf3a9eea46 Reset legacy telemetry scalars in downloads test to fix intermittent verify-mode failure r=mstriemer
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: