debvm 0.2.13 autopkgtest fails on ppc64el

Bug #2046544 reported by Benjamin Drung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debvm (Debian)
Fix Released
Unknown
debvm (Ubuntu)
New
High
Unassigned

Bug Description

The debvm 0.2.13 command1 autopkgtest fails on ppc64el:

```
qemu-system-ppc64el -netdev user,id=net0,domainname=novalocal,hostfwd=tcp:127.0.0.1:2222-:22 -device virtio-net-pci,netdev=net0 -append root=LABEL=debvm rw -nographic -device virtio-rng-pci,rng=rng0 -object rng-random,filename=/dev/urandom,id=rng0 -cpu host -machine accel=kvm:tcg -drive media=disk,format=raw,discard=unmap,file=test.ext4,if=virtio,cache=unsafe -no-user-config -name debvm-run test.ext4 -m 1G -kernel /proc/self/fd/3 -initrd /proc/self/fd/4
ioctl(KVM_CREATE_VM) failed: 22 Invalid argument
PPC KVM module is not loaded. Try modprobe kvm_hv.
qemu-system-ppc64el: failed to initialize kvm: Invalid argument
qemu-system-ppc64el: falling back to tcg
qemu-system-ppc64el: unable to find CPU model 'host'
```

Full log: https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/ppc64el/d/debvm/20231210_104929_cc4af@/log.gz

debvm should not enable "accel=kvm:tcg" in that environment.

Changed in debvm (Debian):
status: Unknown → New
Changed in debvm (Debian):
status: New → Incomplete
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

The issue is caused by one test removing "flaky". This test has always failed.

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

On ppc64el
tests/create-and-run.sh ppc64el ""

results in

Preparing to unpack .../systemd_255.2-3ubuntu2_ppc64el.deb ...

******************************************************************************
*
* The systemd package cannot be installed because this system does
* not have a merged /usr.
*
* Please install the usrmerge package to convert this system to merged-/usr.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************

Revision history for this message
Helmut Grohne (helmutg) wrote :

I believe that 0.3 improves the situation, because it now passes `-cpu max` rather than `-cpu host` and thus improves the fallback behavior.

Additionally, I think this is a bug in Ubuntu's infrastructure, because the `/dev/kvm` device is writable to the autopkgtest user and not working. Earlier versions of debvm would notice an inaccessible `/dev/kvm` and not attempt to use kvm in that case. Having the infrastructure remove or chmod the broken `/dev/kvm` device would also fix the test.

Changed in debvm (Debian):
status: Incomplete → Fix Released
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.