#764952 autopkgtest: Please add adt-run support for pbuilder/cowbuilder

Package:
autopkgtest
Source:
autopkgtest
Submitter:
Axel Beckert
Date:
2025-05-26 15:39:01 UTC
Severity:
wishlist
Tags:
#764952#5
Date:
2014-10-12 14:36:53 UTC
From:
To:
Dear Maintainer,

I was surprised to see that adt-run has support for schroot and
unspecific chroots, but not for pbuilder or cowbuilder (which basically
should work in the same way).

So please add adt-run support for pbuilder and/or cowbuilder.

#764952#10
Date:
2014-10-12 19:26:18 UTC
From:
To:
Hello Axel,

Axel Beckert [2014-10-12 16:36 +0200]:

Not quite a surprise considering that neither Ian Jackson nor I have
used these two. Personally I prefer sbuild as that's what Debian's
builders use (and thus it's kind of the "official" builder), and it's
very efficient.

I don't want to personally maintain those as each new test runner is
quite a commitment to maintain. But if someone wants to write one and
a corresponding test suite and maintain it, I'm happy to include it.

Thanks,

Martin

#764952#17
Date:
2015-12-17 10:27:29 UTC
From:
To:
Control: tag -1 wontfix -help

For such use cases I actually recommend running adt-run from within
the pbuilder environment and use the "null" backend. This should even
be easier to configure than running adt-run outside of the existing
builder environment and creating a new one.

I also really don't want to maintain this as it's quite some extra
burden, sorry.

Thanks,

Martin

#764952#26
Date:
2025-05-26 15:37:16 UTC
From:
To:
I just tried to use autopkgtest together with cowbuilder and noticed that
there is a /usr/share/doc/pbuilder/examples/B20autopkgtest hook. Added a
symlink to it from my hooks dir and seems to correctly do the autopkgtest
during the pdebuild+cowbuilder package run.

Regards,