8ea00b2 Add system information parsing and comparison

Authored and Committed by adamwill 7 years ago
1 file changed. 289 lines added. 2 lines removed.
    Add system information parsing and comparison
    
    *fanfare* here it is! The long awaited...well, by me anyway...
    system information analysis stuff.
    
    A few weeks back we changed openQA to gather some basic system
    information after the default-boot-and-install test completes:
    df, free and top output, and lists of installed packages and
    running services. Just generating this info and letting it
    sit there in openQA isn't much use, though: the plan was always
    to have check-compose look at it and see if anything changed
    significantly. And now it does!
    
    Basically we add a bunch of parser functions which take the
    information files and try to spot changes we might care about,
    plus a bit of infrastructure for finding 'pairs' of jobs which
    have the info files and running the parser functions on them
    and stuffing the resulting text into the report.
    
    We may need to tweak the details of the comparisons a bit, but
    I think this is fairly good for a first cut. Only the 'top'
    stuff is a bit subject to printing out stuff that makes you
    go 'meh'. I'll tweak it if necessary.
    
        
file modified
+289 -2