Closed Bug 1887331 Opened 9 months ago Closed 8 months ago

c-c perma toolkit/components/search/tests/xpcshell/test_search_config_v2_nimbus.js failure after bug 1886061

Categories

(Firefox :: Search, defect, P5)

defect

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox125 --- unaffected
firefox126 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 file)

Thunderbird doesn't have the STUDIES_OPT_OUT_PREF pref.

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Attachment #9392900 - Attachment description: Bug 1887331 - Don't assume app.shield.optoutstudies.enabled is set. r=Standard8 → Bug 1887331 - Fix test_search_config_v2_nimbus.js for Thunderbird. r=barret
Pushed by mkmelin@iki.fi: https://hg.mozilla.org/integration/autoland/rev/1403050b0776 Fix test_search_config_v2_nimbus.js for Thunderbird. r=barret
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Blocks: 1887821

The patch here causes the Normandy client to be included with Thunderbird, seemingly to fix some unit tests.

Was the introduction of the Normandy client and its associated functionality to Thunderbird intentional? To learn more about Normandy, see

Flags: needinfo?(mkmelin+mozilla)

It's intentional, though, ideally not desired as we don't use it. Unfortunately the reality is that the cross dependencies in other areas on things which are part of Normandy will be breaking tests.

Flags: needinfo?(mkmelin+mozilla)

If you don't use it, then why don't you disable the tests or fix up the implementation instead of adding Normandy? There is the AppConstants.MOZ_NORMANDY flag if you need to have conditional logic.

Adding a giant chunk of code such as Normandy, for it to be unused on Thunderbird seems risky. Tests that configure Normandy with the expectation of it to be working would be unrealistic. And because the code is included, it is not immediately obvious that the Normandy dependency is unused. Normandy is an optional component, e.g. it is not included on Android. So I would expect little pain from maintaining a Normandy-free Thunderbird.

P.S. I came across this change and was curious about the rationale; if you willingly made the change in an informed way, then by all means continue as is.

Thanks Rob,
Indeed it may after all be better to just disable the test.
The test itself is not fixable. The NormandyUtils.sys.mjs dependency is easily fixable, but, nimbus ExperimentManager.sys.mjs is using a lot from normandy and after that fixing dependencies gets a bit out of hand :(

Blocks: 1889710
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: