With kvm-unit-test repo updated to d8a4f9e5 (ci: Update the list of
tests that we run in the Fedora Cirrus-CI), this test is still failing,
I will update the bug description.

** Tags added: sru-20220919

** Description changed:

- This test has failed on:
-  * T-3.13:
-     - FAIL debug (11 tests, 6 unexpected failures)
-  * T-4.4 / X-4.4:
-     - FAIL debug (13 tests, 1 unexpected failures)
+ This test failed with:
+  FAIL: Single-step #DB on emulated instructions
+  FAIL: Usermode Single-step #DB on emulated instructions
+  KVM: entry failed, hardware error 0x80000021
  
- Running 
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/debug'
-  BUILD_HEAD=1593e88a
-  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.eY4ym9tA6e -smp 1 # -initrd /tmp/tmp.FnZA1vIITj
+ 
+ Test log:
+  Running 
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/debug'
+  BUILD_HEAD=63cdb04b
+  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.IBmC6sYYO4 -smp 1 # -initrd /tmp/tmp.5wvGjtkv3G
   enabling apic
-  PASS: reading DR4 with CR4.DE == 0
-  PASS: reading DR4 with CR4.DE == 1
+  smp: waiting for 0 APs
+  PASS: DR4==DR6 with CR4.DE == 0
+  PASS: DR4 read got #UD with CR4.DE == 1
   PASS: #BP
-  PASS: hw breakpoint (test that dr6.BS is not set) 
+  PASS: hw breakpoint (test that dr6.BS is not set)
   PASS: hw breakpoint (test that dr6.BS is not cleared)
-  PASS: single step
-  FAIL: single step emulated instructions
-  PASS: hw watchpoint (test that dr6.BS is not cleared)
-  PASS: hw watchpoint (test that dr6.BS is not set) 
-  PASS: icebp
-  PASS: MOV SS + watchpoint + ICEBP
-  PASS: MOV SS + watchpoint + int $1
-  PASS: MOV SS + watchpoint + INT3
-  SUMMARY: 13 tests, 1 unexpected failures
-  FAIL debug (13 tests, 1 unexpected failures)
+  PASS: Single-step #DB basic test
+  PASS: Usermode Single-step #DB basic test
+  FAIL: Single-step #DB on emulated instructions
+  FAIL: Usermode Single-step #DB on emulated instructions
+  KVM: entry failed, hardware error 0x80000021
+  
+  If you're running a guest on an Intel machine without unrestricted mode 
+  support, the failure can be most likely due to the guest entering an invalid
+  state for Intel VT. For example, the guest maybe running in big real mode
+  which is not supported on less recent Intel processors.
+  
+  RAX=0000000000000106 RBX=00000000004002ba RCX=00000000000003fd 
RDX=00000000000003f8
+  RSI=0000000000400582 RDI=00000000004002ba RBP=00000000005116b0 
RSP=00000000005116b0
+  R8 =0000000000410589 R9 =00000000000003f8 R10=0000000000410589 
R11=000000000000000d
+  R12=0000000000400582 R13=0000000000000000 R14=0000000000000000 
R15=0000000000000000
+  RIP=00000000004002ca RFL=00000306 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
+  ES =0043 0000000000000000 ffffffff 00c0f300 DPL=3 DS   [-WA]
+  CS =0008 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
+  SS =0000 0000000000000000 ffffffff 00c00000
+  DS =0043 0000000000000000 ffffffff 00c0f300 DPL=3 DS   [-WA]
+  FS =0000 0000000000000000 ffffffff 00c01300
+  GS =0000 0000000000510720 ffffffff 00c01300
+  LDT=0000 0000000000000000 0000ffff 00008200 DPL=0 LDT
+  TR =0080 00000000005188a0 0000ffff 00008b00 DPL=0 TSS64-busy
+  GDT=     000000000040e100 0000106f
+  IDT=     000000000051f040 00000fff
+  CR0=80000011 CR2=0000000000000000 CR3=000000000040c000 CR4=00000020
+  DR0=0000000000400aa3 DR1=0000000000000000 DR2=0000000000000000 
DR3=0000000000000000 
+  DR6=00000000ffff4ff0 DR7=0000000000000402
+  EFER=0000000000000500
+  Code=f0 5b 5d c3 55 48 89 e5 fa 9c 58 48 0d 00 01 00 00 50 9d fb <48> 25 ff 
fe ff ff 50 9d 48 8d 15 f1 ff ff ff 48 89 d0 5d c3 55 48 89 e5 9c 58 48 0d 00 01
+  qemu: terminating on signal 15 from pid 14900 
+  FAIL debug (timeout; duration=90s)
  
  
  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:15:05 2019
  SourcePackage: linux-signed-lts-xenial
  UpgradeStatus: No upgrade log present (probably fresh install)

** Summary changed:

- debug in ubuntu_kvm_unit_test failed on 3.13 / 4.4 (FAIL: single step 
emulated instructions)
+ debug in ubuntu_kvm_unit_test failed on 3.13 / 4.4 (Single-step #DB on 
emulated instructions)

** Summary changed:

- debug in ubuntu_kvm_unit_test failed on 3.13 / 4.4 (Single-step #DB on 
emulated instructions)
+ debug in ubuntu_kvm_unit_test failed on 3.13 / 4.4 (FAIL: Single-step #DB on 
emulated instructions)

-- 
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/1821906

Title:
  debug in ubuntu_kvm_unit_test failed on 3.13 / 4.4 (FAIL: Single-step
  #DB on emulated instructions)

Status in ubuntu-kernel-tests:
  Triaged
Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Trusty:
  Confirmed
Status in linux source package in Xenial:
  Confirmed

Bug description:
  This test failed with:
   FAIL: Single-step #DB on emulated instructions
   FAIL: Usermode Single-step #DB on emulated instructions
   KVM: entry failed, hardware error 0x80000021

  
  Test log:
   Running 
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/debug'
   BUILD_HEAD=63cdb04b
   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.IBmC6sYYO4 -smp 1 # -initrd /tmp/tmp.5wvGjtkv3G
   enabling apic
   smp: waiting for 0 APs
   PASS: DR4==DR6 with CR4.DE == 0
   PASS: DR4 read got #UD with CR4.DE == 1
   PASS: #BP
   PASS: hw breakpoint (test that dr6.BS is not set)
   PASS: hw breakpoint (test that dr6.BS is not cleared)
   PASS: Single-step #DB basic test
   PASS: Usermode Single-step #DB basic test
   FAIL: Single-step #DB on emulated instructions
   FAIL: Usermode Single-step #DB on emulated instructions
   KVM: entry failed, hardware error 0x80000021
   
   If you're running a guest on an Intel machine without unrestricted mode 
   support, the failure can be most likely due to the guest entering an invalid
   state for Intel VT. For example, the guest maybe running in big real mode
   which is not supported on less recent Intel processors.
   
   RAX=0000000000000106 RBX=00000000004002ba RCX=00000000000003fd 
RDX=00000000000003f8
   RSI=0000000000400582 RDI=00000000004002ba RBP=00000000005116b0 
RSP=00000000005116b0
   R8 =0000000000410589 R9 =00000000000003f8 R10=0000000000410589 
R11=000000000000000d
   R12=0000000000400582 R13=0000000000000000 R14=0000000000000000 
R15=0000000000000000
   RIP=00000000004002ca RFL=00000306 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
   ES =0043 0000000000000000 ffffffff 00c0f300 DPL=3 DS   [-WA]
   CS =0008 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
   SS =0000 0000000000000000 ffffffff 00c00000
   DS =0043 0000000000000000 ffffffff 00c0f300 DPL=3 DS   [-WA]
   FS =0000 0000000000000000 ffffffff 00c01300
   GS =0000 0000000000510720 ffffffff 00c01300
   LDT=0000 0000000000000000 0000ffff 00008200 DPL=0 LDT
   TR =0080 00000000005188a0 0000ffff 00008b00 DPL=0 TSS64-busy
   GDT=     000000000040e100 0000106f
   IDT=     000000000051f040 00000fff
   CR0=80000011 CR2=0000000000000000 CR3=000000000040c000 CR4=00000020
   DR0=0000000000400aa3 DR1=0000000000000000 DR2=0000000000000000 
DR3=0000000000000000 
   DR6=00000000ffff4ff0 DR7=0000000000000402
   EFER=0000000000000500
   Code=f0 5b 5d c3 55 48 89 e5 fa 9c 58 48 0d 00 01 00 00 50 9d fb <48> 25 ff 
fe ff ff 50 9d 48 8d 15 f1 ff ff ff 48 89 d0 5d c3 55 48 89 e5 9c 58 48 0d 00 01
   qemu: terminating on signal 15 from pid 14900 
   FAIL debug (timeout; duration=90s)


  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:15:05 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/1821906/+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