0s autopkgtest [11:45:09]: starting date and time: 2025-05-06 11:45:09+0000 0s autopkgtest [11:45:09]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [11:45:09]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.jfv9qcmr/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 autopkgtest-cpu2-ram4-disk20-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-s390x-6.secgroup --name adt-questing-s390x-python-sphobjinv-20250506-114509-juju-7f2275-prod-proposed-migration-environment-15-147b3ca4-6ee9-4ae3-8ed8-6842e2df4bd6 --image adt/ubuntu-questing-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 180s autopkgtest [11:48:09]: testbed dpkg architecture: s390x 181s autopkgtest [11:48:10]: testbed apt version: 3.0.0 181s autopkgtest [11:48:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 181s autopkgtest [11:48:10]: testbed release detected to be: None 184s autopkgtest [11:48:13]: updating testbed package index (apt update) 185s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 185s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 185s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 185s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 186s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [595 kB] 186s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [27.3 kB] 186s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [72.4 kB] 186s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x Packages [136 kB] 186s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe s390x Packages [612 kB] 186s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse s390x Packages [15.0 kB] 188s Fetched 1567 kB in 2s (676 kB/s) 194s Reading package lists... 196s autopkgtest [11:48:25]: upgrading testbed (apt dist-upgrade and autopurge) 196s Reading package lists... 198s Building dependency tree... 198s Reading state information... 200s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 200s Starting 2 pkgProblemResolver with broken count: 0 200s Done 201s Entering ResolveByKeep 203s 203s Calculating upgrade... 204s The following packages will be upgraded: 204s libperl5.40 perl perl-base perl-modules-5.40 python3-dbus 205s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 205s Need to get 10.5 MB of archives. 205s After this operation, 3072 B of additional disk space will be used. 205s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x libperl5.40 s390x 5.40.1-3 [4972 kB] 205s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x perl s390x 5.40.1-3 [262 kB] 205s Get:3 http://ftpmaster.internal/ubuntu questing/main s390x perl-base s390x 5.40.1-3 [1954 kB] 206s Get:4 http://ftpmaster.internal/ubuntu questing/main s390x perl-modules-5.40 all 5.40.1-3 [3217 kB] 206s Get:5 http://ftpmaster.internal/ubuntu questing/main s390x python3-dbus s390x 1.4.0-1 [102 kB] 207s Fetched 10.5 MB in 2s (6767 kB/s) 208s (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 ... 59837 files and directories currently installed.) 208s Preparing to unpack .../libperl5.40_5.40.1-3_s390x.deb ... 208s Unpacking libperl5.40:s390x (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 210s Preparing to unpack .../perl_5.40.1-3_s390x.deb ... 210s Unpacking perl (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 210s Preparing to unpack .../perl-base_5.40.1-3_s390x.deb ... 210s Unpacking perl-base (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 212s Setting up perl-base (5.40.1-3) ... 213s (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 ... 59837 files and directories currently installed.) 213s Preparing to unpack .../perl-modules-5.40_5.40.1-3_all.deb ... 213s Unpacking perl-modules-5.40 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 222s Preparing to unpack .../python3-dbus_1.4.0-1_s390x.deb ... 222s Unpacking python3-dbus (1.4.0-1) over (1.3.2-5build5) ... 222s Setting up python3-dbus (1.4.0-1) ... 222s Setting up perl-modules-5.40 (5.40.1-3) ... 222s Setting up libperl5.40:s390x (5.40.1-3) ... 222s Setting up perl (5.40.1-3) ... 223s Processing triggers for man-db (2.13.1-1) ... 227s Processing triggers for libc-bin (2.41-6ubuntu1) ... 230s Reading package lists... 235s Building dependency tree... 235s Reading state information... 235s Starting pkgProblemResolver with broken count: 0 235s Starting 2 pkgProblemResolver with broken count: 0 235s Done 235s Solving dependencies... 235s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 240s autopkgtest [11:49:09]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP Sun Apr 6 13:39:00 UTC 2025 240s autopkgtest [11:49:09]: @@@@@@@@@@@@@@@@@@@@ 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] 249s gpgv: Signature made Sun Mar 16 17:34:12 2025 UTC 249s gpgv: using RSA key AC0A4FF12611B6FCCF01C111393587D97D86500B 249s gpgv: Can't check signature: No public key 249s dpkg-source: warning: cannot verify inline signature for ./python-sphobjinv_2.3.1.2-2.dsc: no acceptable signature found 249s autopkgtest [11:49:18]: testing package python-sphobjinv version 2.3.1.2-2 250s autopkgtest [11:49:19]: build not needed 250s autopkgtest [11:49:19]: test upstream-tests: preparing testbed 251s Reading package lists... 253s Building dependency tree... 253s Reading state information... 254s Starting pkgProblemResolver with broken count: 0 254s Starting 2 pkgProblemResolver with broken count: 0 254s Done 256s The following NEW packages will be installed: 256s docutils-common fonts-font-awesome fonts-lato libjs-jquery libjs-sphinxdoc 256s libjs-underscore libjson-perl python-sphobjinv-doc python3-alabaster 256s python3-all python3-defusedxml python3-dictdiffer python3-docutils 256s python3-imagesize python3-iniconfig python3-pluggy python3-pytest 256s python3-pytest-check python3-roman python3-roman-numerals 256s python3-snowballstemmer python3-sphinx python3-sphinx-removed-in 256s python3-sphobjinv sgml-base sphinx-common sphinx-rtd-theme-common xml-core 257s 0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded. 257s Need to get 7319 kB of archives. 257s After this operation, 29.4 MB of additional disk space will be used. 257s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x fonts-lato all 2.015-1 [2781 kB] 257s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x sgml-base all 1.31+nmu1 [11.0 kB] 257s Get:3 http://ftpmaster.internal/ubuntu questing/main s390x xml-core all 0.19 [20.3 kB] 257s Get:4 http://ftpmaster.internal/ubuntu questing/main s390x docutils-common all 0.21.2+dfsg-2 [131 kB] 257s Get:5 http://ftpmaster.internal/ubuntu questing/main s390x fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 257s Get:6 http://ftpmaster.internal/ubuntu questing/main s390x libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 257s Get:7 http://ftpmaster.internal/ubuntu questing/main s390x libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 257s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libjs-sphinxdoc all 8.2.3-1 [27.8 kB] 257s Get:9 http://ftpmaster.internal/ubuntu questing/main s390x libjson-perl all 4.10000-1 [81.9 kB] 257s Get:10 http://ftpmaster.internal/ubuntu questing/main s390x sphinx-rtd-theme-common all 3.0.2+dfsg-2 [1014 kB] 257s Get:11 http://ftpmaster.internal/ubuntu questing/universe s390x python-sphobjinv-doc all 2.3.1.2-2 [243 kB] 257s Get:12 http://ftpmaster.internal/ubuntu questing/main s390x python3-all s390x 3.13.3-1 [882 B] 257s Get:13 http://ftpmaster.internal/ubuntu questing/main s390x python3-defusedxml all 0.7.1-3 [42.2 kB] 257s Get:14 http://ftpmaster.internal/ubuntu questing/universe s390x python3-dictdiffer all 0.9.0-3 [13.1 kB] 257s Get:15 http://ftpmaster.internal/ubuntu questing/main s390x python3-roman all 5.0-1 [10.3 kB] 257s Get:16 http://ftpmaster.internal/ubuntu questing/main s390x python3-docutils all 0.21.2+dfsg-2 [409 kB] 257s Get:17 http://ftpmaster.internal/ubuntu questing/main s390x python3-imagesize all 1.4.1-1 [6844 B] 257s Get:18 http://ftpmaster.internal/ubuntu questing/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 257s Get:19 http://ftpmaster.internal/ubuntu questing/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 257s Get:20 http://ftpmaster.internal/ubuntu questing/universe s390x python3-pytest all 8.3.5-1 [252 kB] 257s Get:21 http://ftpmaster.internal/ubuntu questing/universe s390x python3-pytest-check all 2.5.3-1 [19.3 kB] 257s Get:22 http://ftpmaster.internal/ubuntu questing/universe s390x python3-roman-numerals all 3.1.0-1ubuntu1 [8432 B] 257s Get:23 http://ftpmaster.internal/ubuntu questing/main s390x python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 257s Get:24 http://ftpmaster.internal/ubuntu questing-proposed/main s390x sphinx-common all 8.2.3-1 [656 kB] 257s Get:25 http://ftpmaster.internal/ubuntu questing/main s390x python3-alabaster all 0.7.16-0.1 [18.5 kB] 257s Get:26 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3-sphinx all 8.2.3-1 [482 kB] 257s Get:27 http://ftpmaster.internal/ubuntu questing/universe s390x python3-sphinx-removed-in all 0.2.3-2 [4204 B] 257s Get:28 http://ftpmaster.internal/ubuntu questing/universe s390x python3-sphobjinv all 2.3.1.2-2 [38.3 kB] 258s Fetched 7319 kB in 0s (15.4 MB/s) 258s Selecting previously unselected package fonts-lato. 259s (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 ... 59837 files and directories currently installed.) 259s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 259s Unpacking fonts-lato (2.015-1) ... 260s Selecting previously unselected package sgml-base. 260s Preparing to unpack .../01-sgml-base_1.31+nmu1_all.deb ... 260s Unpacking sgml-base (1.31+nmu1) ... 260s Selecting previously unselected package xml-core. 260s Preparing to unpack .../02-xml-core_0.19_all.deb ... 260s Unpacking xml-core (0.19) ... 260s Selecting previously unselected package docutils-common. 260s Preparing to unpack .../03-docutils-common_0.21.2+dfsg-2_all.deb ... 260s Unpacking docutils-common (0.21.2+dfsg-2) ... 261s Selecting previously unselected package fonts-font-awesome. 261s Preparing to unpack .../04-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 261s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 261s Selecting previously unselected package libjs-jquery. 261s Preparing to unpack .../05-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 262s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 262s Selecting previously unselected package libjs-underscore. 262s Preparing to unpack .../06-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 262s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 262s Selecting previously unselected package libjs-sphinxdoc. 262s Preparing to unpack .../07-libjs-sphinxdoc_8.2.3-1_all.deb ... 262s Unpacking libjs-sphinxdoc (8.2.3-1) ... 262s Selecting previously unselected package libjson-perl. 262s Preparing to unpack .../08-libjson-perl_4.10000-1_all.deb ... 262s Unpacking libjson-perl (4.10000-1) ... 263s Selecting previously unselected package sphinx-rtd-theme-common. 263s Preparing to unpack .../09-sphinx-rtd-theme-common_3.0.2+dfsg-2_all.deb ... 263s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 263s Selecting previously unselected package python-sphobjinv-doc. 263s Preparing to unpack .../10-python-sphobjinv-doc_2.3.1.2-2_all.deb ... 263s Unpacking python-sphobjinv-doc (2.3.1.2-2) ... 263s Selecting previously unselected package python3-all. 263s Preparing to unpack .../11-python3-all_3.13.3-1_s390x.deb ... 263s Unpacking python3-all (3.13.3-1) ... 263s Selecting previously unselected package python3-defusedxml. 263s Preparing to unpack .../12-python3-defusedxml_0.7.1-3_all.deb ... 263s Unpacking python3-defusedxml (0.7.1-3) ... 263s Selecting previously unselected package python3-dictdiffer. 263s Preparing to unpack .../13-python3-dictdiffer_0.9.0-3_all.deb ... 263s Unpacking python3-dictdiffer (0.9.0-3) ... 263s Selecting previously unselected package python3-roman. 263s Preparing to unpack .../14-python3-roman_5.0-1_all.deb ... 263s Unpacking python3-roman (5.0-1) ... 263s Selecting previously unselected package python3-docutils. 263s Preparing to unpack .../15-python3-docutils_0.21.2+dfsg-2_all.deb ... 263s Unpacking python3-docutils (0.21.2+dfsg-2) ... 264s Selecting previously unselected package python3-imagesize. 264s Preparing to unpack .../16-python3-imagesize_1.4.1-1_all.deb ... 264s Unpacking python3-imagesize (1.4.1-1) ... 264s Selecting previously unselected package python3-iniconfig. 264s Preparing to unpack .../17-python3-iniconfig_1.1.1-2_all.deb ... 264s Unpacking python3-iniconfig (1.1.1-2) ... 264s Selecting previously unselected package python3-pluggy. 264s Preparing to unpack .../18-python3-pluggy_1.5.0-1_all.deb ... 264s Unpacking python3-pluggy (1.5.0-1) ... 264s Selecting previously unselected package python3-pytest. 264s Preparing to unpack .../19-python3-pytest_8.3.5-1_all.deb ... 264s Unpacking python3-pytest (8.3.5-1) ... 265s Selecting previously unselected package python3-pytest-check. 265s Preparing to unpack .../20-python3-pytest-check_2.5.3-1_all.deb ... 265s Unpacking python3-pytest-check (2.5.3-1) ... 265s Selecting previously unselected package python3-roman-numerals. 265s Preparing to unpack .../21-python3-roman-numerals_3.1.0-1ubuntu1_all.deb ... 265s Unpacking python3-roman-numerals (3.1.0-1ubuntu1) ... 265s Selecting previously unselected package python3-snowballstemmer. 265s Preparing to unpack .../22-python3-snowballstemmer_2.2.0-4build1_all.deb ... 265s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 265s Selecting previously unselected package sphinx-common. 265s Preparing to unpack .../23-sphinx-common_8.2.3-1_all.deb ... 265s Unpacking sphinx-common (8.2.3-1) ... 266s Selecting previously unselected package python3-alabaster. 266s Preparing to unpack .../24-python3-alabaster_0.7.16-0.1_all.deb ... 266s Unpacking python3-alabaster (0.7.16-0.1) ... 266s Selecting previously unselected package python3-sphinx. 266s Preparing to unpack .../25-python3-sphinx_8.2.3-1_all.deb ... 266s Unpacking python3-sphinx (8.2.3-1) ... 267s Selecting previously unselected package python3-sphinx-removed-in. 267s Preparing to unpack .../26-python3-sphinx-removed-in_0.2.3-2_all.deb ... 267s Unpacking python3-sphinx-removed-in (0.2.3-2) ... 267s Selecting previously unselected package python3-sphobjinv. 267s Preparing to unpack .../27-python3-sphobjinv_2.3.1.2-2_all.deb ... 267s Unpacking python3-sphobjinv (2.3.1.2-2) ... 267s Setting up python3-iniconfig (1.1.1-2) ... 268s Setting up fonts-lato (2.015-1) ... 268s Setting up python3-defusedxml (0.7.1-3) ... 269s Setting up python3-alabaster (0.7.16-0.1) ... 270s Setting up python3-all (3.13.3-1) ... 270s Setting up python3-dictdiffer (0.9.0-3) ... 270s Setting up python3-roman (5.0-1) ... 270s Setting up python3-snowballstemmer (2.2.0-4build1) ... 273s Setting up python3-pluggy (1.5.0-1) ... 274s Setting up python3-sphobjinv (2.3.1.2-2) ... 274s Setting up libjson-perl (4.10000-1) ... 274s Setting up python3-roman-numerals (3.1.0-1ubuntu1) ... 275s Setting up sgml-base (1.31+nmu1) ... 275s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 275s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 275s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 275s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 275s Setting up python3-imagesize (1.4.1-1) ... 276s Setting up python3-pytest (8.3.5-1) ... 278s Setting up python3-pytest-check (2.5.3-1) ... 279s Setting up libjs-sphinxdoc (8.2.3-1) ... 279s Setting up xml-core (0.19) ... 280s Setting up python-sphobjinv-doc (2.3.1.2-2) ... 280s Setting up sphinx-common (8.2.3-1) ... 280s Processing triggers for man-db (2.13.1-1) ... 284s Processing triggers for sgml-base (1.31+nmu1) ... 284s Setting up docutils-common (0.21.2+dfsg-2) ... 285s Processing triggers for sgml-base (1.31+nmu1) ... 285s Setting up python3-docutils (0.21.2+dfsg-2) ... 287s Setting up python3-sphinx (8.2.3-1) ... 293s Setting up python3-sphinx-removed-in (0.2.3-2) ... 297s autopkgtest [11:50:06]: test upstream-tests: [----------------------- 299s 299s *************************** 299s *** Testing with python3.13 299s *************************** 299s 299s Content of current working folder: 299s 299s total 24 299s drwxr-xr-x 3 ubuntu ubuntu 4096 May 6 11:51 . 299s drwxrwxrwt 5 root root 4096 May 6 11:51 .. 299s -rw-rw-r-- 1 ubuntu ubuntu 9841 Dec 22 22:18 conftest.py 299s drwxrwxr-x 3 ubuntu ubuntu 4096 May 6 11:51 tests 299s Running tests... 299s 305s ============================= test session starts ============================== 305s platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 305s rootdir: /tmp/autopkgtest.A8Qfuo/autopkgtest_tmp 305s plugins: check-2.5.3, typeguard-4.4.2 305s collected 758 items / 1 deselected / 757 selected 305s 306s tests/test_api_fail.py ................................xxxx [ 4%] 308s tests/test_api_good.py ................................................. [ 11%] 478s .............................................................sssssssssss [ 20%] 479s ssssssssssssssssssssssssssssssssssssssssssssssss.sssssssssssssssssssssss [ 30%] 479s sssssssssssssssssssssssssssssssssssss.s. [ 35%] 479s tests/test_api_good_nonlocal.py ssssssssssssssssssssssssssssssssssssssss [ 40%] 479s sssssssssssssssssssssss [ 43%] 481s tests/test_cli.py ...ssss...s...s.........ssssssssssssssssssssssssssssss [ 50%] 482s sssssssssssssssssssssssssssss.sss.sssssssssss..s....sssssss [ 58%] 482s tests/test_cli_nonlocal.py ssssssssssss [ 60%] 482s tests/test_fixture.py ..... [ 61%] 482s tests/test_flake8_ext.py s [ 61%] 482s tests/test_intersphinx.py .... [ 61%] 483s tests/test_valid_objects.py ............................................ [ 67%] 483s .xFFF..............FFF....x............................................. [ 77%] 484s ....................................................F................... [ 86%] 484s ........................................................................ [ 96%] 484s .............................. [100%] 484s 484s =================================== FAILURES =================================== 484s ________________________ test_name_lead_chars[11_\x0b] _________________________ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s leadint = 11 484s 484s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 484s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 484s """Screen for valid/invalid first characters.""" 484s name = int_to_latin_1(leadint) + " foo" 484s 484s # Expect only two fail cases, newline and '#' 484s if leadint in (10, 35): 484s pytest.xfail("Known invalid name lead char") 484s 484s > test_dataobjstr_valid_objects( 484s misc_info, 484s sphinx_ifile_data_count, 484s name=name, 484s domain="py", 484s role="data", 484s prio=1, 484s uri="data.html#$", 484s dispname="-", 484s ) 484s 484s tests/test_valid_objects.py:173: 484s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s name = '\x0b foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 484s dispname = '-' 484s 484s @pytest.mark.parametrize( 484s ("name", "domain", "role", "prio", "uri", "dispname"), 484s [ 484s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 484s ("foo", "py", "data", 0, "quux.html#$", "-"), 484s ("foo", "py", "data", -1, "quux.html#$", "-"), 484s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 484s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 484s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 484s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 484s ("Index Page", "std", "doc", 1, "index.html", "-"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 484s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 484s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 484s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 484s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 484s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 484s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 484s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s # Colon in domain (invalid but undetectable) 484s ("foo", "p:y", "data", 1, "data.html#$", "-"), 484s ], 484s ) 484s def test_dataobjstr_valid_objects( 484s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 484s ): 484s """Run sphobjinv/sphinx comparison on specific object data lines.""" 484s dos = soi.DataObjStr( 484s name=name, 484s domain=domain, 484s role=role, 484s priority=str(prio), 484s uri=uri, 484s dispname=dispname, 484s ) 484s 484s assert dos 484s 484s inv = soi.Inventory() 484s inv.project = "Foo" 484s inv.version = "1.0" 484s inv.objects.append( 484s soi.DataObjStr( 484s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 484s ) 484s ) 484s inv.objects.append(dos) 484s 484s df = inv.data_file(contract=True) 484s 484s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 484s 484s ifile_count = sphinx_ifile_data_count(ifile_data) 484s 484s assert inv.count == ifile_count 484s 484s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 484s 484s assert domrole in ifile_data 484s > assert dos.name in ifile_data[domrole] 484s 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='-')} 484s E + where '\x0b foo' = DataObjStr(name='\x0b foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 484s 484s tests/test_valid_objects.py:123: AssertionError 484s ________________________ test_name_lead_chars[12_\x0c] _________________________ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s leadint = 12 484s 484s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 484s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 484s """Screen for valid/invalid first characters.""" 484s name = int_to_latin_1(leadint) + " foo" 484s 484s # Expect only two fail cases, newline and '#' 484s if leadint in (10, 35): 484s pytest.xfail("Known invalid name lead char") 484s 484s > test_dataobjstr_valid_objects( 484s misc_info, 484s sphinx_ifile_data_count, 484s name=name, 484s domain="py", 484s role="data", 484s prio=1, 484s uri="data.html#$", 484s dispname="-", 484s ) 484s 484s tests/test_valid_objects.py:173: 484s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s name = '\x0c foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 484s dispname = '-' 484s 484s @pytest.mark.parametrize( 484s ("name", "domain", "role", "prio", "uri", "dispname"), 484s [ 484s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 484s ("foo", "py", "data", 0, "quux.html#$", "-"), 484s ("foo", "py", "data", -1, "quux.html#$", "-"), 484s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 484s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 484s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 484s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 484s ("Index Page", "std", "doc", 1, "index.html", "-"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 484s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 484s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 484s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 484s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 484s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 484s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 484s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s # Colon in domain (invalid but undetectable) 484s ("foo", "p:y", "data", 1, "data.html#$", "-"), 484s ], 484s ) 484s def test_dataobjstr_valid_objects( 484s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 484s ): 484s """Run sphobjinv/sphinx comparison on specific object data lines.""" 484s dos = soi.DataObjStr( 484s name=name, 484s domain=domain, 484s role=role, 484s priority=str(prio), 484s uri=uri, 484s dispname=dispname, 484s ) 484s 484s assert dos 484s 484s inv = soi.Inventory() 484s inv.project = "Foo" 484s inv.version = "1.0" 484s inv.objects.append( 484s soi.DataObjStr( 484s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 484s ) 484s ) 484s inv.objects.append(dos) 484s 484s df = inv.data_file(contract=True) 484s 484s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 484s 484s ifile_count = sphinx_ifile_data_count(ifile_data) 484s 484s assert inv.count == ifile_count 484s 484s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 484s 484s assert domrole in ifile_data 484s > assert dos.name in ifile_data[domrole] 484s 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='-')} 484s E + where '\x0c foo' = DataObjStr(name='\x0c foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 484s 484s tests/test_valid_objects.py:123: AssertionError 484s _________________________ test_name_lead_chars[13_\r] __________________________ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s leadint = 13 484s 484s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 484s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 484s """Screen for valid/invalid first characters.""" 484s name = int_to_latin_1(leadint) + " foo" 484s 484s # Expect only two fail cases, newline and '#' 484s if leadint in (10, 35): 484s pytest.xfail("Known invalid name lead char") 484s 484s > test_dataobjstr_valid_objects( 484s misc_info, 484s sphinx_ifile_data_count, 484s name=name, 484s domain="py", 484s role="data", 484s prio=1, 484s uri="data.html#$", 484s dispname="-", 484s ) 484s 484s tests/test_valid_objects.py:173: 484s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s name = '\r foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 484s dispname = '-' 484s 484s @pytest.mark.parametrize( 484s ("name", "domain", "role", "prio", "uri", "dispname"), 484s [ 484s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 484s ("foo", "py", "data", 0, "quux.html#$", "-"), 484s ("foo", "py", "data", -1, "quux.html#$", "-"), 484s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 484s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 484s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 484s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 484s ("Index Page", "std", "doc", 1, "index.html", "-"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 484s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 484s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 484s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 484s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 484s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 484s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 484s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s # Colon in domain (invalid but undetectable) 484s ("foo", "p:y", "data", 1, "data.html#$", "-"), 484s ], 484s ) 484s def test_dataobjstr_valid_objects( 484s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 484s ): 484s """Run sphobjinv/sphinx comparison on specific object data lines.""" 484s dos = soi.DataObjStr( 484s name=name, 484s domain=domain, 484s role=role, 484s priority=str(prio), 484s uri=uri, 484s dispname=dispname, 484s ) 484s 484s assert dos 484s 484s inv = soi.Inventory() 484s inv.project = "Foo" 484s inv.version = "1.0" 484s inv.objects.append( 484s soi.DataObjStr( 484s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 484s ) 484s ) 484s inv.objects.append(dos) 484s 484s df = inv.data_file(contract=True) 484s 484s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 484s 484s ifile_count = sphinx_ifile_data_count(ifile_data) 484s 484s assert inv.count == ifile_count 484s 484s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 484s 484s assert domrole in ifile_data 484s > assert dos.name in ifile_data[domrole] 484s 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='-')} 484s E + where '\r foo' = DataObjStr(name='\r foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 484s 484s tests/test_valid_objects.py:123: AssertionError 484s ________________________ test_name_lead_chars[28_\x1c] _________________________ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s leadint = 28 484s 484s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 484s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 484s """Screen for valid/invalid first characters.""" 484s name = int_to_latin_1(leadint) + " foo" 484s 484s # Expect only two fail cases, newline and '#' 484s if leadint in (10, 35): 484s pytest.xfail("Known invalid name lead char") 484s 484s > test_dataobjstr_valid_objects( 484s misc_info, 484s sphinx_ifile_data_count, 484s name=name, 484s domain="py", 484s role="data", 484s prio=1, 484s uri="data.html#$", 484s dispname="-", 484s ) 484s 484s tests/test_valid_objects.py:173: 484s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s name = '\x1c foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 484s dispname = '-' 484s 484s @pytest.mark.parametrize( 484s ("name", "domain", "role", "prio", "uri", "dispname"), 484s [ 484s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 484s ("foo", "py", "data", 0, "quux.html#$", "-"), 484s ("foo", "py", "data", -1, "quux.html#$", "-"), 484s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 484s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 484s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 484s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 484s ("Index Page", "std", "doc", 1, "index.html", "-"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 484s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 484s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 484s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 484s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 484s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 484s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 484s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s # Colon in domain (invalid but undetectable) 484s ("foo", "p:y", "data", 1, "data.html#$", "-"), 484s ], 484s ) 484s def test_dataobjstr_valid_objects( 484s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 484s ): 484s """Run sphobjinv/sphinx comparison on specific object data lines.""" 484s dos = soi.DataObjStr( 484s name=name, 484s domain=domain, 484s role=role, 484s priority=str(prio), 484s uri=uri, 484s dispname=dispname, 484s ) 484s 484s assert dos 484s 484s inv = soi.Inventory() 484s inv.project = "Foo" 484s inv.version = "1.0" 484s inv.objects.append( 484s soi.DataObjStr( 484s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 484s ) 484s ) 484s inv.objects.append(dos) 484s 484s df = inv.data_file(contract=True) 484s 484s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 484s 484s ifile_count = sphinx_ifile_data_count(ifile_data) 484s 484s assert inv.count == ifile_count 484s 484s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 484s 484s assert domrole in ifile_data 484s > assert dos.name in ifile_data[domrole] 484s 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='-')} 484s E + where '\x1c foo' = DataObjStr(name='\x1c foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 484s 484s tests/test_valid_objects.py:123: AssertionError 484s ________________________ test_name_lead_chars[29_\x1d] _________________________ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s leadint = 29 484s 484s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 484s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 484s """Screen for valid/invalid first characters.""" 484s name = int_to_latin_1(leadint) + " foo" 484s 484s # Expect only two fail cases, newline and '#' 484s if leadint in (10, 35): 484s pytest.xfail("Known invalid name lead char") 484s 484s > test_dataobjstr_valid_objects( 484s misc_info, 484s sphinx_ifile_data_count, 484s name=name, 484s domain="py", 484s role="data", 484s prio=1, 484s uri="data.html#$", 484s dispname="-", 484s ) 484s 484s tests/test_valid_objects.py:173: 484s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s name = '\x1d foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 484s dispname = '-' 484s 484s @pytest.mark.parametrize( 484s ("name", "domain", "role", "prio", "uri", "dispname"), 484s [ 484s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 484s ("foo", "py", "data", 0, "quux.html#$", "-"), 484s ("foo", "py", "data", -1, "quux.html#$", "-"), 484s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 484s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 484s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 484s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 484s ("Index Page", "std", "doc", 1, "index.html", "-"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 484s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 484s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 484s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 484s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 484s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 484s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 484s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s # Colon in domain (invalid but undetectable) 484s ("foo", "p:y", "data", 1, "data.html#$", "-"), 484s ], 484s ) 484s def test_dataobjstr_valid_objects( 484s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 484s ): 484s """Run sphobjinv/sphinx comparison on specific object data lines.""" 484s dos = soi.DataObjStr( 484s name=name, 484s domain=domain, 484s role=role, 484s priority=str(prio), 484s uri=uri, 484s dispname=dispname, 484s ) 484s 484s assert dos 484s 484s inv = soi.Inventory() 484s inv.project = "Foo" 484s inv.version = "1.0" 484s inv.objects.append( 484s soi.DataObjStr( 484s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 484s ) 484s ) 484s inv.objects.append(dos) 484s 484s df = inv.data_file(contract=True) 484s 484s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 484s 484s ifile_count = sphinx_ifile_data_count(ifile_data) 484s 484s assert inv.count == ifile_count 484s 484s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 484s 484s assert domrole in ifile_data 484s > assert dos.name in ifile_data[domrole] 484s 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='-')} 484s E + where '\x1d foo' = DataObjStr(name='\x1d foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 484s 484s tests/test_valid_objects.py:123: AssertionError 484s ________________________ test_name_lead_chars[30_\x1e] _________________________ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s leadint = 30 484s 484s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 484s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 484s """Screen for valid/invalid first characters.""" 484s name = int_to_latin_1(leadint) + " foo" 484s 484s # Expect only two fail cases, newline and '#' 484s if leadint in (10, 35): 484s pytest.xfail("Known invalid name lead char") 484s 484s > test_dataobjstr_valid_objects( 484s misc_info, 484s sphinx_ifile_data_count, 484s name=name, 484s domain="py", 484s role="data", 484s prio=1, 484s uri="data.html#$", 484s dispname="-", 484s ) 484s 484s tests/test_valid_objects.py:173: 484s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s name = '\x1e foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 484s dispname = '-' 484s 484s @pytest.mark.parametrize( 484s ("name", "domain", "role", "prio", "uri", "dispname"), 484s [ 484s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 484s ("foo", "py", "data", 0, "quux.html#$", "-"), 484s ("foo", "py", "data", -1, "quux.html#$", "-"), 484s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 484s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 484s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 484s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 484s ("Index Page", "std", "doc", 1, "index.html", "-"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 484s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 484s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 484s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 484s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 484s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 484s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 484s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s # Colon in domain (invalid but undetectable) 484s ("foo", "p:y", "data", 1, "data.html#$", "-"), 484s ], 484s ) 484s def test_dataobjstr_valid_objects( 484s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 484s ): 484s """Run sphobjinv/sphinx comparison on specific object data lines.""" 484s dos = soi.DataObjStr( 484s name=name, 484s domain=domain, 484s role=role, 484s priority=str(prio), 484s uri=uri, 484s dispname=dispname, 484s ) 484s 484s assert dos 484s 484s inv = soi.Inventory() 484s inv.project = "Foo" 484s inv.version = "1.0" 484s inv.objects.append( 484s soi.DataObjStr( 484s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 484s ) 484s ) 484s inv.objects.append(dos) 484s 484s df = inv.data_file(contract=True) 484s 484s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 484s 484s ifile_count = sphinx_ifile_data_count(ifile_data) 484s 484s assert inv.count == ifile_count 484s 484s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 484s 484s assert domrole in ifile_data 484s > assert dos.name in ifile_data[domrole] 484s 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='-')} 484s E + where '\x1e foo' = DataObjStr(name='\x1e foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 484s 484s tests/test_valid_objects.py:123: AssertionError 484s ________________________ test_name_lead_chars[133_\x85] ________________________ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s leadint = 133 484s 484s @pytest.mark.parametrize("leadint", range(255), ids=latin_1_id) 484s def test_name_lead_chars(misc_info, sphinx_ifile_data_count, leadint): 484s """Screen for valid/invalid first characters.""" 484s name = int_to_latin_1(leadint) + " foo" 484s 484s # Expect only two fail cases, newline and '#' 484s if leadint in (10, 35): 484s pytest.xfail("Known invalid name lead char") 484s 484s > test_dataobjstr_valid_objects( 484s misc_info, 484s sphinx_ifile_data_count, 484s name=name, 484s domain="py", 484s role="data", 484s prio=1, 484s uri="data.html#$", 484s dispname="-", 484s ) 484s 484s tests/test_valid_objects.py:173: 484s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 484s 484s misc_info = .Info object at 0x3ffa76f2270> 484s sphinx_ifile_data_count = 484s name = '\x85 foo', domain = 'py', role = 'data', prio = 1, uri = 'data.html#$' 484s dispname = '-' 484s 484s @pytest.mark.parametrize( 484s ("name", "domain", "role", "prio", "uri", "dispname"), 484s [ 484s ("foo", "py", "data", 1, "quux.html#$", "-"), # Priorities 484s ("foo", "py", "data", 0, "quux.html#$", "-"), 484s ("foo", "py", "data", -1, "quux.html#$", "-"), 484s ("foo", "py", "data", -1235778, "quux.html#$", "-"), 484s ("foo", "py", "data", 2214888, "quux.html#$", "-"), 484s ("foo bar", "std", "term", 1, "quux.html#$", "-"), # Space in name 484s ("foo\tbar", "std", "term", 1, "quux.html#$", "-"), # Valid but discouraged 484s ("Index Page", "std", "doc", 1, "index.html", "-"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index Page Thing"), 484s ("Index Page", "std", "doc", 1, "index.html", "Index\tPage\tThing"), 484s ("Index Page", "std", "doc", 1, "", "-"), # Zero-length uri 484s ("Index # Page", "std", "doc", 1, "index.html", "-"), # Symbol in name 484s ("Thing \u33a4", "std", "ref", 1, "index.html#$", "-"), # Unicode in name 484s ("Thing One", "std", "ref", 1, "index.html#$", "\u33a4"), # Unicode in dispname 484s ("foo", "py", "da:ta", 1, "data.html#$", "-"), # Colon in role (used in Sphinx) 484s ("foo", "py$", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py\u33a4", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data$", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data\u33a4", 1, "data.html#$", "-"), # Valid but discouraged 484s ("foo", "py", "data", 1, "data/\u33a4.html#$", "-"), # Valid but discouraged 484s (" foo", "py", "data", 1, "data.html#$", "-"), # Valid but discouraged 484s # Colon in domain (invalid but undetectable) 484s ("foo", "p:y", "data", 1, "data.html#$", "-"), 484s ], 484s ) 484s def test_dataobjstr_valid_objects( 484s misc_info, sphinx_ifile_data_count, name, domain, role, prio, uri, dispname 484s ): 484s """Run sphobjinv/sphinx comparison on specific object data lines.""" 484s dos = soi.DataObjStr( 484s name=name, 484s domain=domain, 484s role=role, 484s priority=str(prio), 484s uri=uri, 484s dispname=dispname, 484s ) 484s 484s assert dos 484s 484s inv = soi.Inventory() 484s inv.project = "Foo" 484s inv.version = "1.0" 484s inv.objects.append( 484s soi.DataObjStr( 484s name="bar", domain="py", role="data", priority="1", uri="$", dispname="-" 484s ) 484s ) 484s inv.objects.append(dos) 484s 484s df = inv.data_file(contract=True) 484s 484s ifile_data = IFile.load(BytesIO(soi.compress(df)), "", osp.join) 484s 484s ifile_count = sphinx_ifile_data_count(ifile_data) 484s 484s assert inv.count == ifile_count 484s 484s domrole = "{dos.domain}:{dos.role}".format(dos=dos) 484s 484s assert domrole in ifile_data 484s > assert dos.name in ifile_data[domrole] 484s 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='-')} 484s E + where '\x85 foo' = DataObjStr(name='\x85 foo', domain='py', role='data', priority='1', uri='data.html#$', dispname='-').name 484s 484s tests/test_valid_objects.py:123: AssertionError 484s =============================== warnings summary =============================== 484s tests/test_api_fail.py:41 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.api, pytest.mark.local] 484s 484s tests/test_api_fail.py:41 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.api, pytest.mark.local] 484s 484s tests/test_api_good.py:43 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.api, pytest.mark.local] 484s 484s tests/test_api_good.py:43 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.api, pytest.mark.local] 484s 484s tests/test_api_good.py:476 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.testall 484s 484s tests/test_api_good.py:483 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.testall 484s 484s tests/test_api_good.py:516 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.testall 484s 484s tests/test_api_good_nonlocal.py:37 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.api, pytest.mark.nonloc] 484s 484s tests/test_api_good_nonlocal.py:37 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.api, pytest.mark.nonloc] 484s 484s tests/test_api_good_nonlocal.py:59 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(30) 484s 484s tests/test_api_good_nonlocal.py:66 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.testall 484s 484s tests/test_api_good_nonlocal.py:67 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(30) 484s 484s tests/test_cli.py:50 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.cli, pytest.mark.local] 484s 484s tests/test_cli.py:50 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.cli, pytest.mark.local] 484s 484s tests/test_cli.py:56 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:68 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:73 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:82 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:91 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:112 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:145 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 2) 484s 484s tests/test_cli.py:169 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:206 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 50 * 3) 484s 484s tests/test_cli.py:207 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.testall 484s 484s tests/test_cli.py:251 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:348 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:356 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:364 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:372 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:380 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:392 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:400 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:409 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:422 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 2) 484s 484s tests/test_cli.py:433 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:447 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:452 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:467 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:482 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli.py:487 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT) 484s 484s tests/test_cli_nonlocal.py:45 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.cli, pytest.mark.nonloc] 484s 484s tests/test_cli_nonlocal.py:45 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.cli, pytest.mark.nonloc] 484s 484s tests/test_cli_nonlocal.py:62 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 484s 484s tests/test_cli_nonlocal.py:82 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 484s 484s tests/test_cli_nonlocal.py:95 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 484s 484s tests/test_cli_nonlocal.py:116 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 484s 484s tests/test_cli_nonlocal.py:133 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 484s 484s tests/test_cli_nonlocal.py:174 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 484s 484s tests/test_cli_nonlocal.py:202 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 484s 484s tests/test_cli_nonlocal.py:215 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 484s 484s tests/test_cli_nonlocal.py:229 484s /tmp/autopkgtest.A8Qfuo/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 484s @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) 484s 484s tests/test_fixture.py:34 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = pytest.mark.fixture 484s 484s tests/test_flake8_ext.py:39 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.flake8_ext] 484s 484s tests/test_intersphinx.py:37 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.intersphinx, pytest.mark.local] 484s 484s tests/test_intersphinx.py:37 484s /tmp/autopkgtest.A8Qfuo/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 484s pytestmark = [pytest.mark.intersphinx, pytest.mark.local] 484s 484s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 484s =========================== short test summary info ============================ 484s FAILED tests/test_valid_objects.py::test_name_lead_chars[11_\x0b] - Assertion... 484s FAILED tests/test_valid_objects.py::test_name_lead_chars[12_\x0c] - Assertion... 484s FAILED tests/test_valid_objects.py::test_name_lead_chars[13_\r] - AssertionEr... 484s FAILED tests/test_valid_objects.py::test_name_lead_chars[28_\x1c] - Assertion... 484s FAILED tests/test_valid_objects.py::test_name_lead_chars[29_\x1d] - Assertion... 484s FAILED tests/test_valid_objects.py::test_name_lead_chars[30_\x1e] - Assertion... 484s FAILED tests/test_valid_objects.py::test_name_lead_chars[133_\x85] - Assertio... 484s = 7 failed, 461 passed, 283 skipped, 1 deselected, 6 xfailed, 55 warnings in 180.51s (0:03:00) = 486s autopkgtest [11:53:15]: test upstream-tests: -----------------------] 487s autopkgtest [11:53:16]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 487s upstream-tests FAIL non-zero exit status 1 488s autopkgtest [11:53:17]: test autodep8-python3: preparing testbed 647s autopkgtest [11:55:56]: testbed dpkg architecture: s390x 648s autopkgtest [11:55:57]: testbed apt version: 3.0.0 649s autopkgtest [11:55:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 650s autopkgtest [11:55:59]: testbed release detected to be: questing 652s autopkgtest [11:56:01]: updating testbed package index (apt update) 653s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 653s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 654s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 654s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 654s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [27.3 kB] 654s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [595 kB] 654s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [72.4 kB] 654s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x Packages [136 kB] 654s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe s390x Packages [612 kB] 654s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse s390x Packages [15.0 kB] 656s Fetched 1567 kB in 3s (610 kB/s) 661s Reading package lists... 664s autopkgtest [11:56:13]: upgrading testbed (apt dist-upgrade and autopurge) 665s Reading package lists... 667s Building dependency tree... 667s Reading state information... 668s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 668s Starting 2 pkgProblemResolver with broken count: 0 668s Done 671s Entering ResolveByKeep 672s 672s Calculating upgrade... 674s The following packages will be upgraded: 674s libperl5.40 perl perl-base perl-modules-5.40 python3-dbus 674s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 674s Need to get 10.5 MB of archives. 674s After this operation, 3072 B of additional disk space will be used. 674s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x libperl5.40 s390x 5.40.1-3 [4972 kB] 674s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x perl s390x 5.40.1-3 [262 kB] 674s Get:3 http://ftpmaster.internal/ubuntu questing/main s390x perl-base s390x 5.40.1-3 [1954 kB] 675s Get:4 http://ftpmaster.internal/ubuntu questing/main s390x perl-modules-5.40 all 5.40.1-3 [3217 kB] 675s Get:5 http://ftpmaster.internal/ubuntu questing/main s390x python3-dbus s390x 1.4.0-1 [102 kB] 678s Fetched 10.5 MB in 1s (9233 kB/s) 679s (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 ... 59837 files and directories currently installed.) 679s Preparing to unpack .../libperl5.40_5.40.1-3_s390x.deb ... 679s Unpacking libperl5.40:s390x (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 679s Preparing to unpack .../perl_5.40.1-3_s390x.deb ... 679s Unpacking perl (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 679s Preparing to unpack .../perl-base_5.40.1-3_s390x.deb ... 679s Unpacking perl-base (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 680s Setting up perl-base (5.40.1-3) ... 680s (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 ... 59837 files and directories currently installed.) 680s Preparing to unpack .../perl-modules-5.40_5.40.1-3_all.deb ... 680s Unpacking perl-modules-5.40 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 682s Preparing to unpack .../python3-dbus_1.4.0-1_s390x.deb ... 682s Unpacking python3-dbus (1.4.0-1) over (1.3.2-5build5) ... 682s Setting up python3-dbus (1.4.0-1) ... 683s Setting up perl-modules-5.40 (5.40.1-3) ... 683s Setting up libperl5.40:s390x (5.40.1-3) ... 683s Setting up perl (5.40.1-3) ... 683s Processing triggers for man-db (2.13.1-1) ... 685s Processing triggers for libc-bin (2.41-6ubuntu1) ... 687s Reading package lists... 687s Building dependency tree... 687s Reading state information... 688s Starting pkgProblemResolver with broken count: 0 688s Starting 2 pkgProblemResolver with broken count: 0 688s Done 689s Solving dependencies... 690s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 696s Reading package lists... 697s Building dependency tree... 697s Reading state information... 698s Starting pkgProblemResolver with broken count: 0 698s Starting 2 pkgProblemResolver with broken count: 0 698s Done 699s The following NEW packages will be installed: 699s python3-all python3-sphobjinv 699s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 699s Need to get 39.2 kB of archives. 699s After this operation, 199 kB of additional disk space will be used. 699s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x python3-all s390x 3.13.3-1 [882 B] 699s Get:2 http://ftpmaster.internal/ubuntu questing/universe s390x python3-sphobjinv all 2.3.1.2-2 [38.3 kB] 700s Fetched 39.2 kB in 0s (248 kB/s) 700s Selecting previously unselected package python3-all. 700s (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 ... 59837 files and directories currently installed.) 701s Preparing to unpack .../python3-all_3.13.3-1_s390x.deb ... 701s Unpacking python3-all (3.13.3-1) ... 701s Selecting previously unselected package python3-sphobjinv. 701s Preparing to unpack .../python3-sphobjinv_2.3.1.2-2_all.deb ... 701s Unpacking python3-sphobjinv (2.3.1.2-2) ... 701s Setting up python3-all (3.13.3-1) ... 701s Setting up python3-sphobjinv (2.3.1.2-2) ... 708s autopkgtest [11:56:57]: 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 708s autopkgtest [11:56:57]: test autodep8-python3: [----------------------- 709s Testing with python3.13: 710s 711s autopkgtest [11:57:00]: test autodep8-python3: -----------------------] 711s autodep8-python3 PASS (superficial) 711s autopkgtest [11:57:00]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 712s autopkgtest [11:57:01]: @@@@@@@@@@@@@@@@@@@@ summary 712s upstream-tests FAIL non-zero exit status 1 712s autodep8-python3 PASS (superficial) 728s nova [W] Using flock in prodstack7-s390x 728s Creating nova instance adt-questing-s390x-python-sphobjinv-20250506-114509-juju-7f2275-prod-proposed-migration-environment-15-147b3ca4-6ee9-4ae3-8ed8-6842e2df4bd6 from image adt/ubuntu-questing-s390x-server-20250506.img (UUID fef1f145-d219-47e4-a2ed-77b44eac0376)... 728s nova [W] Timed out waiting for 84fbf263-c5ff-434a-bdd8-a5049aa369c0 to get deleted. 728s nova [W] Using flock in prodstack7-s390x 728s Creating nova instance adt-questing-s390x-python-sphobjinv-20250506-114509-juju-7f2275-prod-proposed-migration-environment-15-147b3ca4-6ee9-4ae3-8ed8-6842e2df4bd6 from image adt/ubuntu-questing-s390x-server-20250506.img (UUID fef1f145-d219-47e4-a2ed-77b44eac0376)... 728s nova [W] Timed out waiting for efc59d65-171e-460e-adf6-7ca012a67d95 to get deleted.