0s autopkgtest [02:25:27]: starting date and time: 2025-12-06 02:25:27+0000 0s autopkgtest [02:25:27]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [02:25:27]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.u7zxucde/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --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 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-ppc64el-2.secgroup --name adt-resolute-ppc64el-debian-goodies-20251206-022527-juju-7f2275-prod-proposed-migration-environment-20-0a4fdbb9-d0dd-42dc-87de-2a3ca9cd6050 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-ppc64el-debian-goodies-20251206-022527-juju-7f2275-prod-proposed-migration-environment-20-0a4fdbb9-d0dd-42dc-87de-2a3ca9cd6050 from image adt/ubuntu-resolute-ppc64el-server-20251205.img (UUID ec8e7418-51bb-4f88-80fc-4d434bdc97c2)... 48s autopkgtest [02:26:15]: testbed dpkg architecture: ppc64el 48s autopkgtest [02:26:15]: testbed apt version: 3.1.12 49s autopkgtest [02:26:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 49s autopkgtest [02:26:16]: testbed release detected to be: None 50s autopkgtest [02:26:17]: updating testbed package index (apt update) 50s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 50s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 50s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 50s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 50s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.8 kB] 50s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [852 kB] 50s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [139 kB] 50s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [224 kB] 50s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [700 kB] 50s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [6648 B] 50s Fetched 2067 kB in 1s (3652 kB/s) 51s Reading package lists... 52s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 52s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 52s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 52s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 53s Reading package lists... 53s Reading package lists... 53s Building dependency tree... 53s Reading state information... 53s Calculating upgrade... 53s The following packages will be upgraded: 53s libnftnl11 libpython3-stdlib lxd-installer python3 python3-attr python3-gdbm 53s python3-minimal 53s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 53s Need to get 212 kB of archives. 53s After this operation, 16.4 kB of additional disk space will be used. 53s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.13.9-2 [28.1 kB] 53s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.13.9-2 [23.0 kB] 53s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.13.9-2 [10.8 kB] 53s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libnftnl11 ppc64el 1.3.1-1 [80.0 kB] 53s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-gdbm ppc64el 3.13.9-2 [11.0 kB] 53s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el lxd-installer all 14ubuntu0 [5428 B] 53s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-attr all 25.4.0-1 [53.6 kB] 53s dpkg-preconfigure: unable to re-open stdin: No such file or directory 53s Fetched 212 kB in 0s (10.9 MB/s) 54s (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 ... 81185 files and directories currently installed.) 54s Preparing to unpack .../python3-minimal_3.13.9-2_ppc64el.deb ... 54s Unpacking python3-minimal (3.13.9-2) over (3.13.7-1) ... 54s Setting up python3-minimal (3.13.9-2) ... 54s (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 ... 81185 files and directories currently installed.) 54s Preparing to unpack .../0-python3_3.13.9-2_ppc64el.deb ... 55s running python pre-rtupdate hooks for python3.13... 55s Unpacking python3 (3.13.9-2) over (3.13.7-1) ... 55s Preparing to unpack .../1-libpython3-stdlib_3.13.9-2_ppc64el.deb ... 55s Unpacking libpython3-stdlib:ppc64el (3.13.9-2) over (3.13.7-1) ... 55s Preparing to unpack .../2-libnftnl11_1.3.1-1_ppc64el.deb ... 55s Unpacking libnftnl11:ppc64el (1.3.1-1) over (1.3.0-1) ... 55s Preparing to unpack .../3-python3-gdbm_3.13.9-2_ppc64el.deb ... 55s Unpacking python3-gdbm (3.13.9-2) over (3.13.9-1) ... 55s Preparing to unpack .../4-lxd-installer_14ubuntu0_all.deb ... 55s Unpacking lxd-installer (14ubuntu0) over (13ubuntu0) ... 55s Preparing to unpack .../5-python3-attr_25.4.0-1_all.deb ... 55s Unpacking python3-attr (25.4.0-1) over (25.3.0-1) ... 55s Setting up python3-gdbm (3.13.9-2) ... 55s Setting up libnftnl11:ppc64el (1.3.1-1) ... 55s Setting up lxd-installer (14ubuntu0) ... 56s Setting up libpython3-stdlib:ppc64el (3.13.9-2) ... 56s Setting up python3 (3.13.9-2) ... 56s running python rtupdate hooks for python3.13... 56s running python post-rtupdate hooks for python3.13... 56s Setting up python3-attr (25.4.0-1) ... 56s Processing triggers for man-db (2.13.1-1) ... 57s Processing triggers for libc-bin (2.42-2ubuntu2) ... 57s autopkgtest [02:26:24]: upgrading testbed (apt dist-upgrade and autopurge) 57s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Calculating upgrade... 58s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Solving dependencies... 58s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s autopkgtest [02:26:25]: rebooting testbed after setup commands that affected boot 148s autopkgtest [02:27:55]: testbed running kernel: Linux 6.17.0-6-generic #6-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 7 13:47:32 UTC 2025 150s autopkgtest [02:27:57]: @@@@@@@@@@@@@@@@@@@@ apt-source debian-goodies 151s Get:1 http://ftpmaster.internal/ubuntu resolute/main debian-goodies 0.88.2ubuntu1 (dsc) [1839 B] 151s Get:2 http://ftpmaster.internal/ubuntu resolute/main debian-goodies 0.88.2ubuntu1 (tar) [84.7 kB] 151s gpgv: Signature made Fri Dec 20 20:29:08 2024 UTC 151s gpgv: using RSA key 5C7ABEA20F8630459CC8C8B5E27F2CF8458C2FA4 151s gpgv: Can't check signature: No public key 151s dpkg-source: warning: cannot verify inline signature for ./debian-goodies_0.88.2ubuntu1.dsc: no acceptable signature found 151s autopkgtest [02:27:58]: testing package debian-goodies version 0.88.2ubuntu1 152s autopkgtest [02:27:59]: build not needed 152s autopkgtest [02:27:59]: test test-checkrestart: preparing testbed 152s Reading package lists... 152s Building dependency tree... 152s Reading state information... 152s Solving dependencies... 152s The following NEW packages will be installed: 152s debian-goodies 152s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 152s Need to get 81.1 kB of archives. 152s After this operation, 255 kB of additional disk space will be used. 152s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el debian-goodies all 0.88.2ubuntu1 [81.1 kB] 153s Fetched 81.1 kB in 0s (449 kB/s) 153s Selecting previously unselected package debian-goodies. 153s (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 ... 81185 files and directories currently installed.) 153s Preparing to unpack .../debian-goodies_0.88.2ubuntu1_all.deb ... 153s Unpacking debian-goodies (0.88.2ubuntu1) ... 153s Setting up debian-goodies (0.88.2ubuntu1) ... 153s Processing triggers for man-db (2.13.1-1) ... 156s autopkgtest [02:28:03]: test test-checkrestart: [----------------------- 156s * Starting /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart 156s ** (Info on environment follows) 156s SHELL=/bin/bash 156s SUDO_GID=1000 156s AUTOPKGTEST_TESTBED_ARCH=ppc64el 156s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain 156s PID=1668 156s AUTOPKGTEST_NORMAL_USER=ubuntu 156s ME=/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart 156s AUTOPKGTEST_TMP=/tmp/autopkgtest.XDpio3/autopkgtest_tmp 156s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash root -c set -e; exec /tmp/autopkgtest.XDpio3/wrapper.sh --artifacts=/tmp/autopkgtest.XDpio3/test-checkrestart-artifacts --chdir=/tmp/autopkgtest.XDpio3/build.IA9/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.XDpio3/test-checkrestart-stderr --stdout=/tmp/autopkgtest.XDpio3/test-checkrestart-stdout --tmp=/tmp/autopkgtest.XDpio3/autopkgtest_tmp --env=AUTOPKGTEST_NORMAL_USER=ubuntu --env=ADT_NORMAL_USER=ubuntu --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.9-2 --make-executable=/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart -- /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart 156s SUDO_USER=ubuntu 156s PWD=/tmp/autopkgtest.XDpio3/build.IA9/src 156s ADT_TEST_TRIGGERS=python3-defaults/3.13.9-2 156s LOGNAME=root 156s SUDO_HOME=/home/ubuntu 156s HOME=/root 156s LANG=C.UTF-8 156s ADTTMP=/tmp/autopkgtest.XDpio3/autopkgtest_tmp 156s https_proxy=http://egress.ps7.internal:3128/ 156s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.XDpio3/test-checkrestart-artifacts 156s TERM=linux 156s USER=root 156s AUTOPKGTEST_TEST_ARCH=ppc64el 156s DEB_BUILD_OPTIONS=parallel=2 156s SHLVL=2 156s ADT_NORMAL_USER=ubuntu 156s http_proxy=http://egress.ps7.internal:3128/ 156s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 156s ADT_ARTIFACTS=/tmp/autopkgtest.XDpio3/test-checkrestart-artifacts 156s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 156s SUDO_UID=1000 156s MAIL=/var/mail/root 156s DEBIAN_FRONTEND=noninteractive 156s OLDPWD=/home/ubuntu 156s _=/usr/bin/env 156s Unfortunately, testing has shown that sometimes the debian salsa.debian.org infrastructure does 156s actually have processes using deleted files. And this also affects testing autopkgtests inside a schroot. 156s 156s So we can't simply run checkrestart and expect to find 156s nothing. 156s 156s So we have to mock the results of lsof to only report info on the current process, and ignore 156s everything else that happens to be running. 156s #!/bin/sh 156s exec /usr/bin/lsof -p 1668 "$@" 156s 156s Checking it works: 156s /usr/local/sbin/lsof 156s COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME 156s test-chec 1668 root cwd DIR 253,1 4096 251044 /tmp/autopkgtest.XDpio3/build.IA9/src 156s test-chec 1668 root rtd DIR 253,1 4096 2 / 156s test-chec 1668 root txt REG 253,1 2395512 1819 /usr/bin/bash 156s test-chec 1668 root mem REG 253,1 3063024 7750 /usr/lib/locale/locale-archive 156s test-chec 1668 root mem REG 253,1 367708 7754 /usr/lib/locale/C.utf8/LC_CTYPE 156s test-chec 1668 root mem REG 253,1 2508600 5518 /usr/lib/powerpc64le-linux-gnu/libc.so.6 156s test-chec 1668 root mem REG 253,1 50 7759 /usr/lib/locale/C.utf8/LC_NUMERIC 156s test-chec 1668 root mem REG 253,1 3360 7762 /usr/lib/locale/C.utf8/LC_TIME 156s test-chec 1668 root mem REG 253,1 1406 7753 /usr/lib/locale/C.utf8/LC_COLLATE 156s test-chec 1668 root mem REG 253,1 270 7757 /usr/lib/locale/C.utf8/LC_MONETARY 156s test-chec 1668 root mem REG 253,1 48 7764 /usr/lib/locale/C.utf8/LC_MESSAGES/SYS_LC_MESSAGES 156s test-chec 1668 root mem REG 253,1 34 7760 /usr/lib/locale/C.utf8/LC_PAPER 156s test-chec 1668 root mem REG 253,1 62 7758 /usr/lib/locale/C.utf8/LC_NAME 156s test-chec 1668 root mem REG 253,1 127 7752 /usr/lib/locale/C.utf8/LC_ADDRESS 156s test-chec 1668 root mem REG 253,1 47 7761 /usr/lib/locale/C.utf8/LC_TELEPHONE 156s test-chec 1668 root mem REG 253,1 23 7756 /usr/lib/locale/C.utf8/LC_MEASUREMENT 156s test-chec 1668 root mem REG 253,1 27032 5429 /usr/lib/powerpc64le-linux-gnu/gconv/gconv-modules.cache 156s test-chec 1668 root mem REG 253,1 331040 6358 /usr/lib/powerpc64le-linux-gnu/libtinfo.so.6.5 156s test-chec 1668 root mem REG 253,1 258 7755 /usr/lib/locale/C.utf8/LC_IDENTIFICATION 156s test-chec 1668 root mem REG 253,1 398288 5515 /usr/lib/powerpc64le-linux-gnu/ld64.so.2 156s test-chec 1668 root 0r FIFO 0,14 0t0 15358 pipe 156s test-chec 1668 root 1w FIFO 253,1 0t0 251133 /tmp/tmp.k0wADPhZFP/out 156s test-chec 1668 root 2w FIFO 253,1 0t0 251132 /tmp/tmp.k0wADPhZFP/err 156s test-chec 1668 root 255r REG 253,1 6729 251074 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart 156s ** Starting test: checkrestart 156s This first test assumes that there is nothing using deleted files 156s If this assumption is wrong, likely all following tests will fail too 156s so if this test fails, either something is very wrong with checkrestart 156s or the tests (or system they run on) may be at fault. 156s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 156s *** PASS 156s ** Testing: 'checkrestart ' 156s *** Running: 'checkrestart ' 156s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 156s 156s The following are using deleted files but there is no suggested way to restart them: 156s Unpackaged: test-checkrestart: 156s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 156s 156s *** Looking for: '1 non-ignored ' 156s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 156s ** PASS: 'checkrestart ' (exit: 1) 156s 156s ** Testing: 'checkrestart --machine' 156s *** Running: 'checkrestart --machine' 157s RESTART_NEEDED: 1 157s OTHER Unpackaged: test-checkrestart 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 157s *** Looking for: 'RESTART_NEEDED: 1' 157s RESTART_NEEDED: 1 157s ** PASS: 'checkrestart --machine' (exit: 1) 157s 157s ** Testing: 'checkrestart --terse' 157s *** Running: 'checkrestart --terse' 157s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 157s *** Looking for: '1 non-ignored ' 157s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 157s ** PASS: 'checkrestart --terse' (exit: 1) 157s 157s ** Testing: 'checkrestart --show-files' 157s *** Running: 'checkrestart --show-files' 157s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 157s 157s The following are using deleted files but there is no suggested way to restart them: 157s Unpackaged: test-checkrestart: 157s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') is using the following deleted files: 157s /usr/lib/_checkrestart_test 157s 157s 157s *** Looking for: '/usr/lib/_checkrestart_test' 157s /usr/lib/_checkrestart_test 157s ** PASS: 'checkrestart --show-files' (exit: 1) 157s 157s ** Testing: 'checkrestart --machine --show-files' 157s *** Running: 'checkrestart --machine --show-files' 157s RESTART_NEEDED: 1 157s OTHER Unpackaged: test-checkrestart 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 157s file /usr/lib/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 157s *** Looking for: '^file /usr/lib/_checkrestart_test [0-9]+ /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (/usr)?/bin/bash \['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'\] Script$' 157s file /usr/lib/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 157s ** PASS: 'checkrestart --machine --show-files' (exit: 1) 157s 157s ** Testing: 'checkrestart --terse --show-files' 157s *** Running: 'checkrestart --terse --show-files' 157s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 157s *** Looking for: '1 non-ignored' 157s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 157s ** PASS: 'checkrestart --terse --show-files' (exit: 1) 157s 157s ** Testing: 'checkrestart --show-files -t' 157s *** Running: 'checkrestart --show-files -t' 157s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 157s *** Looking for: '1 non-ignored' 157s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 157s ** PASS: 'checkrestart --show-files -t' (exit: 1) 157s 157s ** Testing: 'checkrestart --terse --all' 157s *** Running: 'checkrestart --terse --all' 157s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 157s *** Looking for: '1 non-ignored' 157s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 157s ** PASS: 'checkrestart --terse --all' (exit: 1) 157s 157s ** Testing: 'checkrestart --terse --all -v' 157s *** Running: 'checkrestart --terse --all -v' 157s (Found 1 process(es) using deleted files) 157s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 157s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 157s *** Looking for: 'not part of any package' 157s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 157s ** PASS: 'checkrestart --terse --all -v' (exit: 1) 157s 157s ** Testing: 'checkrestart --terse -v' 157s *** Running: 'checkrestart --terse -v' 158s (Found 1 process(es) using deleted files) 158s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 158s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s *** Looking for: '/tmp/_checkrestart_test' 158s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s ** PASS: 'checkrestart --terse -v' (exit: 1) 158s 158s ** Testing: 'checkrestart -i Unpackaged -d' 158s *** Running: 'checkrestart -i Unpackaged -d' 158s Default blocklist: ['local-exclude.conf', 'exclude.conf', 'local-suggestions.conf', 'suggestions.conf'] 158s Using default blocklist: /etc/checkrestart/exclude.conf 158s Using default blocklist: /etc/checkrestart/suggestions.conf 158s Reading blocklist file: /etc/checkrestart/exclude.conf 158s Adding exclusion: file: ^/(dev|run|home|tmp|var)/ 158s Adding exclusion: file: ^/(memfd:|\[aio\]|SYSV) 158s Adding exclusion: file: ^/proc/[0-9]+/fdinfo$ 158s Adding exclusion: file: ^/(drm|i915) 158s Reading blocklist file: /etc/checkrestart/suggestions.conf 158s Adding exclusion: dangerous-unit: ^gdm3?\.service$ 158s Adding exclusion: dangerous-unit: ^dbus\.service$ 158s Adding exclusion: dangerous-unit: ^systemd-logind\.service$ 158s Adding exclusion: dangerous-unit: ^console-getty\.service$ 158s Adding exclusion: dangerous-initscript: ^gdm$ 158s Adding exclusion: dangerous-initscript: ^dbus$ 158s Adding exclusion: suggested-initscript: \.sh$ 158s Adding exclusion: suggested-unit: ^console-getty\.service$ 158s Adding exclusion: suggested-unit: ^cryptdisks(-early)?\.service$ 158s Adding exclusion: suggested-unit: ^dbus-org\..+\.service$ 158s Adding exclusion: suggested-unit: ^debug-shell\.service$ 158s Adding exclusion: suggested-unit: ^emergency\.service$ 158s Adding exclusion: suggested-unit: ^fstrim\.service$ 158s Adding exclusion: suggested-unit: ^getty-static\.service$ 158s Adding exclusion: suggested-unit: ^hwclock\.service$ 158s Adding exclusion: suggested-unit: ^initrd-.+\.service$ 158s Adding exclusion: suggested-unit: ^kmod(-static-nodes)?\.service$ 158s Adding exclusion: suggested-unit: ^procps\.service$ 158s Adding exclusion: suggested-unit: ^quotaon\.service$ 158s Adding exclusion: suggested-unit: ^rc(|S|-local)\.service$ 158s Adding exclusion: suggested-unit: ^rescue\.service$ 158s Adding exclusion: suggested-unit: ^system-update-cleanup\.service$ 158s Adding exclusion: suggested-unit: ^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\.service$ 158s Adding exclusion: suggested-unit: ^systemd-ask-password.+\.service$ 158s Adding exclusion: suggested-unit: ^systemd-binfmt\.service$ 158s Adding exclusion: suggested-unit: ^systemd-bless-boot\.service$ 158s Adding exclusion: suggested-unit: ^systemd-boot-.+\.service$ 158s Adding exclusion: suggested-unit: ^systemd-fsck.*\.service$ 158s Adding exclusion: suggested-unit: ^systemd-hostnamed\.service$ 158s Adding exclusion: suggested-unit: ^systemd-initctl\.service$ 158s Adding exclusion: suggested-unit: ^systemd-journal-flush\.service$ 158s Adding exclusion: suggested-unit: ^systemd-kexec\.service$ 158s Adding exclusion: suggested-unit: ^systemd-machine-id-commit\.service$ 158s Adding exclusion: suggested-unit: ^systemd-modules-load\.service$ 158s Adding exclusion: suggested-unit: ^systemd-network-generator\.service$ 158s Adding exclusion: suggested-unit: ^systemd-networkd-wait-online\.service$ 158s Adding exclusion: suggested-unit: ^systemd-pstore\.service$ 158s Adding exclusion: suggested-unit: ^systemd-quotacheck\.service$ 158s Adding exclusion: suggested-unit: ^systemd-random-seed\.service$ 158s Adding exclusion: suggested-unit: ^systemd-remount-fs\.service$ 158s Adding exclusion: suggested-unit: ^systemd-rfkill\.service$ 158s Adding exclusion: suggested-unit: ^systemd-sysctl\.service$ 158s Adding exclusion: suggested-unit: ^systemd-sysusers\.service$ 158s Adding exclusion: suggested-unit: ^systemd-time-wait-sync\.service$ 158s Adding exclusion: suggested-unit: ^systemd-tmpfiles-.+$ 158s Adding exclusion: suggested-unit: ^systemd-update-.+$ 158s Adding exclusion: suggested-unit: ^systemd-user-sessions\.service$ 158s Adding exclusion: suggested-unit: ^systemd-volatile-root\.service$ 158s Adding exclusion: suggested-unit: ^x11-common\.service$ 158s 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)')]}) 158s 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$')]}) 158s Systemd: True 158s cgroups v2: False 158s Creating Process object for PID 1668 158s lsof reported that PID 1668 is using deleted file /tmp/_checkrestart_test; lsof data was: 'f3\x00k0\x00n/tmp/_checkrestart_test (deleted)' 158s lsof reported that PID 1668 is using deleted file /usr/lib/_checkrestart_test; lsof data was: 'f4\x00k0\x00n/usr/lib/_checkrestart_test (deleted)' 158s (Found 1 process(es) using deleted files) 158s program /usr/bin/bash (PID 1668) is a script 158s Set cmdline to: ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] for PID:1668 158s Found option '-ue' to /usr/bin/bash 158s Found option '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart' to /usr/bin/bash 158s PID 1668 (a /usr/bin/bash script) treated as if named: /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart 158s Exclusion found for file: /tmp/_checkrestart_test using: re.compile('^/(dev|run|home|tmp|var)/') 158s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s Looking for packages providing: dict_keys(['/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart']) 158s Running: ['dpkg-query', '--search', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] 158s dpkg-query: stderr: 'dpkg-query: no path found matching pattern /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart' 158s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 158s Exclusion found for package: Unpackaged: test-checkrestart using: re.compile('Unpackaged') 158s Ignoring all (1) programs from package: Unpackaged: test-checkrestart 158s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s *** Looking for: '0 non-ignored' 158s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s ** PASS: 'checkrestart -i Unpackaged -d' (exit: 0) 158s 158s ** Testing: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list' 158s *** Running: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list' 158s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s *** Looking for: '0 non-ignored ' 158s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s ** PASS: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list' (exit: 0) 158s 158s ** Testing: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list --verbose' 158s *** Running: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list --verbose' 158s (Found 1 process(es) using deleted files) 158s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s Ignoring deleted file /usr/lib/_checkrestart_test: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s Ignoring all files from: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s *** Looking for: 'Ignoring deleted file' 158s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s Ignoring deleted file /usr/lib/_checkrestart_test: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s ** PASS: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list --verbose' (exit: 0) 158s 158s ** Testing: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list --verbose --machine' 158s *** Running: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list --verbose --machine' 158s PROCESSES_ALL: 1 158s ignored_file /usr/lib/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 158s ignored_file /tmp/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 158s ignored_all_files 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 158s RESTART_NEEDED: 0 158s *** Looking for: 'ignored_file' 158s ignored_file /usr/lib/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 158s ignored_file /tmp/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 158s ** PASS: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list --verbose --machine' (exit: 0) 158s 158s ** Testing: 'checkrestart -p' 158s *** Running: 'checkrestart -p' 158s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s *** Looking for: '0 non-ignored' 158s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s ** PASS: 'checkrestart -p' (exit: 0) 158s 158s ** Testing: 'checkrestart -pv' 158s *** Running: 'checkrestart -pv' 158s (Found 1 process(es) using deleted files) 158s Ignoring program /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s *** Looking for: 'Ignoring program' 158s Ignoring program /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s ** PASS: 'checkrestart -pv' (exit: 0) 158s 158s ** Testing: 'checkrestart -pv' 158s *** Running: 'checkrestart -pv' 158s (Found 1 process(es) using deleted files) 158s Ignoring program /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s *** Looking for: '0 non-ignored' 158s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s ** PASS: 'checkrestart -pv' (exit: 0) 158s 158s ** Testing: 'checkrestart --all' 158s *** Running: 'checkrestart --all' 158s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s 158s The following are using deleted files but there is no suggested way to restart them: 158s Unpackaged: test-checkrestart: 158s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 158s 158s *** Looking for: '1 non-ignored ' 158s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s ** PASS: 'checkrestart --all' (exit: 1) 158s 158s ** Testing: 'checkrestart --all -f' 158s *** Running: 'checkrestart --all -f' 158s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 158s 158s The following are using deleted files but there is no suggested way to restart them: 158s Unpackaged: test-checkrestart: 158s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') is using the following deleted files: 158s /tmp/_checkrestart_test 158s /usr/lib/_checkrestart_test 158s 158s 158s *** Looking for: '/tmp/_checkrestart_test' 158s /tmp/_checkrestart_test 158s ** PASS: 'checkrestart --all -f' (exit: 1) 158s 158s ** Testing: 'checkrestart --all --machine' 158s *** Running: 'checkrestart --all --machine' 159s RESTART_NEEDED: 1 159s OTHER Unpackaged: test-checkrestart 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 159s *** Looking for: '^OTHER Unpackaged: test-checkrestart [0-9]+ /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (/usr)?/bin/bash \['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'\] Script$' 159s OTHER Unpackaged: test-checkrestart 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 159s ** PASS: 'checkrestart --all --machine' (exit: 1) 159s 159s ** Testing: 'checkrestart --all --verbose --machine' 159s *** Running: 'checkrestart --all --verbose --machine' 159s PROCESSES_ALL: 1 159s unpackaged Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 159s RESTART_NEEDED: 1 159s OTHER Unpackaged: test-checkrestart 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 159s file /tmp/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 159s file /usr/lib/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 159s *** Looking for: 'PROCESSES_ALL: 1' 159s PROCESSES_ALL: 1 159s ** PASS: 'checkrestart --all --verbose --machine' (exit: 1) 159s 159s ** Testing: 'checkrestart --all --machine -f' 159s *** Running: 'checkrestart --all --machine -f' 159s RESTART_NEEDED: 1 159s OTHER Unpackaged: test-checkrestart 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 159s file /tmp/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 159s file /usr/lib/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 159s *** Looking for: '^file /tmp/_checkrestart_test [0-9]+ /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (/usr)?/bin/bash \['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'\] Script$' 159s file /tmp/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 159s ** PASS: 'checkrestart --all --machine -f' (exit: 1) 159s 159s ** Testing: 'checkrestart -a -x package:^Unpackaged -d -x unit: -x suggested:. -x initscript:.' 159s *** Running: 'checkrestart -a -x package:^Unpackaged -d -x unit: -x suggested:. -x initscript:.' 159s Option -x; arg: unit: 159s Adding exclusion: unit: 159s Option -x; arg: suggested:. 159s Adding exclusion: file: suggested:. 159s Option -x; arg: initscript:. 159s Adding exclusion: file: initscript:. 159s Default blocklist: ['local-suggestions.conf', 'suggestions.conf'] 159s Using default blocklist: /etc/checkrestart/suggestions.conf 159s Reading blocklist file: /etc/checkrestart/suggestions.conf 159s Adding exclusion: dangerous-unit: ^gdm3?\.service$ 159s Adding exclusion: dangerous-unit: ^dbus\.service$ 159s Adding exclusion: dangerous-unit: ^systemd-logind\.service$ 159s Adding exclusion: dangerous-unit: ^console-getty\.service$ 159s Adding exclusion: dangerous-initscript: ^gdm$ 159s Adding exclusion: dangerous-initscript: ^dbus$ 159s Adding exclusion: suggested-initscript: \.sh$ 159s Adding exclusion: suggested-unit: ^console-getty\.service$ 159s Adding exclusion: suggested-unit: ^cryptdisks(-early)?\.service$ 159s Adding exclusion: suggested-unit: ^dbus-org\..+\.service$ 159s Adding exclusion: suggested-unit: ^debug-shell\.service$ 159s Adding exclusion: suggested-unit: ^emergency\.service$ 159s Adding exclusion: suggested-unit: ^fstrim\.service$ 159s Adding exclusion: suggested-unit: ^getty-static\.service$ 159s Adding exclusion: suggested-unit: ^hwclock\.service$ 159s Adding exclusion: suggested-unit: ^initrd-.+\.service$ 159s Adding exclusion: suggested-unit: ^kmod(-static-nodes)?\.service$ 159s Adding exclusion: suggested-unit: ^procps\.service$ 159s Adding exclusion: suggested-unit: ^quotaon\.service$ 159s Adding exclusion: suggested-unit: ^rc(|S|-local)\.service$ 159s Adding exclusion: suggested-unit: ^rescue\.service$ 159s Adding exclusion: suggested-unit: ^system-update-cleanup\.service$ 159s Adding exclusion: suggested-unit: ^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\.service$ 159s Adding exclusion: suggested-unit: ^systemd-ask-password.+\.service$ 159s Adding exclusion: suggested-unit: ^systemd-binfmt\.service$ 159s Adding exclusion: suggested-unit: ^systemd-bless-boot\.service$ 159s Adding exclusion: suggested-unit: ^systemd-boot-.+\.service$ 159s Adding exclusion: suggested-unit: ^systemd-fsck.*\.service$ 159s Adding exclusion: suggested-unit: ^systemd-hostnamed\.service$ 159s Adding exclusion: suggested-unit: ^systemd-initctl\.service$ 159s Adding exclusion: suggested-unit: ^systemd-journal-flush\.service$ 159s Adding exclusion: suggested-unit: ^systemd-kexec\.service$ 159s Adding exclusion: suggested-unit: ^systemd-machine-id-commit\.service$ 159s Adding exclusion: suggested-unit: ^systemd-modules-load\.service$ 159s Adding exclusion: suggested-unit: ^systemd-network-generator\.service$ 159s Adding exclusion: suggested-unit: ^systemd-networkd-wait-online\.service$ 159s Adding exclusion: suggested-unit: ^systemd-pstore\.service$ 159s Adding exclusion: suggested-unit: ^systemd-quotacheck\.service$ 159s Adding exclusion: suggested-unit: ^systemd-random-seed\.service$ 159s Adding exclusion: suggested-unit: ^systemd-remount-fs\.service$ 159s Adding exclusion: suggested-unit: ^systemd-rfkill\.service$ 159s Adding exclusion: suggested-unit: ^systemd-sysctl\.service$ 159s Adding exclusion: suggested-unit: ^systemd-sysusers\.service$ 159s Adding exclusion: suggested-unit: ^systemd-time-wait-sync\.service$ 159s Adding exclusion: suggested-unit: ^systemd-tmpfiles-.+$ 159s Adding exclusion: suggested-unit: ^systemd-update-.+$ 159s Adding exclusion: suggested-unit: ^systemd-user-sessions\.service$ 159s Adding exclusion: suggested-unit: ^systemd-volatile-root\.service$ 159s Adding exclusion: suggested-unit: ^x11-common\.service$ 159s Exclusions: defaultdict(, {'package:': [re.compile('^Unpackaged')], 'unit:': [re.compile('')], 'file:': [re.compile('suggested:.'), re.compile('initscript:.')]}) 159s 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$')]}) 159s Systemd: True 159s cgroups v2: False 159s Creating Process object for PID 1668 159s lsof reported that PID 1668 is using deleted file /tmp/_checkrestart_test; lsof data was: 'f3\x00k0\x00n/tmp/_checkrestart_test (deleted)' 159s lsof reported that PID 1668 is using deleted file /usr/lib/_checkrestart_test; lsof data was: 'f4\x00k0\x00n/usr/lib/_checkrestart_test (deleted)' 159s (Found 1 process(es) using deleted files) 159s program /usr/bin/bash (PID 1668) is a script 159s Set cmdline to: ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] for PID:1668 159s Found option '-ue' to /usr/bin/bash 159s Found option '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart' to /usr/bin/bash 159s PID 1668 (a /usr/bin/bash script) treated as if named: /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart 159s Looking for packages providing: dict_keys(['/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart']) 159s Running: ['dpkg-query', '--search', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] 159s dpkg-query: stderr: 'dpkg-query: no path found matching pattern /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart' 159s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 159s Exclusion found for package: Unpackaged: test-checkrestart using: re.compile('^Unpackaged') 159s Ignoring all (1) programs from package: Unpackaged: test-checkrestart 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s *** Looking for: '0 non-ignored ' 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s ** PASS: 'checkrestart -a -x package:^Unpackaged -d -x unit: -x suggested:. -x initscript:.' (exit: 0) 159s 159s ** Testing: 'checkrestart -a -x program:^/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart$ -d' 159s *** Running: 'checkrestart -a -x program:^/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart$ -d' 159s Default blocklist: ['local-suggestions.conf', 'suggestions.conf'] 159s Using default blocklist: /etc/checkrestart/suggestions.conf 159s Reading blocklist file: /etc/checkrestart/suggestions.conf 159s Adding exclusion: dangerous-unit: ^gdm3?\.service$ 159s Adding exclusion: dangerous-unit: ^dbus\.service$ 159s Adding exclusion: dangerous-unit: ^systemd-logind\.service$ 159s Adding exclusion: dangerous-unit: ^console-getty\.service$ 159s Adding exclusion: dangerous-initscript: ^gdm$ 159s Adding exclusion: dangerous-initscript: ^dbus$ 159s Adding exclusion: suggested-initscript: \.sh$ 159s Adding exclusion: suggested-unit: ^console-getty\.service$ 159s Adding exclusion: suggested-unit: ^cryptdisks(-early)?\.service$ 159s Adding exclusion: suggested-unit: ^dbus-org\..+\.service$ 159s Adding exclusion: suggested-unit: ^debug-shell\.service$ 159s Adding exclusion: suggested-unit: ^emergency\.service$ 159s Adding exclusion: suggested-unit: ^fstrim\.service$ 159s Adding exclusion: suggested-unit: ^getty-static\.service$ 159s Adding exclusion: suggested-unit: ^hwclock\.service$ 159s Adding exclusion: suggested-unit: ^initrd-.+\.service$ 159s Adding exclusion: suggested-unit: ^kmod(-static-nodes)?\.service$ 159s Adding exclusion: suggested-unit: ^procps\.service$ 159s Adding exclusion: suggested-unit: ^quotaon\.service$ 159s Adding exclusion: suggested-unit: ^rc(|S|-local)\.service$ 159s Adding exclusion: suggested-unit: ^rescue\.service$ 159s Adding exclusion: suggested-unit: ^system-update-cleanup\.service$ 159s Adding exclusion: suggested-unit: ^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\.service$ 159s Adding exclusion: suggested-unit: ^systemd-ask-password.+\.service$ 159s Adding exclusion: suggested-unit: ^systemd-binfmt\.service$ 159s Adding exclusion: suggested-unit: ^systemd-bless-boot\.service$ 159s Adding exclusion: suggested-unit: ^systemd-boot-.+\.service$ 159s Adding exclusion: suggested-unit: ^systemd-fsck.*\.service$ 159s Adding exclusion: suggested-unit: ^systemd-hostnamed\.service$ 159s Adding exclusion: suggested-unit: ^systemd-initctl\.service$ 159s Adding exclusion: suggested-unit: ^systemd-journal-flush\.service$ 159s Adding exclusion: suggested-unit: ^systemd-kexec\.service$ 159s Adding exclusion: suggested-unit: ^systemd-machine-id-commit\.service$ 159s Adding exclusion: suggested-unit: ^systemd-modules-load\.service$ 159s Adding exclusion: suggested-unit: ^systemd-network-generator\.service$ 159s Adding exclusion: suggested-unit: ^systemd-networkd-wait-online\.service$ 159s Adding exclusion: suggested-unit: ^systemd-pstore\.service$ 159s Adding exclusion: suggested-unit: ^systemd-quotacheck\.service$ 159s Adding exclusion: suggested-unit: ^systemd-random-seed\.service$ 159s Adding exclusion: suggested-unit: ^systemd-remount-fs\.service$ 159s Adding exclusion: suggested-unit: ^systemd-rfkill\.service$ 159s Adding exclusion: suggested-unit: ^systemd-sysctl\.service$ 159s Adding exclusion: suggested-unit: ^systemd-sysusers\.service$ 159s Adding exclusion: suggested-unit: ^systemd-time-wait-sync\.service$ 159s Adding exclusion: suggested-unit: ^systemd-tmpfiles-.+$ 159s Adding exclusion: suggested-unit: ^systemd-update-.+$ 159s Adding exclusion: suggested-unit: ^systemd-user-sessions\.service$ 159s Adding exclusion: suggested-unit: ^systemd-volatile-root\.service$ 159s Adding exclusion: suggested-unit: ^x11-common\.service$ 159s Exclusions: defaultdict(, {'program:': [re.compile('^/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart$')]}) 159s 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$')]}) 159s Systemd: True 159s cgroups v2: False 159s Creating Process object for PID 1668 159s lsof reported that PID 1668 is using deleted file /tmp/_checkrestart_test; lsof data was: 'f3\x00k0\x00n/tmp/_checkrestart_test (deleted)' 159s lsof reported that PID 1668 is using deleted file /usr/lib/_checkrestart_test; lsof data was: 'f4\x00k0\x00n/usr/lib/_checkrestart_test (deleted)' 159s (Found 1 process(es) using deleted files) 159s program /usr/bin/bash (PID 1668) is a script 159s Set cmdline to: ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] for PID:1668 159s Found option '-ue' to /usr/bin/bash 159s Found option '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart' to /usr/bin/bash 159s PID 1668 (a /usr/bin/bash script) treated as if named: /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart 159s Exclusion found for program: /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart using: re.compile('^/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart$') 159s Ignoring program /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s *** Looking for: '0 non-ignored ' 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s ** PASS: 'checkrestart -a -x program:^/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart$ -d' (exit: 0) 159s 159s ** Testing: 'checkrestart -a -x file:^/(tmp|usr/lib)/_checkrestart_test$ -d' 159s *** Running: 'checkrestart -a -x file:^/(tmp|usr/lib)/_checkrestart_test$ -d' 159s Default blocklist: ['local-suggestions.conf', 'suggestions.conf'] 159s Using default blocklist: /etc/checkrestart/suggestions.conf 159s Reading blocklist file: /etc/checkrestart/suggestions.conf 159s Adding exclusion: dangerous-unit: ^gdm3?\.service$ 159s Adding exclusion: dangerous-unit: ^dbus\.service$ 159s Adding exclusion: dangerous-unit: ^systemd-logind\.service$ 159s Adding exclusion: dangerous-unit: ^console-getty\.service$ 159s Adding exclusion: dangerous-initscript: ^gdm$ 159s Adding exclusion: dangerous-initscript: ^dbus$ 159s Adding exclusion: suggested-initscript: \.sh$ 159s Adding exclusion: suggested-unit: ^console-getty\.service$ 159s Adding exclusion: suggested-unit: ^cryptdisks(-early)?\.service$ 159s Adding exclusion: suggested-unit: ^dbus-org\..+\.service$ 159s Adding exclusion: suggested-unit: ^debug-shell\.service$ 159s Adding exclusion: suggested-unit: ^emergency\.service$ 159s Adding exclusion: suggested-unit: ^fstrim\.service$ 159s Adding exclusion: suggested-unit: ^getty-static\.service$ 159s Adding exclusion: suggested-unit: ^hwclock\.service$ 159s Adding exclusion: suggested-unit: ^initrd-.+\.service$ 159s Adding exclusion: suggested-unit: ^kmod(-static-nodes)?\.service$ 159s Adding exclusion: suggested-unit: ^procps\.service$ 159s Adding exclusion: suggested-unit: ^quotaon\.service$ 159s Adding exclusion: suggested-unit: ^rc(|S|-local)\.service$ 159s Adding exclusion: suggested-unit: ^rescue\.service$ 159s Adding exclusion: suggested-unit: ^system-update-cleanup\.service$ 159s Adding exclusion: suggested-unit: ^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\.service$ 159s Adding exclusion: suggested-unit: ^systemd-ask-password.+\.service$ 159s Adding exclusion: suggested-unit: ^systemd-binfmt\.service$ 159s Adding exclusion: suggested-unit: ^systemd-bless-boot\.service$ 159s Adding exclusion: suggested-unit: ^systemd-boot-.+\.service$ 159s Adding exclusion: suggested-unit: ^systemd-fsck.*\.service$ 159s Adding exclusion: suggested-unit: ^systemd-hostnamed\.service$ 159s Adding exclusion: suggested-unit: ^systemd-initctl\.service$ 159s Adding exclusion: suggested-unit: ^systemd-journal-flush\.service$ 159s Adding exclusion: suggested-unit: ^systemd-kexec\.service$ 159s Adding exclusion: suggested-unit: ^systemd-machine-id-commit\.service$ 159s Adding exclusion: suggested-unit: ^systemd-modules-load\.service$ 159s Adding exclusion: suggested-unit: ^systemd-network-generator\.service$ 159s Adding exclusion: suggested-unit: ^systemd-networkd-wait-online\.service$ 159s Adding exclusion: suggested-unit: ^systemd-pstore\.service$ 159s Adding exclusion: suggested-unit: ^systemd-quotacheck\.service$ 159s Adding exclusion: suggested-unit: ^systemd-random-seed\.service$ 159s Adding exclusion: suggested-unit: ^systemd-remount-fs\.service$ 159s Adding exclusion: suggested-unit: ^systemd-rfkill\.service$ 159s Adding exclusion: suggested-unit: ^systemd-sysctl\.service$ 159s Adding exclusion: suggested-unit: ^systemd-sysusers\.service$ 159s Adding exclusion: suggested-unit: ^systemd-time-wait-sync\.service$ 159s Adding exclusion: suggested-unit: ^systemd-tmpfiles-.+$ 159s Adding exclusion: suggested-unit: ^systemd-update-.+$ 159s Adding exclusion: suggested-unit: ^systemd-user-sessions\.service$ 159s Adding exclusion: suggested-unit: ^systemd-volatile-root\.service$ 159s Adding exclusion: suggested-unit: ^x11-common\.service$ 159s Exclusions: defaultdict(, {'file:': [re.compile('^/(tmp|usr/lib)/_checkrestart_test$')]}) 159s 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$')]}) 159s Systemd: True 159s cgroups v2: False 159s Creating Process object for PID 1668 159s lsof reported that PID 1668 is using deleted file /tmp/_checkrestart_test; lsof data was: 'f3\x00k0\x00n/tmp/_checkrestart_test (deleted)' 159s lsof reported that PID 1668 is using deleted file /usr/lib/_checkrestart_test; lsof data was: 'f4\x00k0\x00n/usr/lib/_checkrestart_test (deleted)' 159s (Found 1 process(es) using deleted files) 159s program /usr/bin/bash (PID 1668) is a script 159s Set cmdline to: ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] for PID:1668 159s Found option '-ue' to /usr/bin/bash 159s Found option '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart' to /usr/bin/bash 159s PID 1668 (a /usr/bin/bash script) treated as if named: /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart 159s Exclusion found for file: /usr/lib/_checkrestart_test using: re.compile('^/(tmp|usr/lib)/_checkrestart_test$') 159s Ignoring deleted file /usr/lib/_checkrestart_test: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 159s Exclusion found for file: /tmp/_checkrestart_test using: re.compile('^/(tmp|usr/lib)/_checkrestart_test$') 159s Ignoring deleted file /tmp/_checkrestart_test: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 159s Ignoring all files from: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s *** Looking for: '0 non-ignored ' 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s ** PASS: 'checkrestart -a -x file:^/(tmp|usr/lib)/_checkrestart_test$ -d' (exit: 0) 159s 159s ** Testing: 'checkrestart -a -x pid:^1668$ -d' 159s *** Running: 'checkrestart -a -x pid:^1668$ -d' 159s Default blocklist: ['local-suggestions.conf', 'suggestions.conf'] 159s Using default blocklist: /etc/checkrestart/suggestions.conf 159s Reading blocklist file: /etc/checkrestart/suggestions.conf 159s Adding exclusion: dangerous-unit: ^gdm3?\.service$ 159s Adding exclusion: dangerous-unit: ^dbus\.service$ 159s Adding exclusion: dangerous-unit: ^systemd-logind\.service$ 159s Adding exclusion: dangerous-unit: ^console-getty\.service$ 159s Adding exclusion: dangerous-initscript: ^gdm$ 159s Adding exclusion: dangerous-initscript: ^dbus$ 159s Adding exclusion: suggested-initscript: \.sh$ 159s Adding exclusion: suggested-unit: ^console-getty\.service$ 159s Adding exclusion: suggested-unit: ^cryptdisks(-early)?\.service$ 159s Adding exclusion: suggested-unit: ^dbus-org\..+\.service$ 159s Adding exclusion: suggested-unit: ^debug-shell\.service$ 159s Adding exclusion: suggested-unit: ^emergency\.service$ 159s Adding exclusion: suggested-unit: ^fstrim\.service$ 159s Adding exclusion: suggested-unit: ^getty-static\.service$ 159s Adding exclusion: suggested-unit: ^hwclock\.service$ 159s Adding exclusion: suggested-unit: ^initrd-.+\.service$ 159s Adding exclusion: suggested-unit: ^kmod(-static-nodes)?\.service$ 159s Adding exclusion: suggested-unit: ^procps\.service$ 159s Adding exclusion: suggested-unit: ^quotaon\.service$ 159s Adding exclusion: suggested-unit: ^rc(|S|-local)\.service$ 159s Adding exclusion: suggested-unit: ^rescue\.service$ 159s Adding exclusion: suggested-unit: ^system-update-cleanup\.service$ 159s Adding exclusion: suggested-unit: ^systemd-(hibernate|poweroff|suspend(-then-hibernate)?|hybrid-sleep|exit|halt|reboot)\.service$ 159s Adding exclusion: suggested-unit: ^systemd-ask-password.+\.service$ 159s Adding exclusion: suggested-unit: ^systemd-binfmt\.service$ 159s Adding exclusion: suggested-unit: ^systemd-bless-boot\.service$ 159s Adding exclusion: suggested-unit: ^systemd-boot-.+\.service$ 159s Adding exclusion: suggested-unit: ^systemd-fsck.*\.service$ 159s Adding exclusion: suggested-unit: ^systemd-hostnamed\.service$ 159s Adding exclusion: suggested-unit: ^systemd-initctl\.service$ 159s Adding exclusion: suggested-unit: ^systemd-journal-flush\.service$ 159s Adding exclusion: suggested-unit: ^systemd-kexec\.service$ 159s Adding exclusion: suggested-unit: ^systemd-machine-id-commit\.service$ 159s Adding exclusion: suggested-unit: ^systemd-modules-load\.service$ 159s Adding exclusion: suggested-unit: ^systemd-network-generator\.service$ 159s Adding exclusion: suggested-unit: ^systemd-networkd-wait-online\.service$ 159s Adding exclusion: suggested-unit: ^systemd-pstore\.service$ 159s Adding exclusion: suggested-unit: ^systemd-quotacheck\.service$ 159s Adding exclusion: suggested-unit: ^systemd-random-seed\.service$ 159s Adding exclusion: suggested-unit: ^systemd-remount-fs\.service$ 159s Adding exclusion: suggested-unit: ^systemd-rfkill\.service$ 159s Adding exclusion: suggested-unit: ^systemd-sysctl\.service$ 159s Adding exclusion: suggested-unit: ^systemd-sysusers\.service$ 159s Adding exclusion: suggested-unit: ^systemd-time-wait-sync\.service$ 159s Adding exclusion: suggested-unit: ^systemd-tmpfiles-.+$ 159s Adding exclusion: suggested-unit: ^systemd-update-.+$ 159s Adding exclusion: suggested-unit: ^systemd-user-sessions\.service$ 159s Adding exclusion: suggested-unit: ^systemd-volatile-root\.service$ 159s Adding exclusion: suggested-unit: ^x11-common\.service$ 159s Exclusions: defaultdict(, {'pid:': [re.compile('^1668$')]}) 159s 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$')]}) 159s Systemd: True 159s cgroups v2: False 159s Creating Process object for PID 1668 159s lsof reported that PID 1668 is using deleted file /tmp/_checkrestart_test; lsof data was: 'f3\x00k0\x00n/tmp/_checkrestart_test (deleted)' 159s lsof reported that PID 1668 is using deleted file /usr/lib/_checkrestart_test; lsof data was: 'f4\x00k0\x00n/usr/lib/_checkrestart_test (deleted)' 159s (Found 1 process(es) using deleted files) 159s program /usr/bin/bash (PID 1668) is a script 159s Set cmdline to: ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] for PID:1668 159s Found option '-ue' to /usr/bin/bash 159s Found option '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart' to /usr/bin/bash 159s PID 1668 (a /usr/bin/bash script) treated as if named: /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart 159s Exclusion found for pid: 1668 using: re.compile('^1668$') 159s Ignoring PID 1668: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s *** Looking for: '0 non-ignored ' 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s ** PASS: 'checkrestart -a -x pid:^1668$ -d' (exit: 0) 159s 159s ** Testing: 'checkrestart --all -p' 159s *** Running: 'checkrestart --all -p' 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s *** Looking for: '0 non-ignored ' 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s ** PASS: 'checkrestart --all -p' (exit: 0) 159s 159s ** Testing: 'checkrestart -p -a' 159s *** Running: 'checkrestart -p -a' 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s *** Looking for: '0 non-ignored ' 159s 0 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s ** PASS: 'checkrestart -p -a' (exit: 0) 159s 159s ** Testing: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list --all' 159s *** Running: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list --all' 159s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s 159s The following are using deleted files but there is no suggested way to restart them: 159s Unpackaged: test-checkrestart: 159s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 159s 159s *** Looking for: '1 non-ignored ' 159s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s ** PASS: 'checkrestart -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list --all' (exit: 1) 159s 159s ** Testing: 'checkrestart --all -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list -v' 159s *** Running: 'checkrestart --all -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list -v' 159s (Found 1 process(es) using deleted files) 159s Ignoring deleted file /usr/lib/_checkrestart_test: Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 159s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') is not part of any package or systemd unit 159s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 159s 159s The following are using deleted files but there is no suggested way to restart them: 159s Unpackaged: test-checkrestart: 159s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') is using the following deleted files: 159s /tmp/_checkrestart_test 159s 159s 159s *** Looking for: '/tmp/_checkrestart_test' 159s /tmp/_checkrestart_test 159s ** PASS: 'checkrestart --all -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list -v' (exit: 1) 159s 159s ** Testing: 'checkrestart --machine --verbose -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list -a' 159s *** Running: 'checkrestart --machine --verbose -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list -a' 160s PROCESSES_ALL: 1 160s unpackaged Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 160s RESTART_NEEDED: 1 160s OTHER Unpackaged: test-checkrestart 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 160s file /tmp/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 160s file /usr/lib/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 160s *** Looking for: '^file /usr/lib/_checkrestart_test [0-9]+ /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (/usr)?/bin/bash \['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'\] Script$' 160s file /usr/lib/_checkrestart_test 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 160s ** PASS: 'checkrestart --machine --verbose -b /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/files-to-ignore.list -a' (exit: 1) 160s 160s ** Testing: 'checkrestart ' 160s *** Running: 'checkrestart ' 160s The system needs rebooting: (/run/reboot-required exists but there is no /run/reboot-required.pkgs, so we do not know why) 160s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 160s 160s The following are using deleted files but there is no suggested way to restart them: 160s Unpackaged: test-checkrestart: 160s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 160s 160s *** Looking for: 'needs rebooting' 160s The system needs rebooting: (/run/reboot-required exists but there is no /run/reboot-required.pkgs, so we do not know why) 160s ** PASS: 'checkrestart ' (exit: 1) 160s 160s ** Testing: 'checkrestart ' 160s *** Running: 'checkrestart ' 160s The system needs rebooting: (/run/reboot-required exists but there is no /run/reboot-required.pkgs, so we do not know why) 160s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 160s 160s The following are using deleted files but there is no suggested way to restart them: 160s Unpackaged: test-checkrestart: 160s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 160s 160s *** Looking for: '^1 non-ignored' 160s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 160s ** PASS: 'checkrestart ' (exit: 1) 160s 160s ** Testing: 'checkrestart -t' 160s *** Running: 'checkrestart -t' 160s 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)) 160s *** Looking for: 'needs rebooting' 160s 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)) 160s ** PASS: 'checkrestart -t' (exit: 1) 160s 160s ** Testing: 'checkrestart -t' 160s *** Running: 'checkrestart -t' 160s 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)) 160s *** Looking for: '; 1 non-ignored' 160s 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)) 160s ** PASS: 'checkrestart -t' (exit: 1) 160s 160s ** Testing: 'checkrestart -m' 160s *** Running: 'checkrestart -m' 160s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs 160s RESTART_NEEDED: 1 160s OTHER Unpackaged: test-checkrestart 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 160s *** Looking for: 'REBOOT_NEEDED: Yes; MISSING' 160s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs 160s ** PASS: 'checkrestart -m' (exit: 1) 160s 160s ** Testing: 'checkrestart -m' 160s *** Running: 'checkrestart -m' 160s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs 160s RESTART_NEEDED: 1 160s OTHER Unpackaged: test-checkrestart 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 160s *** Looking for: 'RESTART_NEEDED: 1' 160s RESTART_NEEDED: 1 160s ** PASS: 'checkrestart -m' (exit: 1) 160s 160s ** Testing: 'checkrestart -tm' 160s *** Running: 'checkrestart -tm' 160s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs; RESTART_NEEDED: 1 160s *** Looking for: 'REBOOT_NEEDED: Yes; MISSING' 160s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs; RESTART_NEEDED: 1 160s ** PASS: 'checkrestart -tm' (exit: 1) 160s 160s ** Testing: 'checkrestart -m' 160s *** Running: 'checkrestart -m' 160s REBOOT_NEEDED: Yes; MISSING: /run/reboot-required.pkgs 160s RESTART_NEEDED: 1 160s OTHER Unpackaged: test-checkrestart 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 160s *** Looking for: 'RESTART_NEEDED: 1' 160s RESTART_NEEDED: 1 160s ** PASS: 'checkrestart -m' (exit: 1) 160s 160s ** Testing: 'checkrestart -m' 160s *** Running: 'checkrestart -m' 160s REBOOT_NEEDED: Yes 160s REQUESTED_REBOOT: aaaa 160s REQUESTED_REBOOT: bbbb 160s RESTART_NEEDED: 1 160s OTHER Unpackaged: test-checkrestart 1668 /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart /usr/bin/bash ['/bin/bash', '-ue', '/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart'] Script 160s *** Looking for: 'REQUESTED_REBOOT: bbbb' 160s REQUESTED_REBOOT: bbbb 160s ** PASS: 'checkrestart -m' (exit: 1) 160s 160s ** Testing: 'checkrestart ' 160s *** Running: 'checkrestart ' 161s The system needs rebooting. The following packages have indicated that a reboot is required: 161s aaaa 161s bbbb 161s 161s 1 non-ignored program(s) or unit(s) need restarting (see checkrestart(8)) 161s 161s The following are using deleted files but there is no suggested way to restart them: 161s Unpackaged: test-checkrestart: 161s Script /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart (PID: 1668, EXE: '/usr/bin/bash', CMDLINE: '/bin/bash -ue /tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart') 161s 161s *** Looking for: '^ aaaa$' 161s aaaa 161s ** PASS: 'checkrestart ' (exit: 1) 161s 161s * Testsuite ended (/tmp/autopkgtest.XDpio3/build.IA9/src/debian/tests/test-checkrestart) 161s Cleaning up 161s DONE. 161s autopkgtest [02:28:08]: test test-checkrestart: -----------------------] 161s test-checkrestart PASS 161s autopkgtest [02:28:08]: test test-checkrestart: - - - - - - - - - - results - - - - - - - - - - 162s autopkgtest [02:28:09]: @@@@@@@@@@@@@@@@@@@@ summary 162s test-checkrestart PASS