[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202211021026.61b267d1-yujie.liu@intel.com>
Date: Wed, 2 Nov 2022 11:02:29 +0800
From: kernel test robot <yujie.liu@...el.com>
To: Joel Savitz <jsavitz@...hat.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, <linux-mm@...ck.org>,
<linux-kernel@...r.kernel.org>, Joel Savitz <jsavitz@...hat.com>,
"Andrew Morton" <akpm@...ux-foundation.org>,
Shuah Khan <shuah@...nel.org>,
<linux-kselftest@...r.kernel.org>, <linux-next@...r.kernel.org>,
Nico Pache <npache@...hat.com>
Subject: Re: [PATCH v9] selftests/vm: enable running select groups of tests
Greeting,
FYI, we noticed kernel-selftests.vm.run_vmtests.sh../hugepage_shm.fail due to commit (built with gcc-11):
commit: fd0dfc48f1ed0430088e3bb2c6e7d51379165afd ("[PATCH v9] 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/20221019-071314
base: https://git.kernel.org/cgit/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/lkml/20221018231222.1884715-1-jsavitz@redhat.com
patch subject: [PATCH v9] selftests/vm: enable running select groups of tests
in testcase: kernel-selftests
version: kernel-selftests-x86_64-9313ba54-1_20221017
with following parameters:
sc_nr_hugepages: 2
group: vm
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: 88 threads 2 sockets Intel(R) Xeon(R) Gold 6238M CPU @ 2.10GHz (Cascade Lake) with 128G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
2022-11-01 19:40:05 make quicktest=1 run_tests -C vm
...
# selftests: vm: run_vmtests.sh
...
# running: ./hugepage-shm
# ----------------------
# running ./hugepage-shm
# ----------------------
# shmget: Cannot allocate memory
# [FAIL]
# running: ./map_hugetlb
# ---------------------
# running ./map_hugetlb
# ---------------------
# mmap: Cannot allocate memory
# Default size hugepages
# Mapping 256 Mbytes
# [FAIL]
# running: ./hugepage-mremap
# -------------------------
# running ./hugepage-mremap
# -------------------------
# mmap1: Cannot allocate memory
# Map haddr: Returned address is 0xffffffffffffffff
# [FAIL]
...
# running: ./hugetlb-madvise
# -------------------------
# running ./hugetlb-madvise
# -------------------------
# Not enough free huge pages to test, exiting!
# [FAIL]
If you fix the issue, kindly add following tag
| Reported-by: kernel test robot <yujie.liu@...el.com>
| Link: https://lore.kernel.org/oe-lkp/202211021026.61b267d1-yujie.liu@intel.com
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-6.1.0-rc1-00143-gfd0dfc48f1ed" of type "text/plain" (172373 bytes)
View attachment "job-script" of type "text/plain" (6112 bytes)
Download attachment "kmsg.xz" of type "application/x-xz" (36016 bytes)
View attachment "kernel-selftests" of type "text/plain" (354934 bytes)
View attachment "job.yaml" of type "text/plain" (4928 bytes)
View attachment "reproduce" of type "text/plain" (273 bytes)
Powered by blists - more mailing lists