0s autopkgtest [13:36:01]: starting date and time: 2025-12-04 13:36:01+0000 0s autopkgtest [13:36:01]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [13:36:01]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.oz_0xmhy/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults --apt-upgrade debian-goodies --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.9-2 -- lxd -r lxd-armhf-10.145.243.239 lxd-armhf-10.145.243.239:autopkgtest/ubuntu/resolute/armhf 22s autopkgtest [13:36:23]: testbed dpkg architecture: armhf 24s autopkgtest [13:36:25]: testbed apt version: 3.1.12 27s autopkgtest [13:36:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup 29s autopkgtest [13:36:30]: testbed release detected to be: None 37s autopkgtest [13:36:38]: updating testbed package index (apt update) 39s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 40s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 40s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 40s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 40s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [935 kB] 40s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [23.1 kB] 40s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [156 kB] 40s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [202 kB] 40s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [697 kB] 41s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [6552 B] 41s Get:11 http://ftpmaster.internal/ubuntu resolute/main Sources [1414 kB] 41s Get:12 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.4 MB] 46s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1366 kB] 47s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [14.9 MB] 52s Fetched 41.5 MB in 13s (3264 kB/s) 53s Reading package lists... 59s autopkgtest [13:37:00]: upgrading testbed (apt dist-upgrade and autopurge) 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 62s Calculating upgrade... 62s The following packages will be upgraded: 62s libpython3-stdlib python3 python3-gdbm python3-minimal 64s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 64s Need to get 72.9 kB of archives. 64s After this operation, 2048 B of additional disk space will be used. 64s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.9-2 [28.1 kB] 64s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.9-2 [23.0 kB] 64s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.9-2 [10.8 kB] 64s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-gdbm armhf 3.13.9-2 [11.0 kB] 64s Fetched 72.9 kB in 1s (51.2 kB/s) 64s (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 ... 65917 files and directories currently installed.) 64s Preparing to unpack .../python3-minimal_3.13.9-2_armhf.deb ... 64s Unpacking python3-minimal (3.13.9-2) over (3.13.7-1) ... 64s Setting up python3-minimal (3.13.9-2) ... 65s (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 ... 65917 files and directories currently installed.) 65s Preparing to unpack .../python3_3.13.9-2_armhf.deb ... 65s Unpacking python3 (3.13.9-2) over (3.13.7-1) ... 65s Preparing to unpack .../libpython3-stdlib_3.13.9-2_armhf.deb ... 65s Unpacking libpython3-stdlib:armhf (3.13.9-2) over (3.13.7-1) ... 65s Preparing to unpack .../python3-gdbm_3.13.9-2_armhf.deb ... 65s Unpacking python3-gdbm (3.13.9-2) over (3.13.9-1) ... 65s Setting up python3-gdbm (3.13.9-2) ... 65s Setting up libpython3-stdlib:armhf (3.13.9-2) ... 65s Setting up python3 (3.13.9-2) ... 65s Processing triggers for man-db (2.13.1-1) ... 68s Reading package lists... 69s Building dependency tree... 69s Reading state information... 69s Solving dependencies... 70s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 72s autopkgtest [13:37:13]: rebooting testbed after setup commands that affected boot 115s autopkgtest [13:37:56]: testbed running kernel: Linux 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:00:09 UTC 2 141s autopkgtest [13:38:22]: @@@@@@@@@@@@@@@@@@@@ apt-source debian-goodies 152s Get:1 http://ftpmaster.internal/ubuntu resolute/main debian-goodies 0.88.2ubuntu1 (dsc) [1839 B] 152s Get:2 http://ftpmaster.internal/ubuntu resolute/main debian-goodies 0.88.2ubuntu1 (tar) [84.7 kB] 152s gpgv: Signature made Fri Dec 20 20:29:08 2024 UTC 152s gpgv: using RSA key 5C7ABEA20F8630459CC8C8B5E27F2CF8458C2FA4 152s gpgv: Can't check signature: No public key 152s dpkg-source: warning: cannot verify inline signature for ./debian-goodies_0.88.2ubuntu1.dsc: no acceptable signature found 153s autopkgtest [13:38:34]: testing package debian-goodies version 0.88.2ubuntu1 155s autopkgtest [13:38:36]: build not needed 157s autopkgtest [13:38:38]: test test-checkrestart: preparing testbed 159s Reading package lists... 160s Building dependency tree... 160s Reading state information... 160s Solving dependencies... 161s The following NEW packages will be installed: 161s debian-goodies 162s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 162s Need to get 81.1 kB of archives. 162s After this operation, 255 kB of additional disk space will be used. 162s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf debian-goodies all 0.88.2ubuntu1 [81.1 kB] 162s Fetched 81.1 kB in 0s (270 kB/s) 162s Selecting previously unselected package debian-goodies. 162s (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 ... 65917 files and directories currently installed.) 162s Preparing to unpack .../debian-goodies_0.88.2ubuntu1_all.deb ... 162s Unpacking debian-goodies (0.88.2ubuntu1) ... 162s Setting up debian-goodies (0.88.2ubuntu1) ... 162s Processing triggers for man-db (2.13.1-1) ... 172s autopkgtest [13:38:53]: test test-checkrestart: [----------------------- 174s * Starting /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart 174s ** (Info on environment follows) 174s SHELL=/bin/bash 174s AUTOPKGTEST_TESTBED_ARCH=armhf 174s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 174s PID=893 174s AUTOPKGTEST_NORMAL_USER=ubuntu 174s ME=/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart 174s AUTOPKGTEST_TMP=/tmp/autopkgtest.Y4xyAm/autopkgtest_tmp 174s PWD=/tmp/autopkgtest.Y4xyAm/build.u8l/src 174s ADT_TEST_TRIGGERS=python3-defaults/3.13.9-2 174s XDG_SESSION_TYPE=unspecified 174s HOME=/root 174s LANG=C.UTF-8 174s ADTTMP=/tmp/autopkgtest.Y4xyAm/autopkgtest_tmp 174s https_proxy=http://squid.internal:3128 174s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.Y4xyAm/test-checkrestart-artifacts 174s XDG_SESSION_CLASS=background 174s USER=root 174s AUTOPKGTEST_TEST_ARCH=armhf 174s DEB_BUILD_OPTIONS=parallel=8 174s SHLVL=2 174s ADT_NORMAL_USER=ubuntu 174s XDG_SESSION_ID=c3 174s http_proxy=http://squid.internal:3128 174s XDG_RUNTIME_DIR=/run/user/0 174s ADT_ARTIFACTS=/tmp/autopkgtest.Y4xyAm/test-checkrestart-artifacts 174s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 174s DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus 174s MAIL=/var/mail/root 174s DEBIAN_FRONTEND=noninteractive 174s OLDPWD=/root 174s _=/usr/bin/env 174s Unfortunately, testing has shown that sometimes the debian salsa.debian.org infrastructure does 174s actually have processes using deleted files. And this also affects testing autopkgtests inside a schroot. 174s 174s So we can't simply run checkrestart and expect to find 174s nothing. 174s 174s So we have to mock the results of lsof to only report info on the current process, and ignore 174s everything else that happens to be running. 174s #!/bin/sh 174s exec /usr/bin/lsof -p 893 "$@" 174s 174s Checking it works: 174s /usr/local/sbin/lsof 174s COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME 174s test-chec 893 root cwd DIR 0,71 732 76507 /tmp/autopkgtest.Y4xyAm/build.u8l/src 174s test-chec 893 root rtd DIR 0,71 122 258 / 174s test-chec 893 root txt REG 0,71 936948 1810 /usr/bin/bash 174s test-chec 893 root mem REG 0,39 1810 /usr/bin/bash (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5250 /usr/lib/locale/C.utf8/LC_CTYPE (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5261 /usr/lib/locale/locale-archive (path dev=0,71) 174s test-chec 893 root mem REG 0,39 3197 /usr/lib/arm-linux-gnueabihf/libc.so.6 (path dev=0,71) 174s test-chec 893 root mem REG 0,39 3554 /usr/lib/arm-linux-gnueabihf/libtinfo.so.6.5 (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5257 /usr/lib/locale/C.utf8/LC_NUMERIC (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5260 /usr/lib/locale/C.utf8/LC_TIME (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5249 /usr/lib/locale/C.utf8/LC_COLLATE (path dev=0,71) 174s test-chec 893 root mem REG 0,39 3060 /usr/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3 (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5255 /usr/lib/locale/C.utf8/LC_MONETARY (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5254 /usr/lib/locale/C.utf8/LC_MESSAGES/SYS_LC_MESSAGES (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5258 /usr/lib/locale/C.utf8/LC_PAPER (path dev=0,71) 174s test-chec 893 root mem REG 0,39 3032 /usr/lib/arm-linux-gnueabihf/gconv/gconv-modules.cache (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5256 /usr/lib/locale/C.utf8/LC_NAME (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5248 /usr/lib/locale/C.utf8/LC_ADDRESS (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5259 /usr/lib/locale/C.utf8/LC_TELEPHONE (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5252 /usr/lib/locale/C.utf8/LC_MEASUREMENT (path dev=0,71) 174s test-chec 893 root mem REG 0,39 5251 /usr/lib/locale/C.utf8/LC_IDENTIFICATION (path dev=0,71) 174s test-chec 893 root 0r FIFO 0,14 0t0 39601631 pipe 174s test-chec 893 root 1w FIFO 0,71 0t0 76697 /tmp/tmp.DOvfVYKwBw/out 174s test-chec 893 root 2w FIFO 0,71 0t0 76696 /tmp/tmp.DOvfVYKwBw/err 174s test-chec 893 root 255r REG 0,71 6729 76537 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart 174s ** Starting test: checkrestart 174s This first test assumes that there is nothing using deleted files 174s If this assumption is wrong, likely all following tests will fail too 174s so if this test fails, either something is very wrong with checkrestart 174s or the tests (or system they run on) may be at fault. 174s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 174s *** PASS 174s ** Testing: 'checkrestart ' 174s *** Running: 'checkrestart ' 174s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 174s 174s The following are using deleted files but there is no suggested way to restart them: 174s Unpackaged: test-checkrestart: 174s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 174s 174s *** Looking for: '1 non-ignored ' 174s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 174s ** PASS: 'checkrestart ' (exit: 1) 174s 174s ** Testing: 'checkrestart --machine' 174s *** Running: 'checkrestart --machine' 174s RESTART_NEEDED: 1 174s OTHER Unpackaged: test-checkrestart 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 174s *** Looking for: 'RESTART_NEEDED: 1' 174s RESTART_NEEDED: 1 174s ** PASS: 'checkrestart --machine' (exit: 1) 174s 174s ** Testing: 'checkrestart --terse' 174s *** Running: 'checkrestart --terse' 174s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 174s *** Looking for: '1 non-ignored ' 174s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 174s ** PASS: 'checkrestart --terse' (exit: 1) 174s 174s ** Testing: 'checkrestart --show-files' 174s *** Running: 'checkrestart --show-files' 174s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 174s 174s The following are using deleted files but there is no suggested way to restart them: 174s Unpackaged: test-checkrestart: 174s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') is using the following deleted files: 174s /usr/lib/_checkrestart_test 174s 174s 174s *** Looking for: '/usr/lib/_checkrestart_test' 174s /usr/lib/_checkrestart_test 174s ** PASS: 'checkrestart --show-files' (exit: 1) 174s 174s ** Testing: 'checkrestart --machine --show-files' 174s *** Running: 'checkrestart --machine --show-files' 175s RESTART_NEEDED: 1 175s OTHER Unpackaged: test-checkrestart 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 175s file /usr/lib/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 175s *** Looking for: '^file /usr/lib/_checkrestart_test [0-9]+ /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (/usr)?/bin/bash \['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'\] Script$' 175s file /usr/lib/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 175s ** PASS: 'checkrestart --machine --show-files' (exit: 1) 175s 175s ** Testing: 'checkrestart --terse --show-files' 175s *** Running: 'checkrestart --terse --show-files' 175s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 175s *** Looking for: '1 non-ignored' 175s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 175s ** PASS: 'checkrestart --terse --show-files' (exit: 1) 175s 175s ** Testing: 'checkrestart --show-files -t' 175s *** Running: 'checkrestart --show-files -t' 175s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 175s *** Looking for: '1 non-ignored' 175s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 175s ** PASS: 'checkrestart --show-files -t' (exit: 1) 175s 175s ** Testing: 'checkrestart --terse --all' 175s *** Running: 'checkrestart --terse --all' 175s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 175s *** Looking for: '1 non-ignored' 175s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 175s ** PASS: 'checkrestart --terse --all' (exit: 1) 175s 175s ** Testing: 'checkrestart --terse --all -v' 175s *** Running: 'checkrestart --terse --all -v' 175s (Found 1 process(es) using deleted files) 175s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 175s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 175s *** Looking for: 'not part of any package' 175s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 175s ** PASS: 'checkrestart --terse --all -v' (exit: 1) 175s 175s ** Testing: 'checkrestart --terse -v' 175s *** Running: 'checkrestart --terse -v' 175s (Found 1 process(es) using deleted files) 175s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 175s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 175s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 175s *** Looking for: '/tmp/_checkrestart_test' 175s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 175s ** PASS: 'checkrestart --terse -v' (exit: 1) 175s 175s ** Testing: 'checkrestart -i Unpackaged -d' 175s *** Running: 'checkrestart -i Unpackaged -d' 175s Default blocklist: ['local-exclude.conf', 'exclude.conf', 'local-suggestions.conf', 'suggestions.conf'] 175s Using default blocklist: /etc/checkrestart/exclude.conf 175s Using default blocklist: /etc/checkrestart/suggestions.conf 175s Reading blocklist file: /etc/checkrestart/exclude.conf 175s Adding exclusion: file: ^/(dev|run|home|tmp|var)/ 175s Adding exclusion: file: ^/(memfd:|\[aio\]|SYSV) 175s Adding exclusion: file: ^/proc/[0-9]+/fdinfo$ 175s Adding exclusion: file: ^/(drm|i915) 175s Reading blocklist file: /etc/checkrestart/suggestions.conf 175s Adding exclusion: dangerous-unit: ^gdm3?\.service$ 175s Adding exclusion: dangerous-unit: ^dbus\.service$ 175s Adding exclusion: dangerous-unit: ^systemd-logind\.service$ 175s Adding exclusion: dangerous-unit: ^console-getty\.service$ 175s Adding exclusion: dangerous-initscript: ^gdm$ 175s Adding exclusion: dangerous-initscript: ^dbus$ 175s Adding exclusion: suggested-initscript: \.sh$ 175s Adding exclusion: suggested-unit: ^console-getty\.service$ 175s Adding exclusion: suggested-unit: ^cryptdisks(-early)?\.service$ 175s Adding exclusion: suggested-unit: ^dbus-org\..+\.service$ 175s Adding exclusion: suggested-unit: ^debug-shell\.service$ 175s Adding exclusion: suggested-unit: ^emergency\.service$ 175s Adding exclusion: suggested-unit: ^fstrim\.service$ 175s Adding exclusion: suggested-unit: ^getty-static\.service$ 175s Adding exclusion: suggested-unit: ^hwclock\.service$ 175s Adding exclusion: suggested-unit: ^initrd-.+\.service$ 175s Adding exclusion: suggested-unit: ^kmod(-static-nodes)?\.service$ 175s Adding exclusion: suggested-unit: ^procps\.service$ 175s Adding exclusion: suggested-unit: ^quotaon\.service$ 175s Adding exclusion: suggested-unit: ^rc(|S|-local)\.service$ 175s Adding exclusion: suggested-unit: ^rescue\.service$ 175s Adding exclusion: suggested-unit: ^system-update-cleanup\.service$ 175s Adding exclusion: suggested-unit: ^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\.service$ 175s Adding exclusion: suggested-unit: ^systemd-ask-password.+\.service$ 175s Adding exclusion: suggested-unit: ^systemd-binfmt\.service$ 175s Adding exclusion: suggested-unit: ^systemd-bless-boot\.service$ 175s Adding exclusion: suggested-unit: ^systemd-boot-.+\.service$ 175s Adding exclusion: suggested-unit: ^systemd-fsck.*\.service$ 175s Adding exclusion: suggested-unit: ^systemd-hostnamed\.service$ 175s Adding exclusion: suggested-unit: ^systemd-initctl\.service$ 175s Adding exclusion: suggested-unit: ^systemd-journal-flush\.service$ 175s Adding exclusion: suggested-unit: ^systemd-kexec\.service$ 175s Adding exclusion: suggested-unit: ^systemd-machine-id-commit\.service$ 175s Adding exclusion: suggested-unit: ^systemd-modules-load\.service$ 175s Adding exclusion: suggested-unit: ^systemd-network-generator\.service$ 175s Adding exclusion: suggested-unit: ^systemd-networkd-wait-online\.service$ 175s Adding exclusion: suggested-unit: ^systemd-pstore\.service$ 175s Adding exclusion: suggested-unit: ^systemd-quotacheck\.service$ 175s Adding exclusion: suggested-unit: ^systemd-random-seed\.service$ 175s Adding exclusion: suggested-unit: ^systemd-remount-fs\.service$ 175s Adding exclusion: suggested-unit: ^systemd-rfkill\.service$ 175s Adding exclusion: suggested-unit: ^systemd-sysctl\.service$ 175s Adding exclusion: suggested-unit: ^systemd-sysusers\.service$ 175s Adding exclusion: suggested-unit: ^systemd-time-wait-sync\.service$ 175s Adding exclusion: suggested-unit: ^systemd-tmpfiles-.+$ 175s Adding exclusion: suggested-unit: ^systemd-update-.+$ 175s Adding exclusion: suggested-unit: ^systemd-user-sessions\.service$ 175s Adding exclusion: suggested-unit: ^systemd-volatile-root\.service$ 175s Adding exclusion: suggested-unit: ^x11-common\.service$ 175s Exclusions: defaultdict(, {'package:': [re.compile('Unpackaged')], 'file:': [re.compile('^/(dev|run|home|tmp|var)/'), re.compile('^/(memfd:|\\[aio\\]|SYSV)'), re.compile('^/proc/[0-9]+/fdinfo$'), re.compile('^/(drm|i915)')]}) 175s Excluded from suggestions: defaultdict(, {'dangerous-unit:': [re.compile('^gdm3?\\.service$'), re.compile('^dbus\\.service$'), re.compile('^systemd-logind\\.service$'), re.compile('^console-getty\\.service$')], 'dangerous-initscript:': [re.compile('^gdm$'), re.compile('^dbus$')], 'suggested-initscript:': [re.compile('\\.sh$')], 'suggested-unit:': [re.compile('^console-getty\\.service$'), re.compile('^cryptdisks(-early)?\\.service$'), re.compile('^dbus-org\\..+\\.service$'), re.compile('^debug-shell\\.service$'), re.compile('^emergency\\.service$'), re.compile('^fstrim\\.service$'), re.compile('^getty-static\\.service$'), re.compile('^hwclock\\.service$'), re.compile('^initrd-.+\\.service$'), re.compile('^kmod(-static-nodes)?\\.service$'), re.compile('^procps\\.service$'), re.compile('^quotaon\\.service$'), re.compile('^rc(|S|-local)\\.service$'), re.compile('^rescue\\.service$'), re.compile('^system-update-cleanup\\.service$'), re.compile('^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\\.service$'), re.compile('^systemd-ask-password.+\\.service$'), re.compile('^systemd-binfmt\\.service$'), re.compile('^systemd-bless-boot\\.service$'), re.compile('^systemd-boot-.+\\.service$'), re.compile('^systemd-fsck.*\\.service$'), re.compile('^systemd-hostnamed\\.service$'), re.compile('^systemd-initctl\\.service$'), re.compile('^systemd-journal-flush\\.service$'), re.compile('^systemd-kexec\\.service$'), re.compile('^systemd-machine-id-commit\\.service$'), re.compile('^systemd-modules-load\\.service$'), re.compile('^systemd-network-generator\\.service$'), re.compile('^systemd-networkd-wait-online\\.service$'), re.compile('^systemd-pstore\\.service$'), re.compile('^systemd-quotacheck\\.service$'), re.compile('^systemd-random-seed\\.service$'), re.compile('^systemd-remount-fs\\.service$'), re.compile('^systemd-rfkill\\.service$'), re.compile('^systemd-sysctl\\.service$'), re.compile('^systemd-sysusers\\.service$'), re.compile('^systemd-time-wait-sync\\.service$'), re.compile('^systemd-tmpfiles-.+$'), re.compile('^systemd-update-.+$'), re.compile('^systemd-user-sessions\\.service$'), re.compile('^systemd-volatile-root\\.service$'), re.compile('^x11-common\\.service$')]}) 175s Systemd: True 175s cgroups v2: False 175s Creating Process object for PID 893 175s lsof reported that PID 893 is using deleted file /tmp/_checkrestart_test; lsof data was: 'f3\x00k0\x00n/tmp/_checkrestart_test (deleted)' 175s lsof reported that PID 893 is using deleted file /usr/lib/_checkrestart_test; lsof data was: 'f4\x00k0\x00n/usr/lib/_checkrestart_test (deleted)' 175s (Found 1 process(es) using deleted files) 175s program /usr/bin/bash (PID 893) is a script 175s Set cmdline to: ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] for PID:893 175s Found option '-ue' to /usr/bin/bash 175s Found option '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart' to /usr/bin/bash 175s PID 893 (a /usr/bin/bash script) treated as if named: /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart 175s Exclusion found for file: /tmp/_checkrestart_test using: re.compile('^/(dev|run|home|tmp|var)/') 175s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 175s Looking for packages providing: dict_keys(['/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart']) 175s Running: ['dpkg-query', '--search', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] 175s dpkg-query: stderr: 'dpkg-query: no path found matching pattern /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart' 175s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 175s Exclusion found for package: Unpackaged: test-checkrestart using: re.compile('Unpackaged') 175s Ignoring all (1) programs from package: Unpackaged: test-checkrestart 175s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s *** Looking for: '0 non-ignored' 176s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s ** PASS: 'checkrestart -i Unpackaged -d' (exit: 0) 176s 176s ** Testing: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list' 176s *** Running: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list' 176s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s *** Looking for: '0 non-ignored ' 176s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s ** PASS: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list' (exit: 0) 176s 176s ** Testing: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list --verbose' 176s *** Running: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list --verbose' 176s (Found 1 process(es) using deleted files) 176s Ignoring deleted file /usr/lib/_checkrestart_test: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 176s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 176s Ignoring all files from: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 176s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s *** Looking for: 'Ignoring deleted file' 176s Ignoring deleted file /usr/lib/_checkrestart_test: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 176s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 176s ** PASS: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list --verbose' (exit: 0) 176s 176s ** Testing: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list --verbose --machine' 176s *** Running: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list --verbose --machine' 176s PROCESSES_ALL: 1 176s ignored_file /usr/lib/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 176s ignored_file /tmp/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 176s ignored_all_files 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 176s RESTART_NEEDED: 0 176s *** Looking for: 'ignored_file' 176s ignored_file /usr/lib/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 176s ignored_file /tmp/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 176s ** PASS: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list --verbose --machine' (exit: 0) 176s 176s ** Testing: 'checkrestart -p' 176s *** Running: 'checkrestart -p' 176s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s *** Looking for: '0 non-ignored' 176s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s ** PASS: 'checkrestart -p' (exit: 0) 176s 176s ** Testing: 'checkrestart -pv' 176s *** Running: 'checkrestart -pv' 176s (Found 1 process(es) using deleted files) 176s Ignoring program /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 176s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s *** Looking for: 'Ignoring program' 176s Ignoring program /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 176s ** PASS: 'checkrestart -pv' (exit: 0) 176s 176s ** Testing: 'checkrestart -pv' 176s *** Running: 'checkrestart -pv' 176s (Found 1 process(es) using deleted files) 176s Ignoring program /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 176s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s *** Looking for: '0 non-ignored' 176s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s ** PASS: 'checkrestart -pv' (exit: 0) 176s 176s ** Testing: 'checkrestart --all' 176s *** Running: 'checkrestart --all' 176s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s 176s The following are using deleted files but there is no suggested way to restart them: 176s Unpackaged: test-checkrestart: 176s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 176s 176s *** Looking for: '1 non-ignored ' 176s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 176s ** PASS: 'checkrestart --all' (exit: 1) 176s 176s ** Testing: 'checkrestart --all -f' 176s *** Running: 'checkrestart --all -f' 177s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 177s 177s The following are using deleted files but there is no suggested way to restart them: 177s Unpackaged: test-checkrestart: 177s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') is using the following deleted files: 177s /tmp/_checkrestart_test 177s /usr/lib/_checkrestart_test 177s 177s 177s *** Looking for: '/tmp/_checkrestart_test' 177s /tmp/_checkrestart_test 177s ** PASS: 'checkrestart --all -f' (exit: 1) 177s 177s ** Testing: 'checkrestart --all --machine' 177s *** Running: 'checkrestart --all --machine' 177s RESTART_NEEDED: 1 177s OTHER Unpackaged: test-checkrestart 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 177s *** Looking for: '^OTHER Unpackaged: test-checkrestart [0-9]+ /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (/usr)?/bin/bash \['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'\] Script$' 177s OTHER Unpackaged: test-checkrestart 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 177s ** PASS: 'checkrestart --all --machine' (exit: 1) 177s 177s ** Testing: 'checkrestart --all --verbose --machine' 177s *** Running: 'checkrestart --all --verbose --machine' 177s PROCESSES_ALL: 1 177s unpackaged Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 177s RESTART_NEEDED: 1 177s OTHER Unpackaged: test-checkrestart 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 177s file /tmp/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 177s file /usr/lib/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 177s *** Looking for: 'PROCESSES_ALL: 1' 177s PROCESSES_ALL: 1 177s ** PASS: 'checkrestart --all --verbose --machine' (exit: 1) 177s 177s ** Testing: 'checkrestart --all --machine -f' 177s *** Running: 'checkrestart --all --machine -f' 177s RESTART_NEEDED: 1 177s OTHER Unpackaged: test-checkrestart 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 177s file /tmp/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 177s file /usr/lib/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 177s *** Looking for: '^file /tmp/_checkrestart_test [0-9]+ /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (/usr)?/bin/bash \['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'\] Script$' 177s file /tmp/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 177s ** PASS: 'checkrestart --all --machine -f' (exit: 1) 177s 177s ** Testing: 'checkrestart -a -x package:^Unpackaged -d -x unit: -x suggested:. -x initscript:.' 177s *** Running: 'checkrestart -a -x package:^Unpackaged -d -x unit: -x suggested:. -x initscript:.' 177s Option -x; arg: unit: 177s Adding exclusion: unit: 177s Option -x; arg: suggested:. 177s Adding exclusion: file: suggested:. 177s Option -x; arg: initscript:. 177s Adding exclusion: file: initscript:. 177s Default blocklist: ['local-suggestions.conf', 'suggestions.conf'] 177s Using default blocklist: /etc/checkrestart/suggestions.conf 177s Reading blocklist file: /etc/checkrestart/suggestions.conf 177s Adding exclusion: dangerous-unit: ^gdm3?\.service$ 177s Adding exclusion: dangerous-unit: ^dbus\.service$ 177s Adding exclusion: dangerous-unit: ^systemd-logind\.service$ 177s Adding exclusion: dangerous-unit: ^console-getty\.service$ 177s Adding exclusion: dangerous-initscript: ^gdm$ 177s Adding exclusion: dangerous-initscript: ^dbus$ 177s Adding exclusion: suggested-initscript: \.sh$ 177s Adding exclusion: suggested-unit: ^console-getty\.service$ 177s Adding exclusion: suggested-unit: ^cryptdisks(-early)?\.service$ 177s Adding exclusion: suggested-unit: ^dbus-org\..+\.service$ 177s Adding exclusion: suggested-unit: ^debug-shell\.service$ 177s Adding exclusion: suggested-unit: ^emergency\.service$ 177s Adding exclusion: suggested-unit: ^fstrim\.service$ 177s Adding exclusion: suggested-unit: ^getty-static\.service$ 177s Adding exclusion: suggested-unit: ^hwclock\.service$ 177s Adding exclusion: suggested-unit: ^initrd-.+\.service$ 177s Adding exclusion: suggested-unit: ^kmod(-static-nodes)?\.service$ 177s Adding exclusion: suggested-unit: ^procps\.service$ 177s Adding exclusion: suggested-unit: ^quotaon\.service$ 177s Adding exclusion: suggested-unit: ^rc(|S|-local)\.service$ 177s Adding exclusion: suggested-unit: ^rescue\.service$ 177s Adding exclusion: suggested-unit: ^system-update-cleanup\.service$ 177s Adding exclusion: suggested-unit: ^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\.service$ 177s Adding exclusion: suggested-unit: ^systemd-ask-password.+\.service$ 177s Adding exclusion: suggested-unit: ^systemd-binfmt\.service$ 177s Adding exclusion: suggested-unit: ^systemd-bless-boot\.service$ 177s Adding exclusion: suggested-unit: ^systemd-boot-.+\.service$ 177s Adding exclusion: suggested-unit: ^systemd-fsck.*\.service$ 177s Adding exclusion: suggested-unit: ^systemd-hostnamed\.service$ 177s Adding exclusion: suggested-unit: ^systemd-initctl\.service$ 177s Adding exclusion: suggested-unit: ^systemd-journal-flush\.service$ 177s Adding exclusion: suggested-unit: ^systemd-kexec\.service$ 177s Adding exclusion: suggested-unit: ^systemd-machine-id-commit\.service$ 177s Adding exclusion: suggested-unit: ^systemd-modules-load\.service$ 177s Adding exclusion: suggested-unit: ^systemd-network-generator\.service$ 177s Adding exclusion: suggested-unit: ^systemd-networkd-wait-online\.service$ 177s Adding exclusion: suggested-unit: ^systemd-pstore\.service$ 177s Adding exclusion: suggested-unit: ^systemd-quotacheck\.service$ 177s Adding exclusion: suggested-unit: ^systemd-random-seed\.service$ 177s Adding exclusion: suggested-unit: ^systemd-remount-fs\.service$ 177s Adding exclusion: suggested-unit: ^systemd-rfkill\.service$ 177s Adding exclusion: suggested-unit: ^systemd-sysctl\.service$ 177s Adding exclusion: suggested-unit: ^systemd-sysusers\.service$ 177s Adding exclusion: suggested-unit: ^systemd-time-wait-sync\.service$ 177s Adding exclusion: suggested-unit: ^systemd-tmpfiles-.+$ 177s Adding exclusion: suggested-unit: ^systemd-update-.+$ 177s Adding exclusion: suggested-unit: ^systemd-user-sessions\.service$ 177s Adding exclusion: suggested-unit: ^systemd-volatile-root\.service$ 177s Adding exclusion: suggested-unit: ^x11-common\.service$ 177s Exclusions: defaultdict(, {'package:': [re.compile('^Unpackaged')], 'unit:': [re.compile('')], 'file:': [re.compile('suggested:.'), re.compile('initscript:.')]}) 177s Excluded from suggestions: defaultdict(, {'dangerous-unit:': [re.compile('^gdm3?\\.service$'), re.compile('^dbus\\.service$'), re.compile('^systemd-logind\\.service$'), re.compile('^console-getty\\.service$')], 'dangerous-initscript:': [re.compile('^gdm$'), re.compile('^dbus$')], 'suggested-initscript:': [re.compile('\\.sh$')], 'suggested-unit:': [re.compile('^console-getty\\.service$'), re.compile('^cryptdisks(-early)?\\.service$'), re.compile('^dbus-org\\..+\\.service$'), re.compile('^debug-shell\\.service$'), re.compile('^emergency\\.service$'), re.compile('^fstrim\\.service$'), re.compile('^getty-static\\.service$'), re.compile('^hwclock\\.service$'), re.compile('^initrd-.+\\.service$'), re.compile('^kmod(-static-nodes)?\\.service$'), re.compile('^procps\\.service$'), re.compile('^quotaon\\.service$'), re.compile('^rc(|S|-local)\\.service$'), re.compile('^rescue\\.service$'), re.compile('^system-update-cleanup\\.service$'), re.compile('^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\\.service$'), re.compile('^systemd-ask-password.+\\.service$'), re.compile('^systemd-binfmt\\.service$'), re.compile('^systemd-bless-boot\\.service$'), re.compile('^systemd-boot-.+\\.service$'), re.compile('^systemd-fsck.*\\.service$'), re.compile('^systemd-hostnamed\\.service$'), re.compile('^systemd-initctl\\.service$'), re.compile('^systemd-journal-flush\\.service$'), re.compile('^systemd-kexec\\.service$'), re.compile('^systemd-machine-id-commit\\.service$'), re.compile('^systemd-modules-load\\.service$'), re.compile('^systemd-network-generator\\.service$'), re.compile('^systemd-networkd-wait-online\\.service$'), re.compile('^systemd-pstore\\.service$'), re.compile('^systemd-quotacheck\\.service$'), re.compile('^systemd-random-seed\\.service$'), re.compile('^systemd-remount-fs\\.service$'), re.compile('^systemd-rfkill\\.service$'), re.compile('^systemd-sysctl\\.service$'), re.compile('^systemd-sysusers\\.service$'), re.compile('^systemd-time-wait-sync\\.service$'), re.compile('^systemd-tmpfiles-.+$'), re.compile('^systemd-update-.+$'), re.compile('^systemd-user-sessions\\.service$'), re.compile('^systemd-volatile-root\\.service$'), re.compile('^x11-common\\.service$')]}) 177s Systemd: True 177s cgroups v2: False 177s Creating Process object for PID 893 177s lsof reported that PID 893 is using deleted file /tmp/_checkrestart_test; lsof data was: 'f3\x00k0\x00n/tmp/_checkrestart_test (deleted)' 177s lsof reported that PID 893 is using deleted file /usr/lib/_checkrestart_test; lsof data was: 'f4\x00k0\x00n/usr/lib/_checkrestart_test (deleted)' 177s (Found 1 process(es) using deleted files) 177s program /usr/bin/bash (PID 893) is a script 177s Set cmdline to: ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] for PID:893 177s Found option '-ue' to /usr/bin/bash 177s Found option '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart' to /usr/bin/bash 177s PID 893 (a /usr/bin/bash script) treated as if named: /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart 177s Looking for packages providing: dict_keys(['/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart']) 177s Running: ['dpkg-query', '--search', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] 177s dpkg-query: stderr: 'dpkg-query: no path found matching pattern /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart' 177s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 177s Exclusion found for package: Unpackaged: test-checkrestart using: re.compile('^Unpackaged') 177s Ignoring all (1) programs from package: Unpackaged: test-checkrestart 177s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 177s *** Looking for: '0 non-ignored ' 177s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 177s ** PASS: 'checkrestart -a -x package:^Unpackaged -d -x unit: -x suggested:. -x initscript:.' (exit: 0) 177s 177s ** Testing: 'checkrestart -a -x program:^/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart$ -d' 177s *** Running: 'checkrestart -a -x program:^/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart$ -d' 177s Default blocklist: ['local-suggestions.conf', 'suggestions.conf'] 177s Using default blocklist: /etc/checkrestart/suggestions.conf 177s Reading blocklist file: /etc/checkrestart/suggestions.conf 177s Adding exclusion: dangerous-unit: ^gdm3?\.service$ 177s Adding exclusion: dangerous-unit: ^dbus\.service$ 177s Adding exclusion: dangerous-unit: ^systemd-logind\.service$ 177s Adding exclusion: dangerous-unit: ^console-getty\.service$ 177s Adding exclusion: dangerous-initscript: ^gdm$ 177s Adding exclusion: dangerous-initscript: ^dbus$ 177s Adding exclusion: suggested-initscript: \.sh$ 177s Adding exclusion: suggested-unit: ^console-getty\.service$ 177s Adding exclusion: suggested-unit: ^cryptdisks(-early)?\.service$ 177s Adding exclusion: suggested-unit: ^dbus-org\..+\.service$ 177s Adding exclusion: suggested-unit: ^debug-shell\.service$ 177s Adding exclusion: suggested-unit: ^emergency\.service$ 177s Adding exclusion: suggested-unit: ^fstrim\.service$ 177s Adding exclusion: suggested-unit: ^getty-static\.service$ 177s Adding exclusion: suggested-unit: ^hwclock\.service$ 177s Adding exclusion: suggested-unit: ^initrd-.+\.service$ 177s Adding exclusion: suggested-unit: ^kmod(-static-nodes)?\.service$ 177s Adding exclusion: suggested-unit: ^procps\.service$ 177s Adding exclusion: suggested-unit: ^quotaon\.service$ 177s Adding exclusion: suggested-unit: ^rc(|S|-local)\.service$ 177s Adding exclusion: suggested-unit: ^rescue\.service$ 177s Adding exclusion: suggested-unit: ^system-update-cleanup\.service$ 177s Adding exclusion: suggested-unit: ^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\.service$ 177s Adding exclusion: suggested-unit: ^systemd-ask-password.+\.service$ 177s Adding exclusion: suggested-unit: ^systemd-binfmt\.service$ 177s Adding exclusion: suggested-unit: ^systemd-bless-boot\.service$ 177s Adding exclusion: suggested-unit: ^systemd-boot-.+\.service$ 177s Adding exclusion: suggested-unit: ^systemd-fsck.*\.service$ 177s Adding exclusion: suggested-unit: ^systemd-hostnamed\.service$ 177s Adding exclusion: suggested-unit: ^systemd-initctl\.service$ 177s Adding exclusion: suggested-unit: ^systemd-journal-flush\.service$ 177s Adding exclusion: suggested-unit: ^systemd-kexec\.service$ 177s Adding exclusion: suggested-unit: ^systemd-machine-id-commit\.service$ 177s Adding exclusion: suggested-unit: ^systemd-modules-load\.service$ 177s Adding exclusion: suggested-unit: ^systemd-network-generator\.service$ 177s Adding exclusion: suggested-unit: ^systemd-networkd-wait-online\.service$ 177s Adding exclusion: suggested-unit: ^systemd-pstore\.service$ 177s Adding exclusion: suggested-unit: ^systemd-quotacheck\.service$ 177s Adding exclusion: suggested-unit: ^systemd-random-seed\.service$ 177s Adding exclusion: suggested-unit: ^systemd-remount-fs\.service$ 177s Adding exclusion: suggested-unit: ^systemd-rfkill\.service$ 177s Adding exclusion: suggested-unit: ^systemd-sysctl\.service$ 177s Adding exclusion: suggested-unit: ^systemd-sysusers\.service$ 177s Adding exclusion: suggested-unit: ^systemd-time-wait-sync\.service$ 177s Adding exclusion: suggested-unit: ^systemd-tmpfiles-.+$ 177s Adding exclusion: suggested-unit: ^systemd-update-.+$ 177s Adding exclusion: suggested-unit: ^systemd-user-sessions\.service$ 177s Adding exclusion: suggested-unit: ^systemd-volatile-root\.service$ 177s Adding exclusion: suggested-unit: ^x11-common\.service$ 177s Exclusions: defaultdict(, {'program:': [re.compile('^/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart$')]}) 177s Excluded from suggestions: defaultdict(, {'dangerous-unit:': [re.compile('^gdm3?\\.service$'), re.compile('^dbus\\.service$'), re.compile('^systemd-logind\\.service$'), re.compile('^console-getty\\.service$')], 'dangerous-initscript:': [re.compile('^gdm$'), re.compile('^dbus$')], 'suggested-initscript:': [re.compile('\\.sh$')], 'suggested-unit:': [re.compile('^console-getty\\.service$'), re.compile('^cryptdisks(-early)?\\.service$'), re.compile('^dbus-org\\..+\\.service$'), re.compile('^debug-shell\\.service$'), re.compile('^emergency\\.service$'), re.compile('^fstrim\\.service$'), re.compile('^getty-static\\.service$'), re.compile('^hwclock\\.service$'), re.compile('^initrd-.+\\.service$'), re.compile('^kmod(-static-nodes)?\\.service$'), re.compile('^procps\\.service$'), re.compile('^quotaon\\.service$'), re.compile('^rc(|S|-local)\\.service$'), re.compile('^rescue\\.service$'), re.compile('^system-update-cleanup\\.service$'), re.compile('^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\\.service$'), re.compile('^systemd-ask-password.+\\.service$'), re.compile('^systemd-binfmt\\.service$'), re.compile('^systemd-bless-boot\\.service$'), re.compile('^systemd-boot-.+\\.service$'), re.compile('^systemd-fsck.*\\.service$'), re.compile('^systemd-hostnamed\\.service$'), re.compile('^systemd-initctl\\.service$'), re.compile('^systemd-journal-flush\\.service$'), re.compile('^systemd-kexec\\.service$'), re.compile('^systemd-machine-id-commit\\.service$'), re.compile('^systemd-modules-load\\.service$'), re.compile('^systemd-network-generator\\.service$'), re.compile('^systemd-networkd-wait-online\\.service$'), re.compile('^systemd-pstore\\.service$'), re.compile('^systemd-quotacheck\\.service$'), re.compile('^systemd-random-seed\\.service$'), re.compile('^systemd-remount-fs\\.service$'), re.compile('^systemd-rfkill\\.service$'), re.compile('^systemd-sysctl\\.service$'), re.compile('^systemd-sysusers\\.service$'), re.compile('^systemd-time-wait-sync\\.service$'), re.compile('^systemd-tmpfiles-.+$'), re.compile('^systemd-update-.+$'), re.compile('^systemd-user-sessions\\.service$'), re.compile('^systemd-volatile-root\\.service$'), re.compile('^x11-common\\.service$')]}) 177s Systemd: True 177s cgroups v2: False 177s Creating Process object for PID 893 177s lsof reported that PID 893 is using deleted file /tmp/_checkrestart_test; lsof data was: 'f3\x00k0\x00n/tmp/_checkrestart_test (deleted)' 177s lsof reported that PID 893 is using deleted file /usr/lib/_checkrestart_test; lsof data was: 'f4\x00k0\x00n/usr/lib/_checkrestart_test (deleted)' 177s (Found 1 process(es) using deleted files) 177s program /usr/bin/bash (PID 893) is a script 177s Set cmdline to: ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] for PID:893 177s Found option '-ue' to /usr/bin/bash 177s Found option '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart' to /usr/bin/bash 177s PID 893 (a /usr/bin/bash script) treated as if named: /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart 177s Exclusion found for program: /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart using: re.compile('^/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart$') 177s Ignoring program /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 177s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 177s *** Looking for: '0 non-ignored ' 177s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 177s ** PASS: 'checkrestart -a -x program:^/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart$ -d' (exit: 0) 177s 177s ** Testing: 'checkrestart -a -x file:^/(tmp|usr/lib)/_checkrestart_test$ -d' 177s *** Running: 'checkrestart -a -x file:^/(tmp|usr/lib)/_checkrestart_test$ -d' 177s Default blocklist: ['local-suggestions.conf', 'suggestions.conf'] 177s Using default blocklist: /etc/checkrestart/suggestions.conf 177s Reading blocklist file: /etc/checkrestart/suggestions.conf 177s Adding exclusion: dangerous-unit: ^gdm3?\.service$ 177s Adding exclusion: dangerous-unit: ^dbus\.service$ 177s Adding exclusion: dangerous-unit: ^systemd-logind\.service$ 177s Adding exclusion: dangerous-unit: ^console-getty\.service$ 177s Adding exclusion: dangerous-initscript: ^gdm$ 177s Adding exclusion: dangerous-initscript: ^dbus$ 177s Adding exclusion: suggested-initscript: \.sh$ 177s Adding exclusion: suggested-unit: ^console-getty\.service$ 177s Adding exclusion: suggested-unit: ^cryptdisks(-early)?\.service$ 177s Adding exclusion: suggested-unit: ^dbus-org\..+\.service$ 177s Adding exclusion: suggested-unit: ^debug-shell\.service$ 177s Adding exclusion: suggested-unit: ^emergency\.service$ 177s Adding exclusion: suggested-unit: ^fstrim\.service$ 177s Adding exclusion: suggested-unit: ^getty-static\.service$ 177s Adding exclusion: suggested-unit: ^hwclock\.service$ 177s Adding exclusion: suggested-unit: ^initrd-.+\.service$ 177s Adding exclusion: suggested-unit: ^kmod(-static-nodes)?\.service$ 177s Adding exclusion: suggested-unit: ^procps\.service$ 177s Adding exclusion: suggested-unit: ^quotaon\.service$ 177s Adding exclusion: suggested-unit: ^rc(|S|-local)\.service$ 177s Adding exclusion: suggested-unit: ^rescue\.service$ 177s Adding exclusion: suggested-unit: ^system-update-cleanup\.service$ 177s Adding exclusion: suggested-unit: ^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\.service$ 177s Adding exclusion: suggested-unit: ^systemd-ask-password.+\.service$ 177s Adding exclusion: suggested-unit: ^systemd-binfmt\.service$ 177s Adding exclusion: suggested-unit: ^systemd-bless-boot\.service$ 177s Adding exclusion: suggested-unit: ^systemd-boot-.+\.service$ 177s Adding exclusion: suggested-unit: ^systemd-fsck.*\.service$ 177s Adding exclusion: suggested-unit: ^systemd-hostnamed\.service$ 177s Adding exclusion: suggested-unit: ^systemd-initctl\.service$ 177s Adding exclusion: suggested-unit: ^systemd-journal-flush\.service$ 177s Adding exclusion: suggested-unit: ^systemd-kexec\.service$ 177s Adding exclusion: suggested-unit: ^systemd-machine-id-commit\.service$ 177s Adding exclusion: suggested-unit: ^systemd-modules-load\.service$ 177s Adding exclusion: suggested-unit: ^systemd-network-generator\.service$ 177s Adding exclusion: suggested-unit: ^systemd-networkd-wait-online\.service$ 177s Adding exclusion: suggested-unit: ^systemd-pstore\.service$ 177s Adding exclusion: suggested-unit: ^systemd-quotacheck\.service$ 177s Adding exclusion: suggested-unit: ^systemd-random-seed\.service$ 177s Adding exclusion: suggested-unit: ^systemd-remount-fs\.service$ 177s Adding exclusion: suggested-unit: ^systemd-rfkill\.service$ 177s Adding exclusion: suggested-unit: ^systemd-sysctl\.service$ 177s Adding exclusion: suggested-unit: ^systemd-sysusers\.service$ 177s Adding exclusion: suggested-unit: ^systemd-time-wait-sync\.service$ 177s Adding exclusion: suggested-unit: ^systemd-tmpfiles-.+$ 177s Adding exclusion: suggested-unit: ^systemd-update-.+$ 177s Adding exclusion: suggested-unit: ^systemd-user-sessions\.service$ 177s Adding exclusion: suggested-unit: ^systemd-volatile-root\.service$ 177s Adding exclusion: suggested-unit: ^x11-common\.service$ 177s Exclusions: defaultdict(, {'file:': [re.compile('^/(tmp|usr/lib)/_checkrestart_test$')]}) 177s Excluded from suggestions: defaultdict(, {'dangerous-unit:': [re.compile('^gdm3?\\.service$'), re.compile('^dbus\\.service$'), re.compile('^systemd-logind\\.service$'), re.compile('^console-getty\\.service$')], 'dangerous-initscript:': [re.compile('^gdm$'), re.compile('^dbus$')], 'suggested-initscript:': [re.compile('\\.sh$')], 'suggested-unit:': [re.compile('^console-getty\\.service$'), re.compile('^cryptdisks(-early)?\\.service$'), re.compile('^dbus-org\\..+\\.service$'), re.compile('^debug-shell\\.service$'), re.compile('^emergency\\.service$'), re.compile('^fstrim\\.service$'), re.compile('^getty-static\\.service$'), re.compile('^hwclock\\.service$'), re.compile('^initrd-.+\\.service$'), re.compile('^kmod(-static-nodes)?\\.service$'), re.compile('^procps\\.service$'), re.compile('^quotaon\\.service$'), re.compile('^rc(|S|-local)\\.service$'), re.compile('^rescue\\.service$'), re.compile('^system-update-cleanup\\.service$'), re.compile('^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\\.service$'), re.compile('^systemd-ask-password.+\\.service$'), re.compile('^systemd-binfmt\\.service$'), re.compile('^systemd-bless-boot\\.service$'), re.compile('^systemd-boot-.+\\.service$'), re.compile('^systemd-fsck.*\\.service$'), re.compile('^systemd-hostnamed\\.service$'), re.compile('^systemd-initctl\\.service$'), re.compile('^systemd-journal-flush\\.service$'), re.compile('^systemd-kexec\\.service$'), re.compile('^systemd-machine-id-commit\\.service$'), re.compile('^systemd-modules-load\\.service$'), re.compile('^systemd-network-generator\\.service$'), re.compile('^systemd-networkd-wait-online\\.service$'), re.compile('^systemd-pstore\\.service$'), re.compile('^systemd-quotacheck\\.service$'), re.compile('^systemd-random-seed\\.service$'), re.compile('^systemd-remount-fs\\.service$'), re.compile('^systemd-rfkill\\.service$'), re.compile('^systemd-sysctl\\.service$'), re.compile('^systemd-sysusers\\.service$'), re.compile('^systemd-time-wait-sync\\.service$'), re.compile('^systemd-tmpfiles-.+$'), re.compile('^systemd-update-.+$'), re.compile('^systemd-user-sessions\\.service$'), re.compile('^systemd-volatile-root\\.service$'), re.compile('^x11-common\\.service$')]}) 177s Systemd: True 177s cgroups v2: False 177s Creating Process object for PID 893 177s lsof reported that PID 893 is using deleted file /tmp/_checkrestart_test; lsof data was: 'f3\x00k0\x00n/tmp/_checkrestart_test (deleted)' 177s lsof reported that PID 893 is using deleted file /usr/lib/_checkrestart_test; lsof data was: 'f4\x00k0\x00n/usr/lib/_checkrestart_test (deleted)' 177s (Found 1 process(es) using deleted files) 177s program /usr/bin/bash (PID 893) is a script 177s Set cmdline to: ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] for PID:893 177s Found option '-ue' to /usr/bin/bash 177s Found option '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart' to /usr/bin/bash 177s PID 893 (a /usr/bin/bash script) treated as if named: /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart 177s Exclusion found for file: /usr/lib/_checkrestart_test using: re.compile('^/(tmp|usr/lib)/_checkrestart_test$') 177s Ignoring deleted file /usr/lib/_checkrestart_test: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 177s Exclusion found for file: /tmp/_checkrestart_test using: re.compile('^/(tmp|usr/lib)/_checkrestart_test$') 177s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 177s Ignoring all files from: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 177s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 177s *** Looking for: '0 non-ignored ' 177s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 177s ** PASS: 'checkrestart -a -x file:^/(tmp|usr/lib)/_checkrestart_test$ -d' (exit: 0) 177s 177s ** Testing: 'checkrestart -a -x pid:^893$ -d' 177s *** Running: 'checkrestart -a -x pid:^893$ -d' 178s Default blocklist: ['local-suggestions.conf', 'suggestions.conf'] 178s Using default blocklist: /etc/checkrestart/suggestions.conf 178s Reading blocklist file: /etc/checkrestart/suggestions.conf 178s Adding exclusion: dangerous-unit: ^gdm3?\.service$ 178s Adding exclusion: dangerous-unit: ^dbus\.service$ 178s Adding exclusion: dangerous-unit: ^systemd-logind\.service$ 178s Adding exclusion: dangerous-unit: ^console-getty\.service$ 178s Adding exclusion: dangerous-initscript: ^gdm$ 178s Adding exclusion: dangerous-initscript: ^dbus$ 178s Adding exclusion: suggested-initscript: \.sh$ 178s Adding exclusion: suggested-unit: ^console-getty\.service$ 178s Adding exclusion: suggested-unit: ^cryptdisks(-early)?\.service$ 178s Adding exclusion: suggested-unit: ^dbus-org\..+\.service$ 178s Adding exclusion: suggested-unit: ^debug-shell\.service$ 178s Adding exclusion: suggested-unit: ^emergency\.service$ 178s Adding exclusion: suggested-unit: ^fstrim\.service$ 178s Adding exclusion: suggested-unit: ^getty-static\.service$ 178s Adding exclusion: suggested-unit: ^hwclock\.service$ 178s Adding exclusion: suggested-unit: ^initrd-.+\.service$ 178s Adding exclusion: suggested-unit: ^kmod(-static-nodes)?\.service$ 178s Adding exclusion: suggested-unit: ^procps\.service$ 178s Adding exclusion: suggested-unit: ^quotaon\.service$ 178s Adding exclusion: suggested-unit: ^rc(|S|-local)\.service$ 178s Adding exclusion: suggested-unit: ^rescue\.service$ 178s Adding exclusion: suggested-unit: ^system-update-cleanup\.service$ 178s Adding exclusion: suggested-unit: ^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\.service$ 178s Adding exclusion: suggested-unit: ^systemd-ask-password.+\.service$ 178s Adding exclusion: suggested-unit: ^systemd-binfmt\.service$ 178s Adding exclusion: suggested-unit: ^systemd-bless-boot\.service$ 178s Adding exclusion: suggested-unit: ^systemd-boot-.+\.service$ 178s Adding exclusion: suggested-unit: ^systemd-fsck.*\.service$ 178s Adding exclusion: suggested-unit: ^systemd-hostnamed\.service$ 178s Adding exclusion: suggested-unit: ^systemd-initctl\.service$ 178s Adding exclusion: suggested-unit: ^systemd-journal-flush\.service$ 178s Adding exclusion: suggested-unit: ^systemd-kexec\.service$ 178s Adding exclusion: suggested-unit: ^systemd-machine-id-commit\.service$ 178s Adding exclusion: suggested-unit: ^systemd-modules-load\.service$ 178s Adding exclusion: suggested-unit: ^systemd-network-generator\.service$ 178s Adding exclusion: suggested-unit: ^systemd-networkd-wait-online\.service$ 178s Adding exclusion: suggested-unit: ^systemd-pstore\.service$ 178s Adding exclusion: suggested-unit: ^systemd-quotacheck\.service$ 178s Adding exclusion: suggested-unit: ^systemd-random-seed\.service$ 178s Adding exclusion: suggested-unit: ^systemd-remount-fs\.service$ 178s Adding exclusion: suggested-unit: ^systemd-rfkill\.service$ 178s Adding exclusion: suggested-unit: ^systemd-sysctl\.service$ 178s Adding exclusion: suggested-unit: ^systemd-sysusers\.service$ 178s Adding exclusion: suggested-unit: ^systemd-time-wait-sync\.service$ 178s Adding exclusion: suggested-unit: ^systemd-tmpfiles-.+$ 178s Adding exclusion: suggested-unit: ^systemd-update-.+$ 178s Adding exclusion: suggested-unit: ^systemd-user-sessions\.service$ 178s Adding exclusion: suggested-unit: ^systemd-volatile-root\.service$ 178s Adding exclusion: suggested-unit: ^x11-common\.service$ 178s Exclusions: defaultdict(, {'pid:': [re.compile('^893$')]}) 178s Excluded from suggestions: defaultdict(, {'dangerous-unit:': [re.compile('^gdm3?\\.service$'), re.compile('^dbus\\.service$'), re.compile('^systemd-logind\\.service$'), re.compile('^console-getty\\.service$')], 'dangerous-initscript:': [re.compile('^gdm$'), re.compile('^dbus$')], 'suggested-initscript:': [re.compile('\\.sh$')], 'suggested-unit:': [re.compile('^console-getty\\.service$'), re.compile('^cryptdisks(-early)?\\.service$'), re.compile('^dbus-org\\..+\\.service$'), re.compile('^debug-shell\\.service$'), re.compile('^emergency\\.service$'), re.compile('^fstrim\\.service$'), re.compile('^getty-static\\.service$'), re.compile('^hwclock\\.service$'), re.compile('^initrd-.+\\.service$'), re.compile('^kmod(-static-nodes)?\\.service$'), re.compile('^procps\\.service$'), re.compile('^quotaon\\.service$'), re.compile('^rc(|S|-local)\\.service$'), re.compile('^rescue\\.service$'), re.compile('^system-update-cleanup\\.service$'), re.compile('^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\\.service$'), re.compile('^systemd-ask-password.+\\.service$'), re.compile('^systemd-binfmt\\.service$'), re.compile('^systemd-bless-boot\\.service$'), re.compile('^systemd-boot-.+\\.service$'), re.compile('^systemd-fsck.*\\.service$'), re.compile('^systemd-hostnamed\\.service$'), re.compile('^systemd-initctl\\.service$'), re.compile('^systemd-journal-flush\\.service$'), re.compile('^systemd-kexec\\.service$'), re.compile('^systemd-machine-id-commit\\.service$'), re.compile('^systemd-modules-load\\.service$'), re.compile('^systemd-network-generator\\.service$'), re.compile('^systemd-networkd-wait-online\\.service$'), re.compile('^systemd-pstore\\.service$'), re.compile('^systemd-quotacheck\\.service$'), re.compile('^systemd-random-seed\\.service$'), re.compile('^systemd-remount-fs\\.service$'), re.compile('^systemd-rfkill\\.service$'), re.compile('^systemd-sysctl\\.service$'), re.compile('^systemd-sysusers\\.service$'), re.compile('^systemd-time-wait-sync\\.service$'), re.compile('^systemd-tmpfiles-.+$'), re.compile('^systemd-update-.+$'), re.compile('^systemd-user-sessions\\.service$'), re.compile('^systemd-volatile-root\\.service$'), re.compile('^x11-common\\.service$')]}) 178s Systemd: True 178s cgroups v2: False 178s Creating Process object for PID 893 178s lsof reported that PID 893 is using deleted file /tmp/_checkrestart_test; lsof data was: 'f3\x00k0\x00n/tmp/_checkrestart_test (deleted)' 178s lsof reported that PID 893 is using deleted file /usr/lib/_checkrestart_test; lsof data was: 'f4\x00k0\x00n/usr/lib/_checkrestart_test (deleted)' 178s (Found 1 process(es) using deleted files) 178s program /usr/bin/bash (PID 893) is a script 178s Set cmdline to: ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] for PID:893 178s Found option '-ue' to /usr/bin/bash 178s Found option '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart' to /usr/bin/bash 178s PID 893 (a /usr/bin/bash script) treated as if named: /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart 178s Exclusion found for pid: 893 using: re.compile('^893$') 178s Ignoring PID 893: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 178s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 178s *** Looking for: '0 non-ignored ' 178s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 178s ** PASS: 'checkrestart -a -x pid:^893$ -d' (exit: 0) 178s 178s ** Testing: 'checkrestart --all -p' 178s *** Running: 'checkrestart --all -p' 178s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 178s *** Looking for: '0 non-ignored ' 178s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 178s ** PASS: 'checkrestart --all -p' (exit: 0) 178s 178s ** Testing: 'checkrestart -p -a' 178s *** Running: 'checkrestart -p -a' 178s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 178s *** Looking for: '0 non-ignored ' 178s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 178s ** PASS: 'checkrestart -p -a' (exit: 0) 178s 178s ** Testing: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list --all' 178s *** Running: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list --all' 178s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 178s 178s The following are using deleted files but there is no suggested way to restart them: 178s Unpackaged: test-checkrestart: 178s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 178s 178s *** Looking for: '1 non-ignored ' 178s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 178s ** PASS: 'checkrestart -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list --all' (exit: 1) 178s 178s ** Testing: 'checkrestart --all -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list -v' 178s *** Running: 'checkrestart --all -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list -v' 178s (Found 1 process(es) using deleted files) 178s Ignoring deleted file /usr/lib/_checkrestart_test: Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 178s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 178s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 178s 178s The following are using deleted files but there is no suggested way to restart them: 178s Unpackaged: test-checkrestart: 178s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') is using the following deleted files: 178s /tmp/_checkrestart_test 178s 178s 178s *** Looking for: '/tmp/_checkrestart_test' 178s /tmp/_checkrestart_test 178s ** PASS: 'checkrestart --all -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list -v' (exit: 1) 178s 178s ** Testing: 'checkrestart --machine --verbose -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list -a' 178s *** Running: 'checkrestart --machine --verbose -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list -a' 178s PROCESSES_ALL: 1 178s unpackaged Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 178s RESTART_NEEDED: 1 178s OTHER Unpackaged: test-checkrestart 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 178s file /tmp/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 178s file /usr/lib/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 178s *** Looking for: '^file /usr/lib/_checkrestart_test [0-9]+ /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (/usr)?/bin/bash \['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'\] Script$' 178s file /usr/lib/_checkrestart_test 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 178s ** PASS: 'checkrestart --machine --verbose -b /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/files-to-ignore.list -a' (exit: 1) 178s 178s ** Testing: 'checkrestart ' 178s *** Running: 'checkrestart ' 179s The system needs rebooting: (/run/reboot-required exists but there is no /run/reboot-required.pkgs, so we do not know why) 179s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 179s 179s The following are using deleted files but there is no suggested way to restart them: 179s Unpackaged: test-checkrestart: 179s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 179s 179s *** Looking for: 'needs rebooting' 179s The system needs rebooting: (/run/reboot-required exists but there is no /run/reboot-required.pkgs, so we do not know why) 179s ** PASS: 'checkrestart ' (exit: 1) 179s 179s ** Testing: 'checkrestart ' 179s *** Running: 'checkrestart ' 179s The system needs rebooting: (/run/reboot-required exists but there is no /run/reboot-required.pkgs, so we do not know why) 179s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 179s 179s The following are using deleted files but there is no suggested way to restart them: 179s Unpackaged: test-checkrestart: 179s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 179s 179s *** Looking for: '^1 non-ignored' 179s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 179s ** PASS: 'checkrestart ' (exit: 1) 179s 179s ** Testing: 'checkrestart -t' 179s *** Running: 'checkrestart -t' 179s The system needs rebooting: (/run/reboot-required exists but there is no /run/reboot-required.pkgs, so we do not know why); 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 179s *** Looking for: 'needs rebooting' 179s The system needs rebooting: (/run/reboot-required exists but there is no /run/reboot-required.pkgs, so we do not know why); 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 179s ** PASS: 'checkrestart -t' (exit: 1) 179s 179s ** Testing: 'checkrestart -t' 179s *** Running: 'checkrestart -t' 179s The system needs rebooting: (/run/reboot-required exists but there is no /run/reboot-required.pkgs, so we do not know why); 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 179s *** Looking for: '; 1 non-ignored' 179s The system needs rebooting: (/run/reboot-required exists but there is no /run/reboot-required.pkgs, so we do not know why); 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 179s ** PASS: 'checkrestart -t' (exit: 1) 179s 179s ** Testing: 'checkrestart -m' 179s *** Running: 'checkrestart -m' 179s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs 179s RESTART_NEEDED: 1 179s OTHER Unpackaged: test-checkrestart 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 179s *** Looking for: 'REBOOT_NEEDED: Yes; MISSING' 179s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs 179s ** PASS: 'checkrestart -m' (exit: 1) 179s 179s ** Testing: 'checkrestart -m' 179s *** Running: 'checkrestart -m' 179s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs 179s RESTART_NEEDED: 1 179s OTHER Unpackaged: test-checkrestart 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 179s *** Looking for: 'RESTART_NEEDED: 1' 179s RESTART_NEEDED: 1 179s ** PASS: 'checkrestart -m' (exit: 1) 179s 179s ** Testing: 'checkrestart -tm' 179s *** Running: 'checkrestart -tm' 180s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs; RESTART_NEEDED: 1 180s *** Looking for: 'REBOOT_NEEDED: Yes; MISSING' 180s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs; RESTART_NEEDED: 1 180s ** PASS: 'checkrestart -tm' (exit: 1) 180s 180s ** Testing: 'checkrestart -m' 180s *** Running: 'checkrestart -m' 180s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs 180s RESTART_NEEDED: 1 180s OTHER Unpackaged: test-checkrestart 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 180s *** Looking for: 'RESTART_NEEDED: 1' 180s RESTART_NEEDED: 1 180s ** PASS: 'checkrestart -m' (exit: 1) 180s 180s ** Testing: 'checkrestart -m' 180s *** Running: 'checkrestart -m' 180s REBOOT_NEEDED: Yes 180s REQUESTED_REBOOT: aaaa 180s REQUESTED_REBOOT: bbbb 180s RESTART_NEEDED: 1 180s OTHER Unpackaged: test-checkrestart 893 /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart'] Script 180s *** Looking for: 'REQUESTED_REBOOT: bbbb' 180s REQUESTED_REBOOT: bbbb 180s ** PASS: 'checkrestart -m' (exit: 1) 180s 180s ** Testing: 'checkrestart ' 180s *** Running: 'checkrestart ' 180s The system needs rebooting. The following packages have indicated that a reboot is required: 180s aaaa 180s bbbb 180s 180s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 180s 180s The following are using deleted files but there is no suggested way to restart them: 180s Unpackaged: test-checkrestart: 180s Script /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart (PID: 893, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart') 180s 180s *** Looking for: '^ aaaa$' 180s aaaa 180s ** PASS: 'checkrestart ' (exit: 1) 180s 180s * Testsuite ended (/tmp/autopkgtest.Y4xyAm/build.u8l/src/debian/tests/test-checkrestart) 180s Cleaning up 180s DONE. 180s autopkgtest [13:39:01]: test test-checkrestart: -----------------------] 184s autopkgtest [13:39:05]: test test-checkrestart: - - - - - - - - - - results - - - - - - - - - - 184s test-checkrestart PASS 188s autopkgtest [13:39:09]: @@@@@@@@@@@@@@@@@@@@ summary 188s test-checkrestart PASS