2023-07-20 08:11:00

by kernel test robot

[permalink] [raw]
Subject: [linus:master] [x86] 3aec4ecb3d: kernel-selftests.livepatch.test-livepatch.sh.fail



Hello,

kernel test robot noticed "kernel-selftests.livepatch.test-livepatch.sh.fail" on:

commit: 3aec4ecb3d1f313a8ab985df7cab07c4af81f478 ("x86: Rewrite ret_from_fork() in C")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

[test failed on linus/master ccff6d117d8dc8d8d86e8695a75e5f8b01e573bf]
[test failed on linux-next/master 352ce39a8bbaec0405793682be59fae120fc6b05]

there are also below failures which we didn't observe on parent:

81f755d561f365f5 3aec4ecb3d1f313a8ab985df7ca
---------------- ---------------------------
fail:runs %reproduction fail:runs
| | |
:6 100% 6:6 kernel-selftests.livepatch.test-callbacks.sh.fail
:6 100% 6:6 kernel-selftests.livepatch.test-livepatch.sh.fail
:6 100% 6:6 kernel-selftests.livepatch.test-state.sh.fail
:6 100% 6:6 kernel-selftests.livepatch.test-sysfs.sh.fail


in testcase: kernel-selftests
version: kernel-selftests-x86_64-60acb023-1_20230329
with following parameters:

group: livepatch



compiler: gcc-12
test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz (Cascade Lake) with 32G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)




If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]

KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-8.3-kselftests-3aec4ecb3d1f313a8ab985df7cab07c4af81f478
2023-07-18 20:14:46 ln -sf /usr/bin/clang
2023-07-18 20:14:47 ln -sf /usr/sbin/iptables-nft /usr/bin/iptables
2023-07-18 20:14:47 ln -sf /usr/sbin/ip6tables-nft /usr/bin/ip6tables
2023-07-18 20:14:47 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh
2023-07-18 20:14:47 make -j36 -C livepatch
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3aec4ecb3d1f313a8ab985df7cab07c4af81f478/tools/testing/selftests/livepatch'
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3aec4ecb3d1f313a8ab985df7cab07c4af81f478/tools/testing/selftests/livepatch'
2023-07-18 20:14:48 make quicktest=1 run_tests -C livepatch
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3aec4ecb3d1f313a8ab985df7cab07c4af81f478/tools/testing/selftests/livepatch'
TAP version 13
1..6
# timeout set to 0
# selftests: livepatch: test-livepatch.sh
# TEST: basic function patching ... ERROR: failed to complete transition
not ok 1 selftests: livepatch: test-livepatch.sh # exit=1
# timeout set to 0
# selftests: livepatch: test-callbacks.sh
# TEST: target module before livepatch ... ERROR: modprobe: ERROR: could not insert 'test_klp_callbacks_demo': Device or resource busy
not ok 2 selftests: livepatch: test-callbacks.sh # exit=1
# timeout set to 0
# selftests: livepatch: test-shadow-vars.sh
# TEST: basic shadow variable API ... ok
ok 3 selftests: livepatch: test-shadow-vars.sh
# timeout set to 0
# selftests: livepatch: test-state.sh
# TEST: system state modification ... ERROR: modprobe: ERROR: could not insert 'test_klp_state': Device or resource busy
not ok 4 selftests: livepatch: test-state.sh # exit=1
# timeout set to 0
# selftests: livepatch: test-ftrace.sh
# TEST: livepatch interaction with ftrace_enabled sysctl ... SKIP: failed to set kernel.ftrace_enabled = 0
ok 5 selftests: livepatch: test-ftrace.sh # SKIP
# timeout set to 0
# selftests: livepatch: test-sysfs.sh
# TEST: sysfs test ... ERROR: failed to complete transition
not ok 6 selftests: livepatch: test-sysfs.sh # exit=1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3aec4ecb3d1f313a8ab985df7cab07c4af81f478/tools/testing/selftests/livepatch'



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://github.com/intel/lkp-tests/wiki



Attachments:
(No filename) (4.48 kB)
config-6.5.0-rc1-00005-g3aec4ecb3d1f (166.49 kB)
job-script (5.74 kB)
kmsg.xz (26.70 kB)
kernel-selftests (2.33 kB)
job.yaml (5.18 kB)
reproduce (258.00 B)
Download all attachments