0s autopkgtest [13:42:58]: starting date and time: 2025-01-03 13:42:58+0000 0s autopkgtest [13:42:58]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [13:42:58]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.bo2v5_30/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade bottleneck --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-5.secgroup --name adt-plucky-arm64-bottleneck-20250103-134258-juju-7f2275-prod-proposed-migration-environment-2-2e04c733-e473-4594-9a9d-3838e7b77337 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -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/ 230s autopkgtest [13:46:48]: testbed dpkg architecture: arm64 230s autopkgtest [13:46:48]: testbed apt version: 2.9.18 231s autopkgtest [13:46:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 231s autopkgtest [13:46:49]: testbed release detected to be: None 232s autopkgtest [13:46:50]: updating testbed package index (apt update) 232s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 232s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 232s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 232s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 232s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 232s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [664 kB] 233s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [60.7 kB] 233s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.1 kB] 233s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [86.7 kB] 233s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 233s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [561 kB] 233s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [8824 B] 233s Fetched 1533 kB in 1s (1753 kB/s) 234s Reading package lists... 234s Reading package lists... 235s Building dependency tree... 235s Reading state information... 235s Calculating upgrade... 235s The following packages will be upgraded: 235s base-passwd bash-completion 236s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 236s Need to get 267 kB of archives. 236s After this operation, 143 kB of additional disk space will be used. 236s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.6 [53.6 kB] 236s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.16.0-1 [214 kB] 236s Preconfiguring packages ... 236s Fetched 267 kB in 0s (559 kB/s) 237s (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 ... 80060 files and directories currently installed.) 237s Preparing to unpack .../base-passwd_3.6.6_arm64.deb ... 237s Unpacking base-passwd (3.6.6) over (3.6.5) ... 237s Setting up base-passwd (3.6.6) ... 237s (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 ... 80060 files and directories currently installed.) 237s Preparing to unpack .../bash-completion_1%3a2.16.0-1_all.deb ... 237s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 237s Setting up bash-completion (1:2.16.0-1) ... 237s Processing triggers for man-db (2.13.0-1) ... 238s Reading package lists... 239s Building dependency tree... 239s Reading state information... 239s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 239s autopkgtest [13:46:57]: upgrading testbed (apt dist-upgrade and autopurge) 240s Reading package lists... 240s Building dependency tree... 240s Reading state information... 240s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 240s Starting 2 pkgProblemResolver with broken count: 0 240s Done 241s Entering ResolveByKeep 241s 242s The following packages were automatically installed and are no longer required: 242s python3.12 python3.12-minimal 242s Use 'sudo apt autoremove' to remove them. 242s The following NEW packages will be installed: 242s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 242s The following packages will be upgraded: 242s libpython3-stdlib python3 python3-minimal 242s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 242s Need to get 5992 kB of archives. 242s After this operation, 24.3 MB of additional disk space will be used. 242s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 242s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 242s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.13.1-1~exp2 [27.6 kB] 242s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.13.1-1~exp2 [23.9 kB] 242s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 243s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 243s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.13.1-1~exp2 [10.2 kB] 243s Fetched 5992 kB in 1s (7818 kB/s) 243s Selecting previously unselected package libpython3.13-minimal:arm64. 243s (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 ... 80185 files and directories currently installed.) 243s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_arm64.deb ... 243s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 243s Selecting previously unselected package python3.13-minimal. 243s Preparing to unpack .../python3.13-minimal_3.13.1-2_arm64.deb ... 243s Unpacking python3.13-minimal (3.13.1-2) ... 243s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 243s Setting up python3.13-minimal (3.13.1-2) ... 244s (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 ... 80505 files and directories currently installed.) 244s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_arm64.deb ... 244s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 244s Setting up python3-minimal (3.13.1-1~exp2) ... 244s (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 ... 80505 files and directories currently installed.) 244s Preparing to unpack .../python3_3.13.1-1~exp2_arm64.deb ... 244s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 244s Selecting previously unselected package libpython3.13-stdlib:arm64. 244s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_arm64.deb ... 244s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 244s Selecting previously unselected package python3.13. 244s Preparing to unpack .../python3.13_3.13.1-2_arm64.deb ... 244s Unpacking python3.13 (3.13.1-2) ... 244s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_arm64.deb ... 244s Unpacking libpython3-stdlib:arm64 (3.13.1-1~exp2) over (3.12.8-1) ... 244s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 244s Setting up libpython3-stdlib:arm64 (3.13.1-1~exp2) ... 244s Setting up python3.13 (3.13.1-2) ... 245s Setting up python3 (3.13.1-1~exp2) ... 245s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 245s for fn in glob1(directory, "%s.*" % fname): 246s Processing triggers for man-db (2.13.0-1) ... 246s Processing triggers for systemd (257-2ubuntu1) ... 246s Reading package lists... 247s Building dependency tree... 247s Reading state information... 247s Starting pkgProblemResolver with broken count: 0 247s Starting 2 pkgProblemResolver with broken count: 0 247s Done 248s The following packages will be REMOVED: 248s python3.12* python3.12-minimal* 248s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 248s After this operation, 8710 kB disk space will be freed. 248s (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 ... 80922 files and directories currently installed.) 248s Removing python3.12 (3.12.8-3) ... 248s Removing python3.12-minimal (3.12.8-3) ... 248s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 248s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 249s Processing triggers for man-db (2.13.0-1) ... 249s Processing triggers for systemd (257-2ubuntu1) ... 249s (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 ... 80894 files and directories currently installed.) 249s Purging configuration files for python3.12-minimal (3.12.8-3) ... 252s autopkgtest [13:47:10]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 252s autopkgtest [13:47:10]: @@@@@@@@@@@@@@@@@@@@ apt-source bottleneck 254s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (dsc) [2386 B] 254s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (tar) [76.3 kB] 254s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (diff) [6096 B] 254s gpgv: Signature made Wed Nov 13 09:04:27 2024 UTC 254s gpgv: using RSA key 568BF22A66337CBFC9A6B9B72C83DBC8E9BD0E37 254s gpgv: Can't check signature: No public key 254s dpkg-source: warning: cannot verify inline signature for ./bottleneck_1.3.8+ds1-1build1.dsc: no acceptable signature found 254s autopkgtest [13:47:12]: testing package bottleneck version 1.3.8+ds1-1build1 255s autopkgtest [13:47:13]: build not needed 255s autopkgtest [13:47:13]: test command1: preparing testbed 255s Reading package lists... 255s Building dependency tree... 255s Reading state information... 256s Starting pkgProblemResolver with broken count: 0 256s Starting 2 pkgProblemResolver with broken count: 0 256s Done 256s The following NEW packages will be installed: 256s libblas3 libgfortran5 liblapack3 python3-all python3-bottleneck 256s python3-iniconfig python3-numpy python3-packaging python3-pluggy 256s python3-pytest python3.12 python3.12-minimal 257s 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. 257s Need to get 10.4 MB of archives. 257s After this operation, 46.7 MB of additional disk space will be used. 257s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-minimal arm64 3.12.8-3 [2236 kB] 257s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12 arm64 3.12.8-3 [667 kB] 257s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libblas3 arm64 3.12.0-4 [152 kB] 257s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libgfortran5 arm64 14.2.0-12ubuntu1 [437 kB] 257s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 liblapack3 arm64 3.12.0-4 [2305 kB] 257s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.13.1-1~exp2 [894 B] 257s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-numpy arm64 1:1.26.4+ds-12 [4153 kB] 257s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-bottleneck arm64 1.3.8+ds1-1build1 [82.7 kB] 257s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 257s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 257s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 257s Get:12 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 258s Fetched 10.4 MB in 1s (12.0 MB/s) 258s Selecting previously unselected package python3.12-minimal. 258s (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 ... 80894 files and directories currently installed.) 258s Preparing to unpack .../00-python3.12-minimal_3.12.8-3_arm64.deb ... 258s Unpacking python3.12-minimal (3.12.8-3) ... 258s Selecting previously unselected package python3.12. 258s Preparing to unpack .../01-python3.12_3.12.8-3_arm64.deb ... 258s Unpacking python3.12 (3.12.8-3) ... 258s Selecting previously unselected package libblas3:arm64. 258s Preparing to unpack .../02-libblas3_3.12.0-4_arm64.deb ... 258s Unpacking libblas3:arm64 (3.12.0-4) ... 258s Selecting previously unselected package libgfortran5:arm64. 258s Preparing to unpack .../03-libgfortran5_14.2.0-12ubuntu1_arm64.deb ... 258s Unpacking libgfortran5:arm64 (14.2.0-12ubuntu1) ... 258s Selecting previously unselected package liblapack3:arm64. 258s Preparing to unpack .../04-liblapack3_3.12.0-4_arm64.deb ... 258s Unpacking liblapack3:arm64 (3.12.0-4) ... 258s Selecting previously unselected package python3-all. 258s Preparing to unpack .../05-python3-all_3.13.1-1~exp2_arm64.deb ... 258s Unpacking python3-all (3.13.1-1~exp2) ... 258s Selecting previously unselected package python3-numpy. 258s Preparing to unpack .../06-python3-numpy_1%3a1.26.4+ds-12_arm64.deb ... 258s Unpacking python3-numpy (1:1.26.4+ds-12) ... 258s Selecting previously unselected package python3-bottleneck. 258s Preparing to unpack .../07-python3-bottleneck_1.3.8+ds1-1build1_arm64.deb ... 258s Unpacking python3-bottleneck (1.3.8+ds1-1build1) ... 258s Selecting previously unselected package python3-iniconfig. 258s Preparing to unpack .../08-python3-iniconfig_1.1.1-2_all.deb ... 258s Unpacking python3-iniconfig (1.1.1-2) ... 258s Selecting previously unselected package python3-packaging. 258s Preparing to unpack .../09-python3-packaging_24.2-1_all.deb ... 258s Unpacking python3-packaging (24.2-1) ... 258s Selecting previously unselected package python3-pluggy. 258s Preparing to unpack .../10-python3-pluggy_1.5.0-1_all.deb ... 258s Unpacking python3-pluggy (1.5.0-1) ... 258s Selecting previously unselected package python3-pytest. 258s Preparing to unpack .../11-python3-pytest_8.3.3-1_all.deb ... 258s Unpacking python3-pytest (8.3.3-1) ... 258s Setting up python3-iniconfig (1.1.1-2) ... 258s Setting up python3.12-minimal (3.12.8-3) ... 259s Setting up python3.12 (3.12.8-3) ... 261s Setting up python3-all (3.13.1-1~exp2) ... 261s Setting up libblas3:arm64 (3.12.0-4) ... 261s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode 261s Setting up python3-packaging (24.2-1) ... 261s Setting up libgfortran5:arm64 (14.2.0-12ubuntu1) ... 261s Setting up python3-pluggy (1.5.0-1) ... 261s Setting up liblapack3:arm64 (3.12.0-4) ... 261s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode 261s Setting up python3-pytest (8.3.3-1) ... 262s Setting up python3-numpy (1:1.26.4+ds-12) ... 265s Setting up python3-bottleneck (1.3.8+ds1-1build1) ... 265s Processing triggers for systemd (257-2ubuntu1) ... 265s Processing triggers for man-db (2.13.0-1) ... 266s Processing triggers for libc-bin (2.40-4ubuntu1) ... 267s autopkgtest [13:47:25]: 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 267s autopkgtest [13:47:25]: test command1: [----------------------- 267s Testing with python3.12: 267s ============================= test session starts ============================== 267s platform linux -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0 267s rootdir: /tmp/autopkgtest.XrlGzS/autopkgtest_tmp 267s plugins: typeguard-4.4.1 267s collected 192 items 267s 268s tests/input_modification_test.py ............................. [ 15%] 268s tests/list_input_test.py ............................. [ 30%] 268s tests/memory_test.py . [ 30%] 299s tests/move_test.py ................................. [ 47%] 301s tests/nonreduce_axis_test.py .................... [ 58%] 301s tests/nonreduce_test.py .......... [ 63%] 305s tests/reduce_test.py ................................................... [ 90%] 305s [ 90%] 305s tests/scalar_input_test.py .................. [ 99%] 305s tests/test_template.py F [100%] 305s 305s =================================== FAILURES =================================== 305s ______________________________ test_make_c_files _______________________________ 305s 305s def test_make_c_files() -> None: 305s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 305s modules = ["test"] 305s test_input = os.path.join(dirpath, "test.c") 305s if os.path.exists(test_input): 305s os.remove(test_input) 305s 305s > make_c_files(dirpath=dirpath, modules=modules) 305s 305s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 305s modules = ['test'] 305s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 305s 305s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 305s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 305s 305s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 305s modules = ['test'] 305s 305s def make_c_files( 305s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 305s ) -> None: 305s if modules is None: 305s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 305s if dirpath is None: 305s dirpath = os.path.dirname(__file__) 305s for module in modules: 305s template_file = os.path.join(dirpath, module + "_template.c") 305s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 305s target_file = os.path.join(dirpath, module + ".c") 305s 305s if ( 305s os.path.exists(target_file) 305s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 305s ): 305s continue 305s 305s with open(template_file, "r") as f: 305s src_str = f.read() 305s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 305s if len(src_str) and src_str[-1] != "\n": 305s src_str += "\n" 305s > with open(target_file, "w") as f: 305s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 305s 305s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 305s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 305s module = 'test' 305s modules = ['test'] 305s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 305s 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' 305s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 305s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 305s 305s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 305s =========================== short test summary info ============================ 305s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 305s ======================== 1 failed, 191 passed in 38.18s ======================== 305s Testing with python3.13: 306s ============================= test session starts ============================== 306s platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0 306s rootdir: /tmp/autopkgtest.XrlGzS/autopkgtest_tmp 306s plugins: typeguard-4.4.1 306s collected 192 items 306s 306s tests/input_modification_test.py ............................. [ 15%] 306s tests/list_input_test.py ............................. [ 30%] 306s tests/memory_test.py . [ 30%] 337s tests/move_test.py ................................. [ 47%] 339s tests/nonreduce_axis_test.py .................... [ 58%] 340s tests/nonreduce_test.py .......... [ 63%] 344s tests/reduce_test.py ................................................... [ 90%] 344s [ 90%] 344s tests/scalar_input_test.py .................. [ 99%] 344s tests/test_template.py F [100%] 344s 344s =================================== FAILURES =================================== 344s ______________________________ test_make_c_files _______________________________ 344s 344s def test_make_c_files() -> None: 344s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 344s modules = ["test"] 344s test_input = os.path.join(dirpath, "test.c") 344s if os.path.exists(test_input): 344s os.remove(test_input) 344s 344s > make_c_files(dirpath=dirpath, modules=modules) 344s 344s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 344s modules = ['test'] 344s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 344s 344s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 344s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 344s 344s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 344s modules = ['test'] 344s 344s def make_c_files( 344s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 344s ) -> None: 344s if modules is None: 344s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 344s if dirpath is None: 344s dirpath = os.path.dirname(__file__) 344s for module in modules: 344s template_file = os.path.join(dirpath, module + "_template.c") 344s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 344s target_file = os.path.join(dirpath, module + ".c") 344s 344s if ( 344s os.path.exists(target_file) 344s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 344s ): 344s continue 344s 344s with open(template_file, "r") as f: 344s src_str = f.read() 344s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 344s if len(src_str) and src_str[-1] != "\n": 344s src_str += "\n" 344s > with open(target_file, "w") as f: 344s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 344s 344s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 344s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 344s module = 'test' 344s modules = ['test'] 344s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 344s 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' 344s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 344s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 344s 344s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 344s =========================== short test summary info ============================ 344s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 344s ======================== 1 failed, 191 passed in 38.09s ======================== 344s autopkgtest [13:48:42]: test command1: -----------------------] 345s autopkgtest [13:48:43]: test command1: - - - - - - - - - - results - - - - - - - - - - 345s command1 PASS 345s autopkgtest [13:48:43]: @@@@@@@@@@@@@@@@@@@@ summary 345s command1 PASS 350s nova [W] Using flock in prodstack6-arm64 350s Creating nova instance adt-plucky-arm64-bottleneck-20250103-134258-juju-7f2275-prod-proposed-migration-environment-2-2e04c733-e473-4594-9a9d-3838e7b77337 from image adt/ubuntu-plucky-arm64-server-20250102.img (UUID 4cb073f4-4206-4362-b576-2406cb25ddd8)... 350s nova [W] Timed out waiting for d7f4f92c-6026-4ef7-b956-5297c64180b9 to get deleted.