Comment 0 for bug 2047820

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : access in ubuntu_kvm_unit_tests failed on Intel SDPs with Focal

This issue is not a regression nor caused by the test suite update [1]

It's just because we re-enabled the test on Intel SDP cloud recently in 2023.10.30 cycle. And this issue can be found with 5.4.0-168.186 before the test suite update.

Issue found on node Intel SDP node grumman. Test will fail with "unexpected access" and timeout in the end. (This issue does not exist on the same node with Jammy 5.15)

Test log (please find the attachment for the complete test log):
 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/access'
 BUILD_HEAD=d8edb59a
 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.YMzvL0zmTr -smp 1 -cpu max # -initrd /tmp/tmp.iL1B9Yy1DN
 enabling apic
 smp: waiting for 0 APs
 starting test

 run

 test pte.p pte.51 pde.p: FAIL: unexpected access
 Dump mapping: address: 0xffff923400000000
 ------L4 I292: 2100027
 ------L3 I208: 2101027
 ------L2 I0: 2102061
 ------L1 I0: 8000002000001

 test pte.rw pte.p pte.51 pde.p: FAIL: unexpected access
 Dump mapping: address: 0xffff923400000000
 ------L4 I292: 2100027
 ------L3 I208: 2101027
 ------L2 I0: 2102061
 ------L1 I0: 8000002000003

 test pte.user pte.p pte.51 pde.p: FAIL: unexpected access
 Dump mapping: address: 0xffff923400000000
 ------L4 I292: 2100027
 ------L3 I208: 2101027
 ------L2 I0: 2102061
 ------L1 I0: 8000002000005

 test pte.rw pte.user pte.p pte.51 pde.p: FAIL: unexpected access
 Dump mapping: address: 0xffff923400000000
 ------L4 I292: 2100027
 ------L3 I208: 2101027
 ------L2 I0: 2102061
 ------L1 I0: 8000002000007

 (log omitted)

 test pte.user pte.a pte.d pte.p pte.51 pde.rw pde.user pde.d pde.pse pde.p: FAIL: pde 20000c7 expected 20000e7
 Dump mapping: address: 0xffff923400000000
 ------L4 I292: 2100027
 ------L3 I208: 2101027
 ------L2 I0: 20000c7

 test pte.rw pte.user pte.a pte.d pte.p pte.51 pde.rw pde.user pde.d pde.pse pde.p: FAIL: pde 20000c7 expected 20000e7
 Dump mapping: address: 0xffff923400000000
 ------L4 I292: 2100027
 ------L3 I208: 2101027
 ------L2 I0: 20000c7
 qemu-system-x86_64: terminating on signal 15 from pid 16404 (timeout)
 FAIL access (timeout; duration=90s)

[1] https://lists.ubuntu.com/archives/kernel-team/2023-December/147665.html