0s autopkgtest [08:55:22]: starting date and time: 2025-05-05 08:55:22+0000 0s autopkgtest [08:55:22]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [08:55:22]: host juju-7f2275-prod-proposed-migration-environment-21; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.xsjgfp8d/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:sphinx --apt-upgrade numpydoc --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-21@sto01-s390x-4.secgroup --name adt-questing-s390x-numpydoc-20250505-085522-juju-7f2275-prod-proposed-migration-environment-21-fa0f9541-15e2-4ddc-87f6-289fe82240e7 --image adt/ubuntu-questing-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-21 --net-id=net_prod-autopkgtest-workers-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 287s autopkgtest [09:00:09]: testbed dpkg architecture: s390x 288s autopkgtest [09:00:10]: testbed apt version: 3.0.0 289s autopkgtest [09:00:11]: @@@@@@@@@@@@@@@@@@@@ test bed setup 289s autopkgtest [09:00:11]: testbed release detected to be: None 291s autopkgtest [09:00:13]: updating testbed package index (apt update) 292s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 292s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 292s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 292s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 293s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [32.2 kB] 293s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [91.4 kB] 294s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [931 kB] 294s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x Packages [117 kB] 294s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe s390x Packages [897 kB] 294s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse s390x Packages [15.3 kB] 296s Fetched 2194 kB in 4s (567 kB/s) 303s Reading package lists... 305s autopkgtest [09:00:27]: upgrading testbed (apt dist-upgrade and autopurge) 306s Reading package lists... 307s Building dependency tree... 307s Reading state information... 309s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 309s Starting 2 pkgProblemResolver with broken count: 0 309s Done 312s Entering ResolveByKeep 313s 313s Calculating upgrade... 314s The following packages will be upgraded: 314s diffutils gettext-base libgpg-error-l10n libgpg-error0 libperl5.40 314s libselinux1 netbase perl perl-base perl-modules-5.40 python3-attr 314s 11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 314s Need to get 10.9 MB of archives. 314s After this operation, 14.3 kB of additional disk space will be used. 314s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x diffutils s390x 1:3.10-4 [199 kB] 315s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libperl5.40 s390x 5.40.1-3 [4972 kB] 316s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main s390x perl s390x 5.40.1-3 [262 kB] 316s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main s390x perl-base s390x 5.40.1-3 [1954 kB] 316s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main s390x perl-modules-5.40 all 5.40.1-3 [3217 kB] 317s Get:6 http://ftpmaster.internal/ubuntu questing/main s390x libselinux1 s390x 3.8.1-1 [94.2 kB] 317s Get:7 http://ftpmaster.internal/ubuntu questing/main s390x libgpg-error-l10n all 1.51-4 [8880 B] 317s Get:8 http://ftpmaster.internal/ubuntu questing/main s390x libgpg-error0 s390x 1.51-4 [80.3 kB] 317s Get:9 http://ftpmaster.internal/ubuntu questing/main s390x netbase all 6.5 [12.9 kB] 317s Get:10 http://ftpmaster.internal/ubuntu questing/main s390x gettext-base s390x 0.23.1-2 [42.3 kB] 317s Get:11 http://ftpmaster.internal/ubuntu questing/main s390x python3-attr all 25.3.0-1 [50.9 kB] 321s Fetched 10.9 MB in 2s (4521 kB/s) 330s (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.) 330s Preparing to unpack .../diffutils_1%3a3.10-4_s390x.deb ... 330s Unpacking diffutils (1:3.10-4) over (1:3.10-3) ... 330s Setting up diffutils (1:3.10-4) ... 331s (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.) 331s Preparing to unpack .../libperl5.40_5.40.1-3_s390x.deb ... 331s Unpacking libperl5.40:s390x (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 338s Preparing to unpack .../perl_5.40.1-3_s390x.deb ... 338s Unpacking perl (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 339s Preparing to unpack .../perl-base_5.40.1-3_s390x.deb ... 339s Unpacking perl-base (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 343s Setting up perl-base (5.40.1-3) ... 343s (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.) 343s Preparing to unpack .../perl-modules-5.40_5.40.1-3_all.deb ... 343s Unpacking perl-modules-5.40 (5.40.1-3) over (5.40.1-2ubuntu0.1) ... 357s Preparing to unpack .../libselinux1_3.8.1-1_s390x.deb ... 357s Unpacking libselinux1:s390x (3.8.1-1) over (3.7-3ubuntu3) ... 357s Setting up libselinux1:s390x (3.8.1-1) ... 357s (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.) 357s Preparing to unpack .../libgpg-error-l10n_1.51-4_all.deb ... 357s Unpacking libgpg-error-l10n (1.51-4) over (1.51-3) ... 357s Preparing to unpack .../libgpg-error0_1.51-4_s390x.deb ... 357s Unpacking libgpg-error0:s390x (1.51-4) over (1.51-3) ... 358s Setting up libgpg-error0:s390x (1.51-4) ... 358s (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.) 358s Preparing to unpack .../archives/netbase_6.5_all.deb ... 358s Unpacking netbase (6.5) over (6.4) ... 358s Preparing to unpack .../gettext-base_0.23.1-2_s390x.deb ... 358s Unpacking gettext-base (0.23.1-2) over (0.23.1-1) ... 359s Preparing to unpack .../python3-attr_25.3.0-1_all.deb ... 359s Unpacking python3-attr (25.3.0-1) over (25.1.0-1) ... 360s Setting up python3-attr (25.3.0-1) ... 361s Setting up gettext-base (0.23.1-2) ... 361s Setting up perl-modules-5.40 (5.40.1-3) ... 361s Setting up netbase (6.5) ... 361s Installing new version of config file /etc/ethertypes ... 361s Installing new version of config file /etc/services ... 361s Setting up libgpg-error-l10n (1.51-4) ... 361s Setting up libperl5.40:s390x (5.40.1-3) ... 361s Setting up perl (5.40.1-3) ... 361s Processing triggers for libc-bin (2.41-6ubuntu1) ... 364s Processing triggers for man-db (2.13.1-1) ... 382s Processing triggers for install-info (7.1.1-1) ... 384s Reading package lists... 386s Building dependency tree... 386s Reading state information... 387s Starting pkgProblemResolver with broken count: 0 388s Starting 2 pkgProblemResolver with broken count: 0 388s Done 389s Solving dependencies... 390s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 397s autopkgtest [09:01:59]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP Sun Apr 6 13:39:00 UTC 2025 397s autopkgtest [09:01:59]: @@@@@@@@@@@@@@@@@@@@ apt-source numpydoc 401s Get:1 http://ftpmaster.internal/ubuntu questing/universe numpydoc 1.8.0-1 (dsc) [2370 B] 401s Get:2 http://ftpmaster.internal/ubuntu questing/universe numpydoc 1.8.0-1 (tar) [90.4 kB] 401s Get:3 http://ftpmaster.internal/ubuntu questing/universe numpydoc 1.8.0-1 (diff) [5120 B] 405s gpgv: Signature made Mon Nov 25 22:56:09 2024 UTC 405s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 405s gpgv: issuer "tchet@debian.org" 405s gpgv: Can't check signature: No public key 405s dpkg-source: warning: cannot verify inline signature for ./numpydoc_1.8.0-1.dsc: no acceptable signature found 405s autopkgtest [09:02:07]: testing package numpydoc version 1.8.0-1 405s autopkgtest [09:02:07]: build not needed 406s autopkgtest [09:02:08]: test command1: preparing testbed 407s Reading package lists... 408s Building dependency tree... 408s Reading state information... 410s Starting pkgProblemResolver with broken count: 0 410s Starting 2 pkgProblemResolver with broken count: 0 410s Done 413s The following NEW packages will be installed: 413s docutils-common libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 413s libjs-jquery-metadata libjs-jquery-tablesorter 413s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore libjson-perl 413s python3-alabaster python3-all python3-bs4 python3-coverage 413s python3-defusedxml python3-doc python3-docutils python3-imagesize 413s python3-iniconfig python3-numpydoc python3-pluggy python3-pytest 413s python3-pytest-cov python3-roman python3-roman-numerals 413s python3-snowballstemmer python3-soupsieve python3-sphinx python3-tabulate 413s python3.13-doc sgml-base sphinx-common xml-core 413s 0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded. 413s Need to get 17.6 MB of archives. 413s After this operation, 90.6 MB of additional disk space will be used. 413s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x sgml-base all 1.31+nmu1 [11.0 kB] 413s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x xml-core all 0.19 [20.3 kB] 413s Get:3 http://ftpmaster.internal/ubuntu questing/main s390x docutils-common all 0.21.2+dfsg-2 [131 kB] 413s Get:4 http://ftpmaster.internal/ubuntu questing/main s390x libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 413s Get:5 http://ftpmaster.internal/ubuntu questing/universe s390x libjs-jquery-metadata all 12-4 [6582 B] 413s Get:6 http://ftpmaster.internal/ubuntu questing/universe s390x libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 413s Get:7 http://ftpmaster.internal/ubuntu questing/universe s390x libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 413s Get:8 http://ftpmaster.internal/ubuntu questing/main s390x libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 413s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libjs-sphinxdoc all 8.2.3-1 [27.8 kB] 413s Get:10 http://ftpmaster.internal/ubuntu questing/main s390x libjson-perl all 4.10000-1 [81.9 kB] 413s Get:11 http://ftpmaster.internal/ubuntu questing/main s390x python3-all s390x 3.13.3-1 [882 B] 413s Get:12 http://ftpmaster.internal/ubuntu questing/main s390x python3-soupsieve all 2.7-1 [33.5 kB] 413s Get:13 http://ftpmaster.internal/ubuntu questing/main s390x python3-bs4 all 4.13.4-1 [137 kB] 413s Get:14 http://ftpmaster.internal/ubuntu questing/universe s390x python3-coverage s390x 7.6.0+dfsg1-2build1 [153 kB] 413s Get:15 http://ftpmaster.internal/ubuntu questing/main s390x python3-defusedxml all 0.7.1-3 [42.2 kB] 413s Get:16 http://ftpmaster.internal/ubuntu questing/main s390x python3.13-doc all 3.13.3-1 [14.2 MB] 421s Get:17 http://ftpmaster.internal/ubuntu questing/main s390x python3-doc all 3.13.3-1 [10.7 kB] 421s Get:18 http://ftpmaster.internal/ubuntu questing/main s390x python3-roman all 5.0-1 [10.3 kB] 421s Get:19 http://ftpmaster.internal/ubuntu questing/main s390x python3-docutils all 0.21.2+dfsg-2 [409 kB] 421s Get:20 http://ftpmaster.internal/ubuntu questing/main s390x python3-imagesize all 1.4.1-1 [6844 B] 421s Get:21 http://ftpmaster.internal/ubuntu questing/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 421s Get:22 http://ftpmaster.internal/ubuntu questing-proposed/main s390x sphinx-common all 8.2.3-1 [656 kB] 422s Get:23 http://ftpmaster.internal/ubuntu questing/main s390x python3-alabaster all 0.7.16-0.1 [18.5 kB] 422s Get:24 http://ftpmaster.internal/ubuntu questing/universe s390x python3-roman-numerals all 3.1.0-1ubuntu1 [8432 B] 422s Get:25 http://ftpmaster.internal/ubuntu questing/main s390x python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 422s Get:26 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3-sphinx all 8.2.3-1 [482 kB] 422s Get:27 http://ftpmaster.internal/ubuntu questing/main s390x python3-tabulate all 0.9.0-1 [45.3 kB] 422s Get:28 http://ftpmaster.internal/ubuntu questing/universe s390x python3-numpydoc all 1.8.0-1 [52.4 kB] 422s Get:29 http://ftpmaster.internal/ubuntu questing/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 422s Get:30 http://ftpmaster.internal/ubuntu questing/universe s390x python3-pytest all 8.3.5-1 [252 kB] 422s Get:31 http://ftpmaster.internal/ubuntu questing/universe s390x libjs-jquery-hotkeys all 0.2.0-1 [13.3 kB] 422s Get:32 http://ftpmaster.internal/ubuntu questing/universe s390x libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 422s Get:33 http://ftpmaster.internal/ubuntu questing/universe s390x python3-pytest-cov all 5.0.0-1 [21.3 kB] 424s Fetched 17.6 MB in 9s (1953 kB/s) 424s Selecting previously unselected package sgml-base. 424s (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.) 424s Preparing to unpack .../00-sgml-base_1.31+nmu1_all.deb ... 424s Unpacking sgml-base (1.31+nmu1) ... 425s Selecting previously unselected package xml-core. 425s Preparing to unpack .../01-xml-core_0.19_all.deb ... 425s Unpacking xml-core (0.19) ... 426s Selecting previously unselected package docutils-common. 426s Preparing to unpack .../02-docutils-common_0.21.2+dfsg-2_all.deb ... 427s Unpacking docutils-common (0.21.2+dfsg-2) ... 427s Selecting previously unselected package libjs-jquery. 427s Preparing to unpack .../03-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 427s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 427s Selecting previously unselected package libjs-jquery-metadata. 427s Preparing to unpack .../04-libjs-jquery-metadata_12-4_all.deb ... 427s Unpacking libjs-jquery-metadata (12-4) ... 428s Selecting previously unselected package libjs-jquery-tablesorter. 428s Preparing to unpack .../05-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 428s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 428s Selecting previously unselected package libjs-jquery-throttle-debounce. 428s Preparing to unpack .../06-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 428s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 428s Selecting previously unselected package libjs-underscore. 428s Preparing to unpack .../07-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 428s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 428s Selecting previously unselected package libjs-sphinxdoc. 428s Preparing to unpack .../08-libjs-sphinxdoc_8.2.3-1_all.deb ... 428s Unpacking libjs-sphinxdoc (8.2.3-1) ... 428s Selecting previously unselected package libjson-perl. 428s Preparing to unpack .../09-libjson-perl_4.10000-1_all.deb ... 428s Unpacking libjson-perl (4.10000-1) ... 428s Selecting previously unselected package python3-all. 428s Preparing to unpack .../10-python3-all_3.13.3-1_s390x.deb ... 428s Unpacking python3-all (3.13.3-1) ... 428s Selecting previously unselected package python3-soupsieve. 428s Preparing to unpack .../11-python3-soupsieve_2.7-1_all.deb ... 428s Unpacking python3-soupsieve (2.7-1) ... 428s Selecting previously unselected package python3-bs4. 428s Preparing to unpack .../12-python3-bs4_4.13.4-1_all.deb ... 428s Unpacking python3-bs4 (4.13.4-1) ... 429s Selecting previously unselected package python3-coverage. 429s Preparing to unpack .../13-python3-coverage_7.6.0+dfsg1-2build1_s390x.deb ... 429s Unpacking python3-coverage (7.6.0+dfsg1-2build1) ... 429s Selecting previously unselected package python3-defusedxml. 429s Preparing to unpack .../14-python3-defusedxml_0.7.1-3_all.deb ... 429s Unpacking python3-defusedxml (0.7.1-3) ... 429s Selecting previously unselected package python3.13-doc. 430s Preparing to unpack .../15-python3.13-doc_3.13.3-1_all.deb ... 430s Unpacking python3.13-doc (3.13.3-1) ... 434s Selecting previously unselected package python3-doc. 434s Preparing to unpack .../16-python3-doc_3.13.3-1_all.deb ... 434s Unpacking python3-doc (3.13.3-1) ... 434s Selecting previously unselected package python3-roman. 435s Preparing to unpack .../17-python3-roman_5.0-1_all.deb ... 435s Unpacking python3-roman (5.0-1) ... 435s Selecting previously unselected package python3-docutils. 435s Preparing to unpack .../18-python3-docutils_0.21.2+dfsg-2_all.deb ... 435s Unpacking python3-docutils (0.21.2+dfsg-2) ... 435s Selecting previously unselected package python3-imagesize. 435s Preparing to unpack .../19-python3-imagesize_1.4.1-1_all.deb ... 435s Unpacking python3-imagesize (1.4.1-1) ... 435s Selecting previously unselected package python3-iniconfig. 435s Preparing to unpack .../20-python3-iniconfig_1.1.1-2_all.deb ... 435s Unpacking python3-iniconfig (1.1.1-2) ... 435s Selecting previously unselected package sphinx-common. 435s Preparing to unpack .../21-sphinx-common_8.2.3-1_all.deb ... 435s Unpacking sphinx-common (8.2.3-1) ... 438s Selecting previously unselected package python3-alabaster. 438s Preparing to unpack .../22-python3-alabaster_0.7.16-0.1_all.deb ... 438s Unpacking python3-alabaster (0.7.16-0.1) ... 438s Selecting previously unselected package python3-roman-numerals. 438s Preparing to unpack .../23-python3-roman-numerals_3.1.0-1ubuntu1_all.deb ... 438s Unpacking python3-roman-numerals (3.1.0-1ubuntu1) ... 438s Selecting previously unselected package python3-snowballstemmer. 438s Preparing to unpack .../24-python3-snowballstemmer_2.2.0-4build1_all.deb ... 438s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 438s Selecting previously unselected package python3-sphinx. 438s Preparing to unpack .../25-python3-sphinx_8.2.3-1_all.deb ... 438s Unpacking python3-sphinx (8.2.3-1) ... 439s Selecting previously unselected package python3-tabulate. 439s Preparing to unpack .../26-python3-tabulate_0.9.0-1_all.deb ... 439s Unpacking python3-tabulate (0.9.0-1) ... 439s Selecting previously unselected package python3-numpydoc. 439s Preparing to unpack .../27-python3-numpydoc_1.8.0-1_all.deb ... 439s Unpacking python3-numpydoc (1.8.0-1) ... 439s Selecting previously unselected package python3-pluggy. 439s Preparing to unpack .../28-python3-pluggy_1.5.0-1_all.deb ... 439s Unpacking python3-pluggy (1.5.0-1) ... 439s Selecting previously unselected package python3-pytest. 439s Preparing to unpack .../29-python3-pytest_8.3.5-1_all.deb ... 439s Unpacking python3-pytest (8.3.5-1) ... 439s Selecting previously unselected package libjs-jquery-hotkeys. 439s Preparing to unpack .../30-libjs-jquery-hotkeys_0.2.0-1_all.deb ... 439s Unpacking libjs-jquery-hotkeys (0.2.0-1) ... 439s Selecting previously unselected package libjs-jquery-isonscreen. 439s Preparing to unpack .../31-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 439s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 439s Selecting previously unselected package python3-pytest-cov. 439s Preparing to unpack .../32-python3-pytest-cov_5.0.0-1_all.deb ... 439s Unpacking python3-pytest-cov (5.0.0-1) ... 440s Setting up python3-iniconfig (1.1.1-2) ... 440s Setting up python3-defusedxml (0.7.1-3) ... 441s Setting up python3-alabaster (0.7.16-0.1) ... 442s Setting up python3-tabulate (0.9.0-1) ... 443s Setting up python3-all (3.13.3-1) ... 443s Setting up python3-coverage (7.6.0+dfsg1-2build1) ... 444s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 444s Setting up python3-roman (5.0-1) ... 445s Setting up python3-snowballstemmer (2.2.0-4build1) ... 447s Setting up python3-pluggy (1.5.0-1) ... 448s Setting up libjson-perl (4.10000-1) ... 448s Setting up python3-roman-numerals (3.1.0-1ubuntu1) ... 448s Setting up sgml-base (1.31+nmu1) ... 449s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 449s Setting up libjs-jquery-hotkeys (0.2.0-1) ... 449s Setting up python3-soupsieve (2.7-1) ... 449s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 449s Setting up python3-imagesize (1.4.1-1) ... 450s Setting up python3-pytest (8.3.5-1) ... 452s Setting up python3-bs4 (4.13.4-1) ... 455s Setting up python3.13-doc (3.13.3-1) ... 455s Setting up libjs-jquery-metadata (12-4) ... 455s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 455s Setting up libjs-sphinxdoc (8.2.3-1) ... 455s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 455s Setting up xml-core (0.19) ... 456s Setting up python3-doc (3.13.3-1) ... 456s Setting up python3-pytest-cov (5.0.0-1) ... 457s Setting up sphinx-common (8.2.3-1) ... 457s Processing triggers for install-info (7.1.1-1) ... 459s Processing triggers for man-db (2.13.1-1) ... 469s Processing triggers for sgml-base (1.31+nmu1) ... 469s Setting up docutils-common (0.21.2+dfsg-2) ... 469s Processing triggers for sgml-base (1.31+nmu1) ... 470s Setting up python3-docutils (0.21.2+dfsg-2) ... 472s Setting up python3-sphinx (8.2.3-1) ... 476s Setting up python3-numpydoc (1.8.0-1) ... 480s autopkgtest [09:03:22]: test command1: set -e; for p in $(py3versions -s); do $p -m pytest numpydoc/; done 480s autopkgtest [09:03:22]: test command1: [----------------------- 488s ============================= test session starts ============================== 488s platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 488s rootdir: /tmp/autopkgtest.lb2Di5/build.ua7/src 488s configfile: pyproject.toml 488s plugins: cov-5.0.0, typeguard-4.4.2 488s collected 295 items 488s 488s numpydoc/numpydoc.py . [ 0%] 488s numpydoc/tests/hooks/test_utils.py ..... [ 2%] 488s numpydoc/tests/hooks/test_validate_hook.py ....... [ 4%] 490s numpydoc/tests/test_docscrape.py ....................................... [ 17%] 491s ....................... [ 25%] 499s numpydoc/tests/test_full.py ..... [ 27%] 499s numpydoc/tests/test_main.py .......... [ 30%] 503s numpydoc/tests/test_numpydoc.py FF.FFFFFFF... [ 34%] 503s numpydoc/tests/test_validate.py ........................................ [ 48%] 505s ................................................................x..x.... [ 72%] 505s ................ [ 78%] 506s numpydoc/tests/test_xref.py ............................................ [ 93%] 507s ................... [ 99%] 507s numpydoc/validate.py . [100%] 507s 507s =================================== FAILURES =================================== 507s _________________________ test_mangle_docstrings_basic _________________________ 507s 507s def test_mangle_docstrings_basic(): 507s s = """ 507s A top section before 507s 507s .. autoclass:: str 507s """ 507s lines = s.split("\n") 507s > mangle_docstrings(MockApp(), "class", "str", str, {}, lines) 507s 507s lines = ['', 'A top section before', '', '.. autoclass:: str', ' '] 507s s = '\nA top section before\n\n.. autoclass:: str\n ' 507s 507s numpydoc/tests/test_numpydoc.py:62: 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s numpydoc/numpydoc.py:194: in mangle_docstrings 507s doc = get_doc_object( 507s app = 507s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s lines = ['', 'A top section before', '', '.. autoclass:: str', ' '] 507s name = 'str' 507s obj = 507s options = {} 507s show_inherited_class_members = True 507s u_NL = '\n' 507s what = 'class' 507s numpydoc/docscrape_sphinx.py:417: in get_doc_object 507s template_loader.init(builder, dirs=template_dirs) 507s builder = 507s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s doc = '\nA top section before\n\n.. autoclass:: str\n ' 507s obj = 507s template_dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s template_loader = 507s what = 'class' 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s 507s self = 507s builder = , theme = None 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s 507s def init( 507s self, 507s builder: Builder, 507s theme: Theme | None = None, 507s dirs: list[str] | None = None, 507s ) -> None: 507s # create a chain of paths to search 507s if theme: 507s # the theme's own dir and its bases' dirs 507s pathchain = theme.get_theme_dirs() 507s # the loader dirs: pathchain + the parent directories for all themes 507s loaderchain = pathchain + [p.parent for p in pathchain] 507s elif dirs: 507s pathchain = list(map(_StrPath, dirs)) 507s loaderchain = list(map(_StrPath, dirs)) 507s else: 507s pathchain = [] 507s loaderchain = [] 507s 507s # prepend explicit template paths 507s self.templatepathlen = len(builder.config.templates_path) 507s if builder.config.templates_path: 507s cfg_templates_path = [ 507s builder.confdir / tp for tp in builder.config.templates_path 507s ] 507s pathchain[0:0] = cfg_templates_path 507s loaderchain[0:0] = cfg_templates_path 507s 507s # store it for use in newest_template_mtime 507s self.pathchain = pathchain 507s 507s # make the paths into loaders 507s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 507s 507s > use_i18n = builder._translator is not None 507s E AttributeError: 'MockBuilder' object has no attribute '_translator' 507s 507s builder = 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s loaderchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s pathchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s self = 507s theme = None 507s 507s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 507s ----------------------------- Captured stderr call ----------------------------- 507s ERROR: [numpydoc] While processing docstring for 'str' 507s ________________ test_mangle_docstrings_inherited_class_members ________________ 507s 507s def test_mangle_docstrings_inherited_class_members(): 507s # if subclass docs are rendered, this PosixPath should have Path.samefile 507s p = """ 507s A top section before 507s 507s .. autoclass:: pathlib.PosixPath 507s """ 507s lines = p.split("\n") 507s app = MockApp() 507s > mangle_docstrings(app, "class", "pathlib.PosixPath", PosixPath, {}, lines) 507s 507s app = 507s lines = ['', 'A top section before', '', '.. autoclass:: pathlib.PosixPath', ''] 507s p = '\nA top section before\n\n.. autoclass:: pathlib.PosixPath\n' 507s 507s numpydoc/tests/test_numpydoc.py:92: 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s numpydoc/numpydoc.py:194: in mangle_docstrings 507s doc = get_doc_object( 507s app = 507s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s lines = ['', 'A top section before', '', '.. autoclass:: pathlib.PosixPath', ''] 507s name = 'pathlib.PosixPath' 507s obj = 507s options = {} 507s show_inherited_class_members = True 507s u_NL = '\n' 507s what = 'class' 507s numpydoc/docscrape_sphinx.py:417: in get_doc_object 507s template_loader.init(builder, dirs=template_dirs) 507s builder = 507s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s doc = '\nA top section before\n\n.. autoclass:: pathlib.PosixPath\n' 507s obj = 507s template_dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s template_loader = 507s what = 'class' 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s 507s self = 507s builder = , theme = None 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s 507s def init( 507s self, 507s builder: Builder, 507s theme: Theme | None = None, 507s dirs: list[str] | None = None, 507s ) -> None: 507s # create a chain of paths to search 507s if theme: 507s # the theme's own dir and its bases' dirs 507s pathchain = theme.get_theme_dirs() 507s # the loader dirs: pathchain + the parent directories for all themes 507s loaderchain = pathchain + [p.parent for p in pathchain] 507s elif dirs: 507s pathchain = list(map(_StrPath, dirs)) 507s loaderchain = list(map(_StrPath, dirs)) 507s else: 507s pathchain = [] 507s loaderchain = [] 507s 507s # prepend explicit template paths 507s self.templatepathlen = len(builder.config.templates_path) 507s if builder.config.templates_path: 507s cfg_templates_path = [ 507s builder.confdir / tp for tp in builder.config.templates_path 507s ] 507s pathchain[0:0] = cfg_templates_path 507s loaderchain[0:0] = cfg_templates_path 507s 507s # store it for use in newest_template_mtime 507s self.pathchain = pathchain 507s 507s # make the paths into loaders 507s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 507s 507s > use_i18n = builder._translator is not None 507s E AttributeError: 'MockBuilder' object has no attribute '_translator' 507s 507s builder = 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s loaderchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s pathchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s self = 507s theme = None 507s 507s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 507s ----------------------------- Captured stderr call ----------------------------- 507s ERROR: [numpydoc] While processing docstring for 'pathlib.PosixPath' 507s _ test_mangle_docstring_validation_warnings[numpydoc_validation_checks0-expected_warn0-non_warnings0] _ 507s 507s f = ._function_without_seealso_and_examples at 0x3ffb131e0c0> 507s numpydoc_validation_checks = set(), expected_warn = [], non_warnings = [] 507s 507s @pytest.mark.parametrize( 507s ( 507s "numpydoc_validation_checks", 507s "expected_warn", 507s "non_warnings", 507s ), 507s ( 507s # Validation configured off - expect no warnings 507s (set(), [], []), 507s # Validation on with expected warnings 507s ({"SA01", "EX01"}, ("SA01", "EX01"), []), 507s # Validation on with only one activated check 507s ({"SA01"}, ("SA01",), ("EX01",)), 507s ), 507s ) 507s def test_mangle_docstring_validation_warnings( 507s f, 507s numpydoc_validation_checks, 507s expected_warn, 507s non_warnings, 507s ): 507s app = MockApp() 507s # Set up config for test 507s app.config.numpydoc_validation_checks = numpydoc_validation_checks 507s # Update configuration 507s update_config(app) 507s # Set up logging 507s status, warning = StringIO(), StringIO() 507s logging.setup(app, status, warning) 507s # Run mangle docstrings with the above configuration 507s > mangle_docstrings(app, "function", "f", f, None, f.__doc__.split("\n")) 507s 507s app = 507s expected_warn = [] 507s f = ._function_without_seealso_and_examples at 0x3ffb131e0c0> 507s non_warnings = [] 507s numpydoc_validation_checks = set() 507s status = <_io.StringIO object at 0x3ffb1315540> 507s warning = <_io.StringIO object at 0x3ffb13156c0> 507s 507s numpydoc/tests/test_numpydoc.py:188: 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s numpydoc/numpydoc.py:194: in mangle_docstrings 507s doc = get_doc_object( 507s app = 507s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s lines = ['', 'A function whose docstring has no examples or see also section.', '', 'Expect SA01 and EX01 errors if validation enabled.', ''] 507s name = 'f' 507s obj = ._function_without_seealso_and_examples at 0x3ffb131e0c0> 507s options = None 507s show_inherited_class_members = True 507s u_NL = '\n' 507s what = 'function' 507s numpydoc/docscrape_sphinx.py:417: in get_doc_object 507s template_loader.init(builder, dirs=template_dirs) 507s builder = 507s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s doc = '\nA function whose docstring has no examples or see also section.\n\nExpect SA01 and EX01 errors if validation enabled.\n' 507s obj = ._function_without_seealso_and_examples at 0x3ffb131e0c0> 507s template_dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s template_loader = 507s what = 'function' 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s 507s self = 507s builder = , theme = None 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s 507s def init( 507s self, 507s builder: Builder, 507s theme: Theme | None = None, 507s dirs: list[str] | None = None, 507s ) -> None: 507s # create a chain of paths to search 507s if theme: 507s # the theme's own dir and its bases' dirs 507s pathchain = theme.get_theme_dirs() 507s # the loader dirs: pathchain + the parent directories for all themes 507s loaderchain = pathchain + [p.parent for p in pathchain] 507s elif dirs: 507s pathchain = list(map(_StrPath, dirs)) 507s loaderchain = list(map(_StrPath, dirs)) 507s else: 507s pathchain = [] 507s loaderchain = [] 507s 507s # prepend explicit template paths 507s self.templatepathlen = len(builder.config.templates_path) 507s if builder.config.templates_path: 507s cfg_templates_path = [ 507s builder.confdir / tp for tp in builder.config.templates_path 507s ] 507s pathchain[0:0] = cfg_templates_path 507s loaderchain[0:0] = cfg_templates_path 507s 507s # store it for use in newest_template_mtime 507s self.pathchain = pathchain 507s 507s # make the paths into loaders 507s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 507s 507s > use_i18n = builder._translator is not None 507s E AttributeError: 'MockBuilder' object has no attribute '_translator' 507s 507s builder = 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s loaderchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s pathchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s self = 507s theme = None 507s 507s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 507s _ test_mangle_docstring_validation_warnings[numpydoc_validation_checks1-expected_warn1-non_warnings1] _ 507s 507s f = ._function_without_seealso_and_examples at 0x3ffb1737560> 507s numpydoc_validation_checks = {'EX01', 'SA01'}, expected_warn = ('SA01', 'EX01') 507s non_warnings = [] 507s 507s @pytest.mark.parametrize( 507s ( 507s "numpydoc_validation_checks", 507s "expected_warn", 507s "non_warnings", 507s ), 507s ( 507s # Validation configured off - expect no warnings 507s (set(), [], []), 507s # Validation on with expected warnings 507s ({"SA01", "EX01"}, ("SA01", "EX01"), []), 507s # Validation on with only one activated check 507s ({"SA01"}, ("SA01",), ("EX01",)), 507s ), 507s ) 507s def test_mangle_docstring_validation_warnings( 507s f, 507s numpydoc_validation_checks, 507s expected_warn, 507s non_warnings, 507s ): 507s app = MockApp() 507s # Set up config for test 507s app.config.numpydoc_validation_checks = numpydoc_validation_checks 507s # Update configuration 507s update_config(app) 507s # Set up logging 507s status, warning = StringIO(), StringIO() 507s logging.setup(app, status, warning) 507s # Run mangle docstrings with the above configuration 507s > mangle_docstrings(app, "function", "f", f, None, f.__doc__.split("\n")) 507s 507s app = 507s expected_warn = ('SA01', 'EX01') 507s f = ._function_without_seealso_and_examples at 0x3ffb1737560> 507s non_warnings = [] 507s numpydoc_validation_checks = {'EX01', 'SA01'} 507s status = <_io.StringIO object at 0x3ffb26fb400> 507s warning = <_io.StringIO object at 0x3ffb26fb700> 507s 507s numpydoc/tests/test_numpydoc.py:188: 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s numpydoc/numpydoc.py:194: in mangle_docstrings 507s doc = get_doc_object( 507s app = 507s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s lines = ['', 'A function whose docstring has no examples or see also section.', '', 'Expect SA01 and EX01 errors if validation enabled.', ''] 507s name = 'f' 507s obj = ._function_without_seealso_and_examples at 0x3ffb1737560> 507s options = None 507s show_inherited_class_members = True 507s u_NL = '\n' 507s what = 'function' 507s numpydoc/docscrape_sphinx.py:417: in get_doc_object 507s template_loader.init(builder, dirs=template_dirs) 507s builder = 507s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s doc = '\nA function whose docstring has no examples or see also section.\n\nExpect SA01 and EX01 errors if validation enabled.\n' 507s obj = ._function_without_seealso_and_examples at 0x3ffb1737560> 507s template_dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s template_loader = 507s what = 'function' 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s 507s self = 507s builder = , theme = None 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s 507s def init( 507s self, 507s builder: Builder, 507s theme: Theme | None = None, 507s dirs: list[str] | None = None, 507s ) -> None: 507s # create a chain of paths to search 507s if theme: 507s # the theme's own dir and its bases' dirs 507s pathchain = theme.get_theme_dirs() 507s # the loader dirs: pathchain + the parent directories for all themes 507s loaderchain = pathchain + [p.parent for p in pathchain] 507s elif dirs: 507s pathchain = list(map(_StrPath, dirs)) 507s loaderchain = list(map(_StrPath, dirs)) 507s else: 507s pathchain = [] 507s loaderchain = [] 507s 507s # prepend explicit template paths 507s self.templatepathlen = len(builder.config.templates_path) 507s if builder.config.templates_path: 507s cfg_templates_path = [ 507s builder.confdir / tp for tp in builder.config.templates_path 507s ] 507s pathchain[0:0] = cfg_templates_path 507s loaderchain[0:0] = cfg_templates_path 507s 507s # store it for use in newest_template_mtime 507s self.pathchain = pathchain 507s 507s # make the paths into loaders 507s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 507s 507s > use_i18n = builder._translator is not None 507s E AttributeError: 'MockBuilder' object has no attribute '_translator' 507s 507s builder = 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s loaderchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s pathchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s self = 507s theme = None 507s 507s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 507s _ test_mangle_docstring_validation_warnings[numpydoc_validation_checks2-expected_warn2-non_warnings2] _ 507s 507s f = ._function_without_seealso_and_examples at 0x3ffb17340e0> 507s numpydoc_validation_checks = {'SA01'}, expected_warn = ('SA01',) 507s non_warnings = ('EX01',) 507s 507s @pytest.mark.parametrize( 507s ( 507s "numpydoc_validation_checks", 507s "expected_warn", 507s "non_warnings", 507s ), 507s ( 507s # Validation configured off - expect no warnings 507s (set(), [], []), 507s # Validation on with expected warnings 507s ({"SA01", "EX01"}, ("SA01", "EX01"), []), 507s # Validation on with only one activated check 507s ({"SA01"}, ("SA01",), ("EX01",)), 507s ), 507s ) 507s def test_mangle_docstring_validation_warnings( 507s f, 507s numpydoc_validation_checks, 507s expected_warn, 507s non_warnings, 507s ): 507s app = MockApp() 507s # Set up config for test 507s app.config.numpydoc_validation_checks = numpydoc_validation_checks 507s # Update configuration 507s update_config(app) 507s # Set up logging 507s status, warning = StringIO(), StringIO() 507s logging.setup(app, status, warning) 507s # Run mangle docstrings with the above configuration 507s > mangle_docstrings(app, "function", "f", f, None, f.__doc__.split("\n")) 507s 507s app = 507s expected_warn = ('SA01',) 507s f = ._function_without_seealso_and_examples at 0x3ffb17340e0> 507s non_warnings = ('EX01',) 507s numpydoc_validation_checks = {'SA01'} 507s status = <_io.StringIO object at 0x3ffb1314d00> 507s warning = <_io.StringIO object at 0x3ffb1314c40> 507s 507s numpydoc/tests/test_numpydoc.py:188: 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s numpydoc/numpydoc.py:194: in mangle_docstrings 507s doc = get_doc_object( 507s app = 507s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s lines = ['', 'A function whose docstring has no examples or see also section.', '', 'Expect SA01 and EX01 errors if validation enabled.', ''] 507s name = 'f' 507s obj = ._function_without_seealso_and_examples at 0x3ffb17340e0> 507s options = None 507s show_inherited_class_members = True 507s u_NL = '\n' 507s what = 'function' 507s numpydoc/docscrape_sphinx.py:417: in get_doc_object 507s template_loader.init(builder, dirs=template_dirs) 507s builder = 507s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s doc = '\nA function whose docstring has no examples or see also section.\n\nExpect SA01 and EX01 errors if validation enabled.\n' 507s obj = ._function_without_seealso_and_examples at 0x3ffb17340e0> 507s template_dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s template_loader = 507s what = 'function' 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s 507s self = 507s builder = , theme = None 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s 507s def init( 507s self, 507s builder: Builder, 507s theme: Theme | None = None, 507s dirs: list[str] | None = None, 507s ) -> None: 507s # create a chain of paths to search 507s if theme: 507s # the theme's own dir and its bases' dirs 507s pathchain = theme.get_theme_dirs() 507s # the loader dirs: pathchain + the parent directories for all themes 507s loaderchain = pathchain + [p.parent for p in pathchain] 507s elif dirs: 507s pathchain = list(map(_StrPath, dirs)) 507s loaderchain = list(map(_StrPath, dirs)) 507s else: 507s pathchain = [] 507s loaderchain = [] 507s 507s # prepend explicit template paths 507s self.templatepathlen = len(builder.config.templates_path) 507s if builder.config.templates_path: 507s cfg_templates_path = [ 507s builder.confdir / tp for tp in builder.config.templates_path 507s ] 507s pathchain[0:0] = cfg_templates_path 507s loaderchain[0:0] = cfg_templates_path 507s 507s # store it for use in newest_template_mtime 507s self.pathchain = pathchain 507s 507s # make the paths into loaders 507s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 507s 507s > use_i18n = builder._translator is not None 507s E AttributeError: 'MockBuilder' object has no attribute '_translator' 507s 507s builder = 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s loaderchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s pathchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s self = 507s theme = None 507s 507s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 507s ___________________ test_mangle_docstring_validation_exclude ___________________ 507s 507s def test_mangle_docstring_validation_exclude(): 507s def function_with_bad_docstring(): 507s """ 507s This docstring will raise docstring validation warnings.""" 507s 507s app = MockApp() 507s app.config.numpydoc_validation_checks = {"all"} 507s app.config.numpydoc_validation_exclude = [r"_bad_"] 507s # Call update_config to construct regexp from config value 507s update_config(app) 507s # Setup for catching warnings 507s status, warning = StringIO(), StringIO() 507s logging.setup(app, status, warning) 507s # Run mangle docstrings on function_with_bad_docstring 507s > mangle_docstrings( 507s app, 507s "function", 507s function_with_bad_docstring.__name__, 507s function_with_bad_docstring, 507s None, 507s function_with_bad_docstring.__doc__.split("\n"), 507s ) 507s 507s app = 507s function_with_bad_docstring = .function_with_bad_docstring at 0x3ffb1614860> 507s status = <_io.StringIO object at 0x3ffb13144c0> 507s warning = <_io.StringIO object at 0x3ffb1314400> 507s 507s numpydoc/tests/test_numpydoc.py:211: 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s numpydoc/numpydoc.py:194: in mangle_docstrings 507s doc = get_doc_object( 507s app = 507s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s lines = ['', 'This docstring will raise docstring validation warnings.'] 507s name = 'function_with_bad_docstring' 507s obj = .function_with_bad_docstring at 0x3ffb1614860> 507s options = None 507s show_inherited_class_members = True 507s u_NL = '\n' 507s what = 'function' 507s numpydoc/docscrape_sphinx.py:417: in get_doc_object 507s template_loader.init(builder, dirs=template_dirs) 507s builder = 507s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s doc = '\nThis docstring will raise docstring validation warnings.' 507s obj = .function_with_bad_docstring at 0x3ffb1614860> 507s template_dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s template_loader = 507s what = 'function' 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s 507s self = 507s builder = , theme = None 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s 507s def init( 507s self, 507s builder: Builder, 507s theme: Theme | None = None, 507s dirs: list[str] | None = None, 507s ) -> None: 507s # create a chain of paths to search 507s if theme: 507s # the theme's own dir and its bases' dirs 507s pathchain = theme.get_theme_dirs() 507s # the loader dirs: pathchain + the parent directories for all themes 507s loaderchain = pathchain + [p.parent for p in pathchain] 507s elif dirs: 507s pathchain = list(map(_StrPath, dirs)) 507s loaderchain = list(map(_StrPath, dirs)) 507s else: 507s pathchain = [] 507s loaderchain = [] 507s 507s # prepend explicit template paths 507s self.templatepathlen = len(builder.config.templates_path) 507s if builder.config.templates_path: 507s cfg_templates_path = [ 507s builder.confdir / tp for tp in builder.config.templates_path 507s ] 507s pathchain[0:0] = cfg_templates_path 507s loaderchain[0:0] = cfg_templates_path 507s 507s # store it for use in newest_template_mtime 507s self.pathchain = pathchain 507s 507s # make the paths into loaders 507s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 507s 507s > use_i18n = builder._translator is not None 507s E AttributeError: 'MockBuilder' object has no attribute '_translator' 507s 507s builder = 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s loaderchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s pathchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s self = 507s theme = None 507s 507s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 507s _________________ test_mangle_docstrings_overrides[overrides0] _________________ 507s 507s overrides = {} 507s 507s @pytest.mark.parametrize("overrides", [{}, {"SS02"}, {"SS02", "SS03"}]) 507s def test_mangle_docstrings_overrides(overrides): 507s def process_something_noop_function(): 507s """Process something.""" 507s 507s app = MockApp() 507s app.config.numpydoc_validation_checks = {"all"} 507s app.config.numpydoc_validation_overrides = { 507s check: [r"^Process "] # overrides are regex on docstring content 507s for check in overrides 507s } 507s update_config(app) 507s 507s # Setup for catching warnings 507s status, warning = StringIO(), StringIO() 507s logging.setup(app, status, warning) 507s 507s # Run mangle docstrings on process_something_noop_function 507s > mangle_docstrings( 507s app, 507s "function", 507s process_something_noop_function.__name__, 507s process_something_noop_function, 507s None, 507s process_something_noop_function.__doc__.split("\n"), 507s ) 507s 507s app = 507s overrides = {} 507s process_something_noop_function = .process_something_noop_function at 0x3ffb26a3d80> 507s status = <_io.StringIO object at 0x3ffb1314a00> 507s warning = <_io.StringIO object at 0x3ffb1315000> 507s 507s numpydoc/tests/test_numpydoc.py:242: 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s numpydoc/numpydoc.py:194: in mangle_docstrings 507s doc = get_doc_object( 507s app = 507s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s lines = ['Process something.'] 507s name = 'process_something_noop_function' 507s obj = .process_something_noop_function at 0x3ffb26a3d80> 507s options = None 507s show_inherited_class_members = True 507s u_NL = '\n' 507s what = 'function' 507s numpydoc/docscrape_sphinx.py:417: in get_doc_object 507s template_loader.init(builder, dirs=template_dirs) 507s builder = 507s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s doc = 'Process something.' 507s obj = .process_something_noop_function at 0x3ffb26a3d80> 507s template_dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s template_loader = 507s what = 'function' 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s 507s self = 507s builder = , theme = None 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s 507s def init( 507s self, 507s builder: Builder, 507s theme: Theme | None = None, 507s dirs: list[str] | None = None, 507s ) -> None: 507s # create a chain of paths to search 507s if theme: 507s # the theme's own dir and its bases' dirs 507s pathchain = theme.get_theme_dirs() 507s # the loader dirs: pathchain + the parent directories for all themes 507s loaderchain = pathchain + [p.parent for p in pathchain] 507s elif dirs: 507s pathchain = list(map(_StrPath, dirs)) 507s loaderchain = list(map(_StrPath, dirs)) 507s else: 507s pathchain = [] 507s loaderchain = [] 507s 507s # prepend explicit template paths 507s self.templatepathlen = len(builder.config.templates_path) 507s if builder.config.templates_path: 507s cfg_templates_path = [ 507s builder.confdir / tp for tp in builder.config.templates_path 507s ] 507s pathchain[0:0] = cfg_templates_path 507s loaderchain[0:0] = cfg_templates_path 507s 507s # store it for use in newest_template_mtime 507s self.pathchain = pathchain 507s 507s # make the paths into loaders 507s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 507s 507s > use_i18n = builder._translator is not None 507s E AttributeError: 'MockBuilder' object has no attribute '_translator' 507s 507s builder = 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s loaderchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s pathchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s self = 507s theme = None 507s 507s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 507s _________________ test_mangle_docstrings_overrides[overrides1] _________________ 507s 507s overrides = {'SS02'} 507s 507s @pytest.mark.parametrize("overrides", [{}, {"SS02"}, {"SS02", "SS03"}]) 507s def test_mangle_docstrings_overrides(overrides): 507s def process_something_noop_function(): 507s """Process something.""" 507s 507s app = MockApp() 507s app.config.numpydoc_validation_checks = {"all"} 507s app.config.numpydoc_validation_overrides = { 507s check: [r"^Process "] # overrides are regex on docstring content 507s for check in overrides 507s } 507s update_config(app) 507s 507s # Setup for catching warnings 507s status, warning = StringIO(), StringIO() 507s logging.setup(app, status, warning) 507s 507s # Run mangle docstrings on process_something_noop_function 507s > mangle_docstrings( 507s app, 507s "function", 507s process_something_noop_function.__name__, 507s process_something_noop_function, 507s None, 507s process_something_noop_function.__doc__.split("\n"), 507s ) 507s 507s app = 507s overrides = {'SS02'} 507s process_something_noop_function = .process_something_noop_function at 0x3ffb131de40> 507s status = <_io.StringIO object at 0x3ffb1315b40> 507s warning = <_io.StringIO object at 0x3ffb1315c00> 507s 507s numpydoc/tests/test_numpydoc.py:242: 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s numpydoc/numpydoc.py:194: in mangle_docstrings 507s doc = get_doc_object( 507s app = 507s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s lines = ['Process something.'] 507s name = 'process_something_noop_function' 507s obj = .process_something_noop_function at 0x3ffb131de40> 507s options = None 507s show_inherited_class_members = True 507s u_NL = '\n' 507s what = 'function' 507s numpydoc/docscrape_sphinx.py:417: in get_doc_object 507s template_loader.init(builder, dirs=template_dirs) 507s builder = 507s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s doc = 'Process something.' 507s obj = .process_something_noop_function at 0x3ffb131de40> 507s template_dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s template_loader = 507s what = 'function' 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s 507s self = 507s builder = , theme = None 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s 507s def init( 507s self, 507s builder: Builder, 507s theme: Theme | None = None, 507s dirs: list[str] | None = None, 507s ) -> None: 507s # create a chain of paths to search 507s if theme: 507s # the theme's own dir and its bases' dirs 507s pathchain = theme.get_theme_dirs() 507s # the loader dirs: pathchain + the parent directories for all themes 507s loaderchain = pathchain + [p.parent for p in pathchain] 507s elif dirs: 507s pathchain = list(map(_StrPath, dirs)) 507s loaderchain = list(map(_StrPath, dirs)) 507s else: 507s pathchain = [] 507s loaderchain = [] 507s 507s # prepend explicit template paths 507s self.templatepathlen = len(builder.config.templates_path) 507s if builder.config.templates_path: 507s cfg_templates_path = [ 507s builder.confdir / tp for tp in builder.config.templates_path 507s ] 507s pathchain[0:0] = cfg_templates_path 507s loaderchain[0:0] = cfg_templates_path 507s 507s # store it for use in newest_template_mtime 507s self.pathchain = pathchain 507s 507s # make the paths into loaders 507s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 507s 507s > use_i18n = builder._translator is not None 507s E AttributeError: 'MockBuilder' object has no attribute '_translator' 507s 507s builder = 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s loaderchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s pathchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s self = 507s theme = None 507s 507s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 507s _________________ test_mangle_docstrings_overrides[overrides2] _________________ 507s 507s overrides = {'SS02', 'SS03'} 507s 507s @pytest.mark.parametrize("overrides", [{}, {"SS02"}, {"SS02", "SS03"}]) 507s def test_mangle_docstrings_overrides(overrides): 507s def process_something_noop_function(): 507s """Process something.""" 507s 507s app = MockApp() 507s app.config.numpydoc_validation_checks = {"all"} 507s app.config.numpydoc_validation_overrides = { 507s check: [r"^Process "] # overrides are regex on docstring content 507s for check in overrides 507s } 507s update_config(app) 507s 507s # Setup for catching warnings 507s status, warning = StringIO(), StringIO() 507s logging.setup(app, status, warning) 507s 507s # Run mangle docstrings on process_something_noop_function 507s > mangle_docstrings( 507s app, 507s "function", 507s process_something_noop_function.__name__, 507s process_something_noop_function, 507s None, 507s process_something_noop_function.__doc__.split("\n"), 507s ) 507s 507s app = 507s overrides = {'SS02', 'SS03'} 507s process_something_noop_function = .process_something_noop_function at 0x3ffb131d9e0> 507s status = <_io.StringIO object at 0x3ffb1316140> 507s warning = <_io.StringIO object at 0x3ffb1316200> 507s 507s numpydoc/tests/test_numpydoc.py:242: 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s numpydoc/numpydoc.py:194: in mangle_docstrings 507s doc = get_doc_object( 507s app = 507s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s lines = ['Process something.'] 507s name = 'process_something_noop_function' 507s obj = .process_something_noop_function at 0x3ffb131d9e0> 507s options = None 507s show_inherited_class_members = True 507s u_NL = '\n' 507s what = 'function' 507s numpydoc/docscrape_sphinx.py:417: in get_doc_object 507s template_loader.init(builder, dirs=template_dirs) 507s builder = 507s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 507s doc = 'Process something.' 507s obj = .process_something_noop_function at 0x3ffb131d9e0> 507s template_dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s template_loader = 507s what = 'function' 507s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 507s 507s self = 507s builder = , theme = None 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s 507s def init( 507s self, 507s builder: Builder, 507s theme: Theme | None = None, 507s dirs: list[str] | None = None, 507s ) -> None: 507s # create a chain of paths to search 507s if theme: 507s # the theme's own dir and its bases' dirs 507s pathchain = theme.get_theme_dirs() 507s # the loader dirs: pathchain + the parent directories for all themes 507s loaderchain = pathchain + [p.parent for p in pathchain] 507s elif dirs: 507s pathchain = list(map(_StrPath, dirs)) 507s loaderchain = list(map(_StrPath, dirs)) 507s else: 507s pathchain = [] 507s loaderchain = [] 507s 507s # prepend explicit template paths 507s self.templatepathlen = len(builder.config.templates_path) 507s if builder.config.templates_path: 507s cfg_templates_path = [ 507s builder.confdir / tp for tp in builder.config.templates_path 507s ] 507s pathchain[0:0] = cfg_templates_path 507s loaderchain[0:0] = cfg_templates_path 507s 507s # store it for use in newest_template_mtime 507s self.pathchain = pathchain 507s 507s # make the paths into loaders 507s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 507s 507s > use_i18n = builder._translator is not None 507s E AttributeError: 'MockBuilder' object has no attribute '_translator' 507s 507s builder = 507s dirs = ['/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates'] 507s loaderchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s pathchain = [_StrPath('/tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/templates')] 507s self = 507s theme = None 507s 507s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 507s =============================== warnings summary =============================== 507s numpydoc/tests/test_docscrape.py: 17 warnings 507s /tmp/autopkgtest.lb2Di5/build.ua7/src/numpydoc/docscrape_sphinx.py:163: DeprecationWarning: 'maxsplit' is passed as positional argument 507s desc = re.split(r"\n\s*\n", obj_doc.strip(), 1)[0] 507s 507s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 507s - generated xml file: /tmp/autopkgtest.lb2Di5/build.ua7/src/junit-results.xml -- 507s =========================== short test summary info ============================ 507s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_basic - Attrib... 507s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_inherited_class_members 507s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_warnings[numpydoc_validation_checks0-expected_warn0-non_warnings0] 507s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_warnings[numpydoc_validation_checks1-expected_warn1-non_warnings1] 507s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_warnings[numpydoc_validation_checks2-expected_warn2-non_warnings2] 507s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_exclude 507s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_overrides[overrides0] 507s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_overrides[overrides1] 507s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_overrides[overrides2] 507s ============ 9 failed, 284 passed, 2 xfailed, 17 warnings in 23.60s ============ 509s autopkgtest [09:03:51]: test command1: -----------------------] 510s autopkgtest [09:03:52]: test command1: - - - - - - - - - - results - - - - - - - - - - 510s command1 FAIL non-zero exit status 1 511s autopkgtest [09:03:53]: @@@@@@@@@@@@@@@@@@@@ summary 511s command1 FAIL non-zero exit status 1 527s nova [W] Using flock in prodstack7-s390x 527s flock: timeout while waiting to get lock 527s Creating nova instance adt-questing-s390x-numpydoc-20250505-085522-juju-7f2275-prod-proposed-migration-environment-21-fa0f9541-15e2-4ddc-87f6-289fe82240e7 from image adt/ubuntu-questing-s390x-server-20250505.img (UUID ef79e635-e034-4442-8768-f7b97cbfbada)... 527s nova [W] Timed out waiting for b11dab83-c384-4f90-9734-74f4754af8da to get deleted.