vmx test in kvm-unit-test failed on E4v3 azure node, aws i3.metal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
linux-aws-hwe (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
linux-azure (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
linux-azure-edge (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
With Joshua's comment in bug 1719524: "Nested KVM can only be tried on instance sizes with nested Hypervisor support: Ev3 and Dv3.", although the instance name is E4v3 here but I can start a KVM on it.
Test vmx test will fail on it.
Steps:
1. git clone --depth=1 https:/
2. cd kvm-unit-tests; ./configure; make
3. Run the vmx test as root:
# TESTNAME=vmx TIMEOUT=90s ACCEL= ./x86/run x86/vmx.flat -smp 1 -cpu host,+vmx -m 2560 -append -exit_monitor_
timeout -k 1s --foreground 90s /usr/bin/
enabling apic
paging enabled
cr0 = 80010011
cr3 = 46b000
cr4 = 20
PASS: test vmxon with FEATURE_CONTROL cleared
PASS: test vmxon without FEATURE_CONTROL lock
PASS: test enable VMX in FEATURE_CONTROL
PASS: test FEATURE_CONTROL lock bit
PASS: test vmxon with unaligned vmxon region
PASS: test vmxon with bits set beyond physical address width
PASS: test vmxon with invalid revision identifier
PASS: test vmxon with valid vmxon region
PASS: test vmptrld with unaligned vmcs
PASS: test vmptrld with vmcs address bits set beyond physical address width
PASS: test vmptrld with vmxon region
PASS: test vmptrld with vmxon region vm-instruction error
PASS: test vmptrld with valid vmcs region
PASS: test vmclear with unaligned vmcs
PASS: test vmclear with vmcs address bits set beyond physical address width
PASS: test vmclear with vmxon region
PASS: test vmclear with valid vmcs region
PASS: test vmclear flush (current VMCS)
PASS: test vmclear flush (!current VMCS)
PASS: test vmptrst
PASS: VMWRITE/VMREAD
PASS: VMREAD TSC_OFFSET after VMWRITE TSC_OFFSET
PASS: VMREAD TSC_OFFSET_HI after VMWRITE TSC_OFFSET
PASS: VMREAD TSC_OFFSET_HI after VMWRITE TSC_OFFSET_HI
PASS: VMREAD TSC_OFFSET after VMWRITE TSC_OFFSET_HI
VMCLEAR VMCS0
VMPTRLD VMCS0
PASS: current:VMCS0 active:[VMCS0]
VMCLEAR VMCS0
VMPTRLD VMCS0
PASS: current:VMCS0 active:[VMCS0]
VMCLEAR VMCS1
PASS: current:VMCS0 active:[VMCS0]
VMPTRLD VMCS1
PASS: current:VMCS1 active:
VMPTRLD VMCS0
PASS: current:VMCS0 active:
VMPTRLD VMCS1
PASS: current:VMCS1 active:
VMPTRLD VMCS1
PASS: current:VMCS1 active:
VMCLEAR VMCS0
PASS: current:VMCS1 active:[VCMS1]
VMPTRLD VMCS1
PASS: current:VMCS1 active:[VCMS1]
VMCLEAR VMCS0
VMCLEAR VMCS1
Test suite: VMX capability reporting
PASS: MSR_IA32_VMX_BASIC
PASS: MSR_IA32_VMX_MISC
PASS: MSR_IA32_
PASS: MSR_IA32_
PASS: MSR_IA32_
PASS: MSR_IA32_
PASS: MSR_IA32_
PASS: MSR_IA32_
PASS: MSR_IA32_
PASS: MSR_IA32_
PASS: MSR_IA32_
Test suite: null
PASS: Basic VMX test
Test suite: vmenter
PASS: test vmlaunch
PASS: test vmresume
Test suite: preemption timer
PASS: Keep preemption value
PASS: Save preemption value
PASS: busy-wait for preemption timer
PASS: preemption timer during hlt
PASS: preemption timer with 0 value
Test suite: control field PAT
PASS: Exit save PAT
PASS: Exit load PAT
PASS: Entry load PAT
Test suite: control field EFER
PASS: Exit save EFER
PASS: Exit load EFER
PASS: Entry load EFER
Test suite: CR shadowing
PASS: Read through CR0
PASS: Read through CR4
PASS: Write through CR0
PASS: Write through CR4
PASS: Read shadowing CR0
PASS: Read shadowing CR4
PASS: Write shadowing CR0 (same value)
PASS: Write shadowing CR4 (same value)
PASS: Write shadowing different X86_CR0_TS
PASS: Write shadowing different X86_CR0_MP
PASS: Write shadowing different X86_CR4_TSD
PASS: Write shadowing different X86_CR4_DE
Test suite: I/O bitmap
PASS: I/O bitmap - I/O pass
PASS: I/O bitmap - I/O width, byte
PASS: I/O bitmap - I/O direction, in
PASS: I/O bitmap - trap in
PASS: I/O bitmap - I/O width, word
PASS: I/O bitmap - I/O direction, out
PASS: I/O bitmap - trap out
PASS: I/O bitmap - I/O width, long
PASS: I/O bitmap - I/O width, long
PASS: I/O bitmap - I/O port, low part
PASS: I/O bitmap - I/O port, high part
PASS: I/O bitmap - partial pass
PASS: I/O bitmap - overrun
PASS: I/O bitmap - ignore unconditional exiting
PASS: I/O bitmap - unconditional exiting
Test suite: instruction intercept
PASS: execute HLT
PASS: intercept HLT
PASS: execute INVLPG
PASS: intercept INVLPG
PASS: execute MWAIT
PASS: intercept MWAIT
Unhandled exception 13 #GP at ip 00000000004039d5
error_code=0000 rflags=00010046 cs=00000008
rax=00000000000
rbp=00000000004
r8=00000000004
r12=00000000000
cr0=00000000800
cr8=00000000000
STACK: @4039d5 401eb6 4004dd
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.14.0-
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Thu Feb 8 06:17:46 2018
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: linux-azure-edge
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- vmx test in kvm-unit-test failed on E4v3 azure node with 4.14 kernel + vmx test in kvm-unit-test failed on E4v3 azure node with 4.13/4.14 + kernel |
Spotted on AWS i3.metal with X-4.15 AWS kernel