0s autopkgtest [09:43:42]: starting date and time: 2025-01-08 09:43:42+0000 0s autopkgtest [09:43:42]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [09:43:42]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.qn8lgo4w/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-4 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-20.secgroup --name adt-plucky-arm64-bottleneck-20250108-094342-juju-7f2275-prod-proposed-migration-environment-2-93960d4f-38d3-4c80-b253-806c207e7f00 --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/ 141s autopkgtest [09:46:03]: testbed dpkg architecture: arm64 141s autopkgtest [09:46:03]: testbed apt version: 2.9.18 142s autopkgtest [09:46:04]: @@@@@@@@@@@@@@@@@@@@ test bed setup 142s autopkgtest [09:46:04]: testbed release detected to be: None 142s autopkgtest [09:46:04]: updating testbed package index (apt update) 143s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 143s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 143s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 143s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 143s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 143s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [129 kB] 143s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.3 kB] 143s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [818 kB] 143s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [260 kB] 143s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 143s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [1010 kB] 143s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [22.8 kB] 144s Fetched 2398 kB in 1s (2451 kB/s) 144s Reading package lists... 145s Reading package lists... 145s Building dependency tree... 145s Reading state information... 146s Calculating upgrade... 146s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 146s Reading package lists... 147s Building dependency tree... 147s Reading state information... 147s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 147s autopkgtest [09:46:09]: upgrading testbed (apt dist-upgrade and autopurge) 147s Reading package lists... 148s Building dependency tree... 148s Reading state information... 148s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 148s Starting 2 pkgProblemResolver with broken count: 0 148s Done 149s Entering ResolveByKeep 149s 150s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 150s Reading package lists... 150s Building dependency tree... 150s Reading state information... 150s Starting pkgProblemResolver with broken count: 0 151s Starting 2 pkgProblemResolver with broken count: 0 151s Done 151s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 154s autopkgtest [09:46:16]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 154s autopkgtest [09:46:16]: @@@@@@@@@@@@@@@@@@@@ apt-source bottleneck 156s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (dsc) [2386 B] 156s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (tar) [76.3 kB] 156s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (diff) [6096 B] 157s gpgv: Signature made Wed Nov 13 09:04:27 2024 UTC 157s gpgv: using RSA key 568BF22A66337CBFC9A6B9B72C83DBC8E9BD0E37 157s gpgv: Can't check signature: No public key 157s dpkg-source: warning: cannot verify inline signature for ./bottleneck_1.3.8+ds1-1build1.dsc: no acceptable signature found 157s autopkgtest [09:46:19]: testing package bottleneck version 1.3.8+ds1-1build1 157s autopkgtest [09:46:19]: build not needed 157s autopkgtest [09:46:19]: test command1: preparing testbed 158s Reading package lists... 158s Building dependency tree... 158s Reading state information... 158s Starting pkgProblemResolver with broken count: 0 158s Starting 2 pkgProblemResolver with broken count: 0 158s Done 159s The following NEW packages will be installed: 159s libblas3 libgfortran5 liblapack3 libpython3.13-minimal libpython3.13-stdlib 159s python3-all python3-bottleneck python3-iniconfig python3-numpy 159s python3-packaging python3-pluggy python3-pytest python3.13 159s python3.13-minimal 159s 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 159s Need to get 13.4 MB of archives. 159s After this operation, 62.3 MB of additional disk space will be used. 159s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 160s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 160s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libblas3 arm64 3.12.0-4 [152 kB] 160s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libgfortran5 arm64 14.2.0-12ubuntu1 [437 kB] 160s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 liblapack3 arm64 3.12.0-4 [2305 kB] 160s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 160s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 160s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.8-1 [892 B] 160s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-numpy arm64 1:1.26.4+ds-12 [4153 kB] 160s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-bottleneck arm64 1.3.8+ds1-1build1 [82.7 kB] 160s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 160s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 160s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 160s Get:14 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 160s Fetched 13.4 MB in 1s (13.7 MB/s) 160s Selecting previously unselected package libpython3.13-minimal:arm64. 161s (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.) 161s Preparing to unpack .../00-libpython3.13-minimal_3.13.1-2_arm64.deb ... 161s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 161s Selecting previously unselected package python3.13-minimal. 161s Preparing to unpack .../01-python3.13-minimal_3.13.1-2_arm64.deb ... 161s Unpacking python3.13-minimal (3.13.1-2) ... 161s Selecting previously unselected package libblas3:arm64. 161s Preparing to unpack .../02-libblas3_3.12.0-4_arm64.deb ... 161s Unpacking libblas3:arm64 (3.12.0-4) ... 161s Selecting previously unselected package libgfortran5:arm64. 161s Preparing to unpack .../03-libgfortran5_14.2.0-12ubuntu1_arm64.deb ... 161s Unpacking libgfortran5:arm64 (14.2.0-12ubuntu1) ... 161s Selecting previously unselected package liblapack3:arm64. 161s Preparing to unpack .../04-liblapack3_3.12.0-4_arm64.deb ... 161s Unpacking liblapack3:arm64 (3.12.0-4) ... 161s Selecting previously unselected package libpython3.13-stdlib:arm64. 161s Preparing to unpack .../05-libpython3.13-stdlib_3.13.1-2_arm64.deb ... 161s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 161s Selecting previously unselected package python3.13. 161s Preparing to unpack .../06-python3.13_3.13.1-2_arm64.deb ... 161s Unpacking python3.13 (3.13.1-2) ... 161s Selecting previously unselected package python3-all. 161s Preparing to unpack .../07-python3-all_3.12.8-1_arm64.deb ... 161s Unpacking python3-all (3.12.8-1) ... 161s Selecting previously unselected package python3-numpy. 161s Preparing to unpack .../08-python3-numpy_1%3a1.26.4+ds-12_arm64.deb ... 161s Unpacking python3-numpy (1:1.26.4+ds-12) ... 161s Selecting previously unselected package python3-bottleneck. 161s Preparing to unpack .../09-python3-bottleneck_1.3.8+ds1-1build1_arm64.deb ... 161s Unpacking python3-bottleneck (1.3.8+ds1-1build1) ... 162s Selecting previously unselected package python3-iniconfig. 162s Preparing to unpack .../10-python3-iniconfig_1.1.1-2_all.deb ... 162s Unpacking python3-iniconfig (1.1.1-2) ... 162s Selecting previously unselected package python3-packaging. 162s Preparing to unpack .../11-python3-packaging_24.2-1_all.deb ... 162s Unpacking python3-packaging (24.2-1) ... 162s Selecting previously unselected package python3-pluggy. 162s Preparing to unpack .../12-python3-pluggy_1.5.0-1_all.deb ... 162s Unpacking python3-pluggy (1.5.0-1) ... 162s Selecting previously unselected package python3-pytest. 162s Preparing to unpack .../13-python3-pytest_8.3.3-1_all.deb ... 162s Unpacking python3-pytest (8.3.3-1) ... 162s Setting up python3-iniconfig (1.1.1-2) ... 162s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 162s Setting up libblas3:arm64 (3.12.0-4) ... 162s 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 162s Setting up python3-packaging (24.2-1) ... 162s Setting up libgfortran5:arm64 (14.2.0-12ubuntu1) ... 162s Setting up python3-pluggy (1.5.0-1) ... 162s Setting up python3.13-minimal (3.13.1-2) ... 163s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 163s Setting up liblapack3:arm64 (3.12.0-4) ... 163s 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 163s Setting up python3.13 (3.13.1-2) ... 164s Setting up python3-pytest (8.3.3-1) ... 165s Setting up python3-all (3.12.8-1) ... 165s Setting up python3-numpy (1:1.26.4+ds-12) ... 169s Setting up python3-bottleneck (1.3.8+ds1-1build1) ... 169s Processing triggers for systemd (257-2ubuntu1) ... 169s Processing triggers for man-db (2.13.0-1) ... 170s Processing triggers for libc-bin (2.40-4ubuntu1) ... 171s autopkgtest [09:46:33]: 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 171s autopkgtest [09:46:33]: test command1: [----------------------- 171s Testing with python3.13: 171s ============================= test session starts ============================== 171s platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0 171s rootdir: /tmp/autopkgtest.O1BRgy/autopkgtest_tmp 171s plugins: typeguard-4.4.1 171s collected 192 items 171s 172s tests/input_modification_test.py ............................. [ 15%] 172s tests/list_input_test.py ............................. [ 30%] 172s tests/memory_test.py . [ 30%] 201s tests/move_test.py ................................. [ 47%] 203s tests/nonreduce_axis_test.py .................... [ 58%] 204s tests/nonreduce_test.py .......... [ 63%] 208s tests/reduce_test.py ................................................... [ 90%] 208s [ 90%] 208s tests/scalar_input_test.py .................. [ 99%] 208s tests/test_template.py F [100%] 208s 208s =================================== FAILURES =================================== 208s ______________________________ test_make_c_files _______________________________ 208s 208s def test_make_c_files() -> None: 208s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 208s modules = ["test"] 208s test_input = os.path.join(dirpath, "test.c") 208s if os.path.exists(test_input): 208s os.remove(test_input) 208s 208s > make_c_files(dirpath=dirpath, modules=modules) 208s 208s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 208s modules = ['test'] 208s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 208s 208s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 208s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 208s 208s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 208s modules = ['test'] 208s 208s def make_c_files( 208s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 208s ) -> None: 208s if modules is None: 208s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 208s if dirpath is None: 208s dirpath = os.path.dirname(__file__) 208s for module in modules: 208s template_file = os.path.join(dirpath, module + "_template.c") 208s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 208s target_file = os.path.join(dirpath, module + ".c") 208s 208s if ( 208s os.path.exists(target_file) 208s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 208s ): 208s continue 208s 208s with open(template_file, "r") as f: 208s src_str = f.read() 208s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 208s if len(src_str) and src_str[-1] != "\n": 208s src_str += "\n" 208s > with open(target_file, "w") as f: 208s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 208s 208s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 208s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 208s module = 'test' 208s modules = ['test'] 208s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 208s 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' 208s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 208s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 208s 208s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 208s =========================== short test summary info ============================ 208s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 208s ======================== 1 failed, 191 passed in 36.62s ======================== 208s Testing with python3.12: 208s ============================= test session starts ============================== 208s platform linux -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0 208s rootdir: /tmp/autopkgtest.O1BRgy/autopkgtest_tmp 208s plugins: typeguard-4.4.1 208s collected 192 items 208s 209s tests/input_modification_test.py ............................. [ 15%] 209s tests/list_input_test.py ............................. [ 30%] 209s tests/memory_test.py . [ 30%] 240s tests/move_test.py ................................. [ 47%] 242s tests/nonreduce_axis_test.py .................... [ 58%] 242s tests/nonreduce_test.py .......... [ 63%] 246s tests/reduce_test.py ................................................... [ 90%] 246s [ 90%] 246s tests/scalar_input_test.py .................. [ 99%] 246s tests/test_template.py F [100%] 246s 246s =================================== FAILURES =================================== 246s ______________________________ test_make_c_files _______________________________ 246s 246s def test_make_c_files() -> None: 246s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 246s modules = ["test"] 246s test_input = os.path.join(dirpath, "test.c") 246s if os.path.exists(test_input): 246s os.remove(test_input) 246s 246s > make_c_files(dirpath=dirpath, modules=modules) 246s 246s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 246s modules = ['test'] 246s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 246s 246s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 246s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 246s 246s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 246s modules = ['test'] 246s 246s def make_c_files( 246s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 246s ) -> None: 246s if modules is None: 246s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 246s if dirpath is None: 246s dirpath = os.path.dirname(__file__) 246s for module in modules: 246s template_file = os.path.join(dirpath, module + "_template.c") 246s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 246s target_file = os.path.join(dirpath, module + ".c") 246s 246s if ( 246s os.path.exists(target_file) 246s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 246s ): 246s continue 246s 246s with open(template_file, "r") as f: 246s src_str = f.read() 246s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 246s if len(src_str) and src_str[-1] != "\n": 246s src_str += "\n" 246s > with open(target_file, "w") as f: 246s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 246s 246s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 246s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 246s module = 'test' 246s modules = ['test'] 246s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 246s 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' 246s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 246s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 246s 246s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 246s =========================== short test summary info ============================ 246s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 246s ======================== 1 failed, 191 passed in 38.17s ======================== 247s autopkgtest [09:47:49]: test command1: -----------------------] 247s command1 PASS 247s autopkgtest [09:47:49]: test command1: - - - - - - - - - - results - - - - - - - - - - 248s autopkgtest [09:47:50]: @@@@@@@@@@@@@@@@@@@@ summary 248s command1 PASS 266s nova [W] Using flock in prodstack6-arm64 266s flock: timeout while waiting to get lock 266s Creating nova instance adt-plucky-arm64-bottleneck-20250108-094342-juju-7f2275-prod-proposed-migration-environment-2-93960d4f-38d3-4c80-b253-806c207e7f00 from image adt/ubuntu-plucky-arm64-server-20250108.img (UUID 053f5e9f-d810-4aac-9e57-cf8ac63865d2)... 266s nova [W] Timed out waiting for 2c2363ea-0d8d-405b-8288-6de7ec8b87c2 to get deleted.