← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 1991762] Re: msr in ubuntu_kvm_unit_tests failed with timeout on J (error: kvm run failed Operation not permitted)

 

This test does not timeout anymore.
New failures for msr after kvm-unit-test update will be tracked in bug 2047344.

** Changed in: ubuntu-kernel-tests
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/1991762

Title:
  msr in ubuntu_kvm_unit_tests failed with timeout on J (error: kvm run
  failed Operation not permitted)

Status in ubuntu-kernel-tests:
  Fix Released

Bug description:
  Issue found after kvm-unit-test repo updated to d8a4f9e5 (ci: Update
  the list of tests that we run in the Fedora Cirrus-CI)

  It was just failing on Bionic i386 only (in a different way) with bug
  1916286 before this update.

  Test log:
  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.XPMfO38Orj -smp 1 -cpu max,vendor=GenuineIntel # -initrd /tmp/tmp.a6e2Wa0L1w
  enabling apic
  smp: waiting for 0 APs
  PASS: MSR_IA32_SYSENTER_CS
  PASS: MSR_IA32_SYSENTER_ESP
  PASS: MSR_IA32_SYSENTER_EIP
  PASS: MSR_IA32_MISC_ENABLE
  PASS: MSR_IA32_CR_PAT
  PASS: MSR_FS_BASE
  PASS: Expected #GP on WRSMR(MSR_FS_BASE, 0xaaaaaaaaaaaaaaaa), got vector 13
  PASS: MSR_GS_BASE
  PASS: Expected #GP on WRSMR(MSR_GS_BASE, 0xaaaaaaaaaaaaaaaa), got vector 13
  PASS: MSR_KERNEL_GS_BASE
  PASS: Expected #GP on WRSMR(MSR_KERNEL_GS_BASE, 0xaaaaaaaaaaaaaaaa), got vector 13
  PASS: MSR_EFER
  PASS: MSR_LSTAR
  PASS: Expected #GP on WRSMR(MSR_LSTAR, 0xaaaaaaaaaaaaaaaa), got vector 13
  PASS: MSR_CSTAR
  PASS: Expected #GP on WRSMR(MSR_CSTAR, 0xaaaaaaaaaaaaaaaa), got vector 13
  PASS: MSR_SYSCALL_MASK
  PASS: MSR_IA32_MC0_CTL
  PASS: MSR_IA32_MC0_CTL
  error: kvm run failed Operation not permitted
  RAX=00000000aaaaaaaa RBX=aaaaaaaaaaaaaaaa RCX=0000000000000400 RDX=00000000aaaaaaaa
  RSI=0000000000512160 RDI=0000000000000400 RBP=0000000000512120 RSP=0000000000512110
  R8 =0000000000411589 R9 =00000000000003f8 R10=000000000000000d R11=0000000000000000
  R12=0000000000512160 R13=0000000000407180 R14=aaaaaaaaaaaaaaaa R15=0000000020000000
  RIP=0000000000400372 RFL=00000807 [-O---PC] CPL=0 II=0 A20=1 SMM=0 HLT=0
  ES =0010 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
  CS =0008 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
  SS =0010 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
  DS =0010 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
  FS =0010 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
  GS =0010 00000000005111c0 ffffffff 00c09300 DPL=0 DS   [-WA]
  LDT=0000 0000000000000000 0000ffff 00008200 DPL=0 LDT
  TR =0080 00000000005172e0 0000ffff 00008b00 DPL=0 TSS64-busy
  GDT=     000000000040f100 0000106f
  IDT=     000000000051da80 00000fff
  CR0=80000011 CR2=0000000000000000 CR3=000000000040d000 CR4=00000020
  DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
  DR6=00000000ffff0ff0 DR7=0000000000000400
  EFER=0000000000000500
  Code=48 c1 ea 20 89 d8 89 f9 65 c7 04 25 04 00 00 00 00 00 00 00 <0f> 30 e8 83 32 00 00 3c 0d 40 0f 94 c7 40 0f b6 ff 44 0f b6 c0 48 89 d9 4c 89 e2 be a8 08
  qemu-system-x86_64: terminating on signal 15 from pid 33929 (timeout)
  FAIL msr (timeout; duration=90s)

  I tried to adjust the timeout to 10 minutes, it's still failing in the
  same way.

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