0s autopkgtest [18:32:04]: starting date and time: 2024-11-14 18:32:04+0000 0s autopkgtest [18:32:04]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [18:32:04]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.zwvd1yt1/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-ppc64el-29.secgroup --name adt-plucky-ppc64el-bottleneck-20241114-183204-juju-7f2275-prod-proposed-migration-environment-15-320947f7-596b-4ea9-9014-73f37febb11b --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-ppc64el -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/ 98s autopkgtest [18:33:42]: testbed dpkg architecture: ppc64el 98s autopkgtest [18:33:42]: testbed apt version: 2.9.8 98s autopkgtest [18:33:42]: @@@@@@@@@@@@@@@@@@@@ test bed setup 99s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 99s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [103 kB] 99s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.0 kB] 99s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 99s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [933 kB] 99s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [113 kB] 99s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [688 kB] 99s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [7096 B] 100s Fetched 1940 kB in 1s (1929 kB/s) 100s Reading package lists... 102s Reading package lists... 103s Building dependency tree... 103s Reading state information... 103s Calculating upgrade... 103s The following packages will be upgraded: 103s bpfcc-tools bpftrace libbpfcc libcap-ng0 libgnutls30t64 libjson-glib-1.0-0 103s libjson-glib-1.0-common libnewt0.52 libutempter0 pastebinit python3-bpfcc 103s python3-newt python3-systemd whiptail 103s 14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s Need to get 4678 kB of archives. 103s After this operation, 423 kB of additional disk space will be used. 103s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcap-ng0 ppc64el 0.8.5-3build1 [16.3 kB] 103s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.8-2ubuntu1 [1072 kB] 104s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-newt ppc64el 0.52.24-2ubuntu4 [21.8 kB] 104s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnewt0.52 ppc64el 0.52.24-2ubuntu4 [62.1 kB] 104s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el whiptail ppc64el 0.52.24-2ubuntu4 [19.5 kB] 104s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbpfcc ppc64el 0.30.0+ds-1ubuntu5 [696 kB] 104s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-bpfcc all 0.30.0+ds-1ubuntu5 [40.4 kB] 104s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpfcc-tools all 0.30.0+ds-1ubuntu5 [697 kB] 104s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpftrace ppc64el 0.21.2-2ubuntu2 [1898 kB] 104s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 104s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-0 ppc64el 1.10.0+ds-3 [76.0 kB] 104s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libutempter0 ppc64el 1.2.1-4 [9850 B] 104s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el pastebinit all 1.7.1-1 [14.9 kB] 104s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-systemd ppc64el 235-1build5 [48.7 kB] 104s Fetched 4678 kB in 1s (5994 kB/s) 105s (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 ... 73767 files and directories currently installed.) 105s Preparing to unpack .../libcap-ng0_0.8.5-3build1_ppc64el.deb ... 105s Unpacking libcap-ng0:ppc64el (0.8.5-3build1) over (0.8.5-1) ... 105s Setting up libcap-ng0:ppc64el (0.8.5-3build1) ... 105s (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 ... 73767 files and directories currently installed.) 105s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_ppc64el.deb ... 105s Unpacking libgnutls30t64:ppc64el (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 105s Setting up libgnutls30t64:ppc64el (3.8.8-2ubuntu1) ... 105s (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 ... 73767 files and directories currently installed.) 105s Preparing to unpack .../00-python3-newt_0.52.24-2ubuntu4_ppc64el.deb ... 105s Unpacking python3-newt:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 105s Preparing to unpack .../01-libnewt0.52_0.52.24-2ubuntu4_ppc64el.deb ... 105s Unpacking libnewt0.52:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 105s Preparing to unpack .../02-whiptail_0.52.24-2ubuntu4_ppc64el.deb ... 105s Unpacking whiptail (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 105s Preparing to unpack .../03-libbpfcc_0.30.0+ds-1ubuntu5_ppc64el.deb ... 105s Unpacking libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 105s Preparing to unpack .../04-python3-bpfcc_0.30.0+ds-1ubuntu5_all.deb ... 105s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 105s Preparing to unpack .../05-bpfcc-tools_0.30.0+ds-1ubuntu5_all.deb ... 105s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 105s Preparing to unpack .../06-bpftrace_0.21.2-2ubuntu2_ppc64el.deb ... 105s Unpacking bpftrace (0.21.2-2ubuntu2) over (0.21.2-2) ... 106s Preparing to unpack .../07-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 106s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 106s Preparing to unpack .../08-libjson-glib-1.0-0_1.10.0+ds-3_ppc64el.deb ... 106s Unpacking libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) over (1.10.0+ds-2) ... 106s Preparing to unpack .../09-libutempter0_1.2.1-4_ppc64el.deb ... 106s Unpacking libutempter0:ppc64el (1.2.1-4) over (1.2.1-3build1) ... 106s Preparing to unpack .../10-pastebinit_1.7.1-1_all.deb ... 106s Unpacking pastebinit (1.7.1-1) over (1.7.0-1) ... 106s Preparing to unpack .../11-python3-systemd_235-1build5_ppc64el.deb ... 106s Unpacking python3-systemd (235-1build5) over (235-1build4) ... 106s Setting up libnewt0.52:ppc64el (0.52.24-2ubuntu4) ... 106s Setting up pastebinit (1.7.1-1) ... 106s Setting up python3-newt:ppc64el (0.52.24-2ubuntu4) ... 106s Setting up libutempter0:ppc64el (1.2.1-4) ... 106s Setting up whiptail (0.52.24-2ubuntu4) ... 106s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 106s Setting up libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) ... 106s Setting up python3-bpfcc (0.30.0+ds-1ubuntu5) ... 106s Setting up python3-systemd (235-1build5) ... 107s Setting up bpftrace (0.21.2-2ubuntu2) ... 107s Setting up libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) ... 107s Setting up bpfcc-tools (0.30.0+ds-1ubuntu5) ... 107s Processing triggers for man-db (2.12.1-3) ... 109s Processing triggers for libc-bin (2.40-1ubuntu3) ... 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 110s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 110s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 110s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 111s Reading package lists... 111s Reading package lists... 111s Building dependency tree... 111s Reading state information... 111s Calculating upgrade... 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s autopkgtest [18:33:59]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 115s autopkgtest [18:33:59]: @@@@@@@@@@@@@@@@@@@@ apt-source bottleneck 117s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1 (dsc) [2362 B] 117s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1 (tar) [76.3 kB] 117s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.3.8+ds1-1 (diff) [6020 B] 117s gpgv: Signature made Wed May 29 09:30:28 2024 UTC 117s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 117s gpgv: Can't check signature: No public key 117s dpkg-source: warning: cannot verify inline signature for ./bottleneck_1.3.8+ds1-1.dsc: no acceptable signature found 118s autopkgtest [18:34:02]: testing package bottleneck version 1.3.8+ds1-1 118s autopkgtest [18:34:02]: build not needed 118s autopkgtest [18:34:02]: test command1: preparing testbed 119s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s Starting pkgProblemResolver with broken count: 0 120s Starting 2 pkgProblemResolver with broken count: 0 120s Done 120s The following additional packages will be installed: 120s libblas3 libgfortran5 liblapack3 python3-all python3-bottleneck 120s python3-iniconfig python3-numpy python3-packaging python3-pluggy 120s python3-pytest 120s Suggested packages: 120s python-bottleneck-doc gcc gfortran python-numpy-doc python3-dev 120s The following NEW packages will be installed: 120s autopkgtest-satdep libblas3 libgfortran5 liblapack3 python3-all 120s python3-bottleneck python3-iniconfig python3-numpy python3-packaging 120s python3-pluggy python3-pytest 120s 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. 120s Need to get 9161 kB/9162 kB of archives. 120s After this operation, 49.2 MB of additional disk space will be used. 120s Get:1 /tmp/autopkgtest.AJhTyl/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [728 B] 120s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblas3 ppc64el 3.12.0-3build2 [222 kB] 121s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgfortran5 ppc64el 14.2.0-8ubuntu1 [571 kB] 121s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblapack3 ppc64el 3.12.0-3build2 [2806 kB] 121s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-all ppc64el 3.12.6-0ubuntu1 [888 B] 121s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-numpy ppc64el 1:1.26.4+ds-11ubuntu1 [5148 kB] 121s Get:7 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-bottleneck ppc64el 1.3.8+ds1-1 [92.8 kB] 121s Get:8 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 121s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 121s Get:10 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 121s Get:11 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 121s Fetched 9161 kB in 1s (10.4 MB/s) 121s Selecting previously unselected package libblas3:ppc64el. 121s (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 ... 73773 files and directories currently installed.) 121s Preparing to unpack .../00-libblas3_3.12.0-3build2_ppc64el.deb ... 121s Unpacking libblas3:ppc64el (3.12.0-3build2) ... 121s Selecting previously unselected package libgfortran5:ppc64el. 121s Preparing to unpack .../01-libgfortran5_14.2.0-8ubuntu1_ppc64el.deb ... 121s Unpacking libgfortran5:ppc64el (14.2.0-8ubuntu1) ... 122s Selecting previously unselected package liblapack3:ppc64el. 122s Preparing to unpack .../02-liblapack3_3.12.0-3build2_ppc64el.deb ... 122s Unpacking liblapack3:ppc64el (3.12.0-3build2) ... 122s Selecting previously unselected package python3-all. 122s Preparing to unpack .../03-python3-all_3.12.6-0ubuntu1_ppc64el.deb ... 122s Unpacking python3-all (3.12.6-0ubuntu1) ... 122s Selecting previously unselected package python3-numpy. 122s Preparing to unpack .../04-python3-numpy_1%3a1.26.4+ds-11ubuntu1_ppc64el.deb ... 122s Unpacking python3-numpy (1:1.26.4+ds-11ubuntu1) ... 122s Selecting previously unselected package python3-bottleneck. 122s Preparing to unpack .../05-python3-bottleneck_1.3.8+ds1-1_ppc64el.deb ... 122s Unpacking python3-bottleneck (1.3.8+ds1-1) ... 122s Selecting previously unselected package python3-iniconfig. 122s Preparing to unpack .../06-python3-iniconfig_1.1.1-2_all.deb ... 122s Unpacking python3-iniconfig (1.1.1-2) ... 122s Selecting previously unselected package python3-packaging. 122s Preparing to unpack .../07-python3-packaging_24.1-1_all.deb ... 122s Unpacking python3-packaging (24.1-1) ... 122s Selecting previously unselected package python3-pluggy. 122s Preparing to unpack .../08-python3-pluggy_1.5.0-1_all.deb ... 122s Unpacking python3-pluggy (1.5.0-1) ... 122s Selecting previously unselected package python3-pytest. 122s Preparing to unpack .../09-python3-pytest_8.3.3-1_all.deb ... 122s Unpacking python3-pytest (8.3.3-1) ... 122s Selecting previously unselected package autopkgtest-satdep. 122s Preparing to unpack .../10-1-autopkgtest-satdep.deb ... 122s Unpacking autopkgtest-satdep (0) ... 122s Setting up python3-iniconfig (1.1.1-2) ... 122s Setting up python3-all (3.12.6-0ubuntu1) ... 122s Setting up libblas3:ppc64el (3.12.0-3build2) ... 122s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/blas/libblas.so.3 to provide /usr/lib/powerpc64le-linux-gnu/libblas.so.3 (libblas.so.3-powerpc64le-linux-gnu) in auto mode 122s Setting up python3-packaging (24.1-1) ... 122s Setting up libgfortran5:ppc64el (14.2.0-8ubuntu1) ... 122s Setting up python3-pluggy (1.5.0-1) ... 123s Setting up liblapack3:ppc64el (3.12.0-3build2) ... 123s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/powerpc64le-linux-gnu/liblapack.so.3 (liblapack.so.3-powerpc64le-linux-gnu) in auto mode 123s Setting up python3-pytest (8.3.3-1) ... 123s Setting up python3-numpy (1:1.26.4+ds-11ubuntu1) ... 126s Setting up python3-bottleneck (1.3.8+ds1-1) ... 126s Setting up autopkgtest-satdep (0) ... 126s Processing triggers for man-db (2.12.1-3) ... 126s Processing triggers for libc-bin (2.40-1ubuntu3) ... 129s (Reading database ... 74908 files and directories currently installed.) 129s Removing autopkgtest-satdep (0) ... 129s autopkgtest [18:34:13]: 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 129s autopkgtest [18:34:13]: test command1: [----------------------- 130s Testing with python3.12: 130s ============================= test session starts ============================== 130s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 130s rootdir: /tmp/autopkgtest.AJhTyl/autopkgtest_tmp 130s plugins: typeguard-4.4.1 130s collected 192 items 130s 131s tests/input_modification_test.py ............................. [ 15%] 131s tests/list_input_test.py ............................. [ 30%] 131s tests/memory_test.py . [ 30%] 183s tests/move_test.py ................................. [ 47%] 187s tests/nonreduce_axis_test.py .................... [ 58%] 188s tests/nonreduce_test.py .......... [ 63%] 194s tests/reduce_test.py ................................................... [ 90%] 194s [ 90%] 194s tests/scalar_input_test.py .................. [ 99%] 194s tests/test_template.py F [100%] 194s 194s =================================== FAILURES =================================== 194s ______________________________ test_make_c_files _______________________________ 194s 194s def test_make_c_files() -> None: 194s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 194s modules = ["test"] 194s test_input = os.path.join(dirpath, "test.c") 194s if os.path.exists(test_input): 194s os.remove(test_input) 194s 194s > make_c_files(dirpath=dirpath, modules=modules) 194s 194s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 194s modules = ['test'] 194s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 194s 194s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 194s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 194s 194s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 194s modules = ['test'] 194s 194s def make_c_files( 194s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 194s ) -> None: 194s if modules is None: 194s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 194s if dirpath is None: 194s dirpath = os.path.dirname(__file__) 194s for module in modules: 194s template_file = os.path.join(dirpath, module + "_template.c") 194s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 194s target_file = os.path.join(dirpath, module + ".c") 194s 194s if ( 194s os.path.exists(target_file) 194s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 194s ): 194s continue 194s 194s with open(template_file, "r") as f: 194s src_str = f.read() 194s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 194s if len(src_str) and src_str[-1] != "\n": 194s src_str += "\n" 194s > with open(target_file, "w") as f: 194s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 194s 194s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 194s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 194s module = 'test' 194s modules = ['test'] 194s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 194s 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' 194s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 194s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 194s 194s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 194s =========================== short test summary info ============================ 194s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 194s =================== 1 failed, 191 passed in 64.23s (0:01:04) =================== 195s autopkgtest [18:35:19]: test command1: -----------------------] 195s autopkgtest [18:35:19]: test command1: - - - - - - - - - - results - - - - - - - - - - 195s command1 PASS 195s autopkgtest [18:35:19]: @@@@@@@@@@@@@@@@@@@@ summary 195s command1 PASS 200s nova [W] Using flock in prodstack6-ppc64el 200s Creating nova instance adt-plucky-ppc64el-bottleneck-20241114-183204-juju-7f2275-prod-proposed-migration-environment-15-320947f7-596b-4ea9-9014-73f37febb11b from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)...