0s autopkgtest [15:59:44]: starting date and time: 2024-11-14 15:59:44+0000 0s autopkgtest [15:59:44]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [15:59:44]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.fd2bayhb/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:numpy --apt-upgrade bottleneck --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=numpy/1:1.26.4+ds-11ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-35.secgroup --name adt-plucky-arm64-bottleneck-20241114-155944-juju-7f2275-prod-proposed-migration-environment-20-0a19bb63-354a-4d20-af87-42127dc723bb --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --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'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 137s autopkgtest [16:02:01]: testbed dpkg architecture: arm64 137s autopkgtest [16:02:01]: testbed apt version: 2.9.8 137s autopkgtest [16:02:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 138s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 139s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 139s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [966 kB] 139s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [105 kB] 139s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 139s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [138 kB] 139s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 139s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [724 kB] 139s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [6012 B] 139s Fetched 2085 kB in 1s (2090 kB/s) 139s Reading package lists... 143s Reading package lists... 143s Building dependency tree... 143s Reading state information... 145s Calculating upgrade... 146s The following packages will be upgraded: 146s pastebinit python3-systemd 146s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 146s Need to get 61.6 kB of archives. 146s After this operation, 347 kB of additional disk space will be used. 146s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 pastebinit all 1.7.1-1 [14.9 kB] 146s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-systemd arm64 235-1build5 [46.7 kB] 147s Fetched 61.6 kB in 0s (158 kB/s) 147s (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 ... 79925 files and directories currently installed.) 147s Preparing to unpack .../pastebinit_1.7.1-1_all.deb ... 147s Unpacking pastebinit (1.7.1-1) over (1.7.0-1) ... 147s Preparing to unpack .../python3-systemd_235-1build5_arm64.deb ... 147s Unpacking python3-systemd (235-1build5) over (235-1build4) ... 147s Setting up pastebinit (1.7.1-1) ... 147s Setting up python3-systemd (235-1build5) ... 148s Processing triggers for man-db (2.12.1-3) ... 149s Reading package lists... 149s Building dependency tree... 149s Reading state information... 151s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 152s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 152s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 152s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 152s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 154s Reading package lists... 154s Reading package lists... 154s Building dependency tree... 154s Reading state information... 156s Calculating upgrade... 157s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 157s Reading package lists... 157s Building dependency tree... 157s Reading state information... 159s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 162s autopkgtest [16:02:26]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 162s autopkgtest [16:02:26]: @@@@@@@@@@@@@@@@@@@@ apt-source bottleneck 164s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1 (dsc) [2362 B] 164s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1 (tar) [76.3 kB] 164s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1 (diff) [6020 B] 165s gpgv: Signature made Wed May 29 09:30:28 2024 UTC 165s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 165s gpgv: Can't check signature: No public key 165s dpkg-source: warning: cannot verify inline signature for ./bottleneck_1.3.8+ds1-1.dsc: no acceptable signature found 165s autopkgtest [16:02:29]: testing package bottleneck version 1.3.8+ds1-1 165s autopkgtest [16:02:29]: build not needed 166s autopkgtest [16:02:30]: test command1: preparing testbed 171s Reading package lists... 171s Building dependency tree... 171s Reading state information... 172s Starting pkgProblemResolver with broken count: 0 173s Starting 2 pkgProblemResolver with broken count: 0 173s Done 174s The following additional packages will be installed: 174s libblas3 libgfortran5 liblapack3 python3-all python3-bottleneck 174s python3-iniconfig python3-numpy python3-packaging python3-pluggy 174s python3-pytest 174s Suggested packages: 174s python-bottleneck-doc gcc gfortran python-numpy-doc python3-dev 174s The following NEW packages will be installed: 174s autopkgtest-satdep libblas3 libgfortran5 liblapack3 python3-all 174s python3-bottleneck python3-iniconfig python3-numpy python3-packaging 174s python3-pluggy python3-pytest 174s 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. 174s Need to get 7430 kB/7431 kB of archives. 174s After this operation, 37.5 MB of additional disk space will be used. 174s Get:1 /tmp/autopkgtest.7O0oVt/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [724 B] 174s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libblas3 arm64 3.12.0-3build2 [152 kB] 174s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libgfortran5 arm64 14.2.0-8ubuntu1 [438 kB] 174s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 liblapack3 arm64 3.12.0-3build2 [2293 kB] 175s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.6-0ubuntu1 [886 B] 175s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-numpy arm64 1:1.26.4+ds-11ubuntu1 [4149 kB] 175s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-bottleneck arm64 1.3.8+ds1-1 [77.9 kB] 175s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 175s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 175s Get:10 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 175s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 175s Fetched 7430 kB in 1s (9074 kB/s) 175s Selecting previously unselected package libblas3:arm64. 175s (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 ... 79930 files and directories currently installed.) 175s Preparing to unpack .../00-libblas3_3.12.0-3build2_arm64.deb ... 175s Unpacking libblas3:arm64 (3.12.0-3build2) ... 175s Selecting previously unselected package libgfortran5:arm64. 175s Preparing to unpack .../01-libgfortran5_14.2.0-8ubuntu1_arm64.deb ... 175s Unpacking libgfortran5:arm64 (14.2.0-8ubuntu1) ... 175s Selecting previously unselected package liblapack3:arm64. 176s Preparing to unpack .../02-liblapack3_3.12.0-3build2_arm64.deb ... 176s Unpacking liblapack3:arm64 (3.12.0-3build2) ... 176s Selecting previously unselected package python3-all. 176s Preparing to unpack .../03-python3-all_3.12.6-0ubuntu1_arm64.deb ... 176s Unpacking python3-all (3.12.6-0ubuntu1) ... 176s Selecting previously unselected package python3-numpy. 176s Preparing to unpack .../04-python3-numpy_1%3a1.26.4+ds-11ubuntu1_arm64.deb ... 176s Unpacking python3-numpy (1:1.26.4+ds-11ubuntu1) ... 177s Selecting previously unselected package python3-bottleneck. 177s Preparing to unpack .../05-python3-bottleneck_1.3.8+ds1-1_arm64.deb ... 177s Unpacking python3-bottleneck (1.3.8+ds1-1) ... 177s Selecting previously unselected package python3-iniconfig. 177s Preparing to unpack .../06-python3-iniconfig_1.1.1-2_all.deb ... 177s Unpacking python3-iniconfig (1.1.1-2) ... 177s Selecting previously unselected package python3-packaging. 177s Preparing to unpack .../07-python3-packaging_24.1-1_all.deb ... 177s Unpacking python3-packaging (24.1-1) ... 177s Selecting previously unselected package python3-pluggy. 177s Preparing to unpack .../08-python3-pluggy_1.5.0-1_all.deb ... 177s Unpacking python3-pluggy (1.5.0-1) ... 177s Selecting previously unselected package python3-pytest. 177s Preparing to unpack .../09-python3-pytest_8.3.3-1_all.deb ... 177s Unpacking python3-pytest (8.3.3-1) ... 177s Selecting previously unselected package autopkgtest-satdep. 177s Preparing to unpack .../10-1-autopkgtest-satdep.deb ... 177s Unpacking autopkgtest-satdep (0) ... 177s Setting up python3-iniconfig (1.1.1-2) ... 177s Setting up python3-all (3.12.6-0ubuntu1) ... 177s Setting up libblas3:arm64 (3.12.0-3build2) ... 177s 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 177s Setting up python3-packaging (24.1-1) ... 177s Setting up libgfortran5:arm64 (14.2.0-8ubuntu1) ... 177s Setting up python3-pluggy (1.5.0-1) ... 177s Setting up liblapack3:arm64 (3.12.0-3build2) ... 177s 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 177s Setting up python3-pytest (8.3.3-1) ... 178s Setting up python3-numpy (1:1.26.4+ds-11ubuntu1) ... 181s Setting up python3-bottleneck (1.3.8+ds1-1) ... 182s Setting up autopkgtest-satdep (0) ... 182s Processing triggers for man-db (2.12.1-3) ... 182s Processing triggers for libc-bin (2.40-1ubuntu3) ... 188s (Reading database ... 81065 files and directories currently installed.) 188s Removing autopkgtest-satdep (0) ... 189s autopkgtest [16:02:53]: 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 189s autopkgtest [16:02:53]: test command1: [----------------------- 189s Testing with python3.12: 190s ============================= test session starts ============================== 190s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 190s rootdir: /tmp/autopkgtest.7O0oVt/autopkgtest_tmp 190s plugins: typeguard-4.4.1 190s collected 192 items 190s 190s tests/input_modification_test.py ............................. [ 15%] 191s tests/list_input_test.py ............................. [ 30%] 191s tests/memory_test.py . [ 30%] 239s tests/move_test.py ................................. [ 47%] 243s tests/nonreduce_axis_test.py .................... [ 58%] 244s tests/nonreduce_test.py .......... [ 63%] 252s tests/reduce_test.py ................................................... [ 90%] 252s [ 90%] 252s tests/scalar_input_test.py .................. [ 99%] 252s tests/test_template.py F [100%] 252s 252s =================================== FAILURES =================================== 252s ______________________________ test_make_c_files _______________________________ 252s 252s def test_make_c_files() -> None: 252s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 252s modules = ["test"] 252s test_input = os.path.join(dirpath, "test.c") 252s if os.path.exists(test_input): 252s os.remove(test_input) 252s 252s > make_c_files(dirpath=dirpath, modules=modules) 252s 252s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 252s modules = ['test'] 252s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 252s 252s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 252s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 252s 252s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 252s modules = ['test'] 252s 252s def make_c_files( 252s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 252s ) -> None: 252s if modules is None: 252s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 252s if dirpath is None: 252s dirpath = os.path.dirname(__file__) 252s for module in modules: 252s template_file = os.path.join(dirpath, module + "_template.c") 252s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 252s target_file = os.path.join(dirpath, module + ".c") 252s 252s if ( 252s os.path.exists(target_file) 252s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 252s ): 252s continue 252s 252s with open(template_file, "r") as f: 252s src_str = f.read() 252s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 252s if len(src_str) and src_str[-1] != "\n": 252s src_str += "\n" 252s > with open(target_file, "w") as f: 252s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 252s 252s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 252s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 252s module = 'test' 252s modules = ['test'] 252s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 252s 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' 252s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 252s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 252s 252s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 252s =========================== short test summary info ============================ 252s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 252s =================== 1 failed, 191 passed in 62.05s (0:01:02) =================== 252s autopkgtest [16:03:56]: test command1: -----------------------] 253s command1 PASS 253s autopkgtest [16:03:57]: test command1: - - - - - - - - - - results - - - - - - - - - - 253s autopkgtest [16:03:57]: @@@@@@@@@@@@@@@@@@@@ summary 253s command1 PASS 265s nova [W] Skipping flock in bos03-arm64 265s Creating nova instance adt-plucky-arm64-bottleneck-20241114-155944-juju-7f2275-prod-proposed-migration-environment-20-0a19bb63-354a-4d20-af87-42127dc723bb from image adt/ubuntu-plucky-arm64-server-20241114.img (UUID 4472f5f7-859f-4441-9e8e-9550fb35f210)...