The svm test will now fail early with node gonzo + 4.15.0-147

BUILD_HEAD=0fb180cf
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot 
-nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 
-vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel 
/tmp/tmp.2L6tnYwNVP -smp 2 -cpu max,+svm -m 4g # -initrd /tmp/tmp.MBp5T3NwS4
enabling apic
enabling apic
paging enabled
cr0 = 80010011
cr3 = 10bf000
cr4 = 20
NPT detected - running all tests with NPT enabled
PASS: null
PASS: vmrun
PASS: ioio
PASS: vmrun intercept check
Unhandled exception 6 #UD at ip 0000000000400fc0
error_code=0000      rflags=00010002      cs=00000008
rax=0000000000000000 rcx=0000000000000000 rdx=00000000ffffffff 
rbx=0000000000000000
rbp=0000000000434de8 rsi=0000000000000000 rdi=000000000041a9a0
 r8=0000000000000000  r9=0000000000000000 r10=0000000000000000 
r11=0000000000000000
r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 
r15=0000000000000000
cr0=0000000080010011 cr2=0000000000000000 cr3=00000000010bf000 
cr4=0000000000000020
cr8=0000000000000000
        STACK: @400fc0 40041d
FAIL svm 


$ git bisect log
git bisect start
# bad: [0fb180cfbdf236559cd10675a85b9e6d78deafc4] UBUNTU: SAUCE: vmx: split 
tests that fail on bionic
git bisect bad 0fb180cfbdf236559cd10675a85b9e6d78deafc4
# good: [764aa0b88d9556520457f13b38d5cea21600545b] arm: powerpc: comment 
halt(code)
git bisect good 764aa0b88d9556520457f13b38d5cea21600545b
# bad: [c88b7beaafd711e0ca98529a56c9d35eedc60b5f] lib/alloc.c: fix missing 
include
git bisect bad c88b7beaafd711e0ca98529a56c9d35eedc60b5f
# good: [d5b60621b0e6863fd62e4657b7a2ec70bf7eee34] lib: Add WRITE_ONCE and 
READ_ONCE implementations in compiler.h
git bisect good d5b60621b0e6863fd62e4657b7a2ec70bf7eee34
# good: [e44a257a89ef821802b21cf4fd0ee6f124278e15] arm/arm64: gic: Move 
gic_state enumeration to asm/gic.h
git bisect good e44a257a89ef821802b21cf4fd0ee6f124278e15
# good: [fc67b07a4b5183a336f254bc886f9032f603bd5b] s390x: smp: Test stop and 
store status on a running and stopped cpu
git bisect good fc67b07a4b5183a336f254bc886f9032f603bd5b
# bad: [7edd698ed003e3c4d64868208c30d33fd97168b7] scripts/arch-run: Support 
testing of hvf accel
git bisect bad 7edd698ed003e3c4d64868208c30d33fd97168b7
# good: [7e7d93578f02bba2e484ba49a08fa6b2ebbdc4a8] svm: Fix nmi hlt test to 
fail test correctly
git bisect good 7e7d93578f02bba2e484ba49a08fa6b2ebbdc4a8
# good: [a3307eb5dbdba6b657a0d9b19eb9bc0c05d04add] Merge tag 's390x-2020-04-30' 
of https://github.com/davidhildenbrand/kvm-unit-tests
git bisect good a3307eb5dbdba6b657a0d9b19eb9bc0c05d04add
# good: [9c8389546e1fbb6e25cc5bc22bc2f2765e9dbfbe] svm: Test V_IRQ injection
git bisect good 9c8389546e1fbb6e25cc5bc22bc2f2765e9dbfbe
# bad: [401299a581d7b255a615de482c3a9e97e090fd8a] svm_tests: add RSM intercept 
test

Caused by this test case:
https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/commit/401299a581d7b255a615de482c3a9e97e090fd8a
git bisect bad 401299a581d7b255a615de482c3a9e97e090fd8a
# good: [b49a1a6d4e234a60211805b7cb0db06c9b293209] x86: VMX: Add a 
VMX-preemption timer expiration test
git bisect good b49a1a6d4e234a60211805b7cb0db06c9b293209
# first bad commit: [401299a581d7b255a615de482c3a9e97e090fd8a] svm_tests: add 
RSM intercept test


** Tags added: sru-20210621

** Tags removed: verification-needed
** Tags added: bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1821903

Title:
  svm in ubuntu_kvm_unit_tests failed on 3.13 / 4.4 / 4.15

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Trusty:
  Incomplete
Status in linux-signed-lts-xenial source package in Trusty:
  Fix Committed
Status in linux source package in Xenial:
  Fix Committed
Status in linux-signed-lts-xenial source package in Xenial:
  Invalid
Status in linux source package in Cosmic:
  Won't Fix
Status in linux-signed-lts-xenial source package in Cosmic:
  Invalid

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1821903/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to