Re-enable pingsender2
Categories
(Toolkit :: Telemetry, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: bholley, Assigned: nalexander)
References
(Depends on 1 open bug)
Details
(Whiteboard: [fidedi-ope])
Attachments
(2 files, 1 obsolete file)
We landed a Gecko-based replacement for pingsender in bug 1734262, and then turned it off due to updater breakage. We believe this breakage to be understood and fixed by bug 1737117, but Nick wanted to do some thinking/testing before we try flipping it on again.
Once we're ready, we should also verify that the issues in bug 1736796, bug 1736189, and bug 1736524 don't resurface. It seems like at least some of those may have been related to another issue, so we'll have to see. But I'll wait for the green light from Nick to dig into that.
Reporter | ||
Comment 1•3 years ago
|
||
Nick has next steps on letting us know when we're ready to proceed. No hurry on this one.
Reporter | ||
Comment 2•3 years ago
|
||
I think it would also be prudent to fix bug 1736910 before shipping this.
Assignee | ||
Comment 3•3 years ago
|
||
We're (finally) ready to move on this. I'll plan to land it in the Fx101 cycle.
Updated•3 years ago
|
Updated•3 years ago
|
Reporter | ||
Comment 4•3 years ago
|
||
Thanks Nick!
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 5•3 years ago
|
||
Many prerequisite tickets have landed, so let's try this again.
Comment 6•3 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:nalexander, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 9•3 years ago
|
||
Clearing NI since this has finally landed.
Assignee | ||
Comment 10•3 years ago
|
||
Something in pingsender2
is not encoding control characters correcting, leading to spiking error rates due to malformed JSON and dropped Telemetry. Note that this remains Nightly only, so the bad-data window is limited to the last few days and on Nightly only. We'll back this out while I investigate.
Assignee | ||
Comment 11•3 years ago
|
||
Relevant query with error rates: https://sql.telemetry.mozilla.org/queries/85929/source.
Comment 12•3 years ago
|
||
Backed out from mozilla-central at Nick's request: https://hg.mozilla.org/mozilla-central/rev/fb6a807eb4ab550f942a672447d560eec950f526
Assignee | ||
Comment 13•2 years ago
|
||
Re-using a ping server can cause problems when running multiple test
functions in a single test class. This should be safe since a
specific test cannot depend on a specific ping server being maintained
across test invocations.
While here, be careful to start the ping server before launching
Firefox: Firefox might send very early pings that, were we to race
startups, could be dropped.
Assignee | ||
Comment 14•2 years ago
|
||
Depends on D163130
Updated•2 years ago
|
Assignee | ||
Comment 15•2 years ago
|
||
Try build is percolating at:
https://treeherder.mozilla.org/jobs?repo=try&revision=fba73e190983534f2975038fe1aad886b032c1b8
Assignee | ||
Comment 16•2 years ago
|
||
I just remembered there's a helper for running detached correctly, namely: https://searchfox.org/mozilla-central/source/toolkit/components/backgroundtasks/BackgroundTasksRunner.cpp. Kagami, is there access to that API from JS? I don't see it.
Comment 17•2 years ago
•
|
||
It's in https://phabricator.services.mozilla.com/D160674 which is not landed yet. I can land it if you need it now. Just let me know.
Assignee | ||
Comment 18•2 years ago
|
||
(In reply to Kagami :saschanaz from comment #17)
It's in https://phabricator.services.mozilla.com/D160674 which is not landed yet. I can land it if you need it now. Just let me know.
Please do. Thanks!
Comment 19•2 years ago
|
||
Landing queued. BTW, if your intention is to use it on every platform then you should make sure it's only used at shutdown, otherwise it may cause zombie processes on Unix. (Just filed bug 1802559 for this.)
Comment 20•2 years ago
|
||
Comment 21•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6b640c6eaab6
https://hg.mozilla.org/mozilla-central/rev/6d023758cb32
Description
•