Delay reporting of system metrics when there is no network while running g-i-s
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-report (Ubuntu) |
Fix Released
|
Undecided
|
Didier Roche-Tolomelli | ||
Bionic |
Fix Released
|
Undecided
|
Didier Roche-Tolomelli |
Bug Description
[Impact]
* When users are running gnome-initial-setup (first login), if they don't have any network configured, the metrics reports silently drop the request. We are thus ignoring those reports.
* There is now the willingness to have those reports included. The less intrusive way is to drop a pending report file and then having a service (only activated by a systemd path unit) started, doing exponential backoff until a network is detected. It doesn't impact thus CPU or network usage.
* Reusing the previously pending report ensure we really send that data that the user acked upon.
[Test Case]
* Disconnect from any network
* Run ubuntu-report send yes
* Check that there is a pending report in ~/.cache/
* Connect to a network
-> the file should disappear and be sent after a couple of minutes.
[Regression Potential]
* The feature has been heavily tested and backed by new tests.
* Any error is already ignored by gnome-initial-
---
We need to provide a way to still report them (save for later and collect via a service)
description: | updated |
Changed in ubuntu-report (Ubuntu): | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in ubuntu-report (Ubuntu Bionic): | |
assignee: | nobody → Didier Roche (didrocks) |
Uploaded in cosmic via:
ubuntu-report (1.1.0cosmic) cosmic; urgency=medium
* debian/gbp.conf: remove prebuild hook as exported in build-already now
ubuntu-report (1.1.0) bionic; urgency=medium
* Delay reporting of system metrics when there is no network.
A service then kicks in and try to report with exponential
backoff until success (LP: #1774354)
* Ensure that LANG is the user's language reported even in OEM
mode (LP: #1765672)
* Collect physical screen size (LP: #1771976)
* Incorrect regex for GPU info (LP: #1765614)