0s autopkgtest [03:38:06]: starting date and time: 2024-04-11 03:38:06+0000 0s autopkgtest [03:38:06]: git checkout: 43bc6cdf gitlab-ci: do not include the salsa pipeline 0s autopkgtest [03:38:06]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.g1_3km_z/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-2@bos01-ppc64el-6.secgroup --name adt-noble-ppc64el-apt-clone-20240411-033758-juju-7f2275-prod-proposed-migration-environment-2-9caba441-a226-4528-8faf-3595dcf8da86 --image adt/ubuntu-noble-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --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://us.ports.ubuntu.com/ubuntu-ports/ 115s autopkgtest [03:40:01]: testbed dpkg architecture: ppc64el 115s autopkgtest [03:40:01]: testbed apt version: 2.7.14build2 115s autopkgtest [03:40:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 116s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 116s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [330 kB] 117s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [643 kB] 117s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [6428 B] 117s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [7108 B] 117s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [333 kB] 117s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 117s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1368 B] 117s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 117s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [724 kB] 117s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 117s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [3312 B] 117s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 120s Fetched 2178 kB in 1s (1986 kB/s) 120s Reading package lists... 131s Reading package lists... 131s Building dependency tree... 131s Reading state information... 132s Calculating upgrade... 132s The following packages will be upgraded: 132s distro-info 135s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 135s Need to get 20.1 kB of archives. 135s After this operation, 0 B of additional disk space will be used. 135s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el distro-info ppc64el 1.7build1 [20.1 kB] 135s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 135s Fetched 20.1 kB in 0s (86.6 kB/s) 135s (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 ... 71991 files and directories currently installed.) 135s Preparing to unpack .../distro-info_1.7build1_ppc64el.deb ... 135s Unpacking distro-info (1.7build1) over (1.7) ... 135s Setting up distro-info (1.7build1) ... 135s Processing triggers for man-db (2.12.0-4build1) ... 135s Reading package lists... 135s Building dependency tree... 135s Reading state information... 135s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 135s Reading package lists... 135s Building dependency tree...Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 135s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 135s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 135s Reading package lists... 135s 135s Reading state information... 135s Calculating upgrade... 135s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 135s Reading package lists... 136s Building dependency tree... 136s Reading state information... 136s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 138s autopkgtest [03:40:24]: testbed running kernel: Linux 6.8.0-22-generic #22-Ubuntu SMP Thu Apr 4 22:47:57 UTC 2024 138s autopkgtest [03:40:24]: @@@@@@@@@@@@@@@@@@@@ apt-source apt-clone 148s Get:1 http://ftpmaster.internal/ubuntu noble/universe apt-clone 0.4.3+nmu2ubuntu1 (dsc) [1773 B] 148s Get:2 http://ftpmaster.internal/ubuntu noble/universe apt-clone 0.4.3+nmu2ubuntu1 (tar) [460 kB] 148s gpgv: Signature made Thu Mar 28 19:12:31 2024 UTC 148s gpgv: using RSA key CED62F17BB727A48FC50762E2A15898770574541 148s gpgv: Can't check signature: No public key 148s dpkg-source: warning: cannot verify inline signature for ./apt-clone_0.4.3+nmu2ubuntu1.dsc: no acceptable signature found 148s autopkgtest [03:40:26]: testing package apt-clone version 0.4.3+nmu2ubuntu1 148s autopkgtest [03:40:34]: build not needed 164s autopkgtest [03:40:50]: test run-tests: preparing testbed 173s Reading package lists... 173s Building dependency tree... 173s Reading state information... 173s Starting pkgProblemResolver with broken count: 0 173s Starting 2 pkgProblemResolver with broken count: 0 173s Done 173s The following additional packages will be installed: 173s apt-clone pycodestyle pyflakes3 python3-distro-info python3-mock 173s python3-pycodestyle python3-pyflakes 173s Suggested packages: 173s python-mock-doc 173s Recommended packages: 173s dpkg-repack 173s The following NEW packages will be installed: 173s apt-clone autopkgtest-satdep pycodestyle pyflakes3 python3-distro-info 173s python3-mock python3-pycodestyle python3-pyflakes 173s 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. 173s Need to get 176 kB/177 kB of archives. 173s After this operation, 999 kB of additional disk space will be used. 173s Get:1 /tmp/autopkgtest.tk4xNo/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [768 B] 174s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el python3-distro-info all 1.7build1 [7076 B] 174s Get:3 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pycodestyle all 2.11.1-1 [29.9 kB] 174s Get:4 http://ftpmaster.internal/ubuntu noble/universe ppc64el pycodestyle all 2.11.1-1 [5260 B] 174s Get:5 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pyflakes all 3.2.0-1 [52.8 kB] 174s Get:6 http://ftpmaster.internal/ubuntu noble/universe ppc64el pyflakes3 all 3.2.0-1 [3480 B] 174s Get:7 http://ftpmaster.internal/ubuntu noble/universe ppc64el apt-clone all 0.4.3+nmu2ubuntu1 [13.5 kB] 174s Get:8 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-mock all 5.1.0-1 [64.1 kB] 174s Fetched 176 kB in 0s (421 kB/s) 174s Selecting previously unselected package python3-distro-info. 174s (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 ... 71991 files and directories currently installed.) 174s Preparing to unpack .../0-python3-distro-info_1.7build1_all.deb ... 174s Unpacking python3-distro-info (1.7build1) ... 174s Selecting previously unselected package python3-pycodestyle. 174s Preparing to unpack .../1-python3-pycodestyle_2.11.1-1_all.deb ... 174s Unpacking python3-pycodestyle (2.11.1-1) ... 174s Selecting previously unselected package pycodestyle. 174s Preparing to unpack .../2-pycodestyle_2.11.1-1_all.deb ... 174s Unpacking pycodestyle (2.11.1-1) ... 174s Selecting previously unselected package python3-pyflakes. 174s Preparing to unpack .../3-python3-pyflakes_3.2.0-1_all.deb ... 174s Unpacking python3-pyflakes (3.2.0-1) ... 174s Selecting previously unselected package pyflakes3. 174s Preparing to unpack .../4-pyflakes3_3.2.0-1_all.deb ... 174s Unpacking pyflakes3 (3.2.0-1) ... 174s Selecting previously unselected package apt-clone. 174s Preparing to unpack .../5-apt-clone_0.4.3+nmu2ubuntu1_all.deb ... 174s Unpacking apt-clone (0.4.3+nmu2ubuntu1) ... 174s Selecting previously unselected package python3-mock. 174s Preparing to unpack .../6-python3-mock_5.1.0-1_all.deb ... 174s Unpacking python3-mock (5.1.0-1) ... 174s Selecting previously unselected package autopkgtest-satdep. 174s Preparing to unpack .../7-1-autopkgtest-satdep.deb ... 174s Unpacking autopkgtest-satdep (0) ... 174s Setting up python3-pyflakes (3.2.0-1) ... 175s Setting up apt-clone (0.4.3+nmu2ubuntu1) ... 175s Setting up python3-mock (5.1.0-1) ... 175s Setting up python3-pycodestyle (2.11.1-1) ... 175s Setting up python3-distro-info (1.7build1) ... 175s Setting up pycodestyle (2.11.1-1) ... 175s Setting up pyflakes3 (3.2.0-1) ... 175s Setting up autopkgtest-satdep (0) ... 175s Processing triggers for man-db (2.12.0-4build1) ... 184s (Reading database ... 72089 files and directories currently installed.) 184s Removing autopkgtest-satdep (0) ... 184s autopkgtest [03:41:10]: test run-tests: [----------------------- 184s if find \! -user $USER | grep -q .; then \ 184s sudo chown -R $USER:$USER .; \ 184s fi 184s pyflakes3 ../apt-clone ../apt_clone.py 185s set -e; for f in *.py; do \ 185s for ver in python3; do \ 185s PYTHONPATH=.. $ver $f -v 2>&1; \ 185s done; \ 185s done; \ 185s # cruft from the tests 185s 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'> 185s if method() is not None: 185s ResourceWarning: Enable tracemalloc to get the object allocation traceback 185s /usr/lib/python3.12/unittest/case.py:589: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='r' encoding='UTF-8'> 185s if method() is not None: 185s ResourceWarning: Enable tracemalloc to get the object allocation traceback 185s ok 185s 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. 185s warnings.warn( 185s /usr/lib/python3/dist-packages/mock/mock.py:1452: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 mode='w' encoding='UTF-8'> 185s return func(*newargs, **newkeywargs) 185s ResourceWarning: Enable tracemalloc to get the object allocation traceback 185s /usr/lib/python3/dist-packages/mock/mock.py:1452: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='r' encoding='UTF-8'> 185s return func(*newargs, **newkeywargs) 185s ResourceWarning: Enable tracemalloc to get the object allocation traceback 185s ok 185s test_restore_state_on_new_distro_release_livecd (__main__.TestClone.test_restore_state_on_new_distro_release_livecd) 185s test lucid -> maverick apt-clone-ugprade as if it will be used ... ok 185s 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/tmpy2h5w1t5/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory) 185s self._depcache = apt_pkg.DepCache(self._cache) 185s /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/tmpy2h5w1t5/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory) 185s self._depcache = apt_pkg.DepCache(self._cache) 185s ok 185s test_restore_state_simulate_with_new_release (__main__.TestClone.test_restore_state_simulate_with_new_release) ... ok 185s test_restore_state_with_not_downloadable_debs (__main__.TestClone.test_restore_state_with_not_downloadable_debs) ... ok 185s test_save_state (__main__.TestClone.test_save_state) ... /tmp/autopkgtest.tk4xNo/build.tay/src/tests/test_clone.py:54: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 mode='w' encoding='UTF-8'> 185s self._save_state(False) 185s ResourceWarning: Enable tracemalloc to get the object allocation traceback 185s /tmp/autopkgtest.tk4xNo/build.tay/src/tests/test_clone.py:54: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='r' encoding='UTF-8'> 185s self._save_state(False) 185s ResourceWarning: Enable tracemalloc to get the object allocation traceback 185s ok 185s test_save_state_with_dpkg_repack (__main__.TestClone.test_save_state_with_dpkg_repack) ... /tmp/autopkgtest.tk4xNo/build.tay/src/tests/test_clone.py:58: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 mode='w' encoding='UTF-8'> 185s self._save_state(True) 185s ResourceWarning: Enable tracemalloc to get the object allocation traceback 185s /tmp/autopkgtest.tk4xNo/build.tay/src/tests/test_clone.py:58: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='r' encoding='UTF-8'> 185s self._save_state(True) 185s ResourceWarning: Enable tracemalloc to get the object allocation traceback 185s ok 185s test_unowned_in_etc (__main__.TestClone.test_unowned_in_etc) ... FAIL 185s 185s ====================================================================== 185s FAIL: test_unowned_in_etc (__main__.TestClone.test_unowned_in_etc) 185s ---------------------------------------------------------------------- 185s Traceback (most recent call last): 185s File "/tmp/autopkgtest.tk4xNo/build.tay/src/tests/test_clone.py", line 194, in test_unowned_in_etc 185s self.assertTrue("/etc/apt/sources.list" in unowned) 185s AssertionError: False is not true 185s 185s ---------------------------------------------------------------------- 185s Ran 9 tests in 0.589s 185s 185s FAILED (failures=1) 185s make: *** [Makefile:7: test] Error 1 186s autopkgtest [03:41:12]: test run-tests: -----------------------] 186s autopkgtest [03:41:12]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 186s run-tests FAIL non-zero exit status 2 186s autopkgtest [03:41:12]: test run-tests: - - - - - - - - - - stderr - - - - - - - - - - 186s make: *** [Makefile:7: test] Error 1 187s autopkgtest [03:41:13]: @@@@@@@@@@@@@@@@@@@@ summary 187s run-tests FAIL non-zero exit status 2 200s Creating nova instance adt-noble-ppc64el-apt-clone-20240411-033758-juju-7f2275-prod-proposed-migration-environment-2-9caba441-a226-4528-8faf-3595dcf8da86 from image adt/ubuntu-noble-ppc64el-server-20240410.img (UUID 9bfc54d8-c5a5-47c2-99e6-f3d7a48ca0c0)...