autopkgtest (5.49)
[PTS] [DDPO]
COMMITS: VCS has seen 50 commits since the debian/5.49 tag
- Git: https://salsa.debian.org/ci-team/autopkgtest.git
-
- Branch: master
- Path: debian/changelog
- Repo size: 4608000
- Browser: https://salsa.debian.org/ci-team/autopkgtest
- Last scan: 2025-07-15 17:04:05+00
- Next scan: 2025-07-23 11:39:00+00
- Merge requests: 20
- CI pipeline status: success
- Debian changelog in Git:
autopkgtest (5.49) unstable; urgency=medium
* NEWS.Debian: Document the security fixes in 5.48.
-- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 16 Apr 2025 19:41:19 +0100
- This branch is 50 commits ahead of tag debian/5.49
- Git log:
commit a32aaed955a3262f9e28148bef3d675076e6bce6
Merge: 4127c348 fe1cc2e4
Author: Paride Legovini <paride@debian.org>
Date: Tue Jul 15 16:18:00 2025 +0000
Merge branch 'remove-ubuntu-pro-client' into 'master'
setup-testbed: remove ubuntu-pro-client as part of the image cleanup
See merge request ci-team/autopkgtest!577
commit 4127c348c408c3bdc4ac87c68fe3d4c19309378b
Merge: b5cb5d1c 72205cfe
Author: Paride Legovini <paride@debian.org>
Date: Tue Jul 15 16:14:33 2025 +0000
Merge branch 'fix-bloat-cleanup' into 'master'
setup-testbed: mark some packages as manually installed
See merge request ci-team/autopkgtest!573
commit fe1cc2e43849a987c70828ddfa001002a4429ea5
Author: Paride Legovini <paride@debian.org>
Date: Tue Jul 15 17:04:08 2025 +0200
setup-testbed: remove ubuntu-pro-client as part of the image cleanup
The package does normally get removed automatically even without this
change because other removals in that list cause the ubuntu-*
metapackages to be removed, and ubuntu-pro-client is marked as
automatically installed in the images I checked, so there is nothing
holding it installed. However, I think it is better to explicitly add it
to the list.
commit 72205cfe515cd81a03b7976fecd7fb691eda5040
Author: Paride Legovini <paride@debian.org>
Date: Fri Jul 11 18:29:14 2025 +0200
setup-testbed: mark some packages as manually installed
Mark some packages as manually installed before removing bloat, so that
apt-get --auto-remove won't remove them.
commit b5cb5d1c033dafaee9d86d88613322ab90130192
Merge: 9bb3a596 b3b47fe7
Author: Paride Legovini <paride@debian.org>
Date: Mon Jul 14 16:37:23 2025 +0000
Merge branch 'split-dep-dup-comma-fix' into 'master'
Ignore duplicate commas when splitting dependency strings
See merge request ci-team/autopkgtest!574
commit b3b47fe70ee9472715e1fe8aead944ab36febf10
Author: Paride Legovini <paride@debian.org>
Date: Sun Jul 13 13:16:59 2025 +0200
Ignore duplicate commas when splitting dependency strings
When splitting dependency strings be robust against leading, trailing
and duplicate commas, possibly interleaved with spaces.
commit 9bb3a596ec6a130a9cf57e05686c73259bcffa88
Merge: 58251ccb 7de6c59b
Author: Paride Legovini <paride@debian.org>
Date: Mon Jul 14 11:40:54 2025 +0000
Merge branch 'insecure-is-tb-attribute' into 'master'
Fix object queried for the "insecure" attribute
See merge request ci-team/autopkgtest!575
commit 58251ccbc177ea7e6dcfb03b59766ad322268b11
Merge: 75468444 24730104
Author: Paride Legovini <paride@debian.org>
Date: Mon Jul 14 11:40:33 2025 +0000
Merge branch 'extra-packages' into 'master'
buildvm-ubuntu-cloud: make it easy to add packages to testbed
See merge request ci-team/autopkgtest!572
commit 75468444fbdfdc18bc098efc36da87f7c4e755f6
Merge: ce124bdb c498da21
Author: Paride Legovini <paride@debian.org>
Date: Sun Jul 13 19:00:56 2025 +0000
Merge branch 'reboot-boot-id' into 'master'
a-virt-ssh: reimplement hook_wait_reboot around the system boot_id
See merge request ci-team/autopkgtest!571
commit 7de6c59b1183a04483810bd3a4020f9f654ef721
Author: Paride Legovini <paride@debian.org>
Date: Sun Jul 13 13:26:47 2025 +0200
Fix object queried for the "insecure" attribute
Spotted by mypy, which issues warnings in CI but does not make it fail.
commit 247301041ef3b1835c8bde5ed67506a127e50128
Author: Simon Chopin <simon.chopin@canonical.com>
Date: Fri Jul 11 18:13:53 2025 +0200
buildvm-ubuntu-cloud: make it easy to add packages to the image
In my specific case, I'll use it for dynamic proxy support
(auto-apt-proxy), and with time will likely add some of my favorite
debugging tools. A dedicated option is more ergonomic than through
--post-command, and the install would also occur earlier in the
cloud-init lifecycle, which is a big bonus for my apt proxy use-case.
V2:
* tweak ordering of arguments in build_seed
* use an escape-less f-string when converting extra_packages to a YAML
list
* s/testbed/image for consistency's sake
commit ce124bdbf10f607a5791b5cd5c632897ac35abc1
Merge: 4c388d16 48581f5a
Author: Paride Legovini <paride@debian.org>
Date: Fri Jul 11 14:27:36 2025 +0000
Merge branch 'await-boot-cloud-init' into 'master'
await-boot: if cloud-init is installed, wait for it to complete
See merge request ci-team/autopkgtest!565
commit 4c388d166cca2bd87b81c173308c205daf431f82
Merge: c9f59559 365189d3
Author: Paride Legovini <paride@debian.org>
Date: Fri Jul 11 14:25:13 2025 +0000
Merge branch 'clarify-send-expect-msgs' into 'master'
Clarify debug messages about communication with the virt server
See merge request ci-team/autopkgtest!566
commit c9f59559a2b06f547471efdca905d84a72605be8
Merge: 87568462 74b82f27
Author: Paride Legovini <paride@debian.org>
Date: Fri Jul 11 14:23:19 2025 +0000
Merge branch 'ssh-no-wait-for-ssh-warnings' into 'master'
a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message
See merge request ci-team/autopkgtest!569
commit 87568462b832d56367bd419b71e9ba858b05d319
Merge: 4152bb12 e66adabc
Author: Paride Legovini <paride@debian.org>
Date: Thu Jul 10 17:02:41 2025 +0000
Merge branch 'fix-systemd-networkd-detection' into 'master'
setup-testbed: improve systemd-networkd detection
See merge request ci-team/autopkgtest!570
commit c498da21a72d671ed6867b1e1b9c15553d7f14d0
Author: Paride Legovini <paride@debian.org>
Date: Tue Jun 24 14:22:28 2025 +0200
a-virt-ssh: reimplement hook_wait_reboot around the system boot_id
Consider the testbed rebooted once the system boot_id [1] changed.
This is overall more reliable. One of the shortcomings of the previous
approach was that wait_port_down() did not honor ssh_config directives.
[1] https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html#random
commit 4152bb12a562ced587e3abe755ad4785f5280b24
Merge: 2afb75e5 ec0ef456
Author: Paride Legovini <paride@debian.org>
Date: Thu Jul 10 15:26:58 2025 +0000
Merge branch 'nova-drop-wait-for-ssh' into 'master'
nova: drop duplicate "wait for ssh" and "wait for cloud-init" logic
See merge request ci-team/autopkgtest!568
commit 2afb75e5d7e69a11abf3f553024ba9cc90f88708
Merge: a437a281 0b385a98
Author: Paride Legovini <paride@debian.org>
Date: Thu Jul 10 15:25:55 2025 +0000
Merge branch 'virt-ssh-realtime-stderr' into 'master'
a-v-ssh: print setup command stderr in real time
See merge request ci-team/autopkgtest!567
commit e66adabc9d3dcc70f292bb306dd16a1b3224b2c3
Author: Helmut Grohne <helmut@subdivi.de>
Date: Sun Jul 6 11:20:46 2025 +0200
setup-testbed: improve systemd-networkd detection
The file being checked for existence tends to be an absolute symbolic
link. The -e test is following that link. When systemd is not installed
on the host, this test always fails. It always should be a link.
commit 74b82f270a948bc80401d20a0ff4dae8ffd5c0d0
Author: Paride Legovini <paride@debian.org>
Date: Thu Jun 26 09:56:12 2025 +0200
a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message
It is expected that wait_for_ssh() will fail connecting to to testbed
for a few times. Printing a warning on each of these failures does not
help the user; on the contrary they may think that something is not
working correctly (it's a _warning_ for a _failure_).
Demote the warning to a debug message (only printed if --debug is passed
to the virt server). Also slightly reformat the message.
commit ec0ef456b175e82b22c5090db6244ec6b858a842
Author: Paride Legovini <paride@debian.org>
Date: Tue Jun 24 13:30:50 2025 +0200
nova: drop duplicate "wait for ssh" and "wait for cloud-init" logic
autopkgtest-virt-ssh already does wait_for_ssh() and wait_booted() after
calling the setup script with the 'open' command. We do not need to do
the same thing in the setup script.
commit 0b385a98a5fabac6aecda26faacd04ec60f18373
Author: Paride Legovini <paride@debian.org>
Date: Wed Jun 25 19:56:31 2025 +0200
a-v-ssh: print setup command stderr in real time
Capturing stderr and printing it once the setup script is done has some
drawbacks: (1) we get the output only once the setup script is done,
which makes debugging problems more difficult, and (2) due to buffering,
log messages may appear in the wrong order, and when --log-file is used,
get timestamped in the wrong order. Not capturing stderr appears to fix
or at least mitigate these issues.
commit 365189d3516a6d1cd25fa7d43e979137c6c51b67
Author: Paride Legovini <paride@debian.org>
Date: Wed Jun 25 17:40:10 2025 +0200
Clarify debug messages about communication with the virt server
send() and expect() interact with the virtualisation server, not
directly with the testbed. Make the debugging messages more clear on
this point.
When expect() receives an eof, do not log it as "unexpected": sometimes
it is expected, e.g. when the virtualisation server called bomb() and is
shutting down.
commit a437a28172ad36d68b8dfcdfa233b19dd7239ba3
Merge: 81c5dabc b6721be6
Author: Paride Legovini <paride@debian.org>
Date: Tue Jun 24 11:22:35 2025 +0000
Merge branch 'virt-ssh-wait-booted' into 'master'
autopkgtest-virt-ssh: wait for boot to complete
See merge request ci-team/autopkgtest!564
commit 48581f5acd94e74f2f9622fdee1cbdecc5b97742
Author: Paride Legovini <paride@debian.org>
Date: Tue Jun 24 13:11:22 2025 +0200
await-boot: if cloud-init is installed, wait for it to complete
Note that this is safe in the case cloud-init is just installed but not
otherwise used or configured: `cloud-init status --wait` will report
status: disabled
and exit with return code 0.
commit 81c5dabc05c888db300cb3246edbe50759a032f4
Author: Paride Legovini <paride@debian.org>
Date: Tue Jun 24 10:34:31 2025 +0200
build-lxd.sh: wrap "clear /etc/machine-id" code between blank lines
For clarify and consistency with the rest of the function.
Gbp-Dch: Ignore
commit bf4ade8076593aa28a4cc9a35400813e3ef37942
Merge: 63938bae aae727fc
Author: Paride Legovini <paride@debian.org>
Date: Tue Jun 24 08:33:52 2025 +0000
Merge branch 'machine-id' into 'master'
incus: clear /etc/machine-id in base image
See merge request ci-team/autopkgtest!555
commit 63938baece03f1bd16b035fac0230fe948ef407d
Merge: 295fef78 e56bdebc
Author: Paride Legovini <paride@debian.org>
Date: Tue Jun 24 08:04:47 2025 +0000
Merge branch 'setup-testbed-fix-iface-heuristics' into 'master'
setup-testbed: restrict search of main network iface to Ethernet devices
See merge request ci-team/autopkgtest!563
commit b6721be679ffda52585ebe85f2f390d5f52f2def
Author: Paride Legovini <paride@debian.org>
Date: Mon Jun 23 16:50:03 2025 +0200
wait_booted: add "boot completed" debugging printout
commit 127437642438e9f8f087fe04556c7c53f39d8d74
Author: Paride Legovini <paride@debian.org>
Date: Sun Jun 22 16:07:24 2025 +0200
autopkgtest-virt-ssh: wait for boot to complete
This prevents boot-time race conditions. Implementation follows what
other virt servers do.
commit e56bdebc1a102fe70ce7f7f51c73780d0748c553
Author: Paride Legovini <paride@debian.org>
Date: Sun Jun 22 15:49:20 2025 +0200
setup-testbed: restrict search of main network iface to Ethernet devices
This restricts the search for the first network interface to en*,
following the network device naming scheme for Ethernet devices
documented in systemd.net-naming-scheme(7), or eth*, to support systems
using the legacy naming.
This fixes a problem where on some Ubuntu testbeds an ERSPAN interface
is present by default (erspan0), and that should not be considered the
main network interface.
Use find(1) instead of cd + ls + shell parameter expansion.
commit 295fef788263d2a5eece84caf5281f1262d8334e
Merge: a161a86d 0784d093
Author: Paride Legovini <paride@debian.org>
Date: Sun Jun 22 14:09:39 2025 +0000
Merge branch 'rootless-await-boot' into 'master'
await-boot: do not systemctl start network-online.target
See merge request ci-team/autopkgtest!562
commit 0784d093a9c0e942f25de9bf020581ef44e80525
Author: Paride Legovini <paride@debian.org>
Date: Sun Jun 22 14:49:52 2025 +0200
await-boot: do not systemctl start network-online.target
Running `systemctl start network-online.target` as part of the "wait for
testbed to finish boot" logic is a leftover from earlier implementations
of such logic. Waiting for is-system-running implicitly waits for
network-online.target to be reached. Running `systemctl start` in
await-boot.sh has undesirable side effects:
* Requires running the script as root.
* Turns what would be a probe-only script into an active script that
makes changes to the testbed.
commit a161a86df569e18a7a58ce72bdbeb5c894264926
Merge: be1d8dd9 d577d9bd
Author: Paride Legovini <paride@debian.org>
Date: Sun Jun 22 11:06:21 2025 +0000
Merge branch 'await-boot-via-stdin' into 'master'
wait_booted(): pass the await-boot script to stdin of sh -s
See merge request ci-team/autopkgtest!561
commit d577d9bdb673cac9416352dee13119a0f5ef67d4
Author: Paride Legovini <paride@debian.org>
Date: Sun Jun 22 11:38:14 2025 +0200
wait_booted(): pass the await-boot script to stdin of sh -s
Pass the await-boot script to stdin of `sh -s` instead of passing it as
a string to `sh -c`. The problem with the `sh -c` approach is that we
don't know how exec_command will treat quoted strings. In particular
this is problematic with ssh (and thus with autopkgtest-virt-ssh);
idiosyncrasies of ssh quoting are well explained in [1]. Passing the
script to execute via stdin removes this problem.
Passing await-boot.sh contents via stdin to `sh -s` is what we do
already in build-lxc.sh and build-lxd.sh.
[1] https://www.chiark.greenend.org.uk/~cjwatson/blog/ssh-quoting.html
commit be1d8dd920c309673af561977ff173bb21fa8984
Merge: 4336d3af afb033de
Author: Paride Legovini <paride@debian.org>
Date: Sun Jun 22 10:03:47 2025 +0000
Merge branch 'check-exec-instr' into 'master'
check_exec(): support feeding string to stdin of executed command
See merge request ci-team/autopkgtest!560
commit afb033ded4421f2cb6acf0776518186fd9021c79
Author: Paride Legovini <paride@debian.org>
Date: Sat Jun 21 22:50:07 2025 +0200
check_exec(): support feeding string to stdin of executed command
Surface the instr argument of execute_timeout(). This is a preparatory
change for more incoming changes.
Also: make most check_exec() arguments keyword-only arguments to make
invocation less error-prone. The API of the function is not clean and
not consistent with execute_timeout() or other well known functions like
subprocess.check_call(). The function would benefit from a refactor, but
that's beyond the scope of this change.
commit 4336d3af99749bb8030bee79f3c49402e39a795a
Merge: 9deb43a1 5bc558eb
Author: Paride Legovini <paride@debian.org>
Date: Sat Jun 21 21:41:43 2025 +0000
Merge branch 'execute-timeout-auto-pipe' into 'master'
execute_timeout(): automatically pipe to stdin when instr is passed
See merge request ci-team/autopkgtest!559
commit 5bc558eb631266d70ff778dc9c041f9b8ead84b0
Author: Paride Legovini <paride@debian.org>
Date: Sat Jun 21 19:30:49 2025 +0200
execute_timeout(): automatically pipe to stdin when instr is passed
This makes the function behave as described in the docstring.
The only invocation where instr is passed to execute_timeout() appears
to be in autopkgtest-virt-ssh. Drop setting stdit=subprocess.PIPE from
it, as it is now superfluous.
commit 9deb43a1708b28d8336b0506dec858629e4f948d
Merge: ac697a5c abdb93e3
Author: Paride Legovini <paride@debian.org>
Date: Sat Jun 21 16:17:59 2025 +0000
Merge branch 'subprocess-devnull' into 'master'
copyupdown: use subprocess.DEVNULL instead of open('/dev/null')
See merge request ci-team/autopkgtest!558
commit abdb93e370d7ebe3688e7f8166b17d5ef1491203
Author: Paride Legovini <paride@debian.org>
Date: Sat Jun 21 17:03:55 2025 +0200
copyupdown: use subprocess.DEVNULL instead of open('/dev/null')
The open('/dev/null') approach is only useful for compatibility with
old Python versions: subprocess.DEVNULL is supported since Python 3.3.
commit ac697a5ccc3fea2d7ec292b542051c0f3e1b2d0d
Merge: 53b9a160 91a6d5af
Author: Paride Legovini <paride@debian.org>
Date: Thu Jun 19 21:41:43 2025 +0000
Merge branch 'nova-fix-server-delete-retry-logic' into 'master'
nova: fix failure to delete server detection logic
See merge request ci-team/autopkgtest!556
commit 91a6d5af9582cc3f9f21c327c1dff61f7d32e299
Author: Paride Legovini <paride@debian.org>
Date: Thu Jun 19 23:20:30 2025 +0200
nova: fix failure to delete server detection logic
When `retry --until=fail` is used the return code is preserved:
a failure remains a failure, even if it's what we are waiting for.
commit aae727fc1b043dd4ba9d57c2147455c7a13f0257
Author: Helmut Grohne <helmut@subdivi.de>
Date: Wed Jun 18 14:58:44 2025 +0200
incus: clear /etc/machine-id in base image
An autopkgtest image can be used concurrently and when that happens
multiple containers share the same machine-id. This may result e.g. in
them obtaining the same IP address.
Generally, systemd populates an empty /etc/machine-id during boot. This
is exactly what happens during autopkgtest-build-incus. Rather than
trying to tell systemd to not do that, clear the file prior to
restarting. We should not remove the file as that'd result in the "first
boot" experience.
commit 53b9a16012bd70eeb034509ed959f993aa0c8dee
Merge: 69578cc1 784d879e
Author: Paride Legovini <paride@debian.org>
Date: Wed May 28 16:12:03 2025 +0000
Merge branch 'NEWS-typos' into 'master'
d/NEWS: fix some typos in the 5.48 stanza
See merge request ci-team/autopkgtest!553
commit 784d879ef3ae66ce0ac4d9129278602c5e320c3c
Author: Paride Legovini <paride@debian.org>
Date: Wed May 28 16:09:56 2025 +0200
d/NEWS: fix some typos in the 5.48 stanza
Closes: #1106717
Gbp-Dch: Ignore
Thanks: Wookey
commit 69578cc12a1be00c12f5fc3bcbf67217ec5271b9
Merge: 07eb656d fe94b089
Author: Paride Legovini <paride@debian.org>
Date: Wed May 28 13:59:53 2025 +0000
Merge branch 'pre-commit-autoupdate' into 'master'
pre-commit: update hooks pinned versions
See merge request ci-team/autopkgtest!552
commit fe94b0890b9a09fe3683c75fccfaa11ec5bb3315
Author: Paride Legovini <paride@debian.org>
Date: Wed May 28 15:58:05 2025 +0200
pre-commit: update hooks pinned versions
commit 07eb656d26b097028c28ff743f4ea7eb71bc2d01
Merge: fe596322 34036ebc
Author: Ian Jackson <ijackson@chiark.greenend.org.uk>
Date: Wed Apr 16 23:59:24 2025 +0000
Merge branch 'spelling' into 'master'
Fix spelling in NEWS.Debian
See merge request ci-team/autopkgtest!551
commit 34036ebc3d7046d97565a282d4d6bdd4b0ebe123
Author: Ian Jackson <ijackson@chiark.greenend.org.uk>
Date: Wed Apr 16 23:59:51 2025 +0100
Fix spelling in NEWS.Debian