0s autopkgtest [11:22:28]: starting date and time: 2025-02-19 11:22:28+0000 0s autopkgtest [11:22:28]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [11:22:28]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.4bk0i2xy/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-5 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-31.secgroup --name adt-plucky-arm64-bottleneck-20250219-112228-juju-7f2275-prod-proposed-migration-environment-2-c453f753-1715-4d26-8f43-1fd0c97b8f21 --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/ 218s autopkgtest [11:26:06]: testbed dpkg architecture: arm64 218s autopkgtest [11:26:06]: testbed apt version: 2.9.29 218s autopkgtest [11:26:06]: @@@@@@@@@@@@@@@@@@@@ test bed setup 219s autopkgtest [11:26:07]: testbed release detected to be: None 219s autopkgtest [11:26:07]: updating testbed package index (apt update) 220s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 220s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 220s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 220s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 220s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.1 kB] 220s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 220s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.9 kB] 220s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [750 kB] 220s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [93.3 kB] 220s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [7960 B] 220s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [686 kB] 220s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [11.2 kB] 221s Fetched 1752 kB in 1s (1845 kB/s) 222s Reading package lists... 223s Reading package lists... 223s Building dependency tree... 223s Reading state information... 224s Calculating upgrade... 224s The following NEW packages will be installed: 224s libapt-pkg7.0 224s The following packages will be upgraded: 224s apt apt-utils iproute2 liblsof0 libp11-kit0 lsof rsyslog 224s 7 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 224s Need to get 4842 kB of archives. 224s After this operation, 3409 kB of additional disk space will be used. 224s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libapt-pkg7.0 arm64 2.9.30 [1023 kB] 225s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 apt arm64 2.9.30 [1364 kB] 225s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 apt-utils arm64 2.9.30 [207 kB] 225s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 iproute2 arm64 6.13.0-1ubuntu1 [1158 kB] 225s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libp11-kit0 arm64 0.25.5-2ubuntu3 [280 kB] 225s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 rsyslog arm64 8.2412.0-2ubuntu1 [521 kB] 225s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 lsof arm64 4.99.4+dfsg-1 [236 kB] 225s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsof0 arm64 4.99.4+dfsg-1 [53.9 kB] 226s Preconfiguring packages ... 226s Fetched 4842 kB in 1s (5432 kB/s) 226s Selecting previously unselected package libapt-pkg7.0:arm64. 226s (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 ... 116620 files and directories currently installed.) 226s Preparing to unpack .../libapt-pkg7.0_2.9.30_arm64.deb ... 226s Unpacking libapt-pkg7.0:arm64 (2.9.30) ... 226s Setting up libapt-pkg7.0:arm64 (2.9.30) ... 226s (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 ... 116669 files and directories currently installed.) 226s Preparing to unpack .../archives/apt_2.9.30_arm64.deb ... 227s Unpacking apt (2.9.30) over (2.9.29) ... 227s Setting up apt (2.9.30) ... 227s (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 ... 116669 files and directories currently installed.) 227s Preparing to unpack .../0-apt-utils_2.9.30_arm64.deb ... 227s Unpacking apt-utils (2.9.30) over (2.9.29) ... 228s Preparing to unpack .../1-iproute2_6.13.0-1ubuntu1_arm64.deb ... 228s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 228s Preparing to unpack .../2-libp11-kit0_0.25.5-2ubuntu3_arm64.deb ... 228s Unpacking libp11-kit0:arm64 (0.25.5-2ubuntu3) over (0.25.5-2ubuntu2) ... 228s Preparing to unpack .../3-rsyslog_8.2412.0-2ubuntu1_arm64.deb ... 228s Unpacking rsyslog (8.2412.0-2ubuntu1) over (8.2412.0-1ubuntu1) ... 228s Preparing to unpack .../4-lsof_4.99.4+dfsg-1_arm64.deb ... 228s Unpacking lsof (4.99.4+dfsg-1) over (4.99.3+dfsg-2) ... 228s Preparing to unpack .../5-liblsof0_4.99.4+dfsg-1_arm64.deb ... 228s Unpacking liblsof0 (4.99.4+dfsg-1) over (4.99.3+dfsg-2) ... 228s Setting up apt-utils (2.9.30) ... 228s Setting up liblsof0 (4.99.4+dfsg-1) ... 228s Setting up iproute2 (6.13.0-1ubuntu1) ... 229s Setting up rsyslog (8.2412.0-2ubuntu1) ... 229s info: The user `syslog' is already a member of `adm'. 230s Setting up libp11-kit0:arm64 (0.25.5-2ubuntu3) ... 230s Setting up lsof (4.99.4+dfsg-1) ... 230s Processing triggers for man-db (2.13.0-1) ... 233s Processing triggers for libc-bin (2.40-4ubuntu1) ... 234s Reading package lists... 235s Building dependency tree... 235s Reading state information... 235s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 235s autopkgtest [11:26:23]: upgrading testbed (apt dist-upgrade and autopurge) 236s Reading package lists... 236s Building dependency tree... 236s Reading state information... 236s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 237s Starting 2 pkgProblemResolver with broken count: 0 237s Done 237s Entering ResolveByKeep 238s 238s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 238s Reading package lists... 239s Building dependency tree... 239s Reading state information... 239s Starting pkgProblemResolver with broken count: 0 239s Starting 2 pkgProblemResolver with broken count: 0 239s Done 240s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 240s autopkgtest [11:26:28]: rebooting testbed after setup commands that affected boot 274s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 282s autopkgtest [11:27:10]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 4 15:49:33 UTC 2025 285s autopkgtest [11:27:13]: @@@@@@@@@@@@@@@@@@@@ apt-source bottleneck 288s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.4.2+ds1-2 (dsc) [2526 B] 288s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.4.2+ds1-2 (tar) [76.7 kB] 288s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.4.2+ds1-2 (diff) [6148 B] 289s gpgv: Signature made Mon Jan 27 14:09:27 2025 UTC 289s gpgv: using RSA key 9B03EBB98300DF97C2B123BFCC8C6BDD1403F4CA 289s gpgv: issuer "roehling@debian.org" 289s gpgv: Can't check signature: No public key 289s dpkg-source: warning: cannot verify inline signature for ./bottleneck_1.4.2+ds1-2.dsc: no acceptable signature found 289s autopkgtest [11:27:17]: testing package bottleneck version 1.4.2+ds1-2 289s autopkgtest [11:27:17]: build not needed 290s autopkgtest [11:27:18]: test command1: preparing testbed 290s Reading package lists... 290s Building dependency tree... 290s Reading state information... 291s Starting pkgProblemResolver with broken count: 0 291s Starting 2 pkgProblemResolver with broken count: 0 291s Done 292s The following NEW packages will be installed: 292s libblas3 libgfortran5 liblapack3 python3-all python3-bottleneck 292s python3-iniconfig python3-numpy python3-packaging python3-pluggy 292s python3-pytest python3.12 python3.12-minimal 292s 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. 292s Need to get 10.4 MB of archives. 292s After this operation, 47.0 MB of additional disk space will be used. 292s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-minimal arm64 3.12.9-1 [2236 kB] 292s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12 arm64 3.12.9-1 [671 kB] 293s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libblas3 arm64 3.12.1-2 [161 kB] 293s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libgfortran5 arm64 15-20250213-1ubuntu1 [443 kB] 293s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 liblapack3 arm64 3.12.1-2 [2307 kB] 293s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.13.1-1~exp2 [894 B] 293s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-numpy arm64 1:1.26.4+ds-13 [4148 kB] 293s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-bottleneck arm64 1.4.2+ds1-2 [83.0 kB] 293s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 293s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 293s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 293s Get:12 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.4-1 [252 kB] 293s Fetched 10.4 MB in 1s (8529 kB/s) 293s Selecting previously unselected package python3.12-minimal. 294s (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 ... 116670 files and directories currently installed.) 294s Preparing to unpack .../00-python3.12-minimal_3.12.9-1_arm64.deb ... 294s Unpacking python3.12-minimal (3.12.9-1) ... 294s Selecting previously unselected package python3.12. 294s Preparing to unpack .../01-python3.12_3.12.9-1_arm64.deb ... 294s Unpacking python3.12 (3.12.9-1) ... 294s Selecting previously unselected package libblas3:arm64. 294s Preparing to unpack .../02-libblas3_3.12.1-2_arm64.deb ... 294s Unpacking libblas3:arm64 (3.12.1-2) ... 294s Selecting previously unselected package libgfortran5:arm64. 294s Preparing to unpack .../03-libgfortran5_15-20250213-1ubuntu1_arm64.deb ... 294s Unpacking libgfortran5:arm64 (15-20250213-1ubuntu1) ... 294s Selecting previously unselected package liblapack3:arm64. 294s Preparing to unpack .../04-liblapack3_3.12.1-2_arm64.deb ... 294s Unpacking liblapack3:arm64 (3.12.1-2) ... 295s Selecting previously unselected package python3-all. 295s Preparing to unpack .../05-python3-all_3.13.1-1~exp2_arm64.deb ... 295s Unpacking python3-all (3.13.1-1~exp2) ... 295s Selecting previously unselected package python3-numpy. 295s Preparing to unpack .../06-python3-numpy_1%3a1.26.4+ds-13_arm64.deb ... 295s Unpacking python3-numpy (1:1.26.4+ds-13) ... 295s Selecting previously unselected package python3-bottleneck. 295s Preparing to unpack .../07-python3-bottleneck_1.4.2+ds1-2_arm64.deb ... 295s Unpacking python3-bottleneck (1.4.2+ds1-2) ... 295s Selecting previously unselected package python3-iniconfig. 295s Preparing to unpack .../08-python3-iniconfig_1.1.1-2_all.deb ... 295s Unpacking python3-iniconfig (1.1.1-2) ... 295s Selecting previously unselected package python3-packaging. 295s Preparing to unpack .../09-python3-packaging_24.2-1_all.deb ... 295s Unpacking python3-packaging (24.2-1) ... 295s Selecting previously unselected package python3-pluggy. 295s Preparing to unpack .../10-python3-pluggy_1.5.0-1_all.deb ... 295s Unpacking python3-pluggy (1.5.0-1) ... 295s Selecting previously unselected package python3-pytest. 295s Preparing to unpack .../11-python3-pytest_8.3.4-1_all.deb ... 295s Unpacking python3-pytest (8.3.4-1) ... 295s Setting up python3-iniconfig (1.1.1-2) ... 296s Setting up python3.12-minimal (3.12.9-1) ... 297s Setting up python3.12 (3.12.9-1) ... 298s Setting up python3-all (3.13.1-1~exp2) ... 298s Setting up libblas3:arm64 (3.12.1-2) ... 298s 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 298s Setting up python3-packaging (24.2-1) ... 298s Setting up libgfortran5:arm64 (15-20250213-1ubuntu1) ... 298s Setting up python3-pluggy (1.5.0-1) ... 299s Setting up liblapack3:arm64 (3.12.1-2) ... 299s 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 299s Setting up python3-pytest (8.3.4-1) ... 299s Setting up python3-numpy (1:1.26.4+ds-13) ... 304s Setting up python3-bottleneck (1.4.2+ds1-2) ... 304s Processing triggers for systemd (257.2-3ubuntu1) ... 304s Processing triggers for man-db (2.13.0-1) ... 305s Processing triggers for libc-bin (2.40-4ubuntu1) ... 306s autopkgtest [11:27:34]: 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 306s autopkgtest [11:27:34]: test command1: [----------------------- 306s Testing with python3.12: 307s ============================= test session starts ============================== 307s platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0 307s rootdir: /tmp/autopkgtest.ZnCBsc/autopkgtest_tmp 307s plugins: typeguard-4.4.1 307s collected 192 items 307s 308s tests/input_modification_test.py ............................. [ 15%] 308s tests/list_input_test.py ............................. [ 30%] 308s tests/memory_test.py . [ 30%] 342s tests/move_test.py ................................. [ 47%] 345s tests/nonreduce_axis_test.py .................... [ 58%] 345s tests/nonreduce_test.py .......... [ 63%] 350s tests/reduce_test.py ................................................... [ 90%] 350s [ 90%] 350s tests/scalar_input_test.py .................. [ 99%] 350s tests/test_template.py F [100%] 350s 350s =================================== FAILURES =================================== 350s ______________________________ test_make_c_files _______________________________ 350s 350s def test_make_c_files() -> None: 350s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 350s modules = ["test"] 350s test_input = os.path.join(dirpath, "test.c") 350s if os.path.exists(test_input): 350s os.remove(test_input) 350s 350s > make_c_files(dirpath=dirpath, modules=modules) 350s 350s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 350s modules = ['test'] 350s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 350s 350s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 350s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 350s 350s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 350s modules = ['test'] 350s 350s def make_c_files( 350s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 350s ) -> None: 350s if modules is None: 350s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 350s if dirpath is None: 350s dirpath = os.path.dirname(__file__) 350s for module in modules: 350s template_file = os.path.join(dirpath, module + "_template.c") 350s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 350s target_file = os.path.join(dirpath, module + ".c") 350s 350s if ( 350s os.path.exists(target_file) 350s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 350s ): 350s continue 350s 350s with open(template_file, "r") as f: 350s src_str = f.read() 350s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 350s if len(src_str) and src_str[-1] != "\n": 350s src_str += "\n" 350s > with open(target_file, "w") as f: 350s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 350s 350s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 350s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 350s module = 'test' 350s modules = ['test'] 350s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 350s 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' 350s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 350s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 350s 350s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 350s =========================== short test summary info ============================ 350s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 350s ======================== 1 failed, 191 passed in 42.71s ======================== 350s Testing with python3.13: 350s ============================= test session starts ============================== 350s platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 350s rootdir: /tmp/autopkgtest.ZnCBsc/autopkgtest_tmp 350s plugins: typeguard-4.4.1 350s collected 192 items 350s 351s tests/input_modification_test.py ............................. [ 15%] 351s tests/list_input_test.py ............................. [ 30%] 351s tests/memory_test.py . [ 30%] 384s tests/move_test.py ................................. [ 47%] 386s tests/nonreduce_axis_test.py .................... [ 58%] 387s tests/nonreduce_test.py .......... [ 63%] 391s tests/reduce_test.py ................................................... [ 90%] 391s [ 90%] 391s tests/scalar_input_test.py .................. [ 99%] 391s tests/test_template.py F [100%] 391s 391s =================================== FAILURES =================================== 391s ______________________________ test_make_c_files _______________________________ 391s 391s def test_make_c_files() -> None: 391s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 391s modules = ["test"] 391s test_input = os.path.join(dirpath, "test.c") 391s if os.path.exists(test_input): 391s os.remove(test_input) 391s 391s > make_c_files(dirpath=dirpath, modules=modules) 391s 391s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 391s modules = ['test'] 391s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 391s 391s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 391s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 391s 391s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 391s modules = ['test'] 391s 391s def make_c_files( 391s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 391s ) -> None: 391s if modules is None: 391s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 391s if dirpath is None: 391s dirpath = os.path.dirname(__file__) 391s for module in modules: 391s template_file = os.path.join(dirpath, module + "_template.c") 391s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 391s target_file = os.path.join(dirpath, module + ".c") 391s 391s if ( 391s os.path.exists(target_file) 391s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 391s ): 391s continue 391s 391s with open(template_file, "r") as f: 391s src_str = f.read() 391s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 391s if len(src_str) and src_str[-1] != "\n": 391s src_str += "\n" 391s > with open(target_file, "w") as f: 391s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 391s 391s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 391s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 391s module = 'test' 391s modules = ['test'] 391s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 391s 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' 391s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 391s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 391s 391s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 391s =========================== short test summary info ============================ 391s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 391s ======================== 1 failed, 191 passed in 40.77s ======================== 392s autopkgtest [11:29:00]: test command1: -----------------------] 392s command1 PASS 392s autopkgtest [11:29:00]: test command1: - - - - - - - - - - results - - - - - - - - - - 393s autopkgtest [11:29:01]: @@@@@@@@@@@@@@@@@@@@ summary 393s command1 PASS 412s nova [W] Using flock in prodstack6-arm64 412s flock: timeout while waiting to get lock 412s Creating nova instance adt-plucky-arm64-bottleneck-20250219-112228-juju-7f2275-prod-proposed-migration-environment-2-c453f753-1715-4d26-8f43-1fd0c97b8f21 from image adt/ubuntu-plucky-arm64-server-20250219.img (UUID 02c92adb-9d9d-4b0e-b071-488d8ee6210f)... 412s nova [W] Timed out waiting for 0bd90997-9eb9-4189-8985-9225d3c87fe8 to get deleted.