0s autopkgtest [09:59:06]: starting date and time: 2025-01-08 09:59:06+0000 0s autopkgtest [09:59:06]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [09:59:06]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.wjlkb0m9/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-s390x-19.secgroup --name adt-plucky-s390x-bottleneck-20250108-095906-juju-7f2275-prod-proposed-migration-environment-20-ec5f7d50-0cb7-4df9-8e58-13da99995825 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --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/ 113s autopkgtest [10:00:59]: testbed dpkg architecture: s390x 113s autopkgtest [10:00:59]: testbed apt version: 2.9.18 113s autopkgtest [10:00:59]: @@@@@@@@@@@@@@@@@@@@ test bed setup 113s autopkgtest [10:00:59]: testbed release detected to be: None 114s autopkgtest [10:01:00]: updating testbed package index (apt update) 114s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 115s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 115s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 115s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 115s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [818 kB] 115s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 115s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [129 kB] 115s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.3 kB] 115s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [235 kB] 115s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 115s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [912 kB] 115s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [5576 B] 115s Fetched 2201 kB in 1s (2210 kB/s) 116s Reading package lists... 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 117s Calculating upgrade... 117s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 117s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s autopkgtest [10:01:03]: upgrading testbed (apt dist-upgrade and autopurge) 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 118s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 118s Starting 2 pkgProblemResolver with broken count: 0 118s Done 118s Entering ResolveByKeep 118s 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 119s Starting pkgProblemResolver with broken count: 0 119s Starting 2 pkgProblemResolver with broken count: 0 119s Done 119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s autopkgtest [10:01:07]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 121s autopkgtest [10:01:07]: @@@@@@@@@@@@@@@@@@@@ apt-source bottleneck 123s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (dsc) [2386 B] 123s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (tar) [76.3 kB] 123s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (diff) [6096 B] 123s gpgv: Signature made Wed Nov 13 09:04:27 2024 UTC 123s gpgv: using RSA key 568BF22A66337CBFC9A6B9B72C83DBC8E9BD0E37 123s gpgv: Can't check signature: No public key 123s dpkg-source: warning: cannot verify inline signature for ./bottleneck_1.3.8+ds1-1build1.dsc: no acceptable signature found 123s autopkgtest [10:01:09]: testing package bottleneck version 1.3.8+ds1-1build1 123s autopkgtest [10:01:09]: build not needed 124s autopkgtest [10:01:10]: test command1: preparing testbed 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s Starting pkgProblemResolver with broken count: 0 124s Starting 2 pkgProblemResolver with broken count: 0 124s Done 125s The following NEW packages will be installed: 125s libblas3 libgfortran5 liblapack3 libpython3.13-minimal libpython3.13-stdlib 125s python3-all python3-bottleneck python3-iniconfig python3-numpy 125s python3-packaging python3-pluggy python3-pytest python3.13 125s python3.13-minimal 125s 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 125s Need to get 14.9 MB of archives. 125s After this operation, 67.4 MB of additional disk space will be used. 125s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-minimal s390x 3.13.1-2 [880 kB] 125s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-minimal s390x 3.13.1-2 [2364 kB] 125s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libblas3 s390x 3.12.0-4 [238 kB] 125s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgfortran5 s390x 14.2.0-12ubuntu1 [587 kB] 125s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x liblapack3 s390x 3.12.0-4 [2964 kB] 125s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-stdlib s390x 3.13.1-2 [2074 kB] 125s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13 s390x 3.13.1-2 [729 kB] 126s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.12.8-1 [894 B] 126s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x python3-numpy s390x 1:1.26.4+ds-12 [4601 kB] 126s Get:10 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-bottleneck s390x 1.3.8+ds1-1build1 [108 kB] 126s Get:11 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 126s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 126s Get:13 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 126s Get:14 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.3-1 [251 kB] 126s Fetched 14.9 MB in 1s (14.6 MB/s) 126s Selecting previously unselected package libpython3.13-minimal:s390x. 126s (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.) 126s Preparing to unpack .../00-libpython3.13-minimal_3.13.1-2_s390x.deb ... 126s Unpacking libpython3.13-minimal:s390x (3.13.1-2) ... 126s Selecting previously unselected package python3.13-minimal. 126s Preparing to unpack .../01-python3.13-minimal_3.13.1-2_s390x.deb ... 126s Unpacking python3.13-minimal (3.13.1-2) ... 126s Selecting previously unselected package libblas3:s390x. 126s Preparing to unpack .../02-libblas3_3.12.0-4_s390x.deb ... 126s Unpacking libblas3:s390x (3.12.0-4) ... 126s Selecting previously unselected package libgfortran5:s390x. 126s Preparing to unpack .../03-libgfortran5_14.2.0-12ubuntu1_s390x.deb ... 126s Unpacking libgfortran5:s390x (14.2.0-12ubuntu1) ... 126s Selecting previously unselected package liblapack3:s390x. 126s Preparing to unpack .../04-liblapack3_3.12.0-4_s390x.deb ... 126s Unpacking liblapack3:s390x (3.12.0-4) ... 126s Selecting previously unselected package libpython3.13-stdlib:s390x. 126s Preparing to unpack .../05-libpython3.13-stdlib_3.13.1-2_s390x.deb ... 126s Unpacking libpython3.13-stdlib:s390x (3.13.1-2) ... 126s Selecting previously unselected package python3.13. 126s Preparing to unpack .../06-python3.13_3.13.1-2_s390x.deb ... 126s Unpacking python3.13 (3.13.1-2) ... 126s Selecting previously unselected package python3-all. 126s Preparing to unpack .../07-python3-all_3.12.8-1_s390x.deb ... 126s Unpacking python3-all (3.12.8-1) ... 126s Selecting previously unselected package python3-numpy. 126s Preparing to unpack .../08-python3-numpy_1%3a1.26.4+ds-12_s390x.deb ... 126s Unpacking python3-numpy (1:1.26.4+ds-12) ... 126s Selecting previously unselected package python3-bottleneck. 126s Preparing to unpack .../09-python3-bottleneck_1.3.8+ds1-1build1_s390x.deb ... 126s Unpacking python3-bottleneck (1.3.8+ds1-1build1) ... 126s Selecting previously unselected package python3-iniconfig. 126s Preparing to unpack .../10-python3-iniconfig_1.1.1-2_all.deb ... 126s Unpacking python3-iniconfig (1.1.1-2) ... 126s Selecting previously unselected package python3-packaging. 126s Preparing to unpack .../11-python3-packaging_24.2-1_all.deb ... 126s Unpacking python3-packaging (24.2-1) ... 126s Selecting previously unselected package python3-pluggy. 126s Preparing to unpack .../12-python3-pluggy_1.5.0-1_all.deb ... 126s Unpacking python3-pluggy (1.5.0-1) ... 127s Selecting previously unselected package python3-pytest. 127s Preparing to unpack .../13-python3-pytest_8.3.3-1_all.deb ... 127s Unpacking python3-pytest (8.3.3-1) ... 127s Setting up python3-iniconfig (1.1.1-2) ... 127s Setting up libpython3.13-minimal:s390x (3.13.1-2) ... 127s Setting up libblas3:s390x (3.12.0-4) ... 127s 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 127s Setting up python3-packaging (24.2-1) ... 127s Setting up libgfortran5:s390x (14.2.0-12ubuntu1) ... 127s Setting up python3-pluggy (1.5.0-1) ... 127s Setting up python3.13-minimal (3.13.1-2) ... 128s Setting up libpython3.13-stdlib:s390x (3.13.1-2) ... 128s Setting up liblapack3:s390x (3.12.0-4) ... 128s 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 128s Setting up python3.13 (3.13.1-2) ... 128s Setting up python3-pytest (8.3.3-1) ... 129s Setting up python3-all (3.12.8-1) ... 129s Setting up python3-numpy (1:1.26.4+ds-12) ... 132s Setting up python3-bottleneck (1.3.8+ds1-1build1) ... 133s Processing triggers for systemd (257-2ubuntu1) ... 133s Processing triggers for man-db (2.13.0-1) ... 133s Processing triggers for libc-bin (2.40-4ubuntu1) ... 134s autopkgtest [10:01:20]: 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 134s autopkgtest [10:01:20]: test command1: [----------------------- 134s Testing with python3.13: 135s ============================= test session starts ============================== 135s platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0 135s rootdir: /tmp/autopkgtest.4i5JmE/autopkgtest_tmp 135s plugins: typeguard-4.4.1 135s collected 192 items 135s 135s tests/input_modification_test.py ............................. [ 15%] 135s tests/list_input_test.py ............................. [ 30%] 135s tests/memory_test.py . [ 30%] 158s tests/move_test.py ................................. [ 47%] 159s tests/nonreduce_axis_test.py .................... [ 58%] 159s tests/nonreduce_test.py .......... [ 63%] 162s tests/reduce_test.py ................................................... [ 90%] 162s [ 90%] 162s tests/scalar_input_test.py .................. [ 99%] 162s tests/test_template.py F [100%] 162s 162s =================================== FAILURES =================================== 162s ______________________________ test_make_c_files _______________________________ 162s 162s def test_make_c_files() -> None: 162s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 162s modules = ["test"] 162s test_input = os.path.join(dirpath, "test.c") 162s if os.path.exists(test_input): 162s os.remove(test_input) 162s 162s > make_c_files(dirpath=dirpath, modules=modules) 162s 162s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 162s modules = ['test'] 162s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 162s 162s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 162s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 162s 162s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 162s modules = ['test'] 162s 162s def make_c_files( 162s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 162s ) -> None: 162s if modules is None: 162s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 162s if dirpath is None: 162s dirpath = os.path.dirname(__file__) 162s for module in modules: 162s template_file = os.path.join(dirpath, module + "_template.c") 162s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 162s target_file = os.path.join(dirpath, module + ".c") 162s 162s if ( 162s os.path.exists(target_file) 162s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 162s ): 162s continue 162s 162s with open(template_file, "r") as f: 162s src_str = f.read() 162s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 162s if len(src_str) and src_str[-1] != "\n": 162s src_str += "\n" 162s > with open(target_file, "w") as f: 162s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 162s 162s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 162s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 162s module = 'test' 162s modules = ['test'] 162s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 162s 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' 162s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 162s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 162s 162s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 162s =========================== short test summary info ============================ 162s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 162s ======================== 1 failed, 191 passed in 27.64s ======================== 162s Testing with python3.12: 162s ============================= test session starts ============================== 162s platform linux -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0 162s rootdir: /tmp/autopkgtest.4i5JmE/autopkgtest_tmp 162s plugins: typeguard-4.4.1 162s collected 192 items 162s 163s tests/input_modification_test.py ............................. [ 15%] 163s tests/list_input_test.py ............................. [ 30%] 163s tests/memory_test.py . [ 30%] 185s tests/move_test.py ................................. [ 47%] 187s tests/nonreduce_axis_test.py .................... [ 58%] 187s tests/nonreduce_test.py .......... [ 63%] 190s tests/reduce_test.py ................................................... [ 90%] 190s [ 90%] 190s tests/scalar_input_test.py .................. [ 99%] 190s tests/test_template.py F [100%] 190s 190s =================================== FAILURES =================================== 190s ______________________________ test_make_c_files _______________________________ 190s 190s def test_make_c_files() -> None: 190s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 190s modules = ["test"] 190s test_input = os.path.join(dirpath, "test.c") 190s if os.path.exists(test_input): 190s os.remove(test_input) 190s 190s > make_c_files(dirpath=dirpath, modules=modules) 190s 190s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 190s modules = ['test'] 190s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 190s 190s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 190s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 190s 190s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 190s modules = ['test'] 190s 190s def make_c_files( 190s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 190s ) -> None: 190s if modules is None: 190s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 190s if dirpath is None: 190s dirpath = os.path.dirname(__file__) 190s for module in modules: 190s template_file = os.path.join(dirpath, module + "_template.c") 190s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 190s target_file = os.path.join(dirpath, module + ".c") 190s 190s if ( 190s os.path.exists(target_file) 190s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 190s ): 190s continue 190s 190s with open(template_file, "r") as f: 190s src_str = f.read() 190s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 190s if len(src_str) and src_str[-1] != "\n": 190s src_str += "\n" 190s > with open(target_file, "w") as f: 190s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 190s 190s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 190s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 190s module = 'test' 190s modules = ['test'] 190s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 190s 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' 190s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 190s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 190s 190s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 190s =========================== short test summary info ============================ 190s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 190s ======================== 1 failed, 191 passed in 27.48s ======================== 190s autopkgtest [10:02:16]: test command1: -----------------------] 191s command1 PASS 191s autopkgtest [10:02:17]: test command1: - - - - - - - - - - results - - - - - - - - - - 191s autopkgtest [10:02:17]: @@@@@@@@@@@@@@@@@@@@ summary 191s command1 PASS 208s nova [W] Using flock in prodstack6-s390x 208s flock: timeout while waiting to get lock 208s Creating nova instance adt-plucky-s390x-bottleneck-20250108-095906-juju-7f2275-prod-proposed-migration-environment-20-ec5f7d50-0cb7-4df9-8e58-13da99995825 from image adt/ubuntu-plucky-s390x-server-20250108.img (UUID 1b305a85-9036-4003-b130-4539b3c95093)... 208s nova [W] Timed out waiting for d847beda-a853-4a55-ac4c-fc0ebbf2d642 to get deleted.