[Kernel-packages] [Bug 1821906] Re: debug in ubuntu_kvm_unit_test failed on 3.13 / 4.4 (FAIL: single step emulated instructions)

2022-10-06 Thread Po-Hsu Lin
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 0x8021
  
- 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 0x8021
+  
+  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=0106 RBX=004002ba RCX=03fd 
RDX=03f8
+  RSI=00400582 RDI=004002ba RBP=005116b0 
RSP=005116b0
+  R8 =00410589 R9 =03f8 R10=00410589 
R11=000d
+  R12=00400582 R13= R14= 
R15=
+  RIP=004002ca RFL=0306 [-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
+  ES =0043   00c0f300 DPL=3 DS   [-WA]
+  CS =0008   00a09b00 DPL=0 CS64 [-RA]
+  SS =   00c0
+  DS =0043   00c0f300 DPL=3 DS   [-WA]
+  FS =   00c01300
+  GS = 00510720  00c01300
+  LDT=   8200 DPL=0 LDT
+  TR =0080 005188a0  8b00 DPL=0 TSS64-busy
+  GDT= 0040e100 106f
+  IDT= 0051f040 0fff
+  CR0=8011 CR2= CR3=0040c000 CR4=0020
+  DR0=00400aa3 DR1= DR2= 
DR3= 
+  DR6=4ff0 DR7=0402
+  EFER=0500
+  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 

[Kernel-packages] [Bug 1821906] Re: debug in ubuntu_kvm_unit_test failed on 3.13 / 4.4 (FAIL: single step emulated instructions)

2021-11-04 Thread Thadeu Lima de Souza Cascardo
Fails on 3.13.0-187 and 3.13.0-188.

-- 
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
  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 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)

  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
   enabling apic
   PASS: reading DR4 with CR4.DE == 0
   PASS: reading DR4 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
   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)

  
  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


[Kernel-packages] [Bug 1821906] Re: debug in ubuntu_kvm_unit_test failed on 3.13 / 4.4 (FAIL: single step emulated instructions)

2021-09-01 Thread Krzysztof Kozlowski
** Tags added: sru-20210816

-- 
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
  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 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)

  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
   enabling apic
   PASS: reading DR4 with CR4.DE == 0
   PASS: reading DR4 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
   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)

  
  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


[Kernel-packages] [Bug 1821906] Re: debug in ubuntu_kvm_unit_test failed on 3.13 / 4.4 (FAIL: single step emulated instructions)

2021-09-01 Thread Krzysztof Kozlowski
Found on xenial/linux-aws/4.4.0-1132.146

** Tags added: aws

** Tags added: hinted

-- 
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
  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 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)

  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
   enabling apic
   PASS: reading DR4 with CR4.DE == 0
   PASS: reading DR4 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
   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)

  
  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