Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:

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 ***