0s autopkgtest [01:26:27]: starting date and time: 2024-06-08 01:26:27+0000 0s autopkgtest [01:26:27]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [01:26:27]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1omxe_67/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pytest,src:astropy --apt-upgrade python-pytest-subtests --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=pytest/8.2.2-1ubuntu1 astropy/6.0.1-4' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos02-ppc64el-13.secgroup --name adt-oracular-ppc64el-python-pytest-subtests-20240608-012627-juju-7f2275-prod-proposed-migration-environment-3-9a396368-bd69-4cf4-b537-75c9473d35ac --image adt/ubuntu-oracular-ppc64el-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/ 157s autopkgtest [01:29:04]: testbed dpkg architecture: ppc64el 157s autopkgtest [01:29:04]: testbed apt version: 2.9.3 157s autopkgtest [01:29:04]: @@@@@@@@@@@@@@@@@@@@ test bed setup 158s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 158s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [44.3 kB] 158s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2864 B] 158s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 158s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [339 kB] 158s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el Packages [54.3 kB] 158s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el Packages [1860 B] 158s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el Packages [303 kB] 158s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el Packages [1768 B] 158s Fetched 866 kB in 1s (1096 kB/s) 158s Reading package lists... 161s Reading package lists... 161s Building dependency tree... 161s Reading state information... 161s Calculating upgrade... 161s The following packages will be upgraded: 161s debianutils libheif-plugin-aomdec libheif-plugin-aomenc 161s libheif-plugin-libde265 libheif1 libnetplan1 netplan-generator netplan.io 161s python3-netplan 161s 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 161s Need to get 731 kB of archives. 161s After this operation, 5120 B of additional disk space will be used. 161s Get:1 http://ftpmaster.internal/ubuntu oracular/main ppc64el debianutils ppc64el 5.18 [90.5 kB] 162s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el netplan-generator ppc64el 1.0-3ubuntu1 [59.3 kB] 162s Get:3 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-netplan ppc64el 1.0-3ubuntu1 [21.8 kB] 162s Get:4 http://ftpmaster.internal/ubuntu oracular/main ppc64el netplan.io ppc64el 1.0-3ubuntu1 [66.6 kB] 162s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el libnetplan1 ppc64el 1.0-3ubuntu1 [138 kB] 162s Get:6 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-aomdec ppc64el 1.17.6-3 [10.2 kB] 162s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-aomenc ppc64el 1.17.6-3 [16.6 kB] 162s Get:8 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif1 ppc64el 1.17.6-3 [320 kB] 162s Get:9 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-libde265 ppc64el 1.17.6-3 [8484 B] 162s Fetched 731 kB in 0s (1498 kB/s) 162s (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 ... 72602 files and directories currently installed.) 162s Preparing to unpack .../debianutils_5.18_ppc64el.deb ... 162s Unpacking debianutils (5.18) over (5.17build1) ... 162s Setting up debianutils (5.18) ... 162s (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 ... 72602 files and directories currently installed.) 162s Preparing to unpack .../0-netplan-generator_1.0-3ubuntu1_ppc64el.deb ... 162s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 162s Unpacking netplan-generator (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 162s Preparing to unpack .../1-python3-netplan_1.0-3ubuntu1_ppc64el.deb ... 162s Unpacking python3-netplan (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 162s Preparing to unpack .../2-netplan.io_1.0-3ubuntu1_ppc64el.deb ... 162s Unpacking netplan.io (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 163s Preparing to unpack .../3-libnetplan1_1.0-3ubuntu1_ppc64el.deb ... 163s Unpacking libnetplan1:ppc64el (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 163s Preparing to unpack .../4-libheif-plugin-aomdec_1.17.6-3_ppc64el.deb ... 163s Unpacking libheif-plugin-aomdec:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 163s Preparing to unpack .../5-libheif-plugin-aomenc_1.17.6-3_ppc64el.deb ... 163s Unpacking libheif-plugin-aomenc:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 163s Preparing to unpack .../6-libheif1_1.17.6-3_ppc64el.deb ... 163s Unpacking libheif1:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 163s Preparing to unpack .../7-libheif-plugin-libde265_1.17.6-3_ppc64el.deb ... 163s Unpacking libheif-plugin-libde265:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 163s Setting up libnetplan1:ppc64el (1.0-3ubuntu1) ... 163s Setting up python3-netplan (1.0-3ubuntu1) ... 163s Setting up netplan-generator (1.0-3ubuntu1) ... 163s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 163s Setting up netplan.io (1.0-3ubuntu1) ... 163s Setting up libheif-plugin-aomdec:ppc64el (1.17.6-3) ... 163s Setting up libheif-plugin-libde265:ppc64el (1.17.6-3) ... 163s Setting up libheif1:ppc64el (1.17.6-3) ... 163s Setting up libheif-plugin-aomenc:ppc64el (1.17.6-3) ... 163s Processing triggers for libc-bin (2.39-0ubuntu8.1) ... 163s Processing triggers for man-db (2.12.1-1) ... 164s Processing triggers for dbus (1.14.10-4ubuntu4) ... 164s Reading package lists... 165s Building dependency tree... 165s Reading state information... 165s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 165s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 165s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 165s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 165s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 167s Reading package lists... 167s Reading package lists... 167s Building dependency tree... 167s Reading state information... 167s Calculating upgrade... 167s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 167s Reading package lists... 167s Building dependency tree... 167s Reading state information... 168s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 170s autopkgtest [01:29:17]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:05:55 UTC 2024 171s autopkgtest [01:29:18]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pytest-subtests 172s Get:1 http://ftpmaster.internal/ubuntu oracular/universe python-pytest-subtests 0.11.0-2 (dsc) [1972 B] 172s Get:2 http://ftpmaster.internal/ubuntu oracular/universe python-pytest-subtests 0.11.0-2 (tar) [11.6 kB] 172s Get:3 http://ftpmaster.internal/ubuntu oracular/universe python-pytest-subtests 0.11.0-2 (diff) [3116 B] 173s gpgv: Signature made Fri Sep 1 19:10:27 2023 UTC 173s gpgv: using RSA key A954A54575BCED49240A725CFFD3C88B997DD16A 173s gpgv: Can't check signature: No public key 173s dpkg-source: warning: cannot verify inline signature for ./python-pytest-subtests_0.11.0-2.dsc: no acceptable signature found 173s autopkgtest [01:29:20]: testing package python-pytest-subtests version 0.11.0-2 173s autopkgtest [01:29:20]: build not needed 173s autopkgtest [01:29:20]: test upstream: preparing testbed 174s Reading package lists... 175s Building dependency tree... 175s Reading state information... 175s Starting pkgProblemResolver with broken count: 0 175s Starting 2 pkgProblemResolver with broken count: 0 175s Done 175s The following additional packages will be installed: 175s autoconf automake autopoint autotools-dev build-essential cpp cpp-13 175s cpp-13-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu debhelper debugedit 175s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-13 175s g++-13-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-13 175s gcc-13-base gcc-13-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gettext 175s intltool-debian libarchive-zip-perl libasan8 libatomic1 libcc1-0 175s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 175s libisl23 libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libtool 175s libtsan2 libubsan1 m4 po-debconf pybuild-plugin-pyproject python3-all 175s python3-build python3-execnet python3-iniconfig python3-installer 175s python3-packaging python3-pluggy python3-pyproject-hooks python3-pytest 175s python3-pytest-subtests python3-pytest-xdist python3-setuptools-scm 175s python3-toml python3-wheel 175s Suggested packages: 175s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-13-locales 175s cpp-13-doc dh-make flit gcc-13-doc gcc-multilib manpages-dev flex bison gdb 175s gcc-doc gdb-powerpc64le-linux-gnu gettext-doc libasprintf-dev 175s libgettextpo-dev libstdc++-13-doc libtool-doc gfortran | fortran95-compiler 175s gcj-jdk m4-doc libmail-box-perl python3-pip python3-venv python-build-doc 175s execnet-doc python-installer-doc 175s Recommended packages: 175s libarchive-cpio-perl libltdl-dev libmail-sendmail-perl 175s The following NEW packages will be installed: 175s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 175s cpp cpp-13 cpp-13-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu debhelper 175s debugedit dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-13 175s g++-13-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-13 175s gcc-13-base gcc-13-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gettext 175s intltool-debian libarchive-zip-perl libasan8 libatomic1 libcc1-0 175s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 175s libisl23 libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev libtool 175s libtsan2 libubsan1 m4 po-debconf pybuild-plugin-pyproject python3-all 175s python3-build python3-execnet python3-iniconfig python3-installer 175s python3-packaging python3-pluggy python3-pyproject-hooks python3-pytest 175s python3-pytest-subtests python3-pytest-xdist python3-setuptools-scm 175s python3-toml python3-wheel 175s 0 upgraded, 61 newly installed, 0 to remove and 0 not upgraded. 175s Need to get 62.8 MB/62.8 MB of archives. 175s After this operation, 235 MB of additional disk space will be used. 175s Get:1 /tmp/autopkgtest.qz0hJT/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [816 B] 176s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el m4 ppc64el 1.4.19-4build1 [278 kB] 176s Get:3 http://ftpmaster.internal/ubuntu oracular/main ppc64el autoconf all 2.71-3 [339 kB] 176s Get:4 http://ftpmaster.internal/ubuntu oracular/main ppc64el autotools-dev all 20220109.1 [44.9 kB] 176s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el automake all 1:1.16.5-1.3ubuntu1 [558 kB] 176s Get:6 http://ftpmaster.internal/ubuntu oracular/main ppc64el autopoint all 0.21-14ubuntu2 [422 kB] 176s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-13-base ppc64el 13.2.0-23ubuntu4 [49.0 kB] 176s Get:8 http://ftpmaster.internal/ubuntu oracular/main ppc64el libisl23 ppc64el 0.26-3build1 [886 kB] 176s Get:9 http://ftpmaster.internal/ubuntu oracular/main ppc64el libmpc3 ppc64el 1.3.1-1build1 [62.1 kB] 176s Get:10 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp-13-powerpc64le-linux-gnu ppc64el 13.2.0-23ubuntu4 [10.7 MB] 177s Get:11 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp-13 ppc64el 13.2.0-23ubuntu4 [1038 B] 177s Get:12 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [5330 B] 177s Get:13 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp ppc64el 4:13.2.0-7ubuntu1 [22.5 kB] 177s Get:14 http://ftpmaster.internal/ubuntu oracular/main ppc64el libcc1-0 ppc64el 14.1.0-1ubuntu1 [48.1 kB] 177s Get:15 http://ftpmaster.internal/ubuntu oracular/main ppc64el libgomp1 ppc64el 14.1.0-1ubuntu1 [161 kB] 177s Get:16 http://ftpmaster.internal/ubuntu oracular/main ppc64el libitm1 ppc64el 14.1.0-1ubuntu1 [32.4 kB] 177s Get:17 http://ftpmaster.internal/ubuntu oracular/main ppc64el libatomic1 ppc64el 14.1.0-1ubuntu1 [10.7 kB] 177s Get:18 http://ftpmaster.internal/ubuntu oracular/main ppc64el libasan8 ppc64el 14.1.0-1ubuntu1 [2971 kB] 177s Get:19 http://ftpmaster.internal/ubuntu oracular/main ppc64el liblsan0 ppc64el 14.1.0-1ubuntu1 [1328 kB] 177s Get:20 http://ftpmaster.internal/ubuntu oracular/main ppc64el libtsan2 ppc64el 14.1.0-1ubuntu1 [2708 kB] 177s Get:21 http://ftpmaster.internal/ubuntu oracular/main ppc64el libubsan1 ppc64el 14.1.0-1ubuntu1 [1196 kB] 177s Get:22 http://ftpmaster.internal/ubuntu oracular/main ppc64el libquadmath0 ppc64el 14.1.0-1ubuntu1 [158 kB] 177s Get:23 http://ftpmaster.internal/ubuntu oracular/main ppc64el libgcc-13-dev ppc64el 13.2.0-23ubuntu4 [1580 kB] 177s Get:24 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-13-powerpc64le-linux-gnu ppc64el 13.2.0-23ubuntu4 [20.6 MB] 177s Get:25 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-13 ppc64el 13.2.0-23ubuntu4 [482 kB] 177s Get:26 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [1224 B] 177s Get:27 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc ppc64el 4:13.2.0-7ubuntu1 [5022 B] 177s Get:28 http://ftpmaster.internal/ubuntu oracular/main ppc64el libstdc++-13-dev ppc64el 13.2.0-23ubuntu4 [2512 kB] 177s Get:29 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++-13-powerpc64le-linux-gnu ppc64el 13.2.0-23ubuntu4 [12.2 MB] 178s Get:30 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++-13 ppc64el 13.2.0-23ubuntu4 [14.5 kB] 178s Get:31 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [968 B] 178s Get:32 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++ ppc64el 4:13.2.0-7ubuntu1 [1086 B] 178s Get:33 http://ftpmaster.internal/ubuntu oracular/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 178s Get:34 http://ftpmaster.internal/ubuntu oracular/main ppc64el libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] 178s Get:35 http://ftpmaster.internal/ubuntu oracular/main ppc64el libtool all 2.4.7-7build1 [166 kB] 178s Get:36 http://ftpmaster.internal/ubuntu oracular/main ppc64el dh-autoreconf all 20 [16.1 kB] 178s Get:37 http://ftpmaster.internal/ubuntu oracular/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] 178s Get:38 http://ftpmaster.internal/ubuntu oracular/main ppc64el libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 178s Get:39 http://ftpmaster.internal/ubuntu oracular/main ppc64el dh-strip-nondeterminism all 1.14.0-1 [5058 B] 178s Get:40 http://ftpmaster.internal/ubuntu oracular/main ppc64el debugedit ppc64el 1:5.0-5build2 [51.4 kB] 178s Get:41 http://ftpmaster.internal/ubuntu oracular/main ppc64el dwz ppc64el 0.15-1build6 [142 kB] 178s Get:42 http://ftpmaster.internal/ubuntu oracular/main ppc64el gettext ppc64el 0.21-14ubuntu2 [985 kB] 178s Get:43 http://ftpmaster.internal/ubuntu oracular/main ppc64el intltool-debian all 0.35.0+20060710.6 [23.2 kB] 178s Get:44 http://ftpmaster.internal/ubuntu oracular/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] 178s Get:45 http://ftpmaster.internal/ubuntu oracular/main ppc64el debhelper all 13.14.1ubuntu5 [869 kB] 178s Get:46 http://ftpmaster.internal/ubuntu oracular/universe ppc64el dh-python all 6.20240422 [110 kB] 178s Get:47 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 178s Get:48 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pyproject-hooks all 1.1.0-1 [9852 B] 178s Get:49 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-toml all 0.10.2-1 [16.5 kB] 178s Get:50 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-wheel all 0.43.0-1 [53.5 kB] 178s Get:51 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-build all 1.2.1-1 [29.7 kB] 178s Get:52 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 178s Get:53 http://ftpmaster.internal/ubuntu oracular/universe ppc64el pybuild-plugin-pyproject all 6.20240422 [1730 B] 178s Get:54 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-all ppc64el 3.12.3-0ubuntu1 [888 B] 178s Get:55 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-execnet all 2.1.1-1 [33.4 kB] 178s Get:56 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 178s Get:57 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 178s Get:58 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el python3-pytest all 8.2.2-1ubuntu1 [250 kB] 178s Get:59 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pytest-subtests all 0.11.0-2 [9690 B] 178s Get:60 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pytest-xdist all 3.6.1-1 [33.8 kB] 178s Get:61 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-setuptools-scm all 8.0.4-2 [35.8 kB] 178s Fetched 62.8 MB in 2s (25.3 MB/s) 178s Selecting previously unselected package m4. 178s (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 ... 72602 files and directories currently installed.) 178s Preparing to unpack .../00-m4_1.4.19-4build1_ppc64el.deb ... 178s Unpacking m4 (1.4.19-4build1) ... 178s Selecting previously unselected package autoconf. 178s Preparing to unpack .../01-autoconf_2.71-3_all.deb ... 178s Unpacking autoconf (2.71-3) ... 178s Selecting previously unselected package autotools-dev. 178s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 178s Unpacking autotools-dev (20220109.1) ... 178s Selecting previously unselected package automake. 178s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 178s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 179s Selecting previously unselected package autopoint. 179s Preparing to unpack .../04-autopoint_0.21-14ubuntu2_all.deb ... 179s Unpacking autopoint (0.21-14ubuntu2) ... 179s Selecting previously unselected package gcc-13-base:ppc64el. 179s Preparing to unpack .../05-gcc-13-base_13.2.0-23ubuntu4_ppc64el.deb ... 179s Unpacking gcc-13-base:ppc64el (13.2.0-23ubuntu4) ... 179s Selecting previously unselected package libisl23:ppc64el. 179s Preparing to unpack .../06-libisl23_0.26-3build1_ppc64el.deb ... 179s Unpacking libisl23:ppc64el (0.26-3build1) ... 179s Selecting previously unselected package libmpc3:ppc64el. 179s Preparing to unpack .../07-libmpc3_1.3.1-1build1_ppc64el.deb ... 179s Unpacking libmpc3:ppc64el (1.3.1-1build1) ... 179s Selecting previously unselected package cpp-13-powerpc64le-linux-gnu. 179s Preparing to unpack .../08-cpp-13-powerpc64le-linux-gnu_13.2.0-23ubuntu4_ppc64el.deb ... 179s Unpacking cpp-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 179s Selecting previously unselected package cpp-13. 179s Preparing to unpack .../09-cpp-13_13.2.0-23ubuntu4_ppc64el.deb ... 179s Unpacking cpp-13 (13.2.0-23ubuntu4) ... 179s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 179s Preparing to unpack .../10-cpp-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 179s Unpacking cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 179s Selecting previously unselected package cpp. 179s Preparing to unpack .../11-cpp_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 179s Unpacking cpp (4:13.2.0-7ubuntu1) ... 179s Selecting previously unselected package libcc1-0:ppc64el. 179s Preparing to unpack .../12-libcc1-0_14.1.0-1ubuntu1_ppc64el.deb ... 179s Unpacking libcc1-0:ppc64el (14.1.0-1ubuntu1) ... 179s Selecting previously unselected package libgomp1:ppc64el. 179s Preparing to unpack .../13-libgomp1_14.1.0-1ubuntu1_ppc64el.deb ... 179s Unpacking libgomp1:ppc64el (14.1.0-1ubuntu1) ... 179s Selecting previously unselected package libitm1:ppc64el. 179s Preparing to unpack .../14-libitm1_14.1.0-1ubuntu1_ppc64el.deb ... 179s Unpacking libitm1:ppc64el (14.1.0-1ubuntu1) ... 179s Selecting previously unselected package libatomic1:ppc64el. 179s Preparing to unpack .../15-libatomic1_14.1.0-1ubuntu1_ppc64el.deb ... 179s Unpacking libatomic1:ppc64el (14.1.0-1ubuntu1) ... 179s Selecting previously unselected package libasan8:ppc64el. 179s Preparing to unpack .../16-libasan8_14.1.0-1ubuntu1_ppc64el.deb ... 179s Unpacking libasan8:ppc64el (14.1.0-1ubuntu1) ... 179s Selecting previously unselected package liblsan0:ppc64el. 179s Preparing to unpack .../17-liblsan0_14.1.0-1ubuntu1_ppc64el.deb ... 179s Unpacking liblsan0:ppc64el (14.1.0-1ubuntu1) ... 179s Selecting previously unselected package libtsan2:ppc64el. 179s Preparing to unpack .../18-libtsan2_14.1.0-1ubuntu1_ppc64el.deb ... 179s Unpacking libtsan2:ppc64el (14.1.0-1ubuntu1) ... 179s Selecting previously unselected package libubsan1:ppc64el. 179s Preparing to unpack .../19-libubsan1_14.1.0-1ubuntu1_ppc64el.deb ... 179s Unpacking libubsan1:ppc64el (14.1.0-1ubuntu1) ... 179s Selecting previously unselected package libquadmath0:ppc64el. 179s Preparing to unpack .../20-libquadmath0_14.1.0-1ubuntu1_ppc64el.deb ... 179s Unpacking libquadmath0:ppc64el (14.1.0-1ubuntu1) ... 179s Selecting previously unselected package libgcc-13-dev:ppc64el. 179s Preparing to unpack .../21-libgcc-13-dev_13.2.0-23ubuntu4_ppc64el.deb ... 179s Unpacking libgcc-13-dev:ppc64el (13.2.0-23ubuntu4) ... 179s Selecting previously unselected package gcc-13-powerpc64le-linux-gnu. 179s Preparing to unpack .../22-gcc-13-powerpc64le-linux-gnu_13.2.0-23ubuntu4_ppc64el.deb ... 179s Unpacking gcc-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 180s Selecting previously unselected package gcc-13. 180s Preparing to unpack .../23-gcc-13_13.2.0-23ubuntu4_ppc64el.deb ... 180s Unpacking gcc-13 (13.2.0-23ubuntu4) ... 180s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 180s Preparing to unpack .../24-gcc-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 180s Unpacking gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 180s Selecting previously unselected package gcc. 180s Preparing to unpack .../25-gcc_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 180s Unpacking gcc (4:13.2.0-7ubuntu1) ... 180s Selecting previously unselected package libstdc++-13-dev:ppc64el. 180s Preparing to unpack .../26-libstdc++-13-dev_13.2.0-23ubuntu4_ppc64el.deb ... 180s Unpacking libstdc++-13-dev:ppc64el (13.2.0-23ubuntu4) ... 180s Selecting previously unselected package g++-13-powerpc64le-linux-gnu. 180s Preparing to unpack .../27-g++-13-powerpc64le-linux-gnu_13.2.0-23ubuntu4_ppc64el.deb ... 180s Unpacking g++-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 181s Selecting previously unselected package g++-13. 181s Preparing to unpack .../28-g++-13_13.2.0-23ubuntu4_ppc64el.deb ... 181s Unpacking g++-13 (13.2.0-23ubuntu4) ... 181s Selecting previously unselected package g++-powerpc64le-linux-gnu. 181s Preparing to unpack .../29-g++-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 181s Unpacking g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 181s Selecting previously unselected package g++. 181s Preparing to unpack .../30-g++_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 181s Unpacking g++ (4:13.2.0-7ubuntu1) ... 181s Selecting previously unselected package build-essential. 181s Preparing to unpack .../31-build-essential_12.10ubuntu1_ppc64el.deb ... 181s Unpacking build-essential (12.10ubuntu1) ... 181s Selecting previously unselected package libdebhelper-perl. 181s Preparing to unpack .../32-libdebhelper-perl_13.14.1ubuntu5_all.deb ... 181s Unpacking libdebhelper-perl (13.14.1ubuntu5) ... 181s Selecting previously unselected package libtool. 181s Preparing to unpack .../33-libtool_2.4.7-7build1_all.deb ... 181s Unpacking libtool (2.4.7-7build1) ... 181s Selecting previously unselected package dh-autoreconf. 181s Preparing to unpack .../34-dh-autoreconf_20_all.deb ... 181s Unpacking dh-autoreconf (20) ... 181s Selecting previously unselected package libarchive-zip-perl. 181s Preparing to unpack .../35-libarchive-zip-perl_1.68-1_all.deb ... 181s Unpacking libarchive-zip-perl (1.68-1) ... 181s Selecting previously unselected package libfile-stripnondeterminism-perl. 181s Preparing to unpack .../36-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 181s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 181s Selecting previously unselected package dh-strip-nondeterminism. 181s Preparing to unpack .../37-dh-strip-nondeterminism_1.14.0-1_all.deb ... 181s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 181s Selecting previously unselected package debugedit. 181s Preparing to unpack .../38-debugedit_1%3a5.0-5build2_ppc64el.deb ... 181s Unpacking debugedit (1:5.0-5build2) ... 181s Selecting previously unselected package dwz. 181s Preparing to unpack .../39-dwz_0.15-1build6_ppc64el.deb ... 181s Unpacking dwz (0.15-1build6) ... 181s Selecting previously unselected package gettext. 181s Preparing to unpack .../40-gettext_0.21-14ubuntu2_ppc64el.deb ... 181s Unpacking gettext (0.21-14ubuntu2) ... 181s Selecting previously unselected package intltool-debian. 181s Preparing to unpack .../41-intltool-debian_0.35.0+20060710.6_all.deb ... 181s Unpacking intltool-debian (0.35.0+20060710.6) ... 181s Selecting previously unselected package po-debconf. 181s Preparing to unpack .../42-po-debconf_1.0.21+nmu1_all.deb ... 181s Unpacking po-debconf (1.0.21+nmu1) ... 181s Selecting previously unselected package debhelper. 181s Preparing to unpack .../43-debhelper_13.14.1ubuntu5_all.deb ... 181s Unpacking debhelper (13.14.1ubuntu5) ... 181s Selecting previously unselected package dh-python. 181s Preparing to unpack .../44-dh-python_6.20240422_all.deb ... 181s Unpacking dh-python (6.20240422) ... 181s Selecting previously unselected package python3-packaging. 181s Preparing to unpack .../45-python3-packaging_24.0-1_all.deb ... 181s Unpacking python3-packaging (24.0-1) ... 181s Selecting previously unselected package python3-pyproject-hooks. 181s Preparing to unpack .../46-python3-pyproject-hooks_1.1.0-1_all.deb ... 181s Unpacking python3-pyproject-hooks (1.1.0-1) ... 181s Selecting previously unselected package python3-toml. 181s Preparing to unpack .../47-python3-toml_0.10.2-1_all.deb ... 181s Unpacking python3-toml (0.10.2-1) ... 181s Selecting previously unselected package python3-wheel. 181s Preparing to unpack .../48-python3-wheel_0.43.0-1_all.deb ... 181s Unpacking python3-wheel (0.43.0-1) ... 181s Selecting previously unselected package python3-build. 181s Preparing to unpack .../49-python3-build_1.2.1-1_all.deb ... 181s Unpacking python3-build (1.2.1-1) ... 181s Selecting previously unselected package python3-installer. 181s Preparing to unpack .../50-python3-installer_0.7.0+dfsg1-3_all.deb ... 181s Unpacking python3-installer (0.7.0+dfsg1-3) ... 181s Selecting previously unselected package pybuild-plugin-pyproject. 181s Preparing to unpack .../51-pybuild-plugin-pyproject_6.20240422_all.deb ... 181s Unpacking pybuild-plugin-pyproject (6.20240422) ... 181s Selecting previously unselected package python3-all. 181s Preparing to unpack .../52-python3-all_3.12.3-0ubuntu1_ppc64el.deb ... 181s Unpacking python3-all (3.12.3-0ubuntu1) ... 181s Selecting previously unselected package python3-execnet. 181s Preparing to unpack .../53-python3-execnet_2.1.1-1_all.deb ... 181s Unpacking python3-execnet (2.1.1-1) ... 181s Selecting previously unselected package python3-iniconfig. 181s Preparing to unpack .../54-python3-iniconfig_1.1.1-2_all.deb ... 181s Unpacking python3-iniconfig (1.1.1-2) ... 181s Selecting previously unselected package python3-pluggy. 181s Preparing to unpack .../55-python3-pluggy_1.5.0-1_all.deb ... 181s Unpacking python3-pluggy (1.5.0-1) ... 181s Selecting previously unselected package python3-pytest. 181s Preparing to unpack .../56-python3-pytest_8.2.2-1ubuntu1_all.deb ... 181s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 181s Selecting previously unselected package python3-pytest-subtests. 181s Preparing to unpack .../57-python3-pytest-subtests_0.11.0-2_all.deb ... 181s Unpacking python3-pytest-subtests (0.11.0-2) ... 181s Selecting previously unselected package python3-pytest-xdist. 181s Preparing to unpack .../58-python3-pytest-xdist_3.6.1-1_all.deb ... 181s Unpacking python3-pytest-xdist (3.6.1-1) ... 181s Selecting previously unselected package python3-setuptools-scm. 181s Preparing to unpack .../59-python3-setuptools-scm_8.0.4-2_all.deb ... 181s Unpacking python3-setuptools-scm (8.0.4-2) ... 181s Selecting previously unselected package autopkgtest-satdep. 181s Preparing to unpack .../60-1-autopkgtest-satdep.deb ... 181s Unpacking autopkgtest-satdep (0) ... 181s Setting up dh-python (6.20240422) ... 182s Setting up python3-iniconfig (1.1.1-2) ... 182s Setting up libarchive-zip-perl (1.68-1) ... 182s Setting up libdebhelper-perl (13.14.1ubuntu5) ... 182s Setting up m4 (1.4.19-4build1) ... 182s Setting up python3-all (3.12.3-0ubuntu1) ... 182s Setting up libgomp1:ppc64el (14.1.0-1ubuntu1) ... 182s Setting up python3-wheel (0.43.0-1) ... 182s Setting up autotools-dev (20220109.1) ... 182s Setting up python3-packaging (24.0-1) ... 182s Setting up gcc-13-base:ppc64el (13.2.0-23ubuntu4) ... 182s Setting up python3-pyproject-hooks (1.1.0-1) ... 182s Setting up libquadmath0:ppc64el (14.1.0-1ubuntu1) ... 182s Setting up libmpc3:ppc64el (1.3.1-1build1) ... 182s Setting up libatomic1:ppc64el (14.1.0-1ubuntu1) ... 182s Setting up autopoint (0.21-14ubuntu2) ... 182s Setting up python3-toml (0.10.2-1) ... 182s Setting up python3-installer (0.7.0+dfsg1-3) ... 182s Setting up autoconf (2.71-3) ... 182s Setting up python3-pluggy (1.5.0-1) ... 183s Setting up libubsan1:ppc64el (14.1.0-1ubuntu1) ... 183s Setting up dwz (0.15-1build6) ... 183s Setting up libasan8:ppc64el (14.1.0-1ubuntu1) ... 183s Setting up debugedit (1:5.0-5build2) ... 183s Setting up libtsan2:ppc64el (14.1.0-1ubuntu1) ... 183s Setting up libisl23:ppc64el (0.26-3build1) ... 183s Setting up python3-build (1.2.1-1) ... 183s Setting up python3-execnet (2.1.1-1) ... 183s Setting up cpp-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 183s Setting up libcc1-0:ppc64el (14.1.0-1ubuntu1) ... 183s Setting up liblsan0:ppc64el (14.1.0-1ubuntu1) ... 183s Setting up libitm1:ppc64el (14.1.0-1ubuntu1) ... 183s Setting up cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 183s Setting up automake (1:1.16.5-1.3ubuntu1) ... 183s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 183s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 183s Setting up gettext (0.21-14ubuntu2) ... 183s Setting up cpp-13 (13.2.0-23ubuntu4) ... 183s Setting up pybuild-plugin-pyproject (6.20240422) ... 183s Setting up python3-pytest (8.2.2-1ubuntu1) ... 183s Setting up python3-setuptools-scm (8.0.4-2) ... 184s Setting up intltool-debian (0.35.0+20060710.6) ... 184s Setting up dh-strip-nondeterminism (1.14.0-1) ... 184s Setting up libgcc-13-dev:ppc64el (13.2.0-23ubuntu4) ... 184s Setting up cpp (4:13.2.0-7ubuntu1) ... 184s Setting up libstdc++-13-dev:ppc64el (13.2.0-23ubuntu4) ... 184s Setting up python3-pytest-subtests (0.11.0-2) ... 184s Setting up python3-pytest-xdist (3.6.1-1) ... 184s Setting up po-debconf (1.0.21+nmu1) ... 184s Setting up gcc-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 184s Setting up gcc-13 (13.2.0-23ubuntu4) ... 184s Setting up libtool (2.4.7-7build1) ... 184s Setting up g++-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 184s Setting up dh-autoreconf (20) ... 184s Setting up gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 184s Setting up g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 184s Setting up g++-13 (13.2.0-23ubuntu4) ... 184s Setting up debhelper (13.14.1ubuntu5) ... 184s Setting up gcc (4:13.2.0-7ubuntu1) ... 184s Setting up g++ (4:13.2.0-7ubuntu1) ... 184s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 184s Setting up build-essential (12.10ubuntu1) ... 184s Setting up autopkgtest-satdep (0) ... 184s Processing triggers for man-db (2.12.1-1) ... 185s Processing triggers for install-info (7.1-3build2) ... 185s Processing triggers for libc-bin (2.39-0ubuntu8.1) ... 188s (Reading database ... 75295 files and directories currently installed.) 188s Removing autopkgtest-satdep (0) ... 188s autopkgtest [01:29:35]: test upstream: [----------------------- 189s ============================= test session starts ============================== 189s platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 189s rootdir: /tmp/autopkgtest.qz0hJT/autopkgtest_tmp 189s configfile: pytest.ini 189s plugins: xdist-3.6.1, subtests-0.11.0 189s collected 29 items 189s 193s tests/test_subtests.py ...............xxxxx......... [100%] 193s 193s ================================== XFAILURES =================================== 193s _____________________ TestSubTest.test_skip[pytest-normal] _____________________ 193s 193s self = 193s testdir = 193s runner = 'pytest-normal' 193s 193s @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) 193s def test_skip(self, testdir, runner): 193s p = testdir.makepyfile( 193s """ 193s from unittest import TestCase, main 193s 193s class T(TestCase): 193s 193s def test_foo(self): 193s for i in range(5): 193s with self.subTest(msg="custom", i=i): 193s if i % 2 == 0: 193s self.skipTest('even number') 193s 193s if __name__ == '__main__': 193s main() 193s """ 193s ) 193s if runner == "unittest": 193s result = testdir.runpython(p) 193s result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (skipped=3)"]) 193s else: 193s > pytest.xfail("Not producing the expected results (#5)") 193s E _pytest.outcomes.XFailed: Not producing the expected results (#5) 193s 193s /tmp/autopkgtest.qz0hJT/autopkgtest_tmp/tests/test_subtests.py:242: XFailed 193s _____________________ TestSubTest.test_skip[pytest-xdist] ______________________ 193s 193s self = 193s testdir = 193s runner = 'pytest-xdist' 193s 193s @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) 193s def test_skip(self, testdir, runner): 193s p = testdir.makepyfile( 193s """ 193s from unittest import TestCase, main 193s 193s class T(TestCase): 193s 193s def test_foo(self): 193s for i in range(5): 193s with self.subTest(msg="custom", i=i): 193s if i % 2 == 0: 193s self.skipTest('even number') 193s 193s if __name__ == '__main__': 193s main() 193s """ 193s ) 193s if runner == "unittest": 193s result = testdir.runpython(p) 193s result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (skipped=3)"]) 193s else: 193s > pytest.xfail("Not producing the expected results (#5)") 193s E _pytest.outcomes.XFailed: Not producing the expected results (#5) 193s 193s /tmp/autopkgtest.qz0hJT/autopkgtest_tmp/tests/test_subtests.py:242: XFailed 193s _______________________ TestSubTest.test_xfail[unittest] _______________________ 193s 193s self = 193s testdir = 193s runner = 'unittest' 193s 193s @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) 193s @pytest.mark.xfail(reason="Not producing the expected results (#5)") 193s def test_xfail(self, testdir, runner): 193s p = testdir.makepyfile( 193s """ 193s import pytest 193s from unittest import expectedFailure, TestCase, main 193s 193s class T(TestCase): 193s @expectedFailure 193s def test_foo(self): 193s for i in range(5): 193s with self.subTest(msg="custom", i=i): 193s if i % 2 == 0: 193s raise pytest.xfail('even number') 193s 193s if __name__ == '__main__': 193s main() 193s """ 193s ) 193s if runner == "unittest": 193s result = testdir.runpython(p) 193s > result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (expected failures=3)"]) 193s E Failed: nomatch: 'Ran 1 test in *' 193s E and: 'x' 193s E and: '----------------------------------------------------------------------' 193s E fnmatch: 'Ran 1 test in *' 193s E with: 'Ran 1 test in 0.001s' 193s E nomatch: 'OK (expected failures=3)' 193s E and: '' 193s E and: 'OK (expected failures=1)' 193s E remains unmatched: 'OK (expected failures=3)' 193s 193s /tmp/autopkgtest.qz0hJT/autopkgtest_tmp/tests/test_subtests.py:270: Failed 193s ----------------------------- Captured stdout call ----------------------------- 193s running: /usr/bin/python3.12 /tmp/pytest-of-ubuntu/pytest-0/test_xfail2/test_xfail.py 193s in: /tmp/pytest-of-ubuntu/pytest-0/test_xfail2 193s ----------------------------- Captured stderr call ----------------------------- 193s x 193s ---------------------------------------------------------------------- 193s Ran 1 test in 0.001s 193s 193s OK (expected failures=1) 193s ____________________ TestSubTest.test_xfail[pytest-normal] _____________________ 193s 193s self = 193s testdir = 193s runner = 'pytest-normal' 193s 193s @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) 193s @pytest.mark.xfail(reason="Not producing the expected results (#5)") 193s def test_xfail(self, testdir, runner): 193s p = testdir.makepyfile( 193s """ 193s import pytest 193s from unittest import expectedFailure, TestCase, main 193s 193s class T(TestCase): 193s @expectedFailure 193s def test_foo(self): 193s for i in range(5): 193s with self.subTest(msg="custom", i=i): 193s if i % 2 == 0: 193s raise pytest.xfail('even number') 193s 193s if __name__ == '__main__': 193s main() 193s """ 193s ) 193s if runner == "unittest": 193s result = testdir.runpython(p) 193s result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (expected failures=3)"]) 193s else: 193s result = testdir.runpytest(p) 193s > result.stdout.fnmatch_lines( 193s ["collected 1 item", "* 3 xfailed, 1 passed in *"] 193s ) 193s E Failed: nomatch: 'collected 1 item' 193s E and: '============================= test session starts ==============================' 193s E and: 'platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0' 193s E and: 'rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_xfail3' 193s E and: 'plugins: xdist-3.6.1, subtests-0.11.0' 193s E exact match: 'collected 1 item' 193s E nomatch: '* 3 xfailed, 1 passed in *' 193s E and: '' 193s E and: 'test_xfail.py x [100%]' 193s E and: '' 193s E and: '============================== 1 xfailed in 0.02s ==============================' 193s E remains unmatched: '* 3 xfailed, 1 passed in *' 193s 193s /tmp/autopkgtest.qz0hJT/autopkgtest_tmp/tests/test_subtests.py:273: Failed 193s ----------------------------- Captured stdout call ----------------------------- 193s ============================= test session starts ============================== 193s platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 193s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_xfail3 193s plugins: xdist-3.6.1, subtests-0.11.0 193s collected 1 item 193s 193s test_xfail.py x [100%] 193s 193s ============================== 1 xfailed in 0.02s ============================== 193s _____________________ TestSubTest.test_xfail[pytest-xdist] _____________________ 193s 193s self = 193s testdir = 193s runner = 'pytest-xdist' 193s 193s @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) 193s @pytest.mark.xfail(reason="Not producing the expected results (#5)") 193s def test_xfail(self, testdir, runner): 193s p = testdir.makepyfile( 193s """ 193s import pytest 193s from unittest import expectedFailure, TestCase, main 193s 193s class T(TestCase): 193s @expectedFailure 193s def test_foo(self): 193s for i in range(5): 193s with self.subTest(msg="custom", i=i): 193s if i % 2 == 0: 193s raise pytest.xfail('even number') 193s 193s if __name__ == '__main__': 193s main() 193s """ 193s ) 193s if runner == "unittest": 193s result = testdir.runpython(p) 193s result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (expected failures=3)"]) 193s else: 193s result = testdir.runpytest(p) 193s > result.stdout.fnmatch_lines( 193s ["collected 1 item", "* 3 xfailed, 1 passed in *"] 193s ) 193s E Failed: nomatch: 'collected 1 item' 193s E and: '============================= test session starts ==============================' 193s E and: 'platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0' 193s E and: 'rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_xfail4' 193s E and: 'plugins: xdist-3.6.1, subtests-0.11.0' 193s E exact match: 'collected 1 item' 193s E nomatch: '* 3 xfailed, 1 passed in *' 193s E and: '' 193s E and: 'test_xfail.py x [100%]' 193s E and: '' 193s E and: '============================== 1 xfailed in 0.02s ==============================' 193s E remains unmatched: '* 3 xfailed, 1 passed in *' 193s 193s /tmp/autopkgtest.qz0hJT/autopkgtest_tmp/tests/test_subtests.py:273: Failed 193s ----------------------------- Captured stdout call ----------------------------- 193s ============================= test session starts ============================== 193s platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 193s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_xfail4 193s plugins: xdist-3.6.1, subtests-0.11.0 193s collected 1 item 193s 193s test_xfail.py x [100%] 193s 193s ============================== 1 xfailed in 0.02s ============================== 193s =========================== short test summary info ============================ 193s XFAIL tests/test_subtests.py::TestSubTest::test_skip[pytest-normal] - reason: Not producing the expected results (#5) 193s XFAIL tests/test_subtests.py::TestSubTest::test_skip[pytest-xdist] - reason: Not producing the expected results (#5) 193s XFAIL tests/test_subtests.py::TestSubTest::test_xfail[unittest] - Not producing the expected results (#5) 193s XFAIL tests/test_subtests.py::TestSubTest::test_xfail[pytest-normal] - Not producing the expected results (#5) 193s XFAIL tests/test_subtests.py::TestSubTest::test_xfail[pytest-xdist] - Not producing the expected results (#5) 193s ======================== 24 passed, 5 xfailed in 3.76s ========================= 193s autopkgtest [01:29:40]: test upstream: -----------------------] 193s autopkgtest [01:29:40]: test upstream: - - - - - - - - - - results - - - - - - - - - - 193s upstream PASS 194s autopkgtest [01:29:41]: @@@@@@@@@@@@@@@@@@@@ summary 194s upstream PASS 205s nova [W] Using flock in scalingstack-bos02-ppc64el 205s Creating nova instance adt-oracular-ppc64el-python-pytest-subtests-20240608-012627-juju-7f2275-prod-proposed-migration-environment-3-9a396368-bd69-4cf4-b537-75c9473d35ac from image adt/ubuntu-oracular-ppc64el-server-20240607.img (UUID 2e7ff4dd-25ad-4882-8618-1243d2d4ac8e)...