[telemetry] Record OEM installation mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
Medium
|
Didier Roche-Tolomelli | ||
Bionic |
Fix Released
|
Medium
|
Didier Roche-Tolomelli |
Bug Description
[Impact]
* On release week, we had to remove the "OEM" telemetry data report as it was making ubiquity crash. After investigation, we saw that we were looking for debconf key oem-config/
* However, non OEM installation is removing oem-config, which leads to debconf not knowing about this key and crashing.
* We reintroduce here this functionality cut on the release day, as OEM is an useful metrics on the telemetry data. For instance, multiple machines will have the same installation information and we need to triage them.
[Test Case]
Do it for OEM and non OEM mode, on ubuntu and kubuntu:
* Start an 18.04 live session and install ubiquity
* Start ubiquity
* Complete the installation and close ubiquity without rebooting the session
* Check that the boolean associated with the "OEM" key reports correctly if you were doing an OEM or a non OEM installation
[Regression Potential]
* We are now using a value from the base installer class, common to all UIs. The installer will crash if the usage is invalid, but in a reproducible way.
----
Telemetry data should collect OEM installation mode. It is defined by the debconf key oem-config/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubiquity (not installed)
ProcVersionSign
Uname: Linux 4.15.0-15-generic x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
Date: Fri Apr 20 14:06:05 2018
InstallCmdLine: file=/cdrom/
InstallationDate: Installed on 2014-07-15 (1375 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
SourcePackage: ubiquity
UpgradeStatus: Upgraded to bionic on 2018-03-24 (26 days ago)
Related branches
- Iain Lane: Approve
-
Diff: 37 lines (+9/-0) (has conflicts)2 files modifieddebian/changelog (+7/-0)
ubiquity/telemetry.py (+2/-0)
- Jean-Baptiste Lallement: Approve
-
Diff: 75 lines (+13/-0)5 files modifiedubiquity/frontend/debconf_ui.py (+1/-0)
ubiquity/frontend/gtk_ui.py (+1/-0)
ubiquity/frontend/kde_ui.py (+1/-0)
ubiquity/frontend/noninteractive.py (+1/-0)
ubiquity/telemetry.py (+9/-0)
- Jean-Baptiste Lallement: Approve
-
Diff: 75 lines (+13/-0)5 files modifiedubiquity/frontend/debconf_ui.py (+1/-0)
ubiquity/frontend/gtk_ui.py (+1/-0)
ubiquity/frontend/kde_ui.py (+1/-0)
ubiquity/frontend/noninteractive.py (+1/-0)
ubiquity/telemetry.py (+9/-0)
description: | updated |
Changed in ubiquity (Ubuntu Bionic): | |
status: | New → Triaged |
Changed in ubiquity (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Didier Roche (didrocks) |
Changed in ubiquity (Ubuntu Bionic): | |
assignee: | nobody → Didier Roche (didrocks) |
importance: | Undecided → Medium |
This bug was fixed in the package ubiquity - 18.10.3
---------------
ubiquity (18.10.3) cosmic; urgency=medium
* Don't record telemetry data when doing stage 2 (user mode) as it keeps an
unused /target directory (LP: #1773321) Also, record OEM types
(LP: #1765693)
* Switch to use uptime instead of time.time() which is sensitive to
BIOS time reset after NTP sync, leading to negative values.
(LP: #1771966)
* Ignore .git file from built package and remove .bzr artefacts
* update manifest
-- Didier Roche <email address hidden> Mon, 28 May 2018 16:02:33 +0200