lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 12 Oct 2021 14:27:26 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Oliver Upton <oupton@...gle.com>
Cc:     Paolo Bonzini <pbonzini@...hat.com>,
        LKML <linux-kernel@...r.kernel.org>, kvm@...r.kernel.org,
        Robert Hu <robert.hu@...el.com>,
        Farrah Chen <farrah.chen@...el.com>,
        Danmei Wei <danmei.wei@...el.com>, lkp@...ts.01.org,
        lkp@...el.com, xudong.hao@...el.com
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 <oliver.sang@...el.com>



# 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/lkp@lists.01.org       Intel Corporation

Thanks,
Oliver Sang


View attachment "config-5.15.0-rc2-00154-ge03b29fb9f17" of type "text/plain" (176443 bytes)

View attachment "job-script" of type "text/plain" (5762 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (31740 bytes)

View attachment "kernel-selftests" of type "text/plain" (93076 bytes)

View attachment "job.yaml" of type "text/plain" (4872 bytes)

View attachment "reproduce" of type "text/plain" (146 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ