0s autopkgtest [10:21:26]: starting date and time: 2024-06-16 10:21:26+0000 0s autopkgtest [10:21:26]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [10:21:26]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.dzd9wakh/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pytest --apt-upgrade pytest-rerunfailures --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pytest/8.2.2-1ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@lcy02-107.secgroup --name adt-oracular-amd64-pytest-rerunfailures-20240616-102126-juju-7f2275-prod-proposed-migration-environment-3-3bf9fc93-22e4-42c9-9d73-5badb82c6b69 --image adt/ubuntu-oracular-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,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/ 67s autopkgtest [10:22:33]: testbed dpkg architecture: amd64 67s autopkgtest [10:22:33]: testbed apt version: 2.9.3 67s autopkgtest [10:22:33]: @@@@@@@@@@@@@@@@@@@@ test bed setup 67s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 67s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [36.1 kB] 67s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [389 kB] 67s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 67s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7052 B] 67s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main amd64 Packages [53.8 kB] 67s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main i386 Packages [38.2 kB] 67s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted amd64 Packages [28.9 kB] 67s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted i386 Packages [6732 B] 67s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 Packages [317 kB] 67s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe i386 Packages [138 kB] 67s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse i386 Packages [3884 B] 67s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse amd64 Packages [8364 B] 68s Fetched 1140 kB in 0s (4273 kB/s) 68s Reading package lists... 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 72s Calculating upgrade... 72s The following packages will be upgraded: 72s apt apt-utils libapt-pkg6.0t64 libldap-common libldap2 72s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 72s Need to get 2875 kB of archives. 72s After this operation, 11.3 kB of additional disk space will be used. 72s Get:1 http://ftpmaster.internal/ubuntu oracular/main amd64 libapt-pkg6.0t64 amd64 2.9.5 [1023 kB] 72s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 apt amd64 2.9.5 [1403 kB] 72s Get:3 http://ftpmaster.internal/ubuntu oracular/main amd64 apt-utils amd64 2.9.5 [223 kB] 72s Get:4 http://ftpmaster.internal/ubuntu oracular/main amd64 libldap-common all 2.6.7+dfsg-1~exp1ubuntu9 [31.5 kB] 72s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 libldap2 amd64 2.6.7+dfsg-1~exp1ubuntu9 [195 kB] 72s Fetched 2875 kB in 0s (52.0 MB/s) 73s (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 ... 74430 files and directories currently installed.) 73s Preparing to unpack .../libapt-pkg6.0t64_2.9.5_amd64.deb ... 73s Unpacking libapt-pkg6.0t64:amd64 (2.9.5) over (2.9.3) ... 73s Setting up libapt-pkg6.0t64:amd64 (2.9.5) ... 73s (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 ... 74430 files and directories currently installed.) 73s Preparing to unpack .../archives/apt_2.9.5_amd64.deb ... 73s Unpacking apt (2.9.5) over (2.9.3) ... 73s Setting up apt (2.9.5) ... 74s (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 ... 74430 files and directories currently installed.) 74s Preparing to unpack .../apt-utils_2.9.5_amd64.deb ... 74s Unpacking apt-utils (2.9.5) over (2.9.3) ... 74s Preparing to unpack .../libldap-common_2.6.7+dfsg-1~exp1ubuntu9_all.deb ... 74s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 74s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu9_amd64.deb ... 74s Unpacking libldap2:amd64 (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 74s Setting up apt-utils (2.9.5) ... 74s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu9) ... 74s Setting up libldap2:amd64 (2.6.7+dfsg-1~exp1ubuntu9) ... 74s Processing triggers for man-db (2.12.1-2) ... 75s Processing triggers for libc-bin (2.39-0ubuntu9) ... 77s Reading package lists... 77s Building dependency tree... 77s Reading state information... 77s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 77s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 77s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 77s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 77s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 79s Reading package lists... 79s Reading package lists... 79s Building dependency tree... 79s Reading state information... 79s Calculating upgrade... 80s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 80s Reading package lists... 80s Building dependency tree... 80s Reading state information... 80s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 80s autopkgtest [10:22:46]: rebooting testbed after setup commands that affected boot 83s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 95s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 99s autopkgtest [10:23:05]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 100s autopkgtest [10:23:06]: @@@@@@@@@@@@@@@@@@@@ apt-source pytest-rerunfailures 101s Get:1 http://ftpmaster.internal/ubuntu oracular/universe pytest-rerunfailures 12.0-1 (dsc) [2204 B] 101s Get:2 http://ftpmaster.internal/ubuntu oracular/universe pytest-rerunfailures 12.0-1 (tar) [16.8 kB] 101s Get:3 http://ftpmaster.internal/ubuntu oracular/universe pytest-rerunfailures 12.0-1 (diff) [2244 B] 101s gpgv: Signature made Sun Jul 23 14:38:12 2023 UTC 101s gpgv: using RSA key 610B28B55CFCFE45EA1B563B3116BA5E9FFA69A3 101s gpgv: Can't check signature: No public key 101s dpkg-source: warning: cannot verify inline signature for ./pytest-rerunfailures_12.0-1.dsc: no acceptable signature found 101s autopkgtest [10:23:07]: testing package pytest-rerunfailures version 12.0-1 101s autopkgtest [10:23:07]: build not needed 101s autopkgtest [10:23:07]: test pybuild-autopkgtest: preparing testbed 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s Starting pkgProblemResolver with broken count: 0 102s Starting 2 pkgProblemResolver with broken count: 0 102s Done 103s The following additional packages will be installed: 103s autoconf automake autopoint autotools-dev build-essential cpp cpp-13 103s cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 103s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-13 103s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-base 103s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext intltool-debian 103s libarchive-zip-perl libasan8 libatomic1 libcc1-0 libdebhelper-perl 103s libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 libhwasan0 libisl23 103s libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libtool libtsan2 103s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest pybuild-plugin-pyproject 103s python3-all python3-build python3-iniconfig python3-installer 103s python3-packaging python3-pluggy python3-pyproject-hooks python3-pytest 103s python3-pytest-rerunfailures python3-toml python3-wheel 103s Suggested packages: 103s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-13-locales 103s cpp-13-doc dh-make flit g++-multilib g++-13-multilib gcc-13-doc gcc-multilib 103s manpages-dev flex bison gdb gcc-doc gcc-13-multilib gdb-x86-64-linux-gnu 103s gettext-doc libasprintf-dev libgettextpo-dev libstdc++-13-doc libtool-doc 103s gfortran | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-pip 103s python3-venv python-build-doc python-installer-doc 103s Recommended packages: 103s libarchive-cpio-perl libltdl-dev libmail-sendmail-perl 103s The following NEW packages will be installed: 103s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 103s cpp cpp-13 cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 103s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-13 103s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-base 103s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext intltool-debian 103s libarchive-zip-perl libasan8 libatomic1 libcc1-0 libdebhelper-perl 103s libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 libhwasan0 libisl23 103s libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libtool libtsan2 103s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest pybuild-plugin-pyproject 103s python3-all python3-build python3-iniconfig python3-installer 103s python3-packaging python3-pluggy python3-pyproject-hooks python3-pytest 103s python3-pytest-rerunfailures python3-toml python3-wheel 103s 0 upgraded, 60 newly installed, 0 to remove and 0 not upgraded. 103s Need to get 67.0 MB/67.0 MB of archives. 103s After this operation, 237 MB of additional disk space will be used. 103s Get:1 /tmp/autopkgtest.aN3Xmd/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [812 B] 103s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 m4 amd64 1.4.19-4build1 [244 kB] 103s Get:3 http://ftpmaster.internal/ubuntu oracular/main amd64 autoconf all 2.71-3 [339 kB] 103s Get:4 http://ftpmaster.internal/ubuntu oracular/main amd64 autotools-dev all 20220109.1 [44.9 kB] 103s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 103s Get:6 http://ftpmaster.internal/ubuntu oracular/main amd64 autopoint all 0.21-14ubuntu2 [422 kB] 103s Get:7 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-13-base amd64 13.2.0-23ubuntu4 [49.0 kB] 103s Get:8 http://ftpmaster.internal/ubuntu oracular/main amd64 libisl23 amd64 0.26-3build1 [680 kB] 103s Get:9 http://ftpmaster.internal/ubuntu oracular/main amd64 libmpc3 amd64 1.3.1-1build1 [54.5 kB] 103s Get:10 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [11.2 MB] 103s Get:11 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-13 amd64 13.2.0-23ubuntu4 [1032 B] 103s Get:12 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [5326 B] 103s Get:13 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp amd64 4:13.2.0-7ubuntu1 [22.4 kB] 103s Get:14 http://ftpmaster.internal/ubuntu oracular/main amd64 libcc1-0 amd64 14.1.0-1ubuntu1 [48.0 kB] 103s Get:15 http://ftpmaster.internal/ubuntu oracular/main amd64 libgomp1 amd64 14.1.0-1ubuntu1 [148 kB] 103s Get:16 http://ftpmaster.internal/ubuntu oracular/main amd64 libitm1 amd64 14.1.0-1ubuntu1 [29.1 kB] 103s Get:17 http://ftpmaster.internal/ubuntu oracular/main amd64 libatomic1 amd64 14.1.0-1ubuntu1 [10.4 kB] 103s Get:18 http://ftpmaster.internal/ubuntu oracular/main amd64 libasan8 amd64 14.1.0-1ubuntu1 [3025 kB] 103s Get:19 http://ftpmaster.internal/ubuntu oracular/main amd64 liblsan0 amd64 14.1.0-1ubuntu1 [1313 kB] 103s Get:20 http://ftpmaster.internal/ubuntu oracular/main amd64 libtsan2 amd64 14.1.0-1ubuntu1 [2736 kB] 103s Get:21 http://ftpmaster.internal/ubuntu oracular/main amd64 libubsan1 amd64 14.1.0-1ubuntu1 [1174 kB] 103s Get:22 http://ftpmaster.internal/ubuntu oracular/main amd64 libhwasan0 amd64 14.1.0-1ubuntu1 [1632 kB] 103s Get:23 http://ftpmaster.internal/ubuntu oracular/main amd64 libquadmath0 amd64 14.1.0-1ubuntu1 [153 kB] 103s Get:24 http://ftpmaster.internal/ubuntu oracular/main amd64 libgcc-13-dev amd64 13.2.0-23ubuntu4 [2688 kB] 103s Get:25 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [21.9 MB] 104s Get:26 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-13 amd64 13.2.0-23ubuntu4 [482 kB] 104s Get:27 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1212 B] 104s Get:28 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc amd64 4:13.2.0-7ubuntu1 [5018 B] 104s Get:29 http://ftpmaster.internal/ubuntu oracular/main amd64 libstdc++-13-dev amd64 13.2.0-23ubuntu4 [2399 kB] 104s Get:30 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [12.5 MB] 104s Get:31 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-13 amd64 13.2.0-23ubuntu4 [14.5 kB] 104s Get:32 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [964 B] 104s Get:33 http://ftpmaster.internal/ubuntu oracular/main amd64 g++ amd64 4:13.2.0-7ubuntu1 [1100 B] 104s Get:34 http://ftpmaster.internal/ubuntu oracular/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 104s Get:35 http://ftpmaster.internal/ubuntu oracular/main amd64 libdebhelper-perl all 13.15.3ubuntu2 [92.3 kB] 104s Get:36 http://ftpmaster.internal/ubuntu oracular/main amd64 libtool all 2.4.7-7build1 [166 kB] 104s Get:37 http://ftpmaster.internal/ubuntu oracular/main amd64 dh-autoreconf all 20 [16.1 kB] 104s Get:38 http://ftpmaster.internal/ubuntu oracular/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 104s Get:39 http://ftpmaster.internal/ubuntu oracular/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 104s Get:40 http://ftpmaster.internal/ubuntu oracular/main amd64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 104s Get:41 http://ftpmaster.internal/ubuntu oracular/main amd64 debugedit amd64 1:5.0-5build2 [46.1 kB] 104s Get:42 http://ftpmaster.internal/ubuntu oracular/main amd64 dwz amd64 0.15-1build6 [115 kB] 104s Get:43 http://ftpmaster.internal/ubuntu oracular/main amd64 gettext amd64 0.21-14ubuntu2 [864 kB] 104s Get:44 http://ftpmaster.internal/ubuntu oracular/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 104s Get:45 http://ftpmaster.internal/ubuntu oracular/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 104s Get:46 http://ftpmaster.internal/ubuntu oracular/main amd64 debhelper all 13.15.3ubuntu2 [878 kB] 104s Get:47 http://ftpmaster.internal/ubuntu oracular/universe amd64 dh-python all 6.20240422 [110 kB] 104s Get:48 http://ftpmaster.internal/ubuntu oracular/universe amd64 pybuild-plugin-autopkgtest all 6.20240422 [1748 B] 104s Get:49 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-packaging all 24.0-1 [41.1 kB] 104s Get:50 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pyproject-hooks all 1.1.0-1 [9852 B] 104s Get:51 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-toml all 0.10.2-1 [16.5 kB] 104s Get:52 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-wheel all 0.43.0-1 [53.5 kB] 104s Get:53 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-build all 1.2.1-1 [29.7 kB] 104s Get:54 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 104s Get:55 http://ftpmaster.internal/ubuntu oracular/universe amd64 pybuild-plugin-pyproject all 6.20240422 [1730 B] 104s Get:56 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-all amd64 3.12.3-0ubuntu1 [888 B] 104s Get:57 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 104s Get:58 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 104s Get:59 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 python3-pytest all 8.2.2-1ubuntu1 [250 kB] 104s Get:60 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pytest-rerunfailures all 12.0-1 [14.1 kB] 104s Fetched 67.0 MB in 1s (123 MB/s) 104s Selecting previously unselected package m4. 104s (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 ... 74430 files and directories currently installed.) 104s Preparing to unpack .../00-m4_1.4.19-4build1_amd64.deb ... 104s Unpacking m4 (1.4.19-4build1) ... 104s Selecting previously unselected package autoconf. 104s Preparing to unpack .../01-autoconf_2.71-3_all.deb ... 104s Unpacking autoconf (2.71-3) ... 104s Selecting previously unselected package autotools-dev. 104s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 104s Unpacking autotools-dev (20220109.1) ... 104s Selecting previously unselected package automake. 104s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 104s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 105s Selecting previously unselected package autopoint. 105s Preparing to unpack .../04-autopoint_0.21-14ubuntu2_all.deb ... 105s Unpacking autopoint (0.21-14ubuntu2) ... 105s Selecting previously unselected package gcc-13-base:amd64. 105s Preparing to unpack .../05-gcc-13-base_13.2.0-23ubuntu4_amd64.deb ... 105s Unpacking gcc-13-base:amd64 (13.2.0-23ubuntu4) ... 105s Selecting previously unselected package libisl23:amd64. 105s Preparing to unpack .../06-libisl23_0.26-3build1_amd64.deb ... 105s Unpacking libisl23:amd64 (0.26-3build1) ... 105s Selecting previously unselected package libmpc3:amd64. 105s Preparing to unpack .../07-libmpc3_1.3.1-1build1_amd64.deb ... 105s Unpacking libmpc3:amd64 (1.3.1-1build1) ... 105s Selecting previously unselected package cpp-13-x86-64-linux-gnu. 105s Preparing to unpack .../08-cpp-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 105s Unpacking cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 105s Selecting previously unselected package cpp-13. 105s Preparing to unpack .../09-cpp-13_13.2.0-23ubuntu4_amd64.deb ... 105s Unpacking cpp-13 (13.2.0-23ubuntu4) ... 105s Selecting previously unselected package cpp-x86-64-linux-gnu. 105s Preparing to unpack .../10-cpp-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 105s Unpacking cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 105s Selecting previously unselected package cpp. 105s Preparing to unpack .../11-cpp_4%3a13.2.0-7ubuntu1_amd64.deb ... 105s Unpacking cpp (4:13.2.0-7ubuntu1) ... 105s Selecting previously unselected package libcc1-0:amd64. 105s Preparing to unpack .../12-libcc1-0_14.1.0-1ubuntu1_amd64.deb ... 105s Unpacking libcc1-0:amd64 (14.1.0-1ubuntu1) ... 105s Selecting previously unselected package libgomp1:amd64. 105s Preparing to unpack .../13-libgomp1_14.1.0-1ubuntu1_amd64.deb ... 105s Unpacking libgomp1:amd64 (14.1.0-1ubuntu1) ... 105s Selecting previously unselected package libitm1:amd64. 105s Preparing to unpack .../14-libitm1_14.1.0-1ubuntu1_amd64.deb ... 105s Unpacking libitm1:amd64 (14.1.0-1ubuntu1) ... 105s Selecting previously unselected package libatomic1:amd64. 105s Preparing to unpack .../15-libatomic1_14.1.0-1ubuntu1_amd64.deb ... 105s Unpacking libatomic1:amd64 (14.1.0-1ubuntu1) ... 105s Selecting previously unselected package libasan8:amd64. 105s Preparing to unpack .../16-libasan8_14.1.0-1ubuntu1_amd64.deb ... 105s Unpacking libasan8:amd64 (14.1.0-1ubuntu1) ... 105s Selecting previously unselected package liblsan0:amd64. 105s Preparing to unpack .../17-liblsan0_14.1.0-1ubuntu1_amd64.deb ... 105s Unpacking liblsan0:amd64 (14.1.0-1ubuntu1) ... 105s Selecting previously unselected package libtsan2:amd64. 105s Preparing to unpack .../18-libtsan2_14.1.0-1ubuntu1_amd64.deb ... 105s Unpacking libtsan2:amd64 (14.1.0-1ubuntu1) ... 105s Selecting previously unselected package libubsan1:amd64. 105s Preparing to unpack .../19-libubsan1_14.1.0-1ubuntu1_amd64.deb ... 105s Unpacking libubsan1:amd64 (14.1.0-1ubuntu1) ... 105s Selecting previously unselected package libhwasan0:amd64. 105s Preparing to unpack .../20-libhwasan0_14.1.0-1ubuntu1_amd64.deb ... 105s Unpacking libhwasan0:amd64 (14.1.0-1ubuntu1) ... 105s Selecting previously unselected package libquadmath0:amd64. 105s Preparing to unpack .../21-libquadmath0_14.1.0-1ubuntu1_amd64.deb ... 105s Unpacking libquadmath0:amd64 (14.1.0-1ubuntu1) ... 105s Selecting previously unselected package libgcc-13-dev:amd64. 105s Preparing to unpack .../22-libgcc-13-dev_13.2.0-23ubuntu4_amd64.deb ... 105s Unpacking libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ... 106s Selecting previously unselected package gcc-13-x86-64-linux-gnu. 106s Preparing to unpack .../23-gcc-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 106s Unpacking gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 106s Selecting previously unselected package gcc-13. 106s Preparing to unpack .../24-gcc-13_13.2.0-23ubuntu4_amd64.deb ... 106s Unpacking gcc-13 (13.2.0-23ubuntu4) ... 106s Selecting previously unselected package gcc-x86-64-linux-gnu. 106s Preparing to unpack .../25-gcc-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 106s Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 106s Selecting previously unselected package gcc. 106s Preparing to unpack .../26-gcc_4%3a13.2.0-7ubuntu1_amd64.deb ... 106s Unpacking gcc (4:13.2.0-7ubuntu1) ... 106s Selecting previously unselected package libstdc++-13-dev:amd64. 106s Preparing to unpack .../27-libstdc++-13-dev_13.2.0-23ubuntu4_amd64.deb ... 106s Unpacking libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ... 106s Selecting previously unselected package g++-13-x86-64-linux-gnu. 106s Preparing to unpack .../28-g++-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ... 106s Unpacking g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 106s Selecting previously unselected package g++-13. 106s Preparing to unpack .../29-g++-13_13.2.0-23ubuntu4_amd64.deb ... 106s Unpacking g++-13 (13.2.0-23ubuntu4) ... 106s Selecting previously unselected package g++-x86-64-linux-gnu. 106s Preparing to unpack .../30-g++-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 106s Unpacking g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 106s Selecting previously unselected package g++. 106s Preparing to unpack .../31-g++_4%3a13.2.0-7ubuntu1_amd64.deb ... 106s Unpacking g++ (4:13.2.0-7ubuntu1) ... 106s Selecting previously unselected package build-essential. 106s Preparing to unpack .../32-build-essential_12.10ubuntu1_amd64.deb ... 106s Unpacking build-essential (12.10ubuntu1) ... 106s Selecting previously unselected package libdebhelper-perl. 106s Preparing to unpack .../33-libdebhelper-perl_13.15.3ubuntu2_all.deb ... 106s Unpacking libdebhelper-perl (13.15.3ubuntu2) ... 107s Selecting previously unselected package libtool. 107s Preparing to unpack .../34-libtool_2.4.7-7build1_all.deb ... 107s Unpacking libtool (2.4.7-7build1) ... 107s Selecting previously unselected package dh-autoreconf. 107s Preparing to unpack .../35-dh-autoreconf_20_all.deb ... 107s Unpacking dh-autoreconf (20) ... 107s Selecting previously unselected package libarchive-zip-perl. 107s Preparing to unpack .../36-libarchive-zip-perl_1.68-1_all.deb ... 107s Unpacking libarchive-zip-perl (1.68-1) ... 107s Selecting previously unselected package libfile-stripnondeterminism-perl. 107s Preparing to unpack .../37-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 107s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 107s Selecting previously unselected package dh-strip-nondeterminism. 107s Preparing to unpack .../38-dh-strip-nondeterminism_1.14.0-1_all.deb ... 107s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 107s Selecting previously unselected package debugedit. 107s Preparing to unpack .../39-debugedit_1%3a5.0-5build2_amd64.deb ... 107s Unpacking debugedit (1:5.0-5build2) ... 107s Selecting previously unselected package dwz. 107s Preparing to unpack .../40-dwz_0.15-1build6_amd64.deb ... 107s Unpacking dwz (0.15-1build6) ... 107s Selecting previously unselected package gettext. 107s Preparing to unpack .../41-gettext_0.21-14ubuntu2_amd64.deb ... 107s Unpacking gettext (0.21-14ubuntu2) ... 107s Selecting previously unselected package intltool-debian. 107s Preparing to unpack .../42-intltool-debian_0.35.0+20060710.6_all.deb ... 107s Unpacking intltool-debian (0.35.0+20060710.6) ... 107s Selecting previously unselected package po-debconf. 107s Preparing to unpack .../43-po-debconf_1.0.21+nmu1_all.deb ... 107s Unpacking po-debconf (1.0.21+nmu1) ... 107s Selecting previously unselected package debhelper. 107s Preparing to unpack .../44-debhelper_13.15.3ubuntu2_all.deb ... 107s Unpacking debhelper (13.15.3ubuntu2) ... 107s Selecting previously unselected package dh-python. 107s Preparing to unpack .../45-dh-python_6.20240422_all.deb ... 107s Unpacking dh-python (6.20240422) ... 107s Selecting previously unselected package pybuild-plugin-autopkgtest. 107s Preparing to unpack .../46-pybuild-plugin-autopkgtest_6.20240422_all.deb ... 107s Unpacking pybuild-plugin-autopkgtest (6.20240422) ... 107s Selecting previously unselected package python3-packaging. 107s Preparing to unpack .../47-python3-packaging_24.0-1_all.deb ... 107s Unpacking python3-packaging (24.0-1) ... 107s Selecting previously unselected package python3-pyproject-hooks. 107s Preparing to unpack .../48-python3-pyproject-hooks_1.1.0-1_all.deb ... 107s Unpacking python3-pyproject-hooks (1.1.0-1) ... 107s Selecting previously unselected package python3-toml. 107s Preparing to unpack .../49-python3-toml_0.10.2-1_all.deb ... 107s Unpacking python3-toml (0.10.2-1) ... 107s Selecting previously unselected package python3-wheel. 107s Preparing to unpack .../50-python3-wheel_0.43.0-1_all.deb ... 107s Unpacking python3-wheel (0.43.0-1) ... 107s Selecting previously unselected package python3-build. 107s Preparing to unpack .../51-python3-build_1.2.1-1_all.deb ... 107s Unpacking python3-build (1.2.1-1) ... 107s Selecting previously unselected package python3-installer. 107s Preparing to unpack .../52-python3-installer_0.7.0+dfsg1-3_all.deb ... 107s Unpacking python3-installer (0.7.0+dfsg1-3) ... 107s Selecting previously unselected package pybuild-plugin-pyproject. 107s Preparing to unpack .../53-pybuild-plugin-pyproject_6.20240422_all.deb ... 107s Unpacking pybuild-plugin-pyproject (6.20240422) ... 107s Selecting previously unselected package python3-all. 107s Preparing to unpack .../54-python3-all_3.12.3-0ubuntu1_amd64.deb ... 107s Unpacking python3-all (3.12.3-0ubuntu1) ... 107s Selecting previously unselected package python3-iniconfig. 107s Preparing to unpack .../55-python3-iniconfig_1.1.1-2_all.deb ... 107s Unpacking python3-iniconfig (1.1.1-2) ... 107s Selecting previously unselected package python3-pluggy. 107s Preparing to unpack .../56-python3-pluggy_1.5.0-1_all.deb ... 107s Unpacking python3-pluggy (1.5.0-1) ... 107s Selecting previously unselected package python3-pytest. 107s Preparing to unpack .../57-python3-pytest_8.2.2-1ubuntu1_all.deb ... 107s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 107s Selecting previously unselected package python3-pytest-rerunfailures. 107s Preparing to unpack .../58-python3-pytest-rerunfailures_12.0-1_all.deb ... 107s Unpacking python3-pytest-rerunfailures (12.0-1) ... 107s Selecting previously unselected package autopkgtest-satdep. 107s Preparing to unpack .../59-1-autopkgtest-satdep.deb ... 107s Unpacking autopkgtest-satdep (0) ... 107s Setting up dh-python (6.20240422) ... 108s Setting up python3-iniconfig (1.1.1-2) ... 108s Setting up libarchive-zip-perl (1.68-1) ... 108s Setting up libdebhelper-perl (13.15.3ubuntu2) ... 108s Setting up m4 (1.4.19-4build1) ... 108s Setting up python3-all (3.12.3-0ubuntu1) ... 108s Setting up libgomp1:amd64 (14.1.0-1ubuntu1) ... 108s Setting up python3-wheel (0.43.0-1) ... 108s Setting up autotools-dev (20220109.1) ... 108s Setting up python3-packaging (24.0-1) ... 108s Setting up gcc-13-base:amd64 (13.2.0-23ubuntu4) ... 108s Setting up python3-pyproject-hooks (1.1.0-1) ... 108s Setting up libquadmath0:amd64 (14.1.0-1ubuntu1) ... 108s Setting up libmpc3:amd64 (1.3.1-1build1) ... 108s Setting up libatomic1:amd64 (14.1.0-1ubuntu1) ... 108s Setting up autopoint (0.21-14ubuntu2) ... 108s Setting up python3-toml (0.10.2-1) ... 108s Setting up python3-installer (0.7.0+dfsg1-3) ... 108s Setting up autoconf (2.71-3) ... 108s Setting up python3-pluggy (1.5.0-1) ... 108s Setting up libubsan1:amd64 (14.1.0-1ubuntu1) ... 108s Setting up dwz (0.15-1build6) ... 108s Setting up libhwasan0:amd64 (14.1.0-1ubuntu1) ... 108s Setting up libasan8:amd64 (14.1.0-1ubuntu1) ... 108s Setting up debugedit (1:5.0-5build2) ... 108s Setting up libtsan2:amd64 (14.1.0-1ubuntu1) ... 108s Setting up libisl23:amd64 (0.26-3build1) ... 108s Setting up python3-build (1.2.1-1) ... 109s Setting up libcc1-0:amd64 (14.1.0-1ubuntu1) ... 109s Setting up liblsan0:amd64 (14.1.0-1ubuntu1) ... 109s Setting up libitm1:amd64 (14.1.0-1ubuntu1) ... 109s Setting up automake (1:1.16.5-1.3ubuntu1) ... 109s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 109s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 109s Setting up gettext (0.21-14ubuntu2) ... 109s Setting up cpp-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 109s Setting up pybuild-plugin-pyproject (6.20240422) ... 109s Setting up python3-pytest (8.2.2-1ubuntu1) ... 109s Setting up intltool-debian (0.35.0+20060710.6) ... 109s Setting up dh-strip-nondeterminism (1.14.0-1) ... 109s Setting up libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ... 109s Setting up libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ... 109s Setting up cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 109s Setting up python3-pytest-rerunfailures (12.0-1) ... 109s Setting up cpp-13 (13.2.0-23ubuntu4) ... 109s Setting up gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 109s Setting up po-debconf (1.0.21+nmu1) ... 109s Setting up gcc-13 (13.2.0-23ubuntu4) ... 109s Setting up cpp (4:13.2.0-7ubuntu1) ... 109s Setting up g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ... 109s Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 109s Setting up libtool (2.4.7-7build1) ... 109s Setting up gcc (4:13.2.0-7ubuntu1) ... 109s Setting up dh-autoreconf (20) ... 109s Setting up g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 109s Setting up g++-13 (13.2.0-23ubuntu4) ... 109s Setting up debhelper (13.15.3ubuntu2) ... 109s Setting up g++ (4:13.2.0-7ubuntu1) ... 109s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 109s Setting up build-essential (12.10ubuntu1) ... 109s Setting up pybuild-plugin-autopkgtest (6.20240422) ... 109s Setting up autopkgtest-satdep (0) ... 109s Processing triggers for man-db (2.12.1-2) ... 110s Processing triggers for install-info (7.1-3build2) ... 110s Processing triggers for libc-bin (2.39-0ubuntu9) ... 112s (Reading database ... 77114 files and directories currently installed.) 112s Removing autopkgtest-satdep (0) ... 113s autopkgtest [10:23:19]: test pybuild-autopkgtest: pybuild-autopkgtest 113s autopkgtest [10:23:19]: test pybuild-autopkgtest: [----------------------- 113s pybuild-autopkgtest 113s I: pybuild base:311: cd /tmp/autopkgtest.aN3Xmd/autopkgtest_tmp/build; python3.12 -m pytest 113s ============================= test session starts ============================== 113s platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 113s rootdir: /tmp/autopkgtest.aN3Xmd/autopkgtest_tmp/build 113s plugins: rerunfailures-12.0 113s collected 101 items 113s 115s test_pytest_rerunfailures.py ...........s........s...................... [ 42%] 118s .........................................................F [100%] 118s 118s =================================== FAILURES =================================== 118s _________________ test_run_session_teardown_once_after_reruns __________________ 118s 118s testdir = 118s 118s def test_run_session_teardown_once_after_reruns(testdir): 118s testdir.makepyfile( 118s """ 118s import logging 118s import pytest 118s 118s from unittest import TestCase 118s 118s @pytest.fixture(scope='session', autouse=True) 118s def session_fixture(): 118s logging.info('session setup') 118s yield 118s logging.info('session teardown') 118s 118s @pytest.fixture(scope='class', autouse=True) 118s def class_fixture(): 118s logging.info('class setup') 118s yield 118s logging.info('class teardown') 118s 118s @pytest.fixture(scope='function', autouse=True) 118s def function_fixture(): 118s logging.info('function setup') 118s yield 118s logging.info('function teardown') 118s 118s @pytest.fixture(scope='function') 118s def function_skip_fixture(): 118s logging.info('skip fixture setup') 118s pytest.skip('some reason') 118s yield 118s logging.info('skip fixture teardown') 118s 118s @pytest.fixture(scope='function') 118s def function_setup_fail_fixture(): 118s logging.info('fail fixture setup') 118s assert False 118s yield 118s logging.info('fail fixture teardown') 118s 118s class TestFirstPassLastFail: 118s 118s @staticmethod 118s def test_1(): 118s logging.info("TestFirstPassLastFail 1") 118s 118s @staticmethod 118s def test_2(): 118s logging.info("TestFirstPassLastFail 2") 118s assert False 118s 118s class TestFirstFailLastPass: 118s 118s @staticmethod 118s def test_1(): 118s logging.info("TestFirstFailLastPass 1") 118s assert False 118s 118s @staticmethod 118s def test_2(): 118s logging.info("TestFirstFailLastPass 2") 118s 118s class TestSkipFirst: 118s @staticmethod 118s @pytest.mark.skipif(True, reason='Some reason') 118s def test_1(): 118s logging.info("TestSkipFirst 1") 118s assert False 118s 118s @staticmethod 118s def test_2(): 118s logging.info("TestSkipFirst 2") 118s assert False 118s 118s class TestSkipLast: 118s @staticmethod 118s def test_1(): 118s logging.info("TestSkipLast 1") 118s assert False 118s 118s @staticmethod 118s @pytest.mark.skipif(True, reason='Some reason') 118s def test_2(): 118s logging.info("TestSkipLast 2") 118s assert False 118s 118s class TestSkipFixture: 118s @staticmethod 118s def test_1(function_skip_fixture): 118s logging.info("TestSkipFixture 1") 118s 118s class TestSetupFailed: 118s @staticmethod 118s def test_1(function_setup_fail_fixture): 118s logging.info("TestSetupFailed 1") 118s 118s class TestTestCaseFailFirstFailLast(TestCase): 118s 118s @staticmethod 118s def test_1(): 118s logging.info("TestTestCaseFailFirstFailLast 1") 118s assert False 118s 118s @staticmethod 118s def test_2(): 118s logging.info("TestTestCaseFailFirstFailLast 2") 118s assert False 118s 118s class TestTestCaseSkipFirst(TestCase): 118s 118s @staticmethod 118s @pytest.mark.skipif(True, reason='Some reason') 118s def test_1(): 118s logging.info("TestTestCaseSkipFirst 1") 118s assert False 118s 118s @staticmethod 118s def test_2(): 118s logging.info("TestTestCaseSkipFirst 2") 118s assert False 118s 118s class TestTestCaseSkipLast(TestCase): 118s 118s @staticmethod 118s def test_1(): 118s logging.info("TestTestCaseSkipLast 1") 118s assert False 118s 118s @staticmethod 118s @pytest.mark.skipif(True, reason="Some reason") 118s def test_2(): 118s logging.info("TestTestCaseSkipLast 2") 118s assert False""" 118s ) 118s import logging 118s 118s logging.info = mock.MagicMock() 118s 118s result = testdir.runpytest("--reruns", "2") 118s expected_calls = [ 118s mock.call("session setup"), 118s # TestFirstPassLastFail 118s mock.call("class setup"), 118s mock.call("function setup"), 118s mock.call("TestFirstPassLastFail 1"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestFirstPassLastFail 2"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestFirstPassLastFail 2"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestFirstPassLastFail 2"), 118s mock.call("function teardown"), 118s mock.call("class teardown"), 118s # TestFirstFailLastPass 118s mock.call("class setup"), 118s mock.call("function setup"), 118s mock.call("TestFirstFailLastPass 1"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestFirstFailLastPass 1"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestFirstFailLastPass 1"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestFirstFailLastPass 2"), 118s mock.call("function teardown"), 118s mock.call("class teardown"), 118s # TestSkipFirst 118s mock.call("class setup"), 118s mock.call("function setup"), 118s mock.call("TestSkipFirst 2"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestSkipFirst 2"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestSkipFirst 2"), 118s mock.call("function teardown"), 118s mock.call("class teardown"), 118s # TestSkipLast 118s mock.call("class setup"), 118s mock.call("function setup"), 118s mock.call("TestSkipLast 1"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestSkipLast 1"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestSkipLast 1"), 118s mock.call("function teardown"), 118s mock.call("class teardown"), 118s # TestSkipFixture 118s mock.call("class setup"), 118s mock.call("function setup"), 118s mock.call("skip fixture setup"), 118s mock.call("function teardown"), 118s mock.call("class teardown"), 118s # TestSetupFailed 118s mock.call("class setup"), 118s mock.call("function setup"), 118s mock.call("fail fixture setup"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("fail fixture setup"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("fail fixture setup"), 118s mock.call("function teardown"), 118s mock.call("class teardown"), 118s # TestTestCaseFailFirstFailLast 118s mock.call("class setup"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseFailFirstFailLast 1"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseFailFirstFailLast 1"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseFailFirstFailLast 1"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseFailFirstFailLast 2"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseFailFirstFailLast 2"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseFailFirstFailLast 2"), 118s mock.call("function teardown"), 118s mock.call("class teardown"), 118s # TestTestCaseSkipFirst 118s mock.call("class setup"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseSkipFirst 2"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseSkipFirst 2"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseSkipFirst 2"), 118s mock.call("function teardown"), 118s mock.call("class teardown"), 118s # TestTestCaseSkipLast 118s mock.call("class setup"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseSkipLast 1"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseSkipLast 1"), 118s mock.call("function teardown"), 118s mock.call("function setup"), 118s mock.call("TestTestCaseSkipLast 1"), 118s mock.call("function teardown"), 118s mock.call("class teardown"), 118s mock.call("session teardown"), 118s ] 118s 118s > logging.info.assert_has_calls(expected_calls, any_order=False) 118s 118s /tmp/autopkgtest.aN3Xmd/autopkgtest_tmp/build/test_pytest_rerunfailures.py:1076: 118s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 118s 118s self = 118s calls = [call('session setup'), call('class setup'), call('function setup'), call('TestFirstPassLastFail 1'), call('function teardown'), call('function setup'), ...] 118s any_order = False 118s 118s def assert_has_calls(self, calls, any_order=False): 118s """assert the mock has been called with the specified calls. 118s The `mock_calls` list is checked for the calls. 118s 118s If `any_order` is False (the default) then the calls must be 118s sequential. There can be extra calls before or after the 118s specified calls. 118s 118s If `any_order` is True then the calls can be in any order, but 118s they must all appear in `mock_calls`.""" 118s expected = [self._call_matcher(c) for c in calls] 118s cause = next((e for e in expected if isinstance(e, Exception)), None) 118s all_calls = _CallList(self._call_matcher(c) for c in self.mock_calls) 118s if not any_order: 118s if expected not in all_calls: 118s if cause is None: 118s problem = 'Calls not found.' 118s else: 118s problem = ('Error processing expected calls.\n' 118s 'Errors: {}').format( 118s [e if isinstance(e, Exception) else None 118s for e in expected]) 118s > raise AssertionError( 118s f'{problem}\n' 118s f'Expected: {_CallList(calls)}' 118s f'{self._calls_repr(prefix=" Actual").rstrip(".")}' 118s ) from cause 118s E AssertionError: Calls not found. 118s E Expected: [call('session setup'), 118s E call('class setup'), 118s E call('function setup'), 118s E call('TestFirstPassLastFail 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstPassLastFail 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstPassLastFail 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstPassLastFail 2'), 118s E call('function teardown'), 118s E call('class teardown'), 118s E call('class setup'), 118s E call('function setup'), 118s E call('TestFirstFailLastPass 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstFailLastPass 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstFailLastPass 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstFailLastPass 2'), 118s E call('function teardown'), 118s E call('class teardown'), 118s E call('class setup'), 118s E call('function setup'), 118s E call('TestSkipFirst 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestSkipFirst 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestSkipFirst 2'), 118s E call('function teardown'), 118s E call('class teardown'), 118s E call('class setup'), 118s E call('function setup'), 118s E call('TestSkipLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestSkipLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestSkipLast 1'), 118s E call('function teardown'), 118s E call('class teardown'), 118s E call('class setup'), 118s E call('function setup'), 118s E call('skip fixture setup'), 118s E call('function teardown'), 118s E call('class teardown'), 118s E call('class setup'), 118s E call('function setup'), 118s E call('fail fixture setup'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('fail fixture setup'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('fail fixture setup'), 118s E call('function teardown'), 118s E call('class teardown'), 118s E call('class setup'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 2'), 118s E call('function teardown'), 118s E call('class teardown'), 118s E call('class setup'), 118s E call('function setup'), 118s E call('TestTestCaseSkipFirst 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseSkipFirst 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseSkipFirst 2'), 118s E call('function teardown'), 118s E call('class teardown'), 118s E call('class setup'), 118s E call('function setup'), 118s E call('TestTestCaseSkipLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseSkipLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseSkipLast 1'), 118s E call('function teardown'), 118s E call('class teardown'), 118s E call('session teardown')] 118s E Actual: [call('session setup'), 118s E call('class setup'), 118s E call('function setup'), 118s E call('TestFirstPassLastFail 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstPassLastFail 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstPassLastFail 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstPassLastFail 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstFailLastPass 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstFailLastPass 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstFailLastPass 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestFirstFailLastPass 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestSkipFirst 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestSkipFirst 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestSkipFirst 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestSkipLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestSkipLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestSkipLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('skip fixture setup'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('fail fixture setup'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('fail fixture setup'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('fail fixture setup'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseFailFirstFailLast 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseSkipFirst 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseSkipFirst 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseSkipFirst 2'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseSkipLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseSkipLast 1'), 118s E call('function teardown'), 118s E call('function setup'), 118s E call('TestTestCaseSkipLast 1'), 118s E call('function teardown')] 118s 118s /usr/lib/python3.12/unittest/mock.py:981: AssertionError 118s ----------------------------- Captured stdout call ----------------------------- 118s ============================= test session starts ============================== 118s platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 118s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_run_session_teardown_once_after_reruns0 118s plugins: rerunfailures-12.0 118s collected 16 items 118s 118s test_run_session_teardown_once_after_reruns.py .RRFRRF.sRRFRRFssRRERRFRR [ 75%] 118s FsRRFRRFs [100%] 118s 118s ==================================== ERRORS ==================================== 118s ___________________ ERROR at setup of TestSetupFailed.test_1 ___________________ 118s 118s @pytest.fixture(scope='function') 118s def function_setup_fail_fixture(): 118s logging.info('fail fixture setup') 118s > assert False 118s E assert False 118s 118s test_run_session_teardown_once_after_reruns.py:34: AssertionError 118s =================================== FAILURES =================================== 118s _________________________ TestFirstPassLastFail.test_2 _________________________ 118s 118s @staticmethod 118s def test_2(): 118s logging.info("TestFirstPassLastFail 2") 118s > assert False 118s E assert False 118s 118s test_run_session_teardown_once_after_reruns.py:47: AssertionError 118s _________________________ TestFirstFailLastPass.test_1 _________________________ 118s 118s @staticmethod 118s def test_1(): 118s logging.info("TestFirstFailLastPass 1") 118s > assert False 118s E assert False 118s 118s test_run_session_teardown_once_after_reruns.py:54: AssertionError 118s _____________________________ TestSkipFirst.test_2 _____________________________ 118s 118s @staticmethod 118s def test_2(): 118s logging.info("TestSkipFirst 2") 118s > assert False 118s E assert False 118s 118s test_run_session_teardown_once_after_reruns.py:70: AssertionError 118s _____________________________ TestSkipLast.test_1 ______________________________ 118s 118s @staticmethod 118s def test_1(): 118s logging.info("TestSkipLast 1") 118s > assert False 118s E assert False 118s 118s test_run_session_teardown_once_after_reruns.py:76: AssertionError 118s _____________________ TestTestCaseFailFirstFailLast.test_1 _____________________ 118s 118s @staticmethod 118s def test_1(): 118s logging.info("TestTestCaseFailFirstFailLast 1") 118s > assert False 118s E assert False 118s 118s test_run_session_teardown_once_after_reruns.py:99: AssertionError 118s _____________________ TestTestCaseFailFirstFailLast.test_2 _____________________ 118s 118s @staticmethod 118s def test_2(): 118s logging.info("TestTestCaseFailFirstFailLast 2") 118s > assert False 118s E assert False 118s 118s test_run_session_teardown_once_after_reruns.py:104: AssertionError 118s _________________________ TestTestCaseSkipFirst.test_2 _________________________ 118s 118s @staticmethod 118s def test_2(): 118s logging.info("TestTestCaseSkipFirst 2") 118s > assert False 118s E assert False 118s 118s test_run_session_teardown_once_after_reruns.py:117: AssertionError 118s _________________________ TestTestCaseSkipLast.test_1 __________________________ 118s 118s @staticmethod 118s def test_1(): 118s logging.info("TestTestCaseSkipLast 1") 118s > assert False 118s E assert False 118s 118s test_run_session_teardown_once_after_reruns.py:124: AssertionError 118s =========================== short test summary info ============================ 118s FAILED test_run_session_teardown_once_after_reruns.py::TestFirstPassLastFail::test_2 118s FAILED test_run_session_teardown_once_after_reruns.py::TestFirstFailLastPass::test_1 118s FAILED test_run_session_teardown_once_after_reruns.py::TestSkipFirst::test_2 118s FAILED test_run_session_teardown_once_after_reruns.py::TestSkipLast::test_1 118s FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseFailFirstFailLast::test_1 118s FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseFailFirstFailLast::test_2 118s FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseSkipFirst::test_2 118s FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseSkipLast::test_1 118s ERROR test_run_session_teardown_once_after_reruns.py::TestSetupFailed::test_1 118s ========== 8 failed, 2 passed, 5 skipped, 1 error, 18 rerun in 0.12s =========== 118s =========================== short test summary info ============================ 118s FAILED test_pytest_rerunfailures.py::test_run_session_teardown_once_after_reruns 118s =================== 1 failed, 98 passed, 2 skipped in 4.72s ==================== 118s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.aN3Xmd/autopkgtest_tmp/build; python3.12 -m pytest 118s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.12 returned exit code 13 118s make: *** [/tmp/JogS0m43tZ/run:4: pybuild-autopkgtest] Error 25 118s pybuild-autopkgtest: error: /tmp/JogS0m43tZ/run pybuild-autopkgtest returned exit code 2 119s autopkgtest [10:23:25]: test pybuild-autopkgtest: -----------------------] 119s autopkgtest [10:23:25]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 119s pybuild-autopkgtest FAIL non-zero exit status 25 119s autopkgtest [10:23:25]: @@@@@@@@@@@@@@@@@@@@ summary 119s pybuild-autopkgtest FAIL non-zero exit status 25 129s nova [W] Skipping flock for amd64 129s Creating nova instance adt-oracular-amd64-pytest-rerunfailures-20240616-102126-juju-7f2275-prod-proposed-migration-environment-3-3bf9fc93-22e4-42c9-9d73-5badb82c6b69 from image adt/ubuntu-oracular-amd64-server-20240615.img (UUID 94fd7b6f-4495-4684-bd31-1d1deeaa1788)...