hugetlb tests in ubuntu_ltp_stable failed on KVM kernels (TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT)

Bug #2047248 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

This issue came up after recent LTP update [1], and this issue can only be found on KVM kernels.

It looks like all sub-tests are failing with "TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT", test log:
     START ubuntu_ltp_stable.hugetlb ubuntu_ltp_stable.hugetlb timeout=12600 timestamp=1702887550 localtime=Dec 18 08:19:10
 Persistent state client._record_indent now set to 2
 Persistent state client.unexpected_reboot now set to ('ubuntu_ltp_stable.hugetlb', 'ubuntu_ltp_stable.hugetlb')
 Waiting for pid 70232 for 12600 seconds
 System python is too old, crash handling disabled
 Running in VM, set timeout multiplier LTP_TIMEOUT_MUL=3 for memcg_test_3 (lp:1836694)
 Setting LTP_TIMEOUT_MUL=5 for hugefork02
 Setting LTP_TIMEOUT_MUL=10 for hugemmap15
 == Test Suite Summary ==
 49 test cases failed
 Failed test cases : hugefallocate01 hugefallocate02 hugefork01 hugefork02 hugemmap01 hugemmap02 hugemmap04 hugemmap05 hugemmap05_1 hugemmap05_2 hugemmap05_3 hugemmap06 hugemmap07 hugemmap08 hugemmap09 hugemmap10 hugemmap11 hugemmap12 hugemmap13 hugemmap14 hugemmap15 hugemmap16 hugemmap17 hugemmap18 hugemmap19 hugemmap20 hugemmap21 hugemmap22 hugemmap23 hugemmap24 hugemmap25 hugemmap26 hugemmap27 hugemmap28 hugemmap29 hugemmap30 hugemmap31 hugeshmat01 hugeshmat02 hugeshmat03 hugeshmat05 hugeshmctl01 hugeshmctl02 hugeshmctl03 hugeshmdt01 hugeshmget01 hugeshmget02 hugeshmget03 hugeshmget05
 startup='Mon Dec 18 08:19:10 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugefallocate01 stime=1702887550 dur=0 exit=exited stat=2 core=no cu=0 cs=30
 startup='Mon Dec 18 08:19:10 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugefallocate02 stime=1702887550 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:11 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugefork01 stime=1702887551 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:11 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugefork02 stime=1702887551 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:11 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap01 stime=1702887551 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:11 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap02 stime=1702887551 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:11 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap04 stime=1702887551 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:11 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap05 stime=1702887551 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:11 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap06 stime=1702887551 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:12 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap07 stime=1702887552 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:12 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap08 stime=1702887552 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:12 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap09 stime=1702887552 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:12 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap10 stime=1702887552 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:12 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap11 stime=1702887552 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:12 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap12 stime=1702887552 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:12 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap13 stime=1702887552 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:13 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap14 stime=1702887553 dur=0 exit=exited stat=2 core=no cu=0 cs=1
 startup='Mon Dec 18 08:19:13 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap15 stime=1702887553 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:13 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap16 stime=1702887553 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:13 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap17 stime=1702887553 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:13 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap18 stime=1702887553 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:13 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap19 stime=1702887553 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:13 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap20 stime=1702887553 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:14 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap21 stime=1702887554 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:14 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap22 stime=1702887554 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:14 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap23 stime=1702887554 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:14 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap24 stime=1702887554 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:14 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap25 stime=1702887554 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:14 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap26 stime=1702887554 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:14 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap27 stime=1702887554 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:15 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap28 stime=1702887555 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:15 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap29 stime=1702887555 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:15 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap30 stime=1702887555 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:15 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap31 stime=1702887555 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:15 2023'
 tst_test.c:1690: TINFO: LTP version: 20230929-185-g19ef6521d
 tst_test.c:1574: TINFO: Timeout per run is 0h 00m 30s
 hugemmap32.c:63: TCONF: Gigantic hugepages not supported

 Summary:
 passed 0
 failed 0
 broken 0
 skipped 1
 warnings 0
 tag=hugemmap32 stime=1702887555 dur=0 exit=exited stat=32 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:15 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap05_1 stime=1702887555 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:15 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap05_2 stime=1702887555 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:16 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugemmap05_3 stime=1702887556 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:16 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmat01 stime=1702887556 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:16 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmat02 stime=1702887556 dur=0 exit=exited stat=2 core=no cu=0 cs=1
 startup='Mon Dec 18 08:19:16 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmat03 stime=1702887556 dur=0 exit=exited stat=2 core=no cu=0 cs=1
 startup='Mon Dec 18 08:19:16 2023'
 tst_test.c:1211: TCONF: Test needs at least 2048MB MemAvailable
 tag=hugeshmat04 stime=1702887556 dur=0 exit=exited stat=32 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:16 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmat05 stime=1702887556 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:16 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmctl01 stime=1702887556 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:17 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmctl02 stime=1702887557 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:17 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmctl03 stime=1702887557 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:17 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmdt01 stime=1702887557 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:17 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmget01 stime=1702887557 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:17 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmget02 stime=1702887557 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:17 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmget03 stime=1702887557 dur=0 exit=exited stat=2 core=no cu=0 cs=0
 startup='Mon Dec 18 08:19:17 2023'
 tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
 tag=hugeshmget05 stime=1702887557 dur=0 exit=exited stat=2 core=no cu=0 cs=0

Bisect shows commit acf46111b5 hugetlb: compacting memory to reduce fragmental pages is the cause [2].

[1] https://lists.ubuntu.com/archives/kernel-team/2023-December/147590.html
[2] https://github.com/linux-test-project/ltp/commit/acf46111b5cc0f4bfb2309a797f5b1a937e47ff8

Po-Hsu Lin (cypressyew)
summary: - hugetlb tests in ubuntu_ltp_stable failed on KVM kernels
+ hugetlb tests in ubuntu_ltp_stable failed on KVM kernels (TBROK: Failed
+ to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT)
Po-Hsu Lin (cypressyew)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.