0s autopkgtest [13:57:44]: starting date and time: 2025-02-19 13:57:44+0000 0s autopkgtest [13:57:44]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [13:57:44]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.t6nht0hj/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:sphinx --apt-upgrade bottleneck --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=sphinx/8.1.3-5 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-ppc64el-2.secgroup --name adt-plucky-ppc64el-bottleneck-20250219-135744-juju-7f2275-prod-proposed-migration-environment-15-284f6209-c1c6-43a7-a3d4-3f34c8d2a74f --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 86s autopkgtest [13:59:10]: testbed dpkg architecture: ppc64el 86s autopkgtest [13:59:10]: testbed apt version: 2.9.29 87s autopkgtest [13:59:11]: @@@@@@@@@@@@@@@@@@@@ test bed setup 87s autopkgtest [13:59:11]: testbed release detected to be: None 88s autopkgtest [13:59:12]: updating testbed package index (apt update) 88s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 89s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 89s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 89s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 89s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 89s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [744 kB] 89s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.1 kB] 89s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.9 kB] 89s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [106 kB] 89s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [760 B] 89s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [650 kB] 89s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [5392 B] 90s Fetched 1711 kB in 1s (1231 kB/s) 92s Reading package lists... 93s + lsb_release --codename --short 93s + RELEASE=plucky 93s + cat 93s + [ plucky != trusty ] 93s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 93s Reading package lists... 94s Building dependency tree... 94s Reading state information... 95s Calculating upgrade... 96s The following NEW packages will be installed: 96s libapt-pkg7.0 96s The following packages will be upgraded: 96s apt apt-utils dhcpcd-base iproute2 libgpgme11t64 liblsof0 libp11-kit0 lsof 96s rsyslog sysvinit-utils 96s 10 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 96s Need to get 5997 kB of archives. 96s After this operation, 3932 kB of additional disk space will be used. 96s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el sysvinit-utils ppc64el 3.14-1ubuntu1 [37.0 kB] 96s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libapt-pkg7.0 ppc64el 2.9.30 [1152 kB] 96s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el apt ppc64el 2.9.30 [1439 kB] 96s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el apt-utils ppc64el 2.9.30 [228 kB] 96s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el dhcpcd-base ppc64el 1:10.1.0-7 [280 kB] 96s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el iproute2 ppc64el 6.13.0-1ubuntu1 [1419 kB] 96s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libp11-kit0 ppc64el 0.25.5-2ubuntu3 [309 kB] 96s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el rsyslog ppc64el 8.2412.0-2ubuntu1 [632 kB] 96s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el lsof ppc64el 4.99.4+dfsg-1 [255 kB] 96s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsof0 ppc64el 4.99.4+dfsg-1 [68.4 kB] 96s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgpgme11t64 ppc64el 1.24.2-1ubuntu1 [177 kB] 97s Preconfiguring packages ... 97s Fetched 5997 kB in 1s (7046 kB/s) 98s (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 ... 106322 files and directories currently installed.) 98s Preparing to unpack .../sysvinit-utils_3.14-1ubuntu1_ppc64el.deb ... 98s Unpacking sysvinit-utils (3.14-1ubuntu1) over (3.08-6ubuntu3) ... 98s Setting up sysvinit-utils (3.14-1ubuntu1) ... 98s Selecting previously unselected package libapt-pkg7.0:ppc64el. 98s (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 ... 106322 files and directories currently installed.) 98s Preparing to unpack .../libapt-pkg7.0_2.9.30_ppc64el.deb ... 98s Unpacking libapt-pkg7.0:ppc64el (2.9.30) ... 98s Setting up libapt-pkg7.0:ppc64el (2.9.30) ... 98s (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 ... 106371 files and directories currently installed.) 98s Preparing to unpack .../apt_2.9.30_ppc64el.deb ... 98s Unpacking apt (2.9.30) over (2.9.29) ... 99s Setting up apt (2.9.30) ... 100s (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 ... 106371 files and directories currently installed.) 100s Preparing to unpack .../0-apt-utils_2.9.30_ppc64el.deb ... 100s Unpacking apt-utils (2.9.30) over (2.9.29) ... 100s Preparing to unpack .../1-dhcpcd-base_1%3a10.1.0-7_ppc64el.deb ... 100s Unpacking dhcpcd-base (1:10.1.0-7) over (1:10.1.0-6) ... 100s Preparing to unpack .../2-iproute2_6.13.0-1ubuntu1_ppc64el.deb ... 100s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 100s Preparing to unpack .../3-libp11-kit0_0.25.5-2ubuntu3_ppc64el.deb ... 100s Unpacking libp11-kit0:ppc64el (0.25.5-2ubuntu3) over (0.25.5-2ubuntu2) ... 101s Preparing to unpack .../4-rsyslog_8.2412.0-2ubuntu1_ppc64el.deb ... 101s Unpacking rsyslog (8.2412.0-2ubuntu1) over (8.2412.0-1ubuntu1) ... 101s Preparing to unpack .../5-lsof_4.99.4+dfsg-1_ppc64el.deb ... 101s Unpacking lsof (4.99.4+dfsg-1) over (4.99.3+dfsg-2) ... 101s Preparing to unpack .../6-liblsof0_4.99.4+dfsg-1_ppc64el.deb ... 101s Unpacking liblsof0 (4.99.4+dfsg-1) over (4.99.3+dfsg-2) ... 101s Preparing to unpack .../7-libgpgme11t64_1.24.2-1ubuntu1_ppc64el.deb ... 101s Unpacking libgpgme11t64:ppc64el (1.24.2-1ubuntu1) over (1.24.1-4ubuntu1) ... 101s Setting up apt-utils (2.9.30) ... 101s Setting up liblsof0 (4.99.4+dfsg-1) ... 101s Setting up iproute2 (6.13.0-1ubuntu1) ... 101s Setting up rsyslog (8.2412.0-2ubuntu1) ... 102s info: The user `syslog' is already a member of `adm'. 104s Setting up libp11-kit0:ppc64el (0.25.5-2ubuntu3) ... 104s Setting up dhcpcd-base (1:10.1.0-7) ... 104s Setting up lsof (4.99.4+dfsg-1) ... 104s Setting up libgpgme11t64:ppc64el (1.24.2-1ubuntu1) ... 104s Processing triggers for man-db (2.13.0-1) ... 108s Processing triggers for libc-bin (2.40-4ubuntu1) ... 109s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 109s + /usr/lib/apt/apt-helper analyze-pattern ?true 109s + + sed s/\./\\./g 109s uname -r 109s + running_kernel_pattern=^linux-.*6\.12\.0-15-generic.* 109s + apt list ?obsolete 109s + tail -n+2 109s + cut -d/ -f1 109s + grep -v ^linux-.*6\.12\.0-15-generic.* 112s + true 112s + obsolete_pkgs= 112s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 114s + grep -q trusty /etc/lsb-release 114s + [ ! -d /usr/share/doc/unattended-upgrades ] 114s + [ ! -d /usr/share/doc/lxd ] 114s + [ ! -d /usr/share/doc/lxd-client ] 114s + [ ! -d /usr/share/doc/snapd ] 114s + type iptables 114s + cat 114s + chmod 755 /etc/rc.local 114s + . /etc/rc.local 114s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 114s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 114s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 114s + uname -m 114s + [ ppc64le = ppc64le ] 114s + systemctl is-active keyboard-setup.service 114s + [ active = failed ] 114s + [ -d /run/systemd/system ] 114s + systemd-detect-virt --quiet --vm 114s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 114s + cat 114s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 114s + echo COMPRESS=lz4 114s autopkgtest [13:59:38]: upgrading testbed (apt dist-upgrade and autopurge) 114s Reading package lists... 115s Building dependency tree... 115s Reading state information... 115s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 116s Starting 2 pkgProblemResolver with broken count: 0 116s Done 117s Entering ResolveByKeep 118s 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s Reading package lists... 119s Building dependency tree... 119s Reading state information... 120s Starting pkgProblemResolver with broken count: 0 120s Starting 2 pkgProblemResolver with broken count: 0 120s Done 121s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s autopkgtest [13:59:45]: rebooting testbed after setup commands that affected boot 156s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 183s autopkgtest [14:00:47]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP Tue Feb 4 16:32:08 UTC 2025 186s autopkgtest [14:00:50]: @@@@@@@@@@@@@@@@@@@@ apt-source bottleneck 189s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.4.2+ds1-2 (dsc) [2526 B] 189s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.4.2+ds1-2 (tar) [76.7 kB] 189s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.4.2+ds1-2 (diff) [6148 B] 190s gpgv: Signature made Mon Jan 27 14:09:27 2025 UTC 190s gpgv: using RSA key 9B03EBB98300DF97C2B123BFCC8C6BDD1403F4CA 190s gpgv: issuer "roehling@debian.org" 190s gpgv: Can't check signature: No public key 190s dpkg-source: warning: cannot verify inline signature for ./bottleneck_1.4.2+ds1-2.dsc: no acceptable signature found 190s autopkgtest [14:00:54]: testing package bottleneck version 1.4.2+ds1-2 190s autopkgtest [14:00:54]: build not needed 190s autopkgtest [14:00:54]: test command1: preparing testbed 191s Reading package lists... 191s Building dependency tree... 191s Reading state information... 192s Starting pkgProblemResolver with broken count: 0 192s Starting 2 pkgProblemResolver with broken count: 0 192s Done 192s The following NEW packages will be installed: 192s libblas3 libgfortran5 liblapack3 python3-all python3-bottleneck 192s python3-iniconfig python3-numpy python3-packaging python3-pluggy 192s python3-pytest python3.12 python3.12-minimal 192s 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. 192s Need to get 12.4 MB of archives. 192s After this operation, 60.2 MB of additional disk space will be used. 192s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.12-minimal ppc64el 3.12.9-1 [2465 kB] 193s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.12 ppc64el 3.12.9-1 [671 kB] 193s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblas3 ppc64el 3.12.1-2 [239 kB] 193s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgfortran5 ppc64el 15-20250213-1ubuntu1 [613 kB] 193s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblapack3 ppc64el 3.12.1-2 [2813 kB] 194s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-all ppc64el 3.13.1-1~exp2 [896 B] 194s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-numpy ppc64el 1:1.26.4+ds-13 [5146 kB] 194s Get:8 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-bottleneck ppc64el 1.4.2+ds1-2 [97.9 kB] 194s Get:9 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 194s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 194s Get:11 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 194s Get:12 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.4-1 [252 kB] 195s Fetched 12.4 MB in 2s (7401 kB/s) 195s Selecting previously unselected package python3.12-minimal. 195s (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 ... 106372 files and directories currently installed.) 195s Preparing to unpack .../00-python3.12-minimal_3.12.9-1_ppc64el.deb ... 195s Unpacking python3.12-minimal (3.12.9-1) ... 195s Selecting previously unselected package python3.12. 195s Preparing to unpack .../01-python3.12_3.12.9-1_ppc64el.deb ... 195s Unpacking python3.12 (3.12.9-1) ... 195s Selecting previously unselected package libblas3:ppc64el. 195s Preparing to unpack .../02-libblas3_3.12.1-2_ppc64el.deb ... 195s Unpacking libblas3:ppc64el (3.12.1-2) ... 195s Selecting previously unselected package libgfortran5:ppc64el. 195s Preparing to unpack .../03-libgfortran5_15-20250213-1ubuntu1_ppc64el.deb ... 195s Unpacking libgfortran5:ppc64el (15-20250213-1ubuntu1) ... 195s Selecting previously unselected package liblapack3:ppc64el. 195s Preparing to unpack .../04-liblapack3_3.12.1-2_ppc64el.deb ... 195s Unpacking liblapack3:ppc64el (3.12.1-2) ... 196s Selecting previously unselected package python3-all. 196s Preparing to unpack .../05-python3-all_3.13.1-1~exp2_ppc64el.deb ... 196s Unpacking python3-all (3.13.1-1~exp2) ... 196s Selecting previously unselected package python3-numpy. 196s Preparing to unpack .../06-python3-numpy_1%3a1.26.4+ds-13_ppc64el.deb ... 196s Unpacking python3-numpy (1:1.26.4+ds-13) ... 196s Selecting previously unselected package python3-bottleneck. 196s Preparing to unpack .../07-python3-bottleneck_1.4.2+ds1-2_ppc64el.deb ... 196s Unpacking python3-bottleneck (1.4.2+ds1-2) ... 196s Selecting previously unselected package python3-iniconfig. 196s Preparing to unpack .../08-python3-iniconfig_1.1.1-2_all.deb ... 196s Unpacking python3-iniconfig (1.1.1-2) ... 196s Selecting previously unselected package python3-packaging. 196s Preparing to unpack .../09-python3-packaging_24.2-1_all.deb ... 196s Unpacking python3-packaging (24.2-1) ... 196s Selecting previously unselected package python3-pluggy. 196s Preparing to unpack .../10-python3-pluggy_1.5.0-1_all.deb ... 196s Unpacking python3-pluggy (1.5.0-1) ... 196s Selecting previously unselected package python3-pytest. 196s Preparing to unpack .../11-python3-pytest_8.3.4-1_all.deb ... 196s Unpacking python3-pytest (8.3.4-1) ... 196s Setting up python3-iniconfig (1.1.1-2) ... 197s Setting up python3.12-minimal (3.12.9-1) ... 199s Setting up python3.12 (3.12.9-1) ... 201s Setting up python3-all (3.13.1-1~exp2) ... 201s Setting up libblas3:ppc64el (3.12.1-2) ... 201s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/blas/libblas.so.3 to provide /usr/lib/powerpc64le-linux-gnu/libblas.so.3 (libblas.so.3-powerpc64le-linux-gnu) in auto mode 201s Setting up python3-packaging (24.2-1) ... 202s Setting up libgfortran5:ppc64el (15-20250213-1ubuntu1) ... 202s Setting up python3-pluggy (1.5.0-1) ... 202s Setting up liblapack3:ppc64el (3.12.1-2) ... 202s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/powerpc64le-linux-gnu/liblapack.so.3 (liblapack.so.3-powerpc64le-linux-gnu) in auto mode 202s Setting up python3-pytest (8.3.4-1) ... 204s Setting up python3-numpy (1:1.26.4+ds-13) ... 211s Setting up python3-bottleneck (1.4.2+ds1-2) ... 211s Processing triggers for systemd (257.2-3ubuntu1) ... 211s Processing triggers for man-db (2.13.0-1) ... 212s Processing triggers for libc-bin (2.40-4ubuntu1) ... 214s autopkgtest [14:01:18]: test command1: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import bottleneck as bn; bn.test()" ; done 214s autopkgtest [14:01:18]: test command1: [----------------------- 214s Testing with python3.12: 215s ============================= test session starts ============================== 215s platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0 215s rootdir: /tmp/autopkgtest.HGiPHo/autopkgtest_tmp 215s plugins: typeguard-4.4.1 215s collected 192 items 215s 216s tests/input_modification_test.py ............................. [ 15%] 217s tests/list_input_test.py ............................. [ 30%] 217s tests/memory_test.py . [ 30%] 304s tests/move_test.py ................................. [ 47%] 309s tests/nonreduce_axis_test.py .................... [ 58%] 311s tests/nonreduce_test.py .......... [ 63%] 322s tests/reduce_test.py ................................................... [ 90%] 322s [ 90%] 322s tests/scalar_input_test.py .................. [ 99%] 322s tests/test_template.py F [100%] 322s 322s =================================== FAILURES =================================== 322s ______________________________ test_make_c_files _______________________________ 322s 322s def test_make_c_files() -> None: 322s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 322s modules = ["test"] 322s test_input = os.path.join(dirpath, "test.c") 322s if os.path.exists(test_input): 322s os.remove(test_input) 322s 322s > make_c_files(dirpath=dirpath, modules=modules) 322s 322s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 322s modules = ['test'] 322s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 322s 322s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 322s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 322s 322s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 322s modules = ['test'] 322s 322s def make_c_files( 322s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 322s ) -> None: 322s if modules is None: 322s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 322s if dirpath is None: 322s dirpath = os.path.dirname(__file__) 322s for module in modules: 322s template_file = os.path.join(dirpath, module + "_template.c") 322s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 322s target_file = os.path.join(dirpath, module + ".c") 322s 322s if ( 322s os.path.exists(target_file) 322s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 322s ): 322s continue 322s 322s with open(template_file, "r") as f: 322s src_str = f.read() 322s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 322s if len(src_str) and src_str[-1] != "\n": 322s src_str += "\n" 322s > with open(target_file, "w") as f: 322s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 322s 322s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 322s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 322s module = 'test' 322s modules = ['test'] 322s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 322s src_str = '#line 1 "../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c"\n// Copyright 20...ITY;\n if (bar >= 0) {\n bar = 0;\n }\n return PyFloat_FromDouble(bar);\n}\n\nREDUCE_MAIN(nanmax, 0)\n' 322s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 322s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 322s 322s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 322s =========================== short test summary info ============================ 322s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 322s ================== 1 failed, 191 passed in 107.52s (0:01:47) =================== 322s Testing with python3.13: 323s ============================= test session starts ============================== 323s platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 323s rootdir: /tmp/autopkgtest.HGiPHo/autopkgtest_tmp 323s plugins: typeguard-4.4.1 323s collected 192 items 323s 324s tests/input_modification_test.py ............................. [ 15%] 325s tests/list_input_test.py ............................. [ 30%] 325s tests/memory_test.py . [ 30%] 400s tests/move_test.py ................................. [ 47%] 406s tests/nonreduce_axis_test.py .................... [ 58%] 407s tests/nonreduce_test.py .......... [ 63%] 417s tests/reduce_test.py ................................................... [ 90%] 417s [ 90%] 417s tests/scalar_input_test.py .................. [ 99%] 417s tests/test_template.py F [100%] 417s 417s =================================== FAILURES =================================== 417s ______________________________ test_make_c_files _______________________________ 417s 417s def test_make_c_files() -> None: 417s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 417s modules = ["test"] 417s test_input = os.path.join(dirpath, "test.c") 417s if os.path.exists(test_input): 417s os.remove(test_input) 417s 417s > make_c_files(dirpath=dirpath, modules=modules) 417s 417s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 417s modules = ['test'] 417s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 417s 417s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 417s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 417s 417s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 417s modules = ['test'] 417s 417s def make_c_files( 417s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 417s ) -> None: 417s if modules is None: 417s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 417s if dirpath is None: 417s dirpath = os.path.dirname(__file__) 417s for module in modules: 417s template_file = os.path.join(dirpath, module + "_template.c") 417s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 417s target_file = os.path.join(dirpath, module + ".c") 417s 417s if ( 417s os.path.exists(target_file) 417s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 417s ): 417s continue 417s 417s with open(template_file, "r") as f: 417s src_str = f.read() 417s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 417s if len(src_str) and src_str[-1] != "\n": 417s src_str += "\n" 417s > with open(target_file, "w") as f: 417s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 417s 417s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 417s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 417s module = 'test' 417s modules = ['test'] 417s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 417s src_str = '#line 1 "../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c"\n// Copyright 20...ITY;\n if (bar >= 0) {\n bar = 0;\n }\n return PyFloat_FromDouble(bar);\n}\n\nREDUCE_MAIN(nanmax, 0)\n' 417s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 417s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 417s 417s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 417s =========================== short test summary info ============================ 417s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 417s =================== 1 failed, 191 passed in 93.47s (0:01:33) =================== 417s autopkgtest [14:04:41]: test command1: -----------------------] 418s autopkgtest [14:04:42]: test command1: - - - - - - - - - - results - - - - - - - - - - 418s command1 PASS 418s autopkgtest [14:04:42]: @@@@@@@@@@@@@@@@@@@@ summary 418s command1 PASS 435s nova [W] Using flock in prodstack6-ppc64el 435s Creating nova instance adt-plucky-ppc64el-bottleneck-20250219-135744-juju-7f2275-prod-proposed-migration-environment-15-284f6209-c1c6-43a7-a3d4-3f34c8d2a74f from image adt/ubuntu-plucky-ppc64el-server-20250218.img (UUID 9318aa34-3d3c-43c5-86d2-aaf9390f2f5d)... 435s nova [W] Timed out waiting for 20547b3f-bf60-42ed-92c6-5122ac39ffe9 to get deleted.