0s autopkgtest [16:24:38]: starting date and time: 2025-11-17 16:24:38+0000 0s autopkgtest [16:24:38]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [16:24:38]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.eu2iqfsa/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --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 -- lxd -r lxd-armhf-10.145.243.171 lxd-armhf-10.145.243.171:autopkgtest/ubuntu/resolute/armhf 23s autopkgtest [16:25:01]: testbed dpkg architecture: armhf 26s autopkgtest [16:25:04]: testbed apt version: 3.1.11 30s autopkgtest [16:25:08]: @@@@@@@@@@@@@@@@@@@@ test bed setup 32s autopkgtest [16:25:10]: testbed release detected to be: None 41s autopkgtest [16:25:19]: updating testbed package index (apt update) 43s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 43s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [87.8 kB] 43s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 43s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 43s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [839 kB] 43s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.5 kB] 43s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 43s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 43s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [138 kB] 43s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 43s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [515 kB] 43s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [9684 B] 43s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1416 kB] 44s Get:14 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 44s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1369 kB] 44s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.2 MB] 48s Fetched 41.1 MB in 5s (8070 kB/s) 49s Reading package lists... 55s autopkgtest [16:25:33]: upgrading testbed (apt dist-upgrade and autopurge) 57s Reading package lists... 57s Building dependency tree... 57s Reading state information... 58s Calculating upgrade... 58s The following packages will be upgraded: 58s usbutils 58s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Need to get 77.7 kB of archives. 58s After this operation, 0 B of additional disk space will be used. 58s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf usbutils armhf 1:019-1 [77.7 kB] 59s Fetched 77.7 kB in 0s (241 kB/s) 59s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 65904 files and directories currently installed.) 59s Preparing to unpack .../usbutils_1%3a019-1_armhf.deb ... 59s Unpacking usbutils (1:019-1) over (1:018-2) ... 59s Setting up usbutils (1:019-1) ... 59s Processing triggers for man-db (2.13.1-1) ... 62s Reading package lists... 62s Building dependency tree... 62s Reading state information... 63s Solving dependencies... 63s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 65s autopkgtest [16:25:43]: rebooting testbed after setup commands that affected boot 107s autopkgtest [16:26:25]: testbed running kernel: Linux 6.8.0-86-generic #87~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 29 09:26:46 UTC 2 134s autopkgtest [16:26:52]: @@@@@@@@@@@@@@@@@@@@ apt-source twine 145s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe twine 6.2.0-2 (dsc) [2951 B] 145s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe twine 6.2.0-2 (tar) [172 kB] 145s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe twine 6.2.0-2 (diff) [10.2 kB] 145s gpgv: Signature made Sun Nov 9 19:06:46 2025 UTC 145s gpgv: using RSA key 374D8CE4DB96E9CBD4C0972A606D084E4683C079 145s gpgv: Can't check signature: No public key 145s dpkg-source: warning: cannot verify inline signature for ./twine_6.2.0-2.dsc: no acceptable signature found 145s autopkgtest [16:27:03]: testing package twine version 6.2.0-2 147s autopkgtest [16:27:05]: build not needed 149s autopkgtest [16:27:07]: test command1: preparing testbed 151s Reading package lists... 152s Building dependency tree... 152s Reading state information... 152s Solving dependencies... 152s The following NEW packages will be installed: 152s docutils-common libjs-jquery libjs-sphinxdoc libjs-underscore 152s python3-cmarkgfm python3-docutils python3-id python3-nh3 152s python3-readme-renderer python3-requests-toolbelt python3-rfc3986 152s python3-roman sgml-base twine xml-core 152s 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. 152s Need to get 2007 kB of archives. 152s After this operation, 8194 kB of additional disk space will be used. 152s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf sgml-base all 1.31+nmu1 [11.0 kB] 153s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf xml-core all 0.19 [20.3 kB] 153s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf docutils-common all 0.21.2+dfsg-2 [131 kB] 153s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 153s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 153s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libjs-sphinxdoc all 8.2.3-1ubuntu2 [28.0 kB] 153s Get:7 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-cmarkgfm armhf 2024.11.20-1 [108 kB] 153s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf python3-roman all 5.1-1 [10.6 kB] 153s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf python3-docutils all 0.21.2+dfsg-2 [409 kB] 153s Get:10 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-id all 1.5.0-1 [9028 B] 153s Get:11 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-nh3 armhf 0.3.2-1 [622 kB] 154s Get:12 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-readme-renderer all 44.0-2 [10.4 kB] 154s Get:13 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-requests-toolbelt all 1.0.0-4 [37.0 kB] 154s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf python3-rfc3986 all 2.0.0-3 [22.0 kB] 154s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf twine all 6.2.0-2 [144 kB] 154s Fetched 2007 kB in 1s (1448 kB/s) 154s Selecting previously unselected package sgml-base. 154s (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 ... 65904 files and directories currently installed.) 154s Preparing to unpack .../00-sgml-base_1.31+nmu1_all.deb ... 154s Unpacking sgml-base (1.31+nmu1) ... 154s Selecting previously unselected package xml-core. 154s Preparing to unpack .../01-xml-core_0.19_all.deb ... 154s Unpacking xml-core (0.19) ... 154s Selecting previously unselected package docutils-common. 154s Preparing to unpack .../02-docutils-common_0.21.2+dfsg-2_all.deb ... 154s Unpacking docutils-common (0.21.2+dfsg-2) ... 154s Selecting previously unselected package libjs-jquery. 154s Preparing to unpack .../03-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 154s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 154s Selecting previously unselected package libjs-underscore. 154s Preparing to unpack .../04-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 154s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 154s Selecting previously unselected package libjs-sphinxdoc. 154s Preparing to unpack .../05-libjs-sphinxdoc_8.2.3-1ubuntu2_all.deb ... 154s Unpacking libjs-sphinxdoc (8.2.3-1ubuntu2) ... 154s Selecting previously unselected package python3-cmarkgfm. 154s Preparing to unpack .../06-python3-cmarkgfm_2024.11.20-1_armhf.deb ... 154s Unpacking python3-cmarkgfm (2024.11.20-1) ... 154s Selecting previously unselected package python3-roman. 154s Preparing to unpack .../07-python3-roman_5.1-1_all.deb ... 154s Unpacking python3-roman (5.1-1) ... 154s Selecting previously unselected package python3-docutils. 154s Preparing to unpack .../08-python3-docutils_0.21.2+dfsg-2_all.deb ... 154s Unpacking python3-docutils (0.21.2+dfsg-2) ... 154s Selecting previously unselected package python3-id. 154s Preparing to unpack .../09-python3-id_1.5.0-1_all.deb ... 154s Unpacking python3-id (1.5.0-1) ... 154s Selecting previously unselected package python3-nh3. 154s Preparing to unpack .../10-python3-nh3_0.3.2-1_armhf.deb ... 154s Unpacking python3-nh3 (0.3.2-1) ... 154s Selecting previously unselected package python3-readme-renderer. 154s Preparing to unpack .../11-python3-readme-renderer_44.0-2_all.deb ... 154s Unpacking python3-readme-renderer (44.0-2) ... 155s Selecting previously unselected package python3-requests-toolbelt. 155s Preparing to unpack .../12-python3-requests-toolbelt_1.0.0-4_all.deb ... 155s Unpacking python3-requests-toolbelt (1.0.0-4) ... 155s Selecting previously unselected package python3-rfc3986. 155s Preparing to unpack .../13-python3-rfc3986_2.0.0-3_all.deb ... 155s Unpacking python3-rfc3986 (2.0.0-3) ... 155s Selecting previously unselected package twine. 155s Preparing to unpack .../14-twine_6.2.0-2_all.deb ... 155s Unpacking twine (6.2.0-2) ... 155s Setting up python3-id (1.5.0-1) ... 155s Setting up python3-requests-toolbelt (1.0.0-4) ... 155s Setting up python3-nh3 (0.3.2-1) ... 156s Setting up python3-roman (5.1-1) ... 156s Setting up python3-rfc3986 (2.0.0-3) ... 156s Setting up sgml-base (1.31+nmu1) ... 156s Setting up python3-cmarkgfm (2024.11.20-1) ... 156s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 156s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 156s Setting up libjs-sphinxdoc (8.2.3-1ubuntu2) ... 156s Setting up xml-core (0.19) ... 156s Processing triggers for man-db (2.13.1-1) ... 156s Processing triggers for sgml-base (1.31+nmu1) ... 156s Setting up docutils-common (0.21.2+dfsg-2) ... 156s Processing triggers for sgml-base (1.31+nmu1) ... 156s Setting up python3-docutils (0.21.2+dfsg-2) ... 157s Setting up python3-readme-renderer (44.0-2) ... 157s Setting up twine (6.2.0-2) ... 165s autopkgtest [16:27:23]: test command1: twine --help 166s autopkgtest [16:27:23]: test command1: [----------------------- 168s usage: twine [-h] [--version] [--no-color] {check,upload,register} 168s 168s positional arguments: 168s {check,upload,register} 168s 168s options: 168s -h, --help show this help message and exit 168s --version show program's version number and exit 168s --no-color disable colored output 168s autopkgtest [16:27:26]: test command1: -----------------------] 172s command1 PASS (superficial) 172s autopkgtest [16:27:30]: test command1: - - - - - - - - - - results - - - - - - - - - - 176s autopkgtest [16:27:34]: test command2: preparing testbed 178s Reading package lists... 178s Building dependency tree... 178s Reading state information... 178s Solving dependencies... 179s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 187s autopkgtest [16:27:45]: test command2: twine --version 187s autopkgtest [16:27:45]: test command2: [----------------------- 189s twine version 6.2.0 (keyring: NOT INSTALLED, packaging: 25.0, requests: 189s 2.32.3, requests-toolbelt: 1.0.0, urllib3: 2.3.0, id: 1.5.0) 189s autopkgtest [16:27:47]: test command2: -----------------------] 194s command2 PASS (superficial) 194s autopkgtest [16:27:52]: test command2: - - - - - - - - - - results - - - - - - - - - - 198s autopkgtest [16:27:56]: test unittests: preparing testbed 200s Reading package lists... 200s Building dependency tree... 200s Reading state information... 200s Solving dependencies... 201s The following NEW packages will be installed: 201s python3-build python3-iniconfig python3-jaraco.classes python3-jeepney 201s python3-keyring python3-munch python3-pluggy python3-portend python3-pretend 201s python3-pyproject-hooks python3-pytest python3-pytest-socket 201s python3-secretstorage python3-tempora python3-wheel 201s 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. 201s Need to get 487 kB of archives. 201s After this operation, 2311 kB of additional disk space will be used. 201s Get:1 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 201s Get:2 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-wheel all 0.46.1-2 [22.1 kB] 201s Get:3 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-build all 1.2.2-4 [31.0 kB] 201s Get:4 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-iniconfig all 2.1.0-1 [6840 B] 201s Get:5 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-jaraco.classes all 3.4.0-1 [7664 B] 201s Get:6 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-jeepney all 0.9.0-1 [33.5 kB] 201s Get:7 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-secretstorage all 3.4.1-1 [14.0 kB] 201s Get:8 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-keyring all 25.6.0-3 [40.7 kB] 202s Get:9 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pluggy all 1.6.0-1 [21.0 kB] 202s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf python3-tempora all 5.7.0-2 [15.1 kB] 202s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf python3-portend all 3.2.0-1 [7524 B] 202s Get:12 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pretend all 1.0.9-5 [6936 B] 202s Get:13 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest all 8.3.5-2 [252 kB] 202s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest-socket all 0.7.0-2 [7402 B] 202s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf python3-munch all 4.0.0-2 [10.9 kB] 202s Fetched 487 kB in 1s (487 kB/s) 202s Selecting previously unselected package python3-pyproject-hooks. 202s (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 ... 66564 files and directories currently installed.) 202s Preparing to unpack .../00-python3-pyproject-hooks_1.2.0-1_all.deb ... 202s Unpacking python3-pyproject-hooks (1.2.0-1) ... 202s Selecting previously unselected package python3-wheel. 202s Preparing to unpack .../01-python3-wheel_0.46.1-2_all.deb ... 202s Unpacking python3-wheel (0.46.1-2) ... 202s Selecting previously unselected package python3-build. 202s Preparing to unpack .../02-python3-build_1.2.2-4_all.deb ... 202s Unpacking python3-build (1.2.2-4) ... 202s Selecting previously unselected package python3-iniconfig. 202s Preparing to unpack .../03-python3-iniconfig_2.1.0-1_all.deb ... 202s Unpacking python3-iniconfig (2.1.0-1) ... 202s Selecting previously unselected package python3-jaraco.classes. 202s Preparing to unpack .../04-python3-jaraco.classes_3.4.0-1_all.deb ... 202s Unpacking python3-jaraco.classes (3.4.0-1) ... 202s Selecting previously unselected package python3-jeepney. 202s Preparing to unpack .../05-python3-jeepney_0.9.0-1_all.deb ... 202s Unpacking python3-jeepney (0.9.0-1) ... 202s Selecting previously unselected package python3-secretstorage. 202s Preparing to unpack .../06-python3-secretstorage_3.4.1-1_all.deb ... 202s Unpacking python3-secretstorage (3.4.1-1) ... 203s Selecting previously unselected package python3-keyring. 203s Preparing to unpack .../07-python3-keyring_25.6.0-3_all.deb ... 203s Unpacking python3-keyring (25.6.0-3) ... 203s Selecting previously unselected package python3-pluggy. 203s Preparing to unpack .../08-python3-pluggy_1.6.0-1_all.deb ... 203s Unpacking python3-pluggy (1.6.0-1) ... 203s Selecting previously unselected package python3-tempora. 203s Preparing to unpack .../09-python3-tempora_5.7.0-2_all.deb ... 203s Unpacking python3-tempora (5.7.0-2) ... 203s Selecting previously unselected package python3-portend. 203s Preparing to unpack .../10-python3-portend_3.2.0-1_all.deb ... 203s Unpacking python3-portend (3.2.0-1) ... 203s Selecting previously unselected package python3-pretend. 203s Preparing to unpack .../11-python3-pretend_1.0.9-5_all.deb ... 203s Unpacking python3-pretend (1.0.9-5) ... 203s Selecting previously unselected package python3-pytest. 203s Preparing to unpack .../12-python3-pytest_8.3.5-2_all.deb ... 203s Unpacking python3-pytest (8.3.5-2) ... 203s Selecting previously unselected package python3-pytest-socket. 203s Preparing to unpack .../13-python3-pytest-socket_0.7.0-2_all.deb ... 203s Unpacking python3-pytest-socket (0.7.0-2) ... 203s Selecting previously unselected package python3-munch. 203s Preparing to unpack .../14-python3-munch_4.0.0-2_all.deb ... 203s Unpacking python3-munch (4.0.0-2) ... 203s Setting up python3-iniconfig (2.1.0-1) ... 203s Setting up python3-jaraco.classes (3.4.0-1) ... 203s Setting up python3-wheel (0.46.1-2) ... 203s Setting up python3-munch (4.0.0-2) ... 203s Setting up python3-pretend (1.0.9-5) ... 203s Setting up python3-pyproject-hooks (1.2.0-1) ... 204s Setting up python3-jeepney (0.9.0-1) ... 204s Setting up python3-pluggy (1.6.0-1) ... 204s Setting up python3-tempora (5.7.0-2) ... 204s Setting up python3-build (1.2.2-4) ... 204s Setting up python3-pytest (8.3.5-2) ... 205s Setting up python3-portend (3.2.0-1) ... 205s Setting up python3-secretstorage (3.4.1-1) ... 205s Setting up python3-keyring (25.6.0-3) ... 205s Setting up python3-pytest-socket (0.7.0-2) ... 205s Processing triggers for man-db (2.13.1-1) ... 214s autopkgtest [16:28:12]: test unittests: [----------------------- 217s ============================= test session starts ============================== 217s platform linux -- Python 3.13.9, pytest-8.3.5, pluggy-1.6.0 217s rootdir: /tmp/autopkgtest.CqTZEc/autopkgtest_tmp 217s plugins: typeguard-4.4.2, socket-0.7.0 217s collected 229 items 217s 218s tests/test_auth.py ............................ [ 12%] 218s tests/test_check.py ......F...... [ 17%] 218s tests/test_cli.py .. [ 18%] 218s tests/test_commands.py ...... [ 21%] 218s tests/test_main.py ... [ 22%] 218s tests/test_package.py ..................................... [ 38%] 218s tests/test_register.py ...... [ 41%] 218s tests/test_repository.py ......................... [ 52%] 218s tests/test_sdist.py ................. [ 59%] 218s tests/test_settings.py ................. [ 67%] 218s tests/test_upload.py ..........................sss. [ 80%] 218s tests/test_utils.py ...................................... [ 96%] 218s tests/test_wheel.py ....... [100%] 218s 218s =================================== FAILURES =================================== 218s _________________________ test_fails_rst_syntax_error __________________________ 218s 218s tmp_path = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_fails_rst_syntax_error0') 218s capsys = <_pytest.capture.CaptureFixture object at 0xeeabf2d0> 218s caplog = <_pytest.logging.LogCaptureFixture object at 0xee7ac8a0> 218s 218s def test_fails_rst_syntax_error(tmp_path, capsys, caplog): 218s sdist = build_sdist_with_metadata( 218s tmp_path, 218s """\ 218s Metadata-Version: 2.1 218s Name: test-package 218s Version: 1.2.3 218s Description-Content-Type: text/x-rst 218s 218s 218s ============ 218s 218s """, 218s ) 218s 218s assert check.check([sdist]) 218s 218s assert capsys.readouterr().out == f"Checking {sdist}: FAILED\n" 218s 218s > assert caplog.record_tuples == [ 218s ( 218s "twine.commands.check", 218s logging.ERROR, 218s "`long_description` has syntax errors in markup " 218s "and would not be rendered on PyPI.\n" 218s "line 2: Warning: Document or section may not begin with a transition.", 218s ), 218s ] 218s E AssertionError: assert [('twine.comm...transition.')] == [('twine.comm...transition.')] 218s E 218s 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.') 218s E Use -v to get more diff 218s 218s tests/test_check.py:116: AssertionError 218s ----------------------------- Captured stderr call ----------------------------- 218s `long_description` has syntax errors in markup and would not be rendered on PyPI. 218s line 2: Error: Document or section may not begin with a transition. 218s ------------------------------ Captured log call ------------------------------- 218s ERROR twine.commands.check:check.py:147 `long_description` has syntax errors in markup and would not be rendered on PyPI. 218s line 2: Error: Document or section may not begin with a transition. 218s =========================== short test summary info ============================ 218s FAILED tests/test_check.py::test_fails_rst_syntax_error - AssertionError: ass... 218s =================== 1 failed, 225 passed, 3 skipped in 1.27s =================== 219s autopkgtest [16:28:17]: test unittests: -----------------------] 223s autopkgtest [16:28:21]: test unittests: - - - - - - - - - - results - - - - - - - - - - 223s unittests FAIL non-zero exit status 1 227s autopkgtest [16:28:25]: @@@@@@@@@@@@@@@@@@@@ summary 227s command1 PASS (superficial) 227s command2 PASS (superficial) 227s unittests FAIL non-zero exit status 1