0s autopkgtest [21:50:45]: starting date and time: 2024-11-13 21:50:45+0000 0s autopkgtest [21:50:45]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [21:50:45]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.4yqh72km/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade python-scitrack --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-ppc64el-30.secgroup --name adt-plucky-ppc64el-python-scitrack-20241113-212021-juju-7f2275-prod-proposed-migration-environment-15-0fc890be-783b-45d4-8e14-1569256b8554 --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/ 112s autopkgtest [21:52:37]: testbed dpkg architecture: ppc64el 112s autopkgtest [21:52:37]: testbed apt version: 2.9.8 112s autopkgtest [21:52:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 113s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 113s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [974 kB] 113s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [101 kB] 113s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 113s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 113s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [110 kB] 113s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [684 kB] 114s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [20.8 kB] 114s Fetched 1986 kB in 1s (1988 kB/s) 114s Reading package lists... 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 117s Calculating upgrade... 118s The following NEW packages will be installed: 118s python3.13-gdbm 118s The following packages will be upgraded: 118s bpfcc-tools bpftrace libbpfcc libgnutls30t64 libjson-glib-1.0-0 118s libjson-glib-1.0-common libnewt0.52 libpython3-stdlib libutempter0 python3 118s python3-bpfcc python3-gdbm python3-minimal python3-newt whiptail 118s 15 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 118s Need to get 4700 kB of archives. 118s After this operation, 215 kB of additional disk space will be used. 118s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-minimal ppc64el 3.12.7-1 [27.4 kB] 118s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3 ppc64el 3.12.7-1 [24.0 kB] 118s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-stdlib ppc64el 3.12.7-1 [10.0 kB] 118s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.8-2ubuntu1 [1072 kB] 118s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-newt ppc64el 0.52.24-2ubuntu4 [21.8 kB] 118s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnewt0.52 ppc64el 0.52.24-2ubuntu4 [62.1 kB] 118s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el whiptail ppc64el 0.52.24-2ubuntu4 [19.5 kB] 118s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-gdbm ppc64el 3.13.0-2 [31.5 kB] 118s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-gdbm ppc64el 3.12.7-1 [8640 B] 118s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbpfcc ppc64el 0.30.0+ds-1ubuntu5 [696 kB] 118s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-bpfcc all 0.30.0+ds-1ubuntu5 [40.4 kB] 118s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpfcc-tools all 0.30.0+ds-1ubuntu5 [697 kB] 119s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpftrace ppc64el 0.21.2-2ubuntu2 [1898 kB] 119s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 119s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-0 ppc64el 1.10.0+ds-3 [76.0 kB] 119s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libutempter0 ppc64el 1.2.1-4 [9850 B] 120s Fetched 4700 kB in 2s (3093 kB/s) 120s (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.) 120s Preparing to unpack .../python3-minimal_3.12.7-1_ppc64el.deb ... 120s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 120s Setting up python3-minimal (3.12.7-1) ... 120s (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.) 120s Preparing to unpack .../python3_3.12.7-1_ppc64el.deb ... 121s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 121s Preparing to unpack .../libpython3-stdlib_3.12.7-1_ppc64el.deb ... 121s Unpacking libpython3-stdlib:ppc64el (3.12.7-1) over (3.12.6-0ubuntu1) ... 121s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_ppc64el.deb ... 121s Unpacking libgnutls30t64:ppc64el (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 121s Setting up libgnutls30t64:ppc64el (3.8.8-2ubuntu1) ... 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 ... 73767 files and directories currently installed.) 121s Preparing to unpack .../00-python3-newt_0.52.24-2ubuntu4_ppc64el.deb ... 121s Unpacking python3-newt:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 121s Preparing to unpack .../01-libnewt0.52_0.52.24-2ubuntu4_ppc64el.deb ... 121s Unpacking libnewt0.52:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 121s Preparing to unpack .../02-whiptail_0.52.24-2ubuntu4_ppc64el.deb ... 121s Unpacking whiptail (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 121s Selecting previously unselected package python3.13-gdbm. 121s Preparing to unpack .../03-python3.13-gdbm_3.13.0-2_ppc64el.deb ... 121s Unpacking python3.13-gdbm (3.13.0-2) ... 121s Preparing to unpack .../04-python3-gdbm_3.12.7-1_ppc64el.deb ... 121s Unpacking python3-gdbm:ppc64el (3.12.7-1) over (3.12.6-1ubuntu1) ... 121s Preparing to unpack .../05-libbpfcc_0.30.0+ds-1ubuntu5_ppc64el.deb ... 121s Unpacking libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 121s Preparing to unpack .../06-python3-bpfcc_0.30.0+ds-1ubuntu5_all.deb ... 121s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 121s Preparing to unpack .../07-bpfcc-tools_0.30.0+ds-1ubuntu5_all.deb ... 121s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 121s Preparing to unpack .../08-bpftrace_0.21.2-2ubuntu2_ppc64el.deb ... 121s Unpacking bpftrace (0.21.2-2ubuntu2) over (0.21.2-2) ... 122s Preparing to unpack .../09-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 122s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 122s Preparing to unpack .../10-libjson-glib-1.0-0_1.10.0+ds-3_ppc64el.deb ... 122s Unpacking libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) over (1.10.0+ds-2) ... 122s Preparing to unpack .../11-libutempter0_1.2.1-4_ppc64el.deb ... 122s Unpacking libutempter0:ppc64el (1.2.1-4) over (1.2.1-3build1) ... 122s Setting up libnewt0.52:ppc64el (0.52.24-2ubuntu4) ... 122s Setting up libutempter0:ppc64el (1.2.1-4) ... 122s Setting up whiptail (0.52.24-2ubuntu4) ... 122s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 122s Setting up libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) ... 122s Setting up python3.13-gdbm (3.13.0-2) ... 122s Setting up libpython3-stdlib:ppc64el (3.12.7-1) ... 122s Setting up bpftrace (0.21.2-2ubuntu2) ... 122s Setting up python3 (3.12.7-1) ... 122s Setting up python3-newt:ppc64el (0.52.24-2ubuntu4) ... 122s Setting up libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) ... 122s Setting up python3-bpfcc (0.30.0+ds-1ubuntu5) ... 122s Setting up python3-gdbm:ppc64el (3.12.7-1) ... 123s Setting up bpfcc-tools (0.30.0+ds-1ubuntu5) ... 123s Processing triggers for man-db (2.12.1-3) ... 124s Processing triggers for libc-bin (2.40-1ubuntu3) ... 124s Reading package lists... 125s Building dependency tree... 125s Reading state information... 125s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 126s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 126s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 126s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 126s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 127s Reading package lists... 127s Reading package lists... 128s Building dependency tree... 128s Reading state information... 128s Calculating upgrade... 128s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 128s Reading package lists... 128s Building dependency tree... 128s Reading state information... 128s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 131s autopkgtest [21:52:56]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 132s autopkgtest [21:52:57]: @@@@@@@@@@@@@@@@@@@@ apt-source python-scitrack 133s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-scitrack 2024.10.8-1 (dsc) [2496 B] 133s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-scitrack 2024.10.8-1 (tar) [12.3 kB] 133s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-scitrack 2024.10.8-1 (diff) [3504 B] 133s gpgv: Signature made Wed Oct 9 20:53:37 2024 UTC 133s gpgv: using RSA key 8F91B227C7D6F2B1948C8236793CF67E8F0D11DA 133s gpgv: issuer "emollier@debian.org" 133s gpgv: Can't check signature: No public key 133s dpkg-source: warning: cannot verify inline signature for ./python-scitrack_2024.10.8-1.dsc: no acceptable signature found 134s autopkgtest [21:52:59]: testing package python-scitrack version 2024.10.8-1 134s autopkgtest [21:52:59]: build not needed 134s autopkgtest [21:52:59]: test run-unit-test: preparing testbed 135s Reading package lists... 136s Building dependency tree... 136s Reading state information... 136s Starting pkgProblemResolver with broken count: 0 136s Starting 2 pkgProblemResolver with broken count: 0 136s Done 136s The following additional packages will be installed: 136s libblas3 libgfortran5 liblapack3 libpython3.13-minimal libpython3.13-stdlib 136s python3-all python3-iniconfig python3-numpy python3-packaging python3-pluggy 136s python3-pytest python3-scitrack python3.13 python3.13-minimal 136s Suggested packages: 136s gcc gfortran python-numpy-doc python3-dev python3.13-venv python3.13-doc 136s binfmt-support 136s The following NEW packages will be installed: 136s autopkgtest-satdep libblas3 libgfortran5 liblapack3 libpython3.13-minimal 136s libpython3.13-stdlib python3-all python3-iniconfig python3-numpy 136s python3-packaging python3-pluggy python3-pytest python3-scitrack python3.13 136s python3.13-minimal 136s 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. 136s Need to get 14.4 MB/14.4 MB of archives. 136s After this operation, 62.1 MB of additional disk space will be used. 136s Get:1 /tmp/autopkgtest.j7Yx1F/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [732 B] 137s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-minimal ppc64el 3.13.0-2 [881 kB] 137s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-minimal ppc64el 3.13.0-2 [2302 kB] 138s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblas3 ppc64el 3.12.0-3build2 [222 kB] 138s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgfortran5 ppc64el 14.2.0-8ubuntu1 [571 kB] 139s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblapack3 ppc64el 3.12.0-3build2 [2806 kB] 139s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-stdlib ppc64el 3.13.0-2 [2148 kB] 140s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13 ppc64el 3.13.0-2 [719 kB] 140s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-all ppc64el 3.12.7-1 [888 B] 140s Get:10 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 140s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-numpy ppc64el 1:1.26.4+ds-11build1 [4434 kB] 140s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 140s Get:13 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 141s Get:14 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 141s Get:15 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-scitrack all 2024.10.8-1 [9590 B] 141s Fetched 14.4 MB in 4s (3894 kB/s) 141s Selecting previously unselected package libpython3.13-minimal:ppc64el. 141s (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 ... 73775 files and directories currently installed.) 141s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_ppc64el.deb ... 141s Unpacking libpython3.13-minimal:ppc64el (3.13.0-2) ... 141s Selecting previously unselected package python3.13-minimal. 141s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_ppc64el.deb ... 141s Unpacking python3.13-minimal (3.13.0-2) ... 141s Selecting previously unselected package libblas3:ppc64el. 141s Preparing to unpack .../02-libblas3_3.12.0-3build2_ppc64el.deb ... 141s Unpacking libblas3:ppc64el (3.12.0-3build2) ... 141s Selecting previously unselected package libgfortran5:ppc64el. 141s Preparing to unpack .../03-libgfortran5_14.2.0-8ubuntu1_ppc64el.deb ... 141s Unpacking libgfortran5:ppc64el (14.2.0-8ubuntu1) ... 141s Selecting previously unselected package liblapack3:ppc64el. 141s Preparing to unpack .../04-liblapack3_3.12.0-3build2_ppc64el.deb ... 141s Unpacking liblapack3:ppc64el (3.12.0-3build2) ... 141s Selecting previously unselected package libpython3.13-stdlib:ppc64el. 141s Preparing to unpack .../05-libpython3.13-stdlib_3.13.0-2_ppc64el.deb ... 141s Unpacking libpython3.13-stdlib:ppc64el (3.13.0-2) ... 141s Selecting previously unselected package python3.13. 141s Preparing to unpack .../06-python3.13_3.13.0-2_ppc64el.deb ... 141s Unpacking python3.13 (3.13.0-2) ... 141s Selecting previously unselected package python3-all. 141s Preparing to unpack .../07-python3-all_3.12.7-1_ppc64el.deb ... 141s Unpacking python3-all (3.12.7-1) ... 141s Selecting previously unselected package python3-iniconfig. 141s Preparing to unpack .../08-python3-iniconfig_1.1.1-2_all.deb ... 141s Unpacking python3-iniconfig (1.1.1-2) ... 141s Selecting previously unselected package python3-numpy. 141s Preparing to unpack .../09-python3-numpy_1%3a1.26.4+ds-11build1_ppc64el.deb ... 141s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 141s Selecting previously unselected package python3-packaging. 141s Preparing to unpack .../10-python3-packaging_24.1-1_all.deb ... 141s Unpacking python3-packaging (24.1-1) ... 141s Selecting previously unselected package python3-pluggy. 141s Preparing to unpack .../11-python3-pluggy_1.5.0-1_all.deb ... 141s Unpacking python3-pluggy (1.5.0-1) ... 141s Selecting previously unselected package python3-pytest. 141s Preparing to unpack .../12-python3-pytest_8.3.3-1_all.deb ... 141s Unpacking python3-pytest (8.3.3-1) ... 142s Selecting previously unselected package python3-scitrack. 142s Preparing to unpack .../13-python3-scitrack_2024.10.8-1_all.deb ... 142s Unpacking python3-scitrack (2024.10.8-1) ... 142s Selecting previously unselected package autopkgtest-satdep. 142s Preparing to unpack .../14-1-autopkgtest-satdep.deb ... 142s Unpacking autopkgtest-satdep (0) ... 142s Setting up python3-iniconfig (1.1.1-2) ... 142s Setting up libpython3.13-minimal:ppc64el (3.13.0-2) ... 142s Setting up libblas3:ppc64el (3.12.0-3build2) ... 142s 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 142s Setting up python3-packaging (24.1-1) ... 142s Setting up libgfortran5:ppc64el (14.2.0-8ubuntu1) ... 142s Setting up python3-pluggy (1.5.0-1) ... 143s Setting up python3-scitrack (2024.10.8-1) ... 143s Setting up python3.13-minimal (3.13.0-2) ... 144s Setting up libpython3.13-stdlib:ppc64el (3.13.0-2) ... 144s Setting up liblapack3:ppc64el (3.12.0-3build2) ... 144s 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 144s Setting up python3.13 (3.13.0-2) ... 145s Setting up python3-pytest (8.3.3-1) ... 146s Setting up python3-all (3.12.7-1) ... 146s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 151s Setting up autopkgtest-satdep (0) ... 151s Processing triggers for systemd (256.5-2ubuntu4) ... 151s Processing triggers for man-db (2.12.1-3) ... 151s Processing triggers for libc-bin (2.40-1ubuntu3) ... 154s (Reading database ... 75584 files and directories currently installed.) 154s Removing autopkgtest-satdep (0) ... 155s autopkgtest [21:53:20]: test run-unit-test: [----------------------- 155s ============================= test session starts ============================== 155s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 155s cachedir: .pytest_cache 155s rootdir: /tmp/autopkgtest.j7Yx1F/autopkgtest_tmp 155s plugins: typeguard-4.4.1 155s collecting ... collected 22 items 155s 155s tests/test_logging.py::test_creates_path PASSED [ 4%] 155s tests/test_logging.py::test_set_path_if_exists PASSED [ 9%] 155s tests/test_logging.py::test_tracks_args PASSED [ 13%] 155s tests/test_logging.py::test_tracks_locals PASSED [ 18%] 155s tests/test_logging.py::test_tracks_locals_skip_module PASSED [ 22%] 155s tests/test_logging.py::test_package_inference PASSED [ 27%] 155s tests/test_logging.py::test_package_versioning FAILED [ 31%] 155s tests/test_logging.py::test_tracks_versions FAILED [ 36%] 156s tests/test_logging.py::test_caching FAILED [ 40%] 156s tests/test_logging.py::test_shutdown PASSED [ 45%] 156s tests/test_logging.py::test_tracks_versions_empty PASSED [ 50%] 156s tests/test_logging.py::test_tracks_versions_string FAILED [ 54%] 156s tests/test_logging.py::test_get_version_for_package FAILED [ 59%] 156s tests/test_logging.py::test_tracks_versions_module FAILED [ 63%] 156s tests/test_logging.py::test_appending PASSED [ 68%] 156s tests/test_logging.py::test_mdsum_input PASSED [ 72%] 156s tests/test_logging.py::test_mdsum_output PASSED [ 77%] 156s tests/test_logging.py::test_logging_text PASSED [ 81%] 156s tests/test_logging.py::test_logfile_path PASSED [ 86%] 156s tests/test_logging.py::test_md5sum_text PASSED [ 90%] 156s tests/test_logging.py::test_get_text_hexdigest_invalid PASSED [ 95%] 156s tests/test_logging.py::test_read_from_written PASSED [100%] 156s 156s =================================== FAILURES =================================== 156s ___________________________ test_package_versioning ____________________________ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s > from . import multiarray 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 156s from . import overrides 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """Implementation of __array_function__ overrides from NEP-18.""" 156s import collections 156s import functools 156s import os 156s 156s from .._utils import set_module 156s from .._utils._inspect import getargspec 156s > from numpy.core._multiarray_umath import ( 156s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 156s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 156s 156s During handling of the above exception, another exception occurred: 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s > from numpy.__config__ import show as show_config 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 156s from numpy.core._multiarray_umath import ( 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s from . import multiarray 156s except ImportError as exc: 156s import sys 156s msg = """ 156s 156s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s 156s Importing the numpy C-extensions failed. This error can happen for 156s many reasons, often due to issues with your setup or how NumPy was 156s installed. 156s 156s We have compiled some common reasons and troubleshooting tips at: 156s 156s https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s 156s Please note and check the following: 156s 156s * The Python version is: Python%d.%d from "%s" 156s * The NumPy version is: "%s" 156s 156s and make sure that they are the versions you expect. 156s Please carefully study the documentation linked above for further help. 156s 156s Original error was: %s 156s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 156s __version__, exc) 156s > raise ImportError(msg) 156s E ImportError: 156s E 156s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s E 156s E Importing the numpy C-extensions failed. This error can happen for 156s E many reasons, often due to issues with your setup or how NumPy was 156s E installed. 156s E 156s E We have compiled some common reasons and troubleshooting tips at: 156s E 156s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s E 156s E Please note and check the following: 156s E 156s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 156s E * The NumPy version is: "1.26.4" 156s E 156s E and make sure that they are the versions you expect. 156s E Please carefully study the documentation linked above for further help. 156s E 156s E Original error was: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 156s 156s The above exception was the direct cause of the following exception: 156s 156s def test_package_versioning(): 156s """correctly identify versions for specified packages""" 156s > vn = get_version_for_package("numpy") 156s 156s tests/test_logging.py:109: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 156s mod = importlib.import_module(package) 156s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 156s return _bootstrap._gcd_import(name[level:], package, level) 156s :1387: in _gcd_import 156s ??? 156s :1360: in _find_and_load 156s ??? 156s :1331: in _find_and_load_unlocked 156s ??? 156s :935: in _load_unlocked 156s ??? 156s :1022: in exec_module 156s ??? 156s :488: in _call_with_frames_removed 156s ??? 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s from numpy.__config__ import show as show_config 156s except ImportError as e: 156s msg = """Error importing numpy: you should not try to import numpy from 156s its source directory; please exit the numpy source tree, and relaunch 156s your python interpreter from there.""" 156s > raise ImportError(msg) from e 156s E ImportError: Error importing numpy: you should not try to import numpy from 156s E its source directory; please exit the numpy source tree, and relaunch 156s E your python interpreter from there. 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 156s _____________________________ test_tracks_versions _____________________________ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s > from . import multiarray 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 156s from . import overrides 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """Implementation of __array_function__ overrides from NEP-18.""" 156s import collections 156s import functools 156s import os 156s 156s from .._utils import set_module 156s from .._utils._inspect import getargspec 156s > from numpy.core._multiarray_umath import ( 156s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 156s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 156s 156s During handling of the above exception, another exception occurred: 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s > from numpy.__config__ import show as show_config 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 156s from numpy.core._multiarray_umath import ( 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s from . import multiarray 156s except ImportError as exc: 156s import sys 156s msg = """ 156s 156s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s 156s Importing the numpy C-extensions failed. This error can happen for 156s many reasons, often due to issues with your setup or how NumPy was 156s installed. 156s 156s We have compiled some common reasons and troubleshooting tips at: 156s 156s https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s 156s Please note and check the following: 156s 156s * The Python version is: Python%d.%d from "%s" 156s * The NumPy version is: "%s" 156s 156s and make sure that they are the versions you expect. 156s Please carefully study the documentation linked above for further help. 156s 156s Original error was: %s 156s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 156s __version__, exc) 156s > raise ImportError(msg) 156s E ImportError: 156s E 156s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s E 156s E Importing the numpy C-extensions failed. This error can happen for 156s E many reasons, often due to issues with your setup or how NumPy was 156s E installed. 156s E 156s E We have compiled some common reasons and troubleshooting tips at: 156s E 156s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s E 156s E Please note and check the following: 156s E 156s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 156s E * The NumPy version is: "1.26.4" 156s E 156s E and make sure that they are the versions you expect. 156s E Please carefully study the documentation linked above for further help. 156s E 156s E Original error was: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 156s 156s The above exception was the direct cause of the following exception: 156s 156s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_tracks_versions0/delme.log') 156s 156s def test_tracks_versions(logfile): 156s """should track versions""" 156s LOGGER = CachingLogger(create_dir=True) 156s LOGGER.log_file_path = logfile 156s LOGGER.input_file(TEST_ROOTDIR / "sample-lf.fasta") 156s > LOGGER.log_versions(["numpy"]) 156s 156s tests/test_logging.py:122: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/scitrack/__init__.py:226: in log_versions 156s vn = get_version_for_package(package) 156s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 156s mod = importlib.import_module(package) 156s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 156s return _bootstrap._gcd_import(name[level:], package, level) 156s :1387: in _gcd_import 156s ??? 156s :1360: in _find_and_load 156s ??? 156s :1331: in _find_and_load_unlocked 156s ??? 156s :935: in _load_unlocked 156s ??? 156s :1022: in exec_module 156s ??? 156s :488: in _call_with_frames_removed 156s ??? 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s from numpy.__config__ import show as show_config 156s except ImportError as e: 156s msg = """Error importing numpy: you should not try to import numpy from 156s its source directory; please exit the numpy source tree, and relaunch 156s your python interpreter from there.""" 156s > raise ImportError(msg) from e 156s E ImportError: Error importing numpy: you should not try to import numpy from 156s E its source directory; please exit the numpy source tree, and relaunch 156s E your python interpreter from there. 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 156s ------------------------------ Captured log call ------------------------------- 156s INFO root:__init__.py:243 system_details : system=#8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 156s INFO root:__init__.py:244 python : 3.13.0 156s INFO root:__init__.py:245 user : ubuntu 156s INFO root:__init__.py:246 command_string : /usr/lib/python3/dist-packages/pytest/__main__.py -v 156s INFO root:__init__.py:179 input_file_path : /tmp/autopkgtest.j7Yx1F/autopkgtest_tmp/tests/sample-lf.fasta 156s INFO root:__init__.py:179 input_file_path md5sum : 96eb2c2632bae19eb65ea9224aaafdad 156s _________________________________ test_caching _________________________________ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s > from . import multiarray 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 156s from . import overrides 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """Implementation of __array_function__ overrides from NEP-18.""" 156s import collections 156s import functools 156s import os 156s 156s from .._utils import set_module 156s from .._utils._inspect import getargspec 156s > from numpy.core._multiarray_umath import ( 156s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 156s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 156s 156s During handling of the above exception, another exception occurred: 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s > from numpy.__config__ import show as show_config 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 156s from numpy.core._multiarray_umath import ( 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s from . import multiarray 156s except ImportError as exc: 156s import sys 156s msg = """ 156s 156s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s 156s Importing the numpy C-extensions failed. This error can happen for 156s many reasons, often due to issues with your setup or how NumPy was 156s installed. 156s 156s We have compiled some common reasons and troubleshooting tips at: 156s 156s https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s 156s Please note and check the following: 156s 156s * The Python version is: Python%d.%d from "%s" 156s * The NumPy version is: "%s" 156s 156s and make sure that they are the versions you expect. 156s Please carefully study the documentation linked above for further help. 156s 156s Original error was: %s 156s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 156s __version__, exc) 156s > raise ImportError(msg) 156s E ImportError: 156s E 156s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s E 156s E Importing the numpy C-extensions failed. This error can happen for 156s E many reasons, often due to issues with your setup or how NumPy was 156s E installed. 156s E 156s E We have compiled some common reasons and troubleshooting tips at: 156s E 156s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s E 156s E Please note and check the following: 156s E 156s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 156s E * The NumPy version is: "1.26.4" 156s E 156s E and make sure that they are the versions you expect. 156s E Please carefully study the documentation linked above for further help. 156s E 156s E Original error was: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 156s 156s The above exception was the direct cause of the following exception: 156s 156s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_caching0/delme.log') 156s 156s def test_caching(logfile): 156s """should cache calls prior to logging""" 156s LOGGER = CachingLogger(create_dir=True) 156s LOGGER.input_file(TEST_ROOTDIR / "sample-lf.fasta") 156s assert ( 156s "sample-lf.fasta" in LOGGER._messages[-2] and "md5sum" in LOGGER._messages[-1] 156s ) 156s > LOGGER.log_versions(["numpy"]) 156s 156s tests/test_logging.py:145: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/scitrack/__init__.py:226: in log_versions 156s vn = get_version_for_package(package) 156s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 156s mod = importlib.import_module(package) 156s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 156s return _bootstrap._gcd_import(name[level:], package, level) 156s :1387: in _gcd_import 156s ??? 156s :1360: in _find_and_load 156s ??? 156s :1331: in _find_and_load_unlocked 156s ??? 156s :935: in _load_unlocked 156s ??? 156s :1022: in exec_module 156s ??? 156s :488: in _call_with_frames_removed 156s ??? 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s from numpy.__config__ import show as show_config 156s except ImportError as e: 156s msg = """Error importing numpy: you should not try to import numpy from 156s its source directory; please exit the numpy source tree, and relaunch 156s your python interpreter from there.""" 156s > raise ImportError(msg) from e 156s E ImportError: Error importing numpy: you should not try to import numpy from 156s E its source directory; please exit the numpy source tree, and relaunch 156s E your python interpreter from there. 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 156s _________________________ test_tracks_versions_string __________________________ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s > from . import multiarray 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 156s from . import overrides 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """Implementation of __array_function__ overrides from NEP-18.""" 156s import collections 156s import functools 156s import os 156s 156s from .._utils import set_module 156s from .._utils._inspect import getargspec 156s > from numpy.core._multiarray_umath import ( 156s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 156s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 156s 156s During handling of the above exception, another exception occurred: 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s > from numpy.__config__ import show as show_config 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 156s from numpy.core._multiarray_umath import ( 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s from . import multiarray 156s except ImportError as exc: 156s import sys 156s msg = """ 156s 156s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s 156s Importing the numpy C-extensions failed. This error can happen for 156s many reasons, often due to issues with your setup or how NumPy was 156s installed. 156s 156s We have compiled some common reasons and troubleshooting tips at: 156s 156s https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s 156s Please note and check the following: 156s 156s * The Python version is: Python%d.%d from "%s" 156s * The NumPy version is: "%s" 156s 156s and make sure that they are the versions you expect. 156s Please carefully study the documentation linked above for further help. 156s 156s Original error was: %s 156s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 156s __version__, exc) 156s > raise ImportError(msg) 156s E ImportError: 156s E 156s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s E 156s E Importing the numpy C-extensions failed. This error can happen for 156s E many reasons, often due to issues with your setup or how NumPy was 156s E installed. 156s E 156s E We have compiled some common reasons and troubleshooting tips at: 156s E 156s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s E 156s E Please note and check the following: 156s E 156s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 156s E * The NumPy version is: "1.26.4" 156s E 156s E and make sure that they are the versions you expect. 156s E Please carefully study the documentation linked above for further help. 156s E 156s E Original error was: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 156s 156s The above exception was the direct cause of the following exception: 156s 156s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_tracks_versions_string0/delme.log') 156s 156s def test_tracks_versions_string(logfile): 156s """should track version if package name is a string""" 156s LOGGER = CachingLogger(create_dir=True) 156s LOGGER.log_file_path = logfile 156s > LOGGER.log_versions("numpy") 156s 156s tests/test_logging.py:182: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/scitrack/__init__.py:226: in log_versions 156s vn = get_version_for_package(package) 156s /usr/lib/python3/dist-packages/scitrack/__init__.py:45: in get_version_for_package 156s mod = importlib.import_module(package) 156s /usr/lib/python3.13/importlib/__init__.py:88: in import_module 156s return _bootstrap._gcd_import(name[level:], package, level) 156s :1387: in _gcd_import 156s ??? 156s :1360: in _find_and_load 156s ??? 156s :1331: in _find_and_load_unlocked 156s ??? 156s :935: in _load_unlocked 156s ??? 156s :1022: in exec_module 156s ??? 156s :488: in _call_with_frames_removed 156s ??? 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s from numpy.__config__ import show as show_config 156s except ImportError as e: 156s msg = """Error importing numpy: you should not try to import numpy from 156s its source directory; please exit the numpy source tree, and relaunch 156s your python interpreter from there.""" 156s > raise ImportError(msg) from e 156s E ImportError: Error importing numpy: you should not try to import numpy from 156s E its source directory; please exit the numpy source tree, and relaunch 156s E your python interpreter from there. 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 156s ------------------------------ Captured log call ------------------------------- 156s INFO root:__init__.py:243 system_details : system=#8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 156s INFO root:__init__.py:244 python : 3.13.0 156s INFO root:__init__.py:245 user : ubuntu 156s INFO root:__init__.py:246 command_string : /usr/lib/python3/dist-packages/pytest/__main__.py -v 156s _________________________ test_get_version_for_package _________________________ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s > from . import multiarray 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 156s from . import overrides 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """Implementation of __array_function__ overrides from NEP-18.""" 156s import collections 156s import functools 156s import os 156s 156s from .._utils import set_module 156s from .._utils._inspect import getargspec 156s > from numpy.core._multiarray_umath import ( 156s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 156s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 156s 156s During handling of the above exception, another exception occurred: 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s > from numpy.__config__ import show as show_config 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 156s from numpy.core._multiarray_umath import ( 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s from . import multiarray 156s except ImportError as exc: 156s import sys 156s msg = """ 156s 156s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s 156s Importing the numpy C-extensions failed. This error can happen for 156s many reasons, often due to issues with your setup or how NumPy was 156s installed. 156s 156s We have compiled some common reasons and troubleshooting tips at: 156s 156s https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s 156s Please note and check the following: 156s 156s * The Python version is: Python%d.%d from "%s" 156s * The NumPy version is: "%s" 156s 156s and make sure that they are the versions you expect. 156s Please carefully study the documentation linked above for further help. 156s 156s Original error was: %s 156s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 156s __version__, exc) 156s > raise ImportError(msg) 156s E ImportError: 156s E 156s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s E 156s E Importing the numpy C-extensions failed. This error can happen for 156s E many reasons, often due to issues with your setup or how NumPy was 156s E installed. 156s E 156s E We have compiled some common reasons and troubleshooting tips at: 156s E 156s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s E 156s E Please note and check the following: 156s E 156s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 156s E * The NumPy version is: "1.26.4" 156s E 156s E and make sure that they are the versions you expect. 156s E Please carefully study the documentation linked above for further help. 156s E 156s E Original error was: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 156s 156s The above exception was the direct cause of the following exception: 156s 156s def test_get_version_for_package(): 156s """should track version if package is a module""" 156s > import numpy 156s 156s tests/test_logging.py:195: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s from numpy.__config__ import show as show_config 156s except ImportError as e: 156s msg = """Error importing numpy: you should not try to import numpy from 156s its source directory; please exit the numpy source tree, and relaunch 156s your python interpreter from there.""" 156s > raise ImportError(msg) from e 156s E ImportError: Error importing numpy: you should not try to import numpy from 156s E its source directory; please exit the numpy source tree, and relaunch 156s E your python interpreter from there. 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 156s _________________________ test_tracks_versions_module __________________________ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s > from . import multiarray 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:24: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/core/multiarray.py:10: in 156s from . import overrides 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """Implementation of __array_function__ overrides from NEP-18.""" 156s import collections 156s import functools 156s import os 156s 156s from .._utils import set_module 156s from .._utils._inspect import getargspec 156s > from numpy.core._multiarray_umath import ( 156s add_docstring, _get_implementing_args, _ArrayFunctionDispatcher) 156s E ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/overrides.py:8: ModuleNotFoundError 156s 156s During handling of the above exception, another exception occurred: 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s > from numpy.__config__ import show as show_config 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:130: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s /usr/lib/python3/dist-packages/numpy/__config__.py:4: in 156s from numpy.core._multiarray_umath import ( 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s Contains the core of NumPy: ndarray, ufuncs, dtypes, etc. 156s 156s Please note that this module is private. All functions and objects 156s are available in the main ``numpy`` namespace - use that instead. 156s 156s """ 156s 156s import os 156s import warnings 156s 156s from numpy.version import version as __version__ 156s 156s 156s # disables OpenBLAS affinity setting of the main thread that limits 156s # python threads or processes to one core 156s env_added = [] 156s for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: 156s if envkey not in os.environ: 156s os.environ[envkey] = '1' 156s env_added.append(envkey) 156s 156s try: 156s from . import multiarray 156s except ImportError as exc: 156s import sys 156s msg = """ 156s 156s IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s 156s Importing the numpy C-extensions failed. This error can happen for 156s many reasons, often due to issues with your setup or how NumPy was 156s installed. 156s 156s We have compiled some common reasons and troubleshooting tips at: 156s 156s https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s 156s Please note and check the following: 156s 156s * The Python version is: Python%d.%d from "%s" 156s * The NumPy version is: "%s" 156s 156s and make sure that they are the versions you expect. 156s Please carefully study the documentation linked above for further help. 156s 156s Original error was: %s 156s """ % (sys.version_info[0], sys.version_info[1], sys.executable, 156s __version__, exc) 156s > raise ImportError(msg) 156s E ImportError: 156s E 156s E IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! 156s E 156s E Importing the numpy C-extensions failed. This error can happen for 156s E many reasons, often due to issues with your setup or how NumPy was 156s E installed. 156s E 156s E We have compiled some common reasons and troubleshooting tips at: 156s E 156s E https://numpy.org/devdocs/user/troubleshooting-importerror.html 156s E 156s E Please note and check the following: 156s E 156s E * The Python version is: Python3.13 from "/usr/bin/python3.13" 156s E * The NumPy version is: "1.26.4" 156s E 156s E and make sure that they are the versions you expect. 156s E Please carefully study the documentation linked above for further help. 156s E 156s E Original error was: No module named 'numpy.core._multiarray_umath' 156s 156s /usr/lib/python3/dist-packages/numpy/core/__init__.py:50: ImportError 156s 156s The above exception was the direct cause of the following exception: 156s 156s logfile = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_tracks_versions_module0/delme.log') 156s 156s def test_tracks_versions_module(logfile): 156s """should track version if package is a module""" 156s LOGGER = CachingLogger(create_dir=True) 156s LOGGER.log_file_path = logfile 156s > import numpy 156s 156s tests/test_logging.py:222: 156s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 156s 156s """ 156s NumPy 156s ===== 156s 156s Provides 156s 1. An array object of arbitrary homogeneous items 156s 2. Fast mathematical operations over arrays 156s 3. Linear Algebra, Fourier Transforms, Random Number Generation 156s 156s How to use the documentation 156s ---------------------------- 156s Documentation is available in two forms: docstrings provided 156s with the code, and a loose standing reference guide, available from 156s `the NumPy homepage `_. 156s 156s We recommend exploring the docstrings using 156s `IPython `_, an advanced Python shell with 156s TAB-completion and introspection capabilities. See below for further 156s instructions. 156s 156s The docstring examples assume that `numpy` has been imported as ``np``:: 156s 156s >>> import numpy as np 156s 156s Code snippets are indicated by three greater-than signs:: 156s 156s >>> x = 42 156s >>> x = x + 1 156s 156s Use the built-in ``help`` function to view a function's docstring:: 156s 156s >>> help(np.sort) 156s ... # doctest: +SKIP 156s 156s For some objects, ``np.info(obj)`` may provide additional help. This is 156s particularly true if you see the line "Help on ufunc object:" at the top 156s of the help() page. Ufuncs are implemented in C, not Python, for speed. 156s The native Python help() does not know how to view their help, but our 156s np.info() function does. 156s 156s To search for documents containing a keyword, do:: 156s 156s >>> np.lookfor('keyword') 156s ... # doctest: +SKIP 156s 156s General-purpose documents like a glossary and help on the basic concepts 156s of numpy are available under the ``doc`` sub-module:: 156s 156s >>> from numpy import doc 156s >>> help(doc) 156s ... # doctest: +SKIP 156s 156s Available subpackages 156s --------------------- 156s lib 156s Basic functions used by several sub-packages. 156s random 156s Core Random Tools 156s linalg 156s Core Linear Algebra Tools 156s fft 156s Core FFT routines 156s polynomial 156s Polynomial tools 156s testing 156s NumPy testing tools 156s distutils 156s Enhancements to distutils with support for 156s Fortran compilers support and more (for Python <= 3.11). 156s 156s Utilities 156s --------- 156s test 156s Run numpy unittests 156s show_config 156s Show numpy build configuration 156s matlib 156s Make everything matrices. 156s __version__ 156s NumPy version string 156s 156s Viewing documentation using IPython 156s ----------------------------------- 156s 156s Start IPython and import `numpy` usually under the alias ``np``: `import 156s numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste 156s examples into the shell. To see which functions are available in `numpy`, 156s type ``np.`` (where ```` refers to the TAB key), or use 156s ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow 156s down the list. To view the docstring for a function, use 156s ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view 156s the source code). 156s 156s Copies vs. in-place operation 156s ----------------------------- 156s Most of the functions in `numpy` return a copy of the array argument 156s (e.g., `np.sort`). In-place versions of these functions are often 156s available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. 156s Exceptions to this rule are documented. 156s 156s """ 156s import sys 156s import warnings 156s 156s from ._globals import _NoValue, _CopyMode 156s # These exceptions were moved in 1.25 and are hidden from __dir__() 156s from .exceptions import ( 156s ComplexWarning, ModuleDeprecationWarning, VisibleDeprecationWarning, 156s TooHardError, AxisError) 156s 156s 156s # If a version with git hash was stored, use that instead 156s from . import version 156s from .version import __version__ 156s 156s # We first need to detect if we're being called as part of the numpy setup 156s # procedure itself in a reliable manner. 156s try: 156s __NUMPY_SETUP__ 156s except NameError: 156s __NUMPY_SETUP__ = False 156s 156s if __NUMPY_SETUP__: 156s sys.stderr.write('Running from numpy source directory.\n') 156s else: 156s # Allow distributors to run custom init code before importing numpy.core 156s from . import _distributor_init 156s 156s try: 156s from numpy.__config__ import show as show_config 156s except ImportError as e: 156s msg = """Error importing numpy: you should not try to import numpy from 156s its source directory; please exit the numpy source tree, and relaunch 156s your python interpreter from there.""" 156s > raise ImportError(msg) from e 156s E ImportError: Error importing numpy: you should not try to import numpy from 156s E its source directory; please exit the numpy source tree, and relaunch 156s E your python interpreter from there. 156s 156s /usr/lib/python3/dist-packages/numpy/__init__.py:135: ImportError 156s ------------------------------ Captured log call ------------------------------- 156s INFO root:__init__.py:243 system_details : system=#8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 156s INFO root:__init__.py:244 python : 3.13.0 156s INFO root:__init__.py:245 user : ubuntu 156s INFO root:__init__.py:246 command_string : /usr/lib/python3/dist-packages/pytest/__main__.py -v 156s =========================== short test summary info ============================ 156s FAILED tests/test_logging.py::test_package_versioning - ImportError: Error im... 156s FAILED tests/test_logging.py::test_tracks_versions - ImportError: Error impor... 156s FAILED tests/test_logging.py::test_caching - ImportError: Error importing num... 156s FAILED tests/test_logging.py::test_tracks_versions_string - ImportError: Erro... 156s FAILED tests/test_logging.py::test_get_version_for_package - ImportError: Err... 156s FAILED tests/test_logging.py::test_tracks_versions_module - ImportError: Erro... 156s ========================= 6 failed, 16 passed in 0.41s ========================= 156s autopkgtest [21:53:21]: test run-unit-test: -----------------------] 157s autopkgtest [21:53:22]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 157s run-unit-test FAIL non-zero exit status 1 157s autopkgtest [21:53:22]: test autodep8-python3: preparing testbed 291s autopkgtest [21:55:36]: testbed dpkg architecture: ppc64el 291s autopkgtest [21:55:36]: testbed apt version: 2.9.8 291s autopkgtest [21:55:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 292s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 293s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [101 kB] 293s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [974 kB] 293s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 293s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 293s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [110 kB] 293s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [684 kB] 293s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [20.8 kB] 293s Fetched 1986 kB in 1s (1874 kB/s) 293s Reading package lists... 296s Reading package lists... 296s Building dependency tree... 296s Reading state information... 296s Calculating upgrade... 296s The following NEW packages will be installed: 296s python3.13-gdbm 296s The following packages will be upgraded: 296s bpfcc-tools bpftrace libbpfcc libgnutls30t64 libjson-glib-1.0-0 296s libjson-glib-1.0-common libnewt0.52 libpython3-stdlib libutempter0 python3 296s python3-bpfcc python3-gdbm python3-minimal python3-newt whiptail 296s 15 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 296s Need to get 4700 kB of archives. 296s After this operation, 215 kB of additional disk space will be used. 296s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-minimal ppc64el 3.12.7-1 [27.4 kB] 297s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3 ppc64el 3.12.7-1 [24.0 kB] 297s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-stdlib ppc64el 3.12.7-1 [10.0 kB] 297s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.8-2ubuntu1 [1072 kB] 297s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-newt ppc64el 0.52.24-2ubuntu4 [21.8 kB] 297s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnewt0.52 ppc64el 0.52.24-2ubuntu4 [62.1 kB] 297s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el whiptail ppc64el 0.52.24-2ubuntu4 [19.5 kB] 297s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-gdbm ppc64el 3.13.0-2 [31.5 kB] 297s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-gdbm ppc64el 3.12.7-1 [8640 B] 297s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbpfcc ppc64el 0.30.0+ds-1ubuntu5 [696 kB] 297s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-bpfcc all 0.30.0+ds-1ubuntu5 [40.4 kB] 297s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpfcc-tools all 0.30.0+ds-1ubuntu5 [697 kB] 297s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpftrace ppc64el 0.21.2-2ubuntu2 [1898 kB] 297s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 297s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-0 ppc64el 1.10.0+ds-3 [76.0 kB] 297s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libutempter0 ppc64el 1.2.1-4 [9850 B] 297s Fetched 4700 kB in 1s (5666 kB/s) 298s (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.) 298s Preparing to unpack .../python3-minimal_3.12.7-1_ppc64el.deb ... 298s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 298s Setting up python3-minimal (3.12.7-1) ... 298s (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.) 298s Preparing to unpack .../python3_3.12.7-1_ppc64el.deb ... 298s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 298s Preparing to unpack .../libpython3-stdlib_3.12.7-1_ppc64el.deb ... 298s Unpacking libpython3-stdlib:ppc64el (3.12.7-1) over (3.12.6-0ubuntu1) ... 298s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_ppc64el.deb ... 298s Unpacking libgnutls30t64:ppc64el (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 298s Setting up libgnutls30t64:ppc64el (3.8.8-2ubuntu1) ... 298s (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.) 298s Preparing to unpack .../00-python3-newt_0.52.24-2ubuntu4_ppc64el.deb ... 298s Unpacking python3-newt:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 298s Preparing to unpack .../01-libnewt0.52_0.52.24-2ubuntu4_ppc64el.deb ... 298s Unpacking libnewt0.52:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 298s Preparing to unpack .../02-whiptail_0.52.24-2ubuntu4_ppc64el.deb ... 298s Unpacking whiptail (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 299s Selecting previously unselected package python3.13-gdbm. 299s Preparing to unpack .../03-python3.13-gdbm_3.13.0-2_ppc64el.deb ... 299s Unpacking python3.13-gdbm (3.13.0-2) ... 299s Preparing to unpack .../04-python3-gdbm_3.12.7-1_ppc64el.deb ... 299s Unpacking python3-gdbm:ppc64el (3.12.7-1) over (3.12.6-1ubuntu1) ... 299s Preparing to unpack .../05-libbpfcc_0.30.0+ds-1ubuntu5_ppc64el.deb ... 299s Unpacking libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 299s Preparing to unpack .../06-python3-bpfcc_0.30.0+ds-1ubuntu5_all.deb ... 299s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 299s Preparing to unpack .../07-bpfcc-tools_0.30.0+ds-1ubuntu5_all.deb ... 299s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 299s Preparing to unpack .../08-bpftrace_0.21.2-2ubuntu2_ppc64el.deb ... 299s Unpacking bpftrace (0.21.2-2ubuntu2) over (0.21.2-2) ... 299s Preparing to unpack .../09-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 299s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 299s Preparing to unpack .../10-libjson-glib-1.0-0_1.10.0+ds-3_ppc64el.deb ... 299s Unpacking libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) over (1.10.0+ds-2) ... 299s Preparing to unpack .../11-libutempter0_1.2.1-4_ppc64el.deb ... 299s Unpacking libutempter0:ppc64el (1.2.1-4) over (1.2.1-3build1) ... 299s Setting up libnewt0.52:ppc64el (0.52.24-2ubuntu4) ... 299s Setting up libutempter0:ppc64el (1.2.1-4) ... 299s Setting up whiptail (0.52.24-2ubuntu4) ... 299s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 299s Setting up libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) ... 299s Setting up python3.13-gdbm (3.13.0-2) ... 299s Setting up libpython3-stdlib:ppc64el (3.12.7-1) ... 299s Setting up bpftrace (0.21.2-2ubuntu2) ... 299s Setting up python3 (3.12.7-1) ... 299s Setting up python3-newt:ppc64el (0.52.24-2ubuntu4) ... 300s Setting up libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) ... 300s Setting up python3-bpfcc (0.30.0+ds-1ubuntu5) ... 300s Setting up python3-gdbm:ppc64el (3.12.7-1) ... 300s Setting up bpfcc-tools (0.30.0+ds-1ubuntu5) ... 300s Processing triggers for man-db (2.12.1-3) ... 301s Processing triggers for libc-bin (2.40-1ubuntu3) ... 301s Reading package lists... 302s Building dependency tree... 302s Reading state information... 302s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 302s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 302s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 302s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 302s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 304s Reading package lists... 304s Reading package lists... 304s Building dependency tree... 304s Reading state information... 304s Calculating upgrade... 304s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 304s Reading package lists... 304s Building dependency tree... 304s Reading state information... 305s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 309s Reading package lists... 309s Building dependency tree... 309s Reading state information... 309s Starting pkgProblemResolver with broken count: 0 309s Starting 2 pkgProblemResolver with broken count: 0 309s Done 309s The following additional packages will be installed: 309s libpython3.13-minimal libpython3.13-stdlib python3-all python3-scitrack 309s python3.13 python3.13-minimal 309s Suggested packages: 309s python3.13-venv python3.13-doc binfmt-support 309s The following NEW packages will be installed: 309s autopkgtest-satdep libpython3.13-minimal libpython3.13-stdlib python3-all 309s python3-scitrack python3.13 python3.13-minimal 309s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 309s Need to get 6061 kB/6061 kB of archives. 309s After this operation, 25.8 MB of additional disk space will be used. 309s Get:1 /tmp/autopkgtest.j7Yx1F/2-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [720 B] 309s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-minimal ppc64el 3.13.0-2 [881 kB] 310s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-minimal ppc64el 3.13.0-2 [2302 kB] 310s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.13-stdlib ppc64el 3.13.0-2 [2148 kB] 310s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13 ppc64el 3.13.0-2 [719 kB] 310s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-all ppc64el 3.12.7-1 [888 B] 310s Get:7 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-scitrack all 2024.10.8-1 [9590 B] 310s Fetched 6061 kB in 1s (7243 kB/s) 310s Selecting previously unselected package libpython3.13-minimal:ppc64el. 310s (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 ... 73775 files and directories currently installed.) 310s Preparing to unpack .../0-libpython3.13-minimal_3.13.0-2_ppc64el.deb ... 310s Unpacking libpython3.13-minimal:ppc64el (3.13.0-2) ... 311s Selecting previously unselected package python3.13-minimal. 311s Preparing to unpack .../1-python3.13-minimal_3.13.0-2_ppc64el.deb ... 311s Unpacking python3.13-minimal (3.13.0-2) ... 311s Selecting previously unselected package libpython3.13-stdlib:ppc64el. 311s Preparing to unpack .../2-libpython3.13-stdlib_3.13.0-2_ppc64el.deb ... 311s Unpacking libpython3.13-stdlib:ppc64el (3.13.0-2) ... 311s Selecting previously unselected package python3.13. 311s Preparing to unpack .../3-python3.13_3.13.0-2_ppc64el.deb ... 311s Unpacking python3.13 (3.13.0-2) ... 311s Selecting previously unselected package python3-all. 311s Preparing to unpack .../4-python3-all_3.12.7-1_ppc64el.deb ... 311s Unpacking python3-all (3.12.7-1) ... 311s Selecting previously unselected package python3-scitrack. 311s Preparing to unpack .../5-python3-scitrack_2024.10.8-1_all.deb ... 311s Unpacking python3-scitrack (2024.10.8-1) ... 311s Selecting previously unselected package autopkgtest-satdep. 311s Preparing to unpack .../6-2-autopkgtest-satdep.deb ... 311s Unpacking autopkgtest-satdep (0) ... 311s Setting up libpython3.13-minimal:ppc64el (3.13.0-2) ... 311s Setting up python3-scitrack (2024.10.8-1) ... 311s Setting up python3.13-minimal (3.13.0-2) ... 312s Setting up libpython3.13-stdlib:ppc64el (3.13.0-2) ... 312s Setting up python3.13 (3.13.0-2) ... 314s Setting up python3-all (3.12.7-1) ... 314s Setting up autopkgtest-satdep (0) ... 314s Processing triggers for man-db (2.12.1-3) ... 314s Processing triggers for systemd (256.5-2ubuntu4) ... 316s (Reading database ... 74519 files and directories currently installed.) 316s Removing autopkgtest-satdep (0) ... 318s autopkgtest [21:56:03]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import scitrack; print(scitrack)" ; done 318s autopkgtest [21:56:03]: test autodep8-python3: [----------------------- 318s Testing with python3.13: 318s 318s Testing with python3.12: 318s 318s autopkgtest [21:56:03]: test autodep8-python3: -----------------------] 319s autodep8-python3 PASS (superficial) 319s autopkgtest [21:56:04]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 319s autopkgtest [21:56:04]: @@@@@@@@@@@@@@@@@@@@ summary 319s run-unit-test FAIL non-zero exit status 1 319s autodep8-python3 PASS (superficial) 323s nova [W] Using flock in prodstack6-ppc64el 323s Creating nova instance adt-plucky-ppc64el-python-scitrack-20241113-212021-juju-7f2275-prod-proposed-migration-environment-15-0fc890be-783b-45d4-8e14-1569256b8554 from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)... 323s nova [W] Using flock in prodstack6-ppc64el 323s Creating nova instance adt-plucky-ppc64el-python-scitrack-20241113-212021-juju-7f2275-prod-proposed-migration-environment-15-0fc890be-783b-45d4-8e14-1569256b8554 from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)...