vmx_ept_access_test_paddr_read_only_ad_disabled test in kvm-unit-test failed on E4v3 azure node with 4.13/4.14 kernel

Bug #1748111 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
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_ept_access_test_paddr_read_only_ad_disabled test will fail on it.

Steps:
1. git clone --depth=1 https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git
2. cd kvm-unit-tests; ./configure; make
3. Run the vmx_ept_access_test_paddr_read_only_ad_disabled test as root:

# TESTNAME=vmx_ept_access_test_paddr_read_only_ad_disabled TIMEOUT=90s ACCEL= ./x86/run x86/vmx.flat -smp 1 -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_only_ad_disabled
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel x86/vmx.flat -smp 1 -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_only_ad_disabled # -initrd /tmp/tmp.lTUqsdyArh
enabling apic
paging enabled
cr0 = 80010011
cr3 = 46b000
cr4 = 20

Test suite: ept_access_test_paddr_read_only_ad_disabled
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
 LHS: 0x000000000000008b - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1000'1011 - 139
 RHS: 0x000000000000008a - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1000'1010 - 138
 STACK: 408b22 40920f 4092f2 409730 401d21 403944 400312
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
 LHS: 0x000000000000008b - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1000'1011 - 139
 RHS: 0x000000000000008a - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1000'1010 - 138
 STACK: 408b22 40920f 4092f2 409749 401d21 403944 400312
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
 LHS: 0x000000000000008b - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1000'1011 - 139
 RHS: 0x000000000000008a - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1000'1010 - 138
 STACK: 408b22 40920f 4092f2 409762 401d21 403944 400312
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
 LHS: 0x000000000000008b - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1000'1011 - 139
 RHS: 0x000000000000008a - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1000'1010 - 138
 STACK: 408b22 40920f 4092f2 40978f 401d21 403944 400312
SUMMARY: 145 tests, 4 unexpected failures

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.14.0-1004-azure-edge 4.14.0-1004.4
ProcVersionSignature: User Name 4.14.0-1004.4-username-edge 4.14.14
Uname: Linux 4.14.0-1004-azure-edge x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Thu Feb 8 06:24:39 2018
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-azure-edge
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Po-Hsu Lin (cypressyew)
summary: vmx_ept_access_test_paddr_read_only_ad_disabled test in kvm-unit-test
- failed on E4v3 azure node with 4.14 kernel
+ failed on E4v3 azure node with 4.13/4.14 kernel
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1748111

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.