lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220531094736.GF17663@xsang-OptiPlex-9020>
Date:   Tue, 31 May 2022 17:47:36 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Mickaël Salaün <mic@...ikod.net>
Cc:     0day robot <lkp@...el.com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        SeongJae Park <sjpark@...zon.de>,
        Shuah Khan <shuah@...nel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        linux-kselftest@...r.kernel.org, lkp@...ts.01.org,
        Mickaël Salaün <mic@...ikod.net>,
        stable@...r.kernel.org
Subject: [selftests/kselftest]  3c89247543: kernel-selftests.vm.make_fail



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-kselftest-Make-failed-tests-exit-with-1/20220528-002910
patch link: https://lore.kernel.org/lkml/20220527162417.2646998-1-mic@digikod.net

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@...el.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



View attachment "config-5.18.0-10038-g3c89247543c0" of type "text/plain" (168392 bytes)

View attachment "job-script" of type "text/plain" (6078 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (37400 bytes)

View attachment "kernel-selftests" of type "text/plain" (81244 bytes)

View attachment "job.yaml" of type "text/plain" (4946 bytes)

View attachment "reproduce" of type "text/plain" (183 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ