0s autopkgtest [16:29:25]: starting date and time: 2024-07-26 16:29:25+0000 0s autopkgtest [16:29:25]: git checkout: fd3bed09 nova: allow more retries for quota issues 0s autopkgtest [16:29:25]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.d6jgec0k/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-64.secgroup --name adt-oracular-amd64-pytest-rerunfailures-20240726-160656-juju-7f2275-prod-proposed-migration-environment-3-9887dbd3-eb05-4dbe-9394-61e022bd6113 --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/ 44s autopkgtest [16:30:09]: testbed dpkg architecture: amd64 44s autopkgtest [16:30:09]: testbed apt version: 2.9.6 44s autopkgtest [16:30:09]: @@@@@@@@@@@@@@@@@@@@ test bed setup 44s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [126 kB] 44s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [50.6 kB] 44s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [8548 B] 44s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [436 kB] 44s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [4288 B] 44s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main i386 Packages [53.4 kB] 44s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main amd64 Packages [94.8 kB] 44s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/main amd64 c-n-f Metadata [2116 B] 44s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted i386 Packages [6244 B] 44s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/restricted amd64 Packages [34.9 kB] 44s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/restricted amd64 c-n-f Metadata [368 B] 44s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/universe i386 Packages [296 kB] 44s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 Packages [498 kB] 44s Get:14 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 c-n-f Metadata [9900 B] 44s Get:15 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse i386 Packages [3052 B] 44s Get:16 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse amd64 Packages [8792 B] 44s Get:17 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse amd64 c-n-f Metadata [276 B] 46s Fetched 1634 kB in 0s (4949 kB/s) 46s Reading package lists... 47s Reading package lists... 47s Building dependency tree... 47s Reading state information... 48s Calculating upgrade... 48s The following packages will be upgraded: 48s bpfcc-tools bpftrace libbpfcc liblz4-1 mawk python3-bpfcc 48s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 48s Need to get 13.9 MB of archives. 48s After this operation, 37.8 MB of additional disk space will be used. 48s Get:1 http://ftpmaster.internal/ubuntu oracular/main amd64 liblz4-1 amd64 1.9.4-3 [63.1 kB] 48s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 mawk amd64 1.3.4.20240622-2 [127 kB] 48s Get:3 http://ftpmaster.internal/ubuntu oracular/main amd64 libbpfcc amd64 0.30.0+ds-1ubuntu2 [644 kB] 48s Get:4 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-bpfcc all 0.30.0+ds-1ubuntu2 [40.3 kB] 48s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 bpfcc-tools all 0.30.0+ds-1ubuntu2 [697 kB] 48s Get:6 http://ftpmaster.internal/ubuntu oracular/main amd64 bpftrace amd64 0.21.0-1ubuntu6 [12.3 MB] 49s Fetched 13.9 MB in 1s (22.6 MB/s) 49s (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 ... 74523 files and directories currently installed.) 49s Preparing to unpack .../liblz4-1_1.9.4-3_amd64.deb ... 49s Unpacking liblz4-1:amd64 (1.9.4-3) over (1.9.4-2) ... 49s Setting up liblz4-1:amd64 (1.9.4-3) ... 49s (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 ... 74523 files and directories currently installed.) 49s Preparing to unpack .../mawk_1.3.4.20240622-2_amd64.deb ... 49s Unpacking mawk (1.3.4.20240622-2) over (1.3.4.20240622-1) ... 49s Preparing to unpack .../libbpfcc_0.30.0+ds-1ubuntu2_amd64.deb ... 49s Unpacking libbpfcc:amd64 (0.30.0+ds-1ubuntu2) over (0.29.1+ds-1ubuntu7) ... 49s Preparing to unpack .../python3-bpfcc_0.30.0+ds-1ubuntu2_all.deb ... 50s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu2) over (0.29.1+ds-1ubuntu7) ... 50s Preparing to unpack .../bpfcc-tools_0.30.0+ds-1ubuntu2_all.deb ... 50s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu2) over (0.29.1+ds-1ubuntu7) ... 50s Preparing to unpack .../bpftrace_0.21.0-1ubuntu6_amd64.deb ... 50s Unpacking bpftrace (0.21.0-1ubuntu6) over (0.20.2-1ubuntu4) ... 50s Setting up mawk (1.3.4.20240622-2) ... 50s Setting up libbpfcc:amd64 (0.30.0+ds-1ubuntu2) ... 50s Setting up python3-bpfcc (0.30.0+ds-1ubuntu2) ... 50s Setting up bpftrace (0.21.0-1ubuntu6) ... 50s Setting up bpfcc-tools (0.30.0+ds-1ubuntu2) ... 50s Processing triggers for man-db (2.12.1-2) ... 51s Processing triggers for libc-bin (2.39-0ubuntu9) ... 51s Reading package lists... 52s Building dependency tree... 52s Reading state information... 52s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 52s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 52s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 52s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 52s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 53s Reading package lists... 53s Reading package lists... 54s Building dependency tree... 54s Reading state information... 54s Calculating upgrade... 54s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 54s Reading package lists... 54s Building dependency tree... 54s Reading state information... 55s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 55s autopkgtest [16:30:20]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 55s autopkgtest [16:30:20]: @@@@@@@@@@@@@@@@@@@@ apt-source pytest-rerunfailures 56s Get:1 http://ftpmaster.internal/ubuntu oracular/universe pytest-rerunfailures 12.0-1 (dsc) [2204 B] 56s Get:2 http://ftpmaster.internal/ubuntu oracular/universe pytest-rerunfailures 12.0-1 (tar) [16.8 kB] 56s Get:3 http://ftpmaster.internal/ubuntu oracular/universe pytest-rerunfailures 12.0-1 (diff) [2244 B] 56s gpgv: Signature made Sun Jul 23 14:38:12 2023 UTC 56s gpgv: using RSA key 610B28B55CFCFE45EA1B563B3116BA5E9FFA69A3 56s gpgv: Can't check signature: No public key 56s dpkg-source: warning: cannot verify inline signature for ./pytest-rerunfailures_12.0-1.dsc: no acceptable signature found 56s autopkgtest [16:30:21]: testing package pytest-rerunfailures version 12.0-1 56s autopkgtest [16:30:21]: build not needed 57s autopkgtest [16:30:22]: test pybuild-autopkgtest: preparing testbed 57s Reading package lists... 57s Building dependency tree... 57s Reading state information... 58s Starting pkgProblemResolver with broken count: 0 58s Starting 2 pkgProblemResolver with broken count: 0 58s Done 58s The following additional packages will be installed: 58s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 58s cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 58s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 58s g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 58s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext intltool-debian 58s libarchive-zip-perl libasan8 libatomic1 libcc1-0 libdebhelper-perl 58s libfile-stripnondeterminism-perl libgcc-14-dev libhwasan0 libisl23 libitm1 58s liblsan0 libmpc3 libquadmath0 libstdc++-14-dev libtool libtsan2 libubsan1 m4 58s po-debconf pybuild-plugin-autopkgtest pybuild-plugin-pyproject python3-all 58s python3-build python3-iniconfig python3-installer python3-packaging 58s python3-pluggy python3-pyproject-hooks python3-pytest 58s python3-pytest-rerunfailures python3-toml python3-wheel 58s Suggested packages: 58s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 58s cpp-14-doc dh-make flit g++-multilib g++-14-multilib gcc-14-doc gcc-multilib 58s manpages-dev flex bison gdb gcc-doc gcc-14-multilib gdb-x86-64-linux-gnu 58s gettext-doc libasprintf-dev libgettextpo-dev libstdc++-14-doc libtool-doc 58s gfortran | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-pip 58s python3-venv python-build-doc python-installer-doc 58s Recommended packages: 58s libarchive-cpio-perl libltdl-dev libmail-sendmail-perl 58s The following NEW packages will be installed: 58s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 58s cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 58s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 58s g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 58s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext intltool-debian 58s libarchive-zip-perl libasan8 libatomic1 libcc1-0 libdebhelper-perl 58s libfile-stripnondeterminism-perl libgcc-14-dev libhwasan0 libisl23 libitm1 58s liblsan0 libmpc3 libquadmath0 libstdc++-14-dev libtool libtsan2 libubsan1 m4 58s po-debconf pybuild-plugin-autopkgtest pybuild-plugin-pyproject python3-all 58s python3-build python3-iniconfig python3-installer python3-packaging 58s python3-pluggy python3-pyproject-hooks python3-pytest 58s python3-pytest-rerunfailures python3-toml python3-wheel 58s 0 upgraded, 58 newly installed, 0 to remove and 0 not upgraded. 58s Need to get 70.3 MB/70.3 MB of archives. 58s After this operation, 237 MB of additional disk space will be used. 58s Get:1 /tmp/autopkgtest.4K9cv9/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [816 B] 58s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 m4 amd64 1.4.19-4build1 [244 kB] 58s Get:3 http://ftpmaster.internal/ubuntu oracular/main amd64 autoconf all 2.71-3 [339 kB] 58s Get:4 http://ftpmaster.internal/ubuntu oracular/main amd64 autotools-dev all 20220109.1 [44.9 kB] 58s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 58s Get:6 http://ftpmaster.internal/ubuntu oracular/main amd64 autopoint all 0.22.5-1 [616 kB] 58s Get:7 http://ftpmaster.internal/ubuntu oracular/main amd64 libisl23 amd64 0.26-3build1 [680 kB] 58s Get:8 http://ftpmaster.internal/ubuntu oracular/main amd64 libmpc3 amd64 1.3.1-1build1 [54.5 kB] 58s Get:9 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-14-x86-64-linux-gnu amd64 14.1.0-5ubuntu1 [11.9 MB] 58s Get:10 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-14 amd64 14.1.0-5ubuntu1 [1030 B] 58s Get:11 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 58s Get:12 http://ftpmaster.internal/ubuntu oracular/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 58s Get:13 http://ftpmaster.internal/ubuntu oracular/main amd64 libcc1-0 amd64 14.1.0-5ubuntu1 [47.6 kB] 58s Get:14 http://ftpmaster.internal/ubuntu oracular/main amd64 libitm1 amd64 14.1.0-5ubuntu1 [29.1 kB] 58s Get:15 http://ftpmaster.internal/ubuntu oracular/main amd64 libatomic1 amd64 14.1.0-5ubuntu1 [10.3 kB] 58s Get:16 http://ftpmaster.internal/ubuntu oracular/main amd64 libasan8 amd64 14.1.0-5ubuntu1 [2997 kB] 58s Get:17 http://ftpmaster.internal/ubuntu oracular/main amd64 liblsan0 amd64 14.1.0-5ubuntu1 [1317 kB] 59s Get:18 http://ftpmaster.internal/ubuntu oracular/main amd64 libtsan2 amd64 14.1.0-5ubuntu1 [2733 kB] 59s Get:19 http://ftpmaster.internal/ubuntu oracular/main amd64 libubsan1 amd64 14.1.0-5ubuntu1 [1178 kB] 59s Get:20 http://ftpmaster.internal/ubuntu oracular/main amd64 libhwasan0 amd64 14.1.0-5ubuntu1 [1634 kB] 59s Get:21 http://ftpmaster.internal/ubuntu oracular/main amd64 libquadmath0 amd64 14.1.0-5ubuntu1 [153 kB] 59s Get:22 http://ftpmaster.internal/ubuntu oracular/main amd64 libgcc-14-dev amd64 14.1.0-5ubuntu1 [2813 kB] 59s Get:23 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-14-x86-64-linux-gnu amd64 14.1.0-5ubuntu1 [23.4 MB] 59s Get:24 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-14 amd64 14.1.0-5ubuntu1 [516 kB] 59s Get:25 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 59s Get:26 http://ftpmaster.internal/ubuntu oracular/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 59s Get:27 http://ftpmaster.internal/ubuntu oracular/main amd64 libstdc++-14-dev amd64 14.1.0-5ubuntu1 [2476 kB] 59s Get:28 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-14-x86-64-linux-gnu amd64 14.1.0-5ubuntu1 [13.4 MB] 59s Get:29 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-14 amd64 14.1.0-5ubuntu1 [18.0 kB] 59s Get:30 http://ftpmaster.internal/ubuntu oracular/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 59s Get:31 http://ftpmaster.internal/ubuntu oracular/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 59s Get:32 http://ftpmaster.internal/ubuntu oracular/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 59s Get:33 http://ftpmaster.internal/ubuntu oracular/main amd64 libdebhelper-perl all 13.16ubuntu2 [92.9 kB] 59s Get:34 http://ftpmaster.internal/ubuntu oracular/main amd64 libtool all 2.4.7-7build1 [166 kB] 59s Get:35 http://ftpmaster.internal/ubuntu oracular/main amd64 dh-autoreconf all 20 [16.1 kB] 59s Get:36 http://ftpmaster.internal/ubuntu oracular/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 59s Get:37 http://ftpmaster.internal/ubuntu oracular/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 59s Get:38 http://ftpmaster.internal/ubuntu oracular/main amd64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 59s Get:39 http://ftpmaster.internal/ubuntu oracular/main amd64 debugedit amd64 1:5.0-6 [46.1 kB] 59s Get:40 http://ftpmaster.internal/ubuntu oracular/main amd64 dwz amd64 0.15-1build6 [115 kB] 59s Get:41 http://ftpmaster.internal/ubuntu oracular/main amd64 gettext amd64 0.22.5-1 [944 kB] 59s Get:42 http://ftpmaster.internal/ubuntu oracular/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 59s Get:43 http://ftpmaster.internal/ubuntu oracular/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 59s Get:44 http://ftpmaster.internal/ubuntu oracular/main amd64 debhelper all 13.16ubuntu2 [869 kB] 59s Get:45 http://ftpmaster.internal/ubuntu oracular/universe amd64 dh-python all 6.20240603 [112 kB] 59s Get:46 http://ftpmaster.internal/ubuntu oracular/universe amd64 pybuild-plugin-autopkgtest all 6.20240603 [1748 B] 59s Get:47 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-packaging all 24.1-1 [41.4 kB] 59s Get:48 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pyproject-hooks all 1.1.0-2 [9916 B] 59s Get:49 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-toml all 0.10.2-1 [16.5 kB] 59s Get:50 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-wheel all 0.43.0-1 [53.5 kB] 59s Get:51 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-build all 1.2.1-1 [29.7 kB] 59s Get:52 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 59s Get:53 http://ftpmaster.internal/ubuntu oracular/universe amd64 pybuild-plugin-pyproject all 6.20240603 [1732 B] 59s Get:54 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-all amd64 3.12.3-0ubuntu1 [888 B] 59s Get:55 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 59s Get:56 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 59s Get:57 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 python3-pytest all 8.2.2-1ubuntu1 [250 kB] 59s Get:58 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pytest-rerunfailures all 12.0-1 [14.1 kB] 59s Fetched 70.3 MB in 1s (94.0 MB/s) 59s Selecting previously unselected package m4. 59s (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 ... 74530 files and directories currently installed.) 59s Preparing to unpack .../00-m4_1.4.19-4build1_amd64.deb ... 59s Unpacking m4 (1.4.19-4build1) ... 59s Selecting previously unselected package autoconf. 59s Preparing to unpack .../01-autoconf_2.71-3_all.deb ... 59s Unpacking autoconf (2.71-3) ... 59s Selecting previously unselected package autotools-dev. 59s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 59s Unpacking autotools-dev (20220109.1) ... 59s Selecting previously unselected package automake. 60s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 60s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 60s Selecting previously unselected package autopoint. 60s Preparing to unpack .../04-autopoint_0.22.5-1_all.deb ... 60s Unpacking autopoint (0.22.5-1) ... 60s Selecting previously unselected package libisl23:amd64. 60s Preparing to unpack .../05-libisl23_0.26-3build1_amd64.deb ... 60s Unpacking libisl23:amd64 (0.26-3build1) ... 60s Selecting previously unselected package libmpc3:amd64. 60s Preparing to unpack .../06-libmpc3_1.3.1-1build1_amd64.deb ... 60s Unpacking libmpc3:amd64 (1.3.1-1build1) ... 60s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 60s Preparing to unpack .../07-cpp-14-x86-64-linux-gnu_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking cpp-14-x86-64-linux-gnu (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package cpp-14. 60s Preparing to unpack .../08-cpp-14_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking cpp-14 (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package cpp-x86-64-linux-gnu. 60s Preparing to unpack .../09-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 60s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 60s Selecting previously unselected package cpp. 60s Preparing to unpack .../10-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 60s Unpacking cpp (4:14.1.0-2ubuntu1) ... 60s Selecting previously unselected package libcc1-0:amd64. 60s Preparing to unpack .../11-libcc1-0_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking libcc1-0:amd64 (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package libitm1:amd64. 60s Preparing to unpack .../12-libitm1_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking libitm1:amd64 (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package libatomic1:amd64. 60s Preparing to unpack .../13-libatomic1_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking libatomic1:amd64 (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package libasan8:amd64. 60s Preparing to unpack .../14-libasan8_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking libasan8:amd64 (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package liblsan0:amd64. 60s Preparing to unpack .../15-liblsan0_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking liblsan0:amd64 (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package libtsan2:amd64. 60s Preparing to unpack .../16-libtsan2_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking libtsan2:amd64 (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package libubsan1:amd64. 60s Preparing to unpack .../17-libubsan1_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking libubsan1:amd64 (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package libhwasan0:amd64. 60s Preparing to unpack .../18-libhwasan0_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking libhwasan0:amd64 (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package libquadmath0:amd64. 60s Preparing to unpack .../19-libquadmath0_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking libquadmath0:amd64 (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package libgcc-14-dev:amd64. 60s Preparing to unpack .../20-libgcc-14-dev_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking libgcc-14-dev:amd64 (14.1.0-5ubuntu1) ... 60s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 60s Preparing to unpack .../21-gcc-14-x86-64-linux-gnu_14.1.0-5ubuntu1_amd64.deb ... 60s Unpacking gcc-14-x86-64-linux-gnu (14.1.0-5ubuntu1) ... 61s Selecting previously unselected package gcc-14. 61s Preparing to unpack .../22-gcc-14_14.1.0-5ubuntu1_amd64.deb ... 61s Unpacking gcc-14 (14.1.0-5ubuntu1) ... 61s Selecting previously unselected package gcc-x86-64-linux-gnu. 61s Preparing to unpack .../23-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 61s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 61s Selecting previously unselected package gcc. 61s Preparing to unpack .../24-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 61s Unpacking gcc (4:14.1.0-2ubuntu1) ... 61s Selecting previously unselected package libstdc++-14-dev:amd64. 61s Preparing to unpack .../25-libstdc++-14-dev_14.1.0-5ubuntu1_amd64.deb ... 61s Unpacking libstdc++-14-dev:amd64 (14.1.0-5ubuntu1) ... 61s Selecting previously unselected package g++-14-x86-64-linux-gnu. 61s Preparing to unpack .../26-g++-14-x86-64-linux-gnu_14.1.0-5ubuntu1_amd64.deb ... 61s Unpacking g++-14-x86-64-linux-gnu (14.1.0-5ubuntu1) ... 61s Selecting previously unselected package g++-14. 61s Preparing to unpack .../27-g++-14_14.1.0-5ubuntu1_amd64.deb ... 61s Unpacking g++-14 (14.1.0-5ubuntu1) ... 61s Selecting previously unselected package g++-x86-64-linux-gnu. 61s Preparing to unpack .../28-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 61s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 61s Selecting previously unselected package g++. 61s Preparing to unpack .../29-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 61s Unpacking g++ (4:14.1.0-2ubuntu1) ... 61s Selecting previously unselected package build-essential. 61s Preparing to unpack .../30-build-essential_12.10ubuntu1_amd64.deb ... 61s Unpacking build-essential (12.10ubuntu1) ... 61s Selecting previously unselected package libdebhelper-perl. 61s Preparing to unpack .../31-libdebhelper-perl_13.16ubuntu2_all.deb ... 61s Unpacking libdebhelper-perl (13.16ubuntu2) ... 61s Selecting previously unselected package libtool. 61s Preparing to unpack .../32-libtool_2.4.7-7build1_all.deb ... 61s Unpacking libtool (2.4.7-7build1) ... 61s Selecting previously unselected package dh-autoreconf. 61s Preparing to unpack .../33-dh-autoreconf_20_all.deb ... 61s Unpacking dh-autoreconf (20) ... 61s Selecting previously unselected package libarchive-zip-perl. 61s Preparing to unpack .../34-libarchive-zip-perl_1.68-1_all.deb ... 61s Unpacking libarchive-zip-perl (1.68-1) ... 61s Selecting previously unselected package libfile-stripnondeterminism-perl. 61s Preparing to unpack .../35-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 61s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 61s Selecting previously unselected package dh-strip-nondeterminism. 61s Preparing to unpack .../36-dh-strip-nondeterminism_1.14.0-1_all.deb ... 61s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 61s Selecting previously unselected package debugedit. 61s Preparing to unpack .../37-debugedit_1%3a5.0-6_amd64.deb ... 61s Unpacking debugedit (1:5.0-6) ... 61s Selecting previously unselected package dwz. 61s Preparing to unpack .../38-dwz_0.15-1build6_amd64.deb ... 61s Unpacking dwz (0.15-1build6) ... 61s Selecting previously unselected package gettext. 61s Preparing to unpack .../39-gettext_0.22.5-1_amd64.deb ... 61s Unpacking gettext (0.22.5-1) ... 62s Selecting previously unselected package intltool-debian. 62s Preparing to unpack .../40-intltool-debian_0.35.0+20060710.6_all.deb ... 62s Unpacking intltool-debian (0.35.0+20060710.6) ... 62s Selecting previously unselected package po-debconf. 62s Preparing to unpack .../41-po-debconf_1.0.21+nmu1_all.deb ... 62s Unpacking po-debconf (1.0.21+nmu1) ... 62s Selecting previously unselected package debhelper. 62s Preparing to unpack .../42-debhelper_13.16ubuntu2_all.deb ... 62s Unpacking debhelper (13.16ubuntu2) ... 62s Selecting previously unselected package dh-python. 62s Preparing to unpack .../43-dh-python_6.20240603_all.deb ... 62s Unpacking dh-python (6.20240603) ... 62s Selecting previously unselected package pybuild-plugin-autopkgtest. 62s Preparing to unpack .../44-pybuild-plugin-autopkgtest_6.20240603_all.deb ... 62s Unpacking pybuild-plugin-autopkgtest (6.20240603) ... 62s Selecting previously unselected package python3-packaging. 62s Preparing to unpack .../45-python3-packaging_24.1-1_all.deb ... 62s Unpacking python3-packaging (24.1-1) ... 62s Selecting previously unselected package python3-pyproject-hooks. 62s Preparing to unpack .../46-python3-pyproject-hooks_1.1.0-2_all.deb ... 62s Unpacking python3-pyproject-hooks (1.1.0-2) ... 62s Selecting previously unselected package python3-toml. 62s Preparing to unpack .../47-python3-toml_0.10.2-1_all.deb ... 62s Unpacking python3-toml (0.10.2-1) ... 62s Selecting previously unselected package python3-wheel. 62s Preparing to unpack .../48-python3-wheel_0.43.0-1_all.deb ... 62s Unpacking python3-wheel (0.43.0-1) ... 62s Selecting previously unselected package python3-build. 62s Preparing to unpack .../49-python3-build_1.2.1-1_all.deb ... 62s Unpacking python3-build (1.2.1-1) ... 62s Selecting previously unselected package python3-installer. 62s Preparing to unpack .../50-python3-installer_0.7.0+dfsg1-3_all.deb ... 62s Unpacking python3-installer (0.7.0+dfsg1-3) ... 62s Selecting previously unselected package pybuild-plugin-pyproject. 62s Preparing to unpack .../51-pybuild-plugin-pyproject_6.20240603_all.deb ... 62s Unpacking pybuild-plugin-pyproject (6.20240603) ... 62s Selecting previously unselected package python3-all. 62s Preparing to unpack .../52-python3-all_3.12.3-0ubuntu1_amd64.deb ... 62s Unpacking python3-all (3.12.3-0ubuntu1) ... 62s Selecting previously unselected package python3-iniconfig. 62s Preparing to unpack .../53-python3-iniconfig_1.1.1-2_all.deb ... 62s Unpacking python3-iniconfig (1.1.1-2) ... 62s Selecting previously unselected package python3-pluggy. 62s Preparing to unpack .../54-python3-pluggy_1.5.0-1_all.deb ... 62s Unpacking python3-pluggy (1.5.0-1) ... 62s Selecting previously unselected package python3-pytest. 62s Preparing to unpack .../55-python3-pytest_8.2.2-1ubuntu1_all.deb ... 62s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 62s Selecting previously unselected package python3-pytest-rerunfailures. 62s Preparing to unpack .../56-python3-pytest-rerunfailures_12.0-1_all.deb ... 62s Unpacking python3-pytest-rerunfailures (12.0-1) ... 62s Selecting previously unselected package autopkgtest-satdep. 62s Preparing to unpack .../57-1-autopkgtest-satdep.deb ... 62s Unpacking autopkgtest-satdep (0) ... 62s Setting up dh-python (6.20240603) ... 62s Setting up python3-iniconfig (1.1.1-2) ... 62s Setting up gettext (0.22.5-1) ... 62s Setting up libarchive-zip-perl (1.68-1) ... 62s Setting up libdebhelper-perl (13.16ubuntu2) ... 62s Setting up m4 (1.4.19-4build1) ... 62s Setting up python3-all (3.12.3-0ubuntu1) ... 62s Setting up python3-wheel (0.43.0-1) ... 62s Setting up intltool-debian (0.35.0+20060710.6) ... 62s Setting up autotools-dev (20220109.1) ... 62s Setting up python3-packaging (24.1-1) ... 63s Setting up python3-pyproject-hooks (1.1.0-2) ... 63s Setting up libquadmath0:amd64 (14.1.0-5ubuntu1) ... 63s Setting up libmpc3:amd64 (1.3.1-1build1) ... 63s Setting up libatomic1:amd64 (14.1.0-5ubuntu1) ... 63s Setting up autopoint (0.22.5-1) ... 63s Setting up python3-toml (0.10.2-1) ... 63s Setting up python3-installer (0.7.0+dfsg1-3) ... 63s Setting up autoconf (2.71-3) ... 63s Setting up python3-pluggy (1.5.0-1) ... 63s Setting up libubsan1:amd64 (14.1.0-5ubuntu1) ... 63s Setting up dwz (0.15-1build6) ... 63s Setting up libhwasan0:amd64 (14.1.0-5ubuntu1) ... 63s Setting up libasan8:amd64 (14.1.0-5ubuntu1) ... 63s Setting up debugedit (1:5.0-6) ... 63s Setting up libtsan2:amd64 (14.1.0-5ubuntu1) ... 63s Setting up libisl23:amd64 (0.26-3build1) ... 63s Setting up python3-build (1.2.1-1) ... 63s Setting up libcc1-0:amd64 (14.1.0-5ubuntu1) ... 63s Setting up liblsan0:amd64 (14.1.0-5ubuntu1) ... 63s Setting up libitm1:amd64 (14.1.0-5ubuntu1) ... 63s Setting up automake (1:1.16.5-1.3ubuntu1) ... 63s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 63s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 63s Setting up pybuild-plugin-pyproject (6.20240603) ... 63s Setting up python3-pytest (8.2.2-1ubuntu1) ... 63s Setting up po-debconf (1.0.21+nmu1) ... 63s Setting up cpp-14-x86-64-linux-gnu (14.1.0-5ubuntu1) ... 63s Setting up cpp-14 (14.1.0-5ubuntu1) ... 63s Setting up dh-strip-nondeterminism (1.14.0-1) ... 63s Setting up libgcc-14-dev:amd64 (14.1.0-5ubuntu1) ... 63s Setting up libstdc++-14-dev:amd64 (14.1.0-5ubuntu1) ... 63s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 63s Setting up python3-pytest-rerunfailures (12.0-1) ... 64s Setting up cpp (4:14.1.0-2ubuntu1) ... 64s Setting up gcc-14-x86-64-linux-gnu (14.1.0-5ubuntu1) ... 64s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 64s Setting up gcc-14 (14.1.0-5ubuntu1) ... 64s Setting up g++-14-x86-64-linux-gnu (14.1.0-5ubuntu1) ... 64s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 64s Setting up g++-14 (14.1.0-5ubuntu1) ... 64s Setting up libtool (2.4.7-7build1) ... 64s Setting up gcc (4:14.1.0-2ubuntu1) ... 64s Setting up dh-autoreconf (20) ... 64s Setting up g++ (4:14.1.0-2ubuntu1) ... 64s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 64s Setting up build-essential (12.10ubuntu1) ... 64s Setting up debhelper (13.16ubuntu2) ... 64s Setting up pybuild-plugin-autopkgtest (6.20240603) ... 64s Setting up autopkgtest-satdep (0) ... 64s Processing triggers for man-db (2.12.1-2) ... 64s Processing triggers for install-info (7.1-3build2) ... 64s Processing triggers for libc-bin (2.39-0ubuntu9) ... 67s (Reading database ... 77227 files and directories currently installed.) 67s Removing autopkgtest-satdep (0) ... 67s autopkgtest [16:30:32]: test pybuild-autopkgtest: pybuild-autopkgtest 67s autopkgtest [16:30:32]: test pybuild-autopkgtest: [----------------------- 67s pybuild-autopkgtest 68s I: pybuild base:311: cd /tmp/autopkgtest.4K9cv9/autopkgtest_tmp/build; python3.12 -m pytest 68s ============================= test session starts ============================== 68s platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 68s rootdir: /tmp/autopkgtest.4K9cv9/autopkgtest_tmp/build 68s plugins: rerunfailures-12.0 68s collected 101 items 68s 70s test_pytest_rerunfailures.py ...........s........s...................... [ 42%] 72s .........................................................F [100%] 72s 72s =================================== FAILURES =================================== 72s _________________ test_run_session_teardown_once_after_reruns __________________ 72s 72s testdir = 72s 72s def test_run_session_teardown_once_after_reruns(testdir): 72s testdir.makepyfile( 72s """ 72s import logging 72s import pytest 72s 72s from unittest import TestCase 72s 72s @pytest.fixture(scope='session', autouse=True) 72s def session_fixture(): 72s logging.info('session setup') 72s yield 72s logging.info('session teardown') 72s 72s @pytest.fixture(scope='class', autouse=True) 72s def class_fixture(): 72s logging.info('class setup') 72s yield 72s logging.info('class teardown') 72s 72s @pytest.fixture(scope='function', autouse=True) 72s def function_fixture(): 72s logging.info('function setup') 72s yield 72s logging.info('function teardown') 72s 72s @pytest.fixture(scope='function') 72s def function_skip_fixture(): 72s logging.info('skip fixture setup') 72s pytest.skip('some reason') 72s yield 72s logging.info('skip fixture teardown') 72s 72s @pytest.fixture(scope='function') 72s def function_setup_fail_fixture(): 72s logging.info('fail fixture setup') 72s assert False 72s yield 72s logging.info('fail fixture teardown') 72s 72s class TestFirstPassLastFail: 72s 72s @staticmethod 72s def test_1(): 72s logging.info("TestFirstPassLastFail 1") 72s 72s @staticmethod 72s def test_2(): 72s logging.info("TestFirstPassLastFail 2") 72s assert False 72s 72s class TestFirstFailLastPass: 72s 72s @staticmethod 72s def test_1(): 72s logging.info("TestFirstFailLastPass 1") 72s assert False 72s 72s @staticmethod 72s def test_2(): 72s logging.info("TestFirstFailLastPass 2") 72s 72s class TestSkipFirst: 72s @staticmethod 72s @pytest.mark.skipif(True, reason='Some reason') 72s def test_1(): 72s logging.info("TestSkipFirst 1") 72s assert False 72s 72s @staticmethod 72s def test_2(): 72s logging.info("TestSkipFirst 2") 72s assert False 72s 72s class TestSkipLast: 72s @staticmethod 72s def test_1(): 72s logging.info("TestSkipLast 1") 72s assert False 72s 72s @staticmethod 72s @pytest.mark.skipif(True, reason='Some reason') 72s def test_2(): 72s logging.info("TestSkipLast 2") 72s assert False 72s 72s class TestSkipFixture: 72s @staticmethod 72s def test_1(function_skip_fixture): 72s logging.info("TestSkipFixture 1") 72s 72s class TestSetupFailed: 72s @staticmethod 72s def test_1(function_setup_fail_fixture): 72s logging.info("TestSetupFailed 1") 72s 72s class TestTestCaseFailFirstFailLast(TestCase): 72s 72s @staticmethod 72s def test_1(): 72s logging.info("TestTestCaseFailFirstFailLast 1") 72s assert False 72s 72s @staticmethod 72s def test_2(): 72s logging.info("TestTestCaseFailFirstFailLast 2") 72s assert False 72s 72s class TestTestCaseSkipFirst(TestCase): 72s 72s @staticmethod 72s @pytest.mark.skipif(True, reason='Some reason') 72s def test_1(): 72s logging.info("TestTestCaseSkipFirst 1") 72s assert False 72s 72s @staticmethod 72s def test_2(): 72s logging.info("TestTestCaseSkipFirst 2") 72s assert False 72s 72s class TestTestCaseSkipLast(TestCase): 72s 72s @staticmethod 72s def test_1(): 72s logging.info("TestTestCaseSkipLast 1") 72s assert False 72s 72s @staticmethod 72s @pytest.mark.skipif(True, reason="Some reason") 72s def test_2(): 72s logging.info("TestTestCaseSkipLast 2") 72s assert False""" 72s ) 72s import logging 72s 72s logging.info = mock.MagicMock() 72s 72s result = testdir.runpytest("--reruns", "2") 72s expected_calls = [ 72s mock.call("session setup"), 72s # TestFirstPassLastFail 72s mock.call("class setup"), 72s mock.call("function setup"), 72s mock.call("TestFirstPassLastFail 1"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestFirstPassLastFail 2"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestFirstPassLastFail 2"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestFirstPassLastFail 2"), 72s mock.call("function teardown"), 72s mock.call("class teardown"), 72s # TestFirstFailLastPass 72s mock.call("class setup"), 72s mock.call("function setup"), 72s mock.call("TestFirstFailLastPass 1"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestFirstFailLastPass 1"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestFirstFailLastPass 1"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestFirstFailLastPass 2"), 72s mock.call("function teardown"), 72s mock.call("class teardown"), 72s # TestSkipFirst 72s mock.call("class setup"), 72s mock.call("function setup"), 72s mock.call("TestSkipFirst 2"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestSkipFirst 2"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestSkipFirst 2"), 72s mock.call("function teardown"), 72s mock.call("class teardown"), 72s # TestSkipLast 72s mock.call("class setup"), 72s mock.call("function setup"), 72s mock.call("TestSkipLast 1"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestSkipLast 1"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestSkipLast 1"), 72s mock.call("function teardown"), 72s mock.call("class teardown"), 72s # TestSkipFixture 72s mock.call("class setup"), 72s mock.call("function setup"), 72s mock.call("skip fixture setup"), 72s mock.call("function teardown"), 72s mock.call("class teardown"), 72s # TestSetupFailed 72s mock.call("class setup"), 72s mock.call("function setup"), 72s mock.call("fail fixture setup"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("fail fixture setup"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("fail fixture setup"), 72s mock.call("function teardown"), 72s mock.call("class teardown"), 72s # TestTestCaseFailFirstFailLast 72s mock.call("class setup"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseFailFirstFailLast 1"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseFailFirstFailLast 1"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseFailFirstFailLast 1"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseFailFirstFailLast 2"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseFailFirstFailLast 2"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseFailFirstFailLast 2"), 72s mock.call("function teardown"), 72s mock.call("class teardown"), 72s # TestTestCaseSkipFirst 72s mock.call("class setup"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseSkipFirst 2"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseSkipFirst 2"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseSkipFirst 2"), 72s mock.call("function teardown"), 72s mock.call("class teardown"), 72s # TestTestCaseSkipLast 72s mock.call("class setup"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseSkipLast 1"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseSkipLast 1"), 72s mock.call("function teardown"), 72s mock.call("function setup"), 72s mock.call("TestTestCaseSkipLast 1"), 72s mock.call("function teardown"), 72s mock.call("class teardown"), 72s mock.call("session teardown"), 72s ] 72s 72s > logging.info.assert_has_calls(expected_calls, any_order=False) 72s 72s /tmp/autopkgtest.4K9cv9/autopkgtest_tmp/build/test_pytest_rerunfailures.py:1076: 72s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 72s 72s self = 72s calls = [call('session setup'), call('class setup'), call('function setup'), call('TestFirstPassLastFail 1'), call('function teardown'), call('function setup'), ...] 72s any_order = False 72s 72s def assert_has_calls(self, calls, any_order=False): 72s """assert the mock has been called with the specified calls. 72s The `mock_calls` list is checked for the calls. 72s 72s If `any_order` is False (the default) then the calls must be 72s sequential. There can be extra calls before or after the 72s specified calls. 72s 72s If `any_order` is True then the calls can be in any order, but 72s they must all appear in `mock_calls`.""" 72s expected = [self._call_matcher(c) for c in calls] 72s cause = next((e for e in expected if isinstance(e, Exception)), None) 72s all_calls = _CallList(self._call_matcher(c) for c in self.mock_calls) 72s if not any_order: 72s if expected not in all_calls: 72s if cause is None: 72s problem = 'Calls not found.' 72s else: 72s problem = ('Error processing expected calls.\n' 72s 'Errors: {}').format( 72s [e if isinstance(e, Exception) else None 72s for e in expected]) 72s > raise AssertionError( 72s f'{problem}\n' 72s f'Expected: {_CallList(calls)}' 72s f'{self._calls_repr(prefix=" Actual").rstrip(".")}' 72s ) from cause 72s E AssertionError: Calls not found. 72s E Expected: [call('session setup'), 72s E call('class setup'), 72s E call('function setup'), 72s E call('TestFirstPassLastFail 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstPassLastFail 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstPassLastFail 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstPassLastFail 2'), 72s E call('function teardown'), 72s E call('class teardown'), 72s E call('class setup'), 72s E call('function setup'), 72s E call('TestFirstFailLastPass 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstFailLastPass 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstFailLastPass 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstFailLastPass 2'), 72s E call('function teardown'), 72s E call('class teardown'), 72s E call('class setup'), 72s E call('function setup'), 72s E call('TestSkipFirst 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestSkipFirst 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestSkipFirst 2'), 72s E call('function teardown'), 72s E call('class teardown'), 72s E call('class setup'), 72s E call('function setup'), 72s E call('TestSkipLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestSkipLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestSkipLast 1'), 72s E call('function teardown'), 72s E call('class teardown'), 72s E call('class setup'), 72s E call('function setup'), 72s E call('skip fixture setup'), 72s E call('function teardown'), 72s E call('class teardown'), 72s E call('class setup'), 72s E call('function setup'), 72s E call('fail fixture setup'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('fail fixture setup'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('fail fixture setup'), 72s E call('function teardown'), 72s E call('class teardown'), 72s E call('class setup'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 2'), 72s E call('function teardown'), 72s E call('class teardown'), 72s E call('class setup'), 72s E call('function setup'), 72s E call('TestTestCaseSkipFirst 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseSkipFirst 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseSkipFirst 2'), 72s E call('function teardown'), 72s E call('class teardown'), 72s E call('class setup'), 72s E call('function setup'), 72s E call('TestTestCaseSkipLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseSkipLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseSkipLast 1'), 72s E call('function teardown'), 72s E call('class teardown'), 72s E call('session teardown')] 72s E Actual: [call('session setup'), 72s E call('class setup'), 72s E call('function setup'), 72s E call('TestFirstPassLastFail 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstPassLastFail 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstPassLastFail 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstPassLastFail 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstFailLastPass 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstFailLastPass 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstFailLastPass 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestFirstFailLastPass 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestSkipFirst 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestSkipFirst 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestSkipFirst 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestSkipLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestSkipLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestSkipLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('skip fixture setup'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('fail fixture setup'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('fail fixture setup'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('fail fixture setup'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseFailFirstFailLast 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseSkipFirst 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseSkipFirst 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseSkipFirst 2'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseSkipLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseSkipLast 1'), 72s E call('function teardown'), 72s E call('function setup'), 72s E call('TestTestCaseSkipLast 1'), 72s E call('function teardown')] 72s 72s /usr/lib/python3.12/unittest/mock.py:981: AssertionError 72s ----------------------------- Captured stdout call ----------------------------- 72s ============================= test session starts ============================== 72s platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 72s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_run_session_teardown_once_after_reruns0 72s plugins: rerunfailures-12.0 72s collected 16 items 72s 72s test_run_session_teardown_once_after_reruns.py .RRFRRF.sRRFRRFssRRERRFRR [ 75%] 72s FsRRFRRFs [100%] 72s 72s ==================================== ERRORS ==================================== 72s ___________________ ERROR at setup of TestSetupFailed.test_1 ___________________ 72s 72s @pytest.fixture(scope='function') 72s def function_setup_fail_fixture(): 72s logging.info('fail fixture setup') 72s > assert False 72s E assert False 72s 72s test_run_session_teardown_once_after_reruns.py:34: AssertionError 72s =================================== FAILURES =================================== 72s _________________________ TestFirstPassLastFail.test_2 _________________________ 72s 72s @staticmethod 72s def test_2(): 72s logging.info("TestFirstPassLastFail 2") 72s > assert False 72s E assert False 72s 72s test_run_session_teardown_once_after_reruns.py:47: AssertionError 72s _________________________ TestFirstFailLastPass.test_1 _________________________ 72s 72s @staticmethod 72s def test_1(): 72s logging.info("TestFirstFailLastPass 1") 72s > assert False 72s E assert False 72s 72s test_run_session_teardown_once_after_reruns.py:54: AssertionError 72s _____________________________ TestSkipFirst.test_2 _____________________________ 72s 72s @staticmethod 72s def test_2(): 72s logging.info("TestSkipFirst 2") 72s > assert False 72s E assert False 72s 72s test_run_session_teardown_once_after_reruns.py:70: AssertionError 72s _____________________________ TestSkipLast.test_1 ______________________________ 72s 72s @staticmethod 72s def test_1(): 72s logging.info("TestSkipLast 1") 72s > assert False 72s E assert False 72s 72s test_run_session_teardown_once_after_reruns.py:76: AssertionError 72s _____________________ TestTestCaseFailFirstFailLast.test_1 _____________________ 72s 72s @staticmethod 72s def test_1(): 72s logging.info("TestTestCaseFailFirstFailLast 1") 72s > assert False 72s E assert False 72s 72s test_run_session_teardown_once_after_reruns.py:99: AssertionError 72s _____________________ TestTestCaseFailFirstFailLast.test_2 _____________________ 72s 72s @staticmethod 72s def test_2(): 72s logging.info("TestTestCaseFailFirstFailLast 2") 72s > assert False 72s E assert False 72s 72s test_run_session_teardown_once_after_reruns.py:104: AssertionError 72s _________________________ TestTestCaseSkipFirst.test_2 _________________________ 72s 72s @staticmethod 72s def test_2(): 72s logging.info("TestTestCaseSkipFirst 2") 72s > assert False 72s E assert False 72s 72s test_run_session_teardown_once_after_reruns.py:117: AssertionError 72s _________________________ TestTestCaseSkipLast.test_1 __________________________ 72s 72s @staticmethod 72s def test_1(): 72s logging.info("TestTestCaseSkipLast 1") 72s > assert False 72s E assert False 72s 72s test_run_session_teardown_once_after_reruns.py:124: AssertionError 72s =========================== short test summary info ============================ 72s FAILED test_run_session_teardown_once_after_reruns.py::TestFirstPassLastFail::test_2 72s FAILED test_run_session_teardown_once_after_reruns.py::TestFirstFailLastPass::test_1 72s FAILED test_run_session_teardown_once_after_reruns.py::TestSkipFirst::test_2 72s FAILED test_run_session_teardown_once_after_reruns.py::TestSkipLast::test_1 72s FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseFailFirstFailLast::test_1 72s FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseFailFirstFailLast::test_2 72s FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseSkipFirst::test_2 72s FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseSkipLast::test_1 72s ERROR test_run_session_teardown_once_after_reruns.py::TestSetupFailed::test_1 72s ========== 8 failed, 2 passed, 5 skipped, 1 error, 18 rerun in 0.12s =========== 72s =========================== short test summary info ============================ 72s FAILED test_pytest_rerunfailures.py::test_run_session_teardown_once_after_reruns 72s =================== 1 failed, 98 passed, 2 skipped in 4.34s ==================== 72s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.4K9cv9/autopkgtest_tmp/build; python3.12 -m pytest 72s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.12 returned exit code 13 72s make: *** [/tmp/onOIeScf_M/run:4: pybuild-autopkgtest] Error 25 72s pybuild-autopkgtest: error: /tmp/onOIeScf_M/run pybuild-autopkgtest returned exit code 2 73s autopkgtest [16:30:38]: test pybuild-autopkgtest: -----------------------] 73s autopkgtest [16:30:38]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 73s pybuild-autopkgtest FAIL non-zero exit status 25 73s autopkgtest [16:30:38]: @@@@@@@@@@@@@@@@@@@@ summary 73s pybuild-autopkgtest FAIL non-zero exit status 25 83s nova [W] Skipping flock for amd64 83s Creating nova instance adt-oracular-amd64-pytest-rerunfailures-20240726-160656-juju-7f2275-prod-proposed-migration-environment-3-9887dbd3-eb05-4dbe-9394-61e022bd6113 from image adt/ubuntu-oracular-amd64-server-20240726.img (UUID 6c5f29e9-79d7-45b1-9721-03e2205f6a0e)...