canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #05842
[Bug 2089768] Re: hugemmap10 from ubuntu_ltp_stable.hugetlb failed on Noble
This failure is expected if the tree includes upstream commit
003af997c8a9 ("hugetlb: force allocating surplus hugepages on mempolicy
allowed nodes"). Relevant kernels include:
* O:linux (Ubuntu-6.11.0-8.8 or later)
* O:linux-lowlatency (Ubuntu-lowlatency-6.11.0-1003.3 or later)
* N:linux-hwe-6.11 (Ubuntu-hwe-6.11-6.11.0-9.9_24.04.1 or later)
* N:linux (Ubuntu-6.8.0-50.51)
* N:linux-lowlatency (Ubuntu-lowlatency-6.8.0-50.51.1)
* J:linux-hwe-6.8 (Ubuntu-hwe-6.8-6.8.0-50.51_22.04.1)
* J:linux-lowlatency-hwe-6.8 (Ubuntu-lowlatency-hwe-6.8-6.8.0-50.51.1_22.04.1)
This is not a real regression, and commit 003af997c8a9 is entirely
beneficial and contains no bugs itself. Please do not revert it. One
follow-up patch
https://lore.kernel.org/all/20241204165503.628784-1-koichiro.den@xxxxxxxxxxxxx
has been queued to -mm mm-unstable. With this patch applied, the
hugemmap10 failure should no longer occur.
Note: It's not 100% due to the slight possibility that the hugemmap10
process may migrate to another NUMA node between consecutive TOUCH and
UNMAP operations (see hugemmap10.c). In this sense, the test could be
considered flaky. While updating hugemmap10 is an option, it seems that
doing so (with no cpuset/mempolicy nor pinning) would significantly
complicate the source code around verify_counters (see hugemmap10.c).
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2089768
Title:
hugemmap10 from ubuntu_ltp_stable.hugetlb failed on Noble
Status in ubuntu-kernel-tests:
New
Bug description:
Test hugemmap10 of ubuntu_ltp_stable.hugetlb was observed to fail:
* N-lowlatency-6.8.0-50.51.1 (drapion, amd64)
* N-nvidia-lowlatency-6.8.0-1019.21.1 (bunsen, amd64)
* J-linux-lowlatency-hwe-6.8-6.8.0-50.51.1~22.04.1 (recht, arm64)
----
07:35:55 DEBUG| [stdout] startup='Tue Nov 26 07:35:38 2024'
07:35:55 DEBUG| [stdout] tst_hugepage.c:84: TINFO: 3 hugepage(s) reserved
07:35:55 DEBUG| [stdout] tst_tmpdir.c:316: TINFO: Using /tmp/ltp-8CAxsmEARh/LTP_hugLIyG9r as tmpdir (ext2/ext3/ext4 filesystem)
07:35:55 DEBUG| [stdout] tst_test.c:1085: TINFO: Mounting none to /tmp/ltp-8CAxsmEARh/LTP_hugLIyG9r/hugetlbfs fstyp=hugetlbfs flags=0
07:35:55 DEBUG| [stdout] tst_test.c:1860: TINFO: LTP version: 20230929-874-gba610da01
07:35:55 DEBUG| [stdout] tst_test.c:1864: TINFO: Tested kernel: 6.8.0-50-lowlatency #51.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 21 12:44:17 UTC 2024 x86_64
07:35:55 DEBUG| [stdout] tst_test.c:1703: TINFO: Timeout per run is 0h 00m 30s
07:35:55 DEBUG| [stdout] hugemmap10.c:388: TINFO: Base pool size: 0
07:35:55 DEBUG| [stdout] hugemmap10.c:315: TINFO: Clean...
07:35:55 DEBUG| [stdout] hugemmap10.c:366: TINFO: OK
07:35:55 DEBUG| [stdout] hugemmap10.c:315: TINFO: Untouched, shared...
07:35:55 DEBUG| [stdout] hugemmap10.c:366: TINFO: OK
07:35:55 DEBUG| [stdout] hugemmap10.c:315: TINFO: Untouched, private...
07:35:55 DEBUG| [stdout] hugemmap10.c:366: TINFO: OK
07:35:55 DEBUG| [stdout] hugemmap10.c:315: TINFO: Touched, shared...
07:35:55 DEBUG| [stdout] hugemmap10.c:366: TINFO: OK
07:35:55 DEBUG| [stdout] hugemmap10.c:315: TINFO: Touched, private...
07:35:55 DEBUG| [stdout] hugemmap10.c:366: TINFO: OK
07:35:55 DEBUG| [stdout] hugemmap10.c:388: TINFO: Base pool size: 1
07:35:55 DEBUG| [stdout] hugemmap10.c:315: TINFO: Clean...
07:35:55 DEBUG| [stdout] hugemmap10.c:366: TINFO: OK
07:35:55 DEBUG| [stdout] hugemmap10.c:315: TINFO: Untouched, shared...
07:35:55 DEBUG| [stdout] hugemmap10.c:333: TFAIL: While doing munmap shared after touch: Bad HugePages_Total: expected 1, actual 2
07:35:55 DEBUG| [stdout] hugemmap10.c:333: TFAIL: While doing munmap shared after touch: Bad HugePages_Free: expected 1, actual 2
07:35:55 DEBUG| [stdout] hugemmap10.c:333: TFAIL: While doing munmap shared after touch: Bad HugePages_Surp: expected 0, actual 1
07:35:55 DEBUG| [stdout]
07:35:55 DEBUG| [stdout] Summary:
07:35:55 DEBUG| [stdout] passed 0
07:35:55 DEBUG| [stdout] failed 3
07:35:55 DEBUG| [stdout] broken 0
07:35:55 DEBUG| [stdout] skipped 0
07:35:55 DEBUG| [stdout] warnings 0
07:35:55 DEBUG| [stdout] tag=hugemmap10 stime=1732606538 dur=0 exit=exited stat=1 core=no cu=0 cs=4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2089768/+subscriptions
References