0s autopkgtest [10:39:24]: starting date and time: 2024-04-12 10:39:24+0000 0s autopkgtest [10:39:24]: git checkout: 43bc6cdf gitlab-ci: do not include the salsa pipeline 0s autopkgtest [10:39:24]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.foz_0ssd/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:distro-info --apt-upgrade apt-clone --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=distro-info/1.7build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@lcy02-27.secgroup --name adt-noble-amd64-apt-clone-20240412-103924-juju-7f2275-prod-proposed-migration-environment-3-4115736a-9c87-4774-93a0-c24435712354 --image adt/ubuntu-noble-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 108s autopkgtest [10:41:12]: testbed dpkg architecture: amd64 108s autopkgtest [10:41:12]: testbed apt version: 2.7.14build2 108s autopkgtest [10:41:12]: @@@@@@@@@@@@@@@@@@@@ test bed setup 108s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 108s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [598 kB] 108s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [5788 B] 108s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [13.2 kB] 108s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [286 kB] 108s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main i386 Packages [257 kB] 108s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 Packages [356 kB] 108s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 c-n-f Metadata [3508 B] 108s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 Packages [71.2 kB] 108s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/restricted i386 Packages [6228 B] 108s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 c-n-f Metadata [116 B] 108s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/universe i386 Packages [380 kB] 108s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 Packages [726 kB] 108s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 c-n-f Metadata [9396 B] 108s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 Packages [3840 B] 108s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/multiverse i386 Packages [1056 B] 108s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 c-n-f Metadata [196 B] 110s Fetched 2835 kB in 1s (4425 kB/s) 110s Reading package lists... 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s Calculating upgrade... 113s The following packages will be upgraded: 113s amd64-microcode bcache-tools bpftrace cloud-init distro-info eatmydata 113s grub-gfxpayload-lists hostname htop iucode-tool libattr1 libeatmydata1 113s mokutil nano pci.ids sbsigntool secureboot-db tzdata ufw usb.ids 113s 20 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s Need to get 3395 kB of archives. 113s After this operation, 9216 B of additional disk space will be used. 113s Get:1 http://ftpmaster.internal/ubuntu noble/main amd64 hostname amd64 3.23+nmu2ubuntu2 [11.1 kB] 113s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 libattr1 amd64 1:2.5.2-1build1 [11.3 kB] 113s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 distro-info amd64 1.7build1 [19.9 kB] 113s Get:4 http://ftpmaster.internal/ubuntu noble/main amd64 tzdata all 2024a-2ubuntu1 [273 kB] 113s Get:5 http://ftpmaster.internal/ubuntu noble/main amd64 nano amd64 7.2-2build1 [281 kB] 113s Get:6 http://ftpmaster.internal/ubuntu noble/main amd64 pci.ids all 0.0~2024.03.31-1 [275 kB] 113s Get:7 http://ftpmaster.internal/ubuntu noble/main amd64 ufw all 0.36.2-6 [169 kB] 113s Get:8 http://ftpmaster.internal/ubuntu noble/main amd64 usb.ids all 2024.03.18-1 [223 kB] 113s Get:9 http://ftpmaster.internal/ubuntu noble/main amd64 bcache-tools amd64 1.0.8-5build1 [19.8 kB] 113s Get:10 http://ftpmaster.internal/ubuntu noble/main amd64 bpftrace amd64 0.20.2-1ubuntu4 [1011 kB] 113s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 libeatmydata1 amd64 131-1ubuntu1 [7438 B] 113s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 eatmydata all 131-1ubuntu1 [5584 B] 113s Get:13 http://ftpmaster.internal/ubuntu noble/main amd64 grub-gfxpayload-lists amd64 0.7build2 [3518 B] 113s Get:14 http://ftpmaster.internal/ubuntu noble/main amd64 htop amd64 3.3.0-4build1 [171 kB] 113s Get:15 http://ftpmaster.internal/ubuntu noble/main amd64 iucode-tool amd64 2.3.1-3build1 [43.9 kB] 113s Get:16 http://ftpmaster.internal/ubuntu noble/main amd64 mokutil amd64 0.6.0-2build3 [26.8 kB] 113s Get:17 http://ftpmaster.internal/ubuntu noble/main amd64 sbsigntool amd64 0.9.4-3.1ubuntu7 [52.4 kB] 113s Get:18 http://ftpmaster.internal/ubuntu noble/main amd64 secureboot-db amd64 1.9build1 [19.0 kB] 113s Get:19 http://ftpmaster.internal/ubuntu noble/main amd64 amd64-microcode amd64 3.20231019.1ubuntu2 [173 kB] 113s Get:20 http://ftpmaster.internal/ubuntu noble/main amd64 cloud-init all 24.1.3-0ubuntu3 [598 kB] 113s Preconfiguring packages ... 114s Fetched 3395 kB in 0s (34.3 MB/s) 114s (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 ... 73743 files and directories currently installed.) 114s Preparing to unpack .../hostname_3.23+nmu2ubuntu2_amd64.deb ... 114s Unpacking hostname (3.23+nmu2ubuntu2) over (3.23+nmu2ubuntu1) ... 114s Setting up hostname (3.23+nmu2ubuntu2) ... 114s (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 ... 73743 files and directories currently installed.) 114s Preparing to unpack .../libattr1_1%3a2.5.2-1build1_amd64.deb ... 114s Unpacking libattr1:amd64 (1:2.5.2-1build1) over (1:2.5.2-1) ... 114s Setting up libattr1:amd64 (1:2.5.2-1build1) ... 114s (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 ... 73743 files and directories currently installed.) 114s Preparing to unpack .../00-distro-info_1.7build1_amd64.deb ... 114s Unpacking distro-info (1.7build1) over (1.7) ... 114s Preparing to unpack .../01-tzdata_2024a-2ubuntu1_all.deb ... 114s Unpacking tzdata (2024a-2ubuntu1) over (2024a-1ubuntu1) ... 114s Preparing to unpack .../02-nano_7.2-2build1_amd64.deb ... 114s Unpacking nano (7.2-2build1) over (7.2-2) ... 114s Preparing to unpack .../03-pci.ids_0.0~2024.03.31-1_all.deb ... 114s Unpacking pci.ids (0.0~2024.03.31-1) over (0.0~2024.02.02-1) ... 114s Preparing to unpack .../04-ufw_0.36.2-6_all.deb ... 115s Unpacking ufw (0.36.2-6) over (0.36.2-5) ... 115s Preparing to unpack .../05-usb.ids_2024.03.18-1_all.deb ... 115s Unpacking usb.ids (2024.03.18-1) over (2024.01.30-1) ... 115s Preparing to unpack .../06-bcache-tools_1.0.8-5build1_amd64.deb ... 115s Unpacking bcache-tools (1.0.8-5build1) over (1.0.8-5) ... 115s Preparing to unpack .../07-bpftrace_0.20.2-1ubuntu4_amd64.deb ... 115s Unpacking bpftrace (0.20.2-1ubuntu4) over (0.20.2-1ubuntu3) ... 115s Preparing to unpack .../08-libeatmydata1_131-1ubuntu1_amd64.deb ... 115s Unpacking libeatmydata1:amd64 (131-1ubuntu1) over (131-1) ... 115s Preparing to unpack .../09-eatmydata_131-1ubuntu1_all.deb ... 115s Unpacking eatmydata (131-1ubuntu1) over (131-1) ... 115s Preparing to unpack .../10-grub-gfxpayload-lists_0.7build2_amd64.deb ... 115s Unpacking grub-gfxpayload-lists (0.7build2) over (0.7build1) ... 122s Preparing to unpack .../11-htop_3.3.0-4build1_amd64.deb ... 122s Unpacking htop (3.3.0-4build1) over (3.3.0-4) ... 122s Preparing to unpack .../12-iucode-tool_2.3.1-3build1_amd64.deb ... 122s Unpacking iucode-tool (2.3.1-3build1) over (2.3.1-3) ... 122s Preparing to unpack .../13-mokutil_0.6.0-2build3_amd64.deb ... 122s Unpacking mokutil (0.6.0-2build3) over (0.6.0-2build2) ... 122s Preparing to unpack .../14-sbsigntool_0.9.4-3.1ubuntu7_amd64.deb ... 122s Unpacking sbsigntool (0.9.4-3.1ubuntu7) over (0.9.4-3.1ubuntu6) ... 122s Preparing to unpack .../15-secureboot-db_1.9build1_amd64.deb ... 122s Unpacking secureboot-db (1.9build1) over (1.9) ... 122s Preparing to unpack .../16-amd64-microcode_3.20231019.1ubuntu2_amd64.deb ... 122s Unpacking amd64-microcode (3.20231019.1ubuntu2) over (3.20231019.1ubuntu1) ... 122s Preparing to unpack .../17-cloud-init_24.1.3-0ubuntu3_all.deb ... 122s Unpacking cloud-init (24.1.3-0ubuntu3) over (24.1.3-0ubuntu2) ... 122s Setting up distro-info (1.7build1) ... 122s Setting up bcache-tools (1.0.8-5build1) ... 122s Setting up pci.ids (0.0~2024.03.31-1) ... 122s Setting up cloud-init (24.1.3-0ubuntu3) ... 122s Setting up mokutil (0.6.0-2build3) ... 122s Setting up bpftrace (0.20.2-1ubuntu4) ... 122s Setting up iucode-tool (2.3.1-3build1) ... 122s Setting up htop (3.3.0-4build1) ... 122s Setting up ufw (0.36.2-6) ... 122s Setting up amd64-microcode (3.20231019.1ubuntu2) ... 122s update-initramfs: deferring update (trigger activated) 122s amd64-microcode: microcode will be updated at next boot 122s Setting up tzdata (2024a-2ubuntu1) ... 122s 122s Current default time zone: 'Etc/UTC' 122s Local time is now: Fri Apr 12 10:41:23 UTC 2024. 122s Universal Time is now: Fri Apr 12 10:41:23 UTC 2024. 122s Run 'dpkg-reconfigure tzdata' if you wish to change it. 122s 122s Setting up grub-gfxpayload-lists (0.7build2) ... 122s Setting up usb.ids (2024.03.18-1) ... 122s Setting up nano (7.2-2build1) ... 122s Setting up libeatmydata1:amd64 (131-1ubuntu1) ... 122s Setting up sbsigntool (0.9.4-3.1ubuntu7) ... 122s Setting up eatmydata (131-1ubuntu1) ... 122s Setting up secureboot-db (1.9build1) ... 122s Processing triggers for install-info (7.1-3build2) ... 122s Processing triggers for initramfs-tools (0.142ubuntu24) ... 122s update-initramfs: Generating /boot/initrd.img-6.8.0-22-generic 122s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 134s Processing triggers for libc-bin (2.39-0ubuntu8) ... 134s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 134s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 134s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 134s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 134s Processing triggers for rsyslog (8.2312.0-3ubuntu8) ... 134s Processing triggers for man-db (2.12.0-4build1) ... 134s Reading package lists... 134s Building dependency tree... 134s Reading state information... 134s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 134s Reading package lists... 134s Building dependency tree...Reading package lists... 134s 134s Reading state information... 135s Calculating upgrade... 135s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 135s Reading package lists... 135s Building dependency tree... 135s Reading state information... 136s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 136s autopkgtest [10:41:40]: rebooting testbed after setup commands that affected boot 297s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 321s autopkgtest [10:44:42]: testbed running kernel: Linux 6.8.0-22-generic #22-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 22:30:32 UTC 2024 321s autopkgtest [10:44:45]: @@@@@@@@@@@@@@@@@@@@ apt-source apt-clone 322s Get:1 http://ftpmaster.internal/ubuntu noble/universe apt-clone 0.4.3+nmu2ubuntu1 (dsc) [1773 B] 322s Get:2 http://ftpmaster.internal/ubuntu noble/universe apt-clone 0.4.3+nmu2ubuntu1 (tar) [460 kB] 322s gpgv: Signature made Thu Mar 28 19:12:31 2024 UTC 322s gpgv: using RSA key CED62F17BB727A48FC50762E2A15898770574541 322s gpgv: Can't check signature: No public key 322s dpkg-source: warning: cannot verify inline signature for ./apt-clone_0.4.3+nmu2ubuntu1.dsc: no acceptable signature found 322s autopkgtest [10:44:46]: testing package apt-clone version 0.4.3+nmu2ubuntu1 323s autopkgtest [10:44:47]: build not needed 337s autopkgtest [10:45:01]: test run-tests: preparing testbed 344s Reading package lists... 345s Building dependency tree... 345s Reading state information... 346s Starting pkgProblemResolver with broken count: 0 346s Starting 2 pkgProblemResolver with broken count: 0 346s Done 346s The following additional packages will be installed: 346s apt-clone pycodestyle pyflakes3 python3-distro-info python3-mock 346s python3-pycodestyle python3-pyflakes 346s Suggested packages: 346s python-mock-doc 346s Recommended packages: 346s dpkg-repack 346s The following NEW packages will be installed: 346s apt-clone autopkgtest-satdep pycodestyle pyflakes3 python3-distro-info 346s python3-mock python3-pycodestyle python3-pyflakes 346s 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. 346s Need to get 176 kB/177 kB of archives. 346s After this operation, 999 kB of additional disk space will be used. 346s Get:1 /tmp/autopkgtest.eVDSKa/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [760 B] 346s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 python3-distro-info all 1.7build1 [7076 B] 346s Get:3 http://ftpmaster.internal/ubuntu noble/universe amd64 python3-pycodestyle all 2.11.1-1 [29.9 kB] 346s Get:4 http://ftpmaster.internal/ubuntu noble/universe amd64 pycodestyle all 2.11.1-1 [5260 B] 346s Get:5 http://ftpmaster.internal/ubuntu noble/universe amd64 python3-pyflakes all 3.2.0-1 [52.8 kB] 346s Get:6 http://ftpmaster.internal/ubuntu noble/universe amd64 pyflakes3 all 3.2.0-1 [3480 B] 346s Get:7 http://ftpmaster.internal/ubuntu noble/universe amd64 apt-clone all 0.4.3+nmu2ubuntu1 [13.5 kB] 346s Get:8 http://ftpmaster.internal/ubuntu noble/universe amd64 python3-mock all 5.1.0-1 [64.1 kB] 346s Fetched 176 kB in 0s (4299 kB/s) 346s Selecting previously unselected package python3-distro-info. 347s (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 ... 73742 files and directories currently installed.) 347s Preparing to unpack .../0-python3-distro-info_1.7build1_all.deb ... 347s Unpacking python3-distro-info (1.7build1) ... 347s Selecting previously unselected package python3-pycodestyle. 347s Preparing to unpack .../1-python3-pycodestyle_2.11.1-1_all.deb ... 347s Unpacking python3-pycodestyle (2.11.1-1) ... 347s Selecting previously unselected package pycodestyle. 347s Preparing to unpack .../2-pycodestyle_2.11.1-1_all.deb ... 347s Unpacking pycodestyle (2.11.1-1) ... 347s Selecting previously unselected package python3-pyflakes. 347s Preparing to unpack .../3-python3-pyflakes_3.2.0-1_all.deb ... 347s Unpacking python3-pyflakes (3.2.0-1) ... 347s Selecting previously unselected package pyflakes3. 347s Preparing to unpack .../4-pyflakes3_3.2.0-1_all.deb ... 347s Unpacking pyflakes3 (3.2.0-1) ... 347s Selecting previously unselected package apt-clone. 347s Preparing to unpack .../5-apt-clone_0.4.3+nmu2ubuntu1_all.deb ... 347s Unpacking apt-clone (0.4.3+nmu2ubuntu1) ... 347s Selecting previously unselected package python3-mock. 347s Preparing to unpack .../6-python3-mock_5.1.0-1_all.deb ... 347s Unpacking python3-mock (5.1.0-1) ... 347s Selecting previously unselected package autopkgtest-satdep. 347s Preparing to unpack .../7-1-autopkgtest-satdep.deb ... 347s Unpacking autopkgtest-satdep (0) ... 347s Setting up python3-pyflakes (3.2.0-1) ... 347s Setting up apt-clone (0.4.3+nmu2ubuntu1) ... 347s Setting up python3-mock (5.1.0-1) ... 348s Setting up python3-pycodestyle (2.11.1-1) ... 348s Setting up python3-distro-info (1.7build1) ... 348s Setting up pycodestyle (2.11.1-1) ... 348s Setting up pyflakes3 (3.2.0-1) ... 348s Setting up autopkgtest-satdep (0) ... 348s Processing triggers for man-db (2.12.0-4build1) ... 366s (Reading database ... 73840 files and directories currently installed.) 366s Removing autopkgtest-satdep (0) ... 366s autopkgtest [10:45:30]: test run-tests: [----------------------- 366s if find \! -user $USER | grep -q .; then \ 366s sudo chown -R $USER:$USER .; \ 366s fi 366s pyflakes3 ../apt-clone ../apt_clone.py 366s set -e; for f in *.py; do \ 366s for ver in python3; do \ 366s PYTHONPATH=.. $ver $f -v 2>&1; \ 366s done; \ 366s done; \ 366s # cruft from the tests 366s test_modified_conffiles (__main__.TestClone.test_modified_conffiles) ... /usr/lib/python3.12/unittest/case.py:589: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 mode='w' encoding='UTF-8'> 366s if method() is not None: 366s ResourceWarning: Enable tracemalloc to get the object allocation traceback 366s /usr/lib/python3.12/unittest/case.py:589: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='r' encoding='UTF-8'> 366s if method() is not None: 366s ResourceWarning: Enable tracemalloc to get the object allocation traceback 366s ok 366s test_restore_state (__main__.TestClone.test_restore_state) ... /usr/lib/python3.12/tarfile.py:2221: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior. 366s warnings.warn( 366s /usr/lib/python3/dist-packages/mock/mock.py:1452: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 mode='w' encoding='UTF-8'> 366s return func(*newargs, **newkeywargs) 366s ResourceWarning: Enable tracemalloc to get the object allocation traceback 366s /usr/lib/python3/dist-packages/mock/mock.py:1452: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='r' encoding='UTF-8'> 366s return func(*newargs, **newkeywargs) 366s ResourceWarning: Enable tracemalloc to get the object allocation traceback 366s ok 366s test_restore_state_on_new_distro_release_livecd (__main__.TestClone.test_restore_state_on_new_distro_release_livecd) 367s test lucid -> maverick apt-clone-ugprade as if it will be used ... ok 367s test_restore_state_simulate (__main__.TestClone.test_restore_state_simulate) ... /usr/lib/python3/dist-packages/apt/cache.py:215: Warning: W:Unable to read /tmp/tmpqsxkb1pn/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory) 367s self._depcache = apt_pkg.DepCache(self._cache) 367s /usr/lib/python3/dist-packages/apt/cache.py:215: Warning: W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W:Unable to read /tmp/tmpqsxkb1pn/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory) 367s self._depcache = apt_pkg.DepCache(self._cache) 367s ok 368s test_restore_state_simulate_with_new_release (__main__.TestClone.test_restore_state_simulate_with_new_release) ... ok 368s test_restore_state_with_not_downloadable_debs (__main__.TestClone.test_restore_state_with_not_downloadable_debs) ... ok 368s test_save_state (__main__.TestClone.test_save_state) ... /tmp/autopkgtest.eVDSKa/build.Ijm/src/tests/test_clone.py:54: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 mode='w' encoding='UTF-8'> 368s self._save_state(False) 368s ResourceWarning: Enable tracemalloc to get the object allocation traceback 368s /tmp/autopkgtest.eVDSKa/build.Ijm/src/tests/test_clone.py:54: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='r' encoding='UTF-8'> 368s self._save_state(False) 368s ResourceWarning: Enable tracemalloc to get the object allocation traceback 368s ok 368s test_save_state_with_dpkg_repack (__main__.TestClone.test_save_state_with_dpkg_repack) ... /tmp/autopkgtest.eVDSKa/build.Ijm/src/tests/test_clone.py:58: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 mode='w' encoding='UTF-8'> 368s self._save_state(True) 368s ResourceWarning: Enable tracemalloc to get the object allocation traceback 368s /tmp/autopkgtest.eVDSKa/build.Ijm/src/tests/test_clone.py:58: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='r' encoding='UTF-8'> 368s self._save_state(True) 368s ResourceWarning: Enable tracemalloc to get the object allocation traceback 368s ok 368s test_unowned_in_etc (__main__.TestClone.test_unowned_in_etc) ... FAIL 368s 368s ====================================================================== 368s FAIL: test_unowned_in_etc (__main__.TestClone.test_unowned_in_etc) 368s ---------------------------------------------------------------------- 368s Traceback (most recent call last): 368s File "/tmp/autopkgtest.eVDSKa/build.Ijm/src/tests/test_clone.py", line 194, in test_unowned_in_etc 368s self.assertTrue("/etc/apt/sources.list" in unowned) 368s AssertionError: False is not true 368s 368s ---------------------------------------------------------------------- 368s Ran 9 tests in 1.811s 368s 368s FAILED (failures=1) 368s make: *** [Makefile:7: test] Error 1 369s autopkgtest [10:45:33]: test run-tests: -----------------------] 369s autopkgtest [10:45:33]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 369s run-tests FAIL non-zero exit status 2 369s autopkgtest [10:45:33]: test run-tests: - - - - - - - - - - stderr - - - - - - - - - - 369s make: *** [Makefile:7: test] Error 1 369s autopkgtest [10:45:33]: @@@@@@@@@@@@@@@@@@@@ summary 369s run-tests FAIL non-zero exit status 2 385s Creating nova instance adt-noble-amd64-apt-clone-20240412-103924-juju-7f2275-prod-proposed-migration-environment-3-4115736a-9c87-4774-93a0-c24435712354 from image adt/ubuntu-noble-amd64-server-20240411.img (UUID 6d9ea21b-1933-4bdf-b705-2d90a0ab332f)...