Diff of the two buildlogs: -- --- b1/build.log 2023-05-18 01:15:43.662862934 +0000 +++ b2/build.log 2023-05-18 01:21:51.942725686 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 17 12:59:51 -12 2023 -I: pbuilder-time-stamp: 1684371591 +I: Current time: Thu May 18 15:15:58 +14 2023 +I: pbuilder-time-stamp: 1684372558 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -15,7 +15,7 @@ I: copying [unattended-upgrades_2.9.1+nmu3.dsc] I: copying [./unattended-upgrades_2.9.1+nmu3.tar.xz] I: Extracting source -gpgv: Signature made Sat Dec 31 09:00:22 2022 -12 +gpgv: Signature made Sun Jan 1 11:00:22 2023 +14 gpgv: using RSA key 58B66D48736BE93B052DE6729C5C99EB05BD750A gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./unattended-upgrades_2.9.1+nmu3.dsc: no acceptable signature found @@ -23,135 +23,167 @@ dpkg-source: info: unpacking unattended-upgrades_2.9.1+nmu3.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/17862/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/17619/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 18 15:16 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/17619/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/17619/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='84328ea2b633437bba0a106872a6a078' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='17862' - PS1='# ' - PS2='> ' + INVOCATION_ID=b0019b4f624d42428e8182afabad01eb + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=17619 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.gVKgPaLO/pbuilderrc_kKFQ --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gVKgPaLO/b1 --logfile b1/build.log unattended-upgrades_2.9.1+nmu3.dsc' - SUDO_GID='116' - SUDO_UID='112' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.gVKgPaLO/pbuilderrc_z9eF --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.gVKgPaLO/b2 --logfile b2/build.log --extrapackages usrmerge unattended-upgrades_2.9.1+nmu3.dsc' + SUDO_GID=114 + SUDO_UID=109 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux cbxi4b 5.10.0-23-armmp #1 SMP Debian 5.10.179-1 (2023-05-12) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-arm64 #1 SMP Debian 5.10.179-1 (2023-05-12) aarch64 GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/17862/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 18 15:16 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/17619/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -322,7 +354,7 @@ Get: 102 http://deb.debian.org/debian bookworm/main armhf python3-six all 1.16.0-4 [17.5 kB] Get: 103 http://deb.debian.org/debian bookworm/main armhf python3-pbr all 5.10.0-2 [61.4 kB] Get: 104 http://deb.debian.org/debian bookworm/main armhf python3-mock all 4.0.3-4 [64.0 kB] -Fetched 37.6 MB in 6s (6128 kB/s) +Fetched 37.6 MB in 3s (11.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (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 ... 19329 files and directories currently installed.) @@ -765,10 +797,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/unattended-upgrades-2.9.1+nmu3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../unattended-upgrades_2.9.1+nmu3_source.changes +I: user script /srv/workspace/pbuilder/17619/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/17619/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/unattended-upgrades-2.9.1+nmu3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../unattended-upgrades_2.9.1+nmu3_source.changes dpkg-buildpackage: info: source package unattended-upgrades dpkg-buildpackage: info: source version 2.9.1+nmu3 dpkg-buildpackage: info: source distribution unstable @@ -800,7 +839,7 @@ python3 setup.py clean -a running clean 'build/lib' does not exist -- can't clean it -'build/bdist.linux-armv7l' does not exist -- can't clean it +'build/bdist.linux-aarch64' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it rm -rf .coverage \ test/.coverage \ @@ -837,18 +876,18 @@ changing mode of build/scripts-3.11/unattended-upgrade from 644 to 755 running build_i18n intltool-update -p -g unattended-upgrades -msgfmt po/sk.po -o build/mo/sk/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/eu.po -o build/mo/eu/LC_MESSAGES/unattended-upgrades.mo +msgfmt po/nl.po -o build/mo/nl/LC_MESSAGES/unattended-upgrades.mo msgfmt po/da.po -o build/mo/da/LC_MESSAGES/unattended-upgrades.mo -msgfmt po/es.po -o build/mo/es/LC_MESSAGES/unattended-upgrades.mo -msgfmt po/fr.po -o build/mo/fr/LC_MESSAGES/unattended-upgrades.mo +msgfmt po/sk.po -o build/mo/sk/LC_MESSAGES/unattended-upgrades.mo msgfmt po/ja.po -o build/mo/ja/LC_MESSAGES/unattended-upgrades.mo msgfmt po/de.po -o build/mo/de/LC_MESSAGES/unattended-upgrades.mo -msgfmt po/ru.po -o build/mo/ru/LC_MESSAGES/unattended-upgrades.mo msgfmt po/gl.po -o build/mo/gl/LC_MESSAGES/unattended-upgrades.mo +msgfmt po/es.po -o build/mo/es/LC_MESSAGES/unattended-upgrades.mo +msgfmt po/fr.po -o build/mo/fr/LC_MESSAGES/unattended-upgrades.mo +msgfmt po/pt.po -o build/mo/pt/LC_MESSAGES/unattended-upgrades.mo +msgfmt po/eu.po -o build/mo/eu/LC_MESSAGES/unattended-upgrades.mo +msgfmt po/ru.po -o build/mo/ru/LC_MESSAGES/unattended-upgrades.mo make[1]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3' debian/rules override_dh_auto_test make[1]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3' @@ -860,16 +899,16 @@ 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-buildpackage: info: source changed by Equivs Dummy Package Generator dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean -make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.ODM_t8' +make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.kcA7Cv' dh clean dh_clean -make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.ODM_t8' +make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.kcA7Cv' debian/rules binary -make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.ODM_t8' +make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.kcA7Cv' dh binary dh_update_autotools_config dh_autoreconf @@ -890,7 +929,7 @@ 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-2.9.1+nmu3/test/packages/equivs.ODM_t8' +make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.kcA7Cv' dpkg-genbuildinfo --build=binary -O../test-package-2_1.2_armhf.buildinfo dpkg-genchanges --build=binary -O../test-package-2_1.2_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -907,16 +946,16 @@ 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-buildpackage: info: source changed by Equivs Dummy Package Generator dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean -make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.UbVL5w' +make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.R9y08z' dh clean dh_clean -make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.UbVL5w' +make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.R9y08z' debian/rules binary -make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.UbVL5w' +make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.R9y08z' dh binary dh_update_autotools_config dh_autoreconf @@ -937,7 +976,7 @@ 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-2.9.1+nmu3/test/packages/equivs.UbVL5w' +make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.R9y08z' dpkg-genbuildinfo --build=binary -O../test-package-2_1.3_armhf.buildinfo dpkg-genchanges --build=binary -O../test-package-2_1.3_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -954,16 +993,16 @@ 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-buildpackage: info: source changed by Equivs Dummy Package Generator dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean -make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.GI05sU' +make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.XIrKQY' dh clean dh_clean -make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.GI05sU' +make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.XIrKQY' debian/rules binary -make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.GI05sU' +make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.XIrKQY' dh binary dh_update_autotools_config dh_autoreconf @@ -984,7 +1023,7 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'test-package' in '../test-package_1.2_all.deb'. -make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.GI05sU' +make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.XIrKQY' dpkg-genbuildinfo --build=binary -O../test-package_1.2_armhf.buildinfo dpkg-genchanges --build=binary -O../test-package_1.2_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1001,16 +1040,16 @@ 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-buildpackage: info: source changed by Equivs Dummy Package Generator dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean -make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.S0iRkM' +make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.0ZmRAK' dh clean dh_clean -make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.S0iRkM' +make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.0ZmRAK' debian/rules binary -make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.S0iRkM' +make[4]: Entering directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.0ZmRAK' dh binary dh_update_autotools_config dh_autoreconf @@ -1031,7 +1070,7 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'test-package' in '../test-package_1.3_all.deb'. -make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.S0iRkM' +make[4]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test/packages/equivs.0ZmRAK' dpkg-genbuildinfo --build=binary -O../test-package_1.3_armhf.buildinfo dpkg-genchanges --build=binary -O../test-package_1.3_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1055,346 +1094,138 @@ python3 -m coverage run -a $file 2>&1; \ fi \ done -Running ./test_remove_unused.py with python3 +Running ./test_pyflakes.py with python3 +. +---------------------------------------------------------------------- +Ran 1 test in 6.824s + +OK +Running ./test_pyflakes.py with python3-coverage +. +---------------------------------------------------------------------- +Ran 1 test in 6.884s + +OK +Running ./test_rewind.py with python3 +INFO:root:Allowed origins are: o=Ubuntu,a=lucid-security +INFO:root:Initial blacklist: ant-doc +INFO:root:Initial whitelist (not strict): +DEBUG:root:Marking not allowed with -32768 pin +DEBUG:root:Applying pinning: PkgFilePin(id=0, priority=-32768) +DEBUG:root:Applying pin -32768 to package_file: +DEBUG:root:Applying pinning: PkgPin(pkg='/^ant-doc/', priority=-32768) +DEBUG:root:APT::VersionedKernelPackages is not set +DEBUG:root:adjusting candidate version: test-package=2.0 +DEBUG:root:adjusting candidate version: test2-package=2.0 +DEBUG:root:falling back to adjusting test2-package's dependencies +DEBUG:root:falling back to adjusting z-package's dependencies +DEBUG:root:sanity check failed for: set() : no package is selected to be upgraded or installed +. +---------------------------------------------------------------------- +Ran 1 test in 0.311s + +OK +Running ./test_rewind.py with python3-coverage +INFO:root:Allowed origins are: o=Ubuntu,a=lucid-security +INFO:root:Initial blacklist: ant-doc +INFO:root:Initial whitelist (not strict): +DEBUG:root:Marking not allowed with -32768 pin +DEBUG:root:Applying pinning: PkgFilePin(id=0, priority=-32768) +DEBUG:root:Applying pin -32768 to package_file: +DEBUG:root:Applying pinning: PkgPin(pkg='/^ant-doc/', priority=-32768) +DEBUG:root:APT::VersionedKernelPackages is not set +DEBUG:root:adjusting candidate version: test-package=2.0 +DEBUG:root:adjusting candidate version: test2-package=2.0 +DEBUG:root:falling back to adjusting test2-package's dependencies +DEBUG:root:falling back to adjusting z-package's dependencies +DEBUG:root:sanity check failed for: set() : no package is selected to be upgraded or installed +. +---------------------------------------------------------------------- +Ran 1 test in 0.292s + +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.035s + +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.060s + +OK +Running ./test_untrusted.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-2.9.1+nmu3/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-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 mode='w' encoding='utf-8'> - pkg_install_success = upgrade_in_minimal_steps( -ResourceWarning: Enable tracemalloc to get the object allocation traceback -/build/unattended-upgrades-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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 2023-05-17 13:09:29 -.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\.0\-23\-armmp$|^linux-image-5\.10\.0\-23$|^.*-modules-5\.10\.0\-23\-armmp$|^.*-modules-5\.10\.0\-23$|^linux-headers-5\.10\.0\-23\-armmp$|^linux-headers-5\.10\.0\-23$) regexp to find running kernel packages -Checking: test-package ([]) -pkgs that look like they should be upgraded: test-package +Checking: test-package ([]) +sanity check failed for: {'test-package=2.0'} : pkg test-package is not from a trusted origin +falling back to adjusting test-package's dependencies +sanity check failed for: {'test-package=2.0'} : pkg test-package is not from a trusted origin +pkgs that look like they should be upgraded: Fetched 0 B in 0s (0 B/s) fetch.run() result: 0 - -check_conffile_prompt(/build/unattended-upgrades-2.9.1+nmu3/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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 mode='w' encoding='utf-8'> - pkg_install_success = upgrade_in_minimal_steps( -ResourceWarning: Enable tracemalloc to get the object allocation traceback -/build/unattended-upgrades-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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 2023-05-17 13:10:02 -.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\.0\-23\-armmp$|^linux-image-5\.10\.0\-23$|^.*-modules-5\.10\.0\-23\-armmp$|^.*-modules-5\.10\.0\-23$|^linux-headers-5\.10\.0\-23\-armmp$|^linux-headers-5\.10\.0\-23$) regexp to find running kernel packages -{'old-unused-dependency', 'linux-image-4.05.0-1021-kvm', '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 +dpkg is configured not to cause conffile prompts +No packages found that can be upgraded unattended and no pending auto-removals +The list of kept packages can't be calculated in dry-run mode. . ---------------------------------------------------------------------- -Ran 3 tests in 59.116s +Ran 1 test in 0.161s OK -Running ./test_remove_unused.py with python3-coverage +Running ./test_untrusted.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-2.9.1+nmu3/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-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 mode='w' encoding='utf-8'> - pkg_install_success = upgrade_in_minimal_steps( -ResourceWarning: Enable tracemalloc to get the object allocation traceback -/build/unattended-upgrades-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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 2023-05-17 13:10:31 -.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\.0\-23\-armmp$|^linux-image-5\.10\.0\-23$|^.*-modules-5\.10\.0\-23\-armmp$|^.*-modules-5\.10\.0\-23$|^linux-headers-5\.10\.0\-23\-armmp$|^linux-headers-5\.10\.0\-23$) regexp to find running kernel packages -Checking: test-package ([]) -pkgs that look like they should be upgraded: test-package +Checking: test-package ([]) +sanity check failed for: {'test-package=2.0'} : pkg test-package is not from a trusted origin +falling back to adjusting test-package's dependencies +sanity check failed for: {'test-package=2.0'} : pkg test-package is not from a trusted origin +pkgs that look like they should be upgraded: Fetched 0 B in 0s (0 B/s) fetch.run() result: 0 - -check_conffile_prompt(/build/unattended-upgrades-2.9.1+nmu3/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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 mode='w' encoding='utf-8'> - pkg_install_success = upgrade_in_minimal_steps( -ResourceWarning: Enable tracemalloc to get the object allocation traceback -/build/unattended-upgrades-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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 2023-05-17 13:10:59 -.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\.0\-23\-armmp$|^linux-image-5\.10\.0\-23$|^.*-modules-5\.10\.0\-23\-armmp$|^.*-modules-5\.10\.0\-23$|^linux-headers-5\.10\.0\-23\-armmp$|^linux-headers-5\.10\.0\-23$) 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 -. ----------------------------------------------------------------------- -Ran 3 tests in 55.353s - -OK -Running ./test_clean.py with python3 -. ----------------------------------------------------------------------- -Ran 1 test in 0.018s - -OK -Running ./test_clean.py with python3-coverage +dpkg is configured not to cause conffile prompts +No packages found that can be upgraded unattended and no pending auto-removals +The list of kept packages can't be calculated in dry-run mode. . ---------------------------------------------------------------------- -Ran 1 test in 0.018s +Ran 1 test in 0.134s 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 0xb5913690>'} : 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 0xb5913ff0>', '<__main__.MockCandidate object at 0xb5913eb0>'} : pkg not-whitelisted is blacklisted or is not whitelisted +Running ./test_log_install_progress.py with python3 . ---------------------------------------------------------------------- -Ran 10 tests in 0.064s +Ran 1 test in 0.013s 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 0xb56912d0>'} : 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 0xb5691b30>', '<__main__.MockCandidate object at 0xb5691a10>'} : pkg not-whitelisted is blacklisted or is not whitelisted +Running ./test_log_install_progress.py with python3-coverage . ---------------------------------------------------------------------- -Ran 10 tests in 0.145s +Ran 1 test in 0.010s OK Running ./test_dev_release.py with python3 -Not running on this development release before 2023-05-17 +Not running on this development release before 2023-05-18 .Not running on the development release. .Running on the development release Starting unattended upgrades script @@ -1405,12 +1236,12 @@ Lock could not be acquired (another package manager running?) . ---------------------------------------------------------------------- -Ran 4 tests in 0.120s +Ran 4 tests in 0.032s OK Cache lock can not be acquired, exiting Running ./test_dev_release.py with python3-coverage -Not running on this development release before 2023-05-17 +Not running on this development release before 2023-05-18 .Not running on the development release. .Running on the development release Starting unattended upgrades script @@ -1421,118 +1252,74 @@ Lock could not be acquired (another package manager running?) . ---------------------------------------------------------------------- -Ran 4 tests in 0.130s +Ran 4 tests in 0.037s OK Cache lock can not be acquired, exiting -Running ./test_blacklisted_wrong_origin.py with python3 -DEBUG:root:Checking: postgresql ([]) +Running ./test_unavailable_candidate.py with python3 . ---------------------------------------------------------------------- -Ran 1 test in 0.037s +Ran 1 test in 0.011s OK -Running ./test_blacklisted_wrong_origin.py with python3-coverage -DEBUG:root:Checking: postgresql ([]) +Running ./test_unavailable_candidate.py with python3-coverage . ---------------------------------------------------------------------- -Ran 1 test in 0.093s +Ran 1 test in 0.023s OK -Running ./test_log_install_progress.py with python3 -. +Running ./test_mail.py with python3 +........................... ---------------------------------------------------------------------- -Ran 1 test in 0.025s +Ran 27 tests in 0.686s OK -Running ./test_log_install_progress.py with python3-coverage -. +Running ./test_mail.py with python3-coverage +........................... ---------------------------------------------------------------------- -Ran 1 test in 0.017s +Ran 27 tests in 0.889s OK Running ./test_pep484.py with python3 s ---------------------------------------------------------------------- -Ran 1 test in 0.008s +Ran 1 test in 0.000s OK (skipped=1) Running ./test_pep484.py with python3-coverage s ---------------------------------------------------------------------- -Ran 1 test in 0.002s +Ran 1 test in 0.001s OK (skipped=1) -Running ./test_substitute.py with python3 -.. ----------------------------------------------------------------------- -Ran 2 tests in 0.010s - -OK -Running ./test_substitute.py with python3-coverage -.. ----------------------------------------------------------------------- -Ran 2 tests in 0.009s - -OK -Running ./test_unavailable_candidate.py with python3 +Running ./test_logdir.py with python3 +./build/unattended-upgrades-2.9.1+nmu3/test/./test_logdir.py:44: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmpizpq3i8e/mylog/unattended-upgrades.log' mode='a' encoding='utf-8'> + logging.root.handlers = [] +ResourceWarning: Enable tracemalloc to get the object allocation traceback . ---------------------------------------------------------------------- -Ran 1 test in 0.051s +Ran 2 tests in 0.029s OK -Running ./test_unavailable_candidate.py with python3-coverage +Running ./test_logdir.py with python3-coverage +./build/unattended-upgrades-2.9.1+nmu3/test/test_logdir.py:44: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmphik9_228/mylog/unattended-upgrades.log' mode='a' encoding='utf-8'> + logging.root.handlers = [] +ResourceWarning: Enable tracemalloc to get the object allocation traceback . ---------------------------------------------------------------------- -Ran 1 test in 0.036s +Ran 2 tests in 0.022s OK Running ./test_on_battery.py with python3 . ---------------------------------------------------------------------- -Ran 1 test in 0.031s +Ran 1 test in 0.010s OK Running ./test_on_battery.py with python3-coverage . ---------------------------------------------------------------------- -Ran 1 test in 0.037s - -OK -Running ./test_pep8.py with python3 -. ----------------------------------------------------------------------- -Ran 1 test in 13.096s - -OK -Running ./test_pep8.py with python3-coverage -. ----------------------------------------------------------------------- -Ran 1 test in 15.396s - -OK -Running ./test_regression.py with python3 -. ----------------------------------------------------------------------- -Ran 1 test in 0.026s - -OK -Running ./test_regression.py with python3-coverage -. ----------------------------------------------------------------------- -Ran 1 test in 0.031s - -OK -Running ./test_pyflakes.py with python3 -. ----------------------------------------------------------------------- -Ran 1 test in 12.517s - -OK -Running ./test_pyflakes.py with python3-coverage -. ----------------------------------------------------------------------- -Ran 1 test in 11.572s +Ran 1 test in 0.013s OK Running ./test_conffile.py with python3 @@ -1605,7 +1392,7 @@ DEBUG:root:/etc/configuration-file2 not in package conffiles {'/etc/configuration-file'} .... ---------------------------------------------------------------------- -Ran 13 tests in 0.545s +Ran 13 tests in 0.182s OK Running ./test_conffile.py with python3-coverage @@ -1678,191 +1465,443 @@ DEBUG:root:/etc/configuration-file2 not in package conffiles {'/etc/configuration-file'} .... ---------------------------------------------------------------------- -Ran 13 tests in 0.604s +Ran 13 tests in 0.213s OK -Running ./test_mail.py with python3 -........................... +Running ./test_minimal_partitions.py with python3 +/build/unattended-upgrades-2.9.1+nmu3/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-2.9.1+nmu3/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 27 tests in 0.980s +Ran 1 test in 0.130s OK -Running ./test_mail.py with python3-coverage -........................... +Running ./test_minimal_partitions.py with python3-coverage +/build/unattended-upgrades-2.9.1+nmu3/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-2.9.1+nmu3/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 27 tests in 1.574s +Ran 1 test in 0.083s OK -Running ./test_untrusted.py with python3 -Starting unattended upgrades script -Allowed origins are: o=Ubuntu,a=lucid-security -Initial blacklist: -Initial whitelist (not strict): -APT::VersionedKernelPackages is not set -Checking: test-package ([]) -sanity check failed for: {'test-package=2.0'} : pkg test-package is not from a trusted origin -falling back to adjusting test-package's dependencies -sanity check failed for: {'test-package=2.0'} : pkg test-package is not from a trusted origin -pkgs that look like they should be upgraded: - Fetched 0 B in 0s (0 B/s) -fetch.run() result: 0 -dpkg is configured not to cause conffile prompts -No packages found that can be upgraded unattended and no pending auto-removals -The list of kept packages can't be calculated in dry-run mode. +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 0xf64236b0>'} : 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 0xf6423170>', '<__main__.MockCandidate object at 0xf6423fb0>'} : pkg not-whitelisted is blacklisted or is not whitelisted . ---------------------------------------------------------------------- -Ran 1 test in 0.341s +Ran 10 tests in 0.019s OK -Running ./test_untrusted.py with python3-coverage -Starting unattended upgrades script -Allowed origins are: o=Ubuntu,a=lucid-security -Initial blacklist: -Initial whitelist (not strict): -APT::VersionedKernelPackages is not set -Checking: test-package ([]) -sanity check failed for: {'test-package=2.0'} : pkg test-package is not from a trusted origin -falling back to adjusting test-package's dependencies -sanity check failed for: {'test-package=2.0'} : pkg test-package is not from a trusted origin -pkgs that look like they should be upgraded: - Fetched 0 B in 0s (0 B/s) -fetch.run() result: 0 -dpkg is configured not to cause conffile prompts -No packages found that can be upgraded unattended and no pending auto-removals -The list of kept packages can't be calculated in dry-run mode. +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 0xf6351130>'} : 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 0xf63519b0>', '<__main__.MockCandidate object at 0xf6351930>'} : pkg not-whitelisted is blacklisted or is not whitelisted . ---------------------------------------------------------------------- -Ran 1 test in 0.335s +Ran 10 tests in 0.044s OK -Running ./test_rewind.py with python3 -INFO:root:Allowed origins are: o=Ubuntu,a=lucid-security -INFO:root:Initial blacklist: ant-doc -INFO:root:Initial whitelist (not strict): -DEBUG:root:Marking not allowed with -32768 pin -DEBUG:root:Applying pinning: PkgFilePin(id=0, priority=-32768) -DEBUG:root:Applying pin -32768 to package_file: -DEBUG:root:Applying pinning: PkgPin(pkg='/^ant-doc/', priority=-32768) -DEBUG:root:APT::VersionedKernelPackages is not set -DEBUG:root:adjusting candidate version: test-package=2.0 -DEBUG:root:adjusting candidate version: test2-package=2.0 -DEBUG:root:falling back to adjusting test2-package's dependencies -DEBUG:root:falling back to adjusting z-package's dependencies -DEBUG:root:sanity check failed for: set() : no package is selected to be upgraded or installed +Running ./test_clean.py with python3 . ---------------------------------------------------------------------- -Ran 1 test in 0.708s +Ran 1 test in 0.004s OK -Running ./test_rewind.py with python3-coverage -INFO:root:Allowed origins are: o=Ubuntu,a=lucid-security -INFO:root:Initial blacklist: ant-doc -INFO:root:Initial whitelist (not strict): -DEBUG:root:Marking not allowed with -32768 pin -DEBUG:root:Applying pinning: PkgFilePin(id=0, priority=-32768) -DEBUG:root:Applying pin -32768 to package_file: -DEBUG:root:Applying pinning: PkgPin(pkg='/^ant-doc/', priority=-32768) -DEBUG:root:APT::VersionedKernelPackages is not set -DEBUG:root:adjusting candidate version: test-package=2.0 -DEBUG:root:adjusting candidate version: test2-package=2.0 -DEBUG:root:falling back to adjusting test2-package's dependencies -DEBUG:root:falling back to adjusting z-package's dependencies -DEBUG:root:sanity check failed for: set() : no package is selected to be upgraded or installed +Running ./test_clean.py with python3-coverage . ---------------------------------------------------------------------- -Ran 1 test in 0.966s +Ran 1 test in 0.006s 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. +Running ./test_motd.py with python3 . ---------------------------------------------------------------------- -Ran 7 tests in 0.068s +Ran 1 test in 0.005s 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. +Running ./test_motd.py with python3-coverage . ---------------------------------------------------------------------- -Ran 7 tests in 0.170s +Ran 1 test in 0.005s OK -Running ./test_minimal_partitions.py with python3 -/build/unattended-upgrades-2.9.1+nmu3/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-2.9.1+nmu3/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 +Running ./test_patch_days.py with python3 +... +---------------------------------------------------------------------- +Ran 3 tests in 0.017s + +OK +Running ./test_patch_days.py with python3-coverage +... +---------------------------------------------------------------------- +Ran 3 tests in 0.021s + +OK +Running ./test_substitute.py with python3 +.. +---------------------------------------------------------------------- +Ran 2 tests in 0.002s + +OK +Running ./test_substitute.py with python3-coverage +.. +---------------------------------------------------------------------- +Ran 2 tests in 0.005s + +OK +Running ./test_blacklisted_wrong_origin.py with python3 +DEBUG:root:Checking: postgresql ([]) . ---------------------------------------------------------------------- -Ran 1 test in 0.373s +Ran 1 test in 0.020s OK -Running ./test_minimal_partitions.py with python3-coverage -/build/unattended-upgrades-2.9.1+nmu3/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-2.9.1+nmu3/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 +Running ./test_blacklisted_wrong_origin.py with python3-coverage +DEBUG:root:Checking: postgresql ([]) . ---------------------------------------------------------------------- -Ran 1 test in 0.306s +Ran 1 test in 0.030s OK -Running ./test_patch_days.py with python3 -... +Running ./test_regression.py with python3 +. ---------------------------------------------------------------------- -Ran 3 tests in 0.053s +Ran 1 test in 0.017s OK -Running ./test_patch_days.py with python3-coverage -... +Running ./test_regression.py with python3-coverage +. ---------------------------------------------------------------------- -Ran 3 tests in 0.037s +Ran 1 test in 0.021s OK -Running ./test_motd.py with python3 +Running ./test_pep8.py with python3 . ---------------------------------------------------------------------- -Ran 1 test in 0.017s +Ran 1 test in 7.280s OK -Running ./test_motd.py with python3-coverage +Running ./test_pep8.py with python3-coverage . ---------------------------------------------------------------------- -Ran 1 test in 0.017s +Ran 1 test in 7.099s OK -Running ./test_logdir.py with python3 -./build/unattended-upgrades-2.9.1+nmu3/test/./test_logdir.py:44: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmpsdi8ri23/mylog/unattended-upgrades.log' mode='a' encoding='utf-8'> - logging.root.handlers = [] +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-2.9.1+nmu3/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-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 mode='w' encoding='utf-8'> + pkg_install_success = upgrade_in_minimal_steps( +ResourceWarning: Enable tracemalloc to get the object allocation traceback +/build/unattended-upgrades-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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 2023-05-18 15:20:38 +.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\.0\-23\-arm64$|^linux-image-5\.10\.0\-23$|^.*-modules-5\.10\.0\-23\-arm64$|^.*-modules-5\.10\.0\-23$|^linux-headers-5\.10\.0\-23\-arm64$|^linux-headers-5\.10\.0\-23$) 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-2.9.1+nmu3/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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 mode='w' encoding='utf-8'> + pkg_install_success = upgrade_in_minimal_steps( +ResourceWarning: Enable tracemalloc to get the object allocation traceback +/build/unattended-upgrades-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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 2023-05-18 15:20:48 +.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\.0\-23\-arm64$|^linux-image-5\.10\.0\-23$|^.*-modules-5\.10\.0\-23\-arm64$|^.*-modules-5\.10\.0\-23$|^linux-headers-5\.10\.0\-23\-arm64$|^linux-headers-5\.10\.0\-23$) regexp to find running kernel packages +{'old-unused-dependency', 'linux-image-4.05.0-1021-kvm', '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 . ---------------------------------------------------------------------- -Ran 2 tests in 0.054s +Ran 3 tests in 17.985s OK -Running ./test_logdir.py with python3-coverage -./build/unattended-upgrades-2.9.1+nmu3/test/test_logdir.py:44: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmpgb2mhfco/mylog/unattended-upgrades.log' mode='a' encoding='utf-8'> - logging.root.handlers = [] +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-2.9.1+nmu3/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-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 mode='w' encoding='utf-8'> + pkg_install_success = upgrade_in_minimal_steps( +ResourceWarning: Enable tracemalloc to get the object allocation traceback +/build/unattended-upgrades-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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 2023-05-18 15:20:57 +.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\.0\-23\-arm64$|^linux-image-5\.10\.0\-23$|^.*-modules-5\.10\.0\-23\-arm64$|^.*-modules-5\.10\.0\-23$|^linux-headers-5\.10\.0\-23\-arm64$|^linux-headers-5\.10\.0\-23$) 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-2.9.1+nmu3/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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 mode='w' encoding='utf-8'> + pkg_install_success = upgrade_in_minimal_steps( +ResourceWarning: Enable tracemalloc to get the object allocation traceback +/build/unattended-upgrades-2.9.1+nmu3/test/unattended_upgrade.py:1538: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=10 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-2.9.1+nmu3/test/unattended_upgrade.py:1883: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 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 2023-05-18 15:21:09 +.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\.0\-23\-arm64$|^linux-image-5\.10\.0\-23$|^.*-modules-5\.10\.0\-23\-arm64$|^.*-modules-5\.10\.0\-23$|^linux-headers-5\.10\.0\-23\-arm64$|^linux-headers-5\.10\.0\-23$) 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 2 tests in 0.040s +Ran 3 tests in 19.713s OK make[2]: Leaving directory '/build/unattended-upgrades-2.9.1+nmu3/test' @@ -1913,42 +1952,42 @@ creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/apport/package-hooks copying debian/source_unattended-upgrades.py -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/../usr/share/apport/package-hooks/ creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/sk -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/sk/LC_MESSAGES -copying build/mo/sk/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/sk/LC_MESSAGES -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/nl -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/nl/LC_MESSAGES -copying build/mo/nl/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/nl/LC_MESSAGES -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/pt -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/pt/LC_MESSAGES -copying build/mo/pt/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/pt/LC_MESSAGES creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/pt_BR creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/pt_BR/LC_MESSAGES copying build/mo/pt_BR/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/pt_BR/LC_MESSAGES -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/eu -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/eu/LC_MESSAGES -copying build/mo/eu/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/eu/LC_MESSAGES +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/nl +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/nl/LC_MESSAGES +copying build/mo/nl/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/nl/LC_MESSAGES creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/da creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/da/LC_MESSAGES copying build/mo/da/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/da/LC_MESSAGES -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/es -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/es/LC_MESSAGES -copying build/mo/es/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/es/LC_MESSAGES -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/fr -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/fr/LC_MESSAGES -copying build/mo/fr/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/fr/LC_MESSAGES +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/sk +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/sk/LC_MESSAGES +copying build/mo/sk/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/sk/LC_MESSAGES creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/ja creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/ja/LC_MESSAGES copying build/mo/ja/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/ja/LC_MESSAGES creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/de creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/de/LC_MESSAGES copying build/mo/de/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/de/LC_MESSAGES -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/ru -creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/ru/LC_MESSAGES -copying build/mo/ru/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/ru/LC_MESSAGES creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/gl creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/gl/LC_MESSAGES copying build/mo/gl/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/gl/LC_MESSAGES +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/es +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/es/LC_MESSAGES +copying build/mo/es/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/es/LC_MESSAGES +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/fr +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/fr/LC_MESSAGES +copying build/mo/fr/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/fr/LC_MESSAGES +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/pt +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/pt/LC_MESSAGES +copying build/mo/pt/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/pt/LC_MESSAGES +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/eu +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/eu/LC_MESSAGES +copying build/mo/eu/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/eu/LC_MESSAGES +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/ru +creating /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/ru/LC_MESSAGES +copying build/mo/ru/LC_MESSAGES/unattended-upgrades.mo -> /build/unattended-upgrades-2.9.1+nmu3/debian/unattended-upgrades/usr/share/locale/ru/LC_MESSAGES running install_egg_info running egg_info creating unattended_upgrades.egg-info @@ -1990,18 +2029,18 @@ dh_link dh_link: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip_nondeterminism - Normalized debian/unattended-upgrades/usr/share/locale/da/LC_MESSAGES/unattended-upgrades.mo + Normalized debian/unattended-upgrades/usr/share/locale/pt/LC_MESSAGES/unattended-upgrades.mo + Normalized debian/unattended-upgrades/usr/share/locale/ru/LC_MESSAGES/unattended-upgrades.mo + Normalized debian/unattended-upgrades/usr/share/locale/eu/LC_MESSAGES/unattended-upgrades.mo Normalized debian/unattended-upgrades/usr/share/locale/pt_BR/LC_MESSAGES/unattended-upgrades.mo + Normalized debian/unattended-upgrades/usr/share/locale/da/LC_MESSAGES/unattended-upgrades.mo Normalized debian/unattended-upgrades/usr/share/locale/ja/LC_MESSAGES/unattended-upgrades.mo - Normalized debian/unattended-upgrades/usr/share/locale/ru/LC_MESSAGES/unattended-upgrades.mo + Normalized debian/unattended-upgrades/usr/share/locale/gl/LC_MESSAGES/unattended-upgrades.mo + Normalized debian/unattended-upgrades/usr/share/locale/de/LC_MESSAGES/unattended-upgrades.mo Normalized debian/unattended-upgrades/usr/share/locale/es/LC_MESSAGES/unattended-upgrades.mo - Normalized debian/unattended-upgrades/usr/share/locale/sk/LC_MESSAGES/unattended-upgrades.mo - Normalized debian/unattended-upgrades/usr/share/locale/eu/LC_MESSAGES/unattended-upgrades.mo Normalized debian/unattended-upgrades/usr/share/locale/nl/LC_MESSAGES/unattended-upgrades.mo - Normalized debian/unattended-upgrades/usr/share/locale/de/LC_MESSAGES/unattended-upgrades.mo + Normalized debian/unattended-upgrades/usr/share/locale/sk/LC_MESSAGES/unattended-upgrades.mo Normalized debian/unattended-upgrades/usr/share/locale/fr/LC_MESSAGES/unattended-upgrades.mo - Normalized debian/unattended-upgrades/usr/share/locale/pt/LC_MESSAGES/unattended-upgrades.mo - Normalized debian/unattended-upgrades/usr/share/locale/gl/LC_MESSAGES/unattended-upgrades.mo dh_compress dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms @@ -2022,12 +2061,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/17619/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/17619/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/17862 and its subdirectories -I: Current time: Wed May 17 13:15:35 -12 2023 -I: pbuilder-time-stamp: 1684372535 +I: removing directory /srv/workspace/pbuilder/17619 and its subdirectories +I: Current time: Thu May 18 15:21:43 +14 2023 +I: pbuilder-time-stamp: 1684372903