Closed Bug 2069286 Opened 2 months ago Closed 1 month ago

Intermittent [TV] browser/components/enterprisepolicies/tests/browser/browser_policies_about_policies.js | test_partially_applied_policy_is_flagged - The failure is not listed twice - 2 == 1

Categories

(Enterprise Products :: Firefox, defect, P5)

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail)

Attachments

(1 external file)

Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=590265185&repo=autoland&task=MbliJuWUTruKHUrO5zVY0Q.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/MbliJuWUTruKHUrO5zVY0Q/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/MbliJuWUTruKHUrO5zVY0Q/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2026-09-04T08:30:47.884+00:00] 08:30:47     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policies_about_policies.js | test_partially_applied_policy_is_flagged - The failure is listed against the policy it belongs to - "Preferences" == "Preferences"
[task 2026-09-04T08:30:47.884+00:00] 08:30:47     INFO - Buffered messages finished
[task 2026-09-04T08:30:47.886+00:00] 08:30:47     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policies_about_policies.js | test_partially_applied_policy_is_flagged - The failure is not listed twice - 2 == 1
[task 2026-09-04T08:30:47.886+00:00] 08:30:47     INFO - chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policies_about_policies.js:test_partially_applied_policy_is_flagged/<:41
[task 2026-09-04T08:30:47.886+00:00] 08:30:47     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:194
[task 2026-09-04T08:30:47.886+00:00] 08:30:47     INFO - async*chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policies_about_policies.js:test_partially_applied_policy_is_flagged:18
[task 2026-09-04T08:30:47.886+00:00] 08:30:47     INFO - async*chrome://mochikit/content/browser-test.js:handleTask:1526
[task 2026-09-04T08:30:47.886+00:00] 08:30:47     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1616
[task 2026-09-04T08:30:47.886+00:00] 08:30:47     INFO - async*chrome://mochikit/content/browser-test.js:Tester_execTest:1769
[task 2026-09-04T08:30:47.886+00:00] 08:30:47     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1500
[task 2026-09-04T08:30:47.886+00:00] 08:30:47     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1060
[task 2026-09-04T08:30:47.887+00:00] 08:30:47     INFO - promise callback*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus:1059
[task 2026-09-04T08:30:47.887+00:00] 08:30:47     INFO - chrome://mochikit/content/browser-test.js:nextTest:1405
[task 2026-09-04T08:30:47.887+00:00] 08:30:47     INFO - async*chrome://mochikit/content/browser-test.js:testScope/test_finish/<:2256
[task 2026-09-04T08:30:47.887+00:00] 08:30:47     INFO - chrome://mochikit/content/browser-test.js:run:2179
[task 2026-09-04T08:30:47.887+00:00] 08:30:47     INFO - Leaving test test_partially_applied_policy_is_flagged
[task 2026-09-04T08:30:47.888+00:00] 08:30:47     INFO - Entering test test_applied_policy_is_not_flagged
[task 2026-09-04T08:30:47.889+00:00] 08:30:47     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policies_about_policies.js | test_applied_policy_is_not_flagged - Sanity check the temporary file doesn't exist. - true == true
[task 2026-09-04T08:30:47.890+00:00] 08:30:47     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policies_about_policies.js | test_applied_policy_is_not_flagged - The policy is listed in the Active tab - {} == true
[task 2026-09-04T08:30:47.890+00:00] 08:30:47     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policies_about_policies.js | test_applied_policy_is_not_flagged - A policy that applied cleanly is not flagged - true == true
[task 2026-09-04T08:30:47.891+00:00] 08:30:47     INFO - Leaving test test_applied_policy_is_not_flagged
[task 2026-09-04T08:30:47.892+00:00] 08:30:47     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policies_about_policies.js | Engine is inactive at the end of the test
[task 2026-09-04T08:30:47.893+00:00] 08:30:47     INFO - checking for open popups
[task 2026-09-04T08:30:48.147+00:00] 08:30:48     INFO - GECKO(2183) | MEMORY STAT | vsize 11844MB | residentFast 640MB | heapAllocated 321MB
[task 2026-09-04T08:30:48.148+00:00] 08:30:48     INFO - checking for open sidebars
[task 2026-09-04T08:30:48.151+00:00] 08:30:48     INFO - checking window state
[task 2026-09-04T08:30:48.612+00:00] 08:30:48     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-09-04T08:30:48.613+00:00] 08:30:48     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policies_about_policies.js | profile uploaded in profile_browser_policies_about_policies-2.js.json
[task 2026-09-04T08:30:48.613+00:00] 08:30:48     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-09-04T08:30:48.614+00:00] 08:30:48     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policies_about_policies.js | finished in 1092ms
[task 2026-09-04T08:30:48.614+00:00] 08:30:48     INFO - TEST-INFO took 1095ms
[task 2026-09-04T08:30:48.636+00:00] 08:30:48     INFO - GECKO(2183) | Completed ShutdownLeaks collections in process 2183
[task 2026-09-04T08:30:48.636+00:00] 08:30:48     INFO - TEST-START | Shutdown
Keywords: regression
Regressed by: 2067123

Failures logged by an earlier run of the file are listed again, which is why we have it in --verify only. This needs a test-only fix:

add_setup(async function () {
  Cc["@mozilla.org/consoleAPI-storage;1"]
    .getService(Ci.nsIConsoleAPIStorage)
    .clearEvents();
});
Assignee: nobody → brismith

Hey Brian, were you going to fix this one?

Hi Mike, yes - let me open something for it, it should be a very small fix, I can tag you for review.

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: