Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/u/unattended-upgrades/unattended-upgrades_2.8_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/unattended-upgrades-2.8irvz1aho/unattended-upgrades_2.8_all.buildinfo Get source package info: unattended-upgrades=2.8 Source URL: http://snapshot.notset.fr/mr/package/unattended-upgrades/2.8/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.49 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 bsdextrautils=2.36.1-7 bsdutils=1:2.36.1-7 build-essential=12.9 bzip2=1.0.8-4 ca-certificates=20210119 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.3 debianutils=4.11.2 dh-autoreconf=20 dh-strip-nondeterminism=1.11.0-1 diffutils=1:3.7-5 distro-info-data=0.46 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20210201-1 equivs=2.3.1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 gir1.2-glib-2.0=1.66.1-1+b1 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool=0.51.0-6 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-10 libapt-pkg6.0=2.1.20 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.1-7 libblkid1=2.36.1-7 libbz2-1.0=1.0.8-4 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.46.1-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-7 libctf0=2.35.1-7 libdb5.3=5.3.28+dfsg1-0.8 libdbus-1-3=1.12.20-1 libdebconfclient0=0.256 libdebhelper-perl=13.3.3 libdpkg-perl=1.20.7.1 libelf1=0.183-1 libencode-locale-perl=1.05-1.1 libexpat1=2.2.10-1 libexpat1-dev=2.2.10-1 libffi7=3.3-5 libfile-listing-perl=6.14-1 libfile-stripnondeterminism-perl=1.11.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-3 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgirepository-1.0-1=1.66.1-1+b1 libglib2.0-0=2.66.7-1 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libhtml-parser-perl=3.75-1+b1 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.10-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.27-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-6 libio-html-perl=1.004-2 libio-socket-ssl-perl=2.069-1 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblsan0=10.2.1-6 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.10-1 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-7 libmpc3=1.2.0-1 libmpdec3=2.5.1-1 libmpfr6=4.1.0-3 libncursesw6=6.2+20201114-2 libnet-http-perl=6.20-1 libnet-ssleay-perl=1.88-3+b1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-4 libpam-modules-bin=1.4.0-4 libpam-runtime=1.4.0-4 libpam0g=1.4.0-4 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-2 libpipeline1=1.5.3-1 libpython3-dev=3.9.1-1 libpython3-stdlib=3.9.1-1 libpython3.9=3.9.1-4 libpython3.9-dev=3.9.1-4 libpython3.9-minimal=3.9.1-4 libpython3.9-stdlib=3.9.1-4 libquadmath0=10.2.1-6 libreadline8=8.1-1 libseccomp2=2.5.1-1 libselinux1=3.1-3 libsigsegv2=2.13-1 libsmartcols1=2.36.1-7 libsqlite3-0=3.34.1-2 libssl1.1=1.1.1j-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-1 libtimedate-perl=2.3300-2 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtry-tiny-perl=0.30-1 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-1 libunistring2=0.9.10-4 liburi-perl=5.07-1 libuuid1=2.36.1-7 libwww-perl=6.52-1 libwww-robotrules-perl=6.02-1 libxml-parser-perl=2.46-2 libxml2=2.9.10+dfsg-6.3+b1 libxxhash0=0.8.0-2 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.13-1 login=1:4.8.1-1 lsb-base=11.1.0 lsb-release=11.1.0 m4=1.4.18-5 make=4.3-4 man-db=2.9.4-2 mawk=1.3.4.20200120-2 media-types=4.0.0 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 netbase=6.2 openssl=1.1.1j-1 patch=2.7.6-7 perl=5.32.1-2 perl-base=5.32.1-2 perl-modules-5.32=5.32.1-2 perl-openssl-defaults=5 po-debconf=1.0.21+nmu1 pycodestyle=2.6.0-1 pyflakes3=2.2.0-2 python-apt-common=2.1.7 python3=3.9.1-1 python3-apt=2.1.7 python3-coverage=5.1+dfsg.1-2+b2 python3-dbus=1.2.16-5 python3-dev=3.9.1-1 python3-distro-info=1.0 python3-distutils=3.9.1-2 python3-distutils-extra=2.45 python3-gi=3.38.0-2 python3-lib2to3=3.9.1-2 python3-minimal=3.9.1-1 python3-mock=4.0.3-1 python3-pbr=5.5.0-2 python3-pkg-resources=52.0.0-1 python3-pycodestyle=2.6.0-1 python3-pyflakes=2.2.0-2 python3-setuptools=52.0.0-1 python3-six=1.15.0-2 python3.9=3.9.1-4 python3.9-dev=3.9.1-4 python3.9-minimal=3.9.1-4 readline-common=8.1-1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-5 tar=1.34+dfsg-1 tzdata=2021a-1 util-linux=2.36.1-7 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211226T030413Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210218T111050Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d unattended-upgrades=2.8 && mkdir -p /build/unattended-upgrades-Ss6H7G && dpkg-source --no-check -x /*.dsc /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8 && chown -R builduser:builduser /build/unattended-upgrades-Ss6H7G" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1613736702" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/unattended-upgrades-Ss6H7G /tmp/unattended-upgrades-2.8irvz1aho bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210218T111050Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.o3gcmckgnZ as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.o3gcmckgnZ Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-7). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210218T111050Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210218T111050Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (867 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4662 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211226T030413Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210218T111050Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.o3gcmckgnZ Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20211226T030413Z unstable InRelease [165 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20210218T111050Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20211226T030413Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20211226T030413Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20211226T030413Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20211226T030413Z unstable/main amd64 Packages [12.0 MB] Fetched 34.7 MB in 29s (1217 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.o3gcmckgnZ I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d unattended-upgrades=2.8 && mkdir -p /build/unattended-upgrades-Ss6H7G && dpkg-source --no-check -x /*.dsc /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8 && chown -R builduser:builduser /build/unattended-upgrades-Ss6H7G"' exec /tmp/mmdebstrap.o3gcmckgnZ Reading package lists... NOTICE: 'unattended-upgrades' packaging is maintained in the 'Git' version control system at: https://github.com/mvo5/unattended-upgrades.git Please use: git clone https://github.com/mvo5/unattended-upgrades.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 127 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main unattended-upgrades 2.8 (dsc) [1903 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main unattended-upgrades 2.8 (tar) [125 kB] Fetched 127 kB in 0s (719 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'unattended-upgrades_2.8.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting unattended-upgrades in /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8 dpkg-source: info: unpacking unattended-upgrades_2.8.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1613736702" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.o3gcmckgnZ dpkg-buildpackage: info: source package unattended-upgrades dpkg-buildpackage: info: source version 2.8 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Balint Reczey dpkg-source --before-build . dpkg-source: info: using options from unattended-upgrades-2.8/debian/source/options: --tar-ignore=*.pyc --tar-ignore=__pycache__ fakeroot debian/rules clean dh clean --with=systemd dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_auto_clean make[1]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8' # Sanity-check before upload. for i in $(md5sum data/50unattended-upgrades.* | grep -v md5sum | cut -d" " -f1); do \ if ! grep -q $i data/50unattended-upgrades.md5sum ; then \ echo "ERROR: $i is missing from data/50unattended-upgrades.md5sum"; \ exit 1; \ fi; \ done if sort data/50unattended-upgrades.md5sum | uniq -c | grep -v " 1 " ; then \ echo "ERROR: ^ duplicate lines in data/50unattended-upgrades.md5sum"; \ exit 1; \ fi set -e; for f in unattended-upgrade unattended-upgrade-shutdown; do \ ln -nsf $f $f.py; \ py3compile $f.py; \ rm -f $f.py; \ done python3 setup.py clean -a running clean 'build/lib' does not exist -- can't clean it 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.9' does not exist -- can't clean it rm -rf .coverage \ test/.coverage \ test/.mypy_cache \ test/root.*/var/cache/apt/*.bin \ test/root.*/var/lib/dpkg/lock-frontend \ test/root.*/var/log \ test/root.unused-deps/var/cache/apt/archives/lock \ test/root.unused-deps/var/lib/apt/extended_states \ test/root.unused-deps/var/lib/dpkg/status \ test/root.unused-deps/var/run/unattended-upgrades.progress \ test/u-u.lock make[1]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8' dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build-indep dh build-indep --with=systemd dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config -i dh_auto_configure -i dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_auto_configure: warning: Please use the third-party "pybuild" build system instead of python-distutils dh_auto_configure: warning: This feature will be removed in compat 12. debian/rules override_dh_auto_build make[1]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8' # copy the right template into place cp data/50unattended-upgrades.Debian data/50unattended-upgrades python3 setup.py build running build running build_scripts creating build creating build/scripts-3.9 copying and adjusting unattended-upgrade -> build/scripts-3.9 changing mode of build/scripts-3.9/unattended-upgrade from 644 to 755 running build_i18n intltool-update -p -g unattended-upgrades msgfmt po/da.po -o build/mo/da/LC_MESSAGES/unattended-upgrades.mo msgfmt po/de.po -o build/mo/de/LC_MESSAGES/unattended-upgrades.mo msgfmt po/es.po -o build/mo/es/LC_MESSAGES/unattended-upgrades.mo msgfmt po/eu.po -o build/mo/eu/LC_MESSAGES/unattended-upgrades.mo msgfmt po/fr.po -o build/mo/fr/LC_MESSAGES/unattended-upgrades.mo msgfmt po/gl.po -o build/mo/gl/LC_MESSAGES/unattended-upgrades.mo msgfmt po/ja.po -o build/mo/ja/LC_MESSAGES/unattended-upgrades.mo msgfmt po/nl.po -o build/mo/nl/LC_MESSAGES/unattended-upgrades.mo msgfmt po/pt.po -o build/mo/pt/LC_MESSAGES/unattended-upgrades.mo msgfmt po/pt_BR.po -o build/mo/pt_BR/LC_MESSAGES/unattended-upgrades.mo msgfmt po/ru.po -o build/mo/ru/LC_MESSAGES/unattended-upgrades.mo msgfmt po/sk.po -o build/mo/sk/LC_MESSAGES/unattended-upgrades.mo make[1]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8' debian/rules override_dh_auto_test make[1]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8' /usr/bin/make -C test make[2]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test' /usr/bin/make -C packages make[3]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages' equivs-build test-package-2_1.2_all.equivs dpkg-buildpackage: info: source package test-package-2 dpkg-buildpackage: info: source version 1.2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean make[4]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.GbaV4w' dh clean dh_clean make[4]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.GbaV4w' debian/rules binary make[4]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.GbaV4w' dh binary dh_update_autotools_config dh_autoreconf create-stamp debian/debhelper-build-stamp dh_prep dh_install dh_installdocs dh_installchangelogs dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'test-package-2' in '../test-package-2_1.2_all.deb'. make[4]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.GbaV4w' dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../test-package-2_1.2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) The package has been created. Attention, the package has been created in the current directory, not in ".." as indicated by the message above! Conffiles: dpkg-deb -I test-package-2_1.2_all.deb conffiles /etc/foo equivs-build test-package-2_1.3_all.equivs dpkg-buildpackage: info: source package test-package-2 dpkg-buildpackage: info: source version 1.3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean make[4]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.d9Ql8e' dh clean dh_clean make[4]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.d9Ql8e' debian/rules binary make[4]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.d9Ql8e' dh binary dh_update_autotools_config dh_autoreconf create-stamp debian/debhelper-build-stamp dh_prep dh_install dh_installdocs dh_installchangelogs dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'test-package-2' in '../test-package-2_1.3_all.deb'. make[4]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.d9Ql8e' dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../test-package-2_1.3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) The package has been created. Attention, the package has been created in the current directory, not in ".." as indicated by the message above! Conffiles: dpkg-deb -I test-package-2_1.3_all.deb conffiles /etc/foo equivs-build test-package_1.2_all.equivs dpkg-buildpackage: info: source package test-package dpkg-buildpackage: info: source version 1.2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean make[4]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.p8MSl0' dh clean dh_clean make[4]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.p8MSl0' debian/rules binary make[4]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.p8MSl0' dh binary dh_update_autotools_config dh_autoreconf create-stamp debian/debhelper-build-stamp dh_prep dh_install dh_installdocs dh_installchangelogs dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'test-package' in '../test-package_1.2_all.deb'. make[4]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.p8MSl0' dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../test-package_1.2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) The package has been created. Attention, the package has been created in the current directory, not in ".." as indicated by the message above! Conffiles: dpkg-deb -I test-package_1.2_all.deb conffiles /etc/configuration-file/configuration-file equivs-build test-package_1.3_all.equivs dpkg-buildpackage: info: source package test-package dpkg-buildpackage: info: source version 1.3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean make[4]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.qGzpj2' dh clean dh_clean make[4]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.qGzpj2' debian/rules binary make[4]: Entering directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.qGzpj2' dh binary dh_update_autotools_config dh_autoreconf create-stamp debian/debhelper-build-stamp dh_prep dh_install dh_installdocs dh_installchangelogs dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'test-package' in '../test-package_1.3_all.deb'. make[4]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages/equivs.qGzpj2' dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../test-package_1.3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) The package has been created. Attention, the package has been created in the current directory, not in ".." as indicated by the message above! Conffiles: dpkg-deb -I test-package_1.3_all.deb conffiles /etc/configuration-file/configuration-file make[3]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/packages' set -e; \ find . -name 'test_*.py' | \ while read file; do \ if [ -x $file ]; then \ echo "Running $file with python3"; \ python3 $file 2>&1; \ echo "Running $file with python3-coverage"; \ python3 -m coverage run -a $file 2>&1; \ fi \ done Running ./test_blacklisted_wrong_origin.py with python3 DEBUG:root:Checking: postgresql ([]) . ---------------------------------------------------------------------- Ran 1 test in 0.005s OK Running ./test_blacklisted_wrong_origin.py with python3-coverage DEBUG:root:Checking: postgresql ([]) . ---------------------------------------------------------------------- Ran 1 test in 0.009s OK Running ./test_clean.py with python3 . ---------------------------------------------------------------------- Ran 1 test in 0.003s OK Running ./test_clean.py with python3-coverage . ---------------------------------------------------------------------- Ran 1 test in 0.004s OK Running ./test_conffile.py with python3 DEBUG:root:check_conffile_prompt(./packages/conf-test-package_1.1.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:conffile /etc/configuration-file in missing on the system DEBUG:root:current md5: DEBUG:root:pkg_md5sum: c1d49253da76b8d6b7662b751e8d6229 .DEBUG:root:check_conffile_prompt(./packages/conf-test-package_1.0.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:conffile line: /etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:/etc/configuration-file2 not in package conffiles {'/etc/configuration-file'} .DEBUG:root:check_conffile_prompt(./packages/conf-test-package-no-conffiles-anymore_2.deb) DEBUG:root:found pkg: test-package DEBUG:root:No conffiles in deb ./packages/conf-test-package-no-conffiles-anymore_2.deb (There is no member named 'conffiles') .DEBUG:root:check_conffile_prompt(./packages/test-package_1.3_all.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:conffile line: /etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:/etc/configuration-file2 not in package conffiles {'/etc/configuration-file/configuration-file'} DEBUG:root:check_conffile_prompt(./packages/test-package-2_1.3_all.deb) DEBUG:root:found pkg: test-package-2 DEBUG:root:conffile line: /etc/foo/foo 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527 .DEBUG:root:check_conffile_prompt(./packages/conf-test-package_1.1.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: c1d49253da76b8d6b7662b751e8d6229 .DEBUG:root:check_conffile_prompt(./packages/conf-test-package-new-conffile_1.deb) DEBUG:root:found pkg: test-package-new-conffile .DEBUG:root:check_conffile_prompt(./packages/multiple-conffiles_2_all.deb) DEBUG:root:found pkg: multiple-conffiles DEBUG:root:conffile line: /etc/configuration-file1 cb9a458f0fdc96e10b4d23923f16e3a0 DEBUG:root:current md5: cb9a458f0fdc96e10b4d23923f16e3a0 DEBUG:root:conffile line: /etc/configuration-file2 8bf10a884dcfe6a8c3e57039e14d2b92 DEBUG:root:current md5: 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:pkg_md5sum: 7383fed9a71055c8b78d74c8166fd290 .DEBUG:root:check_conffile_prompt(./packages/test-package_1.2_all.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 029bbf588d9e33ac0539191e34beca05 DEBUG:root:check_conffile_prompt(./packages/test-package-2_1.2_all.deb) DEBUG:root:found pkg: test-package-2 DEBUG:root:conffile line: /etc/foo/foo 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 029bbf588d9e33ac0539191e34beca05 .DEBUG:root:check_conffile_prompt(./packages/conf-test-package-257-conffiles_1.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:conffile line: /etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:current md5: 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:conffile /etc/configuration-file3 in missing on the system .DEBUG:root:check_conffile_prompt(./packages/conf-test-xz_1.0_all.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:conffile line: /etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:/etc/configuration-file2 not in package conffiles {'/etc/configuration-file'} .... ---------------------------------------------------------------------- Ran 13 tests in 0.184s OK Running ./test_conffile.py with python3-coverage DEBUG:root:check_conffile_prompt(./packages/conf-test-package_1.1.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:conffile /etc/configuration-file in missing on the system DEBUG:root:current md5: DEBUG:root:pkg_md5sum: c1d49253da76b8d6b7662b751e8d6229 .DEBUG:root:check_conffile_prompt(./packages/conf-test-package_1.0.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:conffile line: /etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:/etc/configuration-file2 not in package conffiles {'/etc/configuration-file'} .DEBUG:root:check_conffile_prompt(./packages/conf-test-package-no-conffiles-anymore_2.deb) DEBUG:root:found pkg: test-package DEBUG:root:No conffiles in deb ./packages/conf-test-package-no-conffiles-anymore_2.deb (There is no member named 'conffiles') .DEBUG:root:check_conffile_prompt(./packages/test-package_1.3_all.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:conffile line: /etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:/etc/configuration-file2 not in package conffiles {'/etc/configuration-file/configuration-file'} DEBUG:root:check_conffile_prompt(./packages/test-package-2_1.3_all.deb) DEBUG:root:found pkg: test-package-2 DEBUG:root:conffile line: /etc/foo/foo 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527 .DEBUG:root:check_conffile_prompt(./packages/conf-test-package_1.1.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: c1d49253da76b8d6b7662b751e8d6229 .DEBUG:root:check_conffile_prompt(./packages/conf-test-package-new-conffile_1.deb) DEBUG:root:found pkg: test-package-new-conffile .DEBUG:root:check_conffile_prompt(./packages/multiple-conffiles_2_all.deb) DEBUG:root:found pkg: multiple-conffiles DEBUG:root:conffile line: /etc/configuration-file1 cb9a458f0fdc96e10b4d23923f16e3a0 DEBUG:root:current md5: cb9a458f0fdc96e10b4d23923f16e3a0 DEBUG:root:conffile line: /etc/configuration-file2 8bf10a884dcfe6a8c3e57039e14d2b92 DEBUG:root:current md5: 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:pkg_md5sum: 7383fed9a71055c8b78d74c8166fd290 .DEBUG:root:check_conffile_prompt(./packages/test-package_1.2_all.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 029bbf588d9e33ac0539191e34beca05 DEBUG:root:check_conffile_prompt(./packages/test-package-2_1.2_all.deb) DEBUG:root:found pkg: test-package-2 DEBUG:root:conffile line: /etc/foo/foo 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 029bbf588d9e33ac0539191e34beca05 .DEBUG:root:check_conffile_prompt(./packages/conf-test-package-257-conffiles_1.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:conffile line: /etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:current md5: 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:conffile /etc/configuration-file3 in missing on the system .DEBUG:root:check_conffile_prompt(./packages/conf-test-xz_1.0_all.deb) DEBUG:root:found pkg: test-package DEBUG:root:conffile line: /etc/configuration-file 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:current md5: 02120e4b518535095795491c556dbc0b DEBUG:root:pkg_md5sum: 26b99d59ac8f5ecd3375107755ee8527 DEBUG:root:conffile line: /etc/configuration-file2 404d877bbd67dc2412ba80d7c92d6bc7 DEBUG:root:/etc/configuration-file2 not in package conffiles {'/etc/configuration-file'} .... ---------------------------------------------------------------------- Ran 13 tests in 0.201s OK Running ./test_dev_release.py with python3 Not running on this development release before 2022-03-29 .Not running on the development release. .Running on the development release Starting unattended upgrades script Lock could not be acquired (another package manager running?) .Cache lock can not be acquired, exiting Running on the development release Starting unattended upgrades script Lock could not be acquired (another package manager running?) . ---------------------------------------------------------------------- Ran 4 tests in 0.012s OK Cache lock can not be acquired, exiting Running ./test_dev_release.py with python3-coverage Not running on this development release before 2022-03-29 .Not running on the development release. .Running on the development release Starting unattended upgrades script Lock could not be acquired (another package manager running?) .Cache lock can not be acquired, exiting Running on the development release Starting unattended upgrades script Lock could not be acquired (another package manager running?) . ---------------------------------------------------------------------- Ran 4 tests in 0.014s OK Cache lock can not be acquired, exiting Running ./test_log_install_progress.py with python3 . ---------------------------------------------------------------------- Ran 1 test in 0.004s OK Running ./test_log_install_progress.py with python3-coverage . ---------------------------------------------------------------------- Ran 1 test in 0.004s OK Running ./test_logdir.py with python3 ./build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/./test_logdir.py:44: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp5hzdd_xs/mylog/unattended-upgrades.log' mode='a' encoding='UTF-8'> logging.root.handlers = [] ResourceWarning: Enable tracemalloc to get the object allocation traceback . ---------------------------------------------------------------------- Ran 2 tests in 0.009s OK Running ./test_logdir.py with python3-coverage ./build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/test_logdir.py:44: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmpv940a4ha/mylog/unattended-upgrades.log' mode='a' encoding='UTF-8'> logging.root.handlers = [] ResourceWarning: Enable tracemalloc to get the object allocation traceback . ---------------------------------------------------------------------- Ran 2 tests in 0.010s OK Running ./test_mail.py with python3 ........................... ---------------------------------------------------------------------- Ran 27 tests in 0.372s OK Running ./test_mail.py with python3-coverage ........................... ---------------------------------------------------------------------- Ran 27 tests in 5.447s OK Running ./test_minimal_partitions.py with python3 /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/./test_minimal_partitions.py:62: ResourceWarning: unclosed file <_io.TextIOWrapper name=5 mode='w' encoding='UTF-8'> unattended_upgrade.upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/./test_minimal_partitions.py:62: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 mode='r' encoding='UTF-8'> unattended_upgrade.upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback . ---------------------------------------------------------------------- Ran 1 test in 0.043s OK Running ./test_minimal_partitions.py with python3-coverage /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/test_minimal_partitions.py:62: ResourceWarning: unclosed file <_io.TextIOWrapper name=5 mode='w' encoding='UTF-8'> unattended_upgrade.upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/test_minimal_partitions.py:62: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 mode='r' encoding='UTF-8'> unattended_upgrade.upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback . ---------------------------------------------------------------------- Ran 1 test in 0.032s OK Running ./test_motd.py with python3 . ---------------------------------------------------------------------- Ran 1 test in 0.002s OK Running ./test_motd.py with python3-coverage . ---------------------------------------------------------------------- Ran 1 test in 0.004s OK Running ./test_on_battery.py with python3 . ---------------------------------------------------------------------- Ran 1 test in 0.008s OK Running ./test_on_battery.py with python3-coverage . ---------------------------------------------------------------------- Ran 1 test in 0.008s OK Running ./test_origin_pattern.py with python3 DEBUG:root:skipping blacklisted package linux-image DEBUG:root:pkg linux-image package has been blacklisted DEBUG:root:sanity check failed for: {'<__main__.MockCandidate object at 0x78f53bac4100>'} : pkg linux-image is blacklisted or is not whitelisted ......WARNING:root:empty match string matches nothing ...DEBUG:root:pkg not-whitelisted package is not whitelisted DEBUG:root:sanity check failed for: {'<__main__.MockCandidate object at 0x78f53bab4a00>', '<__main__.MockCandidate object at 0x78f53bab4910>'} : pkg not-whitelisted is blacklisted or is not whitelisted . ---------------------------------------------------------------------- Ran 10 tests in 0.009s OK Running ./test_origin_pattern.py with python3-coverage DEBUG:root:skipping blacklisted package linux-image DEBUG:root:pkg linux-image package has been blacklisted DEBUG:root:sanity check failed for: {'<__main__.MockCandidate object at 0x7bcd16e09bb0>'} : pkg linux-image is blacklisted or is not whitelisted ......WARNING:root:empty match string matches nothing ...DEBUG:root:pkg not-whitelisted package is not whitelisted DEBUG:root:sanity check failed for: {'<__main__.MockCandidate object at 0x7bcd16df7c10>', '<__main__.MockCandidate object at 0x7bcd16df7730>'} : pkg not-whitelisted is blacklisted or is not whitelisted . ---------------------------------------------------------------------- Ran 10 tests in 0.015s OK Running ./test_patch_days.py with python3 ... ---------------------------------------------------------------------- Ran 3 tests in 0.005s OK Running ./test_patch_days.py with python3-coverage ... ---------------------------------------------------------------------- Ran 3 tests in 0.009s OK Running ./test_pep484.py with python3 s ---------------------------------------------------------------------- Ran 1 test in 0.000s OK (skipped=1) Running ./test_pep484.py with python3-coverage s ---------------------------------------------------------------------- Ran 1 test in 0.000s OK (skipped=1) Running ./test_pep8.py with python3 . ---------------------------------------------------------------------- Ran 1 test in 1.911s OK Running ./test_pep8.py with python3-coverage . ---------------------------------------------------------------------- Ran 1 test in 1.864s OK Running ./test_pyflakes.py with python3 . ---------------------------------------------------------------------- Ran 1 test in 1.703s OK Running ./test_pyflakes.py with python3-coverage . ---------------------------------------------------------------------- Ran 1 test in 1.207s OK Running ./test_reboot.py with python3 ...WARNING:root:Found ./reboot-required, rebooting WARNING:root:Shutdown msg: some shutdown msg .WARNING:root:Found ./reboot-required, rebooting WARNING:root:Shutdown msg: some shutdown msg .WARNING:root:Found ./reboot-required, rebooting WARNING:root:Shutdown msg: some shutdown msg .WARNING:root:Found ./reboot-required, but not rebooting because {'user'} is logged in. . ---------------------------------------------------------------------- Ran 7 tests in 0.021s OK Running ./test_reboot.py with python3-coverage ...WARNING:root:Found ./reboot-required, rebooting WARNING:root:Shutdown msg: some shutdown msg .WARNING:root:Found ./reboot-required, rebooting WARNING:root:Shutdown msg: some shutdown msg .WARNING:root:Found ./reboot-required, rebooting WARNING:root:Shutdown msg: some shutdown msg .WARNING:root:Found ./reboot-required, but not rebooting because {'user'} is logged in. . ---------------------------------------------------------------------- Ran 7 tests in 0.029s OK Running ./test_regression.py with python3 . ---------------------------------------------------------------------- Ran 1 test in 0.005s OK Running ./test_regression.py with python3-coverage . ---------------------------------------------------------------------- Ran 1 test in 0.011s OK Running ./test_remove_unused.py with python3 Starting unattended upgrades script Allowed origins are: o=Ubuntu,a=lucid-security Initial blacklist: Initial whitelist (not strict): Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: APT::VersionedKernelPackages is not set Checking: test-package ([]) pkgs that look like they should be upgraded: test-package Fetched 0 B in 0s (0 B/s) fetch.run() result: 0 check_conffile_prompt(/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb) found pkg: test-package conffile /etc/configuration-file in missing on the system Packages blacklist due to conffile prompts: [] Packages that will be upgraded: test-package Writing dpkg log to ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log applying set ['test-package'] Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: left to upgrade set() All upgrades installed /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=11 mode='w' encoding='UTF-8'> pkg_install_success = upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 mode='r' encoding='UTF-8'> pkg_install_success = upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback marking old-unused-dependency for removal Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=11 mode='w' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 mode='r' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback marking any-old-unused-modules for removal Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=11 mode='w' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 mode='r' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback marking linux-image-4.05.0-1021-kvm for removal Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=11 mode='w' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 mode='r' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback marking test-package-dependency for removal Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=11 mode='w' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 mode='r' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback Packages that were successfully auto-removed: any-old-unused-modules linux-image-4.05.0-1021-kvm old-unused-dependency test-package-dependency Packages that are kept back: InstCount=0 DelCount=0 BrokenCount=0 Extracting content from ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2022-03-29 00:32:47 .Starting unattended upgrades script Allowed origins are: o=Ubuntu,a=lucid-security Initial blacklist: Initial whitelist (not strict): Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: Using (^linux-image-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-modules-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^linux-headers-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$) regexp to find kernel packages Using (^linux-image-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^linux-image-5\.10\.96\-1$|^.*-modules-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^.*-modules-5\.10\.96\-1$|^linux-headers-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^linux-headers-5\.10\.96\-1$) regexp to find running kernel packages Checking: test-package ([]) pkgs that look like they should be upgraded: test-package Fetched 0 B in 0s (0 B/s) fetch.run() result: 0 check_conffile_prompt(/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb) found pkg: test-package conffile /etc/configuration-file in missing on the system Packages blacklist due to conffile prompts: [] Removing unused kernel packages: linux-image-4.05.0-1021-kvm marking linux-image-4.05.0-1021-kvm for removal Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=11 mode='w' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 mode='r' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback Packages that were successfully auto-removed: linux-image-4.05.0-1021-kvm Packages that are kept back: Packages that will be upgraded: test-package Writing dpkg log to ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log applying set ['test-package'] Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: left to upgrade set() All upgrades installed /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=11 mode='w' encoding='UTF-8'> pkg_install_success = upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 mode='r' encoding='UTF-8'> pkg_install_success = upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback marking test-package-dependency for removal Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=11 mode='w' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 mode='r' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback Packages that were successfully auto-removed: test-package-dependency Packages that are kept back: InstCount=0 DelCount=0 BrokenCount=0 Extracting content from ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2022-03-29 00:32:51 .Allowed origins are: o=Ubuntu,a=lucid-security, o=Ubuntu,a=lucid-security Initial blacklist: Initial whitelist (not strict): Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: Using (^linux-image-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-modules-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^linux-headers-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$) regexp to find kernel packages Using (^linux-image-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^linux-image-5\.10\.96\-1$|^.*-modules-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^.*-modules-5\.10\.96\-1$|^linux-headers-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^linux-headers-5\.10\.96\-1$) regexp to find running kernel packages {'old-unused-dependency', 'any-old-unused-modules', 'linux-image-4.05.0-1021-kvm'} Keeping auto-removable test-package-dependency package(s) because it would also remove the following packages which should be kept in this step: old-unused-dependency The following packages are marked for installation or upgrade which is not allowed when performing autoremovals: forbidden-dependency . ---------------------------------------------------------------------- Ran 3 tests in 6.295s OK Running ./test_remove_unused.py with python3-coverage Starting unattended upgrades script Allowed origins are: o=Ubuntu,a=lucid-security Initial blacklist: Initial whitelist (not strict): Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: APT::VersionedKernelPackages is not set Checking: test-package ([]) pkgs that look like they should be upgraded: test-package Fetched 0 B in 0s (0 B/s) fetch.run() result: 0 check_conffile_prompt(/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb) found pkg: test-package conffile /etc/configuration-file in missing on the system Packages blacklist due to conffile prompts: [] Packages that will be upgraded: test-package Writing dpkg log to ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log applying set ['test-package'] Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: left to upgrade set() All upgrades installed /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=11 mode='w' encoding='UTF-8'> pkg_install_success = upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 mode='r' encoding='UTF-8'> pkg_install_success = upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback marking linux-image-4.05.0-1021-kvm for removal Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=11 mode='w' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 mode='r' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback marking old-unused-dependency for removal Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=11 mode='w' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 mode='r' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback marking any-old-unused-modules for removal Exception happened during upgrade. Traceback (most recent call last): File "/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py", line 871, in cache_commit res = cache.commit(install_progress=iprogress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 668, in commit raise SystemError("installArchives() failed") SystemError: installArchives() failed Auto-removing the packages failed! Error message: installArchives() failed dpkg returned an error! See ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log for details InstCount=0 DelCount=0 BrokenCount=0 Extracting content from ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2022-03-29 00:32:54 FStarting unattended upgrades script Allowed origins are: o=Ubuntu,a=lucid-security Initial blacklist: Initial whitelist (not strict): Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: Using (^linux-image-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-modules-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^linux-headers-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$) regexp to find kernel packages Using (^linux-image-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^linux-image-5\.10\.96\-1$|^.*-modules-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^.*-modules-5\.10\.96\-1$|^linux-headers-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^linux-headers-5\.10\.96\-1$) regexp to find running kernel packages Checking: test-package ([]) pkgs that look like they should be upgraded: test-package Fetched 0 B in 0s (0 B/s) fetch.run() result: 0 check_conffile_prompt(/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb) found pkg: test-package conffile /etc/configuration-file in missing on the system Packages blacklist due to conffile prompts: [] Removing unused kernel packages: linux-image-4.05.0-1021-kvm marking linux-image-4.05.0-1021-kvm for removal Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=24 mode='w' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=22 mode='r' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback Packages that were successfully auto-removed: linux-image-4.05.0-1021-kvm Packages that are kept back: Packages that will be upgraded: test-package Writing dpkg log to ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log applying set ['test-package'] Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: left to upgrade set() All upgrades installed /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=24 mode='w' encoding='UTF-8'> pkg_install_success = upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=22 mode='r' encoding='UTF-8'> pkg_install_success = upgrade_in_minimal_steps( ResourceWarning: Enable tracemalloc to get the object allocation traceback marking test-package-dependency for removal Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=24 mode='w' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=22 mode='r' encoding='UTF-8'> res, error = cache_commit(cache, logfile_dpkg, verbose) ResourceWarning: Enable tracemalloc to get the object allocation traceback Packages that were successfully auto-removed: test-package-dependency Packages that are kept back: InstCount=0 DelCount=0 BrokenCount=0 Extracting content from ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2022-03-29 00:32:57 .Allowed origins are: o=Ubuntu,a=lucid-security, o=Ubuntu,a=lucid-security Initial blacklist: Initial whitelist (not strict): Marking not allowed with -32768 pin Applying pinning: PkgFilePin(id=0, priority=-32768) Applying pin -32768 to package_file: Using (^linux-image-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^.*-modules-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$|^linux-headers-[1-9][0-9]*\.[0-9]+\.[0-9]+-[0-9]+(-.+)?$) regexp to find kernel packages Using (^linux-image-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^linux-image-5\.10\.96\-1$|^.*-modules-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^.*-modules-5\.10\.96\-1$|^linux-headers-5\.10\.96\-1\.fc32\.qubes\.x86_64$|^linux-headers-5\.10\.96\-1$) regexp to find running kernel packages {'linux-image-4.05.0-1021-kvm', 'old-unused-dependency', 'any-old-unused-modules'} Keeping auto-removable test-package-dependency package(s) because it would also remove the following packages which should be kept in this step: old-unused-dependency The following packages are marked for installation or upgrade which is not allowed when performing autoremovals: forbidden-dependency . ====================================================================== FAIL: test_remove_unused_dependencies (__main__.TestRemoveUnused) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/test_remove_unused.py", line 140, in test_remove_unused_dependencies self.assertTrue(needle in haystack, AssertionError: False is not true : Can not find 'Packages that were successfully auto-removed: any-old-unused-modules linux-image-4.05.0-1021-kvm old-unused-dependency test-package-dependency ' in '2022-03-29 00:32:54,695 INFO Starting unattended upgrades script 2022-03-29 00:32:54,698 INFO Allowed origins are: o=Ubuntu,a=lucid-security 2022-03-29 00:32:54,699 INFO Initial blacklist: 2022-03-29 00:32:54,699 INFO Initial whitelist (not strict): 2022-03-29 00:32:55,019 DEBUG Marking not allowed with -32768 pin 2022-03-29 00:32:55,020 DEBUG Applying pinning: PkgFilePin(id=0, priority=-32768) 2022-03-29 00:32:55,020 DEBUG Applying pin -32768 to package_file: 2022-03-29 00:32:55,024 DEBUG APT::VersionedKernelPackages is not set 2022-03-29 00:32:55,027 DEBUG Checking: test-package ([]) 2022-03-29 00:32:55,036 DEBUG pkgs that look like they should be upgraded: test-package 2022-03-29 00:32:55,048 DEBUG fetch.run() result: 0 2022-03-29 00:32:55,053 DEBUG 2022-03-29 00:32:55,053 DEBUG check_conffile_prompt(/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/root.unused-deps/var/cache/apt/archives/test-package_2.0_all.deb) 2022-03-29 00:32:55,054 DEBUG found pkg: test-package 2022-03-29 00:32:55,070 DEBUG conffile /etc/configuration-file in missing on the system 2022-03-29 00:32:55,070 DEBUG Packages blacklist due to conffile prompts: [] 2022-03-29 00:32:55,071 INFO Packages that will be upgraded: test-package 2022-03-29 00:32:55,072 INFO Writing dpkg log to ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log 2022-03-29 00:32:55,084 DEBUG applying set ['test-package'] 2022-03-29 00:32:55,664 DEBUG Marking not allowed with -32768 pin 2022-03-29 00:32:55,665 DEBUG Applying pinning: PkgFilePin(id=0, priority=-32768) 2022-03-29 00:32:55,665 DEBUG Applying pin -32768 to package_file: 2022-03-29 00:32:55,665 DEBUG left to upgrade set() 2022-03-29 00:32:55,666 INFO All upgrades installed 2022-03-29 00:32:55,678 DEBUG marking linux-image-4.05.0-1021-kvm for removal 2022-03-29 00:32:56,378 DEBUG Marking not allowed with -32768 pin 2022-03-29 00:32:56,378 DEBUG Applying pinning: PkgFilePin(id=0, priority=-32768) 2022-03-29 00:32:56,379 DEBUG Applying pin -32768 to package_file: 2022-03-29 00:32:56,386 DEBUG marking old-unused-dependency for removal 2022-03-29 00:32:57,091 DEBUG Marking not allowed with -32768 pin 2022-03-29 00:32:57,091 DEBUG Applying pinning: PkgFilePin(id=0, priority=-32768) 2022-03-29 00:32:57,092 DEBUG Applying pin -32768 to package_file: 2022-03-29 00:32:57,097 DEBUG marking any-old-unused-modules for removal 2022-03-29 00:32:57,204 ERROR Exception happened during upgrade. Traceback (most recent call last): File "/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test/unattended_upgrade.py", line 871, in cache_commit res = cache.commit(install_progress=iprogress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 668, in commit raise SystemError("installArchives() failed") SystemError: installArchives() failed 2022-03-29 00:32:57,213 ERROR Auto-removing the packages failed! 2022-03-29 00:32:57,214 ERROR Error message: installArchives() failed 2022-03-29 00:32:57,214 ERROR dpkg returned an error! See ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log for details 2022-03-29 00:32:57,215 DEBUG InstCount=0 DelCount=0 BrokenCount=0 2022-03-29 00:32:57,217 DEBUG Extracting content from ./root.unused-deps/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2022-03-29 00:32:54 ' ---------------------------------------------------------------------- Ran 3 tests in 5.207s FAILED (failures=1) make[2]: *** [Makefile:9: check] Error 1 make[2]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8/test' make[1]: *** [debian/rules:16: override_dh_auto_test] Error 2 make[1]: Leaving directory '/build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8' make: *** [debian/rules:8: build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 E: run_chroot failed: E: command failed: chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/unattended-upgrades-Ss6H7G/unattended-upgrades-2.8 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1613736702" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=all" W: listening on child socket failed: I: removing tempdir /tmp/mmdebstrap.o3gcmckgnZ... E: mmdebstrap failed to run mmdebstrap failed