Greeting,
FYI, we noticed the following commit (built with gcc-11):
commit: 3c89247543c0ca796c2bf7c3c15ba82d6f5d2c47 ("[PATCH v1] selftests/kselftest:
Make failed tests exit with 1")
url:
https://github.com/intel-lab-lkp/linux/commits/Micka-l-Sala-n/selftests-k...
patch link:
https://lore.kernel.org/lkml/[email protected]
in testcase: kernel-selftests
version: kernel-selftests-x86_64-8d3977ef-1_20220523
with following parameters:
sc_nr_hugepages: 2
group: vm
ucode: 0xc2
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: 20 threads 1 sockets Commet Lake 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(a)intel.com>
KERNEL SELFTESTS: linux_headers_dir is
/usr/src/linux-headers-x86_64-rhel-8.3-kselftests-3c89247543c0ca796c2bf7c3c15ba82d6f5d2c47
2022-05-29 09:56:50 ln -sf /usr/bin/clang
2022-05-29 09:56:50 ln -sf /usr/bin/llc
2022-05-29 09:56:51 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh
LKP WARN miss config CONFIG_MEM_SOFT_DIRTY= of vm/config
2022-05-29 09:56:51 make -C vm
make: Entering directory
'/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3c89247543c0ca796c2bf7c3c15ba82d6f5d2c47/tools/testing/selftests/vm'
/bin/sh ./check_config.sh gcc
make --no-builtin-rules ARCH=x86 -C ../../../.. headers_install
make[1]: Entering directory
'/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3c89247543c0ca796c2bf7c3c15ba82d6f5d2c47'
....
ok 4 selftests: vm: run_vmtests.sh # SKIP
make: *** [../lib.mk:94: run_tests] Error 1
make: Leaving directory
'/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3c89247543c0ca796c2bf7c3c15ba82d6f5d2c47/tools/testing/selftests/vm'
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