2021-10-12 08:31:24

by kernel test robot

[permalink] [raw]
Subject: [vsprintf] 97265529aa: kernel-selftests.lib.printf.sh.fail



Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 97265529aa97ae6c0ae5b2ed0327f4785f16b38b ("[PATCH] vsprintf: Make %pGp print the hex value")
url: https://github.com/0day-ci/linux/commits/Matthew-Wilcox-Oracle/vsprintf-Make-pGp-print-the-hex-value/20211009-034105
base: https://github.com/hnaz/linux-mm master

in testcase: kernel-selftests
version: kernel-selftests-x86_64-c8c9111a-1_20210929
with following parameters:

group: lib
ucode: 0xe2

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: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G 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 <[email protected]>

KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-8.3-kselftests-97265529aa97ae6c0ae5b2ed0327f4785f16b38b
2021-10-12 00:10:15 ln -sf /usr/bin/clang
2021-10-12 00:10:15 ln -sf /usr/bin/llc
2021-10-12 00:10:15 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh
2021-10-12 00:10:15 make -C lib
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-97265529aa97ae6c0ae5b2ed0327f4785f16b38b/tools/testing/selftests/lib'
make: Nothing to be done for 'all'.
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-97265529aa97ae6c0ae5b2ed0327f4785f16b38b/tools/testing/selftests/lib'
2021-10-12 00:10:15 make run_tests -C lib
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-97265529aa97ae6c0ae5b2ed0327f4785f16b38b/tools/testing/selftests/lib'
TAP version 13
1..5
# selftests: lib: printf.sh
# printf: [FAIL]
not ok 1 selftests: lib: printf.sh # exit=1
# selftests: lib: bitmap.sh
# bitmap: ok
ok 2 selftests: lib: bitmap.sh
# selftests: lib: prime_numbers.sh
# prime numbers: ok
ok 3 selftests: lib: prime_numbers.sh
# selftests: lib: scanf.sh
# scanf: ok
ok 4 selftests: lib: scanf.sh
# selftests: lib: strscpy.sh
# strscpy*: ok
ok 5 selftests: lib: strscpy.sh
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-97265529aa97ae6c0ae5b2ed0327f4785f16b38b/tools/testing/selftests/lib'



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.



---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation

Thanks,
Oliver Sang


Attachments:
(No filename) (3.07 kB)
config-5.15.0-rc4-mm1-00260-g97265529aa97 (179.69 kB)
job-script (6.18 kB)
dmesg.xz (22.17 kB)
kernel-selftests (1.41 kB)
job.yaml (5.05 kB)
reproduce (150.00 B)
Download all attachments