0s autopkgtest [07:51:52]: starting date and time: 2025-01-11 07:51:52+0000 0s autopkgtest [07:51:52]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [07:51:52]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.zmiwseu1/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 builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-15.secgroup --name adt-plucky-amd64-bottleneck-20250111-075152-juju-7f2275-prod-proposed-migration-environment-15-d98ec167-cb6e-4958-96a6-eb2cbe2fa5e2 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-amd64 -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/ 50s autopkgtest [07:52:42]: testbed dpkg architecture: amd64 50s autopkgtest [07:52:42]: testbed apt version: 2.9.18 51s autopkgtest [07:52:43]: @@@@@@@@@@@@@@@@@@@@ test bed setup 51s autopkgtest [07:52:43]: testbed release detected to be: None 52s autopkgtest [07:52:44]: updating testbed package index (apt update) 52s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 52s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 52s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 52s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 52s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [123 kB] 53s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 53s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [739 kB] 53s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.3 kB] 53s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [291 kB] 53s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [160 kB] 53s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 53s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 53s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [414 kB] 53s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [996 kB] 53s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [3516 B] 53s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [13.4 kB] 53s Fetched 2881 kB in 1s (2749 kB/s) 54s Reading package lists... 54s Reading package lists... 55s Building dependency tree... 55s Reading state information... 55s Calculating upgrade... 55s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 55s Reading package lists... 55s Building dependency tree... 55s Reading state information... 55s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 55s autopkgtest [07:52:47]: upgrading testbed (apt dist-upgrade and autopurge) 56s Reading package lists... 56s Building dependency tree... 56s Reading state information... 56s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 56s Starting 2 pkgProblemResolver with broken count: 0 56s Done 56s Entering ResolveByKeep 57s 57s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 57s Reading package lists... 57s Building dependency tree... 57s Reading state information... 57s Starting pkgProblemResolver with broken count: 0 57s Starting 2 pkgProblemResolver with broken count: 0 57s Done 57s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s autopkgtest [07:52:50]: rebooting testbed after setup commands that affected boot 82s autopkgtest [07:53:14]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 84s autopkgtest [07:53:16]: @@@@@@@@@@@@@@@@@@@@ apt-source bottleneck 86s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (dsc) [2386 B] 86s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (tar) [76.3 kB] 86s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1build1 (diff) [6096 B] 87s gpgv: Signature made Wed Nov 13 09:04:27 2024 UTC 87s gpgv: using RSA key 568BF22A66337CBFC9A6B9B72C83DBC8E9BD0E37 87s gpgv: Can't check signature: No public key 87s dpkg-source: warning: cannot verify inline signature for ./bottleneck_1.3.8+ds1-1build1.dsc: no acceptable signature found 87s autopkgtest [07:53:19]: testing package bottleneck version 1.3.8+ds1-1build1 87s autopkgtest [07:53:19]: build not needed 87s autopkgtest [07:53:19]: test command1: preparing testbed 88s Reading package lists... 88s Building dependency tree... 88s Reading state information... 88s Starting pkgProblemResolver with broken count: 0 88s Starting 2 pkgProblemResolver with broken count: 0 88s Done 88s The following NEW packages will be installed: 88s libblas3 libgfortran5 liblapack3 libpython3.13-minimal libpython3.13-stdlib 88s python3-all python3-bottleneck python3-iniconfig python3-numpy 88s python3-packaging python3-pluggy python3-pytest python3.13 88s python3.13-minimal 88s 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 88s Need to get 16.2 MB of archives. 88s After this operation, 76.8 MB of additional disk space will be used. 88s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.1-2 [881 kB] 89s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.1-2 [2358 kB] 89s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas3 amd64 3.12.0-4 [332 kB] 89s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran5 amd64 14.2.0-12ubuntu1 [909 kB] 89s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack3 amd64 3.12.0-4 [3177 kB] 89s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.1-2 [2088 kB] 89s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.1-2 [729 kB] 89s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-all amd64 3.12.8-1 [890 B] 89s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-numpy amd64 1:1.26.4+ds-12 [5319 kB] 89s Get:10 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-bottleneck amd64 1.3.8+ds1-1build1 [89.5 kB] 89s Get:11 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 89s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 89s Get:13 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 89s Get:14 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.4-1 [252 kB] 90s Fetched 16.2 MB in 1s (15.7 MB/s) 90s Selecting previously unselected package libpython3.13-minimal:amd64. 90s (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 ... 75820 files and directories currently installed.) 90s Preparing to unpack .../00-libpython3.13-minimal_3.13.1-2_amd64.deb ... 90s Unpacking libpython3.13-minimal:amd64 (3.13.1-2) ... 90s Selecting previously unselected package python3.13-minimal. 90s Preparing to unpack .../01-python3.13-minimal_3.13.1-2_amd64.deb ... 90s Unpacking python3.13-minimal (3.13.1-2) ... 90s Selecting previously unselected package libblas3:amd64. 90s Preparing to unpack .../02-libblas3_3.12.0-4_amd64.deb ... 90s Unpacking libblas3:amd64 (3.12.0-4) ... 90s Selecting previously unselected package libgfortran5:amd64. 90s Preparing to unpack .../03-libgfortran5_14.2.0-12ubuntu1_amd64.deb ... 90s Unpacking libgfortran5:amd64 (14.2.0-12ubuntu1) ... 90s Selecting previously unselected package liblapack3:amd64. 90s Preparing to unpack .../04-liblapack3_3.12.0-4_amd64.deb ... 90s Unpacking liblapack3:amd64 (3.12.0-4) ... 90s Selecting previously unselected package libpython3.13-stdlib:amd64. 90s Preparing to unpack .../05-libpython3.13-stdlib_3.13.1-2_amd64.deb ... 90s Unpacking libpython3.13-stdlib:amd64 (3.13.1-2) ... 90s Selecting previously unselected package python3.13. 90s Preparing to unpack .../06-python3.13_3.13.1-2_amd64.deb ... 90s Unpacking python3.13 (3.13.1-2) ... 90s Selecting previously unselected package python3-all. 90s Preparing to unpack .../07-python3-all_3.12.8-1_amd64.deb ... 90s Unpacking python3-all (3.12.8-1) ... 90s Selecting previously unselected package python3-numpy. 90s Preparing to unpack .../08-python3-numpy_1%3a1.26.4+ds-12_amd64.deb ... 90s Unpacking python3-numpy (1:1.26.4+ds-12) ... 90s Selecting previously unselected package python3-bottleneck. 90s Preparing to unpack .../09-python3-bottleneck_1.3.8+ds1-1build1_amd64.deb ... 90s Unpacking python3-bottleneck (1.3.8+ds1-1build1) ... 90s Selecting previously unselected package python3-iniconfig. 90s Preparing to unpack .../10-python3-iniconfig_1.1.1-2_all.deb ... 90s Unpacking python3-iniconfig (1.1.1-2) ... 90s Selecting previously unselected package python3-packaging. 90s Preparing to unpack .../11-python3-packaging_24.2-1_all.deb ... 90s Unpacking python3-packaging (24.2-1) ... 90s Selecting previously unselected package python3-pluggy. 90s Preparing to unpack .../12-python3-pluggy_1.5.0-1_all.deb ... 90s Unpacking python3-pluggy (1.5.0-1) ... 90s Selecting previously unselected package python3-pytest. 90s Preparing to unpack .../13-python3-pytest_8.3.4-1_all.deb ... 90s Unpacking python3-pytest (8.3.4-1) ... 90s Setting up python3-iniconfig (1.1.1-2) ... 91s Setting up libpython3.13-minimal:amd64 (3.13.1-2) ... 91s Setting up libblas3:amd64 (3.12.0-4) ... 91s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode 91s Setting up python3-packaging (24.2-1) ... 91s Setting up libgfortran5:amd64 (14.2.0-12ubuntu1) ... 91s Setting up python3-pluggy (1.5.0-1) ... 91s Setting up python3.13-minimal (3.13.1-2) ... 91s Setting up libpython3.13-stdlib:amd64 (3.13.1-2) ... 91s Setting up liblapack3:amd64 (3.12.0-4) ... 91s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode 91s Setting up python3.13 (3.13.1-2) ... 92s Setting up python3-pytest (8.3.4-1) ... 93s Setting up python3-all (3.12.8-1) ... 93s Setting up python3-numpy (1:1.26.4+ds-12) ... 95s Setting up python3-bottleneck (1.3.8+ds1-1build1) ... 95s Processing triggers for systemd (257-2ubuntu1) ... 95s Processing triggers for man-db (2.13.0-1) ... 96s Processing triggers for libc-bin (2.40-4ubuntu1) ... 97s autopkgtest [07:53:29]: 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 97s autopkgtest [07:53:29]: test command1: [----------------------- 97s Testing with python3.13: 97s ============================= test session starts ============================== 97s platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 97s rootdir: /tmp/autopkgtest.jo9wJg/autopkgtest_tmp 97s plugins: typeguard-4.4.1 97s collected 192 items 97s 98s tests/input_modification_test.py ............................. [ 15%] 98s tests/list_input_test.py ............................. [ 30%] 98s tests/memory_test.py . [ 30%] 125s tests/move_test.py ................................. [ 47%] 127s tests/nonreduce_axis_test.py .................... [ 58%] 128s tests/nonreduce_test.py .......... [ 63%] 131s tests/reduce_test.py ................................................... [ 90%] 131s [ 90%] 131s tests/scalar_input_test.py .................. [ 99%] 131s tests/test_template.py F [100%] 131s 131s =================================== FAILURES =================================== 131s ______________________________ test_make_c_files _______________________________ 131s 131s def test_make_c_files() -> None: 131s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 131s modules = ["test"] 131s test_input = os.path.join(dirpath, "test.c") 131s if os.path.exists(test_input): 131s os.remove(test_input) 131s 131s > make_c_files(dirpath=dirpath, modules=modules) 131s 131s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 131s modules = ['test'] 131s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 131s 131s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 131s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 131s 131s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 131s modules = ['test'] 131s 131s def make_c_files( 131s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 131s ) -> None: 131s if modules is None: 131s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 131s if dirpath is None: 131s dirpath = os.path.dirname(__file__) 131s for module in modules: 131s template_file = os.path.join(dirpath, module + "_template.c") 131s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 131s target_file = os.path.join(dirpath, module + ".c") 131s 131s if ( 131s os.path.exists(target_file) 131s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 131s ): 131s continue 131s 131s with open(template_file, "r") as f: 131s src_str = f.read() 131s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 131s if len(src_str) and src_str[-1] != "\n": 131s src_str += "\n" 131s > with open(target_file, "w") as f: 131s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 131s 131s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 131s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 131s module = 'test' 131s modules = ['test'] 131s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 131s 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' 131s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 131s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 131s 131s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 131s =========================== short test summary info ============================ 131s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 131s ======================== 1 failed, 191 passed in 33.97s ======================== 131s Testing with python3.12: 132s ============================= test session starts ============================== 132s platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 132s rootdir: /tmp/autopkgtest.jo9wJg/autopkgtest_tmp 132s plugins: typeguard-4.4.1 132s collected 192 items 132s 132s tests/input_modification_test.py ............................. [ 15%] 132s tests/list_input_test.py ............................. [ 30%] 132s tests/memory_test.py . [ 30%] 159s tests/move_test.py ................................. [ 47%] 161s tests/nonreduce_axis_test.py .................... [ 58%] 162s tests/nonreduce_test.py .......... [ 63%] 165s tests/reduce_test.py ................................................... [ 90%] 165s [ 90%] 165s tests/scalar_input_test.py .................. [ 99%] 165s tests/test_template.py F [100%] 165s 165s =================================== FAILURES =================================== 165s ______________________________ test_make_c_files _______________________________ 165s 165s def test_make_c_files() -> None: 165s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 165s modules = ["test"] 165s test_input = os.path.join(dirpath, "test.c") 165s if os.path.exists(test_input): 165s os.remove(test_input) 165s 165s > make_c_files(dirpath=dirpath, modules=modules) 165s 165s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 165s modules = ['test'] 165s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 165s 165s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 165s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 165s 165s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 165s modules = ['test'] 165s 165s def make_c_files( 165s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 165s ) -> None: 165s if modules is None: 165s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 165s if dirpath is None: 165s dirpath = os.path.dirname(__file__) 165s for module in modules: 165s template_file = os.path.join(dirpath, module + "_template.c") 165s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 165s target_file = os.path.join(dirpath, module + ".c") 165s 165s if ( 165s os.path.exists(target_file) 165s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 165s ): 165s continue 165s 165s with open(template_file, "r") as f: 165s src_str = f.read() 165s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 165s if len(src_str) and src_str[-1] != "\n": 165s src_str += "\n" 165s > with open(target_file, "w") as f: 165s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 165s 165s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 165s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 165s module = 'test' 165s modules = ['test'] 165s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 165s 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' 165s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 165s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 165s 165s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 165s =========================== short test summary info ============================ 165s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 165s ======================== 1 failed, 191 passed in 33.59s ======================== 166s autopkgtest [07:54:38]: test command1: -----------------------] 166s command1 PASS 166s autopkgtest [07:54:38]: test command1: - - - - - - - - - - results - - - - - - - - - - 166s autopkgtest [07:54:38]: @@@@@@@@@@@@@@@@@@@@ summary 166s command1 PASS 183s nova [W] Skipping flock for amd64 183s Creating nova instance adt-plucky-amd64-bottleneck-20250111-075152-juju-7f2275-prod-proposed-migration-environment-15-d98ec167-cb6e-4958-96a6-eb2cbe2fa5e2 from image adt/ubuntu-plucky-amd64-server-20250110.img (UUID 10aa3af7-243c-44df-b2fa-fc2438562fcd)... 183s nova [W] Timed out waiting for 240cf34c-3d6b-4fb6-ac06-63d37510ff12 to get deleted.