← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 1991922] Re: svm_npt from ubuntu_kvm_unit_tests failed on node gonzo (FAIL: npt_rw_pfwalk)

 

found on:

 	SRU Cycle:	2025.02.10
 	Series:	jammy
 	Package:	linux-realtime-6.8
 	Version:	6.8.1-1018.19~22.04.1
 	Cloud:	testflinger
 	Instance:	amd-server
 	Region:	servers-generic
 	Operation:	sru

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

Title:
  svm_npt from ubuntu_kvm_unit_tests failed on node gonzo (FAIL:
  npt_rw_pfwalk)

Status in ubuntu-kernel-tests:
  New

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)

  Looks like this issue is hardware dependent, it requires SVM and will
  be skipped on those machines that this feature is not available.

  Test failed with:
    FAIL: npt_rw_pfwalk

  And eventually failed with assertion error:
   /home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/lib/x86/processor.h:524: assert failed: !vector: Unexpected fault '13' writing CR4 = 100020
    STACK: 400653 4008e7 40149d 400a59 4001b7

  Test log:
   Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/svm_npt'
   BUILD_HEAD=d8a4f9e5
   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.DRtfBCs9wo -smp 2 -cpu max,+svm -m 4g # -initrd /tmp/tmp.tFKG8NwTBg
   enabling apic
   smp: waiting for 1 APs
   enabling apic
   setup: CPU 1 online
   paging enabled
   cr0 = 80010011
   cr3 = 10bf000
   cr4 = 20
   NPT detected - running all tests with NPT enabled
   PASS: npt_nx
   PASS: npt_np
   PASS: npt_us
   PASS: npt_rw
   FAIL: npt_rw_pfwalk
   PASS: npt_l1mmio
   PASS: npt_rw_l1mmio
   PASS: Wanted #NPF on rsvd bits = 0x8000000000000000, got exit = 0x400
   PASS: Wanted PFEC = 0x10000000d, got PFEC = 10000000d, PxE = 0x8000000000400027.  host.NX = 0, host.SMEP = 0, guest.NX = 0, guest.SMEP = 0
   PASS: Wanted #NPF on rsvd bits = 0xf280000000000, got exit = 0x400
   PASS: Wanted PFEC = 0x10000001d, got PFEC = 10000001d, PxE = 0xf280000400027.  host.NX = 1, host.SMEP = 0, guest.NX = 0, guest.SMEP = 0
   /home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/lib/x86/processor.h:524: assert failed: !vector: Unexpected fault '13' writing CR4 = 100020
       STACK: 400653 4008e7 40149d 400a59 4001b7
   FAIL svm_npt

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