svm in ubuntu_kvm_unit_test failed on 3.13 / 4.4

Bug #1821903 reported by Po-Hsu Lin on 2019-03-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Unassigned
linux (Ubuntu)
Undecided
Unassigned
Trusty
Undecided
Unassigned
Xenial
Undecided
Unassigned
Cosmic
Undecided
Unassigned
linux-signed-lts-xenial (Ubuntu)
Trusty
Undecided
Unassigned
Xenial
Undecided
Unassigned
Cosmic
Undecided
Unassigned

Bug Description

This svm test timeouted on T-3.13
failed on T-4.4 with:

root@gonzo:/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests# TESTNAME=svm TIMEOUT=90s ACCEL= ./x86/run x86/svm.flat -smp 2 -cpu qemu64,+svm
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/svm.flat -smp 2 -cpu qemu64,+svm # -initrd /tmp/tmp.PDi0UKyCcl

enabling apic
enabling apic
paging enabled
cr0 = 80010011
cr3 = 466000
cr4 = 20
PASS: null
PASS: vmrun
PASS: ioio
PASS: vmrun intercept check
PASS: cr3 read intercept
PASS: cr3 read nointercept
PASS: cr3 read intercept emulate
PASS: dr intercept check
PASS: msr intercept check
PASS: mode_switch
PASS: asid_zero
PASS: sel_cr0_bug
FAIL: tsc_adjust
    Latency VMRUN : max: 80562 min: 19763 avg: 20374
    Latency VMEXIT: max: 83146 min: 20193 avg: 20834
PASS: latency_run_exit
    Latency VMLOAD: max: 38298 min: 4619 avg: 4838
    Latency VMSAVE: max: 32870 min: 4637 avg: 4809
    Latency STGI: max: 55478 min: 3846 avg: 3923
    Latency CLGI: max: 67473 min: 3379 avg: 3437
PASS: latency_svm_insn
SUMMARY: 15 tests, 1 unexpected failures

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-4.4.0-143-generic 4.4.0-143.169~14.04.2
ProcVersionSignature: User Name 4.4.0-143.169~14.04.2-generic 4.4.170
Uname: Linux 4.4.0-143-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
Date: Wed Mar 27 11:00:42 2019
SourcePackage: linux-signed-lts-xenial
UpgradeStatus: No upgrade log present (probably fresh install)

Po-Hsu Lin (cypressyew) wrote :
summary: - svm in ubuntu_kvm_unit_test failed on T-3.13 / T-4.4
+ svm in ubuntu_kvm_unit_test failed on 3.13 4.4
summary: - svm in ubuntu_kvm_unit_test failed on 3.13 4.4
+ svm in ubuntu_kvm_unit_test failed on 3.13 / 4.4
tags: added: xenial
Po-Hsu Lin (cypressyew) wrote :

Could be found on X-4.4 as well.

no longer affects: ubuntu-kernel-tests

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 1821903

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
Changed in linux (Ubuntu Trusty):
status: New → Incomplete
Changed in linux (Ubuntu Xenial):
status: New → Incomplete
Po-Hsu Lin (cypressyew) on 2019-03-28
no longer affects: linux-signed-lts-xenial (Ubuntu)

I fixed the issue with tsc-adjust on kvm-unit-tests itself, sent upstream, fixed on our disco branch. That should fix it for 4.4 kernels as well, though I only tested on 5.0 kernels for now. Trusty likely needs further review.

Changed in linux (Ubuntu Cosmic):
status: New → Fix Committed
Changed in linux (Ubuntu Xenial):
status: Incomplete → Fix Committed
Changed in linux-signed-lts-xenial (Ubuntu Trusty):
status: New → Fix Committed
Changed in linux-signed-lts-xenial (Ubuntu Xenial):
status: New → Invalid
Changed in linux-signed-lts-xenial (Ubuntu Cosmic):
status: New → Invalid
tags: added: verification-needed verification-needed-xenial
Po-Hsu Lin (cypressyew) wrote :

Saw this one passed with Bionic 5.0 kernel (AMD64)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers