🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6926

Bug#1155835: autopkgtest: allow local binaries with null backend in disposable environments

#6926
From: Christoph Berg
Date: Mon, 30 Nov 2026 21:20
34 lines
2884 bytes
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
Technical Details
Message-ID: <O5gX0-fc9j-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O4Rvz-eVXu-21@gated-at.bofh.it> <O5gX0-fc9j-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Christoph Berg <myon@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155835: autopkgtest: allow local binaries with null backend in disposable environments
Date: Mon, 30 Nov 2026 22:20:02 +0100
Message-ID: <O5gX0-fc9j-7@gated-at.bofh.it>
References: <O4Rvz-eVXu-21@gated-at.bofh.it> <O5gX0-fc9j-9@gated-at.bofh.it>
X-Original-To: Paride Legovini <paride@debian.org>, 1155835@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 30 21:19:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Christoph Berg <myon@debian.org>, 1155835@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+ci@tracker.debian.org
X-Debian-Pr-Message: followup 1155835
X-Debian-Pr-Package: autopkgtest
X-Debian-Pr-Keywords: pending
X-Debian-Pr-Source: autopkgtest
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: myon
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006173
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 34
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Patrik Dufresne <patrik@ikus-soft.com>
X-Original-Date: Mon, 30 Nov 2026 22:17:26 +0100
X-Original-Message-ID: <aw3n5gHMeL72j3AX@msg.df7cb.de>
X-Original-References: <0d33a718-740a-44ea-9cd7-49bac000b8aa@ikus-soft.com> <6b0d860fdf1d0_16519d100410932@godard.mail>