0s autopkgtest [10:54:46]: starting date and time: 2024-03-22 10:54:46+0000 0s autopkgtest [10:54:46]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [10:54:46]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.a3ixlcez/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:sphinx --apt-upgrade bottleneck --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=sphinx/7.2.6-6 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-s390x-12.secgroup --name adt-noble-s390x-bottleneck-20240322-105446-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-s390x-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,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 125s autopkgtest [10:56:51]: testbed dpkg architecture: s390x 125s autopkgtest [10:56:51]: testbed apt version: 2.7.12 125s autopkgtest [10:56:51]: @@@@@@@@@@@@@@@@@@@@ test bed setup 126s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 126s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 126s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [54.0 kB] 126s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3760 kB] 127s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [496 kB] 127s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [664 kB] 127s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 127s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 127s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 127s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [3992 kB] 127s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 127s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [45.1 kB] 127s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 129s Fetched 9147 kB in 2s (3841 kB/s) 129s Reading package lists... 132s Reading package lists... 132s Building dependency tree... 132s Reading state information... 132s Calculating upgrade... 133s The following packages will be upgraded: 133s cloud-init debianutils fonts-ubuntu-console python3-markupsafe 133s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 133s Need to get 719 kB of archives. 133s After this operation, 11.3 kB disk space will be freed. 133s Get:1 http://ftpmaster.internal/ubuntu noble/main s390x debianutils s390x 5.17 [90.1 kB] 133s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x fonts-ubuntu-console all 0.869+git20240321-0ubuntu1 [18.7 kB] 133s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x python3-markupsafe s390x 2.1.5-1build1 [12.8 kB] 133s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x cloud-init all 24.1.2-0ubuntu1 [597 kB] 133s Preconfiguring packages ... 134s Fetched 719 kB in 1s (1379 kB/s) 134s (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 ... 52171 files and directories currently installed.) 134s Preparing to unpack .../debianutils_5.17_s390x.deb ... 134s Unpacking debianutils (5.17) over (5.16) ... 134s Setting up debianutils (5.17) ... 134s (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 ... 52171 files and directories currently installed.) 134s Preparing to unpack .../fonts-ubuntu-console_0.869+git20240321-0ubuntu1_all.deb ... 134s Unpacking fonts-ubuntu-console (0.869+git20240321-0ubuntu1) over (0.869-0ubuntu1) ... 134s Preparing to unpack .../python3-markupsafe_2.1.5-1build1_s390x.deb ... 134s Unpacking python3-markupsafe (2.1.5-1build1) over (2.1.5-1) ... 134s Preparing to unpack .../cloud-init_24.1.2-0ubuntu1_all.deb ... 134s Unpacking cloud-init (24.1.2-0ubuntu1) over (24.1.1-0ubuntu1) ... 134s Setting up fonts-ubuntu-console (0.869+git20240321-0ubuntu1) ... 134s Setting up cloud-init (24.1.2-0ubuntu1) ... 136s Setting up python3-markupsafe (2.1.5-1build1) ... 136s Processing triggers for man-db (2.12.0-3) ... 137s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 137s Reading package lists... 138s Building dependency tree... 138s Reading state information... 138s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 138s Unknown architecture, assuming PC-style ttyS0 138s sh: Attempting to set up Debian/Ubuntu apt sources automatically 138s sh: Distribution appears to be Ubuntu 139s Reading package lists... 139s Building dependency tree... 139s Reading state information... 140s eatmydata is already the newest version (131-1). 140s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 140s Reading package lists... 140s Building dependency tree... 140s Reading state information... 140s dbus is already the newest version (1.14.10-4ubuntu1). 140s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 140s Reading package lists... 140s Building dependency tree... 140s Reading state information... 141s rng-tools-debian is already the newest version (2.4). 141s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 141s Reading package lists... 142s Building dependency tree... 142s Reading state information... 142s The following packages will be REMOVED: 142s cloud-init* python3-configobj* python3-debconf* 142s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 142s After this operation, 3256 kB disk space will be freed. 142s (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 ... 52170 files and directories currently installed.) 142s Removing cloud-init (24.1.2-0ubuntu1) ... 142s Removing python3-configobj (5.0.8-3) ... 142s Removing python3-debconf (1.5.86) ... 142s Processing triggers for man-db (2.12.0-3) ... 142s (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 ... 51781 files and directories currently installed.) 142s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 143s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 143s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 143s invoke-rc.d: policy-rc.d denied execution of try-restart. 143s Reading package lists... 143s Building dependency tree... 143s Reading state information... 144s linux-generic is already the newest version (6.8.0-11.11+1). 144s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 144s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 144s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 144s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 146s Reading package lists... 146s Reading package lists... 147s Building dependency tree... 147s Reading state information... 147s Calculating upgrade... 147s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 147s Reading package lists... 147s Building dependency tree... 147s Reading state information... 147s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 148s autopkgtest [10:57:14]: rebooting testbed after setup commands that affected boot 166s autopkgtest [10:57:32]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Tue Feb 13 23:45:46 UTC 2024 169s autopkgtest [10:57:35]: @@@@@@@@@@@@@@@@@@@@ apt-source bottleneck 171s Get:1 http://ftpmaster.internal/ubuntu noble/universe bottleneck 1.3.5+ds1-3 (dsc) [1781 B] 171s Get:2 http://ftpmaster.internal/ubuntu noble/universe bottleneck 1.3.5+ds1-3 (tar) [76.1 kB] 171s Get:3 http://ftpmaster.internal/ubuntu noble/universe bottleneck 1.3.5+ds1-3 (diff) [6112 B] 171s gpgv: Signature made Thu Nov 9 19:32:45 2023 UTC 171s gpgv: using EDDSA key A095B66EE09024BEE6A2F0722A27904BD7243EDA 171s gpgv: issuer "nilesh@debian.org" 171s gpgv: Can't check signature: No public key 171s dpkg-source: warning: cannot verify inline signature for ./bottleneck_1.3.5+ds1-3.dsc: no acceptable signature found 172s autopkgtest [10:57:38]: testing package bottleneck version 1.3.5+ds1-3 172s autopkgtest [10:57:38]: build not needed 172s autopkgtest [10:57:38]: test command1: preparing testbed 173s Reading package lists... 174s Building dependency tree... 174s Reading state information... 174s Starting pkgProblemResolver with broken count: 0 174s Starting 2 pkgProblemResolver with broken count: 0 174s Done 174s The following additional packages will be installed: 174s libblas3 libgfortran5 liblapack3 python3-all python3-bottleneck 174s python3-iniconfig python3-numpy python3-packaging python3-pluggy 174s python3-pytest 174s Suggested packages: 174s python-bottleneck-doc gcc gfortran python3-dev 174s The following NEW packages will be installed: 174s autopkgtest-satdep libblas3 libgfortran5 liblapack3 python3-all 174s python3-bottleneck python3-iniconfig python3-numpy python3-packaging 174s python3-pluggy python3-pytest 174s 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. 174s Need to get 9447 kB/9448 kB of archives. 174s After this operation, 43.8 MB of additional disk space will be used. 174s Get:1 /tmp/autopkgtest.FqjQME/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [728 B] 174s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x libblas3 s390x 3.12.0-3 [245 kB] 175s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x libgfortran5 s390x 14-20240303-1ubuntu1 [598 kB] 175s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x liblapack3 s390x 3.12.0-3 [2979 kB] 176s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x python3-all s390x 3.12.1-0ubuntu2 [908 B] 176s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x python3-numpy s390x 1:1.24.2-2 [5137 kB] 177s Get:7 http://ftpmaster.internal/ubuntu noble/universe s390x python3-bottleneck s390x 1.3.5+ds1-3 [116 kB] 177s Get:8 http://ftpmaster.internal/ubuntu noble/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 177s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 177s Get:10 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pluggy all 1.4.0-1 [20.4 kB] 177s Get:11 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pytest all 7.4.4-1 [305 kB] 178s Fetched 9447 kB in 3s (2951 kB/s) 178s Selecting previously unselected package libblas3:s390x. 178s (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 ... 51726 files and directories currently installed.) 178s Preparing to unpack .../00-libblas3_3.12.0-3_s390x.deb ... 178s Unpacking libblas3:s390x (3.12.0-3) ... 178s Selecting previously unselected package libgfortran5:s390x. 178s Preparing to unpack .../01-libgfortran5_14-20240303-1ubuntu1_s390x.deb ... 178s Unpacking libgfortran5:s390x (14-20240303-1ubuntu1) ... 178s Selecting previously unselected package liblapack3:s390x. 178s Preparing to unpack .../02-liblapack3_3.12.0-3_s390x.deb ... 178s Unpacking liblapack3:s390x (3.12.0-3) ... 178s Selecting previously unselected package python3-all. 178s Preparing to unpack .../03-python3-all_3.12.1-0ubuntu2_s390x.deb ... 178s Unpacking python3-all (3.12.1-0ubuntu2) ... 178s Selecting previously unselected package python3-numpy. 178s Preparing to unpack .../04-python3-numpy_1%3a1.24.2-2_s390x.deb ... 178s Unpacking python3-numpy (1:1.24.2-2) ... 178s Selecting previously unselected package python3-bottleneck. 178s Preparing to unpack .../05-python3-bottleneck_1.3.5+ds1-3_s390x.deb ... 178s Unpacking python3-bottleneck (1.3.5+ds1-3) ... 178s Selecting previously unselected package python3-iniconfig. 178s Preparing to unpack .../06-python3-iniconfig_1.1.1-2_all.deb ... 178s Unpacking python3-iniconfig (1.1.1-2) ... 178s Selecting previously unselected package python3-packaging. 178s Preparing to unpack .../07-python3-packaging_23.2-1_all.deb ... 178s Unpacking python3-packaging (23.2-1) ... 178s Selecting previously unselected package python3-pluggy. 178s Preparing to unpack .../08-python3-pluggy_1.4.0-1_all.deb ... 178s Unpacking python3-pluggy (1.4.0-1) ... 178s Selecting previously unselected package python3-pytest. 178s Preparing to unpack .../09-python3-pytest_7.4.4-1_all.deb ... 178s Unpacking python3-pytest (7.4.4-1) ... 178s Selecting previously unselected package autopkgtest-satdep. 178s Preparing to unpack .../10-1-autopkgtest-satdep.deb ... 178s Unpacking autopkgtest-satdep (0) ... 178s Setting up python3-iniconfig (1.1.1-2) ... 179s Setting up python3-all (3.12.1-0ubuntu2) ... 179s Setting up libblas3:s390x (3.12.0-3) ... 179s 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 179s Setting up python3-packaging (23.2-1) ... 179s Setting up libgfortran5:s390x (14-20240303-1ubuntu1) ... 179s Setting up python3-pluggy (1.4.0-1) ... 179s Setting up liblapack3:s390x (3.12.0-3) ... 179s 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 179s Setting up python3-pytest (7.4.4-1) ... 179s Setting up python3-numpy (1:1.24.2-2) ... 182s Setting up python3-bottleneck (1.3.5+ds1-3) ... 182s Setting up autopkgtest-satdep (0) ... 182s Processing triggers for man-db (2.12.0-3) ... 182s Processing triggers for libc-bin (2.39-0ubuntu2) ... 185s (Reading database ... 52967 files and directories currently installed.) 185s Removing autopkgtest-satdep (0) ... 185s autopkgtest [10:57:51]: 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 185s autopkgtest [10:57:51]: test command1: [----------------------- 186s Testing with python3.12: 186s ============================= test session starts ============================== 186s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 186s rootdir: /tmp/autopkgtest.FqjQME/autopkgtest_tmp 186s collected 192 items 186s 187s tests/input_modification_test.py ............................. [ 15%] 187s tests/list_input_test.py ............................. [ 30%] 187s tests/memory_test.py . [ 30%] 223s tests/move_test.py ................................. [ 47%] 225s tests/nonreduce_axis_test.py .................... [ 58%] 225s tests/nonreduce_test.py .......... [ 63%] 230s tests/reduce_test.py ................................................... [ 90%] 230s [ 90%] 230s tests/scalar_input_test.py .................. [ 99%] 230s tests/test_template.py F [100%] 230s 230s =================================== FAILURES =================================== 230s ______________________________ test_make_c_files _______________________________ 230s 230s def test_make_c_files() -> None: 230s dirpath = os.path.join(os.path.dirname(__file__), "data/template_test/") 230s modules = ["test"] 230s test_input = os.path.join(dirpath, "test.c") 230s if os.path.exists(test_input): 230s os.remove(test_input) 230s 230s > make_c_files(dirpath=dirpath, modules=modules) 230s 230s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 230s modules = ['test'] 230s test_input = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 230s 230s /usr/lib/python3/dist-packages/bottleneck/tests/test_template.py:14: 230s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 230s 230s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 230s modules = ['test'] 230s 230s def make_c_files( 230s dirpath: Optional[str] = None, modules: Optional[List[str]] = None 230s ) -> None: 230s if modules is None: 230s modules = ["reduce", "move", "nonreduce", "nonreduce_axis"] 230s if dirpath is None: 230s dirpath = os.path.dirname(__file__) 230s for module in modules: 230s template_file = os.path.join(dirpath, module + "_template.c") 230s posix_template = path.relpath(path.join(dirpath, module + "_template.c")) 230s target_file = os.path.join(dirpath, module + ".c") 230s 230s if ( 230s os.path.exists(target_file) 230s and os.stat(template_file).st_mtime < os.stat(target_file).st_mtime 230s ): 230s continue 230s 230s with open(template_file, "r") as f: 230s src_str = f.read() 230s src_str = '#line 1 "{}"\n'.format(posix_template) + template(src_str) 230s if len(src_str) and src_str[-1] != "\n": 230s src_str += "\n" 230s > with open(target_file, "w") as f: 230s E PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 230s 230s dirpath = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/' 230s f = <_io.TextIOWrapper name='/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' mode='r' encoding='UTF-8'> 230s module = 'test' 230s modules = ['test'] 230s posix_template = '../../../usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 230s 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' 230s target_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test.c' 230s template_file = '/usr/lib/python3/dist-packages/bottleneck/tests/data/template_test/test_template.c' 230s 230s /usr/lib/python3/dist-packages/bottleneck/src/bn_template.py:31: PermissionError 230s =========================== short test summary info ============================ 230s FAILED tests/test_template.py::test_make_c_files - PermissionError: [Errno 13... 230s ======================== 1 failed, 191 passed in 45.60s ======================== 230s autopkgtest [10:58:36]: test command1: -----------------------] 231s command1 PASS 231s autopkgtest [10:58:37]: test command1: - - - - - - - - - - results - - - - - - - - - - 231s autopkgtest [10:58:37]: @@@@@@@@@@@@@@@@@@@@ summary 231s command1 PASS 243s Creating nova instance adt-noble-s390x-bottleneck-20240322-105446-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-s390x-server-20240321.img (UUID f7ee8f0f-480f-4014-94f0-3be2a19e259d)...