canonical / checkbox

Checkbox is a testing framework used to validate device compatibility with Ubuntu Linux. It’s the testing tool developed for the purposes of the Ubuntu Certification program.
https://checkbox.readthedocs.io
GNU General Public License v3.0
32 stars 48 forks source link

Make memory/info more smart #1377

Open amalinowski75 opened 3 months ago

amalinowski75 commented 3 months ago

Enhancement Proposal

On some systems memory/info test fails like that:

CategoryMemory testsIO LogResults:
    /proc/meminfo reports:  7.10GiB
    lshw reports:   8GiB

FAIL: Meminfo reports 970665984 less than lshw, a difference of 11.30%. Only a variance of 10% in reported memory is allowed.

Is it a real fail? Hardcoded 10% seems to be not the best option. The memory consumption depends on system configuration, hardware components, etc. It should taken into account IMO.

syncronize-issues-to-jira[bot] commented 3 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1515.

This message was autogenerated