0s autopkgtest [16:31:11]: starting date and time: 2025-11-17 16:31:11+0000 0s autopkgtest [16:31:11]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [16:31:11]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.gg_rtx7m/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 autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-19.secgroup --name adt-resolute-arm64-twine-20251117-163110-juju-7f2275-prod-proposed-migration-environment-2-2109114f-a109-4b99-875a-b7dc07506537 --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-arm64-twine-20251117-163110-juju-7f2275-prod-proposed-migration-environment-2-2109114f-a109-4b99-875a-b7dc07506537 from image adt/ubuntu-resolute-arm64-server-20251117.img (UUID 1cd33fbb-18df-4c5a-b8f0-2dcb25269485)... 81s autopkgtest [16:32:32]: testbed dpkg architecture: arm64 81s autopkgtest [16:32:32]: testbed apt version: 3.1.11 82s autopkgtest [16:32:33]: @@@@@@@@@@@@@@@@@@@@ test bed setup 82s autopkgtest [16:32:33]: testbed release detected to be: None 83s autopkgtest [16:32:34]: updating testbed package index (apt update) 83s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 84s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 84s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 84s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 84s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.5 kB] 84s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [839 kB] 84s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 84s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 84s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [149 kB] 84s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [3084 B] 84s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [107 kB] 84s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [324 B] 84s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [557 kB] 84s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [17.3 kB] 84s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [12.5 kB] 85s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [576 B] 86s Fetched 1888 kB in 1s (1453 kB/s) 87s Reading package lists... 88s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 88s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 88s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 88s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 89s Reading package lists... 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 89s Calculating upgrade... 90s The following packages will be upgraded: 90s usbutils 90s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 90s Need to get 81.7 kB of archives. 90s After this operation, 0 B of additional disk space will be used. 90s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 usbutils arm64 1:019-1 [81.7 kB] 91s dpkg-preconfigure: unable to re-open stdin: No such file or directory 91s Fetched 81.7 kB in 0s (241 kB/s) 91s (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 ... 88137 files and directories currently installed.) 91s Preparing to unpack .../usbutils_1%3a019-1_arm64.deb ... 92s Unpacking usbutils (1:019-1) over (1:018-2) ... 92s Setting up usbutils (1:019-1) ... 92s Processing triggers for man-db (2.13.1-1) ... 94s autopkgtest [16:32:45]: upgrading testbed (apt dist-upgrade and autopurge) 95s Reading package lists... 95s Building dependency tree... 95s Reading state information... 96s Calculating upgrade... 97s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 97s Reading package lists... 98s Building dependency tree... 98s Reading state information... 98s Solving dependencies... 99s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s autopkgtest [16:32:53]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 09:50:31 UTC 2025 103s autopkgtest [16:32:54]: @@@@@@@@@@@@@@@@@@@@ apt-source twine 105s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe twine 6.2.0-2 (dsc) [2951 B] 105s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe twine 6.2.0-2 (tar) [172 kB] 105s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe twine 6.2.0-2 (diff) [10.2 kB] 105s gpgv: Signature made Sun Nov 9 19:06:46 2025 UTC 105s gpgv: using RSA key 374D8CE4DB96E9CBD4C0972A606D084E4683C079 105s gpgv: Can't check signature: No public key 105s dpkg-source: warning: cannot verify inline signature for ./twine_6.2.0-2.dsc: no acceptable signature found 105s autopkgtest [16:32:56]: testing package twine version 6.2.0-2 105s autopkgtest [16:32:56]: build not needed 106s autopkgtest [16:32:57]: test command1: preparing testbed 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 107s Solving dependencies... 107s The following NEW packages will be installed: 107s docutils-common libjs-jquery libjs-sphinxdoc libjs-underscore 107s python3-cmarkgfm python3-docutils python3-id python3-nh3 107s python3-readme-renderer python3-requests-toolbelt python3-rfc3986 107s python3-roman sgml-base twine xml-core 107s 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. 107s Need to get 2025 kB of archives. 107s After this operation, 8590 kB of additional disk space will be used. 107s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 sgml-base all 1.31+nmu1 [11.0 kB] 107s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 xml-core all 0.19 [20.3 kB] 107s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 docutils-common all 0.21.2+dfsg-2 [131 kB] 108s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 108s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 108s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libjs-sphinxdoc all 8.2.3-1ubuntu2 [28.0 kB] 108s Get:7 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-cmarkgfm arm64 2024.11.20-1 [125 kB] 108s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-roman all 5.1-1 [10.6 kB] 108s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 108s Get:10 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-id all 1.5.0-1 [9028 B] 108s Get:11 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-nh3 arm64 0.3.2-1 [623 kB] 108s Get:12 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-readme-renderer all 44.0-2 [10.4 kB] 108s Get:13 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-requests-toolbelt all 1.0.0-4 [37.0 kB] 108s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-rfc3986 all 2.0.0-3 [22.0 kB] 108s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 twine all 6.2.0-2 [144 kB] 109s Fetched 2025 kB in 1s (2372 kB/s) 109s Selecting previously unselected package sgml-base. 109s (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 ... 88137 files and directories currently installed.) 109s Preparing to unpack .../00-sgml-base_1.31+nmu1_all.deb ... 109s Unpacking sgml-base (1.31+nmu1) ... 109s Selecting previously unselected package xml-core. 109s Preparing to unpack .../01-xml-core_0.19_all.deb ... 109s Unpacking xml-core (0.19) ... 109s Selecting previously unselected package docutils-common. 109s Preparing to unpack .../02-docutils-common_0.21.2+dfsg-2_all.deb ... 109s Unpacking docutils-common (0.21.2+dfsg-2) ... 109s Selecting previously unselected package libjs-jquery. 109s Preparing to unpack .../03-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 109s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 109s Selecting previously unselected package libjs-underscore. 109s Preparing to unpack .../04-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 109s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 109s Selecting previously unselected package libjs-sphinxdoc. 109s Preparing to unpack .../05-libjs-sphinxdoc_8.2.3-1ubuntu2_all.deb ... 109s Unpacking libjs-sphinxdoc (8.2.3-1ubuntu2) ... 109s Selecting previously unselected package python3-cmarkgfm. 109s Preparing to unpack .../06-python3-cmarkgfm_2024.11.20-1_arm64.deb ... 109s Unpacking python3-cmarkgfm (2024.11.20-1) ... 109s Selecting previously unselected package python3-roman. 109s Preparing to unpack .../07-python3-roman_5.1-1_all.deb ... 109s Unpacking python3-roman (5.1-1) ... 109s Selecting previously unselected package python3-docutils. 109s Preparing to unpack .../08-python3-docutils_0.21.2+dfsg-2_all.deb ... 109s Unpacking python3-docutils (0.21.2+dfsg-2) ... 109s Selecting previously unselected package python3-id. 109s Preparing to unpack .../09-python3-id_1.5.0-1_all.deb ... 109s Unpacking python3-id (1.5.0-1) ... 109s Selecting previously unselected package python3-nh3. 109s Preparing to unpack .../10-python3-nh3_0.3.2-1_arm64.deb ... 109s Unpacking python3-nh3 (0.3.2-1) ... 109s Selecting previously unselected package python3-readme-renderer. 109s Preparing to unpack .../11-python3-readme-renderer_44.0-2_all.deb ... 109s Unpacking python3-readme-renderer (44.0-2) ... 110s Selecting previously unselected package python3-requests-toolbelt. 110s Preparing to unpack .../12-python3-requests-toolbelt_1.0.0-4_all.deb ... 110s Unpacking python3-requests-toolbelt (1.0.0-4) ... 110s Selecting previously unselected package python3-rfc3986. 110s Preparing to unpack .../13-python3-rfc3986_2.0.0-3_all.deb ... 110s Unpacking python3-rfc3986 (2.0.0-3) ... 110s Selecting previously unselected package twine. 110s Preparing to unpack .../14-twine_6.2.0-2_all.deb ... 110s Unpacking twine (6.2.0-2) ... 110s Setting up python3-id (1.5.0-1) ... 110s Setting up python3-requests-toolbelt (1.0.0-4) ... 110s Setting up python3-nh3 (0.3.2-1) ... 110s Setting up python3-roman (5.1-1) ... 110s Setting up python3-rfc3986 (2.0.0-3) ... 111s Setting up sgml-base (1.31+nmu1) ... 111s Setting up python3-cmarkgfm (2024.11.20-1) ... 111s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 111s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 111s Setting up libjs-sphinxdoc (8.2.3-1ubuntu2) ... 111s Setting up xml-core (0.19) ... 111s Processing triggers for man-db (2.13.1-1) ... 112s Processing triggers for sgml-base (1.31+nmu1) ... 112s Setting up docutils-common (0.21.2+dfsg-2) ... 112s Processing triggers for sgml-base (1.31+nmu1) ... 112s Setting up python3-docutils (0.21.2+dfsg-2) ... 112s Setting up python3-readme-renderer (44.0-2) ... 113s Setting up twine (6.2.0-2) ... 114s autopkgtest [16:33:05]: test command1: twine --help 114s autopkgtest [16:33:05]: test command1: [----------------------- 115s usage: twine [-h] [--version] [--no-color] {check,register,upload} 115s 115s positional arguments: 115s {check,register,upload} 115s 115s options: 115s -h, --help show this help message and exit 115s --version show program's version number and exit 115s --no-color disable colored output 115s autopkgtest [16:33:06]: test command1: -----------------------] 116s command1 PASS (superficial) 116s autopkgtest [16:33:07]: test command1: - - - - - - - - - - results - - - - - - - - - - 116s autopkgtest [16:33:07]: test command2: preparing testbed 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 117s Solving dependencies... 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s autopkgtest [16:33:10]: test command2: twine --version 119s autopkgtest [16:33:10]: test command2: [----------------------- 120s twine version 6.2.0 (keyring: NOT INSTALLED, packaging: 25.0, requests: 120s 2.32.3, requests-toolbelt: 1.0.0, urllib3: 2.3.0, id: 1.5.0) 120s autopkgtest [16:33:11]: test command2: -----------------------] 121s command2 PASS (superficial) 121s autopkgtest [16:33:12]: test command2: - - - - - - - - - - results - - - - - - - - - - 121s autopkgtest [16:33:12]: test unittests: preparing testbed 122s Reading package lists... 122s Building dependency tree... 122s Reading state information... 122s Solving dependencies... 123s The following NEW packages will be installed: 123s python3-build python3-iniconfig python3-jaraco.classes python3-jeepney 123s python3-keyring python3-munch python3-pluggy python3-portend python3-pretend 123s python3-pyproject-hooks python3-pytest python3-pytest-socket 123s python3-secretstorage python3-tempora python3-wheel 123s 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. 123s Need to get 487 kB of archives. 123s After this operation, 2311 kB of additional disk space will be used. 123s Get:1 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 123s Get:2 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-wheel all 0.46.1-2 [22.1 kB] 123s Get:3 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-build all 1.2.2-4 [31.0 kB] 123s Get:4 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-iniconfig all 2.1.0-1 [6840 B] 123s Get:5 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-jaraco.classes all 3.4.0-1 [7664 B] 123s Get:6 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-jeepney all 0.9.0-1 [33.5 kB] 123s Get:7 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-secretstorage all 3.4.1-1 [14.0 kB] 123s Get:8 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-keyring all 25.6.0-3 [40.7 kB] 123s Get:9 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pluggy all 1.6.0-1 [21.0 kB] 123s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-tempora all 5.7.0-2 [15.1 kB] 123s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-portend all 3.2.0-1 [7524 B] 123s Get:12 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pretend all 1.0.9-5 [6936 B] 123s Get:13 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pytest all 8.3.5-2 [252 kB] 123s Get:14 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pytest-socket all 0.7.0-2 [7402 B] 123s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-munch all 4.0.0-2 [10.9 kB] 124s Fetched 487 kB in 1s (750 kB/s) 124s Selecting previously unselected package python3-pyproject-hooks. 124s (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 ... 88797 files and directories currently installed.) 124s Preparing to unpack .../00-python3-pyproject-hooks_1.2.0-1_all.deb ... 124s Unpacking python3-pyproject-hooks (1.2.0-1) ... 124s Selecting previously unselected package python3-wheel. 124s Preparing to unpack .../01-python3-wheel_0.46.1-2_all.deb ... 124s Unpacking python3-wheel (0.46.1-2) ... 124s Selecting previously unselected package python3-build. 124s Preparing to unpack .../02-python3-build_1.2.2-4_all.deb ... 124s Unpacking python3-build (1.2.2-4) ... 124s Selecting previously unselected package python3-iniconfig. 125s Preparing to unpack .../03-python3-iniconfig_2.1.0-1_all.deb ... 125s Unpacking python3-iniconfig (2.1.0-1) ... 125s Selecting previously unselected package python3-jaraco.classes. 125s Preparing to unpack .../04-python3-jaraco.classes_3.4.0-1_all.deb ... 125s Unpacking python3-jaraco.classes (3.4.0-1) ... 125s Selecting previously unselected package python3-jeepney. 125s Preparing to unpack .../05-python3-jeepney_0.9.0-1_all.deb ... 125s Unpacking python3-jeepney (0.9.0-1) ... 125s Selecting previously unselected package python3-secretstorage. 125s Preparing to unpack .../06-python3-secretstorage_3.4.1-1_all.deb ... 125s Unpacking python3-secretstorage (3.4.1-1) ... 125s Selecting previously unselected package python3-keyring. 125s Preparing to unpack .../07-python3-keyring_25.6.0-3_all.deb ... 125s Unpacking python3-keyring (25.6.0-3) ... 125s Selecting previously unselected package python3-pluggy. 125s Preparing to unpack .../08-python3-pluggy_1.6.0-1_all.deb ... 125s Unpacking python3-pluggy (1.6.0-1) ... 125s Selecting previously unselected package python3-tempora. 125s Preparing to unpack .../09-python3-tempora_5.7.0-2_all.deb ... 125s Unpacking python3-tempora (5.7.0-2) ... 125s Selecting previously unselected package python3-portend. 125s Preparing to unpack .../10-python3-portend_3.2.0-1_all.deb ... 125s Unpacking python3-portend (3.2.0-1) ... 125s Selecting previously unselected package python3-pretend. 125s Preparing to unpack .../11-python3-pretend_1.0.9-5_all.deb ... 125s Unpacking python3-pretend (1.0.9-5) ... 125s Selecting previously unselected package python3-pytest. 125s Preparing to unpack .../12-python3-pytest_8.3.5-2_all.deb ... 125s Unpacking python3-pytest (8.3.5-2) ... 125s Selecting previously unselected package python3-pytest-socket. 125s Preparing to unpack .../13-python3-pytest-socket_0.7.0-2_all.deb ... 125s Unpacking python3-pytest-socket (0.7.0-2) ... 125s Selecting previously unselected package python3-munch. 125s Preparing to unpack .../14-python3-munch_4.0.0-2_all.deb ... 125s Unpacking python3-munch (4.0.0-2) ... 125s Setting up python3-iniconfig (2.1.0-1) ... 126s Setting up python3-jaraco.classes (3.4.0-1) ... 126s Setting up python3-wheel (0.46.1-2) ... 126s Setting up python3-munch (4.0.0-2) ... 126s Setting up python3-pretend (1.0.9-5) ... 126s Setting up python3-pyproject-hooks (1.2.0-1) ... 126s Setting up python3-jeepney (0.9.0-1) ... 127s Setting up python3-pluggy (1.6.0-1) ... 127s Setting up python3-tempora (5.7.0-2) ... 127s Setting up python3-build (1.2.2-4) ... 127s Setting up python3-pytest (8.3.5-2) ... 128s Setting up python3-portend (3.2.0-1) ... 128s Setting up python3-secretstorage (3.4.1-1) ... 128s Setting up python3-keyring (25.6.0-3) ... 128s Setting up python3-pytest-socket (0.7.0-2) ... 129s Processing triggers for man-db (2.13.1-1) ... 130s autopkgtest [16:33:21]: test unittests: [----------------------- 132s ============================= test session starts ============================== 132s platform linux -- Python 3.13.9, pytest-8.3.5, pluggy-1.6.0 132s rootdir: /tmp/autopkgtest.0viBkO/autopkgtest_tmp 132s plugins: typeguard-4.4.2, socket-0.7.0 132s collected 229 items 132s 132s tests/test_auth.py ............................ [ 12%] 133s tests/test_check.py ......F...... [ 17%] 133s tests/test_cli.py .. [ 18%] 133s tests/test_commands.py ...... [ 21%] 133s tests/test_main.py ... [ 22%] 133s tests/test_package.py ..................................... [ 38%] 133s tests/test_register.py ...... [ 41%] 133s tests/test_repository.py ......................... [ 52%] 133s tests/test_sdist.py ................. [ 59%] 133s tests/test_settings.py ................. [ 67%] 133s tests/test_upload.py ..........................sss. [ 80%] 133s tests/test_utils.py ...................................... [ 96%] 133s tests/test_wheel.py ....... [100%] 133s 133s =================================== FAILURES =================================== 133s _________________________ test_fails_rst_syntax_error __________________________ 133s 133s tmp_path = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_fails_rst_syntax_error0') 133s capsys = <_pytest.capture.CaptureFixture object at 0xe0fae46dce10> 133s caplog = <_pytest.logging.LogCaptureFixture object at 0xe0fae46d1630> 133s 133s def test_fails_rst_syntax_error(tmp_path, capsys, caplog): 133s sdist = build_sdist_with_metadata( 133s tmp_path, 133s """\ 133s Metadata-Version: 2.1 133s Name: test-package 133s Version: 1.2.3 133s Description-Content-Type: text/x-rst 133s 133s 133s ============ 133s 133s """, 133s ) 133s 133s assert check.check([sdist]) 133s 133s assert capsys.readouterr().out == f"Checking {sdist}: FAILED\n" 133s 133s > assert caplog.record_tuples == [ 133s ( 133s "twine.commands.check", 133s logging.ERROR, 133s "`long_description` has syntax errors in markup " 133s "and would not be rendered on PyPI.\n" 133s "line 2: Warning: Document or section may not begin with a transition.", 133s ), 133s ] 133s E AssertionError: assert [('twine.comm...transition.')] == [('twine.comm...transition.')] 133s E 133s 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.') 133s E Use -v to get more diff 133s 133s tests/test_check.py:116: AssertionError 133s ----------------------------- Captured stderr call ----------------------------- 133s `long_description` has syntax errors in markup and would not be rendered on PyPI. 133s line 2: Error: Document or section may not begin with a transition. 133s ------------------------------ Captured log call ------------------------------- 133s ERROR twine.commands.check:check.py:147 `long_description` has syntax errors in markup and would not be rendered on PyPI. 133s line 2: Error: Document or section may not begin with a transition. 133s =========================== short test summary info ============================ 133s FAILED tests/test_check.py::test_fails_rst_syntax_error - AssertionError: ass... 133s =================== 1 failed, 225 passed, 3 skipped in 1.52s =================== 134s autopkgtest [16:33:25]: test unittests: -----------------------] 134s autopkgtest [16:33:25]: test unittests: - - - - - - - - - - results - - - - - - - - - - 134s unittests FAIL non-zero exit status 1 135s autopkgtest [16:33:26]: @@@@@@@@@@@@@@@@@@@@ summary 135s command1 PASS (superficial) 135s command2 PASS (superficial) 135s unittests FAIL non-zero exit status 1