pcid-asymmetric / pcid-disabled / pcid-enabled in ubuntu_kvm_unit_test failed with "FAIL: Test on PCID when disabled" with J-realtime on openstack AMD64

Bug #2022907 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux-realtime (Ubuntu)
New
Undecided
Unassigned

Bug Description

Unlike bug 1965503 is failing with "FAIL: Test on INVPCID when disabled" for another bare-metal with AMD CPU.

pcid-asymmetric / pcid-disabled / pcid-enabled tests in ubuntu_kvm_unit_test will fail with "FAIL: Test on PCID when disabled" with J-realtime on openstack amd64 instance. This issue can be seen after we start testing on openstack with 5.15.0-1036.39 in sru-20230320.

Test log:
 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/pcid-asymmetric'
 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=tcg -kernel /tmp/tmp.6KB6nZgK2X -smp 1 -cpu qemu64,-pcid,+invpcid # -initrd /tmp/tmp.UVHMimij8Y
 qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.invpcid [bit 10]
 enabling apic
 smp: waiting for 0 APs
 FAIL: Test on PCID when disabled
 PASS: Test on INVPCID when disabled
 SUMMARY: 2 tests, 1 unexpected failures
 FAIL pcid-asymmetric (2 tests, 1 unexpected failures)

 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/pcid-disabled'
 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=tcg -kernel /tmp/tmp.Qxeu7ZLBXv -smp 1 -cpu qemu64,-pcid,-invpcid # -initrd /tmp/tmp.cSbBAvRFtJ
 enabling apic
 smp: waiting for 0 APs
 FAIL: Test on PCID when disabled
 PASS: Test on INVPCID when disabled
 SUMMARY: 2 tests, 1 unexpected failures
 FAIL pcid-disabled (2 tests, 1 unexpected failures)

 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/pcid-enabled'
 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=tcg -kernel /tmp/tmp.gDFWxLWsRs -smp 1 -cpu qemu64,+pcid,+invpcid # -initrd /tmp/tmp.dsymnPffXt
 qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
 qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.invpcid [bit 10]
 enabling apic
 smp: waiting for 0 APs
 FAIL: Test on PCID when disabled
 PASS: Test on INVPCID when disabled
 SUMMARY: 2 tests, 1 unexpected failures
 FAIL pcid-enabled (2 tests, 1 unexpected failures)

This issue still exist with the latest upstream kvm-unit-tests code (02d8befe99f8)
It's worthy to note that this test has passed with j/ibm on openstack amd64.

Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-kvm-unit-tests
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.