0s autopkgtest [14:36:27]: starting date and time: 2025-01-03 14:36:27+0000 0s autopkgtest [14:36:27]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [14:36:27]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work._4xzuic9/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-s390x-7.secgroup --name adt-plucky-s390x-bottleneck-20250103-143627-juju-7f2275-prod-proposed-migration-environment-15-6b5451af-be66-4e7e-b1e0-dc0f4abf48e6 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-s390x -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/ 94s autopkgtest [14:38:01]: testbed dpkg architecture: s390x 94s autopkgtest [14:38:01]: testbed apt version: 2.9.18 94s autopkgtest [14:38:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 94s autopkgtest [14:38:01]: testbed release detected to be: None 95s autopkgtest [14:38:02]: updating testbed package index (apt update) 95s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 96s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 96s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 96s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 96s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 96s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [60.7 kB] 96s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.1 kB] 96s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [669 kB] 96s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [72.8 kB] 96s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 96s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [521 kB] 96s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [2580 B] 96s Fetched 1420 kB in 1s (1621 kB/s) 97s Reading package lists... 97s Reading package lists... 97s Building dependency tree... 97s Reading state information... 97s Calculating upgrade... 98s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 98s Reading package lists... 98s Building dependency tree... 98s Reading state information... 98s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 98s autopkgtest [14:38:05]: upgrading testbed (apt dist-upgrade and autopurge) 98s Reading package lists... 98s Building dependency tree... 98s Reading state information... 98s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 98s Starting 2 pkgProblemResolver with broken count: 0 98s Done 99s Entering ResolveByKeep 99s 99s The following packages were automatically installed and are no longer required: 99s python3.12 python3.12-minimal 99s Use 'sudo apt autoremove' to remove them. 99s The following NEW packages will be installed: 99s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 99s The following packages will be upgraded: 99s libpython3-stdlib python3 python3-minimal 99s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 99s Need to get 6108 kB of archives. 99s After this operation, 22.7 MB of additional disk space will be used. 99s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-minimal s390x 3.13.1-2 [880 kB] 100s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-minimal s390x 3.13.1-2 [2364 kB] 100s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-minimal s390x 3.13.1-1~exp2 [27.6 kB] 100s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3 s390x 3.13.1-1~exp2 [23.9 kB] 100s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-stdlib s390x 3.13.1-2 [2074 kB] 100s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13 s390x 3.13.1-2 [729 kB] 100s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libpython3-stdlib s390x 3.13.1-1~exp2 [10.2 kB] 100s Fetched 6108 kB in 1s (7017 kB/s) 100s Selecting previously unselected package libpython3.13-minimal:s390x. 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 ... 55616 files and directories currently installed.) 100s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_s390x.deb ... 100s Unpacking libpython3.13-minimal:s390x (3.13.1-2) ... 100s Selecting previously unselected package python3.13-minimal. 100s Preparing to unpack .../python3.13-minimal_3.13.1-2_s390x.deb ... 100s Unpacking python3.13-minimal (3.13.1-2) ... 100s Setting up libpython3.13-minimal:s390x (3.13.1-2) ... 100s Setting up python3.13-minimal (3.13.1-2) ... 101s (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 ... 55936 files and directories currently installed.) 101s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_s390x.deb ... 101s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 101s Setting up python3-minimal (3.13.1-1~exp2) ... 101s (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 ... 55936 files and directories currently installed.) 101s Preparing to unpack .../python3_3.13.1-1~exp2_s390x.deb ... 101s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 101s Selecting previously unselected package libpython3.13-stdlib:s390x. 101s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_s390x.deb ... 101s Unpacking libpython3.13-stdlib:s390x (3.13.1-2) ... 101s Selecting previously unselected package python3.13. 101s Preparing to unpack .../python3.13_3.13.1-2_s390x.deb ... 101s Unpacking python3.13 (3.13.1-2) ... 101s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_s390x.deb ... 101s Unpacking libpython3-stdlib:s390x (3.13.1-1~exp2) over (3.12.8-1) ... 101s Setting up libpython3.13-stdlib:s390x (3.13.1-2) ... 101s Setting up libpython3-stdlib:s390x (3.13.1-1~exp2) ... 101s Setting up python3.13 (3.13.1-2) ... 102s Setting up python3 (3.13.1-1~exp2) ... 102s /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. 102s for fn in glob1(directory, "%s.*" % fname): 102s Processing triggers for man-db (2.13.0-1) ... 102s Processing triggers for systemd (257-2ubuntu1) ... 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 103s Starting pkgProblemResolver with broken count: 0 103s Starting 2 pkgProblemResolver with broken count: 0 103s Done 103s The following packages will be REMOVED: 103s python3.12* python3.12-minimal* 103s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 103s After this operation, 9190 kB disk space will be freed. 103s (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 ... 56353 files and directories currently installed.) 103s Removing python3.12 (3.12.8-3) ... 103s Removing python3.12-minimal (3.12.8-3) ... 103s /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. 103s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 104s Processing triggers for man-db (2.13.0-1) ... 104s Processing triggers for systemd (257-2ubuntu1) ... 104s (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 ... 56325 files and directories currently installed.) 104s Purging configuration files for python3.12-minimal (3.12.8-3) ... 107s autopkgtest [14:38:14]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 107s autopkgtest [14:38:14]: @@@@@@@@@@@@@@@@@@@@ apt-source bottleneck 109s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (dsc) [2386 B] 109s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (tar) [76.3 kB] 109s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (diff) [6096 B] 109s gpgv: Signature made Wed Nov 13 09:04:27 2024 UTC 109s gpgv: using RSA key 568BF22A66337CBFC9A6B9B72C83DBC8E9BD0E37 109s gpgv: Can't check signature: No public key 109s dpkg-source: warning: cannot verify inline signature for ./bottleneck_1.3.8+ds1-1build1.dsc: no acceptable signature found 109s autopkgtest [14:38:16]: testing package bottleneck version 1.3.8+ds1-1build1 109s autopkgtest [14:38:16]: build not needed 110s autopkgtest [14:38:17]: test command1: preparing testbed 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 110s Starting pkgProblemResolver with broken count: 0 110s Starting 2 pkgProblemResolver with broken count: 0 110s Done 110s The following NEW packages will be installed: 110s libblas3 libgfortran5 liblapack3 python3-all python3-bottleneck 110s python3-iniconfig python3-numpy python3-packaging python3-pluggy 110s python3-pytest python3.12 python3.12-minimal 111s 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. 111s Need to get 11.9 MB of archives. 111s After this operation, 53.8 MB of additional disk space will be used. 111s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12-minimal s390x 3.12.8-3 [2395 kB] 111s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12 s390x 3.12.8-3 [667 kB] 111s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libblas3 s390x 3.12.0-4 [238 kB] 111s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgfortran5 s390x 14.2.0-12ubuntu1 [587 kB] 111s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x liblapack3 s390x 3.12.0-4 [2964 kB] 111s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-all s390x 3.13.1-1~exp2 [898 B] 111s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x python3-numpy s390x 1:1.26.4+ds-12 [4601 kB] 112s Get:8 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-bottleneck s390x 1.3.8+ds1-1build1 [108 kB] 112s Get:9 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 112s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 112s Get:11 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 112s Get:12 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.3-1 [251 kB] 112s Fetched 11.9 MB in 1s (10.9 MB/s) 112s Selecting previously unselected package python3.12-minimal. 112s (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 ... 56325 files and directories currently installed.) 112s Preparing to unpack .../00-python3.12-minimal_3.12.8-3_s390x.deb ... 112s Unpacking python3.12-minimal (3.12.8-3) ... 112s Selecting previously unselected package python3.12. 112s Preparing to unpack .../01-python3.12_3.12.8-3_s390x.deb ... 112s Unpacking python3.12 (3.12.8-3) ... 112s Selecting previously unselected package libblas3:s390x. 112s Preparing to unpack .../02-libblas3_3.12.0-4_s390x.deb ... 112s Unpacking libblas3:s390x (3.12.0-4) ... 112s Selecting previously unselected package libgfortran5:s390x. 112s Preparing to unpack .../03-libgfortran5_14.2.0-12ubuntu1_s390x.deb ... 112s Unpacking libgfortran5:s390x (14.2.0-12ubuntu1) ... 112s Selecting previously unselected package liblapack3:s390x. 112s Preparing to unpack .../04-liblapack3_3.12.0-4_s390x.deb ... 112s Unpacking liblapack3:s390x (3.12.0-4) ... 112s Selecting previously unselected package python3-all. 112s Preparing to unpack .../05-python3-all_3.13.1-1~exp2_s390x.deb ... 112s Unpacking python3-all (3.13.1-1~exp2) ... 112s Selecting previously unselected package python3-numpy. 112s Preparing to unpack .../06-python3-numpy_1%3a1.26.4+ds-12_s390x.deb ... 112s Unpacking python3-numpy (1:1.26.4+ds-12) ... 112s Selecting previously unselected package python3-bottleneck. 112s Preparing to unpack .../07-python3-bottleneck_1.3.8+ds1-1build1_s390x.deb ... 112s Unpacking python3-bottleneck (1.3.8+ds1-1build1) ... 112s Selecting previously unselected package python3-iniconfig. 112s Preparing to unpack .../08-python3-iniconfig_1.1.1-2_all.deb ... 112s Unpacking python3-iniconfig (1.1.1-2) ... 112s Selecting previously unselected package python3-packaging. 112s Preparing to unpack .../09-python3-packaging_24.2-1_all.deb ... 112s Unpacking python3-packaging (24.2-1) ... 112s Selecting previously unselected package python3-pluggy. 112s Preparing to unpack .../10-python3-pluggy_1.5.0-1_all.deb ... 112s Unpacking python3-pluggy (1.5.0-1) ... 112s Selecting previously unselected package python3-pytest. 112s Preparing to unpack .../11-python3-pytest_8.3.3-1_all.deb ... 112s Unpacking python3-pytest (8.3.3-1) ... 112s Setting up python3-iniconfig (1.1.1-2) ... 112s Setting up python3.12-minimal (3.12.8-3) ... 113s Setting up python3.12 (3.12.8-3) ... 114s Setting up python3-all (3.13.1-1~exp2) ... 114s Setting up libblas3:s390x (3.12.0-4) ... 114s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode 114s Setting up python3-packaging (24.2-1) ... 114s Setting up libgfortran5:s390x (14.2.0-12ubuntu1) ... 114s Setting up python3-pluggy (1.5.0-1) ... 114s Setting up liblapack3:s390x (3.12.0-4) ... 114s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode 114s Setting up python3-pytest (8.3.3-1) ... 115s Setting up python3-numpy (1:1.26.4+ds-12) ... 118s Setting up python3-bottleneck (1.3.8+ds1-1build1) ... 118s Processing triggers for systemd (257-2ubuntu1) ... 118s Processing triggers for man-db (2.13.0-1) ... 119s Processing triggers for libc-bin (2.40-4ubuntu1) ... 119s autopkgtest [14:38:26]: 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 119s autopkgtest [14:38:26]: test command1: [----------------------- 120s Testing with python3.12: 120s ============================= test session starts ============================== 120s platform linux -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0 120s rootdir: /tmp/autopkgtest.WZX3Sw/autopkgtest_tmp 120s plugins: typeguard-4.4.1 120s collected 192 items 120s 120s tests/input_modification_test.py ............................. [ 15%] 120s tests/list_input_test.py ............................. [ 30%] 120s tests/memory_test.py . [ 30%] 143s tests/move_test.py ................................. [ 47%] 144s tests/nonreduce_axis_test.py .................... [ 58%] 144s tests/nonreduce_test.py .......... [ 63%] 147s tests/reduce_test.py ................................................... [ 90%] 147s [ 90%] 147s tests/scalar_input_test.py .................. [ 99%] 147s tests/test_template.py F [100%] 147s 147s =================================== FAILURES =================================== 147s ______________________________ test_make_c_files _______________________________ 147s 147s def test_make_c_files() -> None: 147s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 147s modules = ["test"] 147s test_input = os.path.join(dirpath, "test.c") 147s if os.path.exists(test_input): 147s os.remove(test_input) 147s 147s > make_c_files(dirpath=dirpath, modules=modules) 147s 147s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 147s modules = ['test'] 147s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 147s 147s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 147s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 147s 147s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 147s modules = ['test'] 147s 147s def make_c_files( 147s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 147s ) -> None: 147s if modules is None: 147s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 147s if dirpath is None: 147s dirpath = os.path.dirname(__file__) 147s for module in modules: 147s template_file = os.path.join(dirpath, module + "_template.c") 147s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 147s target_file = os.path.join(dirpath, module + ".c") 147s 147s if ( 147s os.path.exists(target_file) 147s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 147s ): 147s continue 147s 147s with open(template_file, "r") as f: 147s src_str = f.read() 147s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 147s if len(src_str) and src_str[-1] != "\n": 147s src_str += "\n" 147s > with open(target_file, "w") as f: 147s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 147s 147s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 147s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 147s module = 'test' 147s modules = ['test'] 147s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 147s 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' 147s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 147s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 147s 147s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 147s =========================== short test summary info ============================ 147s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 147s ======================== 1 failed, 191 passed in 27.45s ======================== 147s Testing with python3.13: 148s ============================= test session starts ============================== 148s platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0 148s rootdir: /tmp/autopkgtest.WZX3Sw/autopkgtest_tmp 148s plugins: typeguard-4.4.1 148s collected 192 items 148s 148s tests/input_modification_test.py ............................. [ 15%] 148s tests/list_input_test.py ............................. [ 30%] 148s tests/memory_test.py . [ 30%] 169s tests/move_test.py ................................. [ 47%] 171s tests/nonreduce_axis_test.py .................... [ 58%] 171s tests/nonreduce_test.py .......... [ 63%] 174s tests/reduce_test.py ................................................... [ 90%] 174s [ 90%] 174s tests/scalar_input_test.py .................. [ 99%] 174s tests/test_template.py F [100%] 174s 174s =================================== FAILURES =================================== 174s ______________________________ test_make_c_files _______________________________ 174s 174s def test_make_c_files() -> None: 174s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 174s modules = ["test"] 174s test_input = os.path.join(dirpath, "test.c") 174s if os.path.exists(test_input): 174s os.remove(test_input) 174s 174s > make_c_files(dirpath=dirpath, modules=modules) 174s 174s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 174s modules = ['test'] 174s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 174s 174s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 174s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 174s 174s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 174s modules = ['test'] 174s 174s def make_c_files( 174s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 174s ) -> None: 174s if modules is None: 174s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 174s if dirpath is None: 174s dirpath = os.path.dirname(__file__) 174s for module in modules: 174s template_file = os.path.join(dirpath, module + "_template.c") 174s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 174s target_file = os.path.join(dirpath, module + ".c") 174s 174s if ( 174s os.path.exists(target_file) 174s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 174s ): 174s continue 174s 174s with open(template_file, "r") as f: 174s src_str = f.read() 174s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 174s if len(src_str) and src_str[-1] != "\n": 174s src_str += "\n" 174s > with open(target_file, "w") as f: 174s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 174s 174s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 174s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 174s module = 'test' 174s modules = ['test'] 174s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 174s 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' 174s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 174s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 174s 174s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 174s =========================== short test summary info ============================ 174s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 174s ======================== 1 failed, 191 passed in 26.55s ======================== 174s autopkgtest [14:39:21]: test command1: -----------------------] 175s autopkgtest [14:39:22]: test command1: - - - - - - - - - - results - - - - - - - - - - 175s command1 PASS 175s autopkgtest [14:39:22]: @@@@@@@@@@@@@@@@@@@@ summary 175s command1 PASS 180s nova [W] Using flock in prodstack6-s390x 180s Creating nova instance adt-plucky-s390x-bottleneck-20250103-143627-juju-7f2275-prod-proposed-migration-environment-15-6b5451af-be66-4e7e-b1e0-dc0f4abf48e6 from image adt/ubuntu-plucky-s390x-server-20250103.img (UUID 9816a864-89cd-473a-b7ab-55eae81bf00a)... 180s nova [W] Timed out waiting for 26cfa053-0f28-45f0-8eb1-2d8ac47770d7 to get deleted.