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