Re: Paride Legovini > > autopkgtest [..]: ERROR: testbed failure: testing local binaries > > requires a testbed with revert capability
Hi, this breaks building packages on apt.postgresql.org where the tests are already running inside a disposable container, so this protection is not required. > Hello Patrik, please try with: > > autopkgtest ... -- null --fake-capability revert Re: Paride Legovini > a-virt-null: implement hook_revert() > > When --fake-capability revert is passed to autopkgtest-virt-null, > VirtSubproc.cmd_revert() invokes caller.hook_revert(), which failed with > AttributeError because the hook was not defined. > > Implement hook_revert() by calling hook_cleanup() and hook_open(), > matching the other virt backends. This cleans and recreates the scratch > directory while leaving the rest of the host unchanged. > > Closes: #1155835 Does that mean we still have to pass `--fake-capability revert` even when this fix is landing? (Does autopkgtest in oldstable/jammy support --fake-capability revert?) Thanks, Christoph

