0s autopkgtest [20:12:33]: starting date and time: 2024-03-20 20:12:33+0000 0s autopkgtest [20:12:33]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [20:12:33]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ind0tyf8/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@bos01-ppc64el-10.secgroup --name adt-noble-ppc64el-numpydoc-20240320-201233-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-ppc64el-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://us.ports.ubuntu.com/ubuntu-ports/ 144s autopkgtest [20:14:56]: testbed dpkg architecture: ppc64el 144s autopkgtest [20:14:57]: testbed apt version: 2.7.12 144s autopkgtest [20:14:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup 145s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 145s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 145s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 145s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3808 kB] 145s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [502 kB] 145s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [686 kB] 145s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 145s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 145s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 145s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4160 kB] 146s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 146s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [58.6 kB] 146s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 149s Fetched 9405 kB in 2s (4051 kB/s) 149s Reading package lists... 152s Reading package lists... 152s Building dependency tree... 152s Reading state information... 152s Calculating upgrade... 152s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 152s Reading package lists... 153s Building dependency tree... 153s Reading state information... 153s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 153s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 153s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 153s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 153s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 155s Reading package lists... 155s Reading package lists... 155s Building dependency tree... 155s Reading state information... 155s Calculating upgrade... 155s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 155s Reading package lists... 155s Building dependency tree... 155s Reading state information... 156s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 159s autopkgtest [20:15:12]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Wed Feb 14 00:33:03 UTC 2024 159s autopkgtest [20:15:12]: @@@@@@@@@@@@@@@@@@@@ apt-source numpydoc 161s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/universe numpydoc 1.6.0-1 (dsc) [2302 B] 161s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe numpydoc 1.6.0-1 (tar) [85.5 kB] 161s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe numpydoc 1.6.0-1 (diff) [4932 B] 162s gpgv: Signature made Mon Jan 15 13:46:37 2024 UTC 162s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 162s gpgv: Can't check signature: No public key 162s dpkg-source: warning: cannot verify inline signature for ./numpydoc_1.6.0-1.dsc: no acceptable signature found 162s autopkgtest [20:15:15]: testing package numpydoc version 1.6.0-1 162s autopkgtest [20:15:15]: build not needed 164s autopkgtest [20:15:17]: test command1: preparing testbed 170s Reading package lists... 171s Building dependency tree... 171s Reading state information... 171s Starting pkgProblemResolver with broken count: 0 171s Starting 2 pkgProblemResolver with broken count: 0 171s Done 171s The following additional packages will be installed: 171s docutils-common libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 171s libjs-jquery-metadata libjs-jquery-tablesorter 171s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore libjson-perl 171s python3-alabaster python3-all python3-bs4 python3-coverage python3-docutils 171s python3-imagesize python3-iniconfig python3-numpydoc python3-packaging 171s python3-pluggy python3-pytest python3-pytest-cov python3-roman 171s python3-snowballstemmer python3-soupsieve python3-sphinx python3-tabulate 171s sgml-base sphinx-common xml-core 171s Suggested packages: 171s python-coverage-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine 171s texlive-lang-french texlive-latex-base texlive-latex-recommended 171s python3-stemmer dvipng fonts-freefont-otf imagemagick-6.q16 latexmk 171s libjs-mathjax python3-sphinx-rtd-theme sphinx-doc tex-gyre 171s texlive-fonts-recommended texlive-latex-extra texlive-plain-generic 171s sgml-base-doc debhelper 171s Recommended packages: 171s javascript-common libjson-xs-perl python3-lxml libpaper-utils python3-pil 171s The following NEW packages will be installed: 171s autopkgtest-satdep docutils-common libjs-jquery libjs-jquery-hotkeys 171s libjs-jquery-isonscreen libjs-jquery-metadata libjs-jquery-tablesorter 171s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore libjson-perl 171s python3-alabaster python3-all python3-bs4 python3-coverage python3-docutils 171s python3-imagesize python3-iniconfig python3-numpydoc python3-packaging 171s python3-pluggy python3-pytest python3-pytest-cov python3-roman 171s python3-snowballstemmer python3-soupsieve python3-sphinx python3-tabulate 171s sgml-base sphinx-common xml-core 171s 0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded. 171s Need to get 3626 kB/3626 kB of archives. 171s After this operation, 16.7 MB of additional disk space will be used. 171s Get:1 /tmp/autopkgtest.7X2RCA/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [732 B] 171s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el sgml-base all 1.31 [11.4 kB] 171s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 172s Get:4 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2ubuntu2 [11.5 kB] 172s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el xml-core all 0.19 [20.3 kB] 172s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el docutils-common all 0.20.1+dfsg-3 [132 kB] 172s Get:7 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-metadata all 12-4 [6582 B] 172s Get:8 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [193 kB] 172s Get:9 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 172s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 172s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el libjs-sphinxdoc all 7.2.6-4 [149 kB] 172s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el libjson-perl all 4.10000-1 [81.9 kB] 172s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-all ppc64el 3.12.1-0ubuntu2 [904 B] 172s Get:14 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-soupsieve all 2.5-1 [33.0 kB] 172s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-bs4 all 4.12.3-1 [109 kB] 172s Get:16 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-coverage ppc64el 7.3.2-0ubuntu1 [148 kB] 172s Get:17 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-roman all 3.3-3 [9632 B] 172s Get:18 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-docutils all 0.20.1+dfsg-3 [393 kB] 172s Get:19 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-imagesize all 1.4.1-1 [6844 B] 172s Get:20 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 172s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el sphinx-common all 7.2.6-4 [741 kB] 173s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-alabaster all 0.7.12-1 [17.8 kB] 173s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 173s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-snowballstemmer all 2.2.0-4 [59.7 kB] 173s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-sphinx all 7.2.6-4 [557 kB] 173s Get:26 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-tabulate all 0.8.10-1 [38.2 kB] 173s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el python3-numpydoc all 1.6.0-1 [50.4 kB] 173s Get:28 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pluggy all 1.4.0-1 [20.4 kB] 173s Get:29 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest all 7.4.4-1 [305 kB] 173s Get:30 http://ftpmaster.internal/ubuntu noble/universe ppc64el libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 173s Get:31 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest-cov all 4.1.0-1 [21.5 kB] 173s Fetched 3626 kB in 2s (2061 kB/s) 173s Selecting previously unselected package sgml-base. 173s (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 ... 70095 files and directories currently installed.) 173s Preparing to unpack .../00-sgml-base_1.31_all.deb ... 173s Unpacking sgml-base (1.31) ... 173s Selecting previously unselected package libjs-jquery. 173s Preparing to unpack .../01-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 173s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 173s Selecting previously unselected package libjs-jquery-hotkeys. 173s Preparing to unpack .../02-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2ubuntu2_all.deb ... 173s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 173s Selecting previously unselected package xml-core. 173s Preparing to unpack .../03-xml-core_0.19_all.deb ... 173s Unpacking xml-core (0.19) ... 173s Selecting previously unselected package docutils-common. 173s Preparing to unpack .../04-docutils-common_0.20.1+dfsg-3_all.deb ... 173s Unpacking docutils-common (0.20.1+dfsg-3) ... 173s Selecting previously unselected package libjs-jquery-metadata. 173s Preparing to unpack .../05-libjs-jquery-metadata_12-4_all.deb ... 173s Unpacking libjs-jquery-metadata (12-4) ... 173s Selecting previously unselected package libjs-jquery-tablesorter. 173s Preparing to unpack .../06-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ... 173s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 173s Selecting previously unselected package libjs-jquery-throttle-debounce. 173s Preparing to unpack .../07-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 173s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 173s Selecting previously unselected package libjs-underscore. 173s Preparing to unpack .../08-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 173s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 173s Selecting previously unselected package libjs-sphinxdoc. 173s Preparing to unpack .../09-libjs-sphinxdoc_7.2.6-4_all.deb ... 173s Unpacking libjs-sphinxdoc (7.2.6-4) ... 174s Selecting previously unselected package libjson-perl. 174s Preparing to unpack .../10-libjson-perl_4.10000-1_all.deb ... 174s Unpacking libjson-perl (4.10000-1) ... 174s Selecting previously unselected package python3-all. 174s Preparing to unpack .../11-python3-all_3.12.1-0ubuntu2_ppc64el.deb ... 174s Unpacking python3-all (3.12.1-0ubuntu2) ... 174s Selecting previously unselected package python3-soupsieve. 174s Preparing to unpack .../12-python3-soupsieve_2.5-1_all.deb ... 174s Unpacking python3-soupsieve (2.5-1) ... 174s Selecting previously unselected package python3-bs4. 174s Preparing to unpack .../13-python3-bs4_4.12.3-1_all.deb ... 174s Unpacking python3-bs4 (4.12.3-1) ... 174s Selecting previously unselected package python3-coverage. 174s Preparing to unpack .../14-python3-coverage_7.3.2-0ubuntu1_ppc64el.deb ... 174s Unpacking python3-coverage (7.3.2-0ubuntu1) ... 174s Selecting previously unselected package python3-roman. 174s Preparing to unpack .../15-python3-roman_3.3-3_all.deb ... 174s Unpacking python3-roman (3.3-3) ... 174s Selecting previously unselected package python3-docutils. 174s Preparing to unpack .../16-python3-docutils_0.20.1+dfsg-3_all.deb ... 174s Unpacking python3-docutils (0.20.1+dfsg-3) ... 174s Selecting previously unselected package python3-imagesize. 174s Preparing to unpack .../17-python3-imagesize_1.4.1-1_all.deb ... 174s Unpacking python3-imagesize (1.4.1-1) ... 174s Selecting previously unselected package python3-iniconfig. 174s Preparing to unpack .../18-python3-iniconfig_1.1.1-2_all.deb ... 174s Unpacking python3-iniconfig (1.1.1-2) ... 174s Selecting previously unselected package sphinx-common. 174s Preparing to unpack .../19-sphinx-common_7.2.6-4_all.deb ... 174s Unpacking sphinx-common (7.2.6-4) ... 174s Selecting previously unselected package python3-alabaster. 174s Preparing to unpack .../20-python3-alabaster_0.7.12-1_all.deb ... 174s Unpacking python3-alabaster (0.7.12-1) ... 174s Selecting previously unselected package python3-packaging. 174s Preparing to unpack .../21-python3-packaging_23.2-1_all.deb ... 174s Unpacking python3-packaging (23.2-1) ... 174s Selecting previously unselected package python3-snowballstemmer. 174s Preparing to unpack .../22-python3-snowballstemmer_2.2.0-4_all.deb ... 174s Unpacking python3-snowballstemmer (2.2.0-4) ... 174s Selecting previously unselected package python3-sphinx. 174s Preparing to unpack .../23-python3-sphinx_7.2.6-4_all.deb ... 174s Unpacking python3-sphinx (7.2.6-4) ... 174s Selecting previously unselected package python3-tabulate. 174s Preparing to unpack .../24-python3-tabulate_0.8.10-1_all.deb ... 174s Unpacking python3-tabulate (0.8.10-1) ... 174s Selecting previously unselected package python3-numpydoc. 174s Preparing to unpack .../25-python3-numpydoc_1.6.0-1_all.deb ... 174s Unpacking python3-numpydoc (1.6.0-1) ... 174s Selecting previously unselected package python3-pluggy. 174s Preparing to unpack .../26-python3-pluggy_1.4.0-1_all.deb ... 174s Unpacking python3-pluggy (1.4.0-1) ... 174s Selecting previously unselected package python3-pytest. 174s Preparing to unpack .../27-python3-pytest_7.4.4-1_all.deb ... 174s Unpacking python3-pytest (7.4.4-1) ... 174s Selecting previously unselected package libjs-jquery-isonscreen. 174s Preparing to unpack .../28-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 174s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 174s Selecting previously unselected package python3-pytest-cov. 174s Preparing to unpack .../29-python3-pytest-cov_4.1.0-1_all.deb ... 174s Unpacking python3-pytest-cov (4.1.0-1) ... 174s Selecting previously unselected package autopkgtest-satdep. 174s Preparing to unpack .../30-1-autopkgtest-satdep.deb ... 174s Unpacking autopkgtest-satdep (0) ... 174s Setting up python3-iniconfig (1.1.1-2) ... 174s Setting up python3-alabaster (0.7.12-1) ... 174s Setting up python3-tabulate (0.8.10-1) ... 174s Setting up python3-all (3.12.1-0ubuntu2) ... 174s Setting up python3-coverage (7.3.2-0ubuntu1) ... 175s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 175s Setting up python3-roman (3.3-3) ... 175s Setting up python3-packaging (23.2-1) ... 175s Setting up python3-snowballstemmer (2.2.0-4) ... 175s Setting up python3-pluggy (1.4.0-1) ... 175s Setting up libjson-perl (4.10000-1) ... 175s Setting up sgml-base (1.31) ... 175s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 175s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... 175s Setting up python3-soupsieve (2.5-1) ... 176s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 176s Setting up python3-imagesize (1.4.1-1) ... 176s Setting up python3-pytest (7.4.4-1) ... 176s Setting up python3-bs4 (4.12.3-1) ... 176s Setting up libjs-jquery-metadata (12-4) ... 176s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 176s Setting up libjs-sphinxdoc (7.2.6-4) ... 176s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... 176s Setting up xml-core (0.19) ... 176s Setting up python3-pytest-cov (4.1.0-1) ... 177s Setting up sphinx-common (7.2.6-4) ... 177s Processing triggers for man-db (2.12.0-3) ... 177s Processing triggers for sgml-base (1.31) ... 177s Setting up docutils-common (0.20.1+dfsg-3) ... 177s Processing triggers for sgml-base (1.31) ... 177s Setting up python3-docutils (0.20.1+dfsg-3) ... 178s Setting up python3-sphinx (7.2.6-4) ... 179s Setting up python3-numpydoc (1.6.0-1) ... 179s Setting up autopkgtest-satdep (0) ... 181s (Reading database ... 71845 files and directories currently installed.) 181s Removing autopkgtest-satdep (0) ... 182s autopkgtest [20:15:35]: test command1: set -e; for p in $(py3versions -s); do $p -m pytest numpydoc/; done 182s autopkgtest [20:15:35]: test command1: [----------------------- 184s ============================= test session starts ============================== 184s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 184s rootdir: /tmp/autopkgtest.7X2RCA/build.78Q/src 184s configfile: pyproject.toml 184s plugins: cov-4.1.0 184s collected 286 items 184s 184s numpydoc/numpydoc.py . [ 0%] 184s numpydoc/validate.py . [ 0%] 184s numpydoc/tests/test_docscrape.py ....................................... [ 14%] 185s ..................... [ 21%] 191s numpydoc/tests/test_full.py FF... [ 23%] 191s numpydoc/tests/test_main.py ....... [ 25%] 192s numpydoc/tests/test_numpydoc.py ............. [ 30%] 192s numpydoc/tests/test_validate.py ........................................ [ 44%] 192s ............................................................x..x........ [ 69%] 192s ........... [ 73%] 192s numpydoc/tests/test_xref.py ............................................ [ 88%] 192s ................... [ 95%] 192s numpydoc/tests/hooks/test_utils.py ..... [ 97%] 192s numpydoc/tests/hooks/test_validate_hook.py ........ [100%] 192s 192s =================================== FAILURES =================================== 192s _________________________________ test_MyClass _________________________________ 192s 192s sphinx_app = 192s 192s def test_MyClass(sphinx_app): 192s """Test that class documentation is reasonable.""" 192s src_dir, out_dir = sphinx_app.srcdir, sphinx_app.outdir 192s class_rst = op.join(src_dir, "generated", "numpydoc_test_module.MyClass.rst") 192s with open(class_rst) as fid: 192s rst = fid.read() 192s assert r"numpydoc\_test\_module" in rst # properly escaped 192s class_html = op.join(out_dir, "generated", "numpydoc_test_module.MyClass.html") 192s with open(class_html) as fid: 192s html = fid.read() 192s # ensure that no autodoc weirdness ($) occurs 192s assert "$self" not in html 192s assert "/," not in html 192s assert "__init__" in html # inherited 192s # escaped * chars should no longer be preceded by \'s, 192s # if we see a \* in the output we know it's incorrect: 192s assert r"\*" not in html 192s # "self" should not be in the parameter list for the class: 192s assert "self," not in html 192s # check xref was embedded properly (dict should link using xref): 192s > assert "stdtypes.html#dict" in html 192s E assert 'stdtypes.html#dict' in '\n\n\n \n \n Page source\n \n\n \n\n \n \n' 192s 192s class_html = '/tmp/pytest-of-ubuntu/pytest-0/root/_build/html/generated/numpydoc_test_module.MyClass.html' 192s class_rst = '/tmp/pytest-of-ubuntu/pytest-0/root/generated/numpydoc_test_module.MyClass.rst' 192s fid = <_io.TextIOWrapper name='/tmp/pytest-of-ubuntu/pytest-0/root/_build/html/generated/numpydoc_test_module.MyClass.html' mode='r' encoding='UTF-8'> 192s html = '\n\n\n \n \n Page source\n \n\n \n\n \n \n' 192s out_dir = _StrPath('/tmp/pytest-of-ubuntu/pytest-0/root/_build/html') 192s 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 ' 192s sphinx_app = 192s src_dir = _StrPath('/tmp/pytest-of-ubuntu/pytest-0/root') 192s 192s numpydoc/tests/test_full.py:62: AssertionError 192s ---------------------------- Captured stdout setup ----------------------------- 192s Running Sphinx v7.2.6 192s making output directory... done 192s loading intersphinx inventory from /usr/share/doc/python3/html/objects.inv... 192s [autosummary] generating autosummary for: index.rst 192s [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 192s building [mo]: targets for 0 po files that are out of date 192s writing output...  192s building [html]: targets for 1 source files that are out of date 192s updating environment: [new config] 3 added, 0 changed, 0 removed 192s reading sources... [ 33%] generated/numpydoc_test_module.MyClass reading sources... [ 67%] generated/numpydoc_test_module.my_function reading sources... [100%] index 192s looking for now-outdated files... none found 192s pickling environment... done 192s checking consistency... done 192s preparing documents... done 192s copying assets... copying static files... done 192s copying extra files... done 192s done 192s writing output... [ 33%] generated/numpydoc_test_module.MyClass writing output... [ 67%] generated/numpydoc_test_module.my_function writing output... [100%] index 192s generating indices... genindex py-modindex done 192s writing additional pages... search done 192s dumping search index in English (code: en)... done 192s dumping object inventory... done 192s build finished with problems, 6 warnings. 192s ---------------------------- Captured stderr setup ----------------------------- 192s WARNING: failed to reach any of the inventories with the following issues: 192s 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' 192s /tmp/autopkgtest.7X2RCA/build.78Q/src/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.MyClass:9: WARNING: term not in glossary: 'python:iterable' 192s /tmp/autopkgtest.7X2RCA/build.78Q/src/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.MyClass:21: WARNING: py:class reference target not found: python:dict 192s /tmp/autopkgtest.7X2RCA/build.78Q/src/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.my_function:9: WARNING: term not in glossary: 'python:iterable' 192s /tmp/autopkgtest.7X2RCA/build.78Q/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 192s /tmp/autopkgtest.7X2RCA/build.78Q/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 192s _______________________________ test_my_function _______________________________ 192s 192s sphinx_app = 192s 192s def test_my_function(sphinx_app): 192s """Test that function documentation is reasonable.""" 192s out_dir = sphinx_app.outdir 192s function_html = op.join( 192s out_dir, "generated", "numpydoc_test_module.my_function.html" 192s ) 192s with open(function_html) as fid: 192s html = fid.read() 192s assert r"\*args" not in html 192s assert "*args" in html 192s # check xref (iterable should link using xref): 192s > assert "glossary.html#term-iterable" in html 192s E assert 'glossary.html#term-iterable' in '\n\n\n \n \n Page source\n \n\n \n\n \n \n' 192s 192s 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'> 192s function_html = '/tmp/pytest-of-ubuntu/pytest-0/root/_build/html/generated/numpydoc_test_module.my_function.html' 192s html = '\n\n\n \n \n Page source\n \n\n \n\n \n \n' 192s out_dir = _StrPath('/tmp/pytest-of-ubuntu/pytest-0/root/_build/html') 192s sphinx_app = 192s 192s numpydoc/tests/test_full.py:76: AssertionError 192s =============================== warnings summary =============================== 192s ../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13 192s /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 192s from cgi import parse_header 192s 192s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 192s - generated xml file: /tmp/autopkgtest.7X2RCA/build.78Q/src/junit-results.xml -- 192s =========================== short test summary info ============================ 192s XFAIL numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadParameters-blank_lines-msgs30] 192s XFAIL numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadReturns-no_type-msgs33] 192s FAILED numpydoc/tests/test_full.py::test_MyClass - assert 'stdtypes.html#dict... 192s FAILED numpydoc/tests/test_full.py::test_my_function - assert 'glossary.html#... 192s ============= 2 failed, 282 passed, 2 xfailed, 1 warning in 9.90s ============== 193s autopkgtest [20:15:46]: test command1: -----------------------] 193s autopkgtest [20:15:46]: test command1: - - - - - - - - - - results - - - - - - - - - - 193s command1 FAIL non-zero exit status 1 194s autopkgtest [20:15:47]: @@@@@@@@@@@@@@@@@@@@ summary 194s command1 FAIL non-zero exit status 1 237s Creating nova instance adt-noble-ppc64el-numpydoc-20240320-201233-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-ppc64el-server-20240320.img (UUID 2c394bf3-261b-42bf-b2a7-4487c1d5a6ac)...