Bug 1395483

Summary: libhugetlbfs counters.sh test fail on numa systems.
Product: Red Hat Enterprise Linux 7 Reporter: Wang Shu <shuwang>
Component: libhugetlbfsAssignee: Petr Oros <poros>
Status: CLOSED DUPLICATE QA Contact: Wang Shu <shuwang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: cye, liwan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-29 07:35:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Wang Shu 2016-11-16 02:34:55 UTC
Description of problem:
libhugetlbfs counters.sh test fail on numa systems.

How reproducible:
easy to reproduce on 2 nodes systems

Steps to Reproduce:
1. provision a 2 nodes system
2. download and build libhugetlbfs-2.16-12.el7.src.rpm
3. export LD_LIBRARY_PATH=~/rpmbuild/BUILD/libhugetlbfs-2.16/obj64/
4. while true; do ~/rpmbuild/BUILD/libhugetlbfs-2.16/tests/obj64/counters || break; done

Actual results:
counters will fail in a few secs
Starting testcase "/root/rpmbuild/BUILD/libhugetlbfs-2.16/tests/obj64/counters", pid 30611
Base pool size: 0
Clean...
OK.
Untouched, shared...
OK.
Untouched, private...
OK.
Touched, shared...
OK.
Touched, private...
OK.
Base pool size: 1
Clean...
OK.
Untouched, shared...
OK.
Untouched, private...
OK.
Touched, shared...
OK.
Touched, private...
FAIL	Line 361: Bad HugePages_Total: expected 1, actual 2

Additional info:
1. Found this issue with beaker jobs
https://beaker.engineering.redhat.com/recipes/3231202#task47649046
https://beaker.engineering.redhat.com/recipes/3254386
counters.sh (2M: 32):	PASS
counters.sh (2M: 64):	FAIL Line 361: Bad HugePages_Total: expected 1, actual 2
2. Reproduced with kernel-3.10.0-514.el7 on 3.10.0-514.el7.x86_64, amd-dinar-04.lab.bos.redhat.com, nec-ex5800-01.rhts.eng.pek2.redhat.com
3. Did not reproduce this issue with one node systems.

Comment 1 Li Wang 2016-11-29 07:35:25 UTC

*** This bug has been marked as a duplicate of bug 1006253 ***