Closed Bug 1411093 Opened 7 years ago Closed 7 years ago

test_TelemetryLog.js is going to permafail when Gecko 58 merges to Beta on 2017-11-02

Categories

(Toolkit :: Telemetry, defect, P1)

All
Android
defect

Tracking

()

VERIFIED FIXED
mozilla58
Tracking Status
firefox-esr52 --- unaffected
firefox56 --- unaffected
firefox57 --- unaffected
firefox58 + verified

People

(Reporter: RyanVM, Assigned: Dexter)

References

Details

Attachments

(1 file)

[Tracking Requested - why for this release]: Permafailing tests on Android on the next merge day. I haven't bisected to prove it yet, but I strongly suspect bug 1406392 is the culprit. Can you please take a look, Alessio? https://treeherder.mozilla.org/logviewer.html#?job_id=139041974&repo=try toolkit/components/telemetry/tests/unit/test_TelemetryLog.js | JavaScript strict warning: resource://gre/modules/TelemetrySession.jsm, line 69: ReferenceError: reference to undefined property "_sessionStartDate" Unexpected exception TypeError: date is undefined at resource://gre/modules/TelemetryUtils.jsm:1 truncateToHours@resource://gre/modules/TelemetryUtils.jsm:1:2384 getMetadata@resource://gre/modules/TelemetrySession.jsm:69:110 getSessionPayload@resource://gre/modules/TelemetrySession.jsm:113:137 getPayload@resource://gre/modules/TelemetrySession.jsm:152:28 getPayload@resource://gre/modules/TelemetrySession.jsm:36:195 @test_TelemetryLog.js:37:13 _do_main@/storage/sdcard/tests/xpc/head.js:221:3 _execute_test@/storage/sdcard/tests/xpc/head.js:544:5 If you want to try reproducing locally, the first patch below will probably suffice. If not, try adding the second one on top of it. https://hg.mozilla.org/try/rev/aa2fb4ca91a4ff5568570e0ed97e5ca57fa42c37 https://hg.mozilla.org/try/rev/7c6f3531aec31573aa226c78ad6933631c5bf512
Flags: needinfo?(alessio.placitelli)
Yes, looks like it's related.
Assignee: nobody → alessio.placitelli
Flags: needinfo?(alessio.placitelli)
Priority: -- → P1
Comment on attachment 8921495 [details] Bug 1411093 - Set the correct Telemetry pref when running tests on Android. https://reviewboard.mozilla.org/r/192526/#review197704 Shouldn't we be checking Services.prefs.getBoolPref(TelemetryUtils.Preferences.Unified, false) instead of gIsAndroid, just in case?
Attachment #8921495 - Flags: review?(chutten) → review+
Comment on attachment 8921495 [details] Bug 1411093 - Set the correct Telemetry pref when running tests on Android. https://reviewboard.mozilla.org/r/192526/#review197704 Good point, changed that!
Pushed by alessio.placitelli@gmail.com: https://hg.mozilla.org/integration/autoland/rev/2b8628840dfe Set the correct Telemetry pref when running tests on Android. r=chutten
Flags: needinfo?(alessio.placitelli)
Pushed by alessio.placitelli@gmail.com: https://hg.mozilla.org/integration/autoland/rev/21c278929088 Set the correct Telemetry pref when running tests on Android. r=chutten
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: