The autopkgtest actually falls back to QEMU TCG when `/dev/kvm` is
missing, so it does not fail because KVM is unavailable.

On amd64v3, the real issue is in `fakemachine` (`golang-github-go-debos-
fakemachine`): in TCG mode it runs `qemu-system-x86_64 -machine pc`
without `-cpu`, which defaults to `qemu64` (x86-64-v1).

That CPU cannot run `amd64v3` binaries, so both `fakemachine` and
`debos` exit with code 1 in a few seconds.

Passing `-cpu max` fixes it.

Verified in tenacious inside `fakemachine -b qemu` with `/lib64/ld-
linux-x86-64.so.2 --help`: `x86-64-v3` changes from unsupported
(`qemu64`) to `supported, searched` (`max`).

Debdiff for `golang-github-go-debos-fakemachine` (0.0.13-3ubuntu1) for
tenacious is attached.

- Upstream PR: https://github.com/go-debos/fakemachine/pull/362
- Debian BTS: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1156182

(On arm64 it is a different issue: the test hits the 600s/900s timeout
under slow TCG emulation.)

** Bug watch added: Debian Bug tracker #1156182
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1156182

** Patch added: "golang-github-go-debos-fakemachine 0.0.13-3ubuntu1 debdiff for 
tenacious"
   
https://bugs.launchpad.net/ubuntu/+source/debos/+bug/2178493/+attachment/6022865/+files/golang-github-go-debos-fakemachine_0.0.13-3ubuntu1.debdiff

** Tags added: patch tenacious

** Changed in: golang-github-go-debos-fakemachine (Ubuntu)
       Status: New => Confirmed

** Changed in: golang-github-go-debos-fakemachine (Debian)
 Remote watch: None => Debian Bug tracker #1156182

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2178493

Title:
  debos: test fails instead of skipping when /dev/kvm is unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debos/+bug/2178493/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to