Hi,You can use local sbuild chroots for foreign architectures, both for
When I want to fix autopkgtests for a package on a particular architecture, I currently
see no way to run autopkgtests before I dput since porter boxes do not provide root
access which autopkgtest needs.
Currently I am manually hacking around the test scripts and running the autopkgtests but
this does not emulate the autopkgtest environment well enough. It also does not work
well for daemon-like packages for instance.
Additionally, say, I have a package which FTBFS due to something broken in a build dependency
on a particular architecture.
If I fixup the problem in the build-dependency, there is no way I could test if the target
package really works on that arch since I do not see a way to install the fixed builddep without
uploading it to the archive.
Have you found any way around these?
When I want to fix autopkgtests for a package on a particular architecture, I currently
see no way to run autopkgtests before I dput since porter boxes do not provide root
access which autopkgtest needs.
Currently I am manually hacking around the test scripts and running the autopkgtests but
this does not emulate the autopkgtest environment well enough. It also does not work
well for daemon-like packages for instance.
You can use local sbuild chroots for foreign architectures, both for
building and, I assume, running autopkgtests.
I though the whole point of using porter machines is being able to run atYou can use local sbuild chroots for foreign architectures, both for building and, I assume, running autopkgtests.
I know but that is not something I want. This invaidates the whole point of using
porter machines.
Nilesh Patra <nilesh@debian.org> writes:
When I want to fix autopkgtests for a package on a particular architecture, I currently
see no way to run autopkgtests before I dput since porter boxes do not provide root
access which autopkgtest needs.
Currently I am manually hacking around the test scripts and running the autopkgtests but
this does not emulate the autopkgtest environment well enough. It also does not work
well for daemon-like packages for instance.
Related, we wouldn't need to use the porterboxes if the
situation for running autopkgtests locally was better.
I have complained at length on IRC on the difficulties of running autopkgtests locally on non-amd64 architectures. There is some tooling
to build images for e.g. the qemu backend, but in my experience it does
not work smoothly. I think the autopkgtest maintainers could use help
with improving this tooling. Personally I am reluctant to add non-amd64 autopkgtests to packages with the current state of tooling. I do not
consider "upload and find out" an acceptable debugging strategy.
Nilesh Patra <nilesh@debian.org> writes:
When I want to fix autopkgtests for a package on a particular architecture, I currently see no way to run autopkgtests before I dput since porter boxes do not provide root access which autopkgtest needs.
Currently I am manually hacking around the test scripts and running the autopkgtests butRelated, we wouldn't need to use the porterboxes if the situation for running autopkgtests locally was better.
this does not emulate the autopkgtest environment well enough. It also does not work
well for daemon-like packages for instance.
I have complained at length on IRC on the difficulties of running autopkgtests locally on non-amd64 architectures.
There is some tooling to build images for e.g. the qemu backend, but in my experience it does not work smoothly. I think the autopkgtest maintainers could use help with improving this tooling.
Personally I am reluctant to add non-amd64 autopkgtests to packages with the current state of tooling. I do not consider "upload and find out" an acceptable debugging strategy.
On Fri, Mar 01, 2024 at 07:15:16PM +0530, Nilesh Patra wrote:
I though the whole point of using porter machines is being able to run at least something on architectures you don't have otherwise. Local chrootsYou can use local sbuild chroots for foreign architectures, both for
building and, I assume, running autopkgtests.
I know but that is not something I want. This invaidates the whole point of using
porter machines.
are superior to that, not inferior, when they are also available..
On 01-03-2024 1:58 p.m., Nilesh Patra wrote:
Have you found any way around these?
https://salsa.debian.org/mbanck/dd-autopkgtest/
If I want to run tests with another package (say a test dependency) that I fixed
locally on a particular arch (which is not amd64) -- how doI run autopkgtests with
this combo on a porter machine?
When I want to fix autopkgtests for a package on a particular architecture, I currently
see no way to run autopkgtests before I dput since porter boxes do not provide root
access which autopkgtest needs.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 486 |
Nodes: | 16 (2 / 14) |
Uptime: | 142:19:33 |
Calls: | 9,658 |
Calls today: | 6 |
Files: | 13,708 |
Messages: | 6,167,629 |