[LTP] [linux-next:master] [mm/vma] c2eb22189b: ltp.mseal01.fail

kernel test robot oliver.sang@intel.com
Sat Aug 31 15:52:44 CEST 2024



Hello,

kernel test robot noticed "ltp.mseal01.fail" on:

commit: c2eb22189bbc920cdc667dfaf939878031194bb6 ("mm/vma: inline munmap operation in mmap_region()")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

[test failed on linux-next/master 985bf40edf4343dcb04c33f58b40b4a85c1776d4]

in testcase: ltp
version: ltp-x86_64-14c1f76-1_20240824
with following parameters:

	disk: 1HDD
	fs: btrfs
	test: syscalls-02/mseal01



compiler: gcc-12
test machine: 4 threads 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (Ivy Bridge) with 8G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)




If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202408312155.fd26a58c-oliver.sang@intel.com



Running tests.......
<<<test_start>>>
tag=mseal01 stime=1725009411
cmdline="mseal01"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1809: TINFO: LTP version: 20240524-199-g2b319e3dc
tst_test.c:1813: TINFO: Tested kernel: 6.11.0-rc4-00355-gc2eb22189bbc #1 SMP PREEMPT_DYNAMIC Thu Aug 29 21:27:00 CST 2024 x86_64
tst_test.c:1652: TINFO: Timeout per run is 0h 02m 30s
mseal01.c:132: TINFO: Testing mprotect() availability
mseal01.c:134: TPASS: sys_mseal(mem_addr + mem_offset, mem_alignment) passed
mseal01.c:47: TPASS: mprotect(mem_addr, mem_size, PROT_NONE) : EPERM (1)
mseal01.c:132: TINFO: Testing pkey_mprotect() availability
mseal01.c:134: TPASS: sys_mseal(mem_addr + mem_offset, mem_alignment) passed
../../../../include/lapi/pkey.h:49: TCONF: pku is not supported on this CPU
mseal01.c:132: TINFO: Testing madvise() availability
mseal01.c:134: TPASS: sys_mseal(mem_addr + mem_offset, mem_alignment) passed
mseal01.c:72: TPASS: madvise(mem_addr, mem_size, MADV_DONTNEED) : EPERM (1)
mseal01.c:132: TINFO: Testing munmap() availability from child
mseal01.c:134: TPASS: sys_mseal(mem_addr + mem_offset, mem_alignment) passed
mseal01.c:77: TPASS: munmap(mem_addr, mem_size) : EPERM (1)
mseal01.c:132: TINFO: Testing mremap() address move/resize
mseal01.c:134: TPASS: sys_mseal(mem_addr + mem_offset, mem_alignment) passed
mseal01.c:90: TPASS: mremap(mem_addr, mem_size, new_size, MREMAP_MAYMOVE | MREMAP_FIXED, new_addr) : EPERM (1)
mseal01.c:132: TINFO: Testing mmap() protection change
mseal01.c:134: TPASS: sys_mseal(mem_addr + mem_offset, mem_alignment) passed
mseal01.c:100: TFAIL: mmap(mem_addr, mem_size, PROT_READ, MAP_ANONYMOUS | MAP_PRIVATE | MAP_FIXED, -1, 0) expected EPERM: ENOMEM (12)

Summary:
passed   10
failed   1
broken   0
skipped  1
warnings 0
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=2
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20240524-199-g2b319e3dc

       ###############################################################

            Done executing testcases.
            LTP Version:  20240524-199-g2b319e3dc
       ###############################################################




The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240831/202408312155.fd26a58c-oliver.sang@intel.com



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



More information about the ltp mailing list