[pkg-lxc-devel] Bug#1144803: lxc: autopkgtest fails under incus-lxc: several test failures
Mathias Gibbens
gibmat at debian.org
Sun Nov 8 22:27:49 GMT 2026
On Thu, 2026-10-01 at 16:52 -0300, Antonio Terceiro wrote:
> We have qemu only for amd64. It will fallback to whatever is
> available on the other architectures, so any tests where you declare
> `Restrictions: isolation-machine` will be skipped on non-qemu, while the
> ones that don't will still run. You can also not declare anything, and
> change the tests themselves to detect whether they are being run in a VM
> or not and have them do the right thing.
>
> Should I switch lxc to run under qemu?
If amd64 can be configured to run lxc's autopkgtests within a VM, and
all other architectures in lxc/incus containers, that would be ideal.
lxc's d/t/control lists "isolation-container" as one of the
restrictions for running the main lxc-tests. There's already logic to
skip specific tests when it detects it is running within a container
and not a VM.
However, if it's a choice between running all tests on amd64 and then
skipping tests on all other architectures, we should keep running lxc's
autopkgtests within containers (the current configuration).
Mathias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20261108/022726f9/attachment.sig>
More information about the Pkg-lxc-devel
mailing list