0s autopkgtest [16:30:12]: starting date and time: 2025-11-17 16:30:12+0000 0s autopkgtest [16:30:12]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [16:30:12]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.4k3ft1yu/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:twine --apt-upgrade twine --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=twine/6.2.0-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-3.secgroup --name adt-resolute-amd64-twine-20251117-163011-juju-7f2275-prod-proposed-migration-environment-2-40cdca87-f4fc-48f5-9556-70c4ce02d3b4 --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-amd64-twine-20251117-163011-juju-7f2275-prod-proposed-migration-environment-2-40cdca87-f4fc-48f5-9556-70c4ce02d3b4 from image adt/ubuntu-resolute-amd64-server-20251117.img (UUID 47cb9b95-dcf3-40f8-972d-d06b1b09ded2)... 57s autopkgtest [16:31:09]: testbed dpkg architecture: amd64 57s autopkgtest [16:31:09]: testbed apt version: 3.1.11 57s autopkgtest [16:31:09]: @@@@@@@@@@@@@@@@@@@@ test bed setup 58s autopkgtest [16:31:10]: testbed release detected to be: None 59s autopkgtest [16:31:11]: updating testbed package index (apt update) 59s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 59s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 59s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 59s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 59s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 59s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 59s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [839 kB] 60s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.5 kB] 60s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [159 kB] 60s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [118 kB] 60s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [3236 B] 60s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [64.6 kB] 60s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3744 B] 60s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 60s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [271 kB] 60s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [585 kB] 60s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [20.1 kB] 60s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [6516 B] 60s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [13.4 kB] 60s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [680 B] 62s Fetched 2286 kB in 1s (1741 kB/s) 63s Reading package lists... 64s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 64s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 64s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 64s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 65s Reading package lists... 65s Reading package lists... 65s Building dependency tree... 65s Reading state information... 65s Calculating upgrade... 65s The following packages will be upgraded: 65s usbutils 66s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 66s Need to get 83.9 kB of archives. 66s After this operation, 0 B of additional disk space will be used. 66s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 usbutils amd64 1:019-1 [83.9 kB] 66s dpkg-preconfigure: unable to re-open stdin: No such file or directory 66s Fetched 83.9 kB in 0s (240 kB/s) 66s (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 ... 83372 files and directories currently installed.) 66s Preparing to unpack .../usbutils_1%3a019-1_amd64.deb ... 66s Unpacking usbutils (1:019-1) over (1:018-2) ... 66s Setting up usbutils (1:019-1) ... 66s Processing triggers for man-db (2.13.1-1) ... 67s autopkgtest [16:31:19]: upgrading testbed (apt dist-upgrade and autopurge) 67s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Calculating upgrade... 68s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 68s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Solving dependencies... 68s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 71s autopkgtest [16:31:23]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:00:33 UTC 2025 71s autopkgtest [16:31:23]: @@@@@@@@@@@@@@@@@@@@ apt-source twine 73s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe twine 6.2.0-2 (dsc) [2951 B] 73s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe twine 6.2.0-2 (tar) [172 kB] 73s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe twine 6.2.0-2 (diff) [10.2 kB] 73s gpgv: Signature made Sun Nov 9 19:06:46 2025 UTC 73s gpgv: using RSA key 374D8CE4DB96E9CBD4C0972A606D084E4683C079 73s gpgv: Can't check signature: No public key 73s dpkg-source: warning: cannot verify inline signature for ./twine_6.2.0-2.dsc: no acceptable signature found 73s autopkgtest [16:31:25]: testing package twine version 6.2.0-2 73s autopkgtest [16:31:25]: build not needed 74s autopkgtest [16:31:26]: test command1: preparing testbed 74s Reading package lists... 74s Building dependency tree... 74s Reading state information... 74s Solving dependencies... 75s The following NEW packages will be installed: 75s docutils-common libjs-jquery libjs-sphinxdoc libjs-underscore 75s python3-cmarkgfm python3-docutils python3-id python3-nh3 75s python3-readme-renderer python3-requests-toolbelt python3-rfc3986 75s python3-roman sgml-base twine xml-core 75s 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. 75s Need to get 2061 kB of archives. 75s After this operation, 8652 kB of additional disk space will be used. 75s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 sgml-base all 1.31+nmu1 [11.0 kB] 75s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 xml-core all 0.19 [20.3 kB] 75s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 docutils-common all 0.21.2+dfsg-2 [131 kB] 75s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 75s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 75s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libjs-sphinxdoc all 8.2.3-1ubuntu2 [28.0 kB] 75s Get:7 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-cmarkgfm amd64 2024.11.20-1 [130 kB] 75s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-roman all 5.1-1 [10.6 kB] 75s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 75s Get:10 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-id all 1.5.0-1 [9028 B] 75s Get:11 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-nh3 amd64 0.3.2-1 [653 kB] 75s Get:12 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-readme-renderer all 44.0-2 [10.4 kB] 75s Get:13 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-requests-toolbelt all 1.0.0-4 [37.0 kB] 75s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-rfc3986 all 2.0.0-3 [22.0 kB] 75s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 twine all 6.2.0-2 [144 kB] 76s Fetched 2061 kB in 1s (2494 kB/s) 76s Selecting previously unselected package sgml-base. 76s (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 ... 83372 files and directories currently installed.) 76s Preparing to unpack .../00-sgml-base_1.31+nmu1_all.deb ... 76s Unpacking sgml-base (1.31+nmu1) ... 76s Selecting previously unselected package xml-core. 76s Preparing to unpack .../01-xml-core_0.19_all.deb ... 76s Unpacking xml-core (0.19) ... 76s Selecting previously unselected package docutils-common. 76s Preparing to unpack .../02-docutils-common_0.21.2+dfsg-2_all.deb ... 76s Unpacking docutils-common (0.21.2+dfsg-2) ... 76s Selecting previously unselected package libjs-jquery. 76s Preparing to unpack .../03-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 76s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 76s Selecting previously unselected package libjs-underscore. 76s Preparing to unpack .../04-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 76s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 76s Selecting previously unselected package libjs-sphinxdoc. 76s Preparing to unpack .../05-libjs-sphinxdoc_8.2.3-1ubuntu2_all.deb ... 76s Unpacking libjs-sphinxdoc (8.2.3-1ubuntu2) ... 76s Selecting previously unselected package python3-cmarkgfm. 76s Preparing to unpack .../06-python3-cmarkgfm_2024.11.20-1_amd64.deb ... 76s Unpacking python3-cmarkgfm (2024.11.20-1) ... 76s Selecting previously unselected package python3-roman. 76s Preparing to unpack .../07-python3-roman_5.1-1_all.deb ... 76s Unpacking python3-roman (5.1-1) ... 76s Selecting previously unselected package python3-docutils. 76s Preparing to unpack .../08-python3-docutils_0.21.2+dfsg-2_all.deb ... 76s Unpacking python3-docutils (0.21.2+dfsg-2) ... 76s Selecting previously unselected package python3-id. 76s Preparing to unpack .../09-python3-id_1.5.0-1_all.deb ... 76s Unpacking python3-id (1.5.0-1) ... 76s Selecting previously unselected package python3-nh3. 76s Preparing to unpack .../10-python3-nh3_0.3.2-1_amd64.deb ... 76s Unpacking python3-nh3 (0.3.2-1) ... 76s Selecting previously unselected package python3-readme-renderer. 76s Preparing to unpack .../11-python3-readme-renderer_44.0-2_all.deb ... 76s Unpacking python3-readme-renderer (44.0-2) ... 76s Selecting previously unselected package python3-requests-toolbelt. 76s Preparing to unpack .../12-python3-requests-toolbelt_1.0.0-4_all.deb ... 76s Unpacking python3-requests-toolbelt (1.0.0-4) ... 76s Selecting previously unselected package python3-rfc3986. 76s Preparing to unpack .../13-python3-rfc3986_2.0.0-3_all.deb ... 76s Unpacking python3-rfc3986 (2.0.0-3) ... 76s Selecting previously unselected package twine. 76s Preparing to unpack .../14-twine_6.2.0-2_all.deb ... 76s Unpacking twine (6.2.0-2) ... 76s Setting up python3-id (1.5.0-1) ... 76s Setting up python3-requests-toolbelt (1.0.0-4) ... 76s Setting up python3-nh3 (0.3.2-1) ... 76s Setting up python3-roman (5.1-1) ... 76s Setting up python3-rfc3986 (2.0.0-3) ... 76s Setting up sgml-base (1.31+nmu1) ... 76s Setting up python3-cmarkgfm (2024.11.20-1) ... 77s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 77s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 77s Setting up libjs-sphinxdoc (8.2.3-1ubuntu2) ... 77s Setting up xml-core (0.19) ... 77s Processing triggers for man-db (2.13.1-1) ... 77s Processing triggers for sgml-base (1.31+nmu1) ... 77s Setting up docutils-common (0.21.2+dfsg-2) ... 77s Processing triggers for sgml-base (1.31+nmu1) ... 77s Setting up python3-docutils (0.21.2+dfsg-2) ... 78s Setting up python3-readme-renderer (44.0-2) ... 78s Setting up twine (6.2.0-2) ... 79s autopkgtest [16:31:31]: test command1: twine --help 79s autopkgtest [16:31:31]: test command1: [----------------------- 79s usage: twine [-h] [--version] [--no-color] {register,upload,check} 79s 79s positional arguments: 79s {register,upload,check} 79s 79s options: 79s -h, --help show this help message and exit 79s --version show program's version number and exit 79s --no-color disable colored output 79s autopkgtest [16:31:31]: test command1: -----------------------] 80s autopkgtest [16:31:32]: test command1: - - - - - - - - - - results - - - - - - - - - - 80s command1 PASS (superficial) 80s autopkgtest [16:31:32]: test command2: preparing testbed 81s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s Solving dependencies... 81s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 82s autopkgtest [16:31:34]: test command2: twine --version 82s autopkgtest [16:31:34]: test command2: [----------------------- 82s twine version 6.2.0 (keyring: NOT INSTALLED, packaging: 25.0, requests: 82s 2.32.3, requests-toolbelt: 1.0.0, urllib3: 2.3.0, id: 1.5.0) 83s autopkgtest [16:31:35]: test command2: -----------------------] 83s command2 PASS (superficial) 83s autopkgtest [16:31:35]: test command2: - - - - - - - - - - results - - - - - - - - - - 83s autopkgtest [16:31:35]: test unittests: preparing testbed 84s Reading package lists... 84s Building dependency tree... 84s Reading state information... 84s Solving dependencies... 84s The following NEW packages will be installed: 84s python3-build python3-iniconfig python3-jaraco.classes python3-jeepney 84s python3-keyring python3-munch python3-pluggy python3-portend python3-pretend 84s python3-pyproject-hooks python3-pytest python3-pytest-socket 84s python3-secretstorage python3-tempora python3-wheel 84s 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. 84s Need to get 487 kB of archives. 84s After this operation, 2311 kB of additional disk space will be used. 84s Get:1 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 84s Get:2 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-wheel all 0.46.1-2 [22.1 kB] 84s Get:3 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-build all 1.2.2-4 [31.0 kB] 84s Get:4 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-iniconfig all 2.1.0-1 [6840 B] 84s Get:5 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-jaraco.classes all 3.4.0-1 [7664 B] 84s Get:6 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-jeepney all 0.9.0-1 [33.5 kB] 84s Get:7 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-secretstorage all 3.4.1-1 [14.0 kB] 84s Get:8 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-keyring all 25.6.0-3 [40.7 kB] 85s Get:9 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pluggy all 1.6.0-1 [21.0 kB] 85s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-tempora all 5.7.0-2 [15.1 kB] 85s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-portend all 3.2.0-1 [7524 B] 85s Get:12 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pretend all 1.0.9-5 [6936 B] 85s Get:13 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest all 8.3.5-2 [252 kB] 85s Get:14 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest-socket all 0.7.0-2 [7402 B] 85s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-munch all 4.0.0-2 [10.9 kB] 85s Fetched 487 kB in 1s (813 kB/s) 85s Selecting previously unselected package python3-pyproject-hooks. 85s (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 ... 84032 files and directories currently installed.) 85s Preparing to unpack .../00-python3-pyproject-hooks_1.2.0-1_all.deb ... 85s Unpacking python3-pyproject-hooks (1.2.0-1) ... 85s Selecting previously unselected package python3-wheel. 85s Preparing to unpack .../01-python3-wheel_0.46.1-2_all.deb ... 85s Unpacking python3-wheel (0.46.1-2) ... 85s Selecting previously unselected package python3-build. 85s Preparing to unpack .../02-python3-build_1.2.2-4_all.deb ... 85s Unpacking python3-build (1.2.2-4) ... 85s Selecting previously unselected package python3-iniconfig. 85s Preparing to unpack .../03-python3-iniconfig_2.1.0-1_all.deb ... 85s Unpacking python3-iniconfig (2.1.0-1) ... 85s Selecting previously unselected package python3-jaraco.classes. 85s Preparing to unpack .../04-python3-jaraco.classes_3.4.0-1_all.deb ... 85s Unpacking python3-jaraco.classes (3.4.0-1) ... 85s Selecting previously unselected package python3-jeepney. 85s Preparing to unpack .../05-python3-jeepney_0.9.0-1_all.deb ... 85s Unpacking python3-jeepney (0.9.0-1) ... 85s Selecting previously unselected package python3-secretstorage. 85s Preparing to unpack .../06-python3-secretstorage_3.4.1-1_all.deb ... 85s Unpacking python3-secretstorage (3.4.1-1) ... 85s Selecting previously unselected package python3-keyring. 85s Preparing to unpack .../07-python3-keyring_25.6.0-3_all.deb ... 85s Unpacking python3-keyring (25.6.0-3) ... 85s Selecting previously unselected package python3-pluggy. 85s Preparing to unpack .../08-python3-pluggy_1.6.0-1_all.deb ... 85s Unpacking python3-pluggy (1.6.0-1) ... 85s Selecting previously unselected package python3-tempora. 85s Preparing to unpack .../09-python3-tempora_5.7.0-2_all.deb ... 85s Unpacking python3-tempora (5.7.0-2) ... 85s Selecting previously unselected package python3-portend. 85s Preparing to unpack .../10-python3-portend_3.2.0-1_all.deb ... 85s Unpacking python3-portend (3.2.0-1) ... 85s Selecting previously unselected package python3-pretend. 85s Preparing to unpack .../11-python3-pretend_1.0.9-5_all.deb ... 85s Unpacking python3-pretend (1.0.9-5) ... 85s Selecting previously unselected package python3-pytest. 85s Preparing to unpack .../12-python3-pytest_8.3.5-2_all.deb ... 85s Unpacking python3-pytest (8.3.5-2) ... 85s Selecting previously unselected package python3-pytest-socket. 85s Preparing to unpack .../13-python3-pytest-socket_0.7.0-2_all.deb ... 85s Unpacking python3-pytest-socket (0.7.0-2) ... 85s Selecting previously unselected package python3-munch. 85s Preparing to unpack .../14-python3-munch_4.0.0-2_all.deb ... 85s Unpacking python3-munch (4.0.0-2) ... 85s Setting up python3-iniconfig (2.1.0-1) ... 85s Setting up python3-jaraco.classes (3.4.0-1) ... 85s Setting up python3-wheel (0.46.1-2) ... 85s Setting up python3-munch (4.0.0-2) ... 86s Setting up python3-pretend (1.0.9-5) ... 86s Setting up python3-pyproject-hooks (1.2.0-1) ... 86s Setting up python3-jeepney (0.9.0-1) ... 86s Setting up python3-pluggy (1.6.0-1) ... 86s Setting up python3-tempora (5.7.0-2) ... 86s Setting up python3-build (1.2.2-4) ... 86s Setting up python3-pytest (8.3.5-2) ... 86s Setting up python3-portend (3.2.0-1) ... 86s Setting up python3-secretstorage (3.4.1-1) ... 87s Setting up python3-keyring (25.6.0-3) ... 87s Setting up python3-pytest-socket (0.7.0-2) ... 87s Processing triggers for man-db (2.13.1-1) ... 88s autopkgtest [16:31:40]: test unittests: [----------------------- 89s ============================= test session starts ============================== 89s platform linux -- Python 3.13.9, pytest-8.3.5, pluggy-1.6.0 89s rootdir: /tmp/autopkgtest.LDqXhK/autopkgtest_tmp 89s plugins: typeguard-4.4.2, socket-0.7.0 89s collected 229 items 89s 89s tests/test_auth.py ............................ [ 12%] 89s tests/test_check.py ......F...... [ 17%] 89s tests/test_cli.py .. [ 18%] 89s tests/test_commands.py ...... [ 21%] 89s tests/test_main.py ... [ 22%] 89s tests/test_package.py ..................................... [ 38%] 89s tests/test_register.py ...... [ 41%] 89s tests/test_repository.py ......................... [ 52%] 89s tests/test_sdist.py ................. [ 59%] 89s tests/test_settings.py ................. [ 67%] 89s tests/test_upload.py ..........................sss. [ 80%] 89s tests/test_utils.py ...................................... [ 96%] 89s tests/test_wheel.py ....... [100%] 89s 89s =================================== FAILURES =================================== 89s _________________________ test_fails_rst_syntax_error __________________________ 89s 89s tmp_path = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_fails_rst_syntax_error0') 89s capsys = <_pytest.capture.CaptureFixture object at 0x7789e12f8e10> 89s caplog = <_pytest.logging.LogCaptureFixture object at 0x7789e12ed710> 89s 89s def test_fails_rst_syntax_error(tmp_path, capsys, caplog): 89s sdist = build_sdist_with_metadata( 89s tmp_path, 89s """\ 89s Metadata-Version: 2.1 89s Name: test-package 89s Version: 1.2.3 89s Description-Content-Type: text/x-rst 89s 89s 89s ============ 89s 89s """, 89s ) 89s 89s assert check.check([sdist]) 89s 89s assert capsys.readouterr().out == f"Checking {sdist}: FAILED\n" 89s 89s > assert caplog.record_tuples == [ 89s ( 89s "twine.commands.check", 89s logging.ERROR, 89s "`long_description` has syntax errors in markup " 89s "and would not be rendered on PyPI.\n" 89s "line 2: Warning: Document or section may not begin with a transition.", 89s ), 89s ] 89s E AssertionError: assert [('twine.comm...transition.')] == [('twine.comm...transition.')] 89s E 89s E At index 0 diff: ('twine.commands.check', 40, '`long_description` has syntax errors in markup and would not be rendered on PyPI.\nline 2: Error: Document or section may not begin with a transition.') != ('twine.commands.check', 40, '`long_description` has syntax errors in markup and would not be rendered on PyPI.\nline 2: Warning: Document or section may not begin with a transition.') 89s E Use -v to get more diff 89s 89s tests/test_check.py:116: AssertionError 89s ----------------------------- Captured stderr call ----------------------------- 89s `long_description` has syntax errors in markup and would not be rendered on PyPI. 89s line 2: Error: Document or section may not begin with a transition. 89s ------------------------------ Captured log call ------------------------------- 89s ERROR twine.commands.check:check.py:147 `long_description` has syntax errors in markup and would not be rendered on PyPI. 89s line 2: Error: Document or section may not begin with a transition. 89s =========================== short test summary info ============================ 89s FAILED tests/test_check.py::test_fails_rst_syntax_error - AssertionError: ass... 89s =================== 1 failed, 225 passed, 3 skipped in 0.88s =================== 90s autopkgtest [16:31:42]: test unittests: -----------------------] 90s autopkgtest [16:31:42]: test unittests: - - - - - - - - - - results - - - - - - - - - - 90s unittests FAIL non-zero exit status 1 91s autopkgtest [16:31:43]: @@@@@@@@@@@@@@@@@@@@ summary 91s command1 PASS (superficial) 91s command2 PASS (superficial) 91s unittests FAIL non-zero exit status 1