Closed Bug 1949622 Opened 9 months ago Closed 8 months ago

Intermittent TV toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | CA is active when pref is set and cmd line arg is present -

Categories

(Toolkit :: General, defect, P5)

defect

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox135 --- unaffected
firefox136 --- unaffected
firefox137 --- fixed

People

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

References

(Regression)

Details

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

Attachments

(1 file)

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


task 2025-02-20T23:49:37.010Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | CA is inactive when pref and cmd line arg are missing - 
[task 2025-02-20T23:49:37.011Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | "Enabled" passed to getIndividualPrefName() is valid - 
[task 2025-02-20T23:49:37.012Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | CA is inactive when pref is set but cmd line arg is missing - 
[task 2025-02-20T23:49:37.012Z] 23:49:37     INFO - Buffered messages finished
[task 2025-02-20T23:49:37.014Z] 23:49:37     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | CA is active when pref is set and cmd line arg is present - 
[task 2025-02-20T23:49:37.014Z] 23:49:37     INFO - Stack trace:
[task 2025-02-20T23:49:37.014Z] 23:49:37     INFO - chrome://mochikit/content/browser-test.js:test_ok:1626
[task 2025-02-20T23:49:37.014Z] 23:49:37     INFO - chrome://mochitests/content/browser/toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js:test_ca_active:67
[task 2025-02-20T23:49:37.014Z] 23:49:37     INFO - chrome://mochikit/content/browser-test.js:handleTask:1170
[task 2025-02-20T23:49:37.014Z] 23:49:37     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1242
[task 2025-02-20T23:49:37.014Z] 23:49:37     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1383
[task 2025-02-20T23:49:37.014Z] 23:49:37     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1153
[task 2025-02-20T23:49:37.014Z] 23:49:37     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-20T23:49:37.015Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | properly unset cmd line arg value - 
[task 2025-02-20T23:49:37.016Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2025-02-20T23:49:37.017Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | CA is inactive when disabled by enterprise policy pref - 
[task 2025-02-20T23:49:37.017Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2025-02-20T23:49:37.018Z] 23:49:37     INFO - GECKO(1488) | console.log: "_cleanup from onBeforeAddons"
[task 2025-02-20T23:49:37.018Z] 23:49:37     INFO - GECKO(1488) | console.log: "_cleanup from onProfileAfterChange"
[task 2025-02-20T23:49:37.019Z] 23:49:37     INFO - GECKO(1488) | console.log: "_cleanup from onBeforeUIStartup"
[task 2025-02-20T23:49:37.019Z] 23:49:37     INFO - GECKO(1488) | console.log: "_cleanup from onAllWindowsRestored"
[task 2025-02-20T23:49:37.020Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | CA is active when enabled by enterprise policy pref - 
[task 2025-02-20T23:49:37.021Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | clipboard enabled by default - 
[task 2025-02-20T23:49:37.022Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | drag_and_drop enabled by default - 
[task 2025-02-20T23:49:37.023Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | file_upload enabled by default - 
[task 2025-02-20T23:49:37.023Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | print enabled by default - 
[task 2025-02-20T23:49:37.024Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | clipboard plain_text_only on by default - 
[task 2025-02-20T23:49:37.025Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | drag_and_drop plain_text_only on by default - 
[task 2025-02-20T23:49:37.025Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | "Enabled" passed to getIndividualPrefName() is valid - 
[task 2025-02-20T23:49:37.026Z] 23:49:37     INFO - Leaving test bound test_ca_active
[task 2025-02-20T23:49:37.026Z] 23:49:37     INFO - Entering test bound test_ca_enterprise_config
[task 2025-02-20T23:49:37.027Z] 23:49:37     INFO - TEST-PASS | toolkit/components/contentanalysis/tests/browser/browser_content_analysis_policies.js | Sanity check the temporary file doesn't exist. - true == true - 

Keywords: regression
Regressed by: 1944395
See Also: → 1889094

:gstoll, since you are the author of the regressor, bug 1944395, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(gstoll)

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

I'm pretty sure the listed bug couldn't have caused this regression. :handyman - do you think this could be similar to the issue in bug 1948449?

Flags: needinfo?(gstoll) → needinfo?(davidp99)
See Also: → 1948449

It's a test-verify failure but I doubt it's related to bug 1948449. The policies tests are pretty self-contained and this fails on the second run. Have you tried to reproduce it locally by running with --verify? I don't see anything in the code that is likely to be an issue but some things (like the cleanup function doing an is check) could be causing things to be inconsistent between runs.

Flags: needinfo?(davidp99)
Assignee: nobody → gstoll
Status: NEW → ASSIGNED

This makes the test pass when run twice in a row.

Pushed by gstoll@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0acc1a72972d unlock prefs after running test r=dlp-reviewers,handyman
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: