geckoview-only perma-fail services/common/tests/unit/test_uptake_telemetry.js | xpcshell return code: 0
Categories
(GeckoView :: General, defect, P5)
Tracking
(firefox68 wontfix, firefox69 wontfix, firefox70 fixed)
People
(Reporter: intermittent-bug-filer, Assigned: gbrown)
References
Details
Attachments
(2 files)
Filed by: gbrown [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=248020253&repo=try
Full log: https://queue.taskcluster.net/v1/task/MvCAUqJ-S5e7-a0MO9Jw7A/runs/0/artifacts/public/logs/live_backing.log
When Android xpcshell is run against the geckoview apk, some tests fail -- this is one of them.
Assignee | ||
Comment 1•5 years ago
|
||
This fails because geckoview sets toolkit.telemetry.eventping.enabled=false:
Then events are discarded at:
Assignee | ||
Comment 2•5 years ago
|
||
Setting toolkit.telemetry.eventping.enabled=true resolves this test failure as well as several other geckoview-only xpcshell test failures in services/common and toolkit/components/telemetry.
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
This pref defaults to true, but geckoview builds set it to false. Several tests assume
this pref is set; some android xpcshell tests currently fail when run against the geckoview apk
for this reason. Setting the pref in the test profile means that geckoview tests will run
with a different pref value than geckoview would normally use, but aligns the geckoview
test environment with firefox. (An alternative would be to skip geckoview tests that rely
on the pref.)
Assignee | ||
Updated•5 years ago
|
Pushed by gbrown@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/99683e1207c4 Always set toolkit.telemetry.eventping.enabled during unit tests; r=snorp
Comment 6•5 years ago
|
||
bugherder |
Comment 7•5 years ago
|
||
Geoff, should we uplift this test pref fix to GV 69 Beta? Or are these xpcshell tests not running for GV 69 Beta?
Assignee | ||
Comment 8•5 years ago
|
||
Currently all xpcshell tests run against the fennec apk, even on trunk (bug 1553225), even on Android 7.0 x86_64: There's more work to do before we can run against the geckoview apk and take advantage of this pref change. I think we can let this ride the trains.
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
(In reply to Pulsebot from comment #5)
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/99683e1207c4
Always set toolkit.telemetry.eventping.enabled during unit tests; r=snorp
This is not working! Telemetry-dependent tests still fail against geckoview builds. If I make the same pref change in mobile/android/app/geckoview-prefs.js, tests pass.
Assignee | ||
Comment 10•5 years ago
|
||
I updated the wrong profile directory!
Assignee | ||
Comment 11•5 years ago
|
||
My previous attempt updated the wrong test profile, which does not apply to xpcshell tests.
This applies the pref override to xpcshell tests only, the only place we need it.
Comment 12•5 years ago
|
||
Pushed by gbrown@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d71845cdab45 Always set toolkit.telemetry.eventping.enabled during xpcshell tests; r=snorp
Comment 13•5 years ago
|
||
bugherder |
Description
•