autopkgtest removes iputils-ping

Bug #2126981 reported by Frode Nordahl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest (Ubuntu)
Won't Fix
Undecided
Unassigned
Questing
Won't Fix
Undecided
Unassigned
ovn (Ubuntu)
Fix Committed
Undecided
Unassigned
Questing
New
Undecided
Unassigned

Bug Description

[ Impact ]
The system testsuites ran as part of the autopkgtests can not succeed without iputils-ping installed, effectively leaving us without regression tests in Questing.

This could make future regressions from other packages go unnoticed as well as prevent SRUs to pass through.

[ Test Plan ]
Successful autopkgtests would be proof of this issue being resolved.

[ Where problems could occur ]
This is a test only change with zero regression potential for the actual product.

[ Other Info ]
A recent MR [0] changed autopkgtest so that it does not install the ubuntu-minimal meta package when creating images.

The same MR added a few dependencies as manually installed [1] to avoid removing basic dependencies.

However, there are still pretty basic dependencies missing, such as iputils-ping.

My concrete problem is the missing iputils-ping, can we please have it back?

A instrumented test run [2] shows APT history.log entry of the packages that now are removed:
372s Start-Date: 2025-10-06 03:27:38
372s Commandline: /usr/bin/apt-get --auto-remove -y purge apt-xapian-index cryptsetup landscape-common open-vm-tools vim-runtime manpages ntfs-3g sosreport ubuntu-release-upgrader-core git lxd open-iscsi mdadm dmeventd lvm2 unattended-upgrades update-notifier-common snapd snap-confine ubuntu-core-launcher thermald xdg-user-dirs zerofree xml-core needrestart ubuntu-pro-client
372s Requested-By: ubuntu (1000)
372s Install: gcc-15-base:i386 (15.2.0-4ubuntu4, automatic), libunistring5:i386 (1.3-2, automatic), libidn2-0:i386 (2.3.8-4, automatic), libc6:i386 (2.42-0ubuntu3, automatic), libgcc-s1:i386 (15.2.0-4ubuntu4, automatic)
372s Purge: cloud-initramfs-dyn-netconf:amd64 (0.49), python3-incremental:amd64 (24.7.2-3), libpolkit-agent-1-0:amd64 (126-2), libupower-glib3:amd64 (1.90.9-5), dmeventd:amd64 (2:1.02.205-2ubuntu2), manpages-dev:amd64 (6.9.1-1), libimobiledevice-1.0-6:amd64 (1.3.0+git20250228-2), libtss2-esys-3.0.2-0t64:amd64 (4.1.3-1.2ubuntu1), exfatprogs:amd64 (1.2.9-1), libmm-glib0:amd64 (1.24.2-0ubuntu1), libqrtr-glib0:amd64 (1.2.2-1ubuntu4), libimobiledevice-glue-1.0-0:amd64 (1.3.2-2), open-iscsi:amd64 (2.1.11-1ubuntu3), python3-pyasn1:amd64 (0.6.1-1), python3-s3transfer:amd64 (0.11.4-1), libtss2-tcti-cmd0t64:amd64 (4.1.3-1.2ubuntu1), libmbim-utils:amd64 (1.32.0-1), iputils-ping:amd64 (3:20240905-3ubuntu3), libonig5:amd64 (6.9.10-1), python3-distupgrade:amd64 (1:25.10.6), python3-dateutil:amd64 (2.9.0-4), packagekit-tools:amd64 (1.3.1-1), libintl-perl:amd64 (1.35-1), libqmi-proxy:amd64 (1.36.0-1), libblockdev-part3:amd64 (3.3.0-2.1), modemmanager:amd64 (1.24.2-0ubuntu1), git:amd64 (1:2.51.0-1ubuntu1), libglib2.0-bin:amd64 (2.86.0-2), python3-boto3:amd64 (1.37.9-1), polkitd:amd64 (126-2), lxd-agent-loader:amd64 (0.8), libtss2-sys1t64:amd64 (4.1.3-1.2ubuntu1), libblockdev-swap3:amd64 (3.3.0-2.1), ntfs-3g:amd64 (1:2022.10.3-5), zerofree:amd64 (1.1.1-1build5), libmbim-glib4:amd64 (1.32.0-1), sgml-base:amd64 (1.31+nmu1), usb-modeswitch-data:amd64 (20191128-7), liblzo2-2:amd64 (2.10-3build1), libxmlb2:amd64 (0.3.24-1), sos:amd64 (4.10.0-1), libbytesize1:amd64 (2.11-2), tcl:amd64 (8.6.16), sg3-utils:amd64 (1.48-2ubuntu1), vim:amd64 (2:9.1.0967-1ubuntu6), xxd:amd64 (2:9.1.0967-1ubuntu6), libfwupd3:amd64 (2.0.16-1), python3-ptyprocess:amd64 (0.7.0-6), python3-hyperlink:amd64 (21.0.0-6), python3-twisted:amd64 (24.11.0-1), libisns0t64:amd64 (0.101-1), libblockdev-fs3:amd64 (3.3.0-2.1), vim-common:amd64 (2:9.1.0967-1ubuntu6), liblvm2cmd2.03:amd64 (2.03.31-2ubuntu2), software-properties-common:amd64 (0.114), libplist-2.0-4:amd64 (2.6.0-2build1), libtcl8.6:amd64 (8.6.17+dfsg-1), udisks2:amd64 (2.10.1-12.1ubuntu2), python3-jmespath:amd64 (1.0.1-1), xfsprogs:amd64 (6.13.0-2ubuntu2), python3-hamcrest:amd64 (2.1.0-1), libmspack0t64:amd64 (0.11-1.1build1), libatasmart4:amd64 (0.19-5build3), landscape-common:amd64 (24.12-0ubuntu4), libusbmuxd-2.0-7:amd64 (2.1.0-1build1), libmpathcmd0:amd64 (0.11.1-3ubuntu2), python3-software-properties:amd64 (0.114), squashfs-tools:amd64 (1:4.6.1-1build1), gir1.2-packagekitglib-1.0:amd64 (1.3.1-1), python3-automat:amd64 (25.4.16-1), libstemmer0d:amd64 (2.2.0-4build1), lxd-installer:amd64 (13ubuntu0), libappstream5:amd64 (1.0.6-2), libevent-core-2.1-7t64:amd64 (2.1.12-stable-10build1), appstream:amd64 (1.0.6-2), libxmlsec1-openssl1:amd64 (1.3.7-2), libbytesize-common:amd64 (2.11-2), libvolume-key1:amd64 (0.3.12-9), libsort-naturally-perl:amd64 (1.03-4), overlayroot:amd64 (0.49), eject:amd64 (2.41-4ubuntu4), packagekit:amd64 (1.3.1-1), libgudev-1.0-0:amd64 (1:238-7), python3-packaging:amd64 (25.0-1), motd-news-config:amd64 (14ubuntu2), libsodium23:amd64 (1.0.18-1build3), python3-pexpect:amd64 (4.9-3), xdg-user-dirs:amd64 (0.18-3), libjson-glib-1.0-common:amd64 (1.10.8+ds-1), lvm2:amd64 (2.03.31-2ubuntu2), libudisks2-0:amd64 (2.10.1-12.1ubuntu2), ubuntu-pro-client-l10n:amd64 (36ubuntu0), libnvme1t64:amd64 (1.15-2), libprotobuf-c1:amd64 (1.5.1-1ubuntu1), fwupd-signed:amd64 (1.55+1.7-1), libaio1t64:amd64 (0.3.113-8), libblockdev-loop3:amd64 (3.3.0-2.1), manpages:amd64 (6.9.1-1), sg3-utils-udev:amd64 (1.48-2ubuntu1), libmodule-find-perl:amd64 (0.17-1), libblockdev3:amd64 (3.3.0-2.1), python3-click:amd64 (8.2.0+0.really.8.1.8-1), libterm-readkey-perl:amd64 (2.38-2build5), python3-service-identity:amd64 (24.2.0-1), open-vm-tools:amd64 (2:13.0.0-2ubuntu1), vim-tiny:amd64 (2:9.1.0967-1ubuntu6), usb-modeswitch:amd64 (2.6.1-4ubuntu1), libmbim-proxy:amd64 (1.32.0-1), update-manager-core:amd64 (1:25.10.1), libnss3:amd64 (2:3.114-1), libqmi-utils:amd64 (1.36.0-1), libblockdev-utils3:amd64 (3.3.0-2.1), libpolkit-gobject-1-0:amd64 (126-2), mdadm:amd64 (4.4-11ubuntu2), cryptsetup-initramfs:amd64 (2:2.8.0-1ubuntu2), tcl8.6:amd64 (8.6.17+dfsg-1), bolt:amd64 (0.9.8-1), snapd:amd64 (2.71+ubuntu25.10), python3-netifaces:amd64 (0.11.0-2build5), apport-symptoms:amd64 (0.25), libpackagekit-glib2-18:amd64 (1.3.1-1), finalrd:amd64 (9build1), libopeniscsiusr:amd64 (2.1.11-1ubuntu3), libxslt1.1:amd64 (1.1.43-0.1), python3-zope.interface:amd64 (7.2-1build1), python3-distro-info:amd64 (1.14), libdevmapper-event1.02.1:amd64 (2:1.02.205-2ubuntu2), multipath-tools:amd64 (0.11.1-3ubuntu2), python3-botocore:amd64 (1.37.9+repack-1), libblockdev-mdraid3:amd64 (3.3.0-2.1), libgstreamer1.0-0:amd64 (1.26.6-1), vim-runtime:amd64 (2:9.1.0967-1ubuntu6), liberror-perl:amd64 (0.17030-1), libftdi1-2:amd64 (1.5-10), libsgutils2-1.48:amd64 (1.48-2ubuntu1), libtss2-tcti-mssim0t64:amd64 (4.1.3-1.2ubuntu1), libqmi-glib5:amd64 (1.36.0-1), thin-provisioning-tools:amd64 (1.1.0-4ubuntu1), python3-six:amd64 (1.17.0-1), libmpathpersist0:amd64 (0.11.1-3ubuntu2), cryptsetup:amd64 (2:2.8.0-1ubuntu2), python3-constantly:amd64 (23.10.4-2), distro-info:amd64 (1.14), fonts-ubuntu-console:amd64 (0.869+git20240321-0ubuntu1), libjson-glib-1.0-0:amd64 (1.10.8+ds-1), btrfs-progs:amd64 (6.16-2), libgpgme11t64:amd64 (1.24.2-3ubuntu1), htop:amd64 (3.4.1-5build1), libdrm-amdgpu1:amd64 (2.4.125-1), python3-update-manager:amd64 (1:25.10.1), usbmuxd:amd64 (1.1.1-6), python3-apport:amd64 (2.33.1-0ubuntu2), libntfs-3g89t64:amd64 (1:2022.10.3-5), ubuntu-server:amd64 (1.560), libmultipath0:amd64 (0.11.1-3ubuntu2), bc:amd64 (1.07.1-4), jq:amd64 (1.8.1-3ubuntu1), unattended-upgrades:amd64 (2.12ubuntu4), needrestart:amd64 (3.11-1ubuntu1), thermald:amd64 (2.5.9-1build1), python3-magic:amd64 (2:0.4.27-3), libduktape207:amd64 (2.7.0+tests-0ubuntu3), apport-core-dump-handler:amd64 (2.33.1-0ubuntu2), xml-core:amd64 (0.19), libflashrom1:amd64 (1.4.0-3ubuntu1), libblockdev-nvme3:amd64 (3.3.0-2.1), libjcat1:amd64 (0.2.3-1), ubuntu-release-upgrader-core:amd64 (1:25.10.6), libinih1:amd64 (59-1ubuntu1), libintl-xs-perl:amd64 (1.35-1), libjq1:amd64 (1.8.1-3ubuntu1), libxmlsec1-1:amd64 (1.3.7-2), pollinate:amd64 (4.33-4ubuntu4), bcache-tools:amd64 (1.0.8-5build1), tmux:amd64 (3.5a-3build1), git-man:amd64 (1:2.51.0-1ubuntu1), libtss2-tcti-swtpm0t64:amd64 (4.1.3-1.2ubuntu1), libblockdev-crypto3:amd64 (3.3.0-2.1), cloud-initramfs-copymods:amd64 (0.49), libicu76:amd64 (76.1-4ubuntu2), kpartx:amd64 (0.11.1-3ubuntu2), python3-pyasn1-modules:amd64 (0.4.1-2), python3-problem-report:amd64 (2.33.1-0ubuntu2), screen:amd64 (4.9.1-3ubuntu1), apport:amd64 (2.33.1-0ubuntu2), fwupd:amd64 (2.0.16-1), python3-systemd:amd64 (235-1build6), ubuntu-minimal:amd64 (1.560), update-notifier-common:amd64 (3.200), python3-debian:amd64 (1.0.1ubuntu1), upower:amd64 (1.90.9-5), ubuntu-pro-client:amd64 (36ubuntu0), libproc-processtable-perl:amd64 (0.636-1build4), libnspr4:amd64 (2:4.36-1ubuntu2)
372s End-Date: 2025-10-06 03:28:10
372s

0: https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/579
1: https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/579/diffs?commit_id=7085dad3549554e804f5ec882a5021d48038cd94
2: https://autopkgtest.ubuntu.com/results/autopkgtest-questing-fnordahl-ovn-dev/questing/amd64/o/ovn/20251006_141452_eb066@/log.gz

Revision history for this message
Frode Nordahl (fnordahl) wrote :
Revision history for this message
Paride Legovini (paride) wrote :

As mentioned in the MR, it would be preferable for tests to declare their dependencies, unless they are Essential.

Changed in autopkgtest (Ubuntu):
status: New → Incomplete
Revision history for this message
Simon Chopin (schopin) wrote :

I would actually mark this as Won't Fix, really. It's really important to properly specify your dependencies in the tests, for (at least) two reasons.

The first is that, well, we've never documented anywhere what was on the image, so your undeclared dependency might break at any moment, as evidenced here. Which packages are present or not is an implementation detail, not a public API. The manually installed packages you mention are there to make autopkgtest work correctly, not for the tests themselves.

The second, less obvious reason is that by documenting that your test uses iputils-ping, we will actually trigger it when we're trying out a new version of that package, making it part of the regression testsuite for that package. Oddly enough, some of our most core packages do *not* get a lot of regression testing exactly because of this.

Revision history for this message
Frode Nordahl (fnordahl) wrote :

OK, while I still think iputils-ping is something you ought to have in any environment, I accept your argument.

On the topic of autopkgtest itself, the same change breaks VM support when using LXD as backend, due to the removal of lxd-agent-loader. I'll raise that as a separate bug.

summary: - autopkgtest purges basic dependencies that would be expected to be there
+ autopkgtest removes iputils-ping
Changed in autopkgtest (Ubuntu):
status: Incomplete → Won't Fix
Changed in autopkgtest (Ubuntu Questing):
status: New → Won't Fix
description: updated
Changed in ovn (Ubuntu):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.