[SRU]: Broken collection in certain localization environments

Bug #2137483 reported by Kat Kuo
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-insights (Ubuntu)
Fix Released
Undecided
Unassigned
Questing
New
Undecided
Unassigned

Bug Description

[ Impact ]

 * Ubuntu Insights is not a user-facing application, so direct impact on the user is minimized. However, the bug fixed here is important for the developer side.

 * The localization standardization is not properly applied to commands executed by Ubuntu Insights when it generates its collection reports. In certain environments, particularly localization environments that use comma decimal delimiters, this results in error messages in logs and incorrect report generation. This means misleading reports being potentially generated.

[ Test Plan ]

   1. Ensure consent is set to true via `ubuntu-insights consent linux -s=true`.
   2. With a localization that uses comma separators for decimals, for instance FR, generate a report via `ubuntu-insights collect -f`.
   3. Check that there are no unexpected errors related to formatting, and check that the printed output makes sense, particularly for disk and memory size.
   4. Check that a generated report is present in `~/.cache/ubuntu-insights/linux/local/` and that its contents make sense, particularly for disk and memory size.

[ Where problems could occur ]

 * Collection localization standardization is not properly solved, and the reports are either still improperly generated in certain localization environments, or no reports are generated at all.

[ Other Info ]

 * As mentioned earlier, Ubuntu Insights is not a user-facing application. However, this issue breaks core functionality that the development team relies on for the collection of anonymized, consent-based telemetry on Ubuntu Desktop. Thus, though Questing is an interim release, an SRU is justified.

* Related upload for Resolute (26.04): https://bugs.launchpad.net/ubuntu/+source/ubuntu-insights/+bug/2135266

* GitHub repository: https://github.com/ubuntu/ubuntu-insights

Related branches

Kat Kuo (kkuo)
description: updated
Kat Kuo (kkuo)
description: updated
summary: - [SRU]: Broken collection in certain localization environments and broken
- upload unit
+ [SRU]: Broken collection in certain localization environments
Revision history for this message
Nick Rosbrook (enr0n) wrote :

These changes are already included in resolute, so marking the bug task accordingly.

Changed in ubuntu-insights (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.