[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211205123559.GA33002@xsang-OptiPlex-9020>
Date: Sun, 5 Dec 2021 20:35:59 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Yinan Liu <yinan@...ux.alibaba.com>
Cc: kernel test robot <lkp@...el.com>,
LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
rostedt@...dmis.org, peterz@...radead.org,
mark-pk.tsai@...iatek.com, mingo@...hat.com
Subject: [scripts] 12955fb1c5: kernel-selftests.livepatch.test-ftrace.sh.fail
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 12955fb1c57635f54792fedfdb6cc094b0a706d4 ("[PATCH v5 1/2] scripts: ftrace - move the sort-processing in ftrace_init to compile time")
url: https://github.com/0day-ci/linux/commits/Yinan-Liu/scripts-ftrace-move-the-sort-processing-in-ftrace_init-to-compile-time/20211201-143303
base: https://git.kernel.org/cgit/linux/kernel/git/rostedt/linux-trace.git for-next
patch link: https://lore.kernel.org/lkml/20211201053207.32339-2-yinan@linux.alibaba.com
in testcase: kernel-selftests
version: kernel-selftests-x86_64-a21458fc-1_20211201
with following parameters:
group: livepatch
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 <oliver.sang@...el.com>
TAP version 13
1..5
# selftests: livepatch: test-livepatch.sh
# TEST: basic function patching ... ERROR: modprobe: ERROR: could not insert 'test_klp_livepatch': Invalid argument
not ok 1 selftests: livepatch: test-livepatch.sh # exit=1
# selftests: livepatch: test-callbacks.sh
# TEST: target module before livepatch ... ok
# TEST: module_coming notifier ... ok
# TEST: module_going notifier ... ok
# TEST: module_coming and module_going notifiers ... ok
# TEST: target module not present ... ok
# TEST: pre-patch callback -ENODEV ... ok
# TEST: module_coming + pre-patch callback -ENODEV ... ok
# TEST: multiple target modules ... ok
# TEST: busy target module ... ok
# TEST: multiple livepatches ... ok
# TEST: atomic replace ... ok
ok 2 selftests: livepatch: test-callbacks.sh
# selftests: livepatch: test-shadow-vars.sh
# TEST: basic shadow variable API ... ok
ok 3 selftests: livepatch: test-shadow-vars.sh
# selftests: livepatch: test-state.sh
# TEST: system state modification ... ok
# TEST: taking over system state modification ... ok
# TEST: compatible cumulative livepatches ... ok
# TEST: incompatible cumulative livepatches ... ok
ok 4 selftests: livepatch: test-state.sh
# selftests: livepatch: test-ftrace.sh
# TEST: livepatch interaction with ftrace_enabled sysctl ... ERROR: modprobe: ERROR: could not insert 'test_klp_livepatch': Invalid argument
not ok 5 selftests: livepatch: test-ftrace.sh # exit=1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-12955fb1c57635f54792fedfdb6cc094b0a706d4/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.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
View attachment "config-5.16.0-rc2-00004-g12955fb1c576" of type "text/plain" (177631 bytes)
View attachment "job-script" of type "text/plain" (6121 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (26380 bytes)
View attachment "kernel-selftests" of type "text/plain" (2453 bytes)
View attachment "job.yaml" of type "text/plain" (5027 bytes)
View attachment "reproduce" of type "text/plain" (158 bytes)
Powered by blists - more mailing lists