memory/info failed on system which ram is lower than 8G
Bug #1941854 reported by
Andy Chi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Expired
|
Undecided
|
Andy Chi | ||
OEM Priority Project |
Incomplete
|
Undecided
|
Andy Chi |
Bug Description
[I/O log]
Results:
/proc/meminfo reports: 7.16GiB
lshw reports: 8GiB
FAIL: Meminfo reports 905527296 less than lshw, a difference of 10.54%. Only a variance of 10% in reported memory is allowed.
[Reproduce Steps]
1. sudo checkbox-cli run com.canonical.
Why the tolerance is 10%? I have another machine with 16G ram, but 14.6 in meminfo. This test case can pass due to bigger denominator.
Related branches
~os369510/plainbox-provider-checkbox:lp#1941854
Rejected
for merging
into
plainbox-provider-checkbox:master
- Pierre Equoy: Needs Fixing
- Bin Li: Approve
- Sylvain Pineau: Pending requested
- Andy Chi: Pending requested
- Jonathan Cave: Pending requested
- Jeff Lane : Pending requested
-
Diff: 140 lines (+88/-3)1 file modifiedbin/memory_compare.py (+88/-3)
~binli/plainbox-provider-checkbox/+git/plainbox-provider-checkbox:extend-memory
Rejected
for merging
into
plainbox-provider-checkbox:master
- Bin Li: Disapprove
- Maciej Kisielewski (community): Needs Fixing
- Jeff Lane : Needs Information
-
Diff: 13 lines (+1/-1)1 file modifiedbin/memory_compare.py (+1/-1)
tags: | added: cbox-52 |
tags: | added: originate-from-1954987 |
tags: | added: originate-from-1958473 |
tags: | added: originate-from-1958337 |
tags: | added: originate-from-1938006 |
tags: | added: originate-from-1953698 |
tags: | added: originate-from-1958516 |
tags: | added: originate-from-1962148 |
tags: | added: originate-from-1974175 somerville |
tags: | added: originate-from-1976476 |
tags: | added: originate-from-1990217 |
tags: | added: thinkbook-15-g5 thinkbook-15-g5-3 |
To post a comment you must log in.
Thresholds are set here: https:/ /git.launchpad. net/plainbox- provider- checkbox/ tree/bin/ memory_ compare. py#n85
According to the git history they were established in 2014 and have served their purpose since then. Let me throw the question back to you, what do you think are reasonable thresholds?