svm_npt from ubuntu_kvm_unit_tests failed on node gonzo (FAIL: npt_rw_pfwalk)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
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/
STACK: 400653 4008e7 40149d 400a59 4001b7
Test log:
Running '/home/
BUILD_
timeout -k 1s --foreground 90s /usr/bin/
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/
STACK: 400653 4008e7 40149d 400a59 4001b7
FAIL svm_npt
Related branches
- Francis Ginther: Approve
-
Diff: 27 lines (+9/-0)1 file modifiedfocal-linux-fips.yaml (+9/-0)
Seen on focal:linux 5.4.0-162.
Logs
3833 06:20:33 DEBUG| [stdout] INFO: /dev/kvm exists ubuntu/ autotest/ client/ tmp/ubuntu_ kvm_unit_ tests/src/ kvm-unit- tests/tests/ svm_npt' 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.6y0Kym7BRN -smp 2 -cpu max,+svm -m 4g # -initrd /tmp/tmp.Ro0g1wIw6e
3834 06:20:33 DEBUG| [stdout] KVM acceleration can be used
3835 06:20:33 DEBUG| Running '/home/
3836 06:20:33 DEBUG| [stdout] BUILD_HEAD=d8edb59a
3837 06:20:34 DEBUG| [stdout] timeout -k 1s --foreground 90s /usr/bin/
3838 06:20:34 DEBUG| [stdout] enabling apic
3839 06:20:34 DEBUG| [stdout] smp: waiting for 1 APs
3840 06:20:34 DEBUG| [stdout] enabling apic
3841 06:20:34 DEBUG| [stdout] setup: CPU 1 online
3842 06:20:34 DEBUG| [stdout] paging enabled
3843 06:20:34 DEBUG| [stdout] cr0 = 80010011
3844 06:20:34 DEBUG| [stdout] cr3 = 10bf000
3845 06:20:34 DEBUG| [stdout] cr4 = 20
3846 06:20:34 DEBUG| [stdout] NPT detected - running all tests with NPT enabled
3847 06:20:34 DEBUG| [stdout] PASS: npt_nx
3848 06:20:34 DEBUG| [stdout] PASS: npt_np
3849 06:20:34 DEBUG| [stdout] PASS: npt_us
3850 06:20:34 DEBUG| [stdout] PASS: npt_rw
3851 06:20:34 DEBUG| [stdout] FAIL: npt_rw_pfwalk
3852 06:20:34 DEBUG| [stdout] PASS: npt_l1mmio
3853 06:20:34 DEBUG| [stdout] PASS: npt_rw_l1mmio
3854 06:20:34 DEBUG| [stdout] PASS: Wanted #NPF on rsvd bits = 0x8000000000000000, got exit = 0x400
3855 06:20:34 DEBUG| [stdout] PASS: Wanted PFEC = 0x10000000d, got PFEC = 10000000d, PxE = 0x8000000000400027. host.NX = 0, host.SMEP = 0, guest.NX = 0, guest.SMEP = 0
3856 06:20:34 DEBUG| [stdout] PASS: Wanted #NPF on rsvd bits = 0x5a20000000000, got exit = 0x400
3857 06:20:34 DEBUG| [stdout] PASS: Wanted PFEC = 0x10000001d, got PFEC = 10000001d, PxE = 0x5a20000400027. host.NX = 1, host.SMEP = 0, guest.NX = 0, guest.SMEP = 0
3858 06:20:34 DEBUG| [stdout] PASS: Wanted #NPF on rsvd bits = 0x8000000000000000, got exit = 0x400
3859 06:20:34 DEBUG| [stdout] FAIL: Wanted PFEC = 0x10000001d, got PFEC = 10000000d, PxE = 0x8000000000400027. host.NX = 0, host.SMEP = 1, guest.NX = 0, guest.SMEP = 0
3860 06:20:34 DEBUG| [stdout] PASS: Wanted #NPF on rsvd bits = 0x5a20000000000, got exit = 0x400
3861 06:20:34 DEBUG| [stdout] PASS: Wanted PFEC = 0x10000001d, got PFEC = 10000001d, PxE = 0x5a20000400027. host.NX = 1, host.SMEP = 1, guest.NX = 0, guest.SMEP = 0
3862 06:20:34 DEBUG| [stdout] PASS: Wanted #NPF on rsvd bits = 0x8000000000000000, got exit = 0x400
3863 06:20:34 DEBUG| [stdout] PASS: Wanted PFEC = 0x10000000d, got PFEC = 10000000d, PxE = 0x8000000000400027. host.NX = 0, host.SMEP = 0, guest.NX = 1, guest.SMEP = 0
3864 06:20:34 DEBUG| [stdout] PASS: Wanted #NPF on rsvd bits = 0x5a20000000000, got exit = 0x400
3865 06:20:34 DEBUG| [stdout] PASS...