memory/info has started spewing invalid data on passing results
Bug #1084725 reported by
Jeff Lane
This bug report is a duplicate of:
Bug #1089046: scripts/memory_compare gives bad results on systems with more than one memory device.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
New
|
Undecided
|
Unassigned |
Bug Description
Ive been seeing a LOT of memory/info results that look like the following:
PASS: Difference is -4014804992 bytes (-93.48%) and less than the 10% threshold.
/proc/meminfo reports: 8309772288 kB
dmi reports: 4294967296 kB
At some point in recent history, we started getting negative numbers in the meminfo calculations and the script itself has no error handling to catch this sort of mistake.
To fix:
A: Figure out if the negative numbers are because of an output change in the files that the script looks at or an error in the script itself.
B: Add error checking so the script complains when it DOES encounter negative amounts.
To post a comment you must log in.
https:/ /certification. canonical. com/hardware/ 201206- 11410/submissio n/d57tJbS6jlkib tY/result/ test:memory% 252Finfo: __memory_ _