← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2046148] Re: pkey01 and futex_wake04 from ubuntu_ltp_syscalls failed with X-kvm (Fail to open /proc/sys/vm/compact_memory for writing)

 

** Description changed:

  This issue pops up after updating to the latest tip of LTP test suite
  (commit 776b57984 "rwtest: Remove df symlink check")
  
  These 2 failures are limited to X-kvm kernel and they're all failing with the same error message, I didn't see this failure on other 4.4 variants (X, X-aws, T-lts-X).
  Bisect shows this issue is caused by acf46111b5 "hugetlb: compacting memory to reduce fragmental pages" [1]
  
  Test log for pkey01:
  <<<test_start>>>
  tag=pkey01 stime=1702291503
  cmdline="pkey01"
  contacts=""
  analysis=exit
  <<<test_output>>>
  incrementing stop
  tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
  <<<execution_status>>>
  initiation_status="ok"
  duration=0 termination_type=exited termination_id=2 corefile=no
  cutime=0 cstime=24
  <<<test_end>>>
  
  Test log for futex_wake04:
  <<<test_start>>>
  tag=futex_wake04 stime=1702291801
  cmdline="futex_wake04"
  contacts=""
  analysis=exit
  <<<test_output>>>
  incrementing stop
  tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
  <<<execution_status>>>
  initiation_status="ok"
  duration=0 termination_type=exited termination_id=2 corefile=no
  cutime=0 cstime=0
  <<<test_end>>>
  
- 
- Before this change the test will be skipped with:
+ Before this change the pkey01 test will be skipped with:
  <<<test_start>>>
  tag=pkey01 stime=1702290779
  cmdline="pkey01"
  contacts=""
  analysis=exit
  <<<test_output>>>
  incrementing stop
  tst_hugepage.c:83: TINFO: 1 hugepage(s) reserved
  tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
  pkey.h:27: TCONF: syscall(330) __NR_pkey_alloc not supported on your arch
  
  Summary:
  passed   0
  failed   0
  broken   0
  skipped  1
  warnings 0
  <<<execution_status>>>
  initiation_status="ok"
  duration=0 termination_type=exited termination_id=32 corefile=no
  cutime=0 cstime=0
  <<<test_end>>>
  
- Note that the pkey01 test used to fail before updating to LTP-20230516
+ The futex_wake04 test will pass with:
+ <<<test_start>>>
+ tag=futex_wake04 stime=1702292456
+ cmdline="futex_wake04"
+ contacts=""
+ analysis=exit
+ <<<test_output>>>
+ incrementing stop
+ tst_hugepage.c:83: TINFO: 1 hugepage(s) reserved
+ tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
+ futex_wake04.c:52: TINFO: Testing variant: syscall with old kernel spec
+ futex_wake04.c:90: TINFO: Hugepagesize 2097152
+ futex_utils.h:59: TINFO: Thread 17485 not sleeping yet
+ futex_wake04.c:75: TPASS: Hi hydra, thread2 awake!
+ 
+ Summary:
+ passed   1
+ failed   0
+ broken   0
+ skipped  0
+ warnings 0
+ <<<execution_status>>>
  
  [1] https://github.com/linux-test-
  project/ltp/commit/acf46111b5cc0f4bfb2309a797f5b1a937e47ff8

-- 
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/2046148

Title:
  pkey01 and futex_wake04 from ubuntu_ltp_syscalls failed with X-kvm
  (Fail to open /proc/sys/vm/compact_memory for writing)

Status in ubuntu-kernel-tests:
  New

Bug description:
  This issue pops up after updating to the latest tip of LTP test suite
  (commit 776b57984 "rwtest: Remove df symlink check")

  These 2 failures are limited to X-kvm kernel and they're all failing with the same error message, I didn't see this failure on other 4.4 variants (X, X-aws, T-lts-X).
  Bisect shows this issue is caused by acf46111b5 "hugetlb: compacting memory to reduce fragmental pages" [1]

  Test log for pkey01:
  <<<test_start>>>
  tag=pkey01 stime=1702291503
  cmdline="pkey01"
  contacts=""
  analysis=exit
  <<<test_output>>>
  incrementing stop
  tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
  <<<execution_status>>>
  initiation_status="ok"
  duration=0 termination_type=exited termination_id=2 corefile=no
  cutime=0 cstime=24
  <<<test_end>>>

  Test log for futex_wake04:
  <<<test_start>>>
  tag=futex_wake04 stime=1702291801
  cmdline="futex_wake04"
  contacts=""
  analysis=exit
  <<<test_output>>>
  incrementing stop
  tst_hugepage.c:50: TBROK: Failed to open FILE '/proc/sys/vm/compact_memory' for writing: ENOENT (2)
  <<<execution_status>>>
  initiation_status="ok"
  duration=0 termination_type=exited termination_id=2 corefile=no
  cutime=0 cstime=0
  <<<test_end>>>

  Before this change the pkey01 test will be skipped with:
  <<<test_start>>>
  tag=pkey01 stime=1702290779
  cmdline="pkey01"
  contacts=""
  analysis=exit
  <<<test_output>>>
  incrementing stop
  tst_hugepage.c:83: TINFO: 1 hugepage(s) reserved
  tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
  pkey.h:27: TCONF: syscall(330) __NR_pkey_alloc not supported on your arch

  Summary:
  passed   0
  failed   0
  broken   0
  skipped  1
  warnings 0
  <<<execution_status>>>
  initiation_status="ok"
  duration=0 termination_type=exited termination_id=32 corefile=no
  cutime=0 cstime=0
  <<<test_end>>>

  The futex_wake04 test will pass with:
  <<<test_start>>>
  tag=futex_wake04 stime=1702292456
  cmdline="futex_wake04"
  contacts=""
  analysis=exit
  <<<test_output>>>
  incrementing stop
  tst_hugepage.c:83: TINFO: 1 hugepage(s) reserved
  tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
  futex_wake04.c:52: TINFO: Testing variant: syscall with old kernel spec
  futex_wake04.c:90: TINFO: Hugepagesize 2097152
  futex_utils.h:59: TINFO: Thread 17485 not sleeping yet
  futex_wake04.c:75: TPASS: Hi hydra, thread2 awake!

  Summary:
  passed   1
  failed   0
  broken   0
  skipped  0
  warnings 0
  <<<execution_status>>>

  [1] https://github.com/linux-test-
  project/ltp/commit/acf46111b5cc0f4bfb2309a797f5b1a937e47ff8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2046148/+subscriptions



References