Closed Bug 2081431 Opened 1 month ago Closed 1 month ago

test_live_policy_SecurityLogging.js crashes on Thunderbird

Categories

(Enterprise Products :: Thunderbird, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jreitano, Assigned: jreitano)

References

(Blocks 2 open bugs)

Details

Attachments

(1 external file)

test_live_policy_SecurityLogging.js crashes on every Thunderbird enterprise platform, debug and opt, now that bug 2079734 schedules the live/ xpcshell manifest:

PROCESS-CRASH | Missing chrome or resource URLs: moz-src:///browser/components/downloads/DownloadsTelemetry.enterprise.sys.mjs [@ mozilla::net::CheckForBrokenChromeURL] | toolkit/components/enterprisepolicies/tests/xpcshell/live/test_live_policy_SecurityLogging.js

Parsed log: https://treeherder.mozilla.org/logviewer?job_id=599253916&repo=enterprise-main&task=MJscsar4SvKLkcLjhZd_dw.0
Test dashboard: https://tests.firefox.dev/test.html?test=toolkit/components/enterprisepolicies/tests/xpcshell/live/test_live_policy_SecurityLogging.js

The test imports DownloadsTelemetry.enterprise.sys.mjs, which only ships with Firefox, and the SecurityLogging policy does not exist on Thunderbird. This is the same cause as bug 2080095 for test_live_policy_Sync.js, and the same fix applies: limit the test to buildapp == 'browser' in live/xpcshell.toml.

Authored by https://github.com/johnreitano
https://github.com/mozilla/enterprise-firefox/commit/ef934efbe94c3703b374a7eaaa7ded03c9e0bcb7
[enterprise-main] Bug 2081431 - Run SecurityLogging live policy test only on browser (#1668)

(via GitHub webhook, authenticated as shared-secret)

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED

Authored by https://github.com/johnreitano
https://github.com/mozilla/enterprise-firefox/commit/ef934efbe94c3703b374a7eaaa7ded03c9e0bcb7
[enterprise-main] Bug 2081431 - Run SecurityLogging live policy test only on browser (#1668)

(via GitHub webhook, authenticated as shared-secret)

Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: