** Description changed:

+ == 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 a52f236917f51a4fdc54873cc6ca33e24df1a41f
  Author: Fabien Malfoy <fmal...@scaleway.com>
  Date:   Tue Sep 14 12:16:09 2021 +0200
  
-     core-helper: Quote the system-info.version value in YAML metrics
+     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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1943623

Title:
  system-info.version in YAML output needs ' ' quoting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/stress-ng/+bug/1943623/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to