Comment 12 for bug 1899180

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: autopkgtest almost always fails in Bionic on amd64

On Hirsute this now also became (from a yet unknown change in a different component) flaky.
Essentially having timing issues between "start" and "lxc-enter-namespace".
Since we like the test, but not actually care too much about libvirt-lxc (we favor LXD by orders of magnitude for that use case) I think what I'll implement is:

1. make the test skippable
2. skip if the restart of libvirtd failed (we still want to test the consequence of guests being alive if it worked, but if the restart itself failed we should skip)
3. on check_domain since we seem to have races between start and being ready add a retry mechanism

I'll test that in hirsute where the current arm64 issues happen and if working well there that can be what we backport along the next SRUs.