[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201125154612.GB31714@xsang-OptiPlex-9020>
Date: Wed, 25 Nov 2020 23:46:12 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Juergen Gross <jgross@...e.com>
Cc: 0day robot <lkp@...el.com>, LKML <linux-kernel@...r.kernel.org>,
lkp@...ts.01.org, xen-devel@...ts.xenproject.org, x86@...nel.org,
virtualization@...ts.linux-foundation.org, peterz@...radead.org,
luto@...nel.org, Juergen Gross <jgross@...e.com>,
Deep Shah <sdeep@...are.com>,
"VMware, Inc." <pv-drivers@...are.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>
Subject: [x86/paravirt] fd8d46a7a2:
kernel-selftests.livepatch.test-callbacks.sh.fail
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: fd8d46a7a2c51313ee14c43af60ff337279384ef ("x86/paravirt: switch functions with custom code to ALTERNATIVE")
url: https://github.com/0day-ci/linux/commits/Juergen-Gross/x86-major-paravirt-cleanup/20201120-194934
in testcase: kernel-selftests
version: kernel-selftests-x86_64-b5a583fb-1_20201015
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: 8 threads Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz 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>
KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-7.6-kselftests-fd8d46a7a2c51313ee14c43af60ff337279384ef
2020-11-25 12:01:24 ln -sf /usr/bin/clang
2020-11-25 12:01:24 ln -sf /usr/bin/llc
2020-11-25 12:01:25 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh
2020-11-25 12:01:25 make run_tests -C livepatch
make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-7.6-kselftests-fd8d46a7a2c51313ee14c43af60ff337279384ef/tools/testing/selftests/livepatch'
TAP version 13
1..5
# selftests: livepatch: test-livepatch.sh
# TEST: basic function patching ... ERROR: failed to complete transition
not ok 1 selftests: livepatch: test-livepatch.sh # exit=1
# 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
# 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 ... ERROR: modprobe: ERROR: could not insert 'test_klp_state': Device or resource busy
not ok 4 selftests: livepatch: test-state.sh # exit=1
# selftests: livepatch: test-ftrace.sh
# TEST: livepatch interaction with ftrace_enabled sysctl ... ERROR: test_klp_livepatch unexpectedly loaded
not ok 5 selftests: livepatch: test-ftrace.sh # exit=1
make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-7.6-kselftests-fd8d46a7a2c51313ee14c43af60ff337279384ef/tools/testing/selftests/livepatch'
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Oliver Sang
View attachment "config-5.10.0-rc4-00011-gfd8d46a7a2c5" of type "text/plain" (209900 bytes)
View attachment "job-script" of type "text/plain" (6077 bytes)
Download attachment "kmsg.xz" of type "application/x-xz" (22316 bytes)
View attachment "kernel-selftests" of type "text/plain" (1628 bytes)
View attachment "job.yaml" of type "text/plain" (5060 bytes)
View attachment "reproduce" of type "text/plain" (172 bytes)
Powered by blists - more mailing lists