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)
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)
Assignee | ||
Comment 1•7 years ago
|
||
Yes, looks like it's related.
Assignee: nobody → alessio.placitelli
Flags: needinfo?(alessio.placitelli)
Priority: -- → P1
Updated•7 years ago
|
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-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
Shouldn't we be checking Services.prefs.getBoolPref(TelemetryUtils.Preferences.Unified, false) instead of gIsAndroid, just in case?
Attachment #8921495 -
Flags: review?(chutten) → review+
Assignee | ||
Comment 4•7 years ago
|
||
mozreview-review-reply |
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!
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•7 years ago
|
||
The try push for this lives here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2a703fc020333806376ca3849c2dfdce284c5ee8
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
Comment 8•7 years ago
|
||
Backed out 1 changesets (bug 1411093) for failing xpcshell in toolkit/components/telemetry/tests/unit/test_TelemetryLog.js r=backout on a CLOSED TREE.
https://hg.mozilla.org/integration/autoland/rev/8a5139bdc689e1924b302e4c2ec27b03abc05ce6
https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=2b8628840dfefdb68498e948f69fdb313b0037b6&filter-classifiedState=unclassified&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception
Flags: needinfo?(alessio.placitelli)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(alessio.placitelli)
Comment 10•7 years ago
|
||
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
Comment 11•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Reporter | ||
Updated•7 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•