0s autopkgtest [07:44:37]: starting date and time: 2025-05-06 07:44:37+0000 0s autopkgtest [07:44:37]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [07:44:37]: host juju-7f2275-prod-proposed-migration-environment-21; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.s2275lpj/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 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-21@bos03-arm64-9.secgroup --name adt-questing-arm64-numpydoc-20250506-074437-juju-7f2275-prod-proposed-migration-environment-21-95bc159c-b17c-4129-9a27-c23ac92ceb04 --image adt/ubuntu-questing-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-21 --net-id=net_prod-proposed-migration -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 143s autopkgtest [07:47:00]: testbed dpkg architecture: arm64 144s autopkgtest [07:47:01]: testbed apt version: 3.0.0 144s autopkgtest [07:47:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 144s autopkgtest [07:47:01]: testbed release detected to be: None 145s autopkgtest [07:47:02]: updating testbed package index (apt update) 146s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 146s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 146s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 146s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 146s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [657 kB] 147s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [76.0 kB] 147s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [29.1 kB] 147s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [136 kB] 147s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [717 kB] 147s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [16.5 kB] 147s Fetched 1742 kB in 1s (1444 kB/s) 148s Reading package lists... 148s autopkgtest [07:47:05]: upgrading testbed (apt dist-upgrade and autopurge) 148s Reading package lists... 149s Building dependency tree... 149s Reading state information... 149s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 149s Starting 2 pkgProblemResolver with broken count: 0 149s Done 150s Entering ResolveByKeep 151s 151s Calculating upgrade... 151s The following packages will be upgraded: 151s dhcpcd-base dirmngr gir1.2-glib-2.0 gnupg gnupg-l10n gnupg-utils gpg 151s gpg-agent gpg-wks-client gpgconf gpgsm gpgv keyboxd libglib2.0-0t64 151s libglib2.0-data libnuma1 libperl5.40 libpython3.12-minimal 151s libpython3.12-stdlib libpython3.12t64 libsemanage-common libsemanage2 151s libx11-6 libx11-data libxml2 numactl openssh-client openssh-server 151s openssh-sftp-server perl perl-base perl-modules-5.40 python3-dbus 151s python3-wadllib 151s 34 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 151s Need to get 22.8 MB of archives. 151s After this operation, 219 kB disk space will be freed. 151s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 libperl5.40 arm64 5.40.1-3 [4780 kB] 152s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 perl arm64 5.40.1-3 [262 kB] 152s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 perl-base arm64 5.40.1-3 [1786 kB] 153s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 perl-modules-5.40 all 5.40.1-3 [3217 kB] 153s Get:5 http://ftpmaster.internal/ubuntu questing/main arm64 openssh-sftp-server arm64 1:9.9p1-3ubuntu3.1 [36.9 kB] 153s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 openssh-server arm64 1:9.9p1-3ubuntu3.1 [524 kB] 153s Get:7 http://ftpmaster.internal/ubuntu questing/main arm64 openssh-client arm64 1:9.9p1-3ubuntu3.1 [922 kB] 153s Get:8 http://ftpmaster.internal/ubuntu questing/main arm64 libsemanage-common all 3.8.1-1 [7826 B] 153s Get:9 http://ftpmaster.internal/ubuntu questing/main arm64 libsemanage2 arm64 3.8.1-1 [96.0 kB] 153s Get:10 http://ftpmaster.internal/ubuntu questing/main arm64 gpg-wks-client arm64 2.4.4-2ubuntu24 [70.3 kB] 153s Get:11 http://ftpmaster.internal/ubuntu questing/main arm64 dirmngr arm64 2.4.4-2ubuntu24 [321 kB] 153s Get:12 http://ftpmaster.internal/ubuntu questing/main arm64 gpgsm arm64 2.4.4-2ubuntu24 [228 kB] 153s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 gnupg-utils arm64 2.4.4-2ubuntu24 [107 kB] 153s Get:14 http://ftpmaster.internal/ubuntu questing/main arm64 gpg-agent arm64 2.4.4-2ubuntu24 [224 kB] 153s Get:15 http://ftpmaster.internal/ubuntu questing/main arm64 gpg arm64 2.4.4-2ubuntu24 [555 kB] 153s Get:16 http://ftpmaster.internal/ubuntu questing/main arm64 gpgconf arm64 2.4.4-2ubuntu24 [104 kB] 153s Get:17 http://ftpmaster.internal/ubuntu questing/main arm64 gnupg all 2.4.4-2ubuntu24 [359 kB] 153s Get:18 http://ftpmaster.internal/ubuntu questing/main arm64 keyboxd arm64 2.4.4-2ubuntu24 [76.1 kB] 153s Get:19 http://ftpmaster.internal/ubuntu questing/main arm64 gpgv arm64 2.4.4-2ubuntu24 [154 kB] 153s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 dhcpcd-base arm64 1:10.1.0-10 [216 kB] 153s Get:21 http://ftpmaster.internal/ubuntu questing/main arm64 gir1.2-glib-2.0 arm64 2.84.1-2 [185 kB] 153s Get:22 http://ftpmaster.internal/ubuntu questing/main arm64 libglib2.0-0t64 arm64 2.84.1-2 [1572 kB] 154s Get:23 http://ftpmaster.internal/ubuntu questing/main arm64 libglib2.0-data all 2.84.1-2 [53.2 kB] 154s Get:24 http://ftpmaster.internal/ubuntu questing/main arm64 libxml2 arm64 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1 [736 kB] 154s Get:25 http://ftpmaster.internal/ubuntu questing/main arm64 python3-dbus arm64 1.4.0-1 [101 kB] 154s Get:26 http://ftpmaster.internal/ubuntu questing/main arm64 libnuma1 arm64 2.0.19-1 [23.9 kB] 154s Get:27 http://ftpmaster.internal/ubuntu questing/main arm64 libx11-data all 2:1.8.12-1 [116 kB] 154s Get:28 http://ftpmaster.internal/ubuntu questing/main arm64 libx11-6 arm64 2:1.8.12-1 [651 kB] 154s Get:29 http://ftpmaster.internal/ubuntu questing/main arm64 numactl arm64 2.0.19-1 [39.2 kB] 154s Get:30 http://ftpmaster.internal/ubuntu questing/main arm64 gnupg-l10n all 2.4.4-2ubuntu24 [66.8 kB] 154s Get:31 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 libpython3.12t64 arm64 3.12.10-1 [2314 kB] 154s Get:32 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 libpython3.12-stdlib arm64 3.12.10-1 [2029 kB] 154s Get:33 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 libpython3.12-minimal arm64 3.12.10-1 [836 kB] 154s Get:34 http://ftpmaster.internal/ubuntu questing/main arm64 python3-wadllib all 2.0.0-3 [36.3 kB] 155s Preconfiguring packages ... 155s Fetched 22.8 MB in 3s (7240 kB/s) 155s (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 ... 117830 files and directories currently installed.) 155s Preparing to unpack .../libperl5.40_5.40.1-3_arm64.deb ... 155s Unpacking libperl5.40:arm64 (5.40.1-3) over (5.40.1-2) ... 156s Preparing to unpack .../perl_5.40.1-3_arm64.deb ... 156s Unpacking perl (5.40.1-3) over (5.40.1-2) ... 156s Preparing to unpack .../perl-base_5.40.1-3_arm64.deb ... 156s Unpacking perl-base (5.40.1-3) over (5.40.1-2) ... 156s Setting up perl-base (5.40.1-3) ... 156s (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 ... 117830 files and directories currently installed.) 156s Preparing to unpack .../perl-modules-5.40_5.40.1-3_all.deb ... 156s Unpacking perl-modules-5.40 (5.40.1-3) over (5.40.1-2) ... 156s Preparing to unpack .../openssh-sftp-server_1%3a9.9p1-3ubuntu3.1_arm64.deb ... 156s Unpacking openssh-sftp-server (1:9.9p1-3ubuntu3.1) over (1:9.9p1-3ubuntu3) ... 156s Preparing to unpack .../openssh-server_1%3a9.9p1-3ubuntu3.1_arm64.deb ... 156s Unpacking openssh-server (1:9.9p1-3ubuntu3.1) over (1:9.9p1-3ubuntu3) ... 157s Preparing to unpack .../openssh-client_1%3a9.9p1-3ubuntu3.1_arm64.deb ... 157s Unpacking openssh-client (1:9.9p1-3ubuntu3.1) over (1:9.9p1-3ubuntu3) ... 157s Preparing to unpack .../libsemanage-common_3.8.1-1_all.deb ... 157s Unpacking libsemanage-common (3.8.1-1) over (3.7-2.1build1) ... 157s Setting up libsemanage-common (3.8.1-1) ... 157s (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 ... 117830 files and directories currently installed.) 157s Preparing to unpack .../libsemanage2_3.8.1-1_arm64.deb ... 157s Unpacking libsemanage2:arm64 (3.8.1-1) over (3.7-2.1build1) ... 157s Setting up libsemanage2:arm64 (3.8.1-1) ... 157s (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 ... 117830 files and directories currently installed.) 157s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu24_arm64.deb ... 157s Unpacking gpg-wks-client (2.4.4-2ubuntu24) over (2.4.4-2ubuntu23) ... 157s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu24_arm64.deb ... 157s Unpacking dirmngr (2.4.4-2ubuntu24) over (2.4.4-2ubuntu23) ... 157s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu24_arm64.deb ... 157s Unpacking gpgsm (2.4.4-2ubuntu24) over (2.4.4-2ubuntu23) ... 157s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu24_arm64.deb ... 157s Unpacking gnupg-utils (2.4.4-2ubuntu24) over (2.4.4-2ubuntu23) ... 157s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu24_arm64.deb ... 157s Unpacking gpg-agent (2.4.4-2ubuntu24) over (2.4.4-2ubuntu23) ... 157s Preparing to unpack .../5-gpg_2.4.4-2ubuntu24_arm64.deb ... 157s Unpacking gpg (2.4.4-2ubuntu24) over (2.4.4-2ubuntu23) ... 157s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu24_arm64.deb ... 157s Unpacking gpgconf (2.4.4-2ubuntu24) over (2.4.4-2ubuntu23) ... 157s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu24_all.deb ... 157s Unpacking gnupg (2.4.4-2ubuntu24) over (2.4.4-2ubuntu23) ... 158s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu24_arm64.deb ... 158s Unpacking keyboxd (2.4.4-2ubuntu24) over (2.4.4-2ubuntu23) ... 158s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu24_arm64.deb ... 158s Unpacking gpgv (2.4.4-2ubuntu24) over (2.4.4-2ubuntu23) ... 158s Setting up gpgv (2.4.4-2ubuntu24) ... 158s (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 ... 117830 files and directories currently installed.) 158s Preparing to unpack .../00-dhcpcd-base_1%3a10.1.0-10_arm64.deb ... 158s Unpacking dhcpcd-base (1:10.1.0-10) over (1:10.1.0-8) ... 158s Preparing to unpack .../01-gir1.2-glib-2.0_2.84.1-2_arm64.deb ... 158s Unpacking gir1.2-glib-2.0:arm64 (2.84.1-2) over (2.84.1-1) ... 158s Preparing to unpack .../02-libglib2.0-0t64_2.84.1-2_arm64.deb ... 158s Unpacking libglib2.0-0t64:arm64 (2.84.1-2) over (2.84.1-1) ... 158s Preparing to unpack .../03-libglib2.0-data_2.84.1-2_all.deb ... 158s Unpacking libglib2.0-data (2.84.1-2) over (2.84.1-1) ... 158s Preparing to unpack .../04-libxml2_2.12.7+dfsg+really2.9.14-0.4ubuntu0.1_arm64.deb ... 158s Unpacking libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.4ubuntu0.1) over (2.12.7+dfsg+really2.9.14-0.4) ... 158s Preparing to unpack .../05-python3-dbus_1.4.0-1_arm64.deb ... 158s Unpacking python3-dbus (1.4.0-1) over (1.3.2-5build5) ... 158s Preparing to unpack .../06-libnuma1_2.0.19-1_arm64.deb ... 158s Unpacking libnuma1:arm64 (2.0.19-1) over (2.0.18-1build1) ... 159s Preparing to unpack .../07-libx11-data_2%3a1.8.12-1_all.deb ... 159s Unpacking libx11-data (2:1.8.12-1) over (2:1.8.10-2) ... 159s Preparing to unpack .../08-libx11-6_2%3a1.8.12-1_arm64.deb ... 159s Unpacking libx11-6:arm64 (2:1.8.12-1) over (2:1.8.10-2) ... 159s Preparing to unpack .../09-numactl_2.0.19-1_arm64.deb ... 159s Unpacking numactl (2.0.19-1) over (2.0.18-1build1) ... 159s Preparing to unpack .../10-gnupg-l10n_2.4.4-2ubuntu24_all.deb ... 159s Unpacking gnupg-l10n (2.4.4-2ubuntu24) over (2.4.4-2ubuntu23) ... 159s Preparing to unpack .../11-libpython3.12t64_3.12.10-1_arm64.deb ... 159s Unpacking libpython3.12t64:arm64 (3.12.10-1) over (3.12.8-3) ... 159s Preparing to unpack .../12-libpython3.12-stdlib_3.12.10-1_arm64.deb ... 159s Unpacking libpython3.12-stdlib:arm64 (3.12.10-1) over (3.12.8-3) ... 159s Preparing to unpack .../13-libpython3.12-minimal_3.12.10-1_arm64.deb ... 159s Unpacking libpython3.12-minimal:arm64 (3.12.10-1) over (3.12.8-3) ... 159s Preparing to unpack .../14-python3-wadllib_2.0.0-3_all.deb ... 159s Unpacking python3-wadllib (2.0.0-3) over (2.0.0-2) ... 160s Setting up openssh-client (1:9.9p1-3ubuntu3.1) ... 160s Setting up libpython3.12-minimal:arm64 (3.12.10-1) ... 160s Setting up libglib2.0-0t64:arm64 (2.84.1-2) ... 160s No schema files found: doing nothing. 160s Setting up libglib2.0-data (2.84.1-2) ... 160s Setting up libx11-data (2:1.8.12-1) ... 160s Setting up gnupg-l10n (2.4.4-2ubuntu24) ... 160s Setting up python3-wadllib (2.0.0-3) ... 160s Setting up dhcpcd-base (1:10.1.0-10) ... 160s Installing new version of config file /etc/dhcpcd.conf ... 160s Setting up gir1.2-glib-2.0:arm64 (2.84.1-2) ... 160s Setting up libnuma1:arm64 (2.0.19-1) ... 160s Setting up perl-modules-5.40 (5.40.1-3) ... 160s Setting up gpgconf (2.4.4-2ubuntu24) ... 160s Setting up libx11-6:arm64 (2:1.8.12-1) ... 160s Setting up libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.4ubuntu0.1) ... 160s Setting up gpg (2.4.4-2ubuntu24) ... 160s Setting up gnupg-utils (2.4.4-2ubuntu24) ... 160s Setting up openssh-sftp-server (1:9.9p1-3ubuntu3.1) ... 160s Setting up python3-dbus (1.4.0-1) ... 160s Setting up gpg-agent (2.4.4-2ubuntu24) ... 160s Setting up libpython3.12-stdlib:arm64 (3.12.10-1) ... 160s Setting up numactl (2.0.19-1) ... 160s Setting up openssh-server (1:9.9p1-3ubuntu3.1) ... 162s Setting up gpgsm (2.4.4-2ubuntu24) ... 162s Setting up libpython3.12t64:arm64 (3.12.10-1) ... 162s Setting up libperl5.40:arm64 (5.40.1-3) ... 162s Setting up dirmngr (2.4.4-2ubuntu24) ... 162s Setting up perl (5.40.1-3) ... 162s Setting up keyboxd (2.4.4-2ubuntu24) ... 162s Setting up gnupg (2.4.4-2ubuntu24) ... 162s Setting up gpg-wks-client (2.4.4-2ubuntu24) ... 162s Processing triggers for ufw (0.36.2-9) ... 162s Processing triggers for man-db (2.13.1-1) ... 163s Processing triggers for install-info (7.1.1-1) ... 164s Processing triggers for libc-bin (2.41-6ubuntu1) ... 164s Reading package lists... 164s Building dependency tree... 164s Reading state information... 165s Starting pkgProblemResolver with broken count: 0 165s Starting 2 pkgProblemResolver with broken count: 0 165s Done 165s Solving dependencies... 166s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 166s autopkgtest [07:47:23]: rebooting testbed after setup commands that affected boot 189s autopkgtest [07:47:46]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 14:37:51 UTC 2025 192s autopkgtest [07:47:49]: @@@@@@@@@@@@@@@@@@@@ apt-source numpydoc 194s Get:1 http://ftpmaster.internal/ubuntu questing/universe numpydoc 1.8.0-1 (dsc) [2370 B] 194s Get:2 http://ftpmaster.internal/ubuntu questing/universe numpydoc 1.8.0-1 (tar) [90.4 kB] 194s Get:3 http://ftpmaster.internal/ubuntu questing/universe numpydoc 1.8.0-1 (diff) [5120 B] 194s gpgv: Signature made Mon Nov 25 22:56:09 2024 UTC 194s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 194s gpgv: issuer "tchet@debian.org" 194s gpgv: Can't check signature: No public key 194s dpkg-source: warning: cannot verify inline signature for ./numpydoc_1.8.0-1.dsc: no acceptable signature found 195s autopkgtest [07:47:52]: testing package numpydoc version 1.8.0-1 195s autopkgtest [07:47:52]: build not needed 195s autopkgtest [07:47:52]: test command1: preparing testbed 195s Reading package lists... 196s Building dependency tree... 196s Reading state information... 196s Starting pkgProblemResolver with broken count: 0 196s Starting 2 pkgProblemResolver with broken count: 0 196s Done 197s The following NEW packages will be installed: 197s docutils-common libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 197s libjs-jquery-metadata libjs-jquery-tablesorter 197s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore libjson-perl 197s python3-alabaster python3-all python3-bs4 python3-coverage 197s python3-defusedxml python3-doc python3-docutils python3-imagesize 197s python3-iniconfig python3-numpydoc python3-packaging python3-pluggy 197s python3-pytest python3-pytest-cov python3-roman python3-roman-numerals 197s python3-snowballstemmer python3-soupsieve python3-sphinx python3-tabulate 197s python3.13-doc sgml-base sphinx-common xml-core 197s 0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded. 197s Need to get 17.6 MB of archives. 197s After this operation, 90.9 MB of additional disk space will be used. 197s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 sgml-base all 1.31+nmu1 [11.0 kB] 197s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 xml-core all 0.19 [20.3 kB] 197s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 docutils-common all 0.21.2+dfsg-2 [131 kB] 198s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 198s Get:5 http://ftpmaster.internal/ubuntu questing/universe arm64 libjs-jquery-metadata all 12-4 [6582 B] 198s Get:6 http://ftpmaster.internal/ubuntu questing/universe arm64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 198s Get:7 http://ftpmaster.internal/ubuntu questing/universe arm64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 198s Get:8 http://ftpmaster.internal/ubuntu questing/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 198s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 libjs-sphinxdoc all 8.2.3-1 [27.8 kB] 198s Get:10 http://ftpmaster.internal/ubuntu questing/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 198s Get:11 http://ftpmaster.internal/ubuntu questing/main arm64 python3-all arm64 3.13.3-1 [880 B] 198s Get:12 http://ftpmaster.internal/ubuntu questing/main arm64 python3-soupsieve all 2.7-1 [33.5 kB] 198s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 python3-bs4 all 4.13.4-1 [137 kB] 198s Get:14 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-coverage arm64 7.6.0+dfsg1-2build1 [153 kB] 198s Get:15 http://ftpmaster.internal/ubuntu questing/main arm64 python3-defusedxml all 0.7.1-3 [42.2 kB] 198s Get:16 http://ftpmaster.internal/ubuntu questing/main arm64 python3.13-doc all 3.13.3-1 [14.2 MB] 199s Get:17 http://ftpmaster.internal/ubuntu questing/main arm64 python3-doc all 3.13.3-1 [10.7 kB] 199s Get:18 http://ftpmaster.internal/ubuntu questing/main arm64 python3-roman all 5.0-1 [10.3 kB] 199s Get:19 http://ftpmaster.internal/ubuntu questing/main arm64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 199s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 python3-imagesize all 1.4.1-1 [6844 B] 199s Get:21 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 199s Get:22 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 sphinx-common all 8.2.3-1 [656 kB] 199s Get:23 http://ftpmaster.internal/ubuntu questing/main arm64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 199s Get:24 http://ftpmaster.internal/ubuntu questing/main arm64 python3-packaging all 25.0-1 [52.8 kB] 199s Get:25 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-roman-numerals all 3.1.0-1ubuntu1 [8432 B] 199s Get:26 http://ftpmaster.internal/ubuntu questing/main arm64 python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 199s Get:27 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 python3-sphinx all 8.2.3-1 [482 kB] 199s Get:28 http://ftpmaster.internal/ubuntu questing/main arm64 python3-tabulate all 0.9.0-1 [45.3 kB] 199s Get:29 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-numpydoc all 1.8.0-1 [52.4 kB] 199s Get:30 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 199s Get:31 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-pytest all 8.3.5-1 [252 kB] 199s Get:32 http://ftpmaster.internal/ubuntu questing/universe arm64 libjs-jquery-hotkeys all 0.2.0-1 [13.3 kB] 199s Get:33 http://ftpmaster.internal/ubuntu questing/universe arm64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 199s Get:34 http://ftpmaster.internal/ubuntu questing/universe arm64 python3-pytest-cov all 5.0.0-1 [21.3 kB] 200s Fetched 17.6 MB in 2s (7632 kB/s) 200s Selecting previously unselected package sgml-base. 200s (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 ... 117830 files and directories currently installed.) 200s Preparing to unpack .../00-sgml-base_1.31+nmu1_all.deb ... 200s Unpacking sgml-base (1.31+nmu1) ... 200s Selecting previously unselected package xml-core. 200s Preparing to unpack .../01-xml-core_0.19_all.deb ... 200s Unpacking xml-core (0.19) ... 200s Selecting previously unselected package docutils-common. 200s Preparing to unpack .../02-docutils-common_0.21.2+dfsg-2_all.deb ... 200s Unpacking docutils-common (0.21.2+dfsg-2) ... 200s Selecting previously unselected package libjs-jquery. 200s Preparing to unpack .../03-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 200s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 200s Selecting previously unselected package libjs-jquery-metadata. 200s Preparing to unpack .../04-libjs-jquery-metadata_12-4_all.deb ... 200s Unpacking libjs-jquery-metadata (12-4) ... 200s Selecting previously unselected package libjs-jquery-tablesorter. 200s Preparing to unpack .../05-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 200s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 200s Selecting previously unselected package libjs-jquery-throttle-debounce. 200s Preparing to unpack .../06-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 200s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 201s Selecting previously unselected package libjs-underscore. 201s Preparing to unpack .../07-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 201s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 201s Selecting previously unselected package libjs-sphinxdoc. 201s Preparing to unpack .../08-libjs-sphinxdoc_8.2.3-1_all.deb ... 201s Unpacking libjs-sphinxdoc (8.2.3-1) ... 201s Selecting previously unselected package libjson-perl. 201s Preparing to unpack .../09-libjson-perl_4.10000-1_all.deb ... 201s Unpacking libjson-perl (4.10000-1) ... 201s Selecting previously unselected package python3-all. 201s Preparing to unpack .../10-python3-all_3.13.3-1_arm64.deb ... 201s Unpacking python3-all (3.13.3-1) ... 201s Selecting previously unselected package python3-soupsieve. 201s Preparing to unpack .../11-python3-soupsieve_2.7-1_all.deb ... 201s Unpacking python3-soupsieve (2.7-1) ... 201s Selecting previously unselected package python3-bs4. 201s Preparing to unpack .../12-python3-bs4_4.13.4-1_all.deb ... 201s Unpacking python3-bs4 (4.13.4-1) ... 201s Selecting previously unselected package python3-coverage. 201s Preparing to unpack .../13-python3-coverage_7.6.0+dfsg1-2build1_arm64.deb ... 201s Unpacking python3-coverage (7.6.0+dfsg1-2build1) ... 201s Selecting previously unselected package python3-defusedxml. 201s Preparing to unpack .../14-python3-defusedxml_0.7.1-3_all.deb ... 201s Unpacking python3-defusedxml (0.7.1-3) ... 201s Selecting previously unselected package python3.13-doc. 201s Preparing to unpack .../15-python3.13-doc_3.13.3-1_all.deb ... 201s Unpacking python3.13-doc (3.13.3-1) ... 201s Selecting previously unselected package python3-doc. 201s Preparing to unpack .../16-python3-doc_3.13.3-1_all.deb ... 201s Unpacking python3-doc (3.13.3-1) ... 201s Selecting previously unselected package python3-roman. 201s Preparing to unpack .../17-python3-roman_5.0-1_all.deb ... 201s Unpacking python3-roman (5.0-1) ... 201s Selecting previously unselected package python3-docutils. 201s Preparing to unpack .../18-python3-docutils_0.21.2+dfsg-2_all.deb ... 201s Unpacking python3-docutils (0.21.2+dfsg-2) ... 201s Selecting previously unselected package python3-imagesize. 201s Preparing to unpack .../19-python3-imagesize_1.4.1-1_all.deb ... 201s Unpacking python3-imagesize (1.4.1-1) ... 202s Selecting previously unselected package python3-iniconfig. 202s Preparing to unpack .../20-python3-iniconfig_1.1.1-2_all.deb ... 202s Unpacking python3-iniconfig (1.1.1-2) ... 202s Selecting previously unselected package sphinx-common. 202s Preparing to unpack .../21-sphinx-common_8.2.3-1_all.deb ... 202s Unpacking sphinx-common (8.2.3-1) ... 202s Selecting previously unselected package python3-alabaster. 202s Preparing to unpack .../22-python3-alabaster_0.7.16-0.1_all.deb ... 202s Unpacking python3-alabaster (0.7.16-0.1) ... 202s Selecting previously unselected package python3-packaging. 202s Preparing to unpack .../23-python3-packaging_25.0-1_all.deb ... 202s Unpacking python3-packaging (25.0-1) ... 202s Selecting previously unselected package python3-roman-numerals. 202s Preparing to unpack .../24-python3-roman-numerals_3.1.0-1ubuntu1_all.deb ... 202s Unpacking python3-roman-numerals (3.1.0-1ubuntu1) ... 202s Selecting previously unselected package python3-snowballstemmer. 202s Preparing to unpack .../25-python3-snowballstemmer_2.2.0-4build1_all.deb ... 202s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 202s Selecting previously unselected package python3-sphinx. 202s Preparing to unpack .../26-python3-sphinx_8.2.3-1_all.deb ... 202s Unpacking python3-sphinx (8.2.3-1) ... 202s Selecting previously unselected package python3-tabulate. 202s Preparing to unpack .../27-python3-tabulate_0.9.0-1_all.deb ... 202s Unpacking python3-tabulate (0.9.0-1) ... 202s Selecting previously unselected package python3-numpydoc. 202s Preparing to unpack .../28-python3-numpydoc_1.8.0-1_all.deb ... 202s Unpacking python3-numpydoc (1.8.0-1) ... 202s Selecting previously unselected package python3-pluggy. 202s Preparing to unpack .../29-python3-pluggy_1.5.0-1_all.deb ... 202s Unpacking python3-pluggy (1.5.0-1) ... 202s Selecting previously unselected package python3-pytest. 202s Preparing to unpack .../30-python3-pytest_8.3.5-1_all.deb ... 202s Unpacking python3-pytest (8.3.5-1) ... 202s Selecting previously unselected package libjs-jquery-hotkeys. 202s Preparing to unpack .../31-libjs-jquery-hotkeys_0.2.0-1_all.deb ... 202s Unpacking libjs-jquery-hotkeys (0.2.0-1) ... 202s Selecting previously unselected package libjs-jquery-isonscreen. 202s Preparing to unpack .../32-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 202s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 202s Selecting previously unselected package python3-pytest-cov. 202s Preparing to unpack .../33-python3-pytest-cov_5.0.0-1_all.deb ... 202s Unpacking python3-pytest-cov (5.0.0-1) ... 202s Setting up python3-iniconfig (1.1.1-2) ... 202s Setting up python3-defusedxml (0.7.1-3) ... 203s Setting up python3-alabaster (0.7.16-0.1) ... 203s Setting up python3-tabulate (0.9.0-1) ... 203s Setting up python3-all (3.13.3-1) ... 203s Setting up python3-coverage (7.6.0+dfsg1-2build1) ... 203s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 203s Setting up python3-roman (5.0-1) ... 203s Setting up python3-packaging (25.0-1) ... 203s Setting up python3-snowballstemmer (2.2.0-4build1) ... 204s Setting up python3-pluggy (1.5.0-1) ... 204s Setting up libjson-perl (4.10000-1) ... 204s Setting up python3-roman-numerals (3.1.0-1ubuntu1) ... 204s Setting up sgml-base (1.31+nmu1) ... 204s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 204s Setting up libjs-jquery-hotkeys (0.2.0-1) ... 204s Setting up python3-soupsieve (2.7-1) ... 204s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 204s Setting up python3-imagesize (1.4.1-1) ... 204s Setting up python3-pytest (8.3.5-1) ... 205s Setting up python3-bs4 (4.13.4-1) ... 205s Setting up python3.13-doc (3.13.3-1) ... 205s Setting up libjs-jquery-metadata (12-4) ... 205s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 205s Setting up libjs-sphinxdoc (8.2.3-1) ... 205s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 205s Setting up xml-core (0.19) ... 205s Setting up python3-doc (3.13.3-1) ... 205s Setting up python3-pytest-cov (5.0.0-1) ... 205s Setting up sphinx-common (8.2.3-1) ... 205s Processing triggers for install-info (7.1.1-1) ... 205s Processing triggers for man-db (2.13.1-1) ... 206s Processing triggers for sgml-base (1.31+nmu1) ... 206s Setting up docutils-common (0.21.2+dfsg-2) ... 207s Processing triggers for sgml-base (1.31+nmu1) ... 207s Setting up python3-docutils (0.21.2+dfsg-2) ... 207s Setting up python3-sphinx (8.2.3-1) ... 208s Setting up python3-numpydoc (1.8.0-1) ... 209s autopkgtest [07:48:06]: test command1: set -e; for p in $(py3versions -s); do $p -m pytest numpydoc/; done 209s autopkgtest [07:48:06]: test command1: [----------------------- 211s ============================= test session starts ============================== 211s platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 211s rootdir: /tmp/autopkgtest.tU6LJa/build.Jvi/src 211s configfile: pyproject.toml 211s plugins: typeguard-4.4.2, cov-5.0.0 211s collected 295 items 211s 211s numpydoc/numpydoc.py . [ 0%] 211s numpydoc/tests/hooks/test_utils.py ..... [ 2%] 211s numpydoc/tests/hooks/test_validate_hook.py ....... [ 4%] 211s numpydoc/tests/test_docscrape.py ....................................... [ 17%] 211s ....................... [ 25%] 212s numpydoc/tests/test_full.py ..... [ 27%] 212s numpydoc/tests/test_main.py .......... [ 30%] 213s numpydoc/tests/test_numpydoc.py FF.FFFFFFF... [ 34%] 213s numpydoc/tests/test_validate.py ........................................ [ 48%] 213s ................................................................x..x.... [ 72%] 213s ................ [ 78%] 214s numpydoc/tests/test_xref.py ............................................ [ 93%] 214s ................... [ 99%] 214s numpydoc/validate.py . [100%] 214s 214s =================================== FAILURES =================================== 214s _________________________ test_mangle_docstrings_basic _________________________ 214s 214s def test_mangle_docstrings_basic(): 214s s = """ 214s A top section before 214s 214s .. autoclass:: str 214s """ 214s lines = s.split("\n") 214s > mangle_docstrings(MockApp(), "class", "str", str, {}, lines) 214s 214s lines = ['', 'A top section before', '', '.. autoclass:: str', ' '] 214s s = '\nA top section before\n\n.. autoclass:: str\n ' 214s 214s numpydoc/tests/test_numpydoc.py:62: 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s numpydoc/numpydoc.py:194: in mangle_docstrings 214s doc = get_doc_object( 214s app = 214s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s lines = ['', 'A top section before', '', '.. autoclass:: str', ' '] 214s name = 'str' 214s obj = 214s options = {} 214s show_inherited_class_members = True 214s u_NL = '\n' 214s what = 'class' 214s numpydoc/docscrape_sphinx.py:417: in get_doc_object 214s template_loader.init(builder, dirs=template_dirs) 214s builder = 214s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s doc = '\nA top section before\n\n.. autoclass:: str\n ' 214s obj = 214s template_dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s template_loader = 214s what = 'class' 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s 214s self = 214s builder = , theme = None 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s 214s def init( 214s self, 214s builder: Builder, 214s theme: Theme | None = None, 214s dirs: list[str] | None = None, 214s ) -> None: 214s # create a chain of paths to search 214s if theme: 214s # the theme's own dir and its bases' dirs 214s pathchain = theme.get_theme_dirs() 214s # the loader dirs: pathchain + the parent directories for all themes 214s loaderchain = pathchain + [p.parent for p in pathchain] 214s elif dirs: 214s pathchain = list(map(_StrPath, dirs)) 214s loaderchain = list(map(_StrPath, dirs)) 214s else: 214s pathchain = [] 214s loaderchain = [] 214s 214s # prepend explicit template paths 214s self.templatepathlen = len(builder.config.templates_path) 214s if builder.config.templates_path: 214s cfg_templates_path = [ 214s builder.confdir / tp for tp in builder.config.templates_path 214s ] 214s pathchain[0:0] = cfg_templates_path 214s loaderchain[0:0] = cfg_templates_path 214s 214s # store it for use in newest_template_mtime 214s self.pathchain = pathchain 214s 214s # make the paths into loaders 214s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 214s 214s > use_i18n = builder._translator is not None 214s E AttributeError: 'MockBuilder' object has no attribute '_translator' 214s 214s builder = 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s loaderchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s pathchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s self = 214s theme = None 214s 214s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 214s ----------------------------- Captured stderr call ----------------------------- 214s ERROR: [numpydoc] While processing docstring for 'str' 214s ________________ test_mangle_docstrings_inherited_class_members ________________ 214s 214s def test_mangle_docstrings_inherited_class_members(): 214s # if subclass docs are rendered, this PosixPath should have Path.samefile 214s p = """ 214s A top section before 214s 214s .. autoclass:: pathlib.PosixPath 214s """ 214s lines = p.split("\n") 214s app = MockApp() 214s > mangle_docstrings(app, "class", "pathlib.PosixPath", PosixPath, {}, lines) 214s 214s app = 214s lines = ['', 'A top section before', '', '.. autoclass:: pathlib.PosixPath', ''] 214s p = '\nA top section before\n\n.. autoclass:: pathlib.PosixPath\n' 214s 214s numpydoc/tests/test_numpydoc.py:92: 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s numpydoc/numpydoc.py:194: in mangle_docstrings 214s doc = get_doc_object( 214s app = 214s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s lines = ['', 'A top section before', '', '.. autoclass:: pathlib.PosixPath', ''] 214s name = 'pathlib.PosixPath' 214s obj = 214s options = {} 214s show_inherited_class_members = True 214s u_NL = '\n' 214s what = 'class' 214s numpydoc/docscrape_sphinx.py:417: in get_doc_object 214s template_loader.init(builder, dirs=template_dirs) 214s builder = 214s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s doc = '\nA top section before\n\n.. autoclass:: pathlib.PosixPath\n' 214s obj = 214s template_dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s template_loader = 214s what = 'class' 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s 214s self = 214s builder = , theme = None 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s 214s def init( 214s self, 214s builder: Builder, 214s theme: Theme | None = None, 214s dirs: list[str] | None = None, 214s ) -> None: 214s # create a chain of paths to search 214s if theme: 214s # the theme's own dir and its bases' dirs 214s pathchain = theme.get_theme_dirs() 214s # the loader dirs: pathchain + the parent directories for all themes 214s loaderchain = pathchain + [p.parent for p in pathchain] 214s elif dirs: 214s pathchain = list(map(_StrPath, dirs)) 214s loaderchain = list(map(_StrPath, dirs)) 214s else: 214s pathchain = [] 214s loaderchain = [] 214s 214s # prepend explicit template paths 214s self.templatepathlen = len(builder.config.templates_path) 214s if builder.config.templates_path: 214s cfg_templates_path = [ 214s builder.confdir / tp for tp in builder.config.templates_path 214s ] 214s pathchain[0:0] = cfg_templates_path 214s loaderchain[0:0] = cfg_templates_path 214s 214s # store it for use in newest_template_mtime 214s self.pathchain = pathchain 214s 214s # make the paths into loaders 214s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 214s 214s > use_i18n = builder._translator is not None 214s E AttributeError: 'MockBuilder' object has no attribute '_translator' 214s 214s builder = 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s loaderchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s pathchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s self = 214s theme = None 214s 214s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 214s ----------------------------- Captured stderr call ----------------------------- 214s ERROR: [numpydoc] While processing docstring for 'pathlib.PosixPath' 214s _ test_mangle_docstring_validation_warnings[numpydoc_validation_checks0-expected_warn0-non_warnings0] _ 214s 214s f = ._function_without_seealso_and_examples at 0xeea34ffd6200> 214s numpydoc_validation_checks = set(), expected_warn = [], non_warnings = [] 214s 214s @pytest.mark.parametrize( 214s ( 214s "numpydoc_validation_checks", 214s "expected_warn", 214s "non_warnings", 214s ), 214s ( 214s # Validation configured off - expect no warnings 214s (set(), [], []), 214s # Validation on with expected warnings 214s ({"SA01", "EX01"}, ("SA01", "EX01"), []), 214s # Validation on with only one activated check 214s ({"SA01"}, ("SA01",), ("EX01",)), 214s ), 214s ) 214s def test_mangle_docstring_validation_warnings( 214s f, 214s numpydoc_validation_checks, 214s expected_warn, 214s non_warnings, 214s ): 214s app = MockApp() 214s # Set up config for test 214s app.config.numpydoc_validation_checks = numpydoc_validation_checks 214s # Update configuration 214s update_config(app) 214s # Set up logging 214s status, warning = StringIO(), StringIO() 214s logging.setup(app, status, warning) 214s # Run mangle docstrings with the above configuration 214s > mangle_docstrings(app, "function", "f", f, None, f.__doc__.split("\n")) 214s 214s app = 214s expected_warn = [] 214s f = ._function_without_seealso_and_examples at 0xeea34ffd6200> 214s non_warnings = [] 214s numpydoc_validation_checks = set() 214s status = <_io.StringIO object at 0xeea34ffb9480> 214s warning = <_io.StringIO object at 0xeea34ffb9600> 214s 214s numpydoc/tests/test_numpydoc.py:188: 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s numpydoc/numpydoc.py:194: in mangle_docstrings 214s doc = get_doc_object( 214s app = 214s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s lines = ['', 'A function whose docstring has no examples or see also section.', '', 'Expect SA01 and EX01 errors if validation enabled.', ''] 214s name = 'f' 214s obj = ._function_without_seealso_and_examples at 0xeea34ffd6200> 214s options = None 214s show_inherited_class_members = True 214s u_NL = '\n' 214s what = 'function' 214s numpydoc/docscrape_sphinx.py:417: in get_doc_object 214s template_loader.init(builder, dirs=template_dirs) 214s builder = 214s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s doc = '\nA function whose docstring has no examples or see also section.\n\nExpect SA01 and EX01 errors if validation enabled.\n' 214s obj = ._function_without_seealso_and_examples at 0xeea34ffd6200> 214s template_dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s template_loader = 214s what = 'function' 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s 214s self = 214s builder = , theme = None 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s 214s def init( 214s self, 214s builder: Builder, 214s theme: Theme | None = None, 214s dirs: list[str] | None = None, 214s ) -> None: 214s # create a chain of paths to search 214s if theme: 214s # the theme's own dir and its bases' dirs 214s pathchain = theme.get_theme_dirs() 214s # the loader dirs: pathchain + the parent directories for all themes 214s loaderchain = pathchain + [p.parent for p in pathchain] 214s elif dirs: 214s pathchain = list(map(_StrPath, dirs)) 214s loaderchain = list(map(_StrPath, dirs)) 214s else: 214s pathchain = [] 214s loaderchain = [] 214s 214s # prepend explicit template paths 214s self.templatepathlen = len(builder.config.templates_path) 214s if builder.config.templates_path: 214s cfg_templates_path = [ 214s builder.confdir / tp for tp in builder.config.templates_path 214s ] 214s pathchain[0:0] = cfg_templates_path 214s loaderchain[0:0] = cfg_templates_path 214s 214s # store it for use in newest_template_mtime 214s self.pathchain = pathchain 214s 214s # make the paths into loaders 214s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 214s 214s > use_i18n = builder._translator is not None 214s E AttributeError: 'MockBuilder' object has no attribute '_translator' 214s 214s builder = 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s loaderchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s pathchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s self = 214s theme = None 214s 214s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 214s _ test_mangle_docstring_validation_warnings[numpydoc_validation_checks1-expected_warn1-non_warnings1] _ 214s 214s f = ._function_without_seealso_and_examples at 0xeea34f9f36a0> 214s numpydoc_validation_checks = {'EX01', 'SA01'}, expected_warn = ('SA01', 'EX01') 214s non_warnings = [] 214s 214s @pytest.mark.parametrize( 214s ( 214s "numpydoc_validation_checks", 214s "expected_warn", 214s "non_warnings", 214s ), 214s ( 214s # Validation configured off - expect no warnings 214s (set(), [], []), 214s # Validation on with expected warnings 214s ({"SA01", "EX01"}, ("SA01", "EX01"), []), 214s # Validation on with only one activated check 214s ({"SA01"}, ("SA01",), ("EX01",)), 214s ), 214s ) 214s def test_mangle_docstring_validation_warnings( 214s f, 214s numpydoc_validation_checks, 214s expected_warn, 214s non_warnings, 214s ): 214s app = MockApp() 214s # Set up config for test 214s app.config.numpydoc_validation_checks = numpydoc_validation_checks 214s # Update configuration 214s update_config(app) 214s # Set up logging 214s status, warning = StringIO(), StringIO() 214s logging.setup(app, status, warning) 214s # Run mangle docstrings with the above configuration 214s > mangle_docstrings(app, "function", "f", f, None, f.__doc__.split("\n")) 214s 214s app = 214s expected_warn = ('SA01', 'EX01') 214s f = ._function_without_seealso_and_examples at 0xeea34f9f36a0> 214s non_warnings = [] 214s numpydoc_validation_checks = {'EX01', 'SA01'} 214s status = <_io.StringIO object at 0xeea34feae140> 214s warning = <_io.StringIO object at 0xeea34fead600> 214s 214s numpydoc/tests/test_numpydoc.py:188: 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s numpydoc/numpydoc.py:194: in mangle_docstrings 214s doc = get_doc_object( 214s app = 214s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s lines = ['', 'A function whose docstring has no examples or see also section.', '', 'Expect SA01 and EX01 errors if validation enabled.', ''] 214s name = 'f' 214s obj = ._function_without_seealso_and_examples at 0xeea34f9f36a0> 214s options = None 214s show_inherited_class_members = True 214s u_NL = '\n' 214s what = 'function' 214s numpydoc/docscrape_sphinx.py:417: in get_doc_object 214s template_loader.init(builder, dirs=template_dirs) 214s builder = 214s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s doc = '\nA function whose docstring has no examples or see also section.\n\nExpect SA01 and EX01 errors if validation enabled.\n' 214s obj = ._function_without_seealso_and_examples at 0xeea34f9f36a0> 214s template_dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s template_loader = 214s what = 'function' 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s 214s self = 214s builder = , theme = None 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s 214s def init( 214s self, 214s builder: Builder, 214s theme: Theme | None = None, 214s dirs: list[str] | None = None, 214s ) -> None: 214s # create a chain of paths to search 214s if theme: 214s # the theme's own dir and its bases' dirs 214s pathchain = theme.get_theme_dirs() 214s # the loader dirs: pathchain + the parent directories for all themes 214s loaderchain = pathchain + [p.parent for p in pathchain] 214s elif dirs: 214s pathchain = list(map(_StrPath, dirs)) 214s loaderchain = list(map(_StrPath, dirs)) 214s else: 214s pathchain = [] 214s loaderchain = [] 214s 214s # prepend explicit template paths 214s self.templatepathlen = len(builder.config.templates_path) 214s if builder.config.templates_path: 214s cfg_templates_path = [ 214s builder.confdir / tp for tp in builder.config.templates_path 214s ] 214s pathchain[0:0] = cfg_templates_path 214s loaderchain[0:0] = cfg_templates_path 214s 214s # store it for use in newest_template_mtime 214s self.pathchain = pathchain 214s 214s # make the paths into loaders 214s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 214s 214s > use_i18n = builder._translator is not None 214s E AttributeError: 'MockBuilder' object has no attribute '_translator' 214s 214s builder = 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s loaderchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s pathchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s self = 214s theme = None 214s 214s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 214s _ test_mangle_docstring_validation_warnings[numpydoc_validation_checks2-expected_warn2-non_warnings2] _ 214s 214s f = ._function_without_seealso_and_examples at 0xeea34f9f2c00> 214s numpydoc_validation_checks = {'SA01'}, expected_warn = ('SA01',) 214s non_warnings = ('EX01',) 214s 214s @pytest.mark.parametrize( 214s ( 214s "numpydoc_validation_checks", 214s "expected_warn", 214s "non_warnings", 214s ), 214s ( 214s # Validation configured off - expect no warnings 214s (set(), [], []), 214s # Validation on with expected warnings 214s ({"SA01", "EX01"}, ("SA01", "EX01"), []), 214s # Validation on with only one activated check 214s ({"SA01"}, ("SA01",), ("EX01",)), 214s ), 214s ) 214s def test_mangle_docstring_validation_warnings( 214s f, 214s numpydoc_validation_checks, 214s expected_warn, 214s non_warnings, 214s ): 214s app = MockApp() 214s # Set up config for test 214s app.config.numpydoc_validation_checks = numpydoc_validation_checks 214s # Update configuration 214s update_config(app) 214s # Set up logging 214s status, warning = StringIO(), StringIO() 214s logging.setup(app, status, warning) 214s # Run mangle docstrings with the above configuration 214s > mangle_docstrings(app, "function", "f", f, None, f.__doc__.split("\n")) 214s 214s app = 214s expected_warn = ('SA01',) 214s f = ._function_without_seealso_and_examples at 0xeea34f9f2c00> 214s non_warnings = ('EX01',) 214s numpydoc_validation_checks = {'SA01'} 214s status = <_io.StringIO object at 0xeea34ffb8c40> 214s warning = <_io.StringIO object at 0xeea34ffb8b80> 214s 214s numpydoc/tests/test_numpydoc.py:188: 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s numpydoc/numpydoc.py:194: in mangle_docstrings 214s doc = get_doc_object( 214s app = 214s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s lines = ['', 'A function whose docstring has no examples or see also section.', '', 'Expect SA01 and EX01 errors if validation enabled.', ''] 214s name = 'f' 214s obj = ._function_without_seealso_and_examples at 0xeea34f9f2c00> 214s options = None 214s show_inherited_class_members = True 214s u_NL = '\n' 214s what = 'function' 214s numpydoc/docscrape_sphinx.py:417: in get_doc_object 214s template_loader.init(builder, dirs=template_dirs) 214s builder = 214s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s doc = '\nA function whose docstring has no examples or see also section.\n\nExpect SA01 and EX01 errors if validation enabled.\n' 214s obj = ._function_without_seealso_and_examples at 0xeea34f9f2c00> 214s template_dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s template_loader = 214s what = 'function' 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s 214s self = 214s builder = , theme = None 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s 214s def init( 214s self, 214s builder: Builder, 214s theme: Theme | None = None, 214s dirs: list[str] | None = None, 214s ) -> None: 214s # create a chain of paths to search 214s if theme: 214s # the theme's own dir and its bases' dirs 214s pathchain = theme.get_theme_dirs() 214s # the loader dirs: pathchain + the parent directories for all themes 214s loaderchain = pathchain + [p.parent for p in pathchain] 214s elif dirs: 214s pathchain = list(map(_StrPath, dirs)) 214s loaderchain = list(map(_StrPath, dirs)) 214s else: 214s pathchain = [] 214s loaderchain = [] 214s 214s # prepend explicit template paths 214s self.templatepathlen = len(builder.config.templates_path) 214s if builder.config.templates_path: 214s cfg_templates_path = [ 214s builder.confdir / tp for tp in builder.config.templates_path 214s ] 214s pathchain[0:0] = cfg_templates_path 214s loaderchain[0:0] = cfg_templates_path 214s 214s # store it for use in newest_template_mtime 214s self.pathchain = pathchain 214s 214s # make the paths into loaders 214s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 214s 214s > use_i18n = builder._translator is not None 214s E AttributeError: 'MockBuilder' object has no attribute '_translator' 214s 214s builder = 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s loaderchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s pathchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s self = 214s theme = None 214s 214s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 214s ___________________ test_mangle_docstring_validation_exclude ___________________ 214s 214s def test_mangle_docstring_validation_exclude(): 214s def function_with_bad_docstring(): 214s """ 214s This docstring will raise docstring validation warnings.""" 214s 214s app = MockApp() 214s app.config.numpydoc_validation_checks = {"all"} 214s app.config.numpydoc_validation_exclude = [r"_bad_"] 214s # Call update_config to construct regexp from config value 214s update_config(app) 214s # Setup for catching warnings 214s status, warning = StringIO(), StringIO() 214s logging.setup(app, status, warning) 214s # Run mangle docstrings on function_with_bad_docstring 214s > mangle_docstrings( 214s app, 214s "function", 214s function_with_bad_docstring.__name__, 214s function_with_bad_docstring, 214s None, 214s function_with_bad_docstring.__doc__.split("\n"), 214s ) 214s 214s app = 214s function_with_bad_docstring = .function_with_bad_docstring at 0xeea34f9f0900> 214s status = <_io.StringIO object at 0xeea34ffb8400> 214s warning = <_io.StringIO object at 0xeea34ffb8340> 214s 214s numpydoc/tests/test_numpydoc.py:211: 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s numpydoc/numpydoc.py:194: in mangle_docstrings 214s doc = get_doc_object( 214s app = 214s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s lines = ['', 'This docstring will raise docstring validation warnings.'] 214s name = 'function_with_bad_docstring' 214s obj = .function_with_bad_docstring at 0xeea34f9f0900> 214s options = None 214s show_inherited_class_members = True 214s u_NL = '\n' 214s what = 'function' 214s numpydoc/docscrape_sphinx.py:417: in get_doc_object 214s template_loader.init(builder, dirs=template_dirs) 214s builder = 214s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s doc = '\nThis docstring will raise docstring validation warnings.' 214s obj = .function_with_bad_docstring at 0xeea34f9f0900> 214s template_dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s template_loader = 214s what = 'function' 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s 214s self = 214s builder = , theme = None 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s 214s def init( 214s self, 214s builder: Builder, 214s theme: Theme | None = None, 214s dirs: list[str] | None = None, 214s ) -> None: 214s # create a chain of paths to search 214s if theme: 214s # the theme's own dir and its bases' dirs 214s pathchain = theme.get_theme_dirs() 214s # the loader dirs: pathchain + the parent directories for all themes 214s loaderchain = pathchain + [p.parent for p in pathchain] 214s elif dirs: 214s pathchain = list(map(_StrPath, dirs)) 214s loaderchain = list(map(_StrPath, dirs)) 214s else: 214s pathchain = [] 214s loaderchain = [] 214s 214s # prepend explicit template paths 214s self.templatepathlen = len(builder.config.templates_path) 214s if builder.config.templates_path: 214s cfg_templates_path = [ 214s builder.confdir / tp for tp in builder.config.templates_path 214s ] 214s pathchain[0:0] = cfg_templates_path 214s loaderchain[0:0] = cfg_templates_path 214s 214s # store it for use in newest_template_mtime 214s self.pathchain = pathchain 214s 214s # make the paths into loaders 214s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 214s 214s > use_i18n = builder._translator is not None 214s E AttributeError: 'MockBuilder' object has no attribute '_translator' 214s 214s builder = 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s loaderchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s pathchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s self = 214s theme = None 214s 214s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 214s _________________ test_mangle_docstrings_overrides[overrides0] _________________ 214s 214s overrides = {} 214s 214s @pytest.mark.parametrize("overrides", [{}, {"SS02"}, {"SS02", "SS03"}]) 214s def test_mangle_docstrings_overrides(overrides): 214s def process_something_noop_function(): 214s """Process something.""" 214s 214s app = MockApp() 214s app.config.numpydoc_validation_checks = {"all"} 214s app.config.numpydoc_validation_overrides = { 214s check: [r"^Process "] # overrides are regex on docstring content 214s for check in overrides 214s } 214s update_config(app) 214s 214s # Setup for catching warnings 214s status, warning = StringIO(), StringIO() 214s logging.setup(app, status, warning) 214s 214s # Run mangle docstrings on process_something_noop_function 214s > mangle_docstrings( 214s app, 214s "function", 214s process_something_noop_function.__name__, 214s process_something_noop_function, 214s None, 214s process_something_noop_function.__doc__.split("\n"), 214s ) 214s 214s app = 214s overrides = {} 214s process_something_noop_function = .process_something_noop_function at 0xeea34fe74f40> 214s status = <_io.StringIO object at 0xeea34ffb8f40> 214s warning = <_io.StringIO object at 0xeea34ffb8040> 214s 214s numpydoc/tests/test_numpydoc.py:242: 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s numpydoc/numpydoc.py:194: in mangle_docstrings 214s doc = get_doc_object( 214s app = 214s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s lines = ['Process something.'] 214s name = 'process_something_noop_function' 214s obj = .process_something_noop_function at 0xeea34fe74f40> 214s options = None 214s show_inherited_class_members = True 214s u_NL = '\n' 214s what = 'function' 214s numpydoc/docscrape_sphinx.py:417: in get_doc_object 214s template_loader.init(builder, dirs=template_dirs) 214s builder = 214s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s doc = 'Process something.' 214s obj = .process_something_noop_function at 0xeea34fe74f40> 214s template_dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s template_loader = 214s what = 'function' 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s 214s self = 214s builder = , theme = None 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s 214s def init( 214s self, 214s builder: Builder, 214s theme: Theme | None = None, 214s dirs: list[str] | None = None, 214s ) -> None: 214s # create a chain of paths to search 214s if theme: 214s # the theme's own dir and its bases' dirs 214s pathchain = theme.get_theme_dirs() 214s # the loader dirs: pathchain + the parent directories for all themes 214s loaderchain = pathchain + [p.parent for p in pathchain] 214s elif dirs: 214s pathchain = list(map(_StrPath, dirs)) 214s loaderchain = list(map(_StrPath, dirs)) 214s else: 214s pathchain = [] 214s loaderchain = [] 214s 214s # prepend explicit template paths 214s self.templatepathlen = len(builder.config.templates_path) 214s if builder.config.templates_path: 214s cfg_templates_path = [ 214s builder.confdir / tp for tp in builder.config.templates_path 214s ] 214s pathchain[0:0] = cfg_templates_path 214s loaderchain[0:0] = cfg_templates_path 214s 214s # store it for use in newest_template_mtime 214s self.pathchain = pathchain 214s 214s # make the paths into loaders 214s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 214s 214s > use_i18n = builder._translator is not None 214s E AttributeError: 'MockBuilder' object has no attribute '_translator' 214s 214s builder = 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s loaderchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s pathchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s self = 214s theme = None 214s 214s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 214s _________________ test_mangle_docstrings_overrides[overrides1] _________________ 214s 214s overrides = {'SS02'} 214s 214s @pytest.mark.parametrize("overrides", [{}, {"SS02"}, {"SS02", "SS03"}]) 214s def test_mangle_docstrings_overrides(overrides): 214s def process_something_noop_function(): 214s """Process something.""" 214s 214s app = MockApp() 214s app.config.numpydoc_validation_checks = {"all"} 214s app.config.numpydoc_validation_overrides = { 214s check: [r"^Process "] # overrides are regex on docstring content 214s for check in overrides 214s } 214s update_config(app) 214s 214s # Setup for catching warnings 214s status, warning = StringIO(), StringIO() 214s logging.setup(app, status, warning) 214s 214s # Run mangle docstrings on process_something_noop_function 214s > mangle_docstrings( 214s app, 214s "function", 214s process_something_noop_function.__name__, 214s process_something_noop_function, 214s None, 214s process_something_noop_function.__doc__.split("\n"), 214s ) 214s 214s app = 214s overrides = {'SS02'} 214s process_something_noop_function = .process_something_noop_function at 0xeea34ffd5f80> 214s status = <_io.StringIO object at 0xeea34ffb9c00> 214s warning = <_io.StringIO object at 0xeea34ffb9cc0> 214s 214s numpydoc/tests/test_numpydoc.py:242: 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s numpydoc/numpydoc.py:194: in mangle_docstrings 214s doc = get_doc_object( 214s app = 214s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s lines = ['Process something.'] 214s name = 'process_something_noop_function' 214s obj = .process_something_noop_function at 0xeea34ffd5f80> 214s options = None 214s show_inherited_class_members = True 214s u_NL = '\n' 214s what = 'function' 214s numpydoc/docscrape_sphinx.py:417: in get_doc_object 214s template_loader.init(builder, dirs=template_dirs) 214s builder = 214s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s doc = 'Process something.' 214s obj = .process_something_noop_function at 0xeea34ffd5f80> 214s template_dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s template_loader = 214s what = 'function' 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s 214s self = 214s builder = , theme = None 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s 214s def init( 214s self, 214s builder: Builder, 214s theme: Theme | None = None, 214s dirs: list[str] | None = None, 214s ) -> None: 214s # create a chain of paths to search 214s if theme: 214s # the theme's own dir and its bases' dirs 214s pathchain = theme.get_theme_dirs() 214s # the loader dirs: pathchain + the parent directories for all themes 214s loaderchain = pathchain + [p.parent for p in pathchain] 214s elif dirs: 214s pathchain = list(map(_StrPath, dirs)) 214s loaderchain = list(map(_StrPath, dirs)) 214s else: 214s pathchain = [] 214s loaderchain = [] 214s 214s # prepend explicit template paths 214s self.templatepathlen = len(builder.config.templates_path) 214s if builder.config.templates_path: 214s cfg_templates_path = [ 214s builder.confdir / tp for tp in builder.config.templates_path 214s ] 214s pathchain[0:0] = cfg_templates_path 214s loaderchain[0:0] = cfg_templates_path 214s 214s # store it for use in newest_template_mtime 214s self.pathchain = pathchain 214s 214s # make the paths into loaders 214s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 214s 214s > use_i18n = builder._translator is not None 214s E AttributeError: 'MockBuilder' object has no attribute '_translator' 214s 214s builder = 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s loaderchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s pathchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s self = 214s theme = None 214s 214s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 214s _________________ test_mangle_docstrings_overrides[overrides2] _________________ 214s 214s overrides = {'SS02', 'SS03'} 214s 214s @pytest.mark.parametrize("overrides", [{}, {"SS02"}, {"SS02", "SS03"}]) 214s def test_mangle_docstrings_overrides(overrides): 214s def process_something_noop_function(): 214s """Process something.""" 214s 214s app = MockApp() 214s app.config.numpydoc_validation_checks = {"all"} 214s app.config.numpydoc_validation_overrides = { 214s check: [r"^Process "] # overrides are regex on docstring content 214s for check in overrides 214s } 214s update_config(app) 214s 214s # Setup for catching warnings 214s status, warning = StringIO(), StringIO() 214s logging.setup(app, status, warning) 214s 214s # Run mangle docstrings on process_something_noop_function 214s > mangle_docstrings( 214s app, 214s "function", 214s process_something_noop_function.__name__, 214s process_something_noop_function, 214s None, 214s process_something_noop_function.__doc__.split("\n"), 214s ) 214s 214s app = 214s overrides = {'SS02', 'SS03'} 214s process_something_noop_function = .process_something_noop_function at 0xeea34ffd5b20> 214s status = <_io.StringIO object at 0xeea34ffba2c0> 214s warning = <_io.StringIO object at 0xeea34ffba380> 214s 214s numpydoc/tests/test_numpydoc.py:242: 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s numpydoc/numpydoc.py:194: in mangle_docstrings 214s doc = get_doc_object( 214s app = 214s cfg = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s lines = ['Process something.'] 214s name = 'process_something_noop_function' 214s obj = .process_something_noop_function at 0xeea34ffd5b20> 214s options = None 214s show_inherited_class_members = True 214s u_NL = '\n' 214s what = 'function' 214s numpydoc/docscrape_sphinx.py:417: in get_doc_object 214s template_loader.init(builder, dirs=template_dirs) 214s builder = 214s config = {'attributes_as_param_list': True, 'class_members_toctree': True, 'show_class_members': True, 'show_inherited_class_members': True, ...} 214s doc = 'Process something.' 214s obj = .process_something_noop_function at 0xeea34ffd5b20> 214s template_dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s template_loader = 214s what = 'function' 214s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 214s 214s self = 214s builder = , theme = None 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s 214s def init( 214s self, 214s builder: Builder, 214s theme: Theme | None = None, 214s dirs: list[str] | None = None, 214s ) -> None: 214s # create a chain of paths to search 214s if theme: 214s # the theme's own dir and its bases' dirs 214s pathchain = theme.get_theme_dirs() 214s # the loader dirs: pathchain + the parent directories for all themes 214s loaderchain = pathchain + [p.parent for p in pathchain] 214s elif dirs: 214s pathchain = list(map(_StrPath, dirs)) 214s loaderchain = list(map(_StrPath, dirs)) 214s else: 214s pathchain = [] 214s loaderchain = [] 214s 214s # prepend explicit template paths 214s self.templatepathlen = len(builder.config.templates_path) 214s if builder.config.templates_path: 214s cfg_templates_path = [ 214s builder.confdir / tp for tp in builder.config.templates_path 214s ] 214s pathchain[0:0] = cfg_templates_path 214s loaderchain[0:0] = cfg_templates_path 214s 214s # store it for use in newest_template_mtime 214s self.pathchain = pathchain 214s 214s # make the paths into loaders 214s self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain] 214s 214s > use_i18n = builder._translator is not None 214s E AttributeError: 'MockBuilder' object has no attribute '_translator' 214s 214s builder = 214s dirs = ['/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates'] 214s loaderchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s pathchain = [_StrPath('/tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/templates')] 214s self = 214s theme = None 214s 214s /usr/lib/python3/dist-packages/sphinx/jinja2glue.py:201: AttributeError 214s =============================== warnings summary =============================== 214s numpydoc/tests/test_docscrape.py: 17 warnings 214s /tmp/autopkgtest.tU6LJa/build.Jvi/src/numpydoc/docscrape_sphinx.py:163: DeprecationWarning: 'maxsplit' is passed as positional argument 214s desc = re.split(r"\n\s*\n", obj_doc.strip(), 1)[0] 214s 214s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 214s - generated xml file: /tmp/autopkgtest.tU6LJa/build.Jvi/src/junit-results.xml -- 214s =========================== short test summary info ============================ 214s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_basic - Attrib... 214s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_inherited_class_members 214s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_warnings[numpydoc_validation_checks0-expected_warn0-non_warnings0] 214s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_warnings[numpydoc_validation_checks1-expected_warn1-non_warnings1] 214s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_warnings[numpydoc_validation_checks2-expected_warn2-non_warnings2] 214s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstring_validation_exclude 214s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_overrides[overrides0] 214s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_overrides[overrides1] 214s FAILED numpydoc/tests/test_numpydoc.py::test_mangle_docstrings_overrides[overrides2] 214s ============ 9 failed, 284 passed, 2 xfailed, 17 warnings in 3.92s ============= 214s autopkgtest [07:48:11]: test command1: -----------------------] 215s autopkgtest [07:48:12]: test command1: - - - - - - - - - - results - - - - - - - - - - 215s command1 FAIL non-zero exit status 1 215s autopkgtest [07:48:12]: @@@@@@@@@@@@@@@@@@@@ summary 215s command1 FAIL non-zero exit status 1 233s nova [W] Using flock in prodstack6-arm64 233s Creating nova instance adt-questing-arm64-numpydoc-20250506-074437-juju-7f2275-prod-proposed-migration-environment-21-95bc159c-b17c-4129-9a27-c23ac92ceb04 from image adt/ubuntu-questing-arm64-server-20250505.img (UUID df0e3f26-2615-49ec-84ba-7cef705cfad7)... 233s nova [W] Timed out waiting for e6c8f007-411c-42b2-8577-41529a5db130 to get deleted.