Hi Francesco, Quoting Francesco Poli (2019-11-10 16:38:56) > On Sat, 27 Jan 2018 22:45:37 +0100 Martin Pitt <[email protected]> wrote: > > [...] > > Johannes Schauer [2018-01-12 14:27 +0100]: > [...] > > > When I added the autopkgtest backend to sbuild in addition to schroot, I > > > did > > > this with the long term goal in mind that at some point I could also > > > update the > > > sbuild-update program to support the autopkgtest backend. > > > > It's not what I would recommend doing actually, as with backends like LXC, > > lxd, > > or qemu it's actually more reliable and presumably not even slower to just > > download a current daily image than upgrading existing ones. With schroots > > it > > makes a lot more sense, but there's already mk-sbuild for that job. Of > > course > > you can work with upgraded testbeds, but by nature they are less reliable. > > Hello, > I am a "passerby" with respect to this bug report, so to speak. > > I would like to ask a question: Martin, do I understand correctly that > you are saying that recreating the QEMU/KVM testbed from scratch (with > autopkgtest-build-qemu) is faster than upgrading an existing QEMU/KVM > testbed? Despite the debootstrap step, which is notoriously slow?!? > > Johannes, have you found a solution in the meanwhile?
well, my favourite solution is of course if autopkgtest would gain a functionality to disable the read-only overlay and thus become capable of making persisting changes to the backend. But I understood that Martin prefers to rather re-create the underlying backend rather than upgrading it. He does not seem to be alone either. You might find the following thread on debian-devel interesting to read: https://lists.debian.org/[email protected] I don't have enough free time to maintain an autopkgtest fork or plugin that does what I want so instead I went the opposite way and created a tool that can do the "re-bootstrap, don't upgrade" thing reasonably fast. I wrote to you about that in #944485. So basically my solution is to work around this bug by using mmdebstrap to always re-create my base image instead of upgrading it. Thanks! cheers, josch
signature.asc
Description: signature

