0s autopkgtest [08:55:26]: starting date and time: 2025-05-05 08:55:26+0000 0s autopkgtest [08:55:26]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [08:55:26]: host juju-7f2275-prod-proposed-migration-environment-21; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.zy6bbtes/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:sphinx --apt-upgrade python-sphobjinv --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=sphinx/8.2.3-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-21@bos03-1.secgroup --name adt-questing-amd64-python-sphobjinv-20250505-085525-juju-7f2275-prod-proposed-migration-environment-21-1759e424-c8a1-4ef7-b107-6e9453f05390 --image adt/ubuntu-questing-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-21 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 232s autopkgtest [08:59:18]: testbed dpkg architecture: amd64 232s autopkgtest [08:59:18]: testbed apt version: 3.0.0 233s autopkgtest [08:59:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 233s autopkgtest [08:59:19]: testbed release detected to be: None 233s autopkgtest [08:59:19]: updating testbed package index (apt update) 234s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 234s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 234s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 234s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 234s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [91.4 kB] 234s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [931 kB] 235s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [32.2 kB] 235s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [132 kB] 235s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [93.1 kB] 235s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [976 kB] 235s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [361 kB] 235s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [19.7 kB] 235s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [11.0 kB] 235s Fetched 2758 kB in 1s (2410 kB/s) 236s Reading package lists... 236s autopkgtest [08:59:22]: upgrading testbed (apt dist-upgrade and autopurge) 236s Reading package lists... 237s Building dependency tree... 237s Reading state information... 237s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 237s Starting 2 pkgProblemResolver with broken count: 0 237s Done 238s Entering ResolveByKeep 238s 238s Calculating upgrade... 238s The following packages will be upgraded: 238s libgpg-error-l10n libgpg-error0 libselinux1 netbase 238s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 238s Need to get 189 kB of archives. 238s After this operation, 17.4 kB disk space will be freed. 238s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 libselinux1 amd64 3.8.1-1 [89.8 kB] 239s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 libgpg-error-l10n all 1.51-4 [8880 B] 239s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libgpg-error0 amd64 1.51-4 [76.9 kB] 239s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 netbase all 6.5 [12.9 kB] 239s Fetched 189 kB in 0s (393 kB/s) 239s (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 ... 80527 files and directories currently installed.) 239s Preparing to unpack .../libselinux1_3.8.1-1_amd64.deb ... 239s Unpacking libselinux1:amd64 (3.8.1-1) over (3.7-3ubuntu3) ... 239s Setting up libselinux1:amd64 (3.8.1-1) ... 239s (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 ... 80527 files and directories currently installed.) 239s Preparing to unpack .../libgpg-error-l10n_1.51-4_all.deb ... 239s Unpacking libgpg-error-l10n (1.51-4) over (1.51-3) ... 239s Preparing to unpack .../libgpg-error0_1.51-4_amd64.deb ... 239s Unpacking libgpg-error0:amd64 (1.51-4) over (1.51-3) ... 239s Setting up libgpg-error0:amd64 (1.51-4) ... 239s (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 ... 80527 files and directories currently installed.) 239s Preparing to unpack .../archives/netbase_6.5_all.deb ... 239s Unpacking netbase (6.5) over (6.4) ... 239s Setting up netbase (6.5) ... 239s Installing new version of config file /etc/ethertypes ... 239s Installing new version of config file /etc/services ... 239s Setting up libgpg-error-l10n (1.51-4) ... 239s Processing triggers for libc-bin (2.41-6ubuntu1) ... 240s Reading package lists... 240s Building dependency tree... 240s Reading state information... 240s Starting pkgProblemResolver with broken count: 0 240s Starting 2 pkgProblemResolver with broken count: 0 240s Done 241s Solving dependencies... 241s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 243s autopkgtest [08:59:29]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 15:05:05 UTC 2025 244s autopkgtest [08:59:30]: @@@@@@@@@@@@@@@@@@@@ apt-source python-sphobjinv 246s Get:1 http://ftpmaster.internal/ubuntu questing/universe python-sphobjinv 2.3.1.2-2 (dsc) [2893 B] 246s Get:2 http://ftpmaster.internal/ubuntu questing/universe python-sphobjinv 2.3.1.2-2 (tar) [1345 kB] 246s Get:3 http://ftpmaster.internal/ubuntu questing/universe python-sphobjinv 2.3.1.2-2 (diff) [12.5 kB] 246s gpgv: Signature made Sun Mar 16 17:34:12 2025 UTC 246s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 246s gpgv: Can't check signature: No public key 246s dpkg-source: warning: cannot verify inline signature for ./python-sphobjinv_2.3.1.2-2.dsc: no acceptable signature found 246s autopkgtest [08:59:32]: testing package python-sphobjinv version 2.3.1.2-2 247s autopkgtest [08:59:33]: build not needed 247s autopkgtest [08:59:33]: test upstream-tests: preparing testbed 247s Reading package lists... 248s Building dependency tree... 248s Reading state information... 248s Starting pkgProblemResolver with broken count: 0 248s Starting 2 pkgProblemResolver with broken count: 0 248s Done 248s The following NEW packages will be installed: 248s docutils-common fonts-font-awesome fonts-lato libjs-jquery libjs-sphinxdoc 248s libjs-underscore libjson-perl python-sphobjinv-doc python3-alabaster 248s python3-all python3-defusedxml python3-dictdiffer python3-docutils 248s python3-imagesize python3-iniconfig python3-pluggy python3-pytest 248s python3-pytest-check python3-roman python3-roman-numerals 248s python3-snowballstemmer python3-sphinx python3-sphinx-removed-in 248s python3-sphobjinv sgml-base sphinx-common sphinx-rtd-theme-common xml-core 248s 0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded. 248s Need to get 7319 kB of archives. 248s After this operation, 29.4 MB of additional disk space will be used. 248s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 fonts-lato all 2.015-1 [2781 kB] 249s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 sgml-base all 1.31+nmu1 [11.0 kB] 249s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 xml-core all 0.19 [20.3 kB] 249s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 docutils-common all 0.21.2+dfsg-2 [131 kB] 249s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 249s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 249s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 249s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libjs-sphinxdoc all 8.2.3-1 [27.8 kB] 249s Get:9 http://ftpmaster.internal/ubuntu questing/main amd64 libjson-perl all 4.10000-1 [81.9 kB] 249s Get:10 http://ftpmaster.internal/ubuntu questing/main amd64 sphinx-rtd-theme-common all 3.0.2+dfsg-2 [1014 kB] 250s Get:11 http://ftpmaster.internal/ubuntu questing/universe amd64 python-sphobjinv-doc all 2.3.1.2-2 [243 kB] 250s Get:12 http://ftpmaster.internal/ubuntu questing/main amd64 python3-all amd64 3.13.3-1 [882 B] 250s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 python3-defusedxml all 0.7.1-3 [42.2 kB] 250s Get:14 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-dictdiffer all 0.9.0-3 [13.1 kB] 250s Get:15 http://ftpmaster.internal/ubuntu questing/main amd64 python3-roman all 5.0-1 [10.3 kB] 250s Get:16 http://ftpmaster.internal/ubuntu questing/main amd64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 250s Get:17 http://ftpmaster.internal/ubuntu questing/main amd64 python3-imagesize all 1.4.1-1 [6844 B] 250s Get:18 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 250s Get:19 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 250s Get:20 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-pytest all 8.3.5-1 [252 kB] 250s Get:21 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-pytest-check all 2.5.3-1 [19.3 kB] 250s Get:22 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-roman-numerals all 3.1.0-1ubuntu1 [8432 B] 250s Get:23 http://ftpmaster.internal/ubuntu questing/main amd64 python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 250s Get:24 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 sphinx-common all 8.2.3-1 [656 kB] 250s Get:25 http://ftpmaster.internal/ubuntu questing/main amd64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 250s Get:26 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 python3-sphinx all 8.2.3-1 [482 kB] 250s Get:27 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-sphinx-removed-in all 0.2.3-2 [4204 B] 250s Get:28 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-sphobjinv all 2.3.1.2-2 [38.3 kB] 250s Fetched 7319 kB in 2s (4673 kB/s) 250s Selecting previously unselected package fonts-lato. 250s (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 ... 80527 files and directories currently installed.) 250s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 250s Unpacking fonts-lato (2.015-1) ... 250s Selecting previously unselected package sgml-base. 250s Preparing to unpack .../01-sgml-base_1.31+nmu1_all.deb ... 250s Unpacking sgml-base (1.31+nmu1) ... 250s Selecting previously unselected package xml-core. 250s Preparing to unpack .../02-xml-core_0.19_all.deb ... 250s Unpacking xml-core (0.19) ... 251s Selecting previously unselected package docutils-common. 251s Preparing to unpack .../03-docutils-common_0.21.2+dfsg-2_all.deb ... 251s Unpacking docutils-common (0.21.2+dfsg-2) ... 251s Selecting previously unselected package fonts-font-awesome. 251s Preparing to unpack .../04-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 251s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 251s Selecting previously unselected package libjs-jquery. 251s Preparing to unpack .../05-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 251s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 251s Selecting previously unselected package libjs-underscore. 251s Preparing to unpack .../06-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 251s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 251s Selecting previously unselected package libjs-sphinxdoc. 251s Preparing to unpack .../07-libjs-sphinxdoc_8.2.3-1_all.deb ... 251s Unpacking libjs-sphinxdoc (8.2.3-1) ... 251s Selecting previously unselected package libjson-perl. 251s Preparing to unpack .../08-libjson-perl_4.10000-1_all.deb ... 251s Unpacking libjson-perl (4.10000-1) ... 251s Selecting previously unselected package sphinx-rtd-theme-common. 251s Preparing to unpack .../09-sphinx-rtd-theme-common_3.0.2+dfsg-2_all.deb ... 251s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 251s Selecting previously unselected package python-sphobjinv-doc. 251s Preparing to unpack .../10-python-sphobjinv-doc_2.3.1.2-2_all.deb ... 251s Unpacking python-sphobjinv-doc (2.3.1.2-2) ... 251s Selecting previously unselected package python3-all. 251s Preparing to unpack .../11-python3-all_3.13.3-1_amd64.deb ... 251s Unpacking python3-all (3.13.3-1) ... 251s Selecting previously unselected package python3-defusedxml. 251s Preparing to unpack .../12-python3-defusedxml_0.7.1-3_all.deb ... 251s Unpacking python3-defusedxml (0.7.1-3) ... 251s Selecting previously unselected package python3-dictdiffer. 251s Preparing to unpack .../13-python3-dictdiffer_0.9.0-3_all.deb ... 251s Unpacking python3-dictdiffer (0.9.0-3) ... 251s Selecting previously unselected package python3-roman. 251s Preparing to unpack .../14-python3-roman_5.0-1_all.deb ... 251s Unpacking python3-roman (5.0-1) ... 251s Selecting previously unselected package python3-docutils. 251s Preparing to unpack .../15-python3-docutils_0.21.2+dfsg-2_all.deb ... 251s Unpacking python3-docutils (0.21.2+dfsg-2) ... 251s Selecting previously unselected package python3-imagesize. 251s Preparing to unpack .../16-python3-imagesize_1.4.1-1_all.deb ... 251s Unpacking python3-imagesize (1.4.1-1) ... 251s Selecting previously unselected package python3-iniconfig. 251s Preparing to unpack .../17-python3-iniconfig_1.1.1-2_all.deb ... 251s Unpacking python3-iniconfig (1.1.1-2) ... 251s Selecting previously unselected package python3-pluggy. 251s Preparing to unpack .../18-python3-pluggy_1.5.0-1_all.deb ... 251s Unpacking python3-pluggy (1.5.0-1) ... 251s Selecting previously unselected package python3-pytest. 251s Preparing to unpack .../19-python3-pytest_8.3.5-1_all.deb ... 251s Unpacking python3-pytest (8.3.5-1) ... 251s Selecting previously unselected package python3-pytest-check. 251s Preparing to unpack .../20-python3-pytest-check_2.5.3-1_all.deb ... 251s Unpacking python3-pytest-check (2.5.3-1) ... 251s Selecting previously unselected package python3-roman-numerals. 251s Preparing to unpack .../21-python3-roman-numerals_3.1.0-1ubuntu1_all.deb ... 251s Unpacking python3-roman-numerals (3.1.0-1ubuntu1) ... 251s Selecting previously unselected package python3-snowballstemmer. 251s Preparing to unpack .../22-python3-snowballstemmer_2.2.0-4build1_all.deb ... 251s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 251s Selecting previously unselected package sphinx-common. 251s Preparing to unpack .../23-sphinx-common_8.2.3-1_all.deb ... 251s Unpacking sphinx-common (8.2.3-1) ... 251s Selecting previously unselected package python3-alabaster. 251s Preparing to unpack .../24-python3-alabaster_0.7.16-0.1_all.deb ... 251s Unpacking python3-alabaster (0.7.16-0.1) ... 251s Selecting previously unselected package python3-sphinx. 251s Preparing to unpack .../25-python3-sphinx_8.2.3-1_all.deb ... 251s Unpacking python3-sphinx (8.2.3-1) ... 251s Selecting previously unselected package python3-sphinx-removed-in. 251s Preparing to unpack .../26-python3-sphinx-removed-in_0.2.3-2_all.deb ... 251s Unpacking python3-sphinx-removed-in (0.2.3-2) ... 251s Selecting previously unselected package python3-sphobjinv. 251s Preparing to unpack .../27-python3-sphobjinv_2.3.1.2-2_all.deb ... 251s Unpacking python3-sphobjinv (2.3.1.2-2) ... 251s Setting up python3-iniconfig (1.1.1-2) ... 252s Setting up fonts-lato (2.015-1) ... 252s Setting up python3-defusedxml (0.7.1-3) ... 252s Setting up python3-alabaster (0.7.16-0.1) ... 252s Setting up python3-all (3.13.3-1) ... 252s Setting up python3-dictdiffer (0.9.0-3) ... 252s Setting up python3-roman (5.0-1) ... 252s Setting up python3-snowballstemmer (2.2.0-4build1) ... 252s Setting up python3-pluggy (1.5.0-1) ... 252s Setting up python3-sphobjinv (2.3.1.2-2) ... 252s Setting up libjson-perl (4.10000-1) ... 252s Setting up python3-roman-numerals (3.1.0-1ubuntu1) ... 252s Setting up sgml-base (1.31+nmu1) ... 253s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 253s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 253s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 253s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 253s Setting up python3-imagesize (1.4.1-1) ... 253s Setting up python3-pytest (8.3.5-1) ... 253s Setting up python3-pytest-check (2.5.3-1) ... 253s Setting up libjs-sphinxdoc (8.2.3-1) ... 253s Setting up xml-core (0.19) ... 253s Setting up python-sphobjinv-doc (2.3.1.2-2) ... 253s Setting up sphinx-common (8.2.3-1) ... 253s Processing triggers for man-db (2.13.1-1) ... 254s Processing triggers for sgml-base (1.31+nmu1) ... 254s Setting up docutils-common (0.21.2+dfsg-2) ... 254s Processing triggers for sgml-base (1.31+nmu1) ... 254s Setting up python3-docutils (0.21.2+dfsg-2) ... 255s Setting up python3-sphinx (8.2.3-1) ... 255s Setting up python3-sphinx-removed-in (0.2.3-2) ... 257s autopkgtest [08:59:43]: test upstream-tests: [----------------------- 257s 257s *************************** 257s *** Testing with python3.13 257s *************************** 257s 257s Content of current working folder: 257s 257s total 24 257s drwxr-xr-x 3 ubuntu ubuntu 4096 May 5 08:59 . 257s drwxrwxrwt 5 root root 4096 May 5 08:59 .. 257s -rw-rw-r-- 1 ubuntu ubuntu 9841 Dec 22 22:18 conftest.py 257s drwxrwxr-x 3 ubuntu ubuntu 4096 May 5 08:59 tests 257s Running tests... 257s 258s ============================= test session starts ============================== 258s platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 258s rootdir: /tmp/autopkgtest.XakVUi/autopkgtest_tmp 258s plugins: check-2.5.3, typeguard-4.4.2 258s collected 758 items / 1 deselected / 757 selected 258s 258s tests/test_api_fail.py ................................xxxx [ 4%] 258s tests/test_api_good.py ................................................. [ 11%] 281s .............................................................sssssssssss [ 20%] 281s ssssssssssssssssss.sssssssssssssssssssssssssssssssssssssssssssssssssssss [ 30%] 281s sssssss.sssssssssssssssssssssssssssssss. [ 35%] 281s tests/test_api_good_nonlocal.py ssssssssssssssssssssssssssssssssssssssss [ 40%] 281s sssssssssssssssssssssss [ 43%] 282s tests/test_cli.py ...ssss...s...s.........sssssssssssssssssssssssssssss. [ 50%] 282s sssssssssssssssssssssssssssssssss.sssssssssss..s....sssssss [ 58%] 282s tests/test_cli_nonlocal.py ssssssssssss [ 60%] 282s tests/test_fixture.py ..... [ 61%] 282s tests/test_flake8_ext.py s [ 61%] 282s tests/test_intersphinx.py .... [ 61%] 282s tests/test_valid_objects.py ............................................ [ 67%] 282s .xFFF..............FFF....x............................................. [ 77%] 282s ....................................................F................... [ 86%] 282s ........................................................................ [ 96%] 282s .............................. [100%] 282s 282s =================================== FAILURES =================================== 282s ________________________ test_name_lead_chars[11_\x0b] _________________________ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s leadint = 11 282s 282s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 282s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 282s """Screen for valid/invalid first characters.""" 282s name = int_to_latin_1(leadint) + " foo" 282s 282s # Expect only two fail cases, newline and '#' 282s if leadint in (10, 35): 282s pytest.xfail("Known invalid name lead char") 282s 282s > test_dataobjstr_valid_objects( 282s misc_info, 282s sphinx_ifile_data_count, 282s name=name, 282s domain="py", 282s role="data", 282s prio=1, 282s uri="data.html#$", 282s dispname="-", 282s ) 282s 282s tests/test_valid_objects.py:173: 282s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s name = '\x0b foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 282s dispname = '-' 282s 282s @pytest.mark.parametrize( 282s ("name", "domain", "role", "prio", "uri", "dispname"), 282s [ 282s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 282s ("foo", "py", "data", 0, "quux.html#$", "-"), 282s ("foo", "py", "data", -1, "quux.html#$", "-"), 282s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 282s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 282s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 282s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 282s ("Index Page", "std", "doc", 1, "index.html", "-"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 282s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 282s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 282s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 282s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 282s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 282s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 282s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s # Colon in domain (invalid but undetectable) 282s ("foo", "p:y", "data", 1, "data.html#$", "-"), 282s ], 282s ) 282s def test_dataobjstr_valid_objects( 282s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 282s ): 282s """Run sphobjinv/sphinx comparison on specific object data lines.""" 282s dos = soi.DataObjStr( 282s name=name, 282s domain=domain, 282s role=role, 282s priority=str(prio), 282s uri=uri, 282s dispname=dispname, 282s ) 282s 282s assert dos 282s 282s inv = soi.Inventory() 282s inv.project = "Foo" 282s inv.version = "1.0" 282s inv.objects.append( 282s soi.DataObjStr( 282s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 282s ) 282s ) 282s inv.objects.append(dos) 282s 282s df = inv.data_file(contract=True) 282s 282s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 282s 282s ifile_count = sphinx_ifile_data_count(ifile_data) 282s 282s assert inv.count == ifile_count 282s 282s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 282s 282s assert domrole in ifile_data 282s > assert dos.name in ifile_data[domrole] 282s E AssertionError: assert '\x0b foo' in {' foo': _InventoryItem(project_name='Foo', project_version='1.0', uri='data.html# foo', display_name='-'), 'bar': _InventoryItem(project_name='Foo', project_version='1.0', uri='bar', display_name='-')} 282s E + where '\x0b foo' = DataObjStr(name='\x0b foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 282s 282s tests/test_valid_objects.py:123: AssertionError 282s ________________________ test_name_lead_chars[12_\x0c] _________________________ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s leadint = 12 282s 282s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 282s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 282s """Screen for valid/invalid first characters.""" 282s name = int_to_latin_1(leadint) + " foo" 282s 282s # Expect only two fail cases, newline and '#' 282s if leadint in (10, 35): 282s pytest.xfail("Known invalid name lead char") 282s 282s > test_dataobjstr_valid_objects( 282s misc_info, 282s sphinx_ifile_data_count, 282s name=name, 282s domain="py", 282s role="data", 282s prio=1, 282s uri="data.html#$", 282s dispname="-", 282s ) 282s 282s tests/test_valid_objects.py:173: 282s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s name = '\x0c foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 282s dispname = '-' 282s 282s @pytest.mark.parametrize( 282s ("name", "domain", "role", "prio", "uri", "dispname"), 282s [ 282s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 282s ("foo", "py", "data", 0, "quux.html#$", "-"), 282s ("foo", "py", "data", -1, "quux.html#$", "-"), 282s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 282s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 282s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 282s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 282s ("Index Page", "std", "doc", 1, "index.html", "-"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 282s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 282s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 282s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 282s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 282s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 282s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 282s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s # Colon in domain (invalid but undetectable) 282s ("foo", "p:y", "data", 1, "data.html#$", "-"), 282s ], 282s ) 282s def test_dataobjstr_valid_objects( 282s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 282s ): 282s """Run sphobjinv/sphinx comparison on specific object data lines.""" 282s dos = soi.DataObjStr( 282s name=name, 282s domain=domain, 282s role=role, 282s priority=str(prio), 282s uri=uri, 282s dispname=dispname, 282s ) 282s 282s assert dos 282s 282s inv = soi.Inventory() 282s inv.project = "Foo" 282s inv.version = "1.0" 282s inv.objects.append( 282s soi.DataObjStr( 282s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 282s ) 282s ) 282s inv.objects.append(dos) 282s 282s df = inv.data_file(contract=True) 282s 282s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 282s 282s ifile_count = sphinx_ifile_data_count(ifile_data) 282s 282s assert inv.count == ifile_count 282s 282s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 282s 282s assert domrole in ifile_data 282s > assert dos.name in ifile_data[domrole] 282s E AssertionError: assert '\x0c foo' in {' foo': _InventoryItem(project_name='Foo', project_version='1.0', uri='data.html# foo', display_name='-'), 'bar': _InventoryItem(project_name='Foo', project_version='1.0', uri='bar', display_name='-')} 282s E + where '\x0c foo' = DataObjStr(name='\x0c foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 282s 282s tests/test_valid_objects.py:123: AssertionError 282s _________________________ test_name_lead_chars[13_\r] __________________________ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s leadint = 13 282s 282s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 282s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 282s """Screen for valid/invalid first characters.""" 282s name = int_to_latin_1(leadint) + " foo" 282s 282s # Expect only two fail cases, newline and '#' 282s if leadint in (10, 35): 282s pytest.xfail("Known invalid name lead char") 282s 282s > test_dataobjstr_valid_objects( 282s misc_info, 282s sphinx_ifile_data_count, 282s name=name, 282s domain="py", 282s role="data", 282s prio=1, 282s uri="data.html#$", 282s dispname="-", 282s ) 282s 282s tests/test_valid_objects.py:173: 282s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s name = '\r foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 282s dispname = '-' 282s 282s @pytest.mark.parametrize( 282s ("name", "domain", "role", "prio", "uri", "dispname"), 282s [ 282s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 282s ("foo", "py", "data", 0, "quux.html#$", "-"), 282s ("foo", "py", "data", -1, "quux.html#$", "-"), 282s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 282s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 282s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 282s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 282s ("Index Page", "std", "doc", 1, "index.html", "-"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 282s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 282s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 282s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 282s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 282s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 282s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 282s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s # Colon in domain (invalid but undetectable) 282s ("foo", "p:y", "data", 1, "data.html#$", "-"), 282s ], 282s ) 282s def test_dataobjstr_valid_objects( 282s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 282s ): 282s """Run sphobjinv/sphinx comparison on specific object data lines.""" 282s dos = soi.DataObjStr( 282s name=name, 282s domain=domain, 282s role=role, 282s priority=str(prio), 282s uri=uri, 282s dispname=dispname, 282s ) 282s 282s assert dos 282s 282s inv = soi.Inventory() 282s inv.project = "Foo" 282s inv.version = "1.0" 282s inv.objects.append( 282s soi.DataObjStr( 282s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 282s ) 282s ) 282s inv.objects.append(dos) 282s 282s df = inv.data_file(contract=True) 282s 282s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 282s 282s ifile_count = sphinx_ifile_data_count(ifile_data) 282s 282s assert inv.count == ifile_count 282s 282s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 282s 282s assert domrole in ifile_data 282s > assert dos.name in ifile_data[domrole] 282s E AssertionError: assert '\r foo' in {' foo': _InventoryItem(project_name='Foo', project_version='1.0', uri='data.html# foo', display_name='-'), 'bar': _InventoryItem(project_name='Foo', project_version='1.0', uri='bar', display_name='-')} 282s E + where '\r foo' = DataObjStr(name='\r foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 282s 282s tests/test_valid_objects.py:123: AssertionError 282s ________________________ test_name_lead_chars[28_\x1c] _________________________ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s leadint = 28 282s 282s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 282s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 282s """Screen for valid/invalid first characters.""" 282s name = int_to_latin_1(leadint) + " foo" 282s 282s # Expect only two fail cases, newline and '#' 282s if leadint in (10, 35): 282s pytest.xfail("Known invalid name lead char") 282s 282s > test_dataobjstr_valid_objects( 282s misc_info, 282s sphinx_ifile_data_count, 282s name=name, 282s domain="py", 282s role="data", 282s prio=1, 282s uri="data.html#$", 282s dispname="-", 282s ) 282s 282s tests/test_valid_objects.py:173: 282s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s name = '\x1c foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 282s dispname = '-' 282s 282s @pytest.mark.parametrize( 282s ("name", "domain", "role", "prio", "uri", "dispname"), 282s [ 282s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 282s ("foo", "py", "data", 0, "quux.html#$", "-"), 282s ("foo", "py", "data", -1, "quux.html#$", "-"), 282s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 282s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 282s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 282s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 282s ("Index Page", "std", "doc", 1, "index.html", "-"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 282s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 282s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 282s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 282s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 282s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 282s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 282s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s # Colon in domain (invalid but undetectable) 282s ("foo", "p:y", "data", 1, "data.html#$", "-"), 282s ], 282s ) 282s def test_dataobjstr_valid_objects( 282s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 282s ): 282s """Run sphobjinv/sphinx comparison on specific object data lines.""" 282s dos = soi.DataObjStr( 282s name=name, 282s domain=domain, 282s role=role, 282s priority=str(prio), 282s uri=uri, 282s dispname=dispname, 282s ) 282s 282s assert dos 282s 282s inv = soi.Inventory() 282s inv.project = "Foo" 282s inv.version = "1.0" 282s inv.objects.append( 282s soi.DataObjStr( 282s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 282s ) 282s ) 282s inv.objects.append(dos) 282s 282s df = inv.data_file(contract=True) 282s 282s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 282s 282s ifile_count = sphinx_ifile_data_count(ifile_data) 282s 282s assert inv.count == ifile_count 282s 282s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 282s 282s assert domrole in ifile_data 282s > assert dos.name in ifile_data[domrole] 282s E AssertionError: assert '\x1c foo' in {' foo': _InventoryItem(project_name='Foo', project_version='1.0', uri='data.html# foo', display_name='-'), 'bar': _InventoryItem(project_name='Foo', project_version='1.0', uri='bar', display_name='-')} 282s E + where '\x1c foo' = DataObjStr(name='\x1c foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 282s 282s tests/test_valid_objects.py:123: AssertionError 282s ________________________ test_name_lead_chars[29_\x1d] _________________________ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s leadint = 29 282s 282s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 282s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 282s """Screen for valid/invalid first characters.""" 282s name = int_to_latin_1(leadint) + " foo" 282s 282s # Expect only two fail cases, newline and '#' 282s if leadint in (10, 35): 282s pytest.xfail("Known invalid name lead char") 282s 282s > test_dataobjstr_valid_objects( 282s misc_info, 282s sphinx_ifile_data_count, 282s name=name, 282s domain="py", 282s role="data", 282s prio=1, 282s uri="data.html#$", 282s dispname="-", 282s ) 282s 282s tests/test_valid_objects.py:173: 282s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s name = '\x1d foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 282s dispname = '-' 282s 282s @pytest.mark.parametrize( 282s ("name", "domain", "role", "prio", "uri", "dispname"), 282s [ 282s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 282s ("foo", "py", "data", 0, "quux.html#$", "-"), 282s ("foo", "py", "data", -1, "quux.html#$", "-"), 282s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 282s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 282s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 282s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 282s ("Index Page", "std", "doc", 1, "index.html", "-"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 282s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 282s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 282s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 282s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 282s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 282s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 282s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s # Colon in domain (invalid but undetectable) 282s ("foo", "p:y", "data", 1, "data.html#$", "-"), 282s ], 282s ) 282s def test_dataobjstr_valid_objects( 282s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 282s ): 282s """Run sphobjinv/sphinx comparison on specific object data lines.""" 282s dos = soi.DataObjStr( 282s name=name, 282s domain=domain, 282s role=role, 282s priority=str(prio), 282s uri=uri, 282s dispname=dispname, 282s ) 282s 282s assert dos 282s 282s inv = soi.Inventory() 282s inv.project = "Foo" 282s inv.version = "1.0" 282s inv.objects.append( 282s soi.DataObjStr( 282s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 282s ) 282s ) 282s inv.objects.append(dos) 282s 282s df = inv.data_file(contract=True) 282s 282s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 282s 282s ifile_count = sphinx_ifile_data_count(ifile_data) 282s 282s assert inv.count == ifile_count 282s 282s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 282s 282s assert domrole in ifile_data 282s > assert dos.name in ifile_data[domrole] 282s E AssertionError: assert '\x1d foo' in {' foo': _InventoryItem(project_name='Foo', project_version='1.0', uri='data.html# foo', display_name='-'), 'bar': _InventoryItem(project_name='Foo', project_version='1.0', uri='bar', display_name='-')} 282s E + where '\x1d foo' = DataObjStr(name='\x1d foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 282s 282s tests/test_valid_objects.py:123: AssertionError 282s ________________________ test_name_lead_chars[30_\x1e] _________________________ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s leadint = 30 282s 282s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 282s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 282s """Screen for valid/invalid first characters.""" 282s name = int_to_latin_1(leadint) + " foo" 282s 282s # Expect only two fail cases, newline and '#' 282s if leadint in (10, 35): 282s pytest.xfail("Known invalid name lead char") 282s 282s > test_dataobjstr_valid_objects( 282s misc_info, 282s sphinx_ifile_data_count, 282s name=name, 282s domain="py", 282s role="data", 282s prio=1, 282s uri="data.html#$", 282s dispname="-", 282s ) 282s 282s tests/test_valid_objects.py:173: 282s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s name = '\x1e foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 282s dispname = '-' 282s 282s @pytest.mark.parametrize( 282s ("name", "domain", "role", "prio", "uri", "dispname"), 282s [ 282s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 282s ("foo", "py", "data", 0, "quux.html#$", "-"), 282s ("foo", "py", "data", -1, "quux.html#$", "-"), 282s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 282s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 282s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 282s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 282s ("Index Page", "std", "doc", 1, "index.html", "-"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 282s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 282s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 282s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 282s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 282s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 282s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 282s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s # Colon in domain (invalid but undetectable) 282s ("foo", "p:y", "data", 1, "data.html#$", "-"), 282s ], 282s ) 282s def test_dataobjstr_valid_objects( 282s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 282s ): 282s """Run sphobjinv/sphinx comparison on specific object data lines.""" 282s dos = soi.DataObjStr( 282s name=name, 282s domain=domain, 282s role=role, 282s priority=str(prio), 282s uri=uri, 282s dispname=dispname, 282s ) 282s 282s assert dos 282s 282s inv = soi.Inventory() 282s inv.project = "Foo" 282s inv.version = "1.0" 282s inv.objects.append( 282s soi.DataObjStr( 282s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 282s ) 282s ) 282s inv.objects.append(dos) 282s 282s df = inv.data_file(contract=True) 282s 282s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 282s 282s ifile_count = sphinx_ifile_data_count(ifile_data) 282s 282s assert inv.count == ifile_count 282s 282s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 282s 282s assert domrole in ifile_data 282s > assert dos.name in ifile_data[domrole] 282s E AssertionError: assert '\x1e foo' in {' foo': _InventoryItem(project_name='Foo', project_version='1.0', uri='data.html# foo', display_name='-'), 'bar': _InventoryItem(project_name='Foo', project_version='1.0', uri='bar', display_name='-')} 282s E + where '\x1e foo' = DataObjStr(name='\x1e foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 282s 282s tests/test_valid_objects.py:123: AssertionError 282s ________________________ test_name_lead_chars[133_\x85] ________________________ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s leadint = 133 282s 282s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 282s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 282s """Screen for valid/invalid first characters.""" 282s name = int_to_latin_1(leadint) + " foo" 282s 282s # Expect only two fail cases, newline and '#' 282s if leadint in (10, 35): 282s pytest.xfail("Known invalid name lead char") 282s 282s > test_dataobjstr_valid_objects( 282s misc_info, 282s sphinx_ifile_data_count, 282s name=name, 282s domain="py", 282s role="data", 282s prio=1, 282s uri="data.html#$", 282s dispname="-", 282s ) 282s 282s tests/test_valid_objects.py:173: 282s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 282s 282s misc_info = .Info object at 0x723cbae3a270> 282s sphinx_ifile_data_count = 282s name = '\x85 foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 282s dispname = '-' 282s 282s @pytest.mark.parametrize( 282s ("name", "domain", "role", "prio", "uri", "dispname"), 282s [ 282s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 282s ("foo", "py", "data", 0, "quux.html#$", "-"), 282s ("foo", "py", "data", -1, "quux.html#$", "-"), 282s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 282s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 282s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 282s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 282s ("Index Page", "std", "doc", 1, "index.html", "-"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 282s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 282s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 282s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 282s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 282s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 282s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 282s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 282s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 282s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 282s # Colon in domain (invalid but undetectable) 282s ("foo", "p:y", "data", 1, "data.html#$", "-"), 282s ], 282s ) 282s def test_dataobjstr_valid_objects( 282s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 282s ): 282s """Run sphobjinv/sphinx comparison on specific object data lines.""" 282s dos = soi.DataObjStr( 282s name=name, 282s domain=domain, 282s role=role, 282s priority=str(prio), 282s uri=uri, 282s dispname=dispname, 282s ) 282s 282s assert dos 282s 282s inv = soi.Inventory() 282s inv.project = "Foo" 282s inv.version = "1.0" 282s inv.objects.append( 282s soi.DataObjStr( 282s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 282s ) 282s ) 282s inv.objects.append(dos) 282s 282s df = inv.data_file(contract=True) 282s 282s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 282s 282s ifile_count = sphinx_ifile_data_count(ifile_data) 282s 282s assert inv.count == ifile_count 282s 282s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 282s 282s assert domrole in ifile_data 282s > assert dos.name in ifile_data[domrole] 282s E AssertionError: assert '\x85 foo' in {' foo': _InventoryItem(project_name='Foo', project_version='1.0', uri='data.html# foo', display_name='-'), 'bar': _InventoryItem(project_name='Foo', project_version='1.0', uri='bar', display_name='-')} 282s E + where '\x85 foo' = DataObjStr(name='\x85 foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 282s 282s tests/test_valid_objects.py:123: AssertionError 282s =============================== warnings summary =============================== 282s tests/test_api_fail.py:41 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_fail.py:41: PytestUnknownMarkWarning: Unknown pytest.mark.api - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.api, pytest.mark.local] 282s 282s tests/test_api_fail.py:41 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_fail.py:41: PytestUnknownMarkWarning: Unknown pytest.mark.local - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.api, pytest.mark.local] 282s 282s tests/test_api_good.py:43 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_good.py:43: PytestUnknownMarkWarning: Unknown pytest.mark.api - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.api, pytest.mark.local] 282s 282s tests/test_api_good.py:43 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_good.py:43: PytestUnknownMarkWarning: Unknown pytest.mark.local - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.api, pytest.mark.local] 282s 282s tests/test_api_good.py:476 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_good.py:476: PytestUnknownMarkWarning: Unknown pytest.mark.testall - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.testall 282s 282s tests/test_api_good.py:483 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_good.py:483: PytestUnknownMarkWarning: Unknown pytest.mark.testall - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.testall 282s 282s tests/test_api_good.py:516 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_good.py:516: PytestUnknownMarkWarning: Unknown pytest.mark.testall - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.testall 282s 282s tests/test_api_good_nonlocal.py:37 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_good_nonlocal.py:37: PytestUnknownMarkWarning: Unknown pytest.mark.api - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.api, pytest.mark.nonloc] 282s 282s tests/test_api_good_nonlocal.py:37 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_good_nonlocal.py:37: PytestUnknownMarkWarning: Unknown pytest.mark.nonloc - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.api, pytest.mark.nonloc] 282s 282s tests/test_api_good_nonlocal.py:59 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_good_nonlocal.py:59: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(30) 282s 282s tests/test_api_good_nonlocal.py:66 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_good_nonlocal.py:66: PytestUnknownMarkWarning: Unknown pytest.mark.testall - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.testall 282s 282s tests/test_api_good_nonlocal.py:67 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_api_good_nonlocal.py:67: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(30) 282s 282s tests/test_cli.py:50 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:50: PytestUnknownMarkWarning: Unknown pytest.mark.cli - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.cli, pytest.mark.local] 282s 282s tests/test_cli.py:50 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:50: PytestUnknownMarkWarning: Unknown pytest.mark.local - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.cli, pytest.mark.local] 282s 282s tests/test_cli.py:56 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:56: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:68 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:68: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:73 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:73: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:82 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:82: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:91 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:91: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:112 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:112: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:145 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:145: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 2) 282s 282s tests/test_cli.py:169 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:169: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:206 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:206: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 50 * 3) 282s 282s tests/test_cli.py:207 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:207: PytestUnknownMarkWarning: Unknown pytest.mark.testall - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.testall 282s 282s tests/test_cli.py:251 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:251: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:348 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:348: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:356 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:356: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:364 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:364: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:372 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:372: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:380 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:380: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:392 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:392: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:400 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:400: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:409 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:409: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:422 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:422: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 2) 282s 282s tests/test_cli.py:433 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:433: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:447 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:447: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:452 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:452: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:467 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:467: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:482 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:482: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli.py:487 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli.py:487: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 282s 282s tests/test_cli_nonlocal.py:45 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli_nonlocal.py:45: PytestUnknownMarkWarning: Unknown pytest.mark.cli - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.cli, pytest.mark.nonloc] 282s 282s tests/test_cli_nonlocal.py:45 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli_nonlocal.py:45: PytestUnknownMarkWarning: Unknown pytest.mark.nonloc - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.cli, pytest.mark.nonloc] 282s 282s tests/test_cli_nonlocal.py:62 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli_nonlocal.py:62: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 282s 282s tests/test_cli_nonlocal.py:82 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli_nonlocal.py:82: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 282s 282s tests/test_cli_nonlocal.py:95 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli_nonlocal.py:95: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 282s 282s tests/test_cli_nonlocal.py:116 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli_nonlocal.py:116: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 282s 282s tests/test_cli_nonlocal.py:133 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli_nonlocal.py:133: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 282s 282s tests/test_cli_nonlocal.py:174 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli_nonlocal.py:174: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 282s 282s tests/test_cli_nonlocal.py:202 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli_nonlocal.py:202: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 282s 282s tests/test_cli_nonlocal.py:215 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli_nonlocal.py:215: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 282s 282s tests/test_cli_nonlocal.py:229 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_cli_nonlocal.py:229: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 282s 282s tests/test_fixture.py:34 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_fixture.py:34: PytestUnknownMarkWarning: Unknown pytest.mark.fixture - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = pytest.mark.fixture 282s 282s tests/test_flake8_ext.py:39 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_flake8_ext.py:39: PytestUnknownMarkWarning: Unknown pytest.mark.flake8_ext - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.flake8_ext] 282s 282s tests/test_intersphinx.py:37 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_intersphinx.py:37: PytestUnknownMarkWarning: Unknown pytest.mark.intersphinx - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.intersphinx, pytest.mark.local] 282s 282s tests/test_intersphinx.py:37 282s /tmp/autopkgtest.XakVUi/autopkgtest_tmp/tests/test_intersphinx.py:37: PytestUnknownMarkWarning: Unknown pytest.mark.local - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 282s pytestmark = [pytest.mark.intersphinx, pytest.mark.local] 282s 282s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 282s =========================== short test summary info ============================ 282s FAILED tests/test_valid_objects.py::test_name_lead_chars[11_\x0b] - Assertion... 282s FAILED tests/test_valid_objects.py::test_name_lead_chars[12_\x0c] - Assertion... 282s FAILED tests/test_valid_objects.py::test_name_lead_chars[13_\r] - AssertionEr... 282s FAILED tests/test_valid_objects.py::test_name_lead_chars[28_\x1c] - Assertion... 282s FAILED tests/test_valid_objects.py::test_name_lead_chars[29_\x1d] - Assertion... 282s FAILED tests/test_valid_objects.py::test_name_lead_chars[30_\x1e] - Assertion... 282s FAILED tests/test_valid_objects.py::test_name_lead_chars[133_\x85] - Assertio... 282s = 7 failed, 461 passed, 283 skipped, 1 deselected, 6 xfailed, 55 warnings in 24.85s = 283s autopkgtest [09:00:09]: test upstream-tests: -----------------------] 283s upstream-tests FAIL non-zero exit status 1 283s autopkgtest [09:00:09]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 283s autopkgtest [09:00:09]: test autodep8-python3: preparing testbed 379s autopkgtest [09:01:45]: testbed dpkg architecture: amd64 379s autopkgtest [09:01:45]: testbed apt version: 3.0.0 380s autopkgtest [09:01:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 380s autopkgtest [09:01:46]: testbed release detected to be: questing 380s autopkgtest [09:01:46]: updating testbed package index (apt update) 381s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 381s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 381s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 381s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 381s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [32.2 kB] 381s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [931 kB] 382s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [91.4 kB] 382s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [132 kB] 382s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [93.1 kB] 383s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [361 kB] 383s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [976 kB] 384s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [19.7 kB] 384s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [11.0 kB] 384s Fetched 2758 kB in 3s (898 kB/s) 385s Reading package lists... 385s autopkgtest [09:01:51]: upgrading testbed (apt dist-upgrade and autopurge) 385s Reading package lists... 386s Building dependency tree... 386s Reading state information... 386s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 386s Starting 2 pkgProblemResolver with broken count: 0 386s Done 387s Entering ResolveByKeep 387s 387s Calculating upgrade... 387s The following packages will be upgraded: 387s libgpg-error-l10n libgpg-error0 libselinux1 netbase 387s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 387s Need to get 189 kB of archives. 387s After this operation, 17.4 kB disk space will be freed. 387s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 libselinux1 amd64 3.8.1-1 [89.8 kB] 387s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 libgpg-error-l10n all 1.51-4 [8880 B] 387s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libgpg-error0 amd64 1.51-4 [76.9 kB] 388s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 netbase all 6.5 [12.9 kB] 388s Fetched 189 kB in 1s (371 kB/s) 388s (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 ... 80527 files and directories currently installed.) 388s Preparing to unpack .../libselinux1_3.8.1-1_amd64.deb ... 388s Unpacking libselinux1:amd64 (3.8.1-1) over (3.7-3ubuntu3) ... 388s Setting up libselinux1:amd64 (3.8.1-1) ... 388s (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 ... 80527 files and directories currently installed.) 388s Preparing to unpack .../libgpg-error-l10n_1.51-4_all.deb ... 388s Unpacking libgpg-error-l10n (1.51-4) over (1.51-3) ... 388s Preparing to unpack .../libgpg-error0_1.51-4_amd64.deb ... 388s Unpacking libgpg-error0:amd64 (1.51-4) over (1.51-3) ... 388s Setting up libgpg-error0:amd64 (1.51-4) ... 388s (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 ... 80527 files and directories currently installed.) 388s Preparing to unpack .../archives/netbase_6.5_all.deb ... 388s Unpacking netbase (6.5) over (6.4) ... 388s Setting up netbase (6.5) ... 388s Installing new version of config file /etc/ethertypes ... 388s Installing new version of config file /etc/services ... 388s Setting up libgpg-error-l10n (1.51-4) ... 388s Processing triggers for libc-bin (2.41-6ubuntu1) ... 389s Reading package lists... 389s Building dependency tree... 389s Reading state information... 389s Starting pkgProblemResolver with broken count: 0 389s Starting 2 pkgProblemResolver with broken count: 0 389s Done 390s Solving dependencies... 390s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 393s Reading package lists... 393s Building dependency tree... 393s Reading state information... 393s Starting pkgProblemResolver with broken count: 0 393s Starting 2 pkgProblemResolver with broken count: 0 393s Done 394s The following NEW packages will be installed: 394s python3-all python3-sphobjinv 394s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 394s Need to get 39.2 kB of archives. 394s After this operation, 199 kB of additional disk space will be used. 394s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 python3-all amd64 3.13.3-1 [882 B] 394s Get:2 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-sphobjinv all 2.3.1.2-2 [38.3 kB] 394s Fetched 39.2 kB in 0s (115 kB/s) 394s Selecting previously unselected package python3-all. 394s (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 ... 80527 files and directories currently installed.) 394s Preparing to unpack .../python3-all_3.13.3-1_amd64.deb ... 394s Unpacking python3-all (3.13.3-1) ... 394s Selecting previously unselected package python3-sphobjinv. 394s Preparing to unpack .../python3-sphobjinv_2.3.1.2-2_all.deb ... 394s Unpacking python3-sphobjinv (2.3.1.2-2) ... 394s Setting up python3-all (3.13.3-1) ... 394s Setting up python3-sphobjinv (2.3.1.2-2) ... 397s autopkgtest [09:02:03]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import sphobjinv; print(sphobjinv)" ; done 397s autopkgtest [09:02:03]: test autodep8-python3: [----------------------- 397s Testing with python3.13: 397s 398s autopkgtest [09:02:04]: test autodep8-python3: -----------------------] 398s autopkgtest [09:02:04]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 398s autodep8-python3 PASS (superficial) 399s autopkgtest [09:02:05]: @@@@@@@@@@@@@@@@@@@@ summary 399s upstream-tests FAIL non-zero exit status 1 399s autodep8-python3 PASS (superficial) 416s nova [W] Skipping flock for amd64 416s Creating nova instance adt-questing-amd64-python-sphobjinv-20250505-085525-juju-7f2275-prod-proposed-migration-environment-21-1759e424-c8a1-4ef7-b107-6e9453f05390 from image adt/ubuntu-questing-amd64-server-20250505.img (UUID 1da2e1b3-5892-44f7-bdef-fb8deb9e2fcb)... 416s nova [W] Timed out waiting for 35979259-2ec1-4c61-b956-c1bd53fd85d2 to get deleted. 416s nova [W] Skipping flock for amd64 416s Creating nova instance adt-questing-amd64-python-sphobjinv-20250505-085525-juju-7f2275-prod-proposed-migration-environment-21-1759e424-c8a1-4ef7-b107-6e9453f05390 from image adt/ubuntu-questing-amd64-server-20250505.img (UUID 1da2e1b3-5892-44f7-bdef-fb8deb9e2fcb)... 416s nova [W] Timed out waiting for 9d1752c9-0265-4054-bf49-e312aec42ab2 to get deleted.