0s autopkgtest [20:11:32]: starting date and time: 2024-05-05 20:11:32+0000 0s autopkgtest [20:11:32]: git checkout: 699e7f9f ssh-setup/nova: explicitely set 'fqdn' in cloud-init 0s autopkgtest [20:11:32]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.35pt2stz/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pytest --apt-upgrade python-pytest-subtests --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pytest/8.1.2-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos02-ppc64el-6.secgroup --name adt-oracular-ppc64el-python-pytest-subtests-20240505-201132-juju-7f2275-prod-proposed-migration-environment-3-c1246ee0-fb52-4227-adba-1c572b620809 --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/ 118s autopkgtest [20:13:30]: testbed dpkg architecture: ppc64el 118s autopkgtest [20:13:30]: testbed apt version: 2.7.14build2 118s autopkgtest [20:13:30]: @@@@@@@@@@@@@@@@@@@@ test bed setup 119s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [64.7 kB] 119s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [23.5 kB] 119s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [1655 kB] 120s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [2800 B] 120s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [108 kB] 120s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el Packages [180 kB] 120s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el Packages [1260 B] 120s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el Packages [1280 kB] 120s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el Packages [22.6 kB] 121s Fetched 3338 kB in 2s (1900 kB/s) 121s Reading package lists... 123s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s Calculating upgrade... 125s The following packages will be upgraded: 125s ed hdparm libnfnetlink0 libudisks2-0 lsof lto-disabled-list udisks2 125s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 125s Need to get 974 kB of archives. 125s After this operation, 2048 B disk space will be freed. 125s Get:1 http://ftpmaster.internal/ubuntu oracular/main ppc64el ed ppc64el 1.20.2-2 [63.6 kB] 125s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el hdparm ppc64el 9.65+ds-1.1 [105 kB] 125s Get:3 http://ftpmaster.internal/ubuntu oracular/main ppc64el libnfnetlink0 ppc64el 1.0.2-3 [16.4 kB] 125s Get:4 http://ftpmaster.internal/ubuntu oracular/main ppc64el lsof ppc64el 4.95.0-1.1 [255 kB] 125s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el udisks2 ppc64el 2.10.1-7 [341 kB] 125s Get:6 http://ftpmaster.internal/ubuntu oracular/main ppc64el libudisks2-0 ppc64el 2.10.1-7 [180 kB] 125s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el lto-disabled-list all 48 [12.3 kB] 126s Fetched 974 kB in 1s (1130 kB/s) 126s (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 ... 72142 files and directories currently installed.) 126s Preparing to unpack .../0-ed_1.20.2-2_ppc64el.deb ... 126s Unpacking ed (1.20.2-2) over (1.20.1-1) ... 127s Preparing to unpack .../1-hdparm_9.65+ds-1.1_ppc64el.deb ... 127s Unpacking hdparm (9.65+ds-1.1) over (9.65+ds-1build1) ... 127s dpkg: warning: unable to delete old directory '/lib/systemd/system-sleep': Directory not empty 127s dpkg: warning: unable to delete old directory '/lib/hdparm': Directory not empty 127s Preparing to unpack .../2-libnfnetlink0_1.0.2-3_ppc64el.deb ... 127s Unpacking libnfnetlink0:ppc64el (1.0.2-3) over (1.0.2-2build1) ... 127s Preparing to unpack .../3-lsof_4.95.0-1.1_ppc64el.deb ... 127s Unpacking lsof (4.95.0-1.1) over (4.95.0-1build3) ... 127s Preparing to unpack .../4-udisks2_2.10.1-7_ppc64el.deb ... 127s Unpacking udisks2 (2.10.1-7) over (2.10.1-6build1) ... 127s Preparing to unpack .../5-libudisks2-0_2.10.1-7_ppc64el.deb ... 127s Unpacking libudisks2-0:ppc64el (2.10.1-7) over (2.10.1-6build1) ... 127s Preparing to unpack .../6-lto-disabled-list_48_all.deb ... 127s Unpacking lto-disabled-list (48) over (47) ... 127s Setting up lto-disabled-list (48) ... 127s Setting up hdparm (9.65+ds-1.1) ... 127s Installing new version of config file /etc/hdparm.conf ... 127s Setting up ed (1.20.2-2) ... 127s Setting up lsof (4.95.0-1.1) ... 127s Setting up libnfnetlink0:ppc64el (1.0.2-3) ... 127s Setting up libudisks2-0:ppc64el (2.10.1-7) ... 127s Setting up udisks2 (2.10.1-7) ... 128s Processing triggers for man-db (2.12.0-4build2) ... 131s Processing triggers for dbus (1.14.10-4ubuntu4) ... 131s Processing triggers for install-info (7.1-3build2) ... 131s Processing triggers for libc-bin (2.39-0ubuntu8) ... 131s Reading package lists... 131s Building dependency tree... 131s Reading state information... 132s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 132s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 132s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 132s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 133s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 134s Reading package lists... 134s Reading package lists... 135s Building dependency tree... 135s Reading state information... 135s Calculating upgrade... 135s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 135s Reading package lists... 136s Building dependency tree... 136s Reading state information... 136s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 137s autopkgtest [20:13:49]: rebooting testbed after setup commands that affected boot 141s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 174s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 194s autopkgtest [20:14:46]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:05:55 UTC 2024 197s autopkgtest [20:14:49]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pytest-subtests 199s Get:1 http://ftpmaster.internal/ubuntu oracular/universe python-pytest-subtests 0.11.0-2 (dsc) [1972 B] 199s Get:2 http://ftpmaster.internal/ubuntu oracular/universe python-pytest-subtests 0.11.0-2 (tar) [11.6 kB] 199s Get:3 http://ftpmaster.internal/ubuntu oracular/universe python-pytest-subtests 0.11.0-2 (diff) [3116 B] 200s gpgv: Signature made Fri Sep 1 19:10:27 2023 UTC 200s gpgv: using RSA key A954A54575BCED49240A725CFFD3C88B997DD16A 200s gpgv: Can't check signature: No public key 200s dpkg-source: warning: cannot verify inline signature for ./python-pytest-subtests_0.11.0-2.dsc: no acceptable signature found 200s autopkgtest [20:14:52]: testing package python-pytest-subtests version 0.11.0-2 200s autopkgtest [20:14:52]: build not needed 201s autopkgtest [20:14:53]: test upstream: preparing testbed 202s Reading package lists... 202s Building dependency tree... 202s Reading state information... 203s Starting pkgProblemResolver with broken count: 0 203s Starting 2 pkgProblemResolver with broken count: 0 203s Done 203s The following additional packages will be installed: 203s autoconf automake autopoint autotools-dev build-essential cpp cpp-13 203s cpp-13-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu debhelper debugedit 203s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-13 203s g++-13-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-13 203s gcc-13-base gcc-13-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gettext 203s intltool-debian libarchive-zip-perl libasan8 libatomic1 libcc1-0 203s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 203s libisl23 libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev 203s libsub-override-perl libtool libtsan2 libubsan1 m4 po-debconf 203s pybuild-plugin-pyproject python3-all python3-build python3-execnet 203s python3-iniconfig python3-installer python3-packaging python3-pluggy 203s python3-pyproject-hooks python3-pytest python3-pytest-subtests 203s python3-pytest-xdist python3-setuptools-scm python3-toml python3-wheel 203s Suggested packages: 203s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-13-locales 203s cpp-13-doc dh-make flit gcc-13-doc gcc-multilib manpages-dev flex bison gdb 203s gcc-doc gdb-powerpc64le-linux-gnu gettext-doc libasprintf-dev 203s libgettextpo-dev libstdc++-13-doc libtool-doc gfortran | fortran95-compiler 203s gcj-jdk m4-doc libmail-box-perl python3-pip python3-venv python-build-doc 203s execnet-doc python-installer-doc 203s Recommended packages: 203s libarchive-cpio-perl libltdl-dev libmail-sendmail-perl 203s The following NEW packages will be installed: 203s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 203s cpp cpp-13 cpp-13-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu debhelper 203s debugedit dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-13 203s g++-13-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-13 203s gcc-13-base gcc-13-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gettext 203s intltool-debian libarchive-zip-perl libasan8 libatomic1 libcc1-0 203s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 203s libisl23 libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-13-dev 203s libsub-override-perl libtool libtsan2 libubsan1 m4 po-debconf 203s pybuild-plugin-pyproject python3-all python3-build python3-execnet 203s python3-iniconfig python3-installer python3-packaging python3-pluggy 203s python3-pyproject-hooks python3-pytest python3-pytest-subtests 203s python3-pytest-xdist python3-setuptools-scm python3-toml python3-wheel 203s 0 upgraded, 62 newly installed, 0 to remove and 0 not upgraded. 203s Need to get 62.8 MB/62.8 MB of archives. 203s After this operation, 235 MB of additional disk space will be used. 203s Get:1 /tmp/autopkgtest.uBAiiP/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [808 B] 204s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el m4 ppc64el 1.4.19-4build1 [278 kB] 204s Get:3 http://ftpmaster.internal/ubuntu oracular/main ppc64el autoconf all 2.71-3 [339 kB] 204s Get:4 http://ftpmaster.internal/ubuntu oracular/main ppc64el autotools-dev all 20220109.1 [44.9 kB] 204s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el automake all 1:1.16.5-1.3ubuntu1 [558 kB] 204s Get:6 http://ftpmaster.internal/ubuntu oracular/main ppc64el autopoint all 0.21-14ubuntu2 [422 kB] 204s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-13-base ppc64el 13.2.0-23ubuntu4 [49.0 kB] 204s Get:8 http://ftpmaster.internal/ubuntu oracular/main ppc64el libisl23 ppc64el 0.26-3build1 [886 kB] 204s Get:9 http://ftpmaster.internal/ubuntu oracular/main ppc64el libmpc3 ppc64el 1.3.1-1build1 [62.1 kB] 205s Get:10 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp-13-powerpc64le-linux-gnu ppc64el 13.2.0-23ubuntu4 [10.7 MB] 206s Get:11 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp-13 ppc64el 13.2.0-23ubuntu4 [1038 B] 206s Get:12 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [5330 B] 206s Get:13 http://ftpmaster.internal/ubuntu oracular/main ppc64el cpp ppc64el 4:13.2.0-7ubuntu1 [22.5 kB] 206s Get:14 http://ftpmaster.internal/ubuntu oracular/main ppc64el libcc1-0 ppc64el 14-20240412-0ubuntu1 [48.1 kB] 206s Get:15 http://ftpmaster.internal/ubuntu oracular/main ppc64el libgomp1 ppc64el 14-20240412-0ubuntu1 [161 kB] 206s Get:16 http://ftpmaster.internal/ubuntu oracular/main ppc64el libitm1 ppc64el 14-20240412-0ubuntu1 [32.4 kB] 206s Get:17 http://ftpmaster.internal/ubuntu oracular/main ppc64el libatomic1 ppc64el 14-20240412-0ubuntu1 [10.7 kB] 206s Get:18 http://ftpmaster.internal/ubuntu oracular/main ppc64el libasan8 ppc64el 14-20240412-0ubuntu1 [2971 kB] 206s Get:19 http://ftpmaster.internal/ubuntu oracular/main ppc64el liblsan0 ppc64el 14-20240412-0ubuntu1 [1327 kB] 206s Get:20 http://ftpmaster.internal/ubuntu oracular/main ppc64el libtsan2 ppc64el 14-20240412-0ubuntu1 [2709 kB] 207s Get:21 http://ftpmaster.internal/ubuntu oracular/main ppc64el libubsan1 ppc64el 14-20240412-0ubuntu1 [1196 kB] 207s Get:22 http://ftpmaster.internal/ubuntu oracular/main ppc64el libquadmath0 ppc64el 14-20240412-0ubuntu1 [158 kB] 207s Get:23 http://ftpmaster.internal/ubuntu oracular/main ppc64el libgcc-13-dev ppc64el 13.2.0-23ubuntu4 [1580 kB] 207s Get:24 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-13-powerpc64le-linux-gnu ppc64el 13.2.0-23ubuntu4 [20.6 MB] 208s Get:25 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-13 ppc64el 13.2.0-23ubuntu4 [482 kB] 208s Get:26 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [1224 B] 208s Get:27 http://ftpmaster.internal/ubuntu oracular/main ppc64el gcc ppc64el 4:13.2.0-7ubuntu1 [5022 B] 208s Get:28 http://ftpmaster.internal/ubuntu oracular/main ppc64el libstdc++-13-dev ppc64el 13.2.0-23ubuntu4 [2512 kB] 208s Get:29 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++-13-powerpc64le-linux-gnu ppc64el 13.2.0-23ubuntu4 [12.2 MB] 208s Get:30 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++-13 ppc64el 13.2.0-23ubuntu4 [14.5 kB] 208s Get:31 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [968 B] 208s Get:32 http://ftpmaster.internal/ubuntu oracular/main ppc64el g++ ppc64el 4:13.2.0-7ubuntu1 [1086 B] 208s Get:33 http://ftpmaster.internal/ubuntu oracular/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 208s Get:34 http://ftpmaster.internal/ubuntu oracular/main ppc64el libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] 208s Get:35 http://ftpmaster.internal/ubuntu oracular/main ppc64el libtool all 2.4.7-7build1 [166 kB] 208s Get:36 http://ftpmaster.internal/ubuntu oracular/main ppc64el dh-autoreconf all 20 [16.1 kB] 208s Get:37 http://ftpmaster.internal/ubuntu oracular/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] 208s Get:38 http://ftpmaster.internal/ubuntu oracular/main ppc64el libsub-override-perl all 0.10-1 [10.0 kB] 208s Get:39 http://ftpmaster.internal/ubuntu oracular/main ppc64el libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] 208s Get:40 http://ftpmaster.internal/ubuntu oracular/main ppc64el dh-strip-nondeterminism all 1.13.1-1 [5362 B] 208s Get:41 http://ftpmaster.internal/ubuntu oracular/main ppc64el debugedit ppc64el 1:5.0-5build2 [51.4 kB] 208s Get:42 http://ftpmaster.internal/ubuntu oracular/main ppc64el dwz ppc64el 0.15-1build6 [142 kB] 208s Get:43 http://ftpmaster.internal/ubuntu oracular/main ppc64el gettext ppc64el 0.21-14ubuntu2 [985 kB] 208s Get:44 http://ftpmaster.internal/ubuntu oracular/main ppc64el intltool-debian all 0.35.0+20060710.6 [23.2 kB] 208s Get:45 http://ftpmaster.internal/ubuntu oracular/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] 208s Get:46 http://ftpmaster.internal/ubuntu oracular/main ppc64el debhelper all 13.14.1ubuntu5 [869 kB] 208s Get:47 http://ftpmaster.internal/ubuntu oracular/universe ppc64el dh-python all 6.20240401 [110 kB] 208s Get:48 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 209s Get:49 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pyproject-hooks all 1.0.0-2 [9434 B] 209s Get:50 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-toml all 0.10.2-1 [16.5 kB] 209s Get:51 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-wheel all 0.42.0-2 [53.1 kB] 209s Get:52 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-build all 1.0.3-2 [27.3 kB] 209s Get:53 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-installer all 0.7.0+dfsg1-2 [18.1 kB] 209s Get:54 http://ftpmaster.internal/ubuntu oracular/universe ppc64el pybuild-plugin-pyproject all 6.20240401 [1726 B] 209s Get:55 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-all ppc64el 3.12.3-0ubuntu1 [888 B] 209s Get:56 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-execnet all 2.1.1-1 [33.4 kB] 209s Get:57 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 209s Get:58 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pluggy all 1.4.0-1 [20.4 kB] 209s Get:59 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el python3-pytest all 8.1.2-1 [248 kB] 209s Get:60 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pytest-subtests all 0.11.0-2 [9690 B] 209s Get:61 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pytest-xdist all 3.4.0-1 [32.0 kB] 210s Get:62 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-setuptools-scm all 8.0.4-2 [35.8 kB] 211s Fetched 62.8 MB in 6s (9768 kB/s) 211s Selecting previously unselected package m4. 211s (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 ... 72141 files and directories currently installed.) 211s Preparing to unpack .../00-m4_1.4.19-4build1_ppc64el.deb ... 211s Unpacking m4 (1.4.19-4build1) ... 211s Selecting previously unselected package autoconf. 211s Preparing to unpack .../01-autoconf_2.71-3_all.deb ... 211s Unpacking autoconf (2.71-3) ... 211s Selecting previously unselected package autotools-dev. 211s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 211s Unpacking autotools-dev (20220109.1) ... 211s Selecting previously unselected package automake. 211s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 211s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 211s Selecting previously unselected package autopoint. 211s Preparing to unpack .../04-autopoint_0.21-14ubuntu2_all.deb ... 211s Unpacking autopoint (0.21-14ubuntu2) ... 211s Selecting previously unselected package gcc-13-base:ppc64el. 211s Preparing to unpack .../05-gcc-13-base_13.2.0-23ubuntu4_ppc64el.deb ... 211s Unpacking gcc-13-base:ppc64el (13.2.0-23ubuntu4) ... 211s Selecting previously unselected package libisl23:ppc64el. 211s Preparing to unpack .../06-libisl23_0.26-3build1_ppc64el.deb ... 211s Unpacking libisl23:ppc64el (0.26-3build1) ... 211s Selecting previously unselected package libmpc3:ppc64el. 211s Preparing to unpack .../07-libmpc3_1.3.1-1build1_ppc64el.deb ... 211s Unpacking libmpc3:ppc64el (1.3.1-1build1) ... 211s Selecting previously unselected package cpp-13-powerpc64le-linux-gnu. 211s Preparing to unpack .../08-cpp-13-powerpc64le-linux-gnu_13.2.0-23ubuntu4_ppc64el.deb ... 211s Unpacking cpp-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 211s Selecting previously unselected package cpp-13. 211s Preparing to unpack .../09-cpp-13_13.2.0-23ubuntu4_ppc64el.deb ... 211s Unpacking cpp-13 (13.2.0-23ubuntu4) ... 211s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 211s Preparing to unpack .../10-cpp-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 211s Unpacking cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 211s Selecting previously unselected package cpp. 211s Preparing to unpack .../11-cpp_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 211s Unpacking cpp (4:13.2.0-7ubuntu1) ... 211s Selecting previously unselected package libcc1-0:ppc64el. 211s Preparing to unpack .../12-libcc1-0_14-20240412-0ubuntu1_ppc64el.deb ... 211s Unpacking libcc1-0:ppc64el (14-20240412-0ubuntu1) ... 212s Selecting previously unselected package libgomp1:ppc64el. 212s Preparing to unpack .../13-libgomp1_14-20240412-0ubuntu1_ppc64el.deb ... 212s Unpacking libgomp1:ppc64el (14-20240412-0ubuntu1) ... 212s Selecting previously unselected package libitm1:ppc64el. 212s Preparing to unpack .../14-libitm1_14-20240412-0ubuntu1_ppc64el.deb ... 212s Unpacking libitm1:ppc64el (14-20240412-0ubuntu1) ... 212s Selecting previously unselected package libatomic1:ppc64el. 212s Preparing to unpack .../15-libatomic1_14-20240412-0ubuntu1_ppc64el.deb ... 212s Unpacking libatomic1:ppc64el (14-20240412-0ubuntu1) ... 212s Selecting previously unselected package libasan8:ppc64el. 212s Preparing to unpack .../16-libasan8_14-20240412-0ubuntu1_ppc64el.deb ... 212s Unpacking libasan8:ppc64el (14-20240412-0ubuntu1) ... 212s Selecting previously unselected package liblsan0:ppc64el. 212s Preparing to unpack .../17-liblsan0_14-20240412-0ubuntu1_ppc64el.deb ... 212s Unpacking liblsan0:ppc64el (14-20240412-0ubuntu1) ... 212s Selecting previously unselected package libtsan2:ppc64el. 212s Preparing to unpack .../18-libtsan2_14-20240412-0ubuntu1_ppc64el.deb ... 212s Unpacking libtsan2:ppc64el (14-20240412-0ubuntu1) ... 212s Selecting previously unselected package libubsan1:ppc64el. 212s Preparing to unpack .../19-libubsan1_14-20240412-0ubuntu1_ppc64el.deb ... 212s Unpacking libubsan1:ppc64el (14-20240412-0ubuntu1) ... 212s Selecting previously unselected package libquadmath0:ppc64el. 212s Preparing to unpack .../20-libquadmath0_14-20240412-0ubuntu1_ppc64el.deb ... 212s Unpacking libquadmath0:ppc64el (14-20240412-0ubuntu1) ... 212s Selecting previously unselected package libgcc-13-dev:ppc64el. 212s Preparing to unpack .../21-libgcc-13-dev_13.2.0-23ubuntu4_ppc64el.deb ... 212s Unpacking libgcc-13-dev:ppc64el (13.2.0-23ubuntu4) ... 212s Selecting previously unselected package gcc-13-powerpc64le-linux-gnu. 212s Preparing to unpack .../22-gcc-13-powerpc64le-linux-gnu_13.2.0-23ubuntu4_ppc64el.deb ... 212s Unpacking gcc-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 213s Selecting previously unselected package gcc-13. 213s Preparing to unpack .../23-gcc-13_13.2.0-23ubuntu4_ppc64el.deb ... 213s Unpacking gcc-13 (13.2.0-23ubuntu4) ... 213s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 213s Preparing to unpack .../24-gcc-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 213s Unpacking gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 213s Selecting previously unselected package gcc. 213s Preparing to unpack .../25-gcc_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 213s Unpacking gcc (4:13.2.0-7ubuntu1) ... 213s Selecting previously unselected package libstdc++-13-dev:ppc64el. 213s Preparing to unpack .../26-libstdc++-13-dev_13.2.0-23ubuntu4_ppc64el.deb ... 213s Unpacking libstdc++-13-dev:ppc64el (13.2.0-23ubuntu4) ... 213s Selecting previously unselected package g++-13-powerpc64le-linux-gnu. 213s Preparing to unpack .../27-g++-13-powerpc64le-linux-gnu_13.2.0-23ubuntu4_ppc64el.deb ... 213s Unpacking g++-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 214s Selecting previously unselected package g++-13. 214s Preparing to unpack .../28-g++-13_13.2.0-23ubuntu4_ppc64el.deb ... 214s Unpacking g++-13 (13.2.0-23ubuntu4) ... 214s Selecting previously unselected package g++-powerpc64le-linux-gnu. 214s Preparing to unpack .../29-g++-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 214s Unpacking g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 214s Selecting previously unselected package g++. 214s Preparing to unpack .../30-g++_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 214s Unpacking g++ (4:13.2.0-7ubuntu1) ... 214s Selecting previously unselected package build-essential. 214s Preparing to unpack .../31-build-essential_12.10ubuntu1_ppc64el.deb ... 214s Unpacking build-essential (12.10ubuntu1) ... 214s Selecting previously unselected package libdebhelper-perl. 214s Preparing to unpack .../32-libdebhelper-perl_13.14.1ubuntu5_all.deb ... 214s Unpacking libdebhelper-perl (13.14.1ubuntu5) ... 214s Selecting previously unselected package libtool. 214s Preparing to unpack .../33-libtool_2.4.7-7build1_all.deb ... 214s Unpacking libtool (2.4.7-7build1) ... 214s Selecting previously unselected package dh-autoreconf. 214s Preparing to unpack .../34-dh-autoreconf_20_all.deb ... 214s Unpacking dh-autoreconf (20) ... 214s Selecting previously unselected package libarchive-zip-perl. 214s Preparing to unpack .../35-libarchive-zip-perl_1.68-1_all.deb ... 214s Unpacking libarchive-zip-perl (1.68-1) ... 214s Selecting previously unselected package libsub-override-perl. 214s Preparing to unpack .../36-libsub-override-perl_0.10-1_all.deb ... 214s Unpacking libsub-override-perl (0.10-1) ... 214s Selecting previously unselected package libfile-stripnondeterminism-perl. 214s Preparing to unpack .../37-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... 214s Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... 214s Selecting previously unselected package dh-strip-nondeterminism. 214s Preparing to unpack .../38-dh-strip-nondeterminism_1.13.1-1_all.deb ... 214s Unpacking dh-strip-nondeterminism (1.13.1-1) ... 214s Selecting previously unselected package debugedit. 214s Preparing to unpack .../39-debugedit_1%3a5.0-5build2_ppc64el.deb ... 214s Unpacking debugedit (1:5.0-5build2) ... 214s Selecting previously unselected package dwz. 214s Preparing to unpack .../40-dwz_0.15-1build6_ppc64el.deb ... 214s Unpacking dwz (0.15-1build6) ... 214s Selecting previously unselected package gettext. 214s Preparing to unpack .../41-gettext_0.21-14ubuntu2_ppc64el.deb ... 214s Unpacking gettext (0.21-14ubuntu2) ... 214s Selecting previously unselected package intltool-debian. 214s Preparing to unpack .../42-intltool-debian_0.35.0+20060710.6_all.deb ... 214s Unpacking intltool-debian (0.35.0+20060710.6) ... 214s Selecting previously unselected package po-debconf. 214s Preparing to unpack .../43-po-debconf_1.0.21+nmu1_all.deb ... 214s Unpacking po-debconf (1.0.21+nmu1) ... 214s Selecting previously unselected package debhelper. 214s Preparing to unpack .../44-debhelper_13.14.1ubuntu5_all.deb ... 214s Unpacking debhelper (13.14.1ubuntu5) ... 215s Selecting previously unselected package dh-python. 215s Preparing to unpack .../45-dh-python_6.20240401_all.deb ... 215s Unpacking dh-python (6.20240401) ... 215s Selecting previously unselected package python3-packaging. 215s Preparing to unpack .../46-python3-packaging_24.0-1_all.deb ... 215s Unpacking python3-packaging (24.0-1) ... 215s Selecting previously unselected package python3-pyproject-hooks. 215s Preparing to unpack .../47-python3-pyproject-hooks_1.0.0-2_all.deb ... 215s Unpacking python3-pyproject-hooks (1.0.0-2) ... 215s Selecting previously unselected package python3-toml. 215s Preparing to unpack .../48-python3-toml_0.10.2-1_all.deb ... 215s Unpacking python3-toml (0.10.2-1) ... 215s Selecting previously unselected package python3-wheel. 215s Preparing to unpack .../49-python3-wheel_0.42.0-2_all.deb ... 215s Unpacking python3-wheel (0.42.0-2) ... 215s Selecting previously unselected package python3-build. 215s Preparing to unpack .../50-python3-build_1.0.3-2_all.deb ... 215s Unpacking python3-build (1.0.3-2) ... 215s Selecting previously unselected package python3-installer. 215s Preparing to unpack .../51-python3-installer_0.7.0+dfsg1-2_all.deb ... 215s Unpacking python3-installer (0.7.0+dfsg1-2) ... 215s Selecting previously unselected package pybuild-plugin-pyproject. 215s Preparing to unpack .../52-pybuild-plugin-pyproject_6.20240401_all.deb ... 215s Unpacking pybuild-plugin-pyproject (6.20240401) ... 215s Selecting previously unselected package python3-all. 215s Preparing to unpack .../53-python3-all_3.12.3-0ubuntu1_ppc64el.deb ... 215s Unpacking python3-all (3.12.3-0ubuntu1) ... 215s Selecting previously unselected package python3-execnet. 215s Preparing to unpack .../54-python3-execnet_2.1.1-1_all.deb ... 215s Unpacking python3-execnet (2.1.1-1) ... 215s Selecting previously unselected package python3-iniconfig. 215s Preparing to unpack .../55-python3-iniconfig_1.1.1-2_all.deb ... 215s Unpacking python3-iniconfig (1.1.1-2) ... 215s Selecting previously unselected package python3-pluggy. 215s Preparing to unpack .../56-python3-pluggy_1.4.0-1_all.deb ... 215s Unpacking python3-pluggy (1.4.0-1) ... 215s Selecting previously unselected package python3-pytest. 215s Preparing to unpack .../57-python3-pytest_8.1.2-1_all.deb ... 215s Unpacking python3-pytest (8.1.2-1) ... 215s Selecting previously unselected package python3-pytest-subtests. 215s Preparing to unpack .../58-python3-pytest-subtests_0.11.0-2_all.deb ... 215s Unpacking python3-pytest-subtests (0.11.0-2) ... 215s Selecting previously unselected package python3-pytest-xdist. 215s Preparing to unpack .../59-python3-pytest-xdist_3.4.0-1_all.deb ... 215s Unpacking python3-pytest-xdist (3.4.0-1) ... 215s Selecting previously unselected package python3-setuptools-scm. 215s Preparing to unpack .../60-python3-setuptools-scm_8.0.4-2_all.deb ... 215s Unpacking python3-setuptools-scm (8.0.4-2) ... 215s Selecting previously unselected package autopkgtest-satdep. 215s Preparing to unpack .../61-1-autopkgtest-satdep.deb ... 215s Unpacking autopkgtest-satdep (0) ... 215s Setting up dh-python (6.20240401) ... 215s Setting up python3-iniconfig (1.1.1-2) ... 216s Setting up libarchive-zip-perl (1.68-1) ... 216s Setting up libdebhelper-perl (13.14.1ubuntu5) ... 216s Setting up m4 (1.4.19-4build1) ... 216s Setting up python3-all (3.12.3-0ubuntu1) ... 216s Setting up libgomp1:ppc64el (14-20240412-0ubuntu1) ... 216s Setting up python3-wheel (0.42.0-2) ... 216s Setting up autotools-dev (20220109.1) ... 216s Setting up python3-packaging (24.0-1) ... 216s Setting up gcc-13-base:ppc64el (13.2.0-23ubuntu4) ... 216s Setting up python3-pyproject-hooks (1.0.0-2) ... 216s Setting up libquadmath0:ppc64el (14-20240412-0ubuntu1) ... 216s Setting up libmpc3:ppc64el (1.3.1-1build1) ... 216s Setting up libatomic1:ppc64el (14-20240412-0ubuntu1) ... 216s Setting up autopoint (0.21-14ubuntu2) ... 216s Setting up python3-toml (0.10.2-1) ... 216s Setting up python3-installer (0.7.0+dfsg1-2) ... 217s Setting up autoconf (2.71-3) ... 217s Setting up python3-pluggy (1.4.0-1) ... 217s Setting up libubsan1:ppc64el (14-20240412-0ubuntu1) ... 217s Setting up dwz (0.15-1build6) ... 217s Setting up libasan8:ppc64el (14-20240412-0ubuntu1) ... 217s Setting up debugedit (1:5.0-5build2) ... 217s Setting up libsub-override-perl (0.10-1) ... 217s Setting up libtsan2:ppc64el (14-20240412-0ubuntu1) ... 217s Setting up libisl23:ppc64el (0.26-3build1) ... 217s Setting up python3-build (1.0.3-2) ... 217s Setting up python3-execnet (2.1.1-1) ... 217s Setting up cpp-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 217s Setting up libcc1-0:ppc64el (14-20240412-0ubuntu1) ... 217s Setting up liblsan0:ppc64el (14-20240412-0ubuntu1) ... 217s Setting up libitm1:ppc64el (14-20240412-0ubuntu1) ... 217s Setting up cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 217s Setting up automake (1:1.16.5-1.3ubuntu1) ... 217s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 217s Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... 217s Setting up gettext (0.21-14ubuntu2) ... 217s Setting up cpp-13 (13.2.0-23ubuntu4) ... 217s Setting up pybuild-plugin-pyproject (6.20240401) ... 217s Setting up python3-pytest (8.1.2-1) ... 218s Setting up python3-setuptools-scm (8.0.4-2) ... 218s Setting up intltool-debian (0.35.0+20060710.6) ... 218s Setting up dh-strip-nondeterminism (1.13.1-1) ... 218s Setting up libgcc-13-dev:ppc64el (13.2.0-23ubuntu4) ... 218s Setting up cpp (4:13.2.0-7ubuntu1) ... 218s Setting up libstdc++-13-dev:ppc64el (13.2.0-23ubuntu4) ... 218s Setting up python3-pytest-subtests (0.11.0-2) ... 219s Setting up python3-pytest-xdist (3.4.0-1) ... 219s Setting up po-debconf (1.0.21+nmu1) ... 219s Setting up gcc-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 219s Setting up gcc-13 (13.2.0-23ubuntu4) ... 219s Setting up libtool (2.4.7-7build1) ... 219s Setting up g++-13-powerpc64le-linux-gnu (13.2.0-23ubuntu4) ... 219s Setting up dh-autoreconf (20) ... 219s Setting up gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 219s Setting up g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 219s Setting up g++-13 (13.2.0-23ubuntu4) ... 219s Setting up debhelper (13.14.1ubuntu5) ... 219s Setting up gcc (4:13.2.0-7ubuntu1) ... 219s Setting up g++ (4:13.2.0-7ubuntu1) ... 219s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 219s Setting up build-essential (12.10ubuntu1) ... 219s Setting up autopkgtest-satdep (0) ... 219s Processing triggers for man-db (2.12.0-4build2) ... 222s Processing triggers for install-info (7.1-3build2) ... 223s Processing triggers for libc-bin (2.39-0ubuntu8) ... 228s (Reading database ... 74834 files and directories currently installed.) 228s Removing autopkgtest-satdep (0) ... 228s autopkgtest [20:15:20]: test upstream: [----------------------- 229s ============================= test session starts ============================== 229s platform linux -- Python 3.12.3, pytest-8.1.2, pluggy-1.4.0 229s rootdir: /tmp/autopkgtest.uBAiiP/autopkgtest_tmp 229s configfile: pytest.ini 229s plugins: subtests-0.11.0, xdist-3.4.0 229s collected 29 items 229s 234s tests/test_subtests.py ...............xxxxx......... [100%] 234s 234s ================================== XFAILURES =================================== 234s _____________________ TestSubTest.test_skip[pytest-normal] _____________________ 234s 234s self = 234s testdir = 234s runner = 'pytest-normal' 234s 234s @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) 234s def test_skip(self, testdir, runner): 234s p = testdir.makepyfile( 234s """ 234s from unittest import TestCase, main 234s 234s class T(TestCase): 234s 234s def test_foo(self): 234s for i in range(5): 234s with self.subTest(msg="custom", i=i): 234s if i % 2 == 0: 234s self.skipTest('even number') 234s 234s if __name__ == '__main__': 234s main() 234s """ 234s ) 234s if runner == "unittest": 234s result = testdir.runpython(p) 234s result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (skipped=3)"]) 234s else: 234s > pytest.xfail("Not producing the expected results (#5)") 234s E _pytest.outcomes.XFailed: Not producing the expected results (#5) 234s 234s /tmp/autopkgtest.uBAiiP/autopkgtest_tmp/tests/test_subtests.py:242: XFailed 234s _____________________ TestSubTest.test_skip[pytest-xdist] ______________________ 234s 234s self = 234s testdir = 234s runner = 'pytest-xdist' 234s 234s @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) 234s def test_skip(self, testdir, runner): 234s p = testdir.makepyfile( 234s """ 234s from unittest import TestCase, main 234s 234s class T(TestCase): 234s 234s def test_foo(self): 234s for i in range(5): 234s with self.subTest(msg="custom", i=i): 234s if i % 2 == 0: 234s self.skipTest('even number') 234s 234s if __name__ == '__main__': 234s main() 234s """ 234s ) 234s if runner == "unittest": 234s result = testdir.runpython(p) 234s result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (skipped=3)"]) 234s else: 234s > pytest.xfail("Not producing the expected results (#5)") 234s E _pytest.outcomes.XFailed: Not producing the expected results (#5) 234s 234s /tmp/autopkgtest.uBAiiP/autopkgtest_tmp/tests/test_subtests.py:242: XFailed 234s _______________________ TestSubTest.test_xfail[unittest] _______________________ 234s 234s self = 234s testdir = 234s runner = 'unittest' 234s 234s @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) 234s @pytest.mark.xfail(reason="Not producing the expected results (#5)") 234s def test_xfail(self, testdir, runner): 234s p = testdir.makepyfile( 234s """ 234s import pytest 234s from unittest import expectedFailure, TestCase, main 234s 234s class T(TestCase): 234s @expectedFailure 234s def test_foo(self): 234s for i in range(5): 234s with self.subTest(msg="custom", i=i): 234s if i % 2 == 0: 234s raise pytest.xfail('even number') 234s 234s if __name__ == '__main__': 234s main() 234s """ 234s ) 234s if runner == "unittest": 234s result = testdir.runpython(p) 234s > result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (expected failures=3)"]) 234s E Failed: nomatch: 'Ran 1 test in *' 234s E and: 'x' 234s E and: '----------------------------------------------------------------------' 234s E fnmatch: 'Ran 1 test in *' 234s E with: 'Ran 1 test in 0.001s' 234s E nomatch: 'OK (expected failures=3)' 234s E and: '' 234s E and: 'OK (expected failures=1)' 234s E remains unmatched: 'OK (expected failures=3)' 234s 234s /tmp/autopkgtest.uBAiiP/autopkgtest_tmp/tests/test_subtests.py:270: Failed 234s ----------------------------- Captured stdout call ----------------------------- 234s running: /usr/bin/python3.12 /tmp/pytest-of-ubuntu/pytest-0/test_xfail2/test_xfail.py 234s in: /tmp/pytest-of-ubuntu/pytest-0/test_xfail2 234s ----------------------------- Captured stderr call ----------------------------- 234s x 234s ---------------------------------------------------------------------- 234s Ran 1 test in 0.001s 234s 234s OK (expected failures=1) 234s ____________________ TestSubTest.test_xfail[pytest-normal] _____________________ 234s 234s self = 234s testdir = 234s runner = 'pytest-normal' 234s 234s @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) 234s @pytest.mark.xfail(reason="Not producing the expected results (#5)") 234s def test_xfail(self, testdir, runner): 234s p = testdir.makepyfile( 234s """ 234s import pytest 234s from unittest import expectedFailure, TestCase, main 234s 234s class T(TestCase): 234s @expectedFailure 234s def test_foo(self): 234s for i in range(5): 234s with self.subTest(msg="custom", i=i): 234s if i % 2 == 0: 234s raise pytest.xfail('even number') 234s 234s if __name__ == '__main__': 234s main() 234s """ 234s ) 234s if runner == "unittest": 234s result = testdir.runpython(p) 234s result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (expected failures=3)"]) 234s else: 234s result = testdir.runpytest(p) 234s > result.stdout.fnmatch_lines( 234s ["collected 1 item", "* 3 xfailed, 1 passed in *"] 234s ) 234s E Failed: nomatch: 'collected 1 item' 234s E and: '============================= test session starts ==============================' 234s E and: 'platform linux -- Python 3.12.3, pytest-8.1.2, pluggy-1.4.0' 234s E and: 'rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_xfail3' 234s E and: 'plugins: subtests-0.11.0, xdist-3.4.0' 234s E exact match: 'collected 1 item' 234s E nomatch: '* 3 xfailed, 1 passed in *' 234s E and: '' 234s E and: 'test_xfail.py x [100%]' 234s E and: '' 234s E and: '============================== 1 xfailed in 0.02s ==============================' 234s E remains unmatched: '* 3 xfailed, 1 passed in *' 234s 234s /tmp/autopkgtest.uBAiiP/autopkgtest_tmp/tests/test_subtests.py:273: Failed 234s ----------------------------- Captured stdout call ----------------------------- 234s ============================= test session starts ============================== 234s platform linux -- Python 3.12.3, pytest-8.1.2, pluggy-1.4.0 234s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_xfail3 234s plugins: subtests-0.11.0, xdist-3.4.0 234s collected 1 item 234s 234s test_xfail.py x [100%] 234s 234s ============================== 1 xfailed in 0.02s ============================== 234s _____________________ TestSubTest.test_xfail[pytest-xdist] _____________________ 234s 234s self = 234s testdir = 234s runner = 'pytest-xdist' 234s 234s @pytest.mark.parametrize("runner", ["unittest", "pytest-normal", "pytest-xdist"]) 234s @pytest.mark.xfail(reason="Not producing the expected results (#5)") 234s def test_xfail(self, testdir, runner): 234s p = testdir.makepyfile( 234s """ 234s import pytest 234s from unittest import expectedFailure, TestCase, main 234s 234s class T(TestCase): 234s @expectedFailure 234s def test_foo(self): 234s for i in range(5): 234s with self.subTest(msg="custom", i=i): 234s if i % 2 == 0: 234s raise pytest.xfail('even number') 234s 234s if __name__ == '__main__': 234s main() 234s """ 234s ) 234s if runner == "unittest": 234s result = testdir.runpython(p) 234s result.stderr.fnmatch_lines(["Ran 1 test in *", "OK (expected failures=3)"]) 234s else: 234s result = testdir.runpytest(p) 234s > result.stdout.fnmatch_lines( 234s ["collected 1 item", "* 3 xfailed, 1 passed in *"] 234s ) 234s E Failed: nomatch: 'collected 1 item' 234s E and: '============================= test session starts ==============================' 234s E and: 'platform linux -- Python 3.12.3, pytest-8.1.2, pluggy-1.4.0' 234s E and: 'rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_xfail4' 234s E and: 'plugins: subtests-0.11.0, xdist-3.4.0' 234s E exact match: 'collected 1 item' 234s E nomatch: '* 3 xfailed, 1 passed in *' 234s E and: '' 234s E and: 'test_xfail.py x [100%]' 234s E and: '' 234s E and: '============================== 1 xfailed in 0.02s ==============================' 234s E remains unmatched: '* 3 xfailed, 1 passed in *' 234s 234s /tmp/autopkgtest.uBAiiP/autopkgtest_tmp/tests/test_subtests.py:273: Failed 234s ----------------------------- Captured stdout call ----------------------------- 234s ============================= test session starts ============================== 234s platform linux -- Python 3.12.3, pytest-8.1.2, pluggy-1.4.0 234s rootdir: /tmp/pytest-of-ubuntu/pytest-0/test_xfail4 234s plugins: subtests-0.11.0, xdist-3.4.0 234s collected 1 item 234s 234s test_xfail.py x [100%] 234s 234s ============================== 1 xfailed in 0.02s ============================== 234s =========================== short test summary info ============================ 234s XFAIL tests/test_subtests.py::TestSubTest::test_skip[pytest-normal] - reason: Not producing the expected results (#5) 234s XFAIL tests/test_subtests.py::TestSubTest::test_skip[pytest-xdist] - reason: Not producing the expected results (#5) 234s XFAIL tests/test_subtests.py::TestSubTest::test_xfail[unittest] - Not producing the expected results (#5) 234s XFAIL tests/test_subtests.py::TestSubTest::test_xfail[pytest-normal] - Not producing the expected results (#5) 234s XFAIL tests/test_subtests.py::TestSubTest::test_xfail[pytest-xdist] - Not producing the expected results (#5) 234s ======================== 24 passed, 5 xfailed in 5.00s ========================= 235s autopkgtest [20:15:27]: test upstream: -----------------------] 235s upstream PASS 235s autopkgtest [20:15:27]: test upstream: - - - - - - - - - - results - - - - - - - - - - 236s autopkgtest [20:15:28]: @@@@@@@@@@@@@@@@@@@@ summary 236s upstream PASS 246s Creating nova instance adt-oracular-ppc64el-python-pytest-subtests-20240505-201132-juju-7f2275-prod-proposed-migration-environment-3-c1246ee0-fb52-4227-adba-1c572b620809 from image adt/ubuntu-oracular-ppc64el-server-20240504.img (UUID f8235939-8f4e-46c0-affb-4b5e32764d3a)...