0s autopkgtest [12:01:36]: starting date and time: 2024-11-13 12:01:36+0000 0s autopkgtest [12:01:36]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [12:01:36]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1aruwssp/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade fades --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-ppc64el-12.secgroup --name adt-plucky-ppc64el-fades-20241113-120136-juju-7f2275-prod-proposed-migration-environment-20-35b1bc42-4596-4bf9-902f-b413d76a17dd --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-ppc64el -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,keyserver.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/ 95s autopkgtest [12:03:11]: testbed dpkg architecture: ppc64el 95s autopkgtest [12:03:11]: testbed apt version: 2.9.8 95s autopkgtest [12:03:11]: @@@@@@@@@@@@@@@@@@@@ test bed setup 96s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 96s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 96s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 96s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 96s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 96s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [86.2 kB] 96s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [588 kB] 96s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [19.6 kB] 97s Fetched 1715 kB in 1s (1830 kB/s) 97s Reading package lists... 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s Calculating upgrade... 100s The following NEW packages will be installed: 100s python3.13-gdbm 100s The following packages will be upgraded: 100s libpython3-stdlib python3 python3-gdbm python3-minimal 100s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 100s Need to get 102 kB of archives. 100s After this operation, 141 kB of additional disk space will be used. 100s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-minimal ppc64el 3.12.7-1 [27.4 kB] 100s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3 ppc64el 3.12.7-1 [24.0 kB] 100s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-stdlib ppc64el 3.12.7-1 [10.0 kB] 100s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-gdbm ppc64el 3.13.0-2 [31.5 kB] 100s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-gdbm ppc64el 3.12.7-1 [8640 B] 100s Fetched 102 kB in 0s (276 kB/s) 100s (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 ... 73767 files and directories currently installed.) 100s Preparing to unpack .../python3-minimal_3.12.7-1_ppc64el.deb ... 100s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 100s Setting up python3-minimal (3.12.7-1) ... 101s (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 ... 73767 files and directories currently installed.) 101s Preparing to unpack .../python3_3.12.7-1_ppc64el.deb ... 101s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 101s Preparing to unpack .../libpython3-stdlib_3.12.7-1_ppc64el.deb ... 101s Unpacking libpython3-stdlib:ppc64el (3.12.7-1) over (3.12.6-0ubuntu1) ... 101s Selecting previously unselected package python3.13-gdbm. 101s Preparing to unpack .../python3.13-gdbm_3.13.0-2_ppc64el.deb ... 101s Unpacking python3.13-gdbm (3.13.0-2) ... 101s Preparing to unpack .../python3-gdbm_3.12.7-1_ppc64el.deb ... 101s Unpacking python3-gdbm:ppc64el (3.12.7-1) over (3.12.6-1ubuntu1) ... 101s Setting up python3.13-gdbm (3.13.0-2) ... 101s Setting up libpython3-stdlib:ppc64el (3.12.7-1) ... 101s Setting up python3 (3.12.7-1) ... 101s Setting up python3-gdbm:ppc64el (3.12.7-1) ... 101s Processing triggers for man-db (2.12.1-3) ... 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 103s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 103s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 103s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 104s Reading package lists... 104s Reading package lists... 104s Building dependency tree... 104s Reading state information... 104s Calculating upgrade... 104s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 104s Reading package lists... 104s Building dependency tree... 104s Reading state information... 105s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s autopkgtest [12:03:24]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 108s autopkgtest [12:03:24]: @@@@@@@@@@@@@@@@@@@@ apt-source fades 110s Get:1 http://ftpmaster.internal/ubuntu plucky/universe fades 9.0.2-2 (dsc) [2019 B] 110s Get:2 http://ftpmaster.internal/ubuntu plucky/universe fades 9.0.2-2 (tar) [8227 kB] 110s Get:3 http://ftpmaster.internal/ubuntu plucky/universe fades 9.0.2-2 (diff) [3896 B] 110s gpgv: Signature made Thu Jul 4 21:52:28 2024 UTC 110s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 110s gpgv: issuer "tchet@debian.org" 110s gpgv: Can't check signature: No public key 110s dpkg-source: warning: cannot verify inline signature for ./fades_9.0.2-2.dsc: no acceptable signature found 110s autopkgtest [12:03:26]: testing package fades version 9.0.2-2 110s autopkgtest [12:03:26]: build not needed 111s autopkgtest [12:03:27]: test unittests: preparing testbed 113s Reading package lists... 113s Building dependency tree... 113s Reading state information... 113s Starting pkgProblemResolver with broken count: 0 113s Starting 2 pkgProblemResolver with broken count: 0 113s Done 113s The following additional packages will be installed: 113s docutils-common fades libjs-jquery libjs-jquery-hotkeys 113s libjs-jquery-isonscreen libjs-jquery-metadata libjs-jquery-tablesorter 113s libjs-jquery-throttle-debounce libpython3.13-minimal libpython3.13-stdlib 113s python3-all python3-coverage python3-docutils python3-iniconfig 113s python3-logassert python3-packaging python3-pluggy python3-pytest 113s python3-pytest-cov python3-pytest-mock python3-roman python3-xdg python3.13 113s python3.13-minimal sgml-base xml-core 113s Suggested packages: 113s python-coverage-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine 113s texlive-lang-french texlive-latex-base texlive-latex-recommended 113s python-pytest-mock-doc python-pyxdg-doc python3.13-venv python3.13-doc 113s binfmt-support sgml-base-doc debhelper 113s Recommended packages: 113s javascript-common libpaper-utils python3-pil 113s The following NEW packages will be installed: 113s autopkgtest-satdep docutils-common fades libjs-jquery libjs-jquery-hotkeys 113s libjs-jquery-isonscreen libjs-jquery-metadata libjs-jquery-tablesorter 113s libjs-jquery-throttle-debounce libpython3.13-minimal libpython3.13-stdlib 113s python3-all python3-coverage python3-docutils python3-iniconfig 113s python3-logassert python3-packaging python3-pluggy python3-pytest 113s python3-pytest-cov python3-pytest-mock python3-roman python3-xdg python3.13 113s python3.13-minimal sgml-base xml-core 113s 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 113s Need to get 7770 kB/7771 kB of archives. 113s After this operation, 33.5 MB of additional disk space will be used. 113s Get:1 /tmp/autopkgtest.ZX7rUB/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [748 B] 113s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-minimal ppc64el 3.13.0-2 [881 kB] 114s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-minimal ppc64el 3.13.0-2 [2302 kB] 114s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el sgml-base all 1.31 [11.4 kB] 114s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 114s Get:6 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] 114s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el xml-core all 0.19 [20.3 kB] 114s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el docutils-common all 0.21.2+dfsg-2 [131 kB] 114s Get:9 http://ftpmaster.internal/ubuntu plucky/universe ppc64el fades all 9.0.2-2 [34.5 kB] 114s Get:10 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-metadata all 12-4 [6582 B] 114s Get:11 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 114s Get:12 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 114s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-stdlib ppc64el 3.13.0-2 [2148 kB] 114s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13 ppc64el 3.13.0-2 [719 kB] 114s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-all ppc64el 3.12.7-1 [888 B] 114s Get:16 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-coverage ppc64el 7.4.4+dfsg1-0ubuntu2 [149 kB] 114s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-roman all 4.2-1 [10.0 kB] 114s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-docutils all 0.21.2+dfsg-2 [409 kB] 114s Get:19 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 114s Get:20 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-logassert all 7-1 [9214 B] 114s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 114s Get:22 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 114s Get:23 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 114s Get:24 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 114s Get:25 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-cov all 5.0.0-1 [21.3 kB] 114s Get:26 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-mock all 3.14.0-2 [11.7 kB] 114s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-xdg all 0.28-2 [38.3 kB] 115s Fetched 7770 kB in 1s (7978 kB/s) 115s Selecting previously unselected package libpython3.13-minimal:ppc64el. 115s (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 ... 73774 files and directories currently installed.) 115s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_ppc64el.deb ... 115s Unpacking libpython3.13-minimal:ppc64el (3.13.0-2) ... 115s Selecting previously unselected package python3.13-minimal. 115s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_ppc64el.deb ... 115s Unpacking python3.13-minimal (3.13.0-2) ... 115s Selecting previously unselected package sgml-base. 115s Preparing to unpack .../02-sgml-base_1.31_all.deb ... 115s Unpacking sgml-base (1.31) ... 115s Selecting previously unselected package libjs-jquery. 115s Preparing to unpack .../03-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 115s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 115s Selecting previously unselected package libjs-jquery-hotkeys. 115s Preparing to unpack .../04-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... 115s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 115s Selecting previously unselected package xml-core. 115s Preparing to unpack .../05-xml-core_0.19_all.deb ... 115s Unpacking xml-core (0.19) ... 115s Selecting previously unselected package docutils-common. 115s Preparing to unpack .../06-docutils-common_0.21.2+dfsg-2_all.deb ... 115s Unpacking docutils-common (0.21.2+dfsg-2) ... 115s Selecting previously unselected package fades. 115s Preparing to unpack .../07-fades_9.0.2-2_all.deb ... 115s Unpacking fades (9.0.2-2) ... 115s Selecting previously unselected package libjs-jquery-metadata. 115s Preparing to unpack .../08-libjs-jquery-metadata_12-4_all.deb ... 115s Unpacking libjs-jquery-metadata (12-4) ... 115s Selecting previously unselected package libjs-jquery-tablesorter. 115s Preparing to unpack .../09-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 115s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 115s Selecting previously unselected package libjs-jquery-throttle-debounce. 115s Preparing to unpack .../10-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 115s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 115s Selecting previously unselected package libpython3.13-stdlib:ppc64el. 115s Preparing to unpack .../11-libpython3.13-stdlib_3.13.0-2_ppc64el.deb ... 115s Unpacking libpython3.13-stdlib:ppc64el (3.13.0-2) ... 115s Selecting previously unselected package python3.13. 115s Preparing to unpack .../12-python3.13_3.13.0-2_ppc64el.deb ... 115s Unpacking python3.13 (3.13.0-2) ... 115s Selecting previously unselected package python3-all. 115s Preparing to unpack .../13-python3-all_3.12.7-1_ppc64el.deb ... 115s Unpacking python3-all (3.12.7-1) ... 115s Selecting previously unselected package python3-coverage. 115s Preparing to unpack .../14-python3-coverage_7.4.4+dfsg1-0ubuntu2_ppc64el.deb ... 115s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 115s Selecting previously unselected package python3-roman. 115s Preparing to unpack .../15-python3-roman_4.2-1_all.deb ... 115s Unpacking python3-roman (4.2-1) ... 115s Selecting previously unselected package python3-docutils. 115s Preparing to unpack .../16-python3-docutils_0.21.2+dfsg-2_all.deb ... 115s Unpacking python3-docutils (0.21.2+dfsg-2) ... 115s Selecting previously unselected package python3-iniconfig. 115s Preparing to unpack .../17-python3-iniconfig_1.1.1-2_all.deb ... 115s Unpacking python3-iniconfig (1.1.1-2) ... 115s Selecting previously unselected package python3-logassert. 115s Preparing to unpack .../18-python3-logassert_7-1_all.deb ... 115s Unpacking python3-logassert (7-1) ... 115s Selecting previously unselected package python3-packaging. 115s Preparing to unpack .../19-python3-packaging_24.1-1_all.deb ... 115s Unpacking python3-packaging (24.1-1) ... 115s Selecting previously unselected package python3-pluggy. 115s Preparing to unpack .../20-python3-pluggy_1.5.0-1_all.deb ... 115s Unpacking python3-pluggy (1.5.0-1) ... 115s Selecting previously unselected package python3-pytest. 115s Preparing to unpack .../21-python3-pytest_8.3.3-1_all.deb ... 115s Unpacking python3-pytest (8.3.3-1) ... 115s Selecting previously unselected package libjs-jquery-isonscreen. 115s Preparing to unpack .../22-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 115s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 115s Selecting previously unselected package python3-pytest-cov. 115s Preparing to unpack .../23-python3-pytest-cov_5.0.0-1_all.deb ... 115s Unpacking python3-pytest-cov (5.0.0-1) ... 115s Selecting previously unselected package python3-pytest-mock. 115s Preparing to unpack .../24-python3-pytest-mock_3.14.0-2_all.deb ... 115s Unpacking python3-pytest-mock (3.14.0-2) ... 115s Selecting previously unselected package python3-xdg. 115s Preparing to unpack .../25-python3-xdg_0.28-2_all.deb ... 115s Unpacking python3-xdg (0.28-2) ... 115s Selecting previously unselected package autopkgtest-satdep. 115s Preparing to unpack .../26-1-autopkgtest-satdep.deb ... 115s Unpacking autopkgtest-satdep (0) ... 115s Setting up python3-iniconfig (1.1.1-2) ... 116s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 116s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 116s Setting up python3-xdg (0.28-2) ... 116s Setting up python3-logassert (7-1) ... 116s Setting up libpython3.13-minimal:ppc64el (3.13.0-2) ... 116s Setting up python3-roman (4.2-1) ... 117s Setting up python3-packaging (24.1-1) ... 117s Setting up python3-pluggy (1.5.0-1) ... 117s Setting up python3.13-minimal (3.13.0-2) ... 118s Setting up sgml-base (1.31) ... 118s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 118s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 118s Setting up fades (9.0.2-2) ... 118s Setting up libpython3.13-stdlib:ppc64el (3.13.0-2) ... 118s Setting up python3.13 (3.13.0-2) ... 119s Setting up python3-pytest (8.3.3-1) ... 120s Setting up python3-all (3.12.7-1) ... 120s Setting up libjs-jquery-metadata (12-4) ... 120s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 120s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 120s Setting up python3-pytest-mock (3.14.0-2) ... 120s Setting up xml-core (0.19) ... 121s Setting up python3-pytest-cov (5.0.0-1) ... 121s Processing triggers for systemd (256.5-2ubuntu4) ... 121s Processing triggers for man-db (2.12.1-3) ... 122s Processing triggers for sgml-base (1.31) ... 122s Setting up docutils-common (0.21.2+dfsg-2) ... 122s Processing triggers for sgml-base (1.31) ... 122s Setting up python3-docutils (0.21.2+dfsg-2) ... 123s Setting up autopkgtest-satdep (0) ... 125s (Reading database ... 75405 files and directories currently installed.) 125s Removing autopkgtest-satdep (0) ... 126s autopkgtest [12:03:42]: test unittests: [----------------------- 129s ============================= test session starts ============================== 129s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 129s rootdir: /tmp/autopkgtest.ZX7rUB/build.l0F/src 129s plugins: logassert-7, mock-3.14.0, cov-5.0.0, typeguard-4.4.1 129s collected 286 items 129s 129s tests/test_cache/test_caches.py .... [ 1%] 129s tests/test_cache/test_comparisons.py .................................. [ 13%] 129s tests/test_cache/test_remove.py ...F [ 14%] 129s tests/test_cache/test_selection.py ....................... [ 22%] 129s tests/test_cache/test_store.py .. [ 23%] 129s tests/test_envbuilder.py ................... [ 30%] 129s tests/test_file_options.py ......... [ 33%] 130s tests/test_helpers.py ........................................... [ 48%] 130s tests/test_logger.py .. [ 48%] 130s tests/test_main.py .............................. [ 59%] 131s tests/test_multiplatform.py ... [ 60%] 131s tests/test_parsing/test_docstrings.py .......... [ 63%] 131s tests/test_parsing/test_file.py ........................................ [ 77%] 131s .............. [ 82%] 131s tests/test_parsing/test_file_reqs.py ...... [ 84%] 131s tests/test_parsing/test_manual.py .......... [ 88%] 131s tests/test_parsing/test_reqs.py ............... [ 93%] 131s tests/test_parsing/test_vcs_dependency.py ... [ 94%] 132s tests/test_pipmanager.py .............. [ 99%] 132s tests/test_pkgnamesdb.py . [100%] 132s 132s =================================== FAILURES =================================== 132s __________________________ test_lock_cache_for_remove __________________________ 132s 132s tmp_file = '/tmp/pytest-of-ubuntu/pytest-0/test0/testfile' 132s 132s def test_lock_cache_for_remove(tmp_file): 132s venvscache = cache.VEnvsCache(tmp_file) 132s # store 3 venvs 132s options = {'foo': 'bar'} 132s venvscache.store('installed1', {'env_path': 'path/env1'}, 'interpreter', options=options) 132s venvscache.store('installed2', {'env_path': 'path/env2'}, 'interpreter', options=options) 132s venvscache.store('installed3', {'env_path': 'path/env3'}, 'interpreter', options=options) 132s 132s # patch _write_cache so it emulates a slow write during which 132s # another process managed to modify the cache file before the 132s # first process finished writing the modified cache data 132s original_write_cache = venvscache._write_cache 132s 132s other_process = Thread(target=venvscache.remove, args=('path/env1',)) 132s 132s def slow_write_cache(*args, **kwargs): 132s venvscache._write_cache = original_write_cache 132s 132s # start "other process" and wait a little to ensure it must wait 132s # for the lock to be released 132s other_process.start() 132s time.sleep(0.01) 132s 132s original_write_cache(*args, **kwargs) 132s 132s venvscache._write_cache = slow_write_cache 132s 132s # just a sanity check 132s assert not os.path.exists(venvscache.filepath + '.lock') 132s # remove a virtualenv from the cache 132s > venvscache.remove('path/env2') 132s 132s tests/test_cache/test_remove.py:93: 132s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 132s fades/cache.py:191: in remove 132s with filelock(self.lockpath): 132s /usr/lib/python3.13/contextlib.py:148: in __exit__ 132s next(self.gen) 132s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 132s 132s filepath = '/tmp/pytest-of-ubuntu/pytest-0/test0/testfile.lock' 132s 132s @contextmanager 132s def filelock(filepath): 132s """Context manager to lock over a file using best method: fcntl.""" 132s with open(filepath, 'w') as fh: 132s fcntl.flock(fh, fcntl.LOCK_EX) 132s yield 132s fcntl.flock(fh, fcntl.LOCK_UN) 132s if os.path.exists(filepath): 132s > os.remove(filepath) 132s E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-ubuntu/pytest-0/test0/testfile.lock' 132s 132s fades/multiplatform.py:35: FileNotFoundError 132s =============================== warnings summary =============================== 132s tests/__init__.py:22 132s /tmp/autopkgtest.ZX7rUB/build.l0F/src/tests/__init__.py:22: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 132s from pkg_resources import parse_requirements 132s 132s tests/test_envbuilder.py::UsageManagerTestCase::test_file_usage_dont_exists_then_it_is_created_and_initialized 132s tests/test_envbuilder.py::UsageManagerTestCase::test_file_usage_dont_exists_then_it_is_created_and_initialized 132s tests/test_envbuilder.py::UsageManagerTestCase::test_file_usage_dont_exists_then_it_is_created_and_initialized 132s tests/test_envbuilder.py::UsageManagerTestCase::test_usage_record_is_recorded 132s tests/test_envbuilder.py::UsageManagerTestCase::test_usage_record_is_recorded 132s tests/test_envbuilder.py::UsageManagerTestCase::test_usage_record_is_recorded 132s tests/test_envbuilder.py::UsageManagerTestCase::test_usage_record_is_recorded 132s /tmp/autopkgtest.ZX7rUB/build.l0F/src/fades/envbuilder.py:215: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 132s file_.write('{} {}\n'.format(uuid, self._datetime_to_str(datetime.utcnow()))) 132s 132s tests/test_envbuilder.py::UsageManagerTestCase::test_usage_file_is_compacted_when_though_no_venv_is_removed 132s /tmp/autopkgtest.ZX7rUB/build.l0F/src/tests/test_envbuilder.py:331: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 132s old_date = datetime.utcnow() 132s 132s tests/test_envbuilder.py::UsageManagerTestCase::test_when_a_venv_is_removed_it_is_removed_from_everywhere 132s /tmp/autopkgtest.ZX7rUB/build.l0F/src/tests/test_envbuilder.py:404: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 132s old_date = datetime.utcnow() 132s 132s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 132s 132s ---------- coverage: platform linux, python 3.13.0-final-0 ----------- 132s Name Stmts Miss Cover 132s -------------------------------------------- 132s fades/__init__.py 7 0 100% 132s fades/__main__.py 7 7 0% 132s fades/_version.py 2 0 100% 132s fades/cache.py 113 0 100% 132s fades/envbuilder.py 149 8 95% 132s fades/file_options.py 33 1 97% 132s fades/helpers.py 211 17 92% 132s fades/logger.py 47 5 89% 132s fades/main.py 238 149 37% 132s fades/multiplatform.py 27 14 48% 132s fades/parsing.py 157 3 98% 132s fades/pipmanager.py 69 2 97% 132s fades/pkgnamesdb.py 3 0 100% 132s -------------------------------------------- 132s TOTAL 1063 206 81% 132s 132s =========================== short test summary info ============================ 132s FAILED tests/test_cache/test_remove.py::test_lock_cache_for_remove - FileNotF... 132s ================== 1 failed, 285 passed, 10 warnings in 4.63s ================== 132s autopkgtest [12:03:48]: test unittests: -----------------------] 132s autopkgtest [12:03:48]: test unittests: - - - - - - - - - - results - - - - - - - - - - 132s unittests FAIL non-zero exit status 1 133s autopkgtest [12:03:49]: @@@@@@@@@@@@@@@@@@@@ summary 133s unittests FAIL non-zero exit status 1 145s nova [W] Using flock in prodstack6-ppc64el 145s Creating nova instance adt-plucky-ppc64el-fades-20241113-120136-juju-7f2275-prod-proposed-migration-environment-20-35b1bc42-4596-4bf9-902f-b413d76a17dd from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)...