0s autopkgtest [19:59:45]: starting date and time: 2024-03-20 19:59:45+0000 0s autopkgtest [19:59:45]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [19:59:45]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.27je185w/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:numpydoc --apt-upgrade numpydoc --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=numpydoc/1.6.0-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-s390x-5.secgroup --name adt-noble-s390x-numpydoc-20240320-195945-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 79s autopkgtest [20:01:04]: testbed dpkg architecture: s390x 79s autopkgtest [20:01:04]: testbed apt version: 2.7.12 79s autopkgtest [20:01:04]: @@@@@@@@@@@@@@@@@@@@ test bed setup 80s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 80s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3808 kB] 81s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 81s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [502 kB] 81s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 81s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [680 kB] 81s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 81s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 81s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 81s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [4059 kB] 81s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 81s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [45.3 kB] 81s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 83s Fetched 9283 kB in 3s (3624 kB/s) 83s Reading package lists... 86s Reading package lists... 86s Building dependency tree... 86s Reading state information... 86s Calculating upgrade... 86s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 87s Reading package lists... 87s Building dependency tree... 87s Reading state information... 87s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 87s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 87s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 87s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 87s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 89s Reading package lists... 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 89s Calculating upgrade... 89s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 89s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 92s autopkgtest [20:01:17]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Tue Feb 13 23:45:46 UTC 2024 92s autopkgtest [20:01:17]: @@@@@@@@@@@@@@@@@@@@ apt-source numpydoc 94s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/universe numpydoc 1.6.0-1 (dsc) [2302 B] 94s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe numpydoc 1.6.0-1 (tar) [85.5 kB] 94s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe numpydoc 1.6.0-1 (diff) [4932 B] 94s gpgv: Signature made Mon Jan 15 13:46:37 2024 UTC 94s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 94s gpgv: Can't check signature: No public key 94s dpkg-source: warning: cannot verify inline signature for ./numpydoc_1.6.0-1.dsc: no acceptable signature found 94s autopkgtest [20:01:19]: testing package numpydoc version 1.6.0-1 95s autopkgtest [20:01:20]: build not needed 96s autopkgtest [20:01:21]: test command1: preparing testbed 100s Reading package lists... 101s Building dependency tree... 101s Reading state information... 101s Starting pkgProblemResolver with broken count: 0 101s Starting 2 pkgProblemResolver with broken count: 0 101s Done 101s The following additional packages will be installed: 101s docutils-common libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 101s libjs-jquery-metadata libjs-jquery-tablesorter 101s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore libjson-perl 101s python3-alabaster python3-all python3-bs4 python3-coverage python3-docutils 101s python3-imagesize python3-iniconfig python3-numpydoc python3-packaging 101s python3-pluggy python3-pytest python3-pytest-cov python3-roman 101s python3-snowballstemmer python3-soupsieve python3-sphinx python3-tabulate 101s sgml-base sphinx-common xml-core 101s Suggested packages: 101s python-coverage-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine 101s texlive-lang-french texlive-latex-base texlive-latex-recommended 101s python3-stemmer dvipng fonts-freefont-otf imagemagick-6.q16 latexmk 101s libjs-mathjax python3-sphinx-rtd-theme sphinx-doc tex-gyre 101s texlive-fonts-recommended texlive-latex-extra texlive-plain-generic 101s sgml-base-doc debhelper 101s Recommended packages: 101s javascript-common libjson-xs-perl python3-lxml libpaper-utils python3-pil 101s The following NEW packages will be installed: 101s autopkgtest-satdep docutils-common libjs-jquery libjs-jquery-hotkeys 101s libjs-jquery-isonscreen libjs-jquery-metadata libjs-jquery-tablesorter 101s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore libjson-perl 101s python3-alabaster python3-all python3-bs4 python3-coverage python3-docutils 101s python3-imagesize python3-iniconfig python3-numpydoc python3-packaging 101s python3-pluggy python3-pytest python3-pytest-cov python3-roman 101s python3-snowballstemmer python3-soupsieve python3-sphinx python3-tabulate 101s sgml-base sphinx-common xml-core 101s 0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded. 101s Need to get 3624 kB/3625 kB of archives. 101s After this operation, 16.6 MB of additional disk space will be used. 101s Get:1 /tmp/autopkgtest.3W0Be5/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [732 B] 101s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x sgml-base all 1.31 [11.4 kB] 101s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 102s Get:4 http://ftpmaster.internal/ubuntu noble/universe s390x libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2ubuntu2 [11.5 kB] 102s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x xml-core all 0.19 [20.3 kB] 102s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x docutils-common all 0.20.1+dfsg-3 [132 kB] 102s Get:7 http://ftpmaster.internal/ubuntu noble/universe s390x libjs-jquery-metadata all 12-4 [6582 B] 102s Get:8 http://ftpmaster.internal/ubuntu noble/universe s390x libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [193 kB] 102s Get:9 http://ftpmaster.internal/ubuntu noble/universe s390x libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 102s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 102s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x libjs-sphinxdoc all 7.2.6-4 [149 kB] 102s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x libjson-perl all 4.10000-1 [81.9 kB] 102s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x python3-all s390x 3.12.1-0ubuntu2 [908 B] 102s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x python3-soupsieve all 2.5-1 [33.0 kB] 102s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x python3-bs4 all 4.12.3-1 [109 kB] 102s Get:16 http://ftpmaster.internal/ubuntu noble/universe s390x python3-coverage s390x 7.3.2-0ubuntu1 [147 kB] 102s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x python3-roman all 3.3-3 [9632 B] 102s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x python3-docutils all 0.20.1+dfsg-3 [393 kB] 102s Get:19 http://ftpmaster.internal/ubuntu noble/main s390x python3-imagesize all 1.4.1-1 [6844 B] 102s Get:20 http://ftpmaster.internal/ubuntu noble/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 102s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x sphinx-common all 7.2.6-4 [741 kB] 102s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x python3-alabaster all 0.7.12-1 [17.8 kB] 102s Get:23 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 102s Get:24 http://ftpmaster.internal/ubuntu noble/main s390x python3-snowballstemmer all 2.2.0-4 [59.7 kB] 102s Get:25 http://ftpmaster.internal/ubuntu noble/main s390x python3-sphinx all 7.2.6-4 [557 kB] 102s Get:26 http://ftpmaster.internal/ubuntu noble/main s390x python3-tabulate all 0.8.10-1 [38.2 kB] 102s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x python3-numpydoc all 1.6.0-1 [50.4 kB] 102s Get:28 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pluggy all 1.4.0-1 [20.4 kB] 102s Get:29 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pytest all 7.4.4-1 [305 kB] 102s Get:30 http://ftpmaster.internal/ubuntu noble/universe s390x libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 102s Get:31 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pytest-cov all 4.1.0-1 [21.5 kB] 102s Fetched 3624 kB in 1s (4459 kB/s) 102s Selecting previously unselected package sgml-base. 102s (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 ... 52171 files and directories currently installed.) 102s Preparing to unpack .../00-sgml-base_1.31_all.deb ... 102s Unpacking sgml-base (1.31) ... 102s Selecting previously unselected package libjs-jquery. 102s Preparing to unpack .../01-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 102s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 102s Selecting previously unselected package libjs-jquery-hotkeys. 102s Preparing to unpack .../02-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2ubuntu2_all.deb ... 102s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 102s Selecting previously unselected package xml-core. 102s Preparing to unpack .../03-xml-core_0.19_all.deb ... 102s Unpacking xml-core (0.19) ... 102s Selecting previously unselected package docutils-common. 102s Preparing to unpack .../04-docutils-common_0.20.1+dfsg-3_all.deb ... 102s Unpacking docutils-common (0.20.1+dfsg-3) ... 102s Selecting previously unselected package libjs-jquery-metadata. 102s Preparing to unpack .../05-libjs-jquery-metadata_12-4_all.deb ... 102s Unpacking libjs-jquery-metadata (12-4) ... 102s Selecting previously unselected package libjs-jquery-tablesorter. 102s Preparing to unpack .../06-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ... 102s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 102s Selecting previously unselected package libjs-jquery-throttle-debounce. 102s Preparing to unpack .../07-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 102s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 102s Selecting previously unselected package libjs-underscore. 102s Preparing to unpack .../08-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 102s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 102s Selecting previously unselected package libjs-sphinxdoc. 102s Preparing to unpack .../09-libjs-sphinxdoc_7.2.6-4_all.deb ... 102s Unpacking libjs-sphinxdoc (7.2.6-4) ... 102s Selecting previously unselected package libjson-perl. 102s Preparing to unpack .../10-libjson-perl_4.10000-1_all.deb ... 102s Unpacking libjson-perl (4.10000-1) ... 102s Selecting previously unselected package python3-all. 102s Preparing to unpack .../11-python3-all_3.12.1-0ubuntu2_s390x.deb ... 102s Unpacking python3-all (3.12.1-0ubuntu2) ... 102s Selecting previously unselected package python3-soupsieve. 102s Preparing to unpack .../12-python3-soupsieve_2.5-1_all.deb ... 102s Unpacking python3-soupsieve (2.5-1) ... 102s Selecting previously unselected package python3-bs4. 102s Preparing to unpack .../13-python3-bs4_4.12.3-1_all.deb ... 102s Unpacking python3-bs4 (4.12.3-1) ... 102s Selecting previously unselected package python3-coverage. 103s Preparing to unpack .../14-python3-coverage_7.3.2-0ubuntu1_s390x.deb ... 103s Unpacking python3-coverage (7.3.2-0ubuntu1) ... 103s Selecting previously unselected package python3-roman. 103s Preparing to unpack .../15-python3-roman_3.3-3_all.deb ... 103s Unpacking python3-roman (3.3-3) ... 103s Selecting previously unselected package python3-docutils. 103s Preparing to unpack .../16-python3-docutils_0.20.1+dfsg-3_all.deb ... 103s Unpacking python3-docutils (0.20.1+dfsg-3) ... 103s Selecting previously unselected package python3-imagesize. 103s Preparing to unpack .../17-python3-imagesize_1.4.1-1_all.deb ... 103s Unpacking python3-imagesize (1.4.1-1) ... 103s Selecting previously unselected package python3-iniconfig. 103s Preparing to unpack .../18-python3-iniconfig_1.1.1-2_all.deb ... 103s Unpacking python3-iniconfig (1.1.1-2) ... 103s Selecting previously unselected package sphinx-common. 103s Preparing to unpack .../19-sphinx-common_7.2.6-4_all.deb ... 103s Unpacking sphinx-common (7.2.6-4) ... 103s Selecting previously unselected package python3-alabaster. 103s Preparing to unpack .../20-python3-alabaster_0.7.12-1_all.deb ... 103s Unpacking python3-alabaster (0.7.12-1) ... 103s Selecting previously unselected package python3-packaging. 103s Preparing to unpack .../21-python3-packaging_23.2-1_all.deb ... 103s Unpacking python3-packaging (23.2-1) ... 103s Selecting previously unselected package python3-snowballstemmer. 103s Preparing to unpack .../22-python3-snowballstemmer_2.2.0-4_all.deb ... 103s Unpacking python3-snowballstemmer (2.2.0-4) ... 103s Selecting previously unselected package python3-sphinx. 103s Preparing to unpack .../23-python3-sphinx_7.2.6-4_all.deb ... 103s Unpacking python3-sphinx (7.2.6-4) ... 103s Selecting previously unselected package python3-tabulate. 103s Preparing to unpack .../24-python3-tabulate_0.8.10-1_all.deb ... 103s Unpacking python3-tabulate (0.8.10-1) ... 103s Selecting previously unselected package python3-numpydoc. 103s Preparing to unpack .../25-python3-numpydoc_1.6.0-1_all.deb ... 103s Unpacking python3-numpydoc (1.6.0-1) ... 103s Selecting previously unselected package python3-pluggy. 103s Preparing to unpack .../26-python3-pluggy_1.4.0-1_all.deb ... 103s Unpacking python3-pluggy (1.4.0-1) ... 103s Selecting previously unselected package python3-pytest. 103s Preparing to unpack .../27-python3-pytest_7.4.4-1_all.deb ... 103s Unpacking python3-pytest (7.4.4-1) ... 103s Selecting previously unselected package libjs-jquery-isonscreen. 103s Preparing to unpack .../28-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 103s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 103s Selecting previously unselected package python3-pytest-cov. 103s Preparing to unpack .../29-python3-pytest-cov_4.1.0-1_all.deb ... 103s Unpacking python3-pytest-cov (4.1.0-1) ... 103s Selecting previously unselected package autopkgtest-satdep. 103s Preparing to unpack .../30-1-autopkgtest-satdep.deb ... 103s Unpacking autopkgtest-satdep (0) ... 103s Setting up python3-iniconfig (1.1.1-2) ... 103s Setting up python3-alabaster (0.7.12-1) ... 103s Setting up python3-tabulate (0.8.10-1) ... 103s Setting up python3-all (3.12.1-0ubuntu2) ... 103s Setting up python3-coverage (7.3.2-0ubuntu1) ... 103s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 103s Setting up python3-roman (3.3-3) ... 104s Setting up python3-packaging (23.2-1) ... 104s Setting up python3-snowballstemmer (2.2.0-4) ... 104s Setting up python3-pluggy (1.4.0-1) ... 104s Setting up libjson-perl (4.10000-1) ... 104s Setting up sgml-base (1.31) ... 104s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 104s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 104s Setting up python3-soupsieve (2.5-1) ... 104s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 104s Setting up python3-imagesize (1.4.1-1) ... 104s Setting up python3-pytest (7.4.4-1) ... 105s Setting up python3-bs4 (4.12.3-1) ... 105s Setting up libjs-jquery-metadata (12-4) ... 105s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 105s Setting up libjs-sphinxdoc (7.2.6-4) ... 105s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 105s Setting up xml-core (0.19) ... 105s Setting up python3-pytest-cov (4.1.0-1) ... 105s Setting up sphinx-common (7.2.6-4) ... 105s Processing triggers for man-db (2.12.0-3) ... 105s Processing triggers for sgml-base (1.31) ... 106s Setting up docutils-common (0.20.1+dfsg-3) ... 106s Processing triggers for sgml-base (1.31) ... 106s Setting up python3-docutils (0.20.1+dfsg-3) ... 107s Setting up python3-sphinx (7.2.6-4) ... 107s Setting up python3-numpydoc (1.6.0-1) ... 107s Setting up autopkgtest-satdep (0) ... 109s (Reading database ... 53921 files and directories currently installed.) 109s Removing autopkgtest-satdep (0) ... 110s autopkgtest [20:01:35]: test command1: set -e; for p in $(py3versions -s); do $p -m pytest numpydoc/; done 110s autopkgtest [20:01:35]: test command1: [----------------------- 112s ============================= test session starts ============================== 112s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 112s rootdir: /tmp/autopkgtest.3W0Be5/build.heW/src 112s configfile: pyproject.toml 112s plugins: cov-4.1.0 112s collected 286 items 112s 112s numpydoc/numpydoc.py . [ 0%] 112s numpydoc/validate.py . [ 0%] 112s numpydoc/tests/test_docscrape.py ....................................... [ 14%] 112s ..................... [ 21%] 117s numpydoc/tests/test_full.py FF... [ 23%] 117s numpydoc/tests/test_main.py ....... [ 25%] 117s numpydoc/tests/test_numpydoc.py ............. [ 30%] 117s numpydoc/tests/test_validate.py ........................................ [ 44%] 118s ............................................................x..x........ [ 69%] 118s ........... [ 73%] 118s numpydoc/tests/test_xref.py ............................................ [ 88%] 118s ................... [ 95%] 118s numpydoc/tests/hooks/test_utils.py ..... [ 97%] 118s numpydoc/tests/hooks/test_validate_hook.py ........ [100%] 118s 118s =================================== FAILURES =================================== 118s _________________________________ test_MyClass _________________________________ 118s 118s sphinx_app = 118s 118s def test_MyClass(sphinx_app): 118s """Test that class documentation is reasonable.""" 118s src_dir, out_dir = sphinx_app.srcdir, sphinx_app.outdir 118s class_rst = op.join(src_dir, "generated", "numpydoc_test_module.MyClass.rst") 118s with open(class_rst) as fid: 118s rst = fid.read() 118s assert r"numpydoc\_test\_module" in rst # properly escaped 118s class_html = op.join(out_dir, "generated", "numpydoc_test_module.MyClass.html") 118s with open(class_html) as fid: 118s html = fid.read() 118s # ensure that no autodoc weirdness ($) occurs 118s assert "$self" not in html 118s assert "/," not in html 118s assert "__init__" in html # inherited 118s # escaped * chars should no longer be preceded by \'s, 118s # if we see a \* in the output we know it's incorrect: 118s assert r"\*" not in html 118s # "self" should not be in the parameter list for the class: 118s assert "self," not in html 118s # check xref was embedded properly (dict should link using xref): 118s > assert "stdtypes.html#dict" in html 118s E assert 'stdtypes.html#dict' in '\n\n\n \n \n Page source\n \n\n \n\n \n \n' 118s 118s class_html = '/tmp/pytest-of-ubuntu/pytest-0/root/_build/html/generated/numpydoc_test_module.MyClass.html' 118s class_rst = '/tmp/pytest-of-ubuntu/pytest-0/root/generated/numpydoc_test_module.MyClass.rst' 118s fid = <_io.TextIOWrapper name='/tmp/pytest-of-ubuntu/pytest-0/root/_build/html/generated/numpydoc_test_module.MyClass.html' mode='r' encoding='UTF-8'> 118s html = '\n\n\n \n \n Page source\n \n\n \n\n \n \n' 118s out_dir = _StrPath('/tmp/pytest-of-ubuntu/pytest-0/root/_build/html') 118s rst = '\ufeffnumpydoc\\_test\\_module.MyClass\n==============================\n\n.. currentmodule:: numpydoc_test_module\n\n...bric:: Methods\n\n .. autosummary::\n \n ~MyClass.__init__\n ~MyClass.example\n \n \n\n \n \n ' 118s sphinx_app = 118s src_dir = _StrPath('/tmp/pytest-of-ubuntu/pytest-0/root') 118s 118s numpydoc/tests/test_full.py:62: AssertionError 118s ---------------------------- Captured stdout setup ----------------------------- 118s Running Sphinx v7.2.6 118s making output directory... done 118s loading intersphinx inventory from /usr/share/doc/python3/html/objects.inv... 118s [autosummary] generating autosummary for: index.rst 118s [autosummary] generating autosummary for: /tmp/pytest-of-ubuntu/pytest-0/root/generated/numpydoc_test_module.MyClass.rst, /tmp/pytest-of-ubuntu/pytest-0/root/generated/numpydoc_test_module.my_function.rst 118s building [mo]: targets for 0 po files that are out of date 118s writing output...  118s building [html]: targets for 1 source files that are out of date 118s updating environment: [new config] 3 added, 0 changed, 0 removed 118s reading sources... [ 33%] generated/numpydoc_test_module.MyClass reading sources... [ 67%] generated/numpydoc_test_module.my_function reading sources... [100%] index 118s looking for now-outdated files... none found 118s pickling environment... done 118s checking consistency... done 118s preparing documents... done 118s copying assets... copying static files... done 118s copying extra files... done 118s done 118s writing output... [ 33%] generated/numpydoc_test_module.MyClass writing output... [ 67%] generated/numpydoc_test_module.my_function writing output... [100%] index 118s generating indices... genindex py-modindex done 118s writing additional pages... search done 118s dumping search index in English (code: en)... done 118s dumping object inventory... done 118s build finished with problems, 6 warnings. 118s ---------------------------- Captured stderr setup ----------------------------- 118s WARNING: failed to reach any of the inventories with the following issues: 118s intersphinx inventory '/usr/share/doc/python3/html/objects.inv' not fetchable due to : [Errno 2] No such file or directory: '/usr/share/doc/python3/html/objects.inv' 118s /tmp/autopkgtest.3W0Be5/build.heW/src/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.MyClass:9: WARNING: term not in glossary: 'python:iterable' 118s /tmp/autopkgtest.3W0Be5/build.heW/src/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.MyClass:21: WARNING: py:class reference target not found: python:dict 118s /tmp/autopkgtest.3W0Be5/build.heW/src/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.my_function:9: WARNING: term not in glossary: 'python:iterable' 118s /tmp/autopkgtest.3W0Be5/build.heW/src/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.my_function:12: WARNING: py:class reference target not found: python:dict 118s /tmp/autopkgtest.3W0Be5/build.heW/src/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.my_function:25: WARNING: py:data reference target not found: python:None 118s _______________________________ test_my_function _______________________________ 118s 118s sphinx_app = 118s 118s def test_my_function(sphinx_app): 118s """Test that function documentation is reasonable.""" 118s out_dir = sphinx_app.outdir 118s function_html = op.join( 118s out_dir, "generated", "numpydoc_test_module.my_function.html" 118s ) 118s with open(function_html) as fid: 118s html = fid.read() 118s assert r"\*args" not in html 118s assert "*args" in html 118s # check xref (iterable should link using xref): 118s > assert "glossary.html#term-iterable" in html 118s E assert 'glossary.html#term-iterable' in '\n\n\n \n \n Page source\n \n\n \n\n \n \n' 118s 118s fid = <_io.TextIOWrapper name='/tmp/pytest-of-ubuntu/pytest-0/root/_build/html/generated/numpydoc_test_module.my_function.html' mode='r' encoding='UTF-8'> 118s function_html = '/tmp/pytest-of-ubuntu/pytest-0/root/_build/html/generated/numpydoc_test_module.my_function.html' 118s html = '\n\n\n \n \n Page source\n \n\n \n\n \n \n' 118s out_dir = _StrPath('/tmp/pytest-of-ubuntu/pytest-0/root/_build/html') 118s sphinx_app = 118s 118s numpydoc/tests/test_full.py:76: AssertionError 118s =============================== warnings summary =============================== 118s ../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13 118s /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 118s from cgi import parse_header 118s 118s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 118s - generated xml file: /tmp/autopkgtest.3W0Be5/build.heW/src/junit-results.xml -- 118s =========================== short test summary info ============================ 118s XFAIL numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadParameters-blank_lines-msgs30] 118s XFAIL numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadReturns-no_type-msgs33] 118s FAILED numpydoc/tests/test_full.py::test_MyClass - assert 'stdtypes.html#dict... 118s FAILED numpydoc/tests/test_full.py::test_my_function - assert 'glossary.html#... 118s ============= 2 failed, 282 passed, 2 xfailed, 1 warning in 7.70s ============== 118s autopkgtest [20:01:43]: test command1: -----------------------] 119s autopkgtest [20:01:44]: test command1: - - - - - - - - - - results - - - - - - - - - - 119s command1 FAIL non-zero exit status 1 119s autopkgtest [20:01:44]: @@@@@@@@@@@@@@@@@@@@ summary 119s command1 FAIL non-zero exit status 1 131s Creating nova instance adt-noble-s390x-numpydoc-20240320-195945-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-s390x-server-20240320.img (UUID 6569a0ff-4984-4a4c-a4d0-b93f21cb5de9)...