check bundled JAR and XPI files for corruption
Categories
(Firefox :: General, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: rhelmer, Assigned: rhelmer)
References
Details
Attachments
(4 files, 5 obsolete files)
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Comment on attachment 9035095 [details]
Data Collection Review for Bug 1515712
Preliminary note:
When it comes to Linux distributions who build their own Firefox the channels they set do not necessarily map to our nightly/beta/release set. By having releaseChannelCollection: opt-out you are enabling collection for all non-mozilla channels. By turning corroborator off for beta and release by pref you are only turning them off for those two mozilla-built channels. It is possible that Linux distros may specifically disable corroborator or build using their own firefox.js or prefs.js that supercede the one you edit, but I don't expect them to keep up with all of our changes.
In short, you may be collecting data from more Firefox installs than you think with the code written the way it's currently written. From a Data Collection Review POV this is acceptable: it's Category 1 data. It just may be unintentional or unexpected.
Another note: since you state in Q9 that you're interested in the current prevalence of these errors it seems as though you could start these collections as expiring collections to serve that need and "upgrade" them to eternal collection pending the results of your analysis. Something to consider.
DATA COLLECTION REVIEW RESPONSE:
Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?
Yes. These collections are Telemetry so are documented in their definitions file (Scalars.yaml), the Probe Dictionary, and on telemetry.mozilla.org's Measurement Dashboards.
Is there a control mechanism that allows the user to turn the data collection on and off?
Yes. These collections are Telemetry so can be controlled through Firefox's Preferences. Also the functionality of the underlying feature can be controlled by the preference corroborator.enabled
. Setting that to false
disables the feature including the data collection.
If the request is for permanent data collection, is there someone who will monitor the data over time?
Yes, :rhelmer.
Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Category 1, Technical. (I suppose corrupt XPI detection counts are proportional to addon install counts which could be an argument for Category 2... but a seriously weak argument)
Is the data collection request for default-on or default-off?
Default on for all channels, though the feature (including its data collection) is presently disabled in beta and release.
Does the instrumentation include the addition of any new identifiers?
No.
Is the data collection covered by the existing Firefox privacy notice?
Yes.
Does there need to be a check-in in the future to determine whether to renew the data?
No. This collection is permanent.
Result: datareview+
Assignee | ||
Comment 6•6 years ago
|
||
(In reply to Chris H-C :chutten from comment #5)
Comment on attachment 9035095 [details]
Data Collection Review for Bug 1515712Preliminary note:
When it comes to Linux distributions who build their own Firefox the channels they set do not necessarily map to our nightly/beta/release set. By having releaseChannelCollection: opt-out you are enabling collection for all non-mozilla channels. By turning corroborator off for beta and release by pref you are only turning them off for those two mozilla-built channels. It is possible that Linux distros may specifically disable corroborator or build using their own firefox.js or prefs.js that supercede the one you edit, but I don't expect them to keep up with all of our changes.
This is a good point, thanks! I think that data from builds other than ours are going to be junk, since they won't be coming from us and will be unsigned.
In short, you may be collecting data from more Firefox installs than you think with the code written the way it's currently written. From a Data Collection Review POV this is acceptable: it's Category 1 data. It just may be unintentional or unexpected.
Another note: since you state in Q9 that you're interested in the current prevalence of these errors it seems as though you could start these collections as expiring collections to serve that need and "upgrade" them to eternal collection pending the results of your analysis. Something to consider.
So in Scalars.yaml I set:
expires: "71"
Is there anything else I need to do to make them expiring collections?
Comment 7•6 years ago
•
|
||
(In reply to Robert Helmer [:rhelmer] from comment #6)
Another note: since you state in Q9 that you're interested in the current prevalence of these errors it seems as though you could start these collections as expiring collections to serve that need and "upgrade" them to eternal collection pending the results of your analysis. Something to consider.
So in Scalars.yaml I set:
expires: "71"
Is there anything else I need to do to make them expiring collections?
We should probably cut another edition of the data review request that says you only want it until the end Firefox 70 for now, and I'll reply with a marginally-different data review response. This'll help future us understand what the final result was.
But yeah, as far as code goes, that's it.
When Nightly hits 70 you should (the service that does this is somewhat reliable) get an email about it expiring in the next version. And shortly thereafter a bug might be filed when the version increase simulation builds start running if you have an automated test that doesn't account for the possibility of your collection being expired. (collecting to an expired metric is a no-op. No errors, but snapshots won't have the accumulations). This'll help us remember to look at the data and make our conclusions, and see if the metric should be removed or renewed.
Comment 8•6 years ago
|
||
There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:rhelmer, could you have a look please?
Assignee | ||
Comment 9•6 years ago
|
||
We manually tested all the various options for signing omni JAR in bug 1533818 and everything looks good, going to get this patch in shape to land so we'll be ready once releng starts shipping signed JARs with Nightly.
Assignee | ||
Comment 10•6 years ago
|
||
Assignee | ||
Comment 11•6 years ago
|
||
Depends on D28245
Assignee | ||
Comment 12•6 years ago
|
||
Depends on D28246
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 13•6 years ago
|
||
re-requesting review per comment 7
Assignee | ||
Comment 14•6 years ago
|
||
Depends on D15123
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
Backed out 3 changesets (Bug 1515712) for build bustages at 'cpp_guard'.
Backout: https://hg.mozilla.org/integration/autoland/rev/785fe31ffe40f8e97afcbceae3fc4f29713934e4
Push that started the failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=superseded%2Csuccess%2Ctestfailed%2Cbusted%2Cexception&revision=a2d24fd1fd67761b25655f78df2473494f08977d&selectedJob=241550955
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=241550955&repo=autoland&lineNumber=3764
Assignee | ||
Comment 20•6 years ago
|
||
There is a stray line from a merge in the first patch which is fixed by the second, I'll just remove it entirely before re-landing, thanks!
Comment 21•6 years ago
|
||
Comment 22•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/718402b108aa
https://hg.mozilla.org/mozilla-central/rev/ac6c0bc531e3
https://hg.mozilla.org/mozilla-central/rev/6e082b675763
Assignee | ||
Comment 23•6 years ago
•
|
||
I went ahead and landed this ahead of the latest data review since it's a very minor change to an already-approved data review, see comment 7.
Assignee | ||
Updated•6 years ago
|
Comment 24•6 years ago
|
||
Comment 25•5 years ago
|
||
Doubling back on this.
Releng is close to deploying support for this, which would need uplift to be used in 68. I feel the risk is minimal but will approach that request once it is running sanely on Nightly.
Feel free to let me know if there are any product concerns over the timing.
Description
•