0s autopkgtest [12:09:36]: starting date and time: 2025-02-19 12:09:36+0000 0s autopkgtest [12:09:36]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [12:09:36]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.3kkzs3w1/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-s390x-16.secgroup --name adt-plucky-s390x-bottleneck-20250219-113427-juju-7f2275-prod-proposed-migration-environment-2-fa192175-af49-4328-8673-9f3031eeb3f1 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --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/ 117s autopkgtest [12:11:33]: testbed dpkg architecture: s390x 117s autopkgtest [12:11:33]: testbed apt version: 2.9.30 118s autopkgtest [12:11:34]: @@@@@@@@@@@@@@@@@@@@ test bed setup 118s autopkgtest [12:11:34]: testbed release detected to be: None 119s autopkgtest [12:11:35]: updating testbed package index (apt update) 119s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 119s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 119s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 119s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 119s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.1 kB] 119s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [750 kB] 120s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 120s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.9 kB] 120s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [95.1 kB] 120s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [760 B] 120s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [646 kB] 120s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4900 B] 120s Fetched 1700 kB in 1s (1804 kB/s) 120s Reading package lists... 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s Calculating upgrade... 122s The following packages were automatically installed and are no longer required: 122s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 122s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 122s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 122s linux-tools-6.11.0-8-generic 122s Use 'sudo apt autoremove' to remove them. 122s The following packages will be upgraded: 122s iproute2 liblsof0 libp11-kit0 lsof 122s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s Need to get 1791 kB of archives. 122s After this operation, 17.4 kB of additional disk space will be used. 122s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x iproute2 s390x 6.13.0-1ubuntu1 [1174 kB] 122s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libp11-kit0 s390x 0.25.5-2ubuntu3 [316 kB] 122s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x lsof s390x 4.99.4+dfsg-1 [243 kB] 122s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x liblsof0 s390x 4.99.4+dfsg-1 [58.5 kB] 122s Preconfiguring packages ... 122s Fetched 1791 kB in 1s (2686 kB/s) 123s (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 ... 81030 files and directories currently installed.) 123s Preparing to unpack .../iproute2_6.13.0-1ubuntu1_s390x.deb ... 123s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 123s Preparing to unpack .../libp11-kit0_0.25.5-2ubuntu3_s390x.deb ... 123s Unpacking libp11-kit0:s390x (0.25.5-2ubuntu3) over (0.25.5-2ubuntu2) ... 123s Preparing to unpack .../lsof_4.99.4+dfsg-1_s390x.deb ... 123s Unpacking lsof (4.99.4+dfsg-1) over (4.99.3+dfsg-2) ... 123s Preparing to unpack .../liblsof0_4.99.4+dfsg-1_s390x.deb ... 123s Unpacking liblsof0 (4.99.4+dfsg-1) over (4.99.3+dfsg-2) ... 123s Setting up liblsof0 (4.99.4+dfsg-1) ... 123s Setting up iproute2 (6.13.0-1ubuntu1) ... 123s Setting up libp11-kit0:s390x (0.25.5-2ubuntu3) ... 123s Setting up lsof (4.99.4+dfsg-1) ... 123s Processing triggers for man-db (2.13.0-1) ... 123s Processing triggers for libc-bin (2.40-4ubuntu1) ... 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s The following packages will be REMOVED: 124s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 124s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 124s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 124s linux-tools-6.11.0-8-generic* 124s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 124s After this operation, 167 MB disk space will be freed. 124s (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 ... 81031 files and directories currently installed.) 124s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 124s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 124s Removing libpython3.12t64:s390x (3.12.9-1) ... 124s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 124s Removing libnsl2:s390x (1.3.0-3build3) ... 124s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 124s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 124s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 125s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 125s Processing triggers for libc-bin (2.40-4ubuntu1) ... 125s (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 ... 55931 files and directories currently installed.) 125s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 125s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 126s autopkgtest [12:11:42]: upgrading testbed (apt dist-upgrade and autopurge) 126s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 126s Starting 2 pkgProblemResolver with broken count: 0 126s Done 126s Entering ResolveByKeep 126s 127s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s Starting pkgProblemResolver with broken count: 0 127s Starting 2 pkgProblemResolver with broken count: 0 127s Done 127s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s autopkgtest [12:11:43]: rebooting testbed after setup commands that affected boot 146s autopkgtest [12:12:02]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP Tue Feb 4 15:05:57 UTC 2025 149s autopkgtest [12:12:05]: @@@@@@@@@@@@@@@@@@@@ apt-source bottleneck 151s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.4.2+ds1-2 (dsc) [2526 B] 151s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.4.2+ds1-2 (tar) [76.7 kB] 151s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bottleneck 1.4.2+ds1-2 (diff) [6148 B] 151s gpgv: Signature made Mon Jan 27 14:09:27 2025 UTC 151s gpgv: using RSA key 9B03EBB98300DF97C2B123BFCC8C6BDD1403F4CA 151s gpgv: issuer "roehling@debian.org" 151s gpgv: Can't check signature: No public key 151s dpkg-source: warning: cannot verify inline signature for ./bottleneck_1.4.2+ds1-2.dsc: no acceptable signature found 151s autopkgtest [12:12:07]: testing package bottleneck version 1.4.2+ds1-2 151s autopkgtest [12:12:07]: build not needed 152s autopkgtest [12:12:08]: test command1: preparing testbed 152s Reading package lists... 152s Building dependency tree... 152s Reading state information... 153s Starting pkgProblemResolver with broken count: 0 153s Starting 2 pkgProblemResolver with broken count: 0 153s Done 153s The following NEW packages will be installed: 153s libblas3 libgfortran5 liblapack3 libnsl2 libpython3.12-minimal 153s libpython3.12-stdlib python3-all python3-bottleneck python3-iniconfig 153s python3-numpy python3-packaging python3-pluggy python3-pytest python3.12 153s python3.12-minimal 153s 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. 153s Need to get 14.9 MB of archives. 153s After this operation, 68.9 MB of additional disk space will be used. 153s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.12-minimal s390x 3.12.9-1 [836 kB] 153s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12-minimal s390x 3.12.9-1 [2403 kB] 154s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libnsl2 s390x 1.3.0-3build3 [44.1 kB] 154s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.12-stdlib s390x 3.12.9-1 [2071 kB] 154s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12 s390x 3.12.9-1 [671 kB] 154s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libblas3 s390x 3.12.1-2 [252 kB] 154s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libgfortran5 s390x 15-20250213-1ubuntu1 [620 kB] 154s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x liblapack3 s390x 3.12.1-2 [2971 kB] 154s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.13.1-1~exp2 [898 B] 154s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x python3-numpy s390x 1:1.26.4+ds-13 [4601 kB] 154s Get:11 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-bottleneck s390x 1.4.2+ds1-2 [109 kB] 154s Get:12 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 154s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 154s Get:14 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 154s Get:15 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.4-1 [252 kB] 155s Fetched 14.9 MB in 2s (9327 kB/s) 155s Selecting previously unselected package libpython3.12-minimal:s390x. 155s (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 ... 55929 files and directories currently installed.) 155s Preparing to unpack .../00-libpython3.12-minimal_3.12.9-1_s390x.deb ... 155s Unpacking libpython3.12-minimal:s390x (3.12.9-1) ... 155s Selecting previously unselected package python3.12-minimal. 155s Preparing to unpack .../01-python3.12-minimal_3.12.9-1_s390x.deb ... 155s Unpacking python3.12-minimal (3.12.9-1) ... 155s Selecting previously unselected package libnsl2:s390x. 155s Preparing to unpack .../02-libnsl2_1.3.0-3build3_s390x.deb ... 155s Unpacking libnsl2:s390x (1.3.0-3build3) ... 155s Selecting previously unselected package libpython3.12-stdlib:s390x. 155s Preparing to unpack .../03-libpython3.12-stdlib_3.12.9-1_s390x.deb ... 155s Unpacking libpython3.12-stdlib:s390x (3.12.9-1) ... 155s Selecting previously unselected package python3.12. 155s Preparing to unpack .../04-python3.12_3.12.9-1_s390x.deb ... 155s Unpacking python3.12 (3.12.9-1) ... 155s Selecting previously unselected package libblas3:s390x. 155s Preparing to unpack .../05-libblas3_3.12.1-2_s390x.deb ... 155s Unpacking libblas3:s390x (3.12.1-2) ... 155s Selecting previously unselected package libgfortran5:s390x. 155s Preparing to unpack .../06-libgfortran5_15-20250213-1ubuntu1_s390x.deb ... 155s Unpacking libgfortran5:s390x (15-20250213-1ubuntu1) ... 155s Selecting previously unselected package liblapack3:s390x. 155s Preparing to unpack .../07-liblapack3_3.12.1-2_s390x.deb ... 155s Unpacking liblapack3:s390x (3.12.1-2) ... 155s Selecting previously unselected package python3-all. 155s Preparing to unpack .../08-python3-all_3.13.1-1~exp2_s390x.deb ... 155s Unpacking python3-all (3.13.1-1~exp2) ... 155s Selecting previously unselected package python3-numpy. 155s Preparing to unpack .../09-python3-numpy_1%3a1.26.4+ds-13_s390x.deb ... 155s Unpacking python3-numpy (1:1.26.4+ds-13) ... 155s Selecting previously unselected package python3-bottleneck. 155s Preparing to unpack .../10-python3-bottleneck_1.4.2+ds1-2_s390x.deb ... 155s Unpacking python3-bottleneck (1.4.2+ds1-2) ... 155s Selecting previously unselected package python3-iniconfig. 155s Preparing to unpack .../11-python3-iniconfig_1.1.1-2_all.deb ... 155s Unpacking python3-iniconfig (1.1.1-2) ... 155s Selecting previously unselected package python3-packaging. 155s Preparing to unpack .../12-python3-packaging_24.2-1_all.deb ... 155s Unpacking python3-packaging (24.2-1) ... 155s Selecting previously unselected package python3-pluggy. 155s Preparing to unpack .../13-python3-pluggy_1.5.0-1_all.deb ... 155s Unpacking python3-pluggy (1.5.0-1) ... 155s Selecting previously unselected package python3-pytest. 155s Preparing to unpack .../14-python3-pytest_8.3.4-1_all.deb ... 155s Unpacking python3-pytest (8.3.4-1) ... 155s Setting up python3-iniconfig (1.1.1-2) ... 156s Setting up libpython3.12-minimal:s390x (3.12.9-1) ... 156s Setting up libblas3:s390x (3.12.1-2) ... 156s 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 156s Setting up python3-packaging (24.2-1) ... 156s Setting up libgfortran5:s390x (15-20250213-1ubuntu1) ... 156s Setting up python3-pluggy (1.5.0-1) ... 156s Setting up libnsl2:s390x (1.3.0-3build3) ... 156s Setting up python3.12-minimal (3.12.9-1) ... 157s Setting up liblapack3:s390x (3.12.1-2) ... 157s 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 157s Setting up libpython3.12-stdlib:s390x (3.12.9-1) ... 157s Setting up python3-pytest (8.3.4-1) ... 157s Setting up python3.12 (3.12.9-1) ... 158s Setting up python3-all (3.13.1-1~exp2) ... 158s Setting up python3-numpy (1:1.26.4+ds-13) ... 162s Setting up python3-bottleneck (1.4.2+ds1-2) ... 162s Processing triggers for systemd (257.2-3ubuntu1) ... 162s Processing triggers for man-db (2.13.0-1) ... 163s Processing triggers for libc-bin (2.40-4ubuntu1) ... 164s autopkgtest [12:12: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 164s autopkgtest [12:12:20]: test command1: [----------------------- 164s Testing with python3.12: 165s ============================= test session starts ============================== 165s platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0 165s rootdir: /tmp/autopkgtest.tiL5Gf/autopkgtest_tmp 165s plugins: typeguard-4.4.1 165s collected 192 items 165s 165s tests/input_modification_test.py ............................. [ 15%] 165s tests/list_input_test.py ............................. [ 30%] 165s tests/memory_test.py . [ 30%] 190s tests/move_test.py ................................. [ 47%] 191s tests/nonreduce_axis_test.py .................... [ 58%] 192s tests/nonreduce_test.py .......... [ 63%] 195s tests/reduce_test.py ................................................... [ 90%] 195s [ 90%] 195s tests/scalar_input_test.py .................. [ 99%] 195s tests/test_template.py F [100%] 195s 195s =================================== FAILURES =================================== 195s ______________________________ test_make_c_files _______________________________ 195s 195s def test_make_c_files() -> None: 195s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 195s modules = ["test"] 195s test_input = os.path.join(dirpath, "test.c") 195s if os.path.exists(test_input): 195s os.remove(test_input) 195s 195s > make_c_files(dirpath=dirpath, modules=modules) 195s 195s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 195s modules = ['test'] 195s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 195s 195s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 195s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 195s 195s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 195s modules = ['test'] 195s 195s def make_c_files( 195s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 195s ) -> None: 195s if modules is None: 195s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 195s if dirpath is None: 195s dirpath = os.path.dirname(__file__) 195s for module in modules: 195s template_file = os.path.join(dirpath, module + "_template.c") 195s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 195s target_file = os.path.join(dirpath, module + ".c") 195s 195s if ( 195s os.path.exists(target_file) 195s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 195s ): 195s continue 195s 195s with open(template_file, "r") as f: 195s src_str = f.read() 195s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 195s if len(src_str) and src_str[-1] != "\n": 195s src_str += "\n" 195s > with open(target_file, "w") as f: 195s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 195s 195s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 195s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 195s module = 'test' 195s modules = ['test'] 195s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 195s 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' 195s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 195s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 195s 195s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 195s =========================== short test summary info ============================ 195s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 195s ======================= 1 failed, 191 passed in -55.05s ======================== 195s Testing with python3.13: 195s ============================= test session starts ============================== 195s platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 195s rootdir: /tmp/autopkgtest.tiL5Gf/autopkgtest_tmp 195s plugins: typeguard-4.4.1 195s collected 192 items 195s 196s tests/input_modification_test.py ............................. [ 15%] 196s tests/list_input_test.py ............................. [ 30%] 196s tests/memory_test.py . [ 30%] 218s tests/move_test.py ................................. [ 47%] 219s tests/nonreduce_axis_test.py .................... [ 58%] 220s tests/nonreduce_test.py .......... [ 63%] 223s tests/reduce_test.py ................................................... [ 90%] 223s [ 90%] 223s tests/scalar_input_test.py .................. [ 99%] 223s tests/test_template.py F [100%] 223s 223s =================================== FAILURES =================================== 223s ______________________________ test_make_c_files _______________________________ 223s 223s def test_make_c_files() -> None: 223s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 223s modules = ["test"] 223s test_input = os.path.join(dirpath, "test.c") 223s if os.path.exists(test_input): 223s os.remove(test_input) 223s 223s > make_c_files(dirpath=dirpath, modules=modules) 223s 223s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 223s modules = ['test'] 223s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 223s 223s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 223s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 223s 223s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 223s modules = ['test'] 223s 223s def make_c_files( 223s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 223s ) -> None: 223s if modules is None: 223s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 223s if dirpath is None: 223s dirpath = os.path.dirname(__file__) 223s for module in modules: 223s template_file = os.path.join(dirpath, module + "_template.c") 223s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 223s target_file = os.path.join(dirpath, module + ".c") 223s 223s if ( 223s os.path.exists(target_file) 223s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 223s ): 223s continue 223s 223s with open(template_file, "r") as f: 223s src_str = f.read() 223s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 223s if len(src_str) and src_str[-1] != "\n": 223s src_str += "\n" 223s > with open(target_file, "w") as f: 223s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 223s 223s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 223s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 223s module = 'test' 223s modules = ['test'] 223s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 223s 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' 223s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 223s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 223s 223s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 223s =========================== short test summary info ============================ 223s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 223s ======================== 1 failed, 191 passed in 27.29s ======================== 223s autopkgtest [12:13:19]: test command1: -----------------------] 223s command1 PASS 223s autopkgtest [12:13:19]: test command1: - - - - - - - - - - results - - - - - - - - - - 224s autopkgtest [12:13:20]: @@@@@@@@@@@@@@@@@@@@ summary 224s command1 PASS 242s nova [W] Using flock in prodstack6-s390x 242s Creating nova instance adt-plucky-s390x-bottleneck-20250219-113427-juju-7f2275-prod-proposed-migration-environment-2-fa192175-af49-4328-8673-9f3031eeb3f1 from image adt/ubuntu-plucky-s390x-server-20250219.img (UUID 7af5aa59-4155-4177-a560-02c7dd963d23)... 242s nova [W] Timed out waiting for 2999816f-6370-40d7-af66-389527fe646f to get deleted.