memory/info has started spewing invalid data on passing results

Bug #1084725 reported by Jeff Lane 
6
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.

Revision history for this message
Jeff Lane  (bladernr) wrote :
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Already fixed under a different bug number, so marking this as a duplicate even though it's older

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.