vmware_backdoors will fail on kvm_unit_tests on aws i3.metal

Bug #1821393 reported by Sean Feole
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Reproducible: Yes, every time.
Series: cosmic
Kernel: "linux-aws 4.18.0-1012.14"
Steps:

1.) apt-get install --yes --allow build-essential cpu-checker qemu-kvm git gcc-multilib
2.) git clone --depth=1 https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git
3.) cd kvm-unit-tests; ./configure; make
4.) TESTNAME=vmware_backdoors TIMEOUT=90s ACCEL= ./x86/run x86/vmware_backdoors.flat -smp 1 -machine vmport=on

root@ip-172-31-5-254:/home/ubuntu/kvm-unit-tests# TESTNAME=vmware_backdoors TIMEOUT=90s ACCEL= ./x86/run x86/vmware_backdoors.flat -smp 1 -machine vmport=on
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/vmware_backdoors.flat -smp 1 -machine vmport=on # -initrd /tmp/tmp.QldMaGLdve
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
enabling apic
paging enabled
cr0 = 80010011
cr3 = 45b000
cr4 = 20
PASS: vmware_backdoors: rdpmc_test: HOST_TSC kernel
PASS: vmware_backdoors: rdpmc_test: REAL_TIME kernel
PASS: vmware_backdoors: rdpmc_test: APPARENT_TIME kernel
FAIL: vmware_backdoors: rdpmc_test: HOST_TSC user
FAIL: vmware_backdoors: rdpmc_test: REAL_TIME user
FAIL: vmware_backdoors: rdpmc_test: APPARENT_TIME user
PASS: vmware_backdoors: rdpmc_test: RANDOM PMC user
FAIL: vmware_backdoors: port_test: CMD_GETVERSION user
PASS: vmware_backdoors: port_test: CMD_GETVERSION kernel
FAIL: vmware_backdoors: port_test: CMD_ILLEGAL user
PASS: vmware_backdoors: port_test: RANDOM port user
SUMMARY: 11 tests, 5 unexpected failures

Revision history for this message
Sean Feole (sfeole) wrote :

Also affects Bionic linux-aws 4.15.1035.37

tags: added: 4.15 4.18 bionic cosmic
Revision history for this message
Sean Feole (sfeole) wrote :

Also affects Xenial linux-aws 4.4.0-1078.88

tags: added: 4.4 xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-aws (Ubuntu):
status: New → Confirmed
Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

That affects all kernels, because that needs kvm modules parameter enable_vmware_backdoor. I am not comfortable enabling that by default on our kernels. We could enable that during the kvm-unit-tests. But for now, on our own branch of kvm-unit-tests, I decided to simply disable that test to be run by default.

Cascardo.

Po-Hsu Lin (cypressyew)
affects: linux-aws (Ubuntu) → linux (Ubuntu)
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-kvm-unit-tests
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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