Skip to contentSkip to conversation

New: Assertion Failure happens in kvm selftest vmx_preemption_timer_test

Bug 218025 [email protected] 1 participant 2 messages Oct 19, 2023 – Oct 8, 2024 KVM

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=218025

Bug ID: 218025
Summary: Assertion Failure happens in kvm selftest
vmx_preemption_timer_test
Product: Virtualization
Version: unspecified
Hardware: Intel
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: kvm
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Created attachment 305265
--> https://bugzilla.kernel.org/attachment.cgi?id=305265&action=edit
KERNEL_CONFIG

Environment:
CPU Architecture: x86_64, Sapphire Rapids, Intel(R) Xeon(R) Platinum 8487C Host OS: CentOS Stream 9
Host kernel: Linux Kernel v6.6-rc6
Host kernel source:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Branch: master
Commit: 58720809f52779dc0f08e53e54b014209d13eebb
Tag: v6.6-rc6

Bug Detailed Description:
Assertion failure happened after executing kvm selftest vmx_preemption_timer_test.

Reproducing Steps:
git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git checkout v6.6-rc6
cd linux/tools/testing/selftests/kvm && make
cd x86_64 && ./vmx_preemption_timer_test

Actual Result:
[root@spr-2s2 x86_64]# ./vmx_preemption_timer_test
Stage 2: L1 PT expiry TSC (3202723296) , L1 TSC deadline (3202657792) Stage 2: L2 PT expiry TSC (3202694752) , L2 TSC deadline (3202678752) ==== Test Assertion Failure ====
x86_64/vmx_preemption_timer_test.c:221: uc.args[4] < uc.args[5] pid=23920 tid=23920 errno=4 - Interrupted system call

     1  0x0000000000402874: main at vmx_preemption_timer_test.c:221
     2  0x00007f06c2e3feaf: ?? ??:0
     3  0x00007f06c2e3ff5f: ?? ??:0
     4  0x00000000004028e4: _start at ??:?

Stage 2: L2 PT expiry TSC (3202694752) > L2 TSC deadline (3202678752)

Expected result:
[root@spr-2s2 x86_64]# ./vmx_preemption_timer_test [root@spr-2s2 x86_64]#

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 218025] Assertion Failure happens in kvm selftest vmx_preemption_timer_test

https://bugzilla.kernel.org/show_bug.cgi?id=218025

Like Xu ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Like Xu ([email protected]) --- This issue still exists with the latest kvm-x86-next-2024.10.07 tag:

[root@intel-spr kvm]# ./x86_64/vmx_preemption_timer_test Random seed: 0x6b8b4567
Stage 2: L1 PT expiry TSC (3200842488) , L1 TSC deadline (3200779744) Stage 2: L2 PT expiry TSC (3200803666) , L2 TSC deadline (3200796320) ==== Test Assertion Failure ====
x86_64/vmx_preemption_timer_test.c:220: uc.args[4] < uc.args[5] pid=87853 tid=87853 errno=4 - Interrupted system call

     1  0x000000000040295c: main at vmx_preemption_timer_test.c:220
     2  0x00007efe8e755f4f: ?? ??:0
     3  0x00007efe8e756008: ?? ??:0
     4  0x0000000000402b24: _start at ??:?

Stage 2: L2 PT expiry TSC (3200803666) > L2 TSC deadline (3200796320)

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.