Closed
Bug 1405614
(telemetry-update_parquet-beta_version)
Opened 8 years ago
Closed 8 years ago
Firefox Beta doesn't report the beta suffix in the environment's build info
Categories
(Toolkit :: Telemetry, defect, P1)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla58
| Tracking | Status | |
|---|---|---|
| firefox58 | --- | fixed |
People
(Reporter: rhubscher, Assigned: Dexter)
References
Details
Attachments
(1 file)
If you look at the list of versions here: https://sql.telemetry.mozilla.org/queries/47012/source
You will see that the nightly channel provides the full version number (57.0a1 and 58.0a1) while for beta the version number doesn't contain it.
We would need to have it for beta in order to differentiate records between beta versions without having to fetch first the list of build IDs for that version.
| Assignee | ||
Comment 1•8 years ago
|
||
This is not a bug in the dataset, but rather a different behaviour in the two builds:
- Nightly is reporting the "a1" suffix for *all* the Nightly builds, and it's adding that to both the "version" [1] and "displayVersion" [2].
- Beta is only adding the beta suffix (e.g. "b9") to the "displayVersion", while "version" still shows up without the suffix.
The fix here is either changing the behaviour in the client or adding the "displayVersion" field to the dataset.
[1] - https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/data/environment.html
[2] - https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/data/common-ping.html
Priority: -- → P2
Summary: The telemetry update_parquet dataset doesn't provide the beta version number while doing it for nightly → Firefox Beta doesn't report the beta suffix in the environment's build info
| Reporter | ||
Comment 2•8 years ago
|
||
Thank you for your answer.
If possible I would be in favour of adding app_display_version to the dataset for the three places:
- target_display_version
- previous_display_version
- environment.build.display_version
If not I would need to first do a request on main_summary to findout the build IDs for the given display_version and then use that list of build IDs to query the update_parquet dataset.
| Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Rémy Hubscher (:natim) from comment #2)
> Thank you for your answer.
>
> If possible I would be in favour of adding app_display_version to the
> dataset for the three places:
>
> - target_display_version
> - previous_display_version
> - environment.build.display_version
We can only add the "displayVersion" field from the common ping format to the dataset without any additional client change. I'm not sure we have that piece of information in the update blob (that powers the previous/target sections).
@mhowell, do you know if the "update packet" for Beta contains the information about the beta suffix? e.g. b1 for 57.0b1?
> If not I would need to first do a request on main_summary to findout the build IDs for the given display_version and then use that list of build IDs to query the update_parquet dataset.
That would not be ideal. I think there should be a dataset that contains build id/version information.
Flags: needinfo?(mhowell)
Comment 4•8 years ago
|
||
The update ping does have application.displayVersion, and it does include the correct beta number. We don't get the beta number of the previous version, so if that's needed it would have to be looked up by build ID.
Flags: needinfo?(mhowell)
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → alessio.placitelli
Priority: P2 → P1
| Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Matt Howell [:mhowell] from comment #4)
> The update ping does have application.displayVersion, and it does include
> the correct beta number. We don't get the beta number of the previous
> version, so if that's needed it would have to be looked up by build ID.
After having a chat with Matt, turns out the update MAR (what I called "update packet") does not contain the "b2" suffix. Instead, it reports the displayVersion in a different form: "57.0 Beta 2".
Comment 6•8 years ago
|
||
Mapping build ids to version strings is one of the stated goals of the Buildhub project: https://github.com/mozilla-services/buildhub/
Now, it's a service not a dataset, so it's not something you can inner join in re:dash. Maybe a feature request for a parquet product from buildhub would not be out of line?
Or maybe we should derive our own utility dataset?
| Reporter | ||
Comment 7•8 years ago
|
||
Yes using buildhub is actually my plan B :)
| Assignee | ||
Comment 8•8 years ago
|
||
(In reply to Rémy Hubscher (:natim) from comment #7)
> Yes using buildhub is actually my plan B :)
If you need other analyses that require the specific beta information for the target update or the previous update, this is your best option: any change to the client code will take a bit to propagate, so you won't see 57 data with the different build suffixes.
(In reply to Chris H-C :chutten from comment #6)
> Mapping build ids to version strings is one of the stated goals of the
> Buildhub project: https://github.com/mozilla-services/buildhub/
>
> Now, it's a service not a dataset, so it's not something you can inner join
> in re:dash. Maybe a feature request for a parquet product from buildhub
> would not be out of line?
I think that would ideal, since it might be useful for other cases as well.
| Assignee | ||
Comment 9•8 years ago
|
||
| Assignee | ||
Comment 10•8 years ago
|
||
:natim, adding "target_display_version" and "previous_display_version" would ride the trains, it will definitely not make it to 57. Also, looks like the issue from comment 9 is actionable and can be used to fix the problem in a much cleaner way.
Can we close this bug?
Flags: needinfo?(rhubscher)
| Reporter | ||
Comment 11•8 years ago
|
||
Unfortunately the solution of comment 9 is not sufficient for querying the ready state for a give version.
It is fine for me if it can ride the trains.
Flags: needinfo?(rhubscher)
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 13•8 years ago
|
||
data-review?
Rebecca, this bug adds a new field to the "update" ping with reason "ready", the "targetDisplayVersion". This is needed because, for certain channels, the suffix information (e.g. the "Beta 1" part in "58.0 Beta 1") is not available as part of the "targetVersion" field. You can find the documentation update in the attached patch (I wasn't able to add you as a reviewer there).
Flags: needinfo?(rweiss)
Comment 14•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8917263 [details]
Bug 1405614 - Add 'displayVersion' to the update ping with reason 'ready'.
https://reviewboard.mozilla.org/r/188276/#review193576
The update manager knows the target display version? Nice.
Attachment #8917263 -
Flags: review?(chutten) → review+
Comment 15•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8917263 [details]
Bug 1405614 - Add 'displayVersion' to the update ping with reason 'ready'.
https://reviewboard.mozilla.org/r/188276/#review193636
::: toolkit/components/telemetry/docs/data/update-ping.rst:21
(Diff revision 1)
> payload: {
> reason: <string>, // "ready", "success"
> targetChannel: <string>, // "nightly" (only present for reason = "ready")
> targetVersion: <string>, // "56.01a" (only present for reason = "ready")
> targetBuildId: <string>, // "20080811053724" (only present for reason = "ready")
> + targetDisplayVersion: <string>, // "56.01a" (only present for reason = "ready")
This looks like a typo for "56.0a1", but since this string was already here for other fields I'm not sure...
Attachment #8917263 -
Flags: review?(mhowell) → review+
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 17•8 years ago
|
||
| mozreview-review-reply | ||
Comment on attachment 8917263 [details]
Bug 1405614 - Add 'displayVersion' to the update ping with reason 'ready'.
https://reviewboard.mozilla.org/r/188276/#review193636
> This looks like a typo for "56.0a1", but since this string was already here for other fields I'm not sure...
Ha! Good catch! Just fixed it )
| Assignee | ||
Comment 18•8 years ago
|
||
data-r? :francois, in case you can get there before Rebecca does ;) Details are in comment 13!
Flags: needinfo?(francois)
Comment 19•8 years ago
|
||
(In reply to Alessio Placitelli [:Dexter] from comment #18)
> data-r? :francois, in case you can get there before Rebecca does ;) Details
> are in comment 13!
This is Category 1 data.
datareview+
Flags: needinfo?(rweiss)
Flags: needinfo?(francois)
Comment 20•8 years ago
|
||
Pushed by alessio.placitelli@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/dab164aaabfd
Add 'displayVersion' to the update ping with reason 'ready'. r=chutten,mhowell
Comment 21•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
| Assignee | ||
Comment 22•8 years ago
|
||
The schema for this ping addition is being updated at https://github.com/mozilla-services/mozilla-pipeline-schemas/pull/93
You need to log in
before you can comment on or make changes to this bug.
Description
•