[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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@xxxxxxxxx>

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

Attachment: config-5.10.0-rc4-00011-gfd8d46a7a2c5
Description: Text document

Attachment: job-script
Description: Text document

Attachment: kmsg.xz
Description: application/xz

Attachment: kernel-selftests
Description: Text document

Attachment: job.yaml
Description: Text document

Attachment: reproduce
Description: Text document


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.