[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220614143623.GA25860@xsang-OptiPlex-9020>
Date: Tue, 14 Jun 2022 22:36:23 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Joel Savitz <jsavitz@...hat.com>
Cc: 0day robot <lkp@...el.com>, LKML <linux-kernel@...r.kernel.org>,
linux-mm@...ck.org, lkp@...ts.01.org,
Joel Savitz <jsavitz@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Shuah Khan <shuah@...nel.org>, linux-kselftest@...r.kernel.org,
Nico Pache <npache@...hat.com>
Subject: [selftests/vm] c5fac7744c:
kernel-selftests.vm.run_vmtests.sh../hugepage_mmap.fail
Greeting,
FYI, we noticed the following commit (built with gcc-11):
commit: c5fac7744cf417920552cb4eec2600fb53048b0b ("[RFC PATCH] selftests/vm: enable running select groups of tests")
url: https://github.com/intel-lab-lkp/linux/commits/Joel-Savitz/selftests-vm-enable-running-select-groups-of-tests/20220610-082232
base: https://git.kernel.org/cgit/linux/kernel/git/shuah/linux-kselftest.git next
patch link: https://lore.kernel.org/lkml/20220610002046.3243874-1-jsavitz@redhat.com
in testcase: kernel-selftests
version: kernel-selftests-x86_64-cebf67a3-1_20220612
with following parameters:
sc_nr_hugepages: 2
group: vm
ucode: 0xec
test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt
on test machine: 12 threads 1 sockets Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz with 16G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>
please be noted, besides kernel-selftests.vm.run_vmtests.sh../hugepage_mmap.fail,
we actually observed other tests failed on this commit but pass on parent.
here we list all tests run on both parent and the commit, even they have
same results. FYI
=========================================================================================
compiler/group/kconfig/rootfs/sc_nr_hugepages/tbox_group/testcase/ucode:
gcc-11/vm/x86_64-rhel-8.3-kselftests/debian-11.1-x86_64-20220510.cgz/2/lkp-cfl-d1/kernel-selftests/0xec
v5.19-rc1 c5fac7744cf417920552cb4eec2
---------------- ---------------------------
fail:runs %reproduction fail:runs
| | |
18:18 -67% 6:6 kernel-selftests.vm.madv_populate.fail
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../compaction_test.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../gup_test_a.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../gup_test_ct_F_0x1_0_19_0x1000.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../gup_test_u.pass
:18 33% 6:6 kernel-selftests.vm.run_vmtests.sh../hugepage_mmap.fail
18:18 -100% :6 kernel-selftests.vm.run_vmtests.sh../hugepage_mmap.pass
:18 33% 6:6 kernel-selftests.vm.run_vmtests.sh../hugepage_mremap_./huge/huge_mremap.fail
18:18 -100% :6 kernel-selftests.vm.run_vmtests.sh../hugepage_mremap_./huge/huge_mremap.pass
:18 33% 6:6 kernel-selftests.vm.run_vmtests.sh../hugepage_shm.fail
18:18 -100% :6 kernel-selftests.vm.run_vmtests.sh../hugepage_shm.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../hugepage_vmemmap.pass
:18 33% 6:6 kernel-selftests.vm.run_vmtests.sh../hugetlb_madvise_./huge/madvise_test.fail
18:18 -100% :6 kernel-selftests.vm.run_vmtests.sh../hugetlb_madvise_./huge/madvise_test.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../map_fixed_noreplace.pass
:18 33% 6:6 kernel-selftests.vm.run_vmtests.sh../map_hugetlb.fail
18:18 -100% :6 kernel-selftests.vm.run_vmtests.sh../map_hugetlb.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../map_populate.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../mlock2_tests.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../mlock_random_test.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../mrelease_test.fail
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../mremap_test.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../thuge_gen.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../userfaultfd_anon_20_16.pass
:18 33% 6:6 kernel-selftests.vm.run_vmtests.sh../userfaultfd_hugetlb_0_32.fail
18:18 -100% :6 kernel-selftests.vm.run_vmtests.sh../userfaultfd_hugetlb_128_32.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../userfaultfd_shmem_20_16.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../va_128TBswitch.fail
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh../virtual_address_range.pass
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh.fail
18:18 -67% 6:6 kernel-selftests.vm.run_vmtests.sh.sudo_u_nobody_./on_fault_limit.pass
18:18 -67% 6:6 kernel-selftests.vm.soft-dirty.pass
18:18 -67% 6:6 kernel-selftests.vm.split_huge_page_test.pass
# selftests: vm: run_vmtests.sh
# Selected test items: default
# -----------------------
# running ./hugepage-mmap
# -----------------------
# mmap: Cannot allocate memory
# [FAIL]
# ----------------------
# running ./hugepage-shm
# ----------------------
# shmget: Cannot allocate memory
# [FAIL]
# ---------------------
# running ./map_hugetlb
# ---------------------
# mmap: Cannot allocate memory
# Default size hugepages
# Mapping 256 Mbytes
# [FAIL]
# --------------------------------------------
# running ./hugepage-mremap ./huge/huge_mremap
# --------------------------------------------
# mmap1: Cannot allocate memory
# Map haddr: Returned address is 0xffffffffffffffff
# [FAIL]
# --------------------------
# running ./hugepage-vmemmap
# --------------------------
# Returned address is 0x7f4d3c600000 whose pfn is 1bc800
# [PASS]
# ---------------------------------------------
# running ./hugetlb-madvise ./huge/madvise-test
# ---------------------------------------------
# Not enough free huge pages to test, exiting!
# [FAIL]
# NOTE: These hugetlb tests provide minimal coverage. Use
# https://github.com/libhugetlbfs/libhugetlbfs.git for
# hugetlb regression testing.
...
# ----------------------------------
# running ./userfaultfd hugetlb 0 32
# ----------------------------------
# ERROR: invalid MiB (errno=0, line=1662)
#
# Usage: ./userfaultfd <test type> <MiB> <bounces> [hugetlbfs_file]
#
# Supported <test type>: anon, hugetlb, hugetlb_shared, shmem
#
# Examples:
#
# # Run anonymous memory test on 100MiB region with 99999 bounces:
# ./userfaultfd anon 100 99999
#
# # Run share memory test on 1GiB region with 99 bounces:
# ./userfaultfd shmem 1000 99
#
# # Run hugetlb memory test on 256MiB region with 50 bounces:
# ./userfaultfd hugetlb 256 50
#
# # Run the same hugetlb test but using shared file:
# ./userfaultfd hugetlb_shared 256 50 /dev/hugepages/hugefile
#
# # 10MiB-~6GiB 999 bounces anonymous test, continue forever unless an error triggers
# while ./userfaultfd anon $[RANDOM % 6000 + 10] 999; do true; done
#
# [FAIL]
...
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config-5.19.0-rc1-00001-gc5fac7744cf4" of type "text/plain" (168383 bytes)
View attachment "job-script" of type "text/plain" (6253 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (20864 bytes)
View attachment "kernel-selftests" of type "text/plain" (64655 bytes)
View attachment "job.yaml" of type "text/plain" (5084 bytes)
View attachment "reproduce" of type "text/plain" (183 bytes)
Powered by blists - more mailing lists