memory test in ubuntu_kvm_unit tests fails linux-kvm (clflushopt absent)

Bug #1845687 reported by Sean Feole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Triaged
Undecided
Unassigned
linux-kvm (Ubuntu)
New
Undecided
Unassigned
Xenial
New
Undecided
Unassigned
Eoan
Won't Fix
Undecided
Unassigned

Bug Description

Series: Xenial
Kernel: 4.4.0-1059.66 linux-kvm

specifically clfushopt and clwb

09/23 08:43:08 DEBUG| utils:0116| Running 'kvm-ok'
09/23 08:43:08 DEBUG| utils:0153| [stdout] INFO: /dev/kvm exists
09/23 08:43:08 DEBUG| utils:0153| [stdout] KVM acceleration can be used
09/23 08:43:08 DEBUG| utils:0116| Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/memory'
09/23 08:43:08 DEBUG| utils:0153| [stdout] BUILD_HEAD=e2c275c4
09/23 08:43:09 DEBUG| utils:0153| [stdout] timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 -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.HnxXwZrpQ9 -smp 1 -cpu host # -initrd /tmp/tmp.SL7FtNHKpq
09/23 08:43:09 DEBUG| utils:0153| [stdout] enabling apic
09/23 08:43:09 DEBUG| utils:0153| [stdout] PASS: clflush (present)
09/23 08:43:09 DEBUG| utils:0153| [stdout] PASS: sfence (present)
09/23 08:43:09 DEBUG| utils:0153| [stdout] PASS: lfence (present)
09/23 08:43:09 DEBUG| utils:0153| [stdout] PASS: mfence (present)
09/23 08:43:09 DEBUG| utils:0153| [stdout] FAIL: clflushopt (ABSENT)
09/23 08:43:09 DEBUG| utils:0153| [stdout] FAIL: clwb (ABSENT)
09/23 08:43:09 DEBUG| utils:0153| [stdout] PASS: invalid clwb
09/23 08:43:09 DEBUG| utils:0153| [stdout] PASS: pcommit (ABSENT)
09/23 08:43:09 DEBUG| utils:0153| [stdout] SUMMARY: 8 tests, 2 unexpected failures
09/23 08:43:09 DEBUG| utils:0153| [stdout] FAIL memory (8 tests, 2 unexpected failures)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Can be found on B-azure, instance Standard_F32s_v2

tags: added: azure
tags: added: ubuntu-kvm-unit-tests
Revision history for this message
Sean Feole (sfeole) wrote :

the same to failures occur in Eoan 5.3.0-1011.12 linux-kvm

Changed in ubuntu-kernel-tests:
status: New → Triaged
no longer affects: linux-kvm (Ubuntu Focal)
Revision history for this message
Brian Murray (brian-murray) wrote :

The Eoan Ermine has reached end of life, so this bug will not be fixed for that release

Changed in linux-kvm (Ubuntu Eoan):
status: New → Won't Fix
tags: added: kvm sru-20210412
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote : Re: memory test in ubuntu_kvm_unit tests fails linux-kvm

Found on Bionic/linux-kvm, cycle sru-20210412.

This seems to be really HW dependent, if the processor is not so modern to contain such special instructions, it's going to fail.

summary: - memory test in ubuntu_kvm_unit tests fails Xenial linux-kvm
+ memory test in ubuntu_kvm_unit tests fails linux-kvm
tags: added: bionic
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Found with trusty/linux-azure 4.15.0-1114.127~14.04.1.

tags: added: trusty
summary: - memory test in ubuntu_kvm_unit tests fails linux-kvm
+ memory test in ubuntu_kvm_unit tests fails linux-kvm (clflushopt absent)
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Issue observed in B/KVM, cycle sru-20210510.

tags: added: sru-20210510
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

We don't have X-kvm anymore, for B-kvm, it's failing with clflushopt / clwb ABSENT (bug 1831449)

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.