autopkgtest (5.37)
[PTS] [DDPO]
COMMITS: VCS has seen 28 commits since the debian/5.37 tag
- Git: https://salsa.debian.org/ci-team/autopkgtest.git
-
- Branch: master
- Path: debian/changelog
- Repo size: 3059712
- Browser: https://salsa.debian.org/ci-team/autopkgtest
- Last scan: 2024-07-14 17:05:14+00
- Next scan: 2024-07-21 01:00:00+00
- Merge requests: 19
- CI pipeline status: success
- Debian changelog in Git:
autopkgtest (5.37) unstable; urgency=medium
[ Jochen Sprickerhof ]
* Avoid empty string for apt satisfy
-- Paride Legovini <paride@debian.org> Mon, 24 Jun 2024 10:01:03 +0200
- This branch is 28 commits ahead of tag debian/5.37
- Git log:
commit 5d00e97a0ac87a93e7993e778ab531367af062a9
Merge: b749eab e267ffb
Author: Paride Legovini <paride@debian.org>
Date: Thu Jul 11 11:13:57 2024 +0000
Merge branch 'skia/force_installation_ubuntu-minimal' into 'master'
t/a-buildvm-ubuntu-cloud: install 'ubuntu-minimal' and autoremove extra packages
See merge request ci-team/autopkgtest!376
commit e267ffb8369d0966be9a15487fa65aa982c4ecf7
Author: Florent 'Skia' Jacquet <florent.jacquet@canonical.com>
Date: Thu Jul 11 11:45:34 2024 +0200
t/a-buildvm-ubuntu-cloud: install 'ubuntu-minimal' and autoremove extra packages
Without installing 'ubuntu-minimal', the dpkg database is left in a
state where a bunch of packages like `iproute2` or `netplan.io` can
be autoremoved, which will happen if subsequent test on that image use
`-U`, further breaking the testbed if a reboot is triggered after that
(like not networking at all).
The `--autoremove` option to the `purge cloud-init` will ensure that no
leftovers are kept, like a bunch a Python modules that `cloud-init`
pulls.
On Trusty with the `apt-get purge --autoremove`, the following error
shows:
`E: Command line option --autoremove is not understood`
The `%(autoremove)s` workaround unfortunately has the limitation of
keeping a few extra packages pulled by `cloud-init` on Trusty images,
like `software-properties-common`, but has the advantage of being quite
simple.
Once Trusty is truly EOL, the workaround can be removed, because every
release up to Xenial support the flag.
commit b749eab407733f9d2bf259b0dc6b1c612e6fb6e3
Merge: fac2706 b6236db
Author: Paride Legovini <paride@debian.org>
Date: Mon Jul 8 13:07:34 2024 +0000
Merge branch 'w-a-s' into 'master'
ci: salsa pipeline: enable wrap-and-sort job
See merge request ci-team/autopkgtest!312
commit b6236dbaa983ced2f4c629ff02bfdfd54fbe633d
Author: Paride Legovini <paride@debian.org>
Date: Fri Jul 5 16:20:56 2024 +0200
debian/*: apply wrap-and-sort -kbast
Uses the flags suggested by the salsa-ci-team.
commit c5a0a5fd41b0e27cdf1036c1a372e1a0a543a76b
Author: Paride Legovini <paride@debian.org>
Date: Wed Apr 3 11:31:41 2024 +0200
ci: enable wrap-and-sort job
commit fac270671f1a7f18123ca87d1cec01ed34cbb005
Author: Paride Legovini <paride@debian.org>
Date: Fri Jul 5 09:59:28 2024 +0200
tests/autopkgtest: call TestCase.skipTest() instead of raising SkipTest
This is what the documentation suggests [1].
[1] https://docs.python.org/3/library/unittest.html#unittest.SkipTest
Gbp-Dch: ignore
commit aadfa3dcc3355ca69f4b5d3ed64dd79b7f4012c8
Merge: a9d7ba6 83f7c8b
Author: Paride Legovini <paride@debian.org>
Date: Fri Jul 5 13:52:08 2024 +0000
Merge branch 'tests-better-testbed-apt-version' into 'master'
tests/autopkgtest: better handling of testbed_apt_version
See merge request ci-team/autopkgtest!373
commit 83f7c8b554cbfdfead525c4387f77ddf81983a46
Author: Paride Legovini <paride@debian.org>
Date: Thu Jul 4 19:59:24 2024 +0200
tests/autopkgtest: better handling of testbed_apt_version
More tests that are to be skipped in the "old testbed" case are coming,
so we need to handle the testbed_apt_version in a more general way.
By making testbed_apt_version an AdtTestCase class attribute, it will be
available in all the subclasses. Some runners (only LxcRunner for now,
look for `lxc-execute`) will set the attribute to a non-None value; in
this case tests that need to know the testbed apt version can access it.
If a new Runner gains support for setting the testbed apt version, those
tests will automatically be enabled for it.
commit a9d7ba6057336247d2991622242574fdf25559b2
Merge: 00fea29 d2118dc
Author: Paride Legovini <paride@debian.org>
Date: Fri Jul 5 12:09:56 2024 +0000
Merge branch 'skia/nova_quota_retries' into 'master'
nova: allow more retries for quota issues
See merge request ci-team/autopkgtest!372
commit 00fea29adc895368d0168454b3ffdba539efa530
Merge: 99ef582 fa0b8bb
Author: Paride Legovini <paride@debian.org>
Date: Fri Jul 5 12:09:45 2024 +0000
Merge branch 'incus-parallel-container-vm' into 'master'
Maintain container and VM Incus images in parallel
See merge request ci-team/autopkgtest!371
commit d2118dcbc3d2f679047d7846aae1e18aece6a7b4
Author: Florent 'Skia' Jacquet <florent.jacquet@canonical.com>
Date: Thu Jul 4 16:13:09 2024 +0200
nova: allow more retries for quota issues
In the particular case of a quota issue when creating a testbed, we
allow a lot more retries to reduce the amount of tests that end up
failing with that. This makes developers well less exposed to
infrastructure related failures.
commit fa0b8bbe8cceded0b5b752ed0ec7a470ff68c170
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Jul 2 11:10:01 2024 +0100
Maintain container and VM Incus images in parallel
Container and VM images are useful for different things; I use both
regularly. However, if you create one of them for a given release using
`autopkgtest-build-{lxd,incus}`, it cleans up any existing image for the
other.
This commit makes better use of the `{lxd,incus} image list` command
line, and restricts cleanup to images of the same type.
commit 99ef582ef286e6fc2785c867cff1f3c4dc34ae34
Merge: e0baf68 8234a6a
Author: Paride Legovini <paride@debian.org>
Date: Sun Jun 30 21:16:18 2024 +0000
Merge branch 'tests-lxcrunner-get-apt-bersion' into 'master'
t/autopkgtest: LxcRunner: get the testbed apt version via lxc-execute
See merge request ci-team/autopkgtest!370
commit 8234a6a1af75660b36c740f70665d988a1ff77e8
Author: Paride Legovini <paride@debian.org>
Date: Sun Jun 30 22:02:05 2024 +0200
t/autopkgtest: LxcRunner: get the testbed apt version via lxc-execute
Tests are coming for features that require a minimum apt version.
Replace the hacky log parsing method with a much better lxc-execute
command that is executed before the actual test runs begin.
Note: we can't skip tests via @skipIf/@skipUnless as decorators have
no knowledge of class properties (they don't know `self`).
commit e0baf68f4dd0c26520553301f7ac166b8a57fe03
Merge: 0253750 c1a3b7c
Author: Paride Legovini <paride@debian.org>
Date: Thu Jun 27 12:48:42 2024 +0000
Merge branch 'wait-booted-ignore-timeouts' into 'master'
VirtSubproc wait_booted(): ignore timeouts within the retry loop
See merge request ci-team/autopkgtest!369
commit 0253750aeeca44e43c29d8c71528b7ab44341b70
Merge: 92f4618 2154823
Author: Paride Legovini <paride@debian.org>
Date: Thu Jun 27 12:47:59 2024 +0000
Merge branch 'd-t-always-annotate-output' into 'master'
d/tests: always use annotate-output to disambiguate test output
See merge request ci-team/autopkgtest!368
commit c1a3b7caab3b5a32aa6c42be39523862a50289b3
Author: Paride Legovini <paride@debian.org>
Date: Thu Jun 27 09:48:48 2024 +0200
VirtSubproc wait_booted(): ignore timeouts within the retry loop
commit 1cfbd82e53ea4189e8aa77f469b93fb10e7fec98
Author: Paride Legovini <paride@debian.org>
Date: Thu Jun 27 09:38:49 2024 +0200
VirtSubproc wait_booted(): actually use short_command_timeout
Actually use short_command_timeout instead of hardcoding a value.
Gbp-Dch: ignore
commit 21548231241e886fb464dc3579dd8b19f85ab2f4
Author: Paride Legovini <paride@debian.org>
Date: Thu Jun 27 09:22:13 2024 +0200
d/tests: always use annotate-output to disambiguate test output
Most d/tests scripts wrap the test in annotate-output to help
distinguishing the output of the autopkgtest that is running the tests
from the output of the autopkgtest that is under test.
This change does the same in d/t/autopkgtest and d/t/installed, which
were running "bare" autopkgtest. It also adds the required d/t/control
Depends: devscripts.
commit 92f4618406cb4cca7e29a70ec440dfd72980bad9
Author: Paride Legovini <paride@debian.org>
Date: Wed Jun 26 13:04:18 2024 +0200
d/rules: don't run pre-commit at package build time
It's a bad idea, and quite broken at the moment:
* pre-commit expects a git repo, while when building via sbuild what we
have is a plain source tree.
* pre-commit tries to pull all the configured hooks from the Internet,
even if called via `pre-commit run <single local hook>`
* pre-commit expectes a writable $HOME to store its cache, but by
default when building via sbuild we don't have one.
We could workaround all of these, but it is clear at this point that
pre-commit is not the right tool for the job.
commit 3c00c3e621279feda234ba6ae84abd3fb83a4b6b
Author: Paride Legovini <paride@debian.org>
Date: Wed Jun 26 12:36:42 2024 +0200
ssh-setup/maas: disable shellcheck via in-file comment
This way it works even outside pre-commit.
Gbp-Dch: ignore
commit fae7a2ef9f4e25b84c070e40ad9f82b5a6c6b7e6
Author: Paride Legovini <paride@debian.org>
Date: Wed Jun 26 11:40:49 2024 +0200
d/t/lxd: restrict architectures via Architecture and enable arm64
commit 0938b19ffd6c809548fc914c5c741c2a0918f7f8
Author: Paride Legovini <paride@debian.org>
Date: Wed Jun 26 11:23:39 2024 +0200
d/t/unshare: add skip-not-installable restriction
This is a way better way to implement what I did in d00f62c9e13428.
We want skip-not-installable to make backporting easier to Debian or
Ubuntu releases that do not have a new enough util-linux.
commit d3a9417bdb43a931df4e9487fdf6cb0028c4b6db
Author: Paride Legovini <paride@debian.org>
Date: Wed Jun 26 11:12:59 2024 +0200
t/autopkgtest: test_git_source_build: do not set DEB_BUILD_OPTIONS=nocheck
Not needed: it is now done by default.
Gbp-Dch: ignore
commit 646aeaa6549dcea7a0c14cffe8917029b37238b7
Author: Paride Legovini <paride@debian.org>
Date: Wed Jun 26 11:10:47 2024 +0200
t/autopkgtest: test_git_source_build: skip if remote repo is unreachable
commit 6ac90f0a38ccea3b28854fd0d2fc373795425af1
Author: Paride Legovini <paride@debian.org>
Date: Wed Jun 26 11:00:55 2024 +0200
t/autopkgtest-build-docker: use ports.ubuntu.com on non-amd64 Ubuntu
commit 6456ae57501cd12a96136deeb632fd28296ce782
Merge: bb52a20 98e4a93
Author: Paride Legovini <paride@debian.org>
Date: Tue Jun 25 13:52:48 2024 +0000
Merge branch 'from-source-drop-unused-arg' into 'master'
_debian_{build_deps,recomments}_from_source(): drop unused arg
See merge request ci-team/autopkgtest!367
commit 98e4a932615977030680fd21a1cc4f57ec6e2caf
Author: Paride Legovini <paride@debian.org>
Date: Tue Jun 25 14:46:57 2024 +0200
_debian_{build_deps,recomments}_from_source(): drop unused arg
Gbp-Dch: ignore