Closed Bug 1554326 Opened 5 years ago Closed 5 years ago

geckoview-only perma-fail services/common/tests/unit/test_uptake_telemetry.js | xpcshell return code: 0

Categories

(GeckoView :: General, defect, P5)

Unspecified
Android
defect

Tracking

(firefox68 wontfix, firefox69 wontfix, firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
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.

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.

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: nobody → gbrown
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/99683e1207c4
Always set toolkit.telemetry.eventping.enabled during unit tests; r=snorp
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70

Geoff, should we uplift this test pref fix to GV 69 Beta? Or are these xpcshell tests not running for GV 69 Beta?

Flags: needinfo?(gbrown)
OS: All → Android

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.

Flags: needinfo?(gbrown)

(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.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

I updated the wrong profile directory!

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.

Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d71845cdab45
Always set toolkit.telemetry.eventping.enabled during xpcshell tests; r=snorp
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: