Closed Bug 1697781 Opened 4 years ago Closed 4 years ago

Perma test_FeatureGate.js | testAllDefaultsMatchSettings - [testAllDefaultsMatchSettings : 440] Feature browser.startup.homepage.abouthome_cache.enabled should match runtime value. - true == false when Gecko 88 merges to Beta on 2021-03-22

Categories

(Firefox :: Settings UI, defect)

defect

Tracking

()

VERIFIED FIXED
88 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox86 --- unaffected
firefox87 --- unaffected
firefox88 + verified

People

(Reporter: aryx, Assigned: aryx)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[task 2021-03-11T11:39:59.252Z] 11:39:59     INFO -  TEST-PASS | toolkit/components/featuregates/test/unit/test_FeatureGate.js | testAllHaveDefault - [testAllHaveDefault : 425] Feature webrtc-global-mute-toggles should have a non-null default value! - false != null
[task 2021-03-11T11:39:59.252Z] 11:39:59     INFO -  (xpcshell/head.js) | test run_next_test 7 pending (2)
[task 2021-03-11T11:39:59.252Z] 11:39:59     INFO -  (xpcshell/head.js) | test testAllHaveDefault finished (2)
[task 2021-03-11T11:39:59.252Z] 11:39:59     INFO -  toolkit/components/featuregates/test/unit/test_FeatureGate.js | Starting testAllDefaultsMatchSettings
[task 2021-03-11T11:39:59.252Z] 11:39:59     INFO -  (xpcshell/head.js) | test testAllDefaultsMatchSettings pending (2)
[task 2021-03-11T11:39:59.252Z] 11:39:59     INFO -  (xpcshell/head.js) | test run_next_test 7 finished (2)
[task 2021-03-11T11:39:59.252Z] 11:39:59  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/featuregates/test/unit/test_FeatureGate.js | testAllDefaultsMatchSettings - [testAllDefaultsMatchSettings : 440] Feature browser.startup.homepage.abouthome_cache.enabled should match runtime value. - true == false
[task 2021-03-11T11:39:59.252Z] 11:39:59     INFO -  /builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/featuregates/test/unit/test_FeatureGate.js:testAllDefaultsMatchSettings:440
[task 2021-03-11T11:39:59.252Z] 11:39:59     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_do_main:239
[task 2021-03-11T11:39:59.252Z] 11:39:59     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_execute_test:567
Flags: needinfo?(bigiri)

I've tested this on Linux and I'm not seeing these errors. How do I reproduce this?

Flags: needinfo?(bigiri) → needinfo?(aryx.bugmail)

Looking at the push from comment 0, the failure hits platforms except shippable (= optimized based on profiling. The preference from the failure message has a value based on its state as NIGHTLY_BUILD. It might be worth checking the differences for these.

Regarding building & testing: See the instructions how to run this on Try. I have never built beta builds locally except artifact ones. The Firefox CI can provide more info from the RelEng side.

Flags: needinfo?(aryx.bugmail)

The DevEdition failures are for dom.forms.inputmode where FeatureGate reports the unexpected value true.
Linux asan and debug are for browser.startup.homepage.abouthome_cache.enabled with unexpected true.

dom.forms.inputMode definition:
default-value = {default = true, android = true, release = false, beta = false}
The preference is true for Nightly and Android (source). The @IS_NOT_RELEASE_OR_BETA@ means "is not release or beta repository" (DevEdition and the update channel "aurora" are rebranded Betas these days).
This causes targetingFacts to beta as false because it evaluates the update channel.

dom.forms.inputmode is false outside Nightly (Developer Edition is a
rebrand of beta with a different update channel configured and
RELEASE_OR_BETA checks are checks against this underlying configuration).

Linux x64 debug and asan builds use 'nightly' as update channel.

Assignee: nobody → aryx.bugmail
Status: NEW → ASSIGNED
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/caddf6de37fe Adjust FeatureGate default for dom.forms.inputmode on DevEdition and check AppConstants.NIGHTLY_BUILD instead of update channel. r=preferences-reviewers,jaws
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: