system-info.version in YAML output needs ' ' quoting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
stress-ng (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Colin Ian King | ||
Hirsute |
Fix Released
|
Undecided
|
Colin Ian King | ||
Impish |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
== SRU Justification HIRSUTE/FOCAL ==
[Impact]
The system information YAML output from stress-ng is not quoting the system-info.version data. If this contains # then it really confuses YAML parsers.
[The Fix]
Upstream fix:
commit a52f236917f51a4
Author: Fabien Malfoy <email address hidden>
Date: Tue Sep 14 12:16:09 2021 +0200
core-helper: Quote the system-info.version value in YAML metrics
[Test Plan]
Run:
stress-ng -Y output.yaml --cpu 1 -t 1
Examine the output.yaml file for the system-info version: field. Without the fix it is not in quotes. With the fix it is in ' ' quotes, e.g.:
version: '#12 SMP Thu Jul 22 08:02:41 UTC 2021'
[Where problems could occur]
This changes just the yaml output and makes it now parsable. Problems may occur if folk have put in a workaround to parse the original buggy output.
The change does not affect core stress-ng functionality, so regression potential of breaking stress-ng is very small.
description: | updated |
Changed in stress-ng (Ubuntu Impish): | |
status: | Fix Committed → Fix Released |
Fixed in stress-ng V0.13.02 (impish)