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