2021-10-12 06:10:02

by kernel test robot

[permalink] [raw]
Subject: [KVM] e03b29fb9f: kernel-selftests.kvm.vmx_tsc_adjust_test.fail



Greeting,

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

commit: e03b29fb9f17d122433a7d955d855cb5115ae1e0 ("KVM: x86: Refactor tsc synchronization code")
https://git.kernel.org/cgit/virt/kvm/kvm.git queue


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

group: kvm
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 <[email protected]>



# selftests: kvm: vmx_tsc_adjust_test
# ==== Test Assertion Failure ====
# x86_64/vmx_tsc_adjust_test.c:152: false
# pid=10103 tid=10103 errno=4 - Interrupted system call
# 1 0x00000000004024b2: main at vmx_tsc_adjust_test.c:152
# 2 0x00007fc74ae4509a: ?? ??:0
# 3 0x0000000000402539: _start at ??:?
# Failed guest assert: rdtsc() < TSC_ADJUST_VALUE
not ok 26 selftests: kvm: vmx_tsc_adjust_test # exit=254



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) (1.97 kB)
config-5.15.0-rc2-00154-ge03b29fb9f17 (179.15 kB)
job-script (5.77 kB)
kmsg.xz (31.00 kB)
kernel-selftests (92.37 kB)
job.yaml (4.88 kB)
reproduce (150.00 B)
Download all attachments