0s autopkgtest [17:00:41]: starting date and time: 2025-01-18 17:00:41+0000 0s autopkgtest [17:00:41]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [17:00:41]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ynmencow/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:numcodecs --apt-upgrade zarr --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=numcodecs/0.15.0+ds-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-21.secgroup --name adt-plucky-amd64-zarr-20250118-170041-juju-7f2275-prod-proposed-migration-environment-15-82ef0fc4-8641-4512-9011-ccb9666378c6 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 114s autopkgtest [17:02:35]: testbed dpkg architecture: amd64 114s autopkgtest [17:02:35]: testbed apt version: 2.9.18 115s autopkgtest [17:02:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 115s autopkgtest [17:02:36]: testbed release detected to be: None 115s autopkgtest [17:02:36]: updating testbed package index (apt update) 116s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 116s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 116s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 116s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 116s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [152 kB] 116s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [796 kB] 116s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 116s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 116s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [284 kB] 116s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [198 kB] 116s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 116s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 116s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [934 kB] 116s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [406 kB] 116s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 116s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 117s Fetched 2940 kB in 1s (3207 kB/s) 117s Reading package lists... 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s Calculating upgrade... 118s The following packages will be upgraded: 118s apport apport-core-dump-handler bash-completion ed libicu74 pci.ids 118s python3-apport python3-problem-report 118s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s Need to get 11.8 MB of archives. 118s After this operation, 394 kB of additional disk space will be used. 118s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-problem-report all 2.31.0-0ubuntu3 [25.3 kB] 119s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-apport all 2.31.0-0ubuntu3 [93.1 kB] 119s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 apport-core-dump-handler all 2.31.0-0ubuntu3 [18.3 kB] 119s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 apport all 2.31.0-0ubuntu3 [83.0 kB] 119s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libicu74 amd64 74.2-1ubuntu6 [11.0 MB] 119s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 bash-completion all 1:2.16.0-6 [214 kB] 119s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 ed amd64 1.21-1 [62.3 kB] 119s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 pci.ids all 0.0~2025.01.13-1 [282 kB] 120s Fetched 11.8 MB in 1s (13.4 MB/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 ... 89449 files and directories currently installed.) 120s Preparing to unpack .../0-python3-problem-report_2.31.0-0ubuntu3_all.deb ... 120s Unpacking python3-problem-report (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 120s Preparing to unpack .../1-python3-apport_2.31.0-0ubuntu3_all.deb ... 120s Unpacking python3-apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 120s Preparing to unpack .../2-apport-core-dump-handler_2.31.0-0ubuntu3_all.deb ... 120s Unpacking apport-core-dump-handler (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 120s Preparing to unpack .../3-apport_2.31.0-0ubuntu3_all.deb ... 120s Unpacking apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 120s Preparing to unpack .../4-libicu74_74.2-1ubuntu6_amd64.deb ... 120s Unpacking libicu74:amd64 (74.2-1ubuntu6) over (74.2-1ubuntu4) ... 120s Preparing to unpack .../5-bash-completion_1%3a2.16.0-6_all.deb ... 120s Unpacking bash-completion (1:2.16.0-6) over (1:2.16.0-3) ... 121s Preparing to unpack .../6-ed_1.21-1_amd64.deb ... 121s Unpacking ed (1.21-1) over (1.20.2-2) ... 121s Preparing to unpack .../7-pci.ids_0.0~2025.01.13-1_all.deb ... 121s Unpacking pci.ids (0.0~2025.01.13-1) over (0.0~2024.11.25-1) ... 121s Setting up pci.ids (0.0~2025.01.13-1) ... 121s Setting up python3-problem-report (2.31.0-0ubuntu3) ... 121s Setting up python3-apport (2.31.0-0ubuntu3) ... 121s Setting up ed (1.21-1) ... 121s Setting up bash-completion (1:2.16.0-6) ... 121s Setting up libicu74:amd64 (74.2-1ubuntu6) ... 121s Setting up apport-core-dump-handler (2.31.0-0ubuntu3) ... 121s invoke-rc.d: policy-rc.d denied execution of restart. 121s /usr/sbin/policy-rc.d returned 101, not running 'restart apport.service' 121s Setting up apport (2.31.0-0ubuntu3) ... 122s /usr/sbin/policy-rc.d returned 101, not running 'restart apport-autoreport.path apport-autoreport.service apport-autoreport.timer apport-forward.socket' 122s Processing triggers for install-info (7.1.1-1) ... 122s Processing triggers for libc-bin (2.40-4ubuntu1) ... 122s Processing triggers for man-db (2.13.0-1) ... 123s 123s Running kernel seems to be up-to-date. 123s 123s No services need to be restarted. 123s 123s No containers need to be restarted. 123s 123s No user sessions are running outdated binaries. 123s 123s No VM guests are running outdated hypervisor (qemu) binaries on this host. 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 124s autopkgtest [17:02:45]: upgrading testbed (apt dist-upgrade and autopurge) 125s Reading package lists... 125s Building dependency tree... 125s Reading state information... 125s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 125s Starting 2 pkgProblemResolver with broken count: 0 125s Done 125s Entering ResolveByKeep 126s 126s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 126s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s Starting pkgProblemResolver with broken count: 0 126s Starting 2 pkgProblemResolver with broken count: 0 126s Done 127s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s autopkgtest [17:02:48]: rebooting testbed after setup commands that affected boot 140s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 147s autopkgtest [17:03:08]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 149s autopkgtest [17:03:10]: @@@@@@@@@@@@@@@@@@@@ apt-source zarr 151s Get:1 http://ftpmaster.internal/ubuntu plucky/universe zarr 2.18.4+ds-1 (dsc) [2647 B] 151s Get:2 http://ftpmaster.internal/ubuntu plucky/universe zarr 2.18.4+ds-1 (tar) [987 kB] 151s Get:3 http://ftpmaster.internal/ubuntu plucky/universe zarr 2.18.4+ds-1 (diff) [5680 B] 151s gpgv: Signature made Mon Dec 16 21:43:41 2024 UTC 151s gpgv: using RSA key 3B70F209A5FFD68903C472C5EBF48AB2578F9812 151s gpgv: issuer "antonio.valentino@tiscali.it" 151s gpgv: Can't check signature: No public key 151s dpkg-source: warning: cannot verify inline signature for ./zarr_2.18.4+ds-1.dsc: no acceptable signature found 152s autopkgtest [17:03:13]: testing package zarr version 2.18.4+ds-1 152s autopkgtest [17:03:13]: build not needed 153s autopkgtest [17:03:14]: test pybuild-autopkgtest: preparing testbed 153s Reading package lists... 153s Building dependency tree... 153s Reading state information... 153s Starting pkgProblemResolver with broken count: 0 153s Starting 2 pkgProblemResolver with broken count: 0 153s Done 154s The following NEW packages will be installed: 154s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 154s cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 154s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz g++ 154s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 154s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext intltool-debian libaec0 154s libarchive-zip-perl libasan8 libblas3 libblosc1 libcc1-0 libdebhelper-perl 154s libfile-stripnondeterminism-perl libgcc-14-dev libgfortran5 libgomp1 154s libhdf5-103-1t64 libhdf5-hl-100t64 libhwasan0 libisl23 libitm1 libjs-jquery 154s libjs-sphinxdoc libjs-underscore libjson-perl liblapack3 liblsan0 liblzf1 154s libmpc3 libpython3.13-minimal libpython3.13-stdlib libquadmath0 libsnappy1v5 154s libstdc++-14-dev libsz2 libtool libtsan2 libubsan1 m4 po-debconf 154s pybuild-plugin-autopkgtest pybuild-plugin-pyproject python3-alabaster 154s python3-all python3-asciitree python3-bs4 python3-build python3-defusedxml 154s python3-deprecated python3-docutils python3-fasteners python3-fsspec 154s python3-h5py python3-h5py-serial python3-imagesize python3-iniconfig 154s python3-installer python3-monotonic python3-msgpack python3-numcodecs 154s python3-numpy python3-numpydoc python3-pluggy python3-pydata-sphinx-theme 154s python3-pyproject-hooks python3-pytest python3-pytest-doctestplus 154s python3-pytest-timeout python3-roman python3-setuptools-scm 154s python3-snowballstemmer python3-soupsieve python3-sphinx 154s python3-sphinx-automodapi python3-sphinx-copybutton python3-sphinx-design 154s python3-sphinx-issues python3-tabulate python3-toml python3-wheel 154s python3-wrapt python3-zarr python3.13 python3.13-minimal sphinx-common 154s 0 upgraded, 106 newly installed, 0 to remove and 0 not upgraded. 154s Need to get 94.6 MB of archives. 154s After this operation, 370 MB of additional disk space will be used. 154s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.1-2 [881 kB] 154s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.1-2 [2358 kB] 155s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 m4 amd64 1.4.19-4build1 [244 kB] 155s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 autoconf all 2.72-3 [382 kB] 155s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 autotools-dev all 20220109.1 [44.9 kB] 155s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 155s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 autopoint all 0.22.5-3 [616 kB] 155s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 155s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 155s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-13ubuntu1 [11.9 MB] 155s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-13ubuntu1 [1032 B] 155s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 155s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 155s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-13ubuntu1 [47.6 kB] 155s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-13ubuntu1 [148 kB] 155s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-13ubuntu1 [29.1 kB] 155s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-13ubuntu1 [2998 kB] 155s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-13ubuntu1 [1317 kB] 155s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-13ubuntu1 [2732 kB] 155s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-13ubuntu1 [1177 kB] 155s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-13ubuntu1 [1634 kB] 155s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-13ubuntu1 [153 kB] 155s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-13ubuntu1 [2815 kB] 155s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-13ubuntu1 [23.4 MB] 156s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-13ubuntu1 [534 kB] 156s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 156s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 156s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-13ubuntu1 [2508 kB] 156s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-13ubuntu1 [13.3 MB] 156s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-13ubuntu1 [21.1 kB] 156s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 156s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 156s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 156s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 156s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libtool all 2.4.7-8 [166 kB] 156s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 dh-autoreconf all 20 [16.1 kB] 156s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 156s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 156s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 156s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 debugedit amd64 1:5.1-1 [46.9 kB] 156s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 dwz amd64 0.15-1build6 [115 kB] 156s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 gettext amd64 0.22.5-3 [1025 kB] 156s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 156s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 156s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 debhelper all 13.20ubuntu1 [893 kB] 156s Get:46 http://ftpmaster.internal/ubuntu plucky/universe amd64 dh-python all 6.20241217 [117 kB] 156s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 docutils-common all 0.21.2+dfsg-2 [131 kB] 156s Get:48 http://ftpmaster.internal/ubuntu plucky/universe amd64 libaec0 amd64 1.1.3-1 [22.7 kB] 156s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas3 amd64 3.12.0-4 [332 kB] 156s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libsnappy1v5 amd64 1.2.1-1 [30.4 kB] 156s Get:51 http://ftpmaster.internal/ubuntu plucky/universe amd64 libblosc1 amd64 1.21.5+ds-1build1 [36.2 kB] 156s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran5 amd64 14.2.0-13ubuntu1 [909 kB] 156s Get:53 http://ftpmaster.internal/ubuntu plucky/universe amd64 libsz2 amd64 1.1.3-1 [5456 B] 156s Get:54 http://ftpmaster.internal/ubuntu plucky/universe amd64 libhdf5-103-1t64 amd64 1.10.10+repack-5ubuntu1 [1367 kB] 156s Get:55 http://ftpmaster.internal/ubuntu plucky/universe amd64 libhdf5-hl-100t64 amd64 1.10.10+repack-5ubuntu1 [59.5 kB] 156s Get:56 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 156s Get:57 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 156s Get:58 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-sphinxdoc all 8.1.3-3 [30.9 kB] 156s Get:59 http://ftpmaster.internal/ubuntu plucky/main amd64 libjson-perl all 4.10000-1 [81.9 kB] 156s Get:60 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack3 amd64 3.12.0-4 [3177 kB] 157s Get:61 http://ftpmaster.internal/ubuntu plucky/universe amd64 liblzf1 amd64 3.6-4 [7624 B] 157s Get:62 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.1-2 [2088 kB] 157s Get:63 http://ftpmaster.internal/ubuntu plucky/universe amd64 pybuild-plugin-autopkgtest all 6.20241217 [1746 B] 157s Get:64 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 157s Get:65 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-toml all 0.10.2-1 [16.5 kB] 157s Get:66 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-wheel all 0.45.1-1 [57.7 kB] 157s Get:67 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-build all 1.2.2-1 [31.0 kB] 157s Get:68 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 157s Get:69 http://ftpmaster.internal/ubuntu plucky/universe amd64 pybuild-plugin-pyproject all 6.20241217 [1730 B] 157s Get:70 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.1-2 [729 kB] 157s Get:71 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-all amd64 3.12.8-1 [890 B] 157s Get:72 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-asciitree all 0.3.3-4 [5644 B] 157s Get:73 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-soupsieve all 2.6-1 [33.0 kB] 157s Get:74 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-bs4 all 4.12.3-3 [109 kB] 157s Get:75 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-defusedxml all 0.7.1-3 [42.2 kB] 157s Get:76 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-wrapt amd64 1.15.0-4 [34.8 kB] 157s Get:77 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-deprecated all 1.2.15-1 [10.5 kB] 157s Get:78 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-roman all 4.2-1 [10.0 kB] 157s Get:79 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 157s Get:80 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-monotonic all 1.6-3 [5344 B] 157s Get:81 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-fasteners all 0.18-2 [12.5 kB] 157s Get:82 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-fsspec all 2024.10.0-1 [207 kB] 157s Get:83 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-numpy amd64 1:1.26.4+ds-12 [5319 kB] 157s Get:84 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-h5py-serial amd64 3.11.0-8ubuntu3 [1689 kB] 157s Get:85 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-h5py all 3.11.0-8ubuntu3 [7982 B] 157s Get:86 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-imagesize all 1.4.1-1 [6844 B] 157s Get:87 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 157s Get:88 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-msgpack amd64 1.0.3-3build3 [113 kB] 157s Get:89 http://ftpmaster.internal/ubuntu plucky/main amd64 sphinx-common all 8.1.3-3 [661 kB] 157s Get:90 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 157s Get:91 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 157s Get:92 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-sphinx all 8.1.3-3 [474 kB] 157s Get:93 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pydata-sphinx-theme all 0.15.4+dfsg-2 [41.5 kB] 157s Get:94 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 python3-numcodecs amd64 0.15.0+ds-1 [569 kB] 157s Get:95 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-tabulate all 0.9.0-1 [45.3 kB] 157s Get:96 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-numpydoc all 1.8.0-1 [52.4 kB] 157s Get:97 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 157s Get:98 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.4-1 [252 kB] 157s Get:99 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest-doctestplus all 1.3.0-1 [23.7 kB] 157s Get:100 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest-timeout all 2.3.1-1 [22.1 kB] 157s Get:101 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-setuptools-scm all 8.1.0-1 [32.2 kB] 157s Get:102 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-sphinx-automodapi all 0.18.0-1 [37.6 kB] 157s Get:103 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-sphinx-copybutton all 0.5.2-2 [16.6 kB] 157s Get:104 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-sphinx-design all 0.6.1-1 [894 kB] 158s Get:105 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-sphinx-issues all 5.0.0-1 [10.2 kB] 158s Get:106 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-zarr all 2.18.4+ds-1 [410 kB] 158s Fetched 94.6 MB in 4s (25.7 MB/s) 158s Selecting previously unselected package libpython3.13-minimal:amd64. 158s (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 ... 89449 files and directories currently installed.) 158s Preparing to unpack .../000-libpython3.13-minimal_3.13.1-2_amd64.deb ... 158s Unpacking libpython3.13-minimal:amd64 (3.13.1-2) ... 158s Selecting previously unselected package python3.13-minimal. 158s Preparing to unpack .../001-python3.13-minimal_3.13.1-2_amd64.deb ... 158s Unpacking python3.13-minimal (3.13.1-2) ... 158s Selecting previously unselected package m4. 158s Preparing to unpack .../002-m4_1.4.19-4build1_amd64.deb ... 158s Unpacking m4 (1.4.19-4build1) ... 158s Selecting previously unselected package autoconf. 158s Preparing to unpack .../003-autoconf_2.72-3_all.deb ... 158s Unpacking autoconf (2.72-3) ... 158s Selecting previously unselected package autotools-dev. 158s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 158s Unpacking autotools-dev (20220109.1) ... 158s Selecting previously unselected package automake. 158s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 158s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 158s Selecting previously unselected package autopoint. 158s Preparing to unpack .../006-autopoint_0.22.5-3_all.deb ... 158s Unpacking autopoint (0.22.5-3) ... 158s Selecting previously unselected package libisl23:amd64. 158s Preparing to unpack .../007-libisl23_0.27-1_amd64.deb ... 158s Unpacking libisl23:amd64 (0.27-1) ... 158s Selecting previously unselected package libmpc3:amd64. 158s Preparing to unpack .../008-libmpc3_1.3.1-1build2_amd64.deb ... 158s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 158s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 158s Preparing to unpack .../009-cpp-14-x86-64-linux-gnu_14.2.0-13ubuntu1_amd64.deb ... 158s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package cpp-14. 159s Preparing to unpack .../010-cpp-14_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking cpp-14 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package cpp-x86-64-linux-gnu. 159s Preparing to unpack .../011-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 159s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 159s Selecting previously unselected package cpp. 159s Preparing to unpack .../012-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 159s Unpacking cpp (4:14.1.0-2ubuntu1) ... 159s Selecting previously unselected package libcc1-0:amd64. 159s Preparing to unpack .../013-libcc1-0_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking libcc1-0:amd64 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package libgomp1:amd64. 159s Preparing to unpack .../014-libgomp1_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking libgomp1:amd64 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package libitm1:amd64. 159s Preparing to unpack .../015-libitm1_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking libitm1:amd64 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package libasan8:amd64. 159s Preparing to unpack .../016-libasan8_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking libasan8:amd64 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package liblsan0:amd64. 159s Preparing to unpack .../017-liblsan0_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking liblsan0:amd64 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package libtsan2:amd64. 159s Preparing to unpack .../018-libtsan2_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking libtsan2:amd64 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package libubsan1:amd64. 159s Preparing to unpack .../019-libubsan1_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking libubsan1:amd64 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package libhwasan0:amd64. 159s Preparing to unpack .../020-libhwasan0_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking libhwasan0:amd64 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package libquadmath0:amd64. 159s Preparing to unpack .../021-libquadmath0_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking libquadmath0:amd64 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package libgcc-14-dev:amd64. 159s Preparing to unpack .../022-libgcc-14-dev_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking libgcc-14-dev:amd64 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 159s Preparing to unpack .../023-gcc-14-x86-64-linux-gnu_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package gcc-14. 159s Preparing to unpack .../024-gcc-14_14.2.0-13ubuntu1_amd64.deb ... 159s Unpacking gcc-14 (14.2.0-13ubuntu1) ... 159s Selecting previously unselected package gcc-x86-64-linux-gnu. 159s Preparing to unpack .../025-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 159s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 159s Selecting previously unselected package gcc. 159s Preparing to unpack .../026-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 159s Unpacking gcc (4:14.1.0-2ubuntu1) ... 160s Selecting previously unselected package libstdc++-14-dev:amd64. 160s Preparing to unpack .../027-libstdc++-14-dev_14.2.0-13ubuntu1_amd64.deb ... 160s Unpacking libstdc++-14-dev:amd64 (14.2.0-13ubuntu1) ... 160s Selecting previously unselected package g++-14-x86-64-linux-gnu. 160s Preparing to unpack .../028-g++-14-x86-64-linux-gnu_14.2.0-13ubuntu1_amd64.deb ... 160s Unpacking g++-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 160s Selecting previously unselected package g++-14. 160s Preparing to unpack .../029-g++-14_14.2.0-13ubuntu1_amd64.deb ... 160s Unpacking g++-14 (14.2.0-13ubuntu1) ... 160s Selecting previously unselected package g++-x86-64-linux-gnu. 160s Preparing to unpack .../030-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 160s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 160s Selecting previously unselected package g++. 160s Preparing to unpack .../031-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 160s Unpacking g++ (4:14.1.0-2ubuntu1) ... 160s Selecting previously unselected package build-essential. 160s Preparing to unpack .../032-build-essential_12.10ubuntu1_amd64.deb ... 160s Unpacking build-essential (12.10ubuntu1) ... 160s Selecting previously unselected package libdebhelper-perl. 160s Preparing to unpack .../033-libdebhelper-perl_13.20ubuntu1_all.deb ... 160s Unpacking libdebhelper-perl (13.20ubuntu1) ... 160s Selecting previously unselected package libtool. 160s Preparing to unpack .../034-libtool_2.4.7-8_all.deb ... 160s Unpacking libtool (2.4.7-8) ... 160s Selecting previously unselected package dh-autoreconf. 160s Preparing to unpack .../035-dh-autoreconf_20_all.deb ... 160s Unpacking dh-autoreconf (20) ... 160s Selecting previously unselected package libarchive-zip-perl. 160s Preparing to unpack .../036-libarchive-zip-perl_1.68-1_all.deb ... 160s Unpacking libarchive-zip-perl (1.68-1) ... 160s Selecting previously unselected package libfile-stripnondeterminism-perl. 160s Preparing to unpack .../037-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 160s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 160s Selecting previously unselected package dh-strip-nondeterminism. 160s Preparing to unpack .../038-dh-strip-nondeterminism_1.14.0-1_all.deb ... 160s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 160s Selecting previously unselected package debugedit. 160s Preparing to unpack .../039-debugedit_1%3a5.1-1_amd64.deb ... 160s Unpacking debugedit (1:5.1-1) ... 160s Selecting previously unselected package dwz. 160s Preparing to unpack .../040-dwz_0.15-1build6_amd64.deb ... 160s Unpacking dwz (0.15-1build6) ... 160s Selecting previously unselected package gettext. 160s Preparing to unpack .../041-gettext_0.22.5-3_amd64.deb ... 160s Unpacking gettext (0.22.5-3) ... 160s Selecting previously unselected package intltool-debian. 160s Preparing to unpack .../042-intltool-debian_0.35.0+20060710.6_all.deb ... 160s Unpacking intltool-debian (0.35.0+20060710.6) ... 160s Selecting previously unselected package po-debconf. 160s Preparing to unpack .../043-po-debconf_1.0.21+nmu1_all.deb ... 160s Unpacking po-debconf (1.0.21+nmu1) ... 160s Selecting previously unselected package debhelper. 160s Preparing to unpack .../044-debhelper_13.20ubuntu1_all.deb ... 160s Unpacking debhelper (13.20ubuntu1) ... 160s Selecting previously unselected package dh-python. 160s Preparing to unpack .../045-dh-python_6.20241217_all.deb ... 160s Unpacking dh-python (6.20241217) ... 160s Selecting previously unselected package docutils-common. 160s Preparing to unpack .../046-docutils-common_0.21.2+dfsg-2_all.deb ... 160s Unpacking docutils-common (0.21.2+dfsg-2) ... 160s Selecting previously unselected package libaec0:amd64. 160s Preparing to unpack .../047-libaec0_1.1.3-1_amd64.deb ... 160s Unpacking libaec0:amd64 (1.1.3-1) ... 160s Selecting previously unselected package libblas3:amd64. 160s Preparing to unpack .../048-libblas3_3.12.0-4_amd64.deb ... 160s Unpacking libblas3:amd64 (3.12.0-4) ... 160s Selecting previously unselected package libsnappy1v5:amd64. 160s Preparing to unpack .../049-libsnappy1v5_1.2.1-1_amd64.deb ... 160s Unpacking libsnappy1v5:amd64 (1.2.1-1) ... 160s Selecting previously unselected package libblosc1:amd64. 160s Preparing to unpack .../050-libblosc1_1.21.5+ds-1build1_amd64.deb ... 160s Unpacking libblosc1:amd64 (1.21.5+ds-1build1) ... 160s Selecting previously unselected package libgfortran5:amd64. 160s Preparing to unpack .../051-libgfortran5_14.2.0-13ubuntu1_amd64.deb ... 160s Unpacking libgfortran5:amd64 (14.2.0-13ubuntu1) ... 160s Selecting previously unselected package libsz2:amd64. 161s Preparing to unpack .../052-libsz2_1.1.3-1_amd64.deb ... 161s Unpacking libsz2:amd64 (1.1.3-1) ... 161s Selecting previously unselected package libhdf5-103-1t64:amd64. 161s Preparing to unpack .../053-libhdf5-103-1t64_1.10.10+repack-5ubuntu1_amd64.deb ... 161s Unpacking libhdf5-103-1t64:amd64 (1.10.10+repack-5ubuntu1) ... 161s Selecting previously unselected package libhdf5-hl-100t64:amd64. 161s Preparing to unpack .../054-libhdf5-hl-100t64_1.10.10+repack-5ubuntu1_amd64.deb ... 161s Unpacking libhdf5-hl-100t64:amd64 (1.10.10+repack-5ubuntu1) ... 161s Selecting previously unselected package libjs-jquery. 161s Preparing to unpack .../055-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 161s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 161s Selecting previously unselected package libjs-underscore. 161s Preparing to unpack .../056-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 161s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 161s Selecting previously unselected package libjs-sphinxdoc. 161s Preparing to unpack .../057-libjs-sphinxdoc_8.1.3-3_all.deb ... 161s Unpacking libjs-sphinxdoc (8.1.3-3) ... 161s Selecting previously unselected package libjson-perl. 161s Preparing to unpack .../058-libjson-perl_4.10000-1_all.deb ... 161s Unpacking libjson-perl (4.10000-1) ... 161s Selecting previously unselected package liblapack3:amd64. 161s Preparing to unpack .../059-liblapack3_3.12.0-4_amd64.deb ... 161s Unpacking liblapack3:amd64 (3.12.0-4) ... 161s Selecting previously unselected package liblzf1:amd64. 161s Preparing to unpack .../060-liblzf1_3.6-4_amd64.deb ... 161s Unpacking liblzf1:amd64 (3.6-4) ... 161s Selecting previously unselected package libpython3.13-stdlib:amd64. 161s Preparing to unpack .../061-libpython3.13-stdlib_3.13.1-2_amd64.deb ... 161s Unpacking libpython3.13-stdlib:amd64 (3.13.1-2) ... 161s Selecting previously unselected package pybuild-plugin-autopkgtest. 161s Preparing to unpack .../062-pybuild-plugin-autopkgtest_6.20241217_all.deb ... 161s Unpacking pybuild-plugin-autopkgtest (6.20241217) ... 161s Selecting previously unselected package python3-pyproject-hooks. 161s Preparing to unpack .../063-python3-pyproject-hooks_1.2.0-1_all.deb ... 161s Unpacking python3-pyproject-hooks (1.2.0-1) ... 161s Selecting previously unselected package python3-toml. 161s Preparing to unpack .../064-python3-toml_0.10.2-1_all.deb ... 161s Unpacking python3-toml (0.10.2-1) ... 161s Selecting previously unselected package python3-wheel. 161s Preparing to unpack .../065-python3-wheel_0.45.1-1_all.deb ... 161s Unpacking python3-wheel (0.45.1-1) ... 161s Selecting previously unselected package python3-build. 161s Preparing to unpack .../066-python3-build_1.2.2-1_all.deb ... 161s Unpacking python3-build (1.2.2-1) ... 161s Selecting previously unselected package python3-installer. 161s Preparing to unpack .../067-python3-installer_0.7.0+dfsg1-3_all.deb ... 161s Unpacking python3-installer (0.7.0+dfsg1-3) ... 161s Selecting previously unselected package pybuild-plugin-pyproject. 161s Preparing to unpack .../068-pybuild-plugin-pyproject_6.20241217_all.deb ... 161s Unpacking pybuild-plugin-pyproject (6.20241217) ... 161s Selecting previously unselected package python3.13. 161s Preparing to unpack .../069-python3.13_3.13.1-2_amd64.deb ... 161s Unpacking python3.13 (3.13.1-2) ... 161s Selecting previously unselected package python3-all. 161s Preparing to unpack .../070-python3-all_3.12.8-1_amd64.deb ... 161s Unpacking python3-all (3.12.8-1) ... 161s Selecting previously unselected package python3-asciitree. 161s Preparing to unpack .../071-python3-asciitree_0.3.3-4_all.deb ... 161s Unpacking python3-asciitree (0.3.3-4) ... 161s Selecting previously unselected package python3-soupsieve. 161s Preparing to unpack .../072-python3-soupsieve_2.6-1_all.deb ... 161s Unpacking python3-soupsieve (2.6-1) ... 161s Selecting previously unselected package python3-bs4. 161s Preparing to unpack .../073-python3-bs4_4.12.3-3_all.deb ... 161s Unpacking python3-bs4 (4.12.3-3) ... 161s Selecting previously unselected package python3-defusedxml. 161s Preparing to unpack .../074-python3-defusedxml_0.7.1-3_all.deb ... 161s Unpacking python3-defusedxml (0.7.1-3) ... 161s Selecting previously unselected package python3-wrapt. 161s Preparing to unpack .../075-python3-wrapt_1.15.0-4_amd64.deb ... 161s Unpacking python3-wrapt (1.15.0-4) ... 161s Selecting previously unselected package python3-deprecated. 161s Preparing to unpack .../076-python3-deprecated_1.2.15-1_all.deb ... 161s Unpacking python3-deprecated (1.2.15-1) ... 161s Selecting previously unselected package python3-roman. 161s Preparing to unpack .../077-python3-roman_4.2-1_all.deb ... 161s Unpacking python3-roman (4.2-1) ... 161s Selecting previously unselected package python3-docutils. 161s Preparing to unpack .../078-python3-docutils_0.21.2+dfsg-2_all.deb ... 161s Unpacking python3-docutils (0.21.2+dfsg-2) ... 161s Selecting previously unselected package python3-monotonic. 161s Preparing to unpack .../079-python3-monotonic_1.6-3_all.deb ... 161s Unpacking python3-monotonic (1.6-3) ... 161s Selecting previously unselected package python3-fasteners. 161s Preparing to unpack .../080-python3-fasteners_0.18-2_all.deb ... 161s Unpacking python3-fasteners (0.18-2) ... 161s Selecting previously unselected package python3-fsspec. 161s Preparing to unpack .../081-python3-fsspec_2024.10.0-1_all.deb ... 161s Unpacking python3-fsspec (2024.10.0-1) ... 161s Selecting previously unselected package python3-numpy. 161s Preparing to unpack .../082-python3-numpy_1%3a1.26.4+ds-12_amd64.deb ... 161s Unpacking python3-numpy (1:1.26.4+ds-12) ... 162s Selecting previously unselected package python3-h5py-serial. 162s Preparing to unpack .../083-python3-h5py-serial_3.11.0-8ubuntu3_amd64.deb ... 162s Unpacking python3-h5py-serial (3.11.0-8ubuntu3) ... 162s Selecting previously unselected package python3-h5py. 162s Preparing to unpack .../084-python3-h5py_3.11.0-8ubuntu3_all.deb ... 162s Unpacking python3-h5py (3.11.0-8ubuntu3) ... 162s Selecting previously unselected package python3-imagesize. 162s Preparing to unpack .../085-python3-imagesize_1.4.1-1_all.deb ... 162s Unpacking python3-imagesize (1.4.1-1) ... 162s Selecting previously unselected package python3-iniconfig. 162s Preparing to unpack .../086-python3-iniconfig_1.1.1-2_all.deb ... 162s Unpacking python3-iniconfig (1.1.1-2) ... 162s Selecting previously unselected package python3-msgpack. 162s Preparing to unpack .../087-python3-msgpack_1.0.3-3build3_amd64.deb ... 162s Unpacking python3-msgpack (1.0.3-3build3) ... 162s Selecting previously unselected package sphinx-common. 162s Preparing to unpack .../088-sphinx-common_8.1.3-3_all.deb ... 162s Unpacking sphinx-common (8.1.3-3) ... 162s Selecting previously unselected package python3-alabaster. 162s Preparing to unpack .../089-python3-alabaster_0.7.16-0.1_all.deb ... 162s Unpacking python3-alabaster (0.7.16-0.1) ... 162s Selecting previously unselected package python3-snowballstemmer. 162s Preparing to unpack .../090-python3-snowballstemmer_2.2.0-4build1_all.deb ... 162s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 162s Selecting previously unselected package python3-sphinx. 162s Preparing to unpack .../091-python3-sphinx_8.1.3-3_all.deb ... 162s Unpacking python3-sphinx (8.1.3-3) ... 162s Selecting previously unselected package python3-pydata-sphinx-theme. 162s Preparing to unpack .../092-python3-pydata-sphinx-theme_0.15.4+dfsg-2_all.deb ... 162s Unpacking python3-pydata-sphinx-theme (0.15.4+dfsg-2) ... 162s Selecting previously unselected package python3-numcodecs. 162s Preparing to unpack .../093-python3-numcodecs_0.15.0+ds-1_amd64.deb ... 162s Unpacking python3-numcodecs (0.15.0+ds-1) ... 162s Selecting previously unselected package python3-tabulate. 162s Preparing to unpack .../094-python3-tabulate_0.9.0-1_all.deb ... 162s Unpacking python3-tabulate (0.9.0-1) ... 162s Selecting previously unselected package python3-numpydoc. 162s Preparing to unpack .../095-python3-numpydoc_1.8.0-1_all.deb ... 162s Unpacking python3-numpydoc (1.8.0-1) ... 162s Selecting previously unselected package python3-pluggy. 162s Preparing to unpack .../096-python3-pluggy_1.5.0-1_all.deb ... 162s Unpacking python3-pluggy (1.5.0-1) ... 162s Selecting previously unselected package python3-pytest. 162s Preparing to unpack .../097-python3-pytest_8.3.4-1_all.deb ... 162s Unpacking python3-pytest (8.3.4-1) ... 162s Selecting previously unselected package python3-pytest-doctestplus. 162s Preparing to unpack .../098-python3-pytest-doctestplus_1.3.0-1_all.deb ... 162s Unpacking python3-pytest-doctestplus (1.3.0-1) ... 162s Selecting previously unselected package python3-pytest-timeout. 162s Preparing to unpack .../099-python3-pytest-timeout_2.3.1-1_all.deb ... 162s Unpacking python3-pytest-timeout (2.3.1-1) ... 162s Selecting previously unselected package python3-setuptools-scm. 162s Preparing to unpack .../100-python3-setuptools-scm_8.1.0-1_all.deb ... 162s Unpacking python3-setuptools-scm (8.1.0-1) ... 162s Selecting previously unselected package python3-sphinx-automodapi. 162s Preparing to unpack .../101-python3-sphinx-automodapi_0.18.0-1_all.deb ... 162s Unpacking python3-sphinx-automodapi (0.18.0-1) ... 162s Selecting previously unselected package python3-sphinx-copybutton. 162s Preparing to unpack .../102-python3-sphinx-copybutton_0.5.2-2_all.deb ... 162s Unpacking python3-sphinx-copybutton (0.5.2-2) ... 162s Selecting previously unselected package python3-sphinx-design. 162s Preparing to unpack .../103-python3-sphinx-design_0.6.1-1_all.deb ... 162s Unpacking python3-sphinx-design (0.6.1-1) ... 163s Selecting previously unselected package python3-sphinx-issues. 163s Preparing to unpack .../104-python3-sphinx-issues_5.0.0-1_all.deb ... 163s Unpacking python3-sphinx-issues (5.0.0-1) ... 163s Selecting previously unselected package python3-zarr. 163s Preparing to unpack .../105-python3-zarr_2.18.4+ds-1_all.deb ... 163s Unpacking python3-zarr (2.18.4+ds-1) ... 163s Setting up dh-python (6.20241217) ... 163s Setting up python3-iniconfig (1.1.1-2) ... 163s Setting up python3-defusedxml (0.7.1-3) ... 163s Setting up libarchive-zip-perl (1.68-1) ... 163s Setting up python3-alabaster (0.7.16-0.1) ... 163s Setting up libdebhelper-perl (13.20ubuntu1) ... 163s Setting up python3-fsspec (2024.10.0-1) ... 164s Setting up python3-tabulate (0.9.0-1) ... 164s Setting up m4 (1.4.19-4build1) ... 164s Setting up libgomp1:amd64 (14.2.0-13ubuntu1) ... 164s Setting up python3-wheel (0.45.1-1) ... 164s Setting up python3-setuptools-scm (8.1.0-1) ... 164s Setting up libaec0:amd64 (1.1.3-1) ... 164s Setting up libsnappy1v5:amd64 (1.2.1-1) ... 164s Setting up python3-monotonic (1.6-3) ... 164s Setting up libpython3.13-minimal:amd64 (3.13.1-2) ... 164s Setting up python3-roman (4.2-1) ... 165s Setting up autotools-dev (20220109.1) ... 165s Setting up libblas3:amd64 (3.12.0-4) ... 165s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode 165s Setting up python3-pyproject-hooks (1.2.0-1) ... 165s Setting up python3-snowballstemmer (2.2.0-4build1) ... 165s Setting up liblzf1:amd64 (3.6-4) ... 165s Setting up libquadmath0:amd64 (14.2.0-13ubuntu1) ... 165s Setting up libmpc3:amd64 (1.3.1-1build2) ... 165s Setting up python3-wrapt (1.15.0-4) ... 165s Setting up autopoint (0.22.5-3) ... 165s Setting up python3-fasteners (0.18-2) ... 165s Setting up python3-asciitree (0.3.3-4) ... 166s Setting up python3-toml (0.10.2-1) ... 166s Setting up python3-installer (0.7.0+dfsg1-3) ... 166s Setting up libgfortran5:amd64 (14.2.0-13ubuntu1) ... 166s Setting up autoconf (2.72-3) ... 166s Setting up python3-pluggy (1.5.0-1) ... 166s Setting up libubsan1:amd64 (14.2.0-13ubuntu1) ... 166s Setting up dwz (0.15-1build6) ... 166s Setting up libhwasan0:amd64 (14.2.0-13ubuntu1) ... 166s Setting up libasan8:amd64 (14.2.0-13ubuntu1) ... 166s Setting up docutils-common (0.21.2+dfsg-2) ... 166s Setting up libjson-perl (4.10000-1) ... 166s Setting up libblosc1:amd64 (1.21.5+ds-1build1) ... 166s Setting up debugedit (1:5.1-1) ... 166s Setting up python3.13-minimal (3.13.1-2) ... 167s Setting up python3-msgpack (1.0.3-3build3) ... 167s Setting up libtsan2:amd64 (14.2.0-13ubuntu1) ... 167s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 167s Setting up libisl23:amd64 (0.27-1) ... 167s Setting up python3-build (1.2.2-1) ... 167s Setting up libpython3.13-stdlib:amd64 (3.13.1-2) ... 167s Setting up python3-soupsieve (2.6-1) ... 167s Setting up libcc1-0:amd64 (14.2.0-13ubuntu1) ... 167s Setting up python3-deprecated (1.2.15-1) ... 167s Setting up liblsan0:amd64 (14.2.0-13ubuntu1) ... 167s Setting up libsz2:amd64 (1.1.3-1) ... 167s Setting up libitm1:amd64 (14.2.0-13ubuntu1) ... 167s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 167s Setting up python3-imagesize (1.4.1-1) ... 167s Setting up automake (1:1.16.5-1.3ubuntu1) ... 167s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 167s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 167s Setting up liblapack3:amd64 (3.12.0-4) ... 167s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode 168s Setting up gettext (0.22.5-3) ... 168s Setting up python3.13 (3.13.1-2) ... 168s Setting up pybuild-plugin-pyproject (6.20241217) ... 168s Setting up python3-pytest (8.3.4-1) ... 169s Setting up python3-all (3.12.8-1) ... 169s Setting up python3-bs4 (4.12.3-3) ... 169s Setting up intltool-debian (0.35.0+20060710.6) ... 169s Setting up cpp-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 169s Setting up python3-numpy (1:1.26.4+ds-12) ... 172s Setting up libjs-sphinxdoc (8.1.3-3) ... 172s Setting up cpp-14 (14.2.0-13ubuntu1) ... 172s Setting up python3-pytest-doctestplus (1.3.0-1) ... 172s Setting up dh-strip-nondeterminism (1.14.0-1) ... 172s Setting up libgcc-14-dev:amd64 (14.2.0-13ubuntu1) ... 172s Setting up libhdf5-103-1t64:amd64 (1.10.10+repack-5ubuntu1) ... 172s Setting up libstdc++-14-dev:amd64 (14.2.0-13ubuntu1) ... 172s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 172s Setting up libhdf5-hl-100t64:amd64 (1.10.10+repack-5ubuntu1) ... 172s Setting up python3-pytest-timeout (2.3.1-1) ... 172s Setting up po-debconf (1.0.21+nmu1) ... 172s Setting up python3-h5py-serial (3.11.0-8ubuntu3) ... 172s Setting up sphinx-common (8.1.3-3) ... 172s Setting up python3-h5py (3.11.0-8ubuntu3) ... 173s Setting up cpp (4:14.1.0-2ubuntu1) ... 173s Setting up gcc-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 173s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 173s Setting up gcc-14 (14.2.0-13ubuntu1) ... 173s Setting up g++-14-x86-64-linux-gnu (14.2.0-13ubuntu1) ... 173s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 173s Setting up g++-14 (14.2.0-13ubuntu1) ... 173s Setting up libtool (2.4.7-8) ... 173s Setting up gcc (4:14.1.0-2ubuntu1) ... 173s Setting up dh-autoreconf (20) ... 173s Setting up g++ (4:14.1.0-2ubuntu1) ... 173s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 173s Setting up build-essential (12.10ubuntu1) ... 173s Setting up debhelper (13.20ubuntu1) ... 173s Setting up pybuild-plugin-autopkgtest (6.20241217) ... 173s Processing triggers for sgml-base (1.31) ... 173s Setting up python3-docutils (0.21.2+dfsg-2) ... 173s Processing triggers for install-info (7.1.1-1) ... 173s Processing triggers for libc-bin (2.40-4ubuntu1) ... 173s Processing triggers for systemd (257-2ubuntu1) ... 173s Processing triggers for man-db (2.13.0-1) ... 175s Setting up python3-sphinx (8.1.3-3) ... 176s Setting up python3-sphinx-copybutton (0.5.2-2) ... 176s Setting up python3-sphinx-issues (5.0.0-1) ... 176s Setting up python3-sphinx-design (0.6.1-1) ... 177s Setting up python3-numpydoc (1.8.0-1) ... 177s Setting up python3-pydata-sphinx-theme (0.15.4+dfsg-2) ... 177s Setting up python3-sphinx-automodapi (0.18.0-1) ... 177s Setting up python3-numcodecs (0.15.0+ds-1) ... 177s Setting up python3-zarr (2.18.4+ds-1) ... 178s 178s Running kernel seems to be up-to-date. 178s 178s No services need to be restarted. 178s 178s No containers need to be restarted. 178s 178s No user sessions are running outdated binaries. 178s 178s No VM guests are running outdated hypervisor (qemu) binaries on this host. 180s autopkgtest [17:03:41]: test pybuild-autopkgtest: pybuild-autopkgtest 180s autopkgtest [17:03:41]: test pybuild-autopkgtest: [----------------------- 182s pybuild-autopkgtest 182s I: pybuild base:311: cd /tmp/autopkgtest.YaEwg9/autopkgtest_tmp/build; python3.13 -m pytest -k "not test_hierarchy and not test_complex and not test_array_with_delta_filter and not test_utf8_encoding and not [static_flat] and not [static_nested] and not [static_flat_legacy] and not [static_nested_legacy] and not test_meta_prefix_6853 and not test_encode_decode_array_dtype_shape_v3" --pyargs zarr 184s ============================= test session starts ============================== 184s platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 184s rootdir: /tmp/autopkgtest.YaEwg9/autopkgtest_tmp/build 184s configfile: pyproject.toml 184s plugins: timeout-2.3.1, typeguard-4.4.1, doctestplus-1.3.0 184s collected 4975 items / 717 deselected / 4258 selected 184s 184s tests/test_attrs.py .................. [ 0%] 184s tests/test_convenience.py .....ss...................ssssssss.s.......... [ 1%] 184s ..................................................ssssssssssssssssssssss [ 3%] 184s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 4%] 184s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 6%] 184s ssssssssssssss [ 6%] 185s tests/test_core.py ..................................................... [ 8%] 186s ........................................................................ [ 9%] 187s ................................................................ssssssss [ 11%] 188s sssssssssssssssssssssssssssssssssssssss................................. [ 13%] 189s ........................................................................ [ 14%] 190s ........................................................................ [ 16%] 191s .............sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 18%] 192s sssssssssssssssssssssssssssssssssss..................................... [ 19%] 193s ........................................................................ [ 21%] 194s ........................................................................ [ 23%] 195s ........................................................................ [ 25%] 196s ........................................................................ [ 26%] 197s ........................................................................ [ 28%] 199s ........................................................................ [ 30%] 201s .........................................................FF.FFFFF..FFFFF [ 31%] 205s ...F....FFFFF......s.FF....FFF.......................................... [ 33%] 208s ..........FF.FFFFF..FFFFF...F....FFFFF......s.FF....FFFsssssssssssssssss [ 35%] 208s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 36%] 208s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 38%] 209s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 40%] 209s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 41%] 209s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 43%] 209s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 45%] 209s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 47%] 209s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 48%] 209s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 50%] 209s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 52%] 209s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 53%] 209s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 55%] 209s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...... [ 57%] 209s [ 57%] 209s tests/test_creation.py ................................................. [ 58%] 209s ..................................ss..... [ 59%] 209s tests/test_dim_separator.py ..........................x....x [ 60%] 209s tests/test_filters.py ...... [ 60%] 216s tests/test_indexing.py ................................................. [ 61%] 216s ......xx...... [ 61%] 216s tests/test_info.py .. [ 61%] 216s tests/test_meta.py ......................... [ 62%] 216s tests/test_meta_array.py .sss.sss.sss.sss.sss.sss.sss.sss..ssssss..sssss [ 63%] 216s s..ssssss..ssssss [ 63%] 216s tests/test_n5.py ..... [ 63%] 216s tests/test_storage.py ...................s........................s..... [ 65%] 216s ...................s.................................................... [ 66%] 216s .......................ss..............s................................ [ 68%] 216s ........................................................................ [ 70%] 217s ....................ss.................................................. [ 71%] 217s .............s.......................................................... [ 73%] 217s ........................................................................ [ 75%] 217s .....ssssssssssssssssssssssss........................................... [ 76%] 217s .......ssssssssssssssssssssssssssssssssssssssssssssssss.............s... [ 78%] 218s ..............ssssssssssssssssssssssssss....... [ 79%] 218s tests/test_storage_v3.py sssssssssssssssssssssssssssssssssssssssssssssss [ 80%] 218s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 82%] 218s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 84%] 218s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 85%] 218s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 87%] 218s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 89%] 218s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 90%] 218s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 92%] 218s ssssssssssssss [ 93%] 219s tests/test_sync.py ..................................................... [ 94%] 219s ........................................................................ [ 95%] 221s ........................................................................ [ 97%] 222s ........................................................................ [ 99%] 222s ........... [ 99%] 222s tests/test_util.py .................. [100%] 222s 222s =================================== FAILURES =================================== 222s ________________ TestArrayWithFSStorePartialRead.test_array_1d _________________ 222s 222s self = 222s 222s def test_array_1d(self): 222s a = np.arange(1050) 222s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 222s 222s # check properties 222s assert len(a) == len(z) 222s assert a.ndim == z.ndim 222s assert a.shape == z.shape 222s assert a.dtype == z.dtype 222s assert (100,) == z.chunks 222s assert a.nbytes == z.nbytes 222s assert 11 == z.nchunks 222s assert 0 == z.nchunks_initialized 222s assert (11,) == z.cdata_shape 222s 222s # check empty 222s b = z[:] 222s assert isinstance(b, np.ndarray) 222s assert a.shape == b.shape 222s assert a.dtype == b.dtype 222s 222s # check attributes 222s z.attrs["foo"] = "bar" 222s assert "bar" == z.attrs["foo"] 222s 222s # set data 222s z[:] = a 222s 222s # check properties 222s assert a.nbytes == z.nbytes 222s assert 11 == z.nchunks 222s assert 11 == z.nchunks_initialized 222s 222s # check slicing 222s > assert_array_equal(a, np.array(z)) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:288: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 222s return np.array(self[...], *args, **kwargs) 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ___________ TestArrayWithFSStorePartialRead.test_array_1d_fill_value ___________ 222s 222s self = 222s 222s def test_array_1d_fill_value(self): 222s for fill_value in -1, 0, 1, 10: 222s a = np.arange(1050) 222s f = np.empty_like(a) 222s f.fill(fill_value) 222s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value) 222s z[190:310] = a[190:310] 222s 222s > assert_array_equal(f[:190], z[:190]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:344: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00}\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ___________ TestArrayWithFSStorePartialRead.test_array_1d_selections ___________ 222s 222s self = 222s 222s def test_array_1d_selections(self): 222s # light test here, full tests in test_indexing 222s 222s # setup 222s a = np.arange(1050) 222s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 222s z[:] = a 222s 222s # get 222s > assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150))) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:378: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xd2\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ________________ TestArrayWithFSStorePartialRead.test_array_2d _________________ 222s 222s self = 222s 222s def test_array_2d(self): 222s a = np.arange(10000).reshape((1000, 10)) 222s z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype) 222s 222s # check properties 222s assert len(a) == len(z) 222s assert a.ndim == z.ndim 222s assert a.shape == z.shape 222s assert a.dtype == z.dtype 222s assert (100, 2) == z.chunks 222s assert 0 == z.nchunks_initialized 222s assert (10, 5) == z.cdata_shape 222s 222s # set data 222s z[:] = a 222s 222s # check properties 222s assert a.nbytes == z.nbytes 222s assert 50 == z.nchunks_initialized 222s 222s # check array-like 222s > assert_array_equal(a, np.array(z)) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:440: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 222s return np.array(self[...], *args, **kwargs) 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08@\x06\x00\x00\x00\x01\x00\x00\xb2\x01\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ___________ TestArrayWithFSStorePartialRead.test_array_2d_edge_case ____________ 222s 222s self = 222s 222s def test_array_2d_edge_case(self): 222s # this fails with filters - chunks extend beyond edge of array, messes with delta 222s # filter if no fill value? 222s shape = 1000, 10 222s chunks = 300, 30 222s dtype = "i8" 222s z = self.create_array(shape=shape, dtype=dtype, chunks=chunks) 222s z[:] = 0 222s expect = np.zeros(shape, dtype=dtype) 222s > actual = z[:] 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:537: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08@\x19\x01\x00\x00\x01\x00\x00\xfe\x14\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ____________ TestArrayWithFSStorePartialRead.test_array_2d_partial _____________ 222s 222s self = 222s 222s def test_array_2d_partial(self): 222s z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0) 222s 222s # check partial assignment, single row 222s c = np.arange(z.shape[1]) 222s z[0, :] = c 222s with pytest.raises(ValueError): 222s # N.B., NumPy allows this, but we'll be strict for now 222s z[2:3] = c 222s with pytest.raises(ValueError): 222s # N.B., NumPy allows this, but we'll be strict for now 222s z[-1:] = c 222s z[2:3] = c[None, :] 222s z[-1:] = c[None, :] 222s > assert_array_equal(c, z[0, :]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:556: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 222s result = self.get_orthogonal_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x04 \x03\x00\x00\x00\x01\x00\x00f\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _______________ TestArrayWithFSStorePartialRead.test_array_order _______________ 222s 222s self = 222s 222s def test_array_order(self): 222s # 1D 222s a = np.arange(1050) 222s for order in "C", "F": 222s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order) 222s assert order == z.order 222s if order == "F": 222s assert z[:].flags.f_contiguous 222s else: 222s assert z[:].flags.c_contiguous 222s z[:] = a 222s > assert_array_equal(a, z[:]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:594: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ________________ TestArrayWithFSStorePartialRead.test_resize_1d ________________ 222s 222s self = 222s 222s def test_resize_1d(self): 222s z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0) 222s a = np.arange(105, dtype="i4") 222s z[:] = a 222s assert (105,) == z.shape 222s > assert (105,) == z[:].shape 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:679: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ________________ TestArrayWithFSStorePartialRead.test_resize_2d ________________ 222s 222s self = 222s 222s def test_resize_2d(self): 222s z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0) 222s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 222s z[:] = a 222s assert (105, 105) == z.shape 222s > assert (105, 105) == z[:].shape 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:714: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ________________ TestArrayWithFSStorePartialRead.test_append_1d ________________ 222s 222s self = 222s 222s def test_append_1d(self): 222s a = np.arange(105) 222s z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype) 222s z[:] = a 222s assert a.shape == z.shape 222s assert a.dtype == z.dtype 222s assert (10,) == z.chunks 222s > assert_array_equal(a, z[:]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:776: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ________________ TestArrayWithFSStorePartialRead.test_append_2d ________________ 222s 222s self = 222s 222s def test_append_2d(self): 222s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 222s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 222s z[:] = a 222s assert a.shape == z.shape 222s assert a.dtype == z.dtype 222s assert (10, 10) == z.chunks 222s > actual = z[:] 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:804: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _____________ TestArrayWithFSStorePartialRead.test_append_2d_axis ______________ 222s 222s self = 222s 222s def test_append_2d_axis(self): 222s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 222s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 222s z[:] = a 222s assert a.shape == z.shape 222s assert a.dtype == z.dtype 222s assert (10, 10) == z.chunks 222s > assert_array_equal(a, z[:]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:825: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ________________ TestArrayWithFSStorePartialRead.test_np_ufuncs ________________ 222s 222s self = 222s 222s def test_np_ufuncs(self): 222s z = self.create_array(shape=(100, 100), chunks=(10, 10)) 222s a = np.arange(10000).reshape(100, 100) 222s z[:] = a 222s 222s > assert np.sum(a) == np.sum(z) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:917: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum 222s return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims, 222s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction 222s return ufunc.reduce(obj, axis, dtype, out, **passkwargs) 222s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 222s return np.array(self[...], *args, **kwargs) 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00-\x01\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ____________ TestArrayWithFSStorePartialRead.test_array_dtype_shape ____________ 222s 222s self = 222s 222s def test_array_dtype_shape(self): 222s dt = "(2, 2)f4" 222s # setup some data 222s d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt) 222s 222s for a in (d, d[:0]): 222s for fill_value in None, 0: 222s z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value) 222s assert len(a) == len(z) 222s if fill_value is not None: 222s assert fill_value == z.fill_value 222s z[...] = a 222s > assert_array_equal(a, z[...]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1101: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ____________ TestArrayWithFSStorePartialRead.test_structured_array _____________ 222s 222s self = 222s 222s def test_structured_array(self): 222s d = np.array( 222s [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)], 222s dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")], 222s ) 222s fill_values = None, b"", (b"zzz", 42, 16.8) 222s > self.check_structured_array(d, fill_values) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1151: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 222s assert a[0] == z[0] 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _______ TestArrayWithFSStorePartialRead.test_structured_array_subshapes ________ 222s 222s self = 222s 222s def test_structured_array_subshapes(self): 222s d = np.array( 222s [ 222s (0, ((0, 1, 2), (1, 2, 3)), b"aaa"), 222s (1, ((1, 2, 3), (2, 3, 4)), b"bbb"), 222s (2, ((2, 3, 4), (3, 4, 5)), b"ccc"), 222s ], 222s dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")], 222s ) 222s fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz") 222s > self.check_structured_array(d, fill_values) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1163: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 222s assert a[0] == z[0] 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _________ TestArrayWithFSStorePartialRead.test_structured_array_nested _________ 222s 222s self = 222s 222s def test_structured_array_nested(self): 222s d = np.array( 222s [ 222s (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"), 222s (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"), 222s (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"), 222s ], 222s dtype=[ 222s ("foo", "i8"), 222s ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]), 222s ("baz", "S3"), 222s ], 222s ) 222s fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz") 222s > self.check_structured_array(d, fill_values) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1179: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 222s assert a[0] == z[0] 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _________________ TestArrayWithFSStorePartialRead.test_dtypes __________________ 222s 222s self = 222s 222s def test_dtypes(self): 222s # integers 222s for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8": 222s z = self.create_array(shape=10, chunks=3, dtype=dtype) 222s assert z.dtype == np.dtype(dtype) 222s a = np.arange(z.shape[0], dtype=dtype) 222s z[:] = a 222s > assert_array_equal(a, z[:]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1188: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s __________________ TestArrayWithFSStorePartialRead.test_iter ___________________ 222s 222s self = 222s 222s def test_iter(self): 222s params = ( 222s ((1,), (1,)), 222s ((2,), (1,)), 222s ((1,), (2,)), 222s ((3,), (3,)), 222s ((1000,), (100,)), 222s ((100,), (1000,)), 222s ((1, 100), (1, 1)), 222s ((1, 0), (1, 1)), 222s ((0, 1), (1, 1)), 222s ((0, 1), (2, 1)), 222s ((100, 1), (3, 1)), 222s ((100, 100), (10, 10)), 222s ((10, 10, 10), (3, 3, 3)), 222s ) 222s for shape, chunks in params: 222s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 222s a = np.arange(np.prod(shape)).reshape(shape) 222s z[:] = a 222s > for expect, actual in zip_longest(a, z): 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1531: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 222s chunk = self[j : j + chunk_size] 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _________________ TestArrayWithFSStorePartialRead.test_islice __________________ 222s 222s self = 222s 222s def test_islice(self): 222s params = ( 222s ((1,), (1,), 0, 1), 222s ((2,), (1,), 0, 1), 222s ((1,), (2,), 0, 1), 222s ((3,), (3,), 1, 2), 222s ((1000,), (100,), 150, 1050), 222s ((100,), (1000,), 25, 75), 222s ((1, 100), (1, 1), 0, 1), 222s ((100, 1), (3, 1), 56, 100), 222s ((100, 100), (10, 10), 13, 99), 222s ((10, 10, 10), (3, 3, 3), 2, 4), 222s ) 222s for shape, chunks, start, end in params: 222s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 222s a = np.arange(np.prod(shape)).reshape(shape) 222s z[:] = a 222s end_array = min(end, a.shape[0]) 222s > for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)): 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1553: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 222s chunk = self[j : j + chunk_size] 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ________________ TestArrayWithFSStorePartialRead.test_non_cont _________________ 222s 222s self = 222s 222s def test_non_cont(self): 222s z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype=" assert z[0, :, 0].any() 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2446: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 222s result = self.get_orthogonal_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x04 \xa1\x07\x00\x00\x01\x00\x00>\xb7\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _ TestArrayWithFSStorePartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _ 222s 222s self = 222s 222s def test_read_nitems_less_than_blocksize_from_multiple_chunks(self): 222s """Tests to make sure decompression doesn't fail when `nitems` is 222s less than a compressed block size, but covers multiple blocks 222s """ 222s z = self.create_array(shape=1000000, chunks=100_000) 222s z[40_000:80_000] = 1 222s path = None if self.version == 2 else z.path 222s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 222s > assert (b[40_000:80_000] == 1).all() 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2456: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xd3\x18\x01\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s __________ TestArrayWithFSStorePartialRead.test_read_from_all_blocks ___________ 222s 222s self = 222s 222s def test_read_from_all_blocks(self): 222s """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when 222s stop isn't in the `start_points` array 222s """ 222s z = self.create_array(shape=1000000, chunks=100_000) 222s z[2:99_000] = 1 222s path = None if self.version == 2 else z.path 222s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 222s > assert (b[2:99_000] == 1).all() 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2466: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xe7`\x01\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _____________ TestArrayWithFSStoreNestedPartialRead.test_array_1d ______________ 222s 222s self = 222s 222s def test_array_1d(self): 222s a = np.arange(1050) 222s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 222s 222s # check properties 222s assert len(a) == len(z) 222s assert a.ndim == z.ndim 222s assert a.shape == z.shape 222s assert a.dtype == z.dtype 222s assert (100,) == z.chunks 222s assert a.nbytes == z.nbytes 222s assert 11 == z.nchunks 222s assert 0 == z.nchunks_initialized 222s assert (11,) == z.cdata_shape 222s 222s # check empty 222s b = z[:] 222s assert isinstance(b, np.ndarray) 222s assert a.shape == b.shape 222s assert a.dtype == b.dtype 222s 222s # check attributes 222s z.attrs["foo"] = "bar" 222s assert "bar" == z.attrs["foo"] 222s 222s # set data 222s z[:] = a 222s 222s # check properties 222s assert a.nbytes == z.nbytes 222s assert 11 == z.nchunks 222s assert 11 == z.nchunks_initialized 222s 222s # check slicing 222s > assert_array_equal(a, np.array(z)) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:288: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 222s return np.array(self[...], *args, **kwargs) 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_fill_value ________ 222s 222s self = 222s 222s def test_array_1d_fill_value(self): 222s for fill_value in -1, 0, 1, 10: 222s a = np.arange(1050) 222s f = np.empty_like(a) 222s f.fill(fill_value) 222s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value) 222s z[190:310] = a[190:310] 222s 222s > assert_array_equal(f[:190], z[:190]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:344: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00?\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_selections ________ 222s 222s self = 222s 222s def test_array_1d_selections(self): 222s # light test here, full tests in test_indexing 222s 222s # setup 222s a = np.arange(1050) 222s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 222s z[:] = a 222s 222s # get 222s > assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150))) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:378: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\x8e\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _____________ TestArrayWithFSStoreNestedPartialRead.test_array_2d ______________ 222s 222s self = 222s 222s def test_array_2d(self): 222s a = np.arange(10000).reshape((1000, 10)) 222s z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype) 222s 222s # check properties 222s assert len(a) == len(z) 222s assert a.ndim == z.ndim 222s assert a.shape == z.shape 222s assert a.dtype == z.dtype 222s assert (100, 2) == z.chunks 222s assert 0 == z.nchunks_initialized 222s assert (10, 5) == z.cdata_shape 222s 222s # set data 222s z[:] = a 222s 222s # check properties 222s assert a.nbytes == z.nbytes 222s assert 50 == z.nchunks_initialized 222s 222s # check array-like 222s > assert_array_equal(a, np.array(z)) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:440: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 222s return np.array(self[...], *args, **kwargs) 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x01!\x08@\x06\x00\x00@\x06\x00\x00X\x01\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_edge_case _________ 222s 222s self = 222s 222s def test_array_2d_edge_case(self): 222s # this fails with filters - chunks extend beyond edge of array, messes with delta 222s # filter if no fill value? 222s shape = 1000, 10 222s chunks = 300, 30 222s dtype = "i8" 222s z = self.create_array(shape=shape, dtype=dtype, chunks=chunks) 222s z[:] = 0 222s expect = np.zeros(shape, dtype=dtype) 222s > actual = z[:] 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:537: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x01!\x08@\x19\x01\x00@\x19\x01\x00\xa4\x01\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_partial __________ 222s 222s self = 222s 222s def test_array_2d_partial(self): 222s z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0) 222s 222s # check partial assignment, single row 222s c = np.arange(z.shape[1]) 222s z[0, :] = c 222s with pytest.raises(ValueError): 222s # N.B., NumPy allows this, but we'll be strict for now 222s z[2:3] = c 222s with pytest.raises(ValueError): 222s # N.B., NumPy allows this, but we'll be strict for now 222s z[-1:] = c 222s z[2:3] = c[None, :] 222s z[-1:] = c[None, :] 222s > assert_array_equal(c, z[0, :]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:556: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 222s result = self.get_orthogonal_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x01!\x04 \x03\x00\x00 \x03\x00\x00Z\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ____________ TestArrayWithFSStoreNestedPartialRead.test_array_order ____________ 222s 222s self = 222s 222s def test_array_order(self): 222s # 1D 222s a = np.arange(1050) 222s for order in "C", "F": 222s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order) 222s assert order == z.order 222s if order == "F": 222s assert z[:].flags.f_contiguous 222s else: 222s assert z[:].flags.c_contiguous 222s z[:] = a 222s > assert_array_equal(a, z[:]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:594: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_1d _____________ 222s 222s self = 222s 222s def test_resize_1d(self): 222s z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0) 222s a = np.arange(105, dtype="i4") 222s z[:] = a 222s assert (105,) == z.shape 222s > assert (105,) == z[:].shape 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:679: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_2d _____________ 222s 222s self = 222s 222s def test_resize_2d(self): 222s z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0) 222s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 222s z[:] = a 222s assert (105, 105) == z.shape 222s > assert (105, 105) == z[:].shape 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:714: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _____________ TestArrayWithFSStoreNestedPartialRead.test_append_1d _____________ 222s 222s self = 222s 222s def test_append_1d(self): 222s a = np.arange(105) 222s z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype) 222s z[:] = a 222s assert a.shape == z.shape 222s assert a.dtype == z.dtype 222s assert (10,) == z.chunks 222s > assert_array_equal(a, z[:]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:776: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _____________ TestArrayWithFSStoreNestedPartialRead.test_append_2d _____________ 222s 222s self = 222s 222s def test_append_2d(self): 222s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 222s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 222s z[:] = a 222s assert a.shape == z.shape 222s assert a.dtype == z.dtype 222s assert (10, 10) == z.chunks 222s > actual = z[:] 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:804: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s __________ TestArrayWithFSStoreNestedPartialRead.test_append_2d_axis ___________ 222s 222s self = 222s 222s def test_append_2d_axis(self): 222s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 222s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 222s z[:] = a 222s assert a.shape == z.shape 222s assert a.dtype == z.dtype 222s assert (10, 10) == z.chunks 222s > assert_array_equal(a, z[:]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:825: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _____________ TestArrayWithFSStoreNestedPartialRead.test_np_ufuncs _____________ 222s 222s self = 222s 222s def test_np_ufuncs(self): 222s z = self.create_array(shape=(100, 100), chunks=(10, 10)) 222s a = np.arange(10000).reshape(100, 100) 222s z[:] = a 222s 222s > assert np.sum(a) == np.sum(z) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:917: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum 222s return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims, 222s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction 222s return ufunc.reduce(obj, axis, dtype, out, **passkwargs) 222s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 222s return np.array(self[...], *args, **kwargs) 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\xed\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _________ TestArrayWithFSStoreNestedPartialRead.test_array_dtype_shape _________ 222s 222s self = 222s 222s def test_array_dtype_shape(self): 222s dt = "(2, 2)f4" 222s # setup some data 222s d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt) 222s 222s for a in (d, d[:0]): 222s for fill_value in None, 0: 222s z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value) 222s assert len(a) == len(z) 222s if fill_value is not None: 222s assert fill_value == z.fill_value 222s z[...] = a 222s > assert_array_equal(a, z[...]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1101: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _________ TestArrayWithFSStoreNestedPartialRead.test_structured_array __________ 222s 222s self = 222s 222s def test_structured_array(self): 222s d = np.array( 222s [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)], 222s dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")], 222s ) 222s fill_values = None, b"", (b"zzz", 42, 16.8) 222s > self.check_structured_array(d, fill_values) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1151: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 222s assert a[0] == z[0] 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ____ TestArrayWithFSStoreNestedPartialRead.test_structured_array_subshapes _____ 222s 222s self = 222s 222s def test_structured_array_subshapes(self): 222s d = np.array( 222s [ 222s (0, ((0, 1, 2), (1, 2, 3)), b"aaa"), 222s (1, ((1, 2, 3), (2, 3, 4)), b"bbb"), 222s (2, ((2, 3, 4), (3, 4, 5)), b"ccc"), 222s ], 222s dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")], 222s ) 222s fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz") 222s > self.check_structured_array(d, fill_values) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1163: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 222s assert a[0] == z[0] 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ______ TestArrayWithFSStoreNestedPartialRead.test_structured_array_nested ______ 222s 222s self = 222s 222s def test_structured_array_nested(self): 222s d = np.array( 222s [ 222s (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"), 222s (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"), 222s (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"), 222s ], 222s dtype=[ 222s ("foo", "i8"), 222s ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]), 222s ("baz", "S3"), 222s ], 222s ) 222s fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz") 222s > self.check_structured_array(d, fill_values) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1179: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 222s assert a[0] == z[0] 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ______________ TestArrayWithFSStoreNestedPartialRead.test_dtypes _______________ 222s 222s self = 222s 222s def test_dtypes(self): 222s # integers 222s for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8": 222s z = self.create_array(shape=10, chunks=3, dtype=dtype) 222s assert z.dtype == np.dtype(dtype) 222s a = np.arange(z.shape[0], dtype=dtype) 222s z[:] = a 222s > assert_array_equal(a, z[:]) 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1188: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _______________ TestArrayWithFSStoreNestedPartialRead.test_iter ________________ 222s 222s self = 222s 222s def test_iter(self): 222s params = ( 222s ((1,), (1,)), 222s ((2,), (1,)), 222s ((1,), (2,)), 222s ((3,), (3,)), 222s ((1000,), (100,)), 222s ((100,), (1000,)), 222s ((1, 100), (1, 1)), 222s ((1, 0), (1, 1)), 222s ((0, 1), (1, 1)), 222s ((0, 1), (2, 1)), 222s ((100, 1), (3, 1)), 222s ((100, 100), (10, 10)), 222s ((10, 10, 10), (3, 3, 3)), 222s ) 222s for shape, chunks in params: 222s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 222s a = np.arange(np.prod(shape)).reshape(shape) 222s z[:] = a 222s > for expect, actual in zip_longest(a, z): 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1531: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 222s chunk = self[j : j + chunk_size] 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s ______________ TestArrayWithFSStoreNestedPartialRead.test_islice _______________ 222s 222s self = 222s 222s def test_islice(self): 222s params = ( 222s ((1,), (1,), 0, 1), 222s ((2,), (1,), 0, 1), 222s ((1,), (2,), 0, 1), 222s ((3,), (3,), 1, 2), 222s ((1000,), (100,), 150, 1050), 222s ((100,), (1000,), 25, 75), 222s ((1, 100), (1, 1), 0, 1), 222s ((100, 1), (3, 1), 56, 100), 222s ((100, 100), (10, 10), 13, 99), 222s ((10, 10, 10), (3, 3, 3), 2, 4), 222s ) 222s for shape, chunks, start, end in params: 222s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 222s a = np.arange(np.prod(shape)).reshape(shape) 222s z[:] = a 222s end_array = min(end, a.shape[0]) 222s > for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)): 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1553: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 222s chunk = self[j : j + chunk_size] 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _____________ TestArrayWithFSStoreNestedPartialRead.test_non_cont ______________ 222s 222s self = 222s 222s def test_non_cont(self): 222s z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype=" assert z[0, :, 0].any() 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2503: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 222s result = self.get_orthogonal_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x01!\x04 \xa1\x07\x00 \xa1\x07\x00\xf8\x07\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _ TestArrayWithFSStoreNestedPartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _ 222s 222s self = 222s 222s def test_read_nitems_less_than_blocksize_from_multiple_chunks(self): 222s """Tests to make sure decompression doesn't fail when `nitems` is 222s less than a compressed block size, but covers multiple blocks 222s """ 222s z = self.create_array(shape=1000000, chunks=100_000) 222s z[40_000:80_000] = 1 222s path = None if self.version == 2 else z.path 222s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 222s > assert (b[40_000:80_000] == 1).all() 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2513: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xdc\x0c\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s _______ TestArrayWithFSStoreNestedPartialRead.test_read_from_all_blocks ________ 222s 222s self = 222s 222s def test_read_from_all_blocks(self): 222s """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when 222s stop isn't in the `start_points` array 222s """ 222s z = self.create_array(shape=1000000, chunks=100_000) 222s z[2:99_000] = 1 222s path = None if self.version == 2 else z.path 222s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 222s > assert (b[2:99_000] == 1).all() 222s 222s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2523: 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 222s result = self.get_basic_selection(pure_selection, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 222s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 222s return self._get_selection(indexer=indexer, out=out, fields=fields) 222s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 222s self._chunk_getitems( 222s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 222s self._process_chunk( 222s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 222s cdata.prepare_chunk() 222s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 222s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 222s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 222s 222s wrapped_ = , instance_ = None 222s args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xe0\x0c\x00\x00',) 222s kwargs_ = {} 222s 222s @wrapt.decorator 222s def wrapper_function(wrapped_, instance_, args_, kwargs_): 222s msg = self.get_deprecated_msg(wrapped_, instance_) 222s stacklevel = _routine_stacklevel + self.extra_stacklevel 222s if self.action: 222s with warnings.catch_warnings(): 222s warnings.simplefilter(self.action, self.category) 222s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s else: 222s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 222s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 222s 222s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 222s =============================== warnings summary =============================== 222s tests/test_core.py::TestArrayWithDBMStore::test_array_order 222s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: 222s 222s Traceback (most recent call last): 222s File "/usr/lib/python3/dist-packages/zarr/indexing.py", line 355, in 222s chunk_coords = tuple(p.dim_chunk_ix for p in dim_projections) 222s 222s ResourceWarning: unclosed database in 222s 222s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 222s 222s tests/test_core.py::TestArrayWithDBMStore::test_object_arrays_danger 222s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: 222s 222s Traceback (most recent call last): 222s File "/usr/lib/python3/dist-packages/zarr/indexing.py", line 356, in 222s chunk_selection = tuple(p.dim_chunk_sel for p in dim_projections) 222s 222s ResourceWarning: unclosed database in 222s 222s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 222s 222s tests/test_core.py::TestArrayWithSQLiteStore::test_array_1d_fill_value 222s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: 222s 222s Traceback (most recent call last): 222s File "/usr/lib/python3/dist-packages/zarr/indexing.py", line 356, in 222s chunk_selection = tuple(p.dim_chunk_sel for p in dim_projections) 222s 222s ResourceWarning: unclosed database in 222s 222s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 222s 222s tests/test_core.py::TestArrayWithSQLiteStore::test_object_arrays_vlen_text 222s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: 222s 222s Traceback (most recent call last): 222s File "/usr/lib/python3/dist-packages/zarr/indexing.py", line 240, in 222s n_ellipsis = sum(1 for i in selection if i is Ellipsis) 222s 222s ResourceWarning: unclosed database in 222s 222s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 222s 222s tests/test_core.py::TestArrayWithNoCompressor::test_array_2d 222s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: 222s 222s Traceback (most recent call last): 222s File "/usr/lib/python3/dist-packages/zarr/indexing.py", line 355, in 222s chunk_coords = tuple(p.dim_chunk_ix for p in dim_projections) 222s 222s ResourceWarning: unclosed database in 222s 222s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 222s 222s tests/test_storage.py::TestZipStore::test_store_and_retrieve_ndarray 222s /usr/lib/python3.13/zipfile/__init__.py:1638: UserWarning: Duplicate name: 'foo' 222s return self._open_to_write(zinfo, force_zip64=force_zip64) 222s 222s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_setitem 222s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_setitem 222s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_append 222s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_append 222s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_create_group 222s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_create_group 222s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_require_group 222s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_require_group 222s /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=3066) is multi-threaded, use of fork() may lead to deadlocks in the child. 222s self.pid = os.fork() 222s 222s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 222s ============================= slowest 10 durations ============================= 222s 4.55s call tests/test_indexing.py::test_set_orthogonal_selection_3d 222s 1.32s call tests/test_storage.py::test_format_compatibility 222s 1.02s call tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont 222s 0.76s call tests/test_indexing.py::test_set_orthogonal_selection_2d 222s 0.42s call tests/test_core.py::TestArrayWithFSStore::test_object_arrays_vlen_array 222s 0.41s call tests/test_core.py::TestArrayWithFSStoreNested::test_object_arrays_vlen_array 222s 0.41s call tests/test_core.py::TestArrayWithBZ2Compressor::test_object_arrays_vlen_array 222s 0.41s call tests/test_core.py::TestArrayWithDirectoryStore::test_object_arrays_vlen_array 222s 0.41s call tests/test_core.py::TestArrayWithFSStorePartialRead::test_object_arrays_vlen_array 222s 0.41s call tests/test_sync.py::TestArrayWithProcessSynchronizer::test_object_arrays_vlen_array 222s =========================== short test summary info ============================ 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d - D... 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_fill_value 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_selections 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d - D... 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_edge_case 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_partial 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_order 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_1d - ... 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_2d - ... 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_1d - ... 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d - ... 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d_axis 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_np_ufuncs - ... 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_dtype_shape 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_subshapes 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_nested 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_dtypes - Dep... 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_iter - Depre... 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_islice - Dep... 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont - D... 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks 222s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_from_all_blocks 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_fill_value 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_selections 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_edge_case 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_partial 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_order 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_1d 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_2d 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_1d 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d_axis 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_np_ufuncs 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_dtype_shape 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_subshapes 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_nested 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_dtypes 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_iter 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_islice 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_non_cont 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks 222s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_from_all_blocks 222s = 46 failed, 2204 passed, 2004 skipped, 717 deselected, 4 xfailed, 14 warnings in 39.98s = 223s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.YaEwg9/autopkgtest_tmp/build; python3.13 -m pytest -k "not test_hierarchy and not test_complex and not test_array_with_delta_filter and not test_utf8_encoding and not [static_flat] and not [static_nested] and not [static_flat_legacy] and not [static_nested_legacy] and not test_meta_prefix_6853 and not test_encode_decode_array_dtype_shape_v3" --pyargs zarr 223s I: pybuild base:311: cd /tmp/autopkgtest.YaEwg9/autopkgtest_tmp/build; python3.12 -m pytest -k "not test_hierarchy and not test_complex and not test_array_with_delta_filter and not test_utf8_encoding and not [static_flat] and not [static_nested] and not [static_flat_legacy] and not [static_nested_legacy] and not test_meta_prefix_6853 and not test_encode_decode_array_dtype_shape_v3" --pyargs zarr 225s ============================= test session starts ============================== 225s platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 225s rootdir: /tmp/autopkgtest.YaEwg9/autopkgtest_tmp/build 225s configfile: pyproject.toml 225s plugins: timeout-2.3.1, typeguard-4.4.1, doctestplus-1.3.0 225s collected 4975 items / 717 deselected / 4258 selected 225s 225s tests/test_attrs.py .................. [ 0%] 225s tests/test_convenience.py .....ss...................ssssssss.s.......... [ 1%] 225s ..................................................ssssssssssssssssssssss [ 3%] 225s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 4%] 225s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 6%] 225s ssssssssssssss [ 6%] 226s tests/test_core.py ..................................................... [ 8%] 227s ........................................................................ [ 9%] 229s ................................................................ssssssss [ 11%] 229s sssssssssssssssssssssssssssssssssssssss................................. [ 13%] 230s ........................................................................ [ 14%] 231s ........................................................................ [ 16%] 232s .............sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 18%] 233s sssssssssssssssssssssssssssssssssss..................................... [ 19%] 234s ........................................................................ [ 21%] 236s ........................................................................ [ 23%] 237s ........................................................................ [ 25%] 238s ........................................................................ [ 26%] 238s ........................................................................ [ 28%] 240s ........................................................................ [ 30%] 242s .........................................................FF.FFFFF..FFFFF [ 31%] 246s ...F....FFFFF......s.FF....FFF.......................................... [ 33%] 250s ..........FF.FFFFF..FFFFF...F....FFFFF......s.FF....FFFsssssssssssssssss [ 35%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 36%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 38%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 40%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 41%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 43%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 45%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 47%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 48%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 50%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 52%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 53%] 250s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 55%] 251s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...... [ 57%] 251s [ 57%] 251s tests/test_creation.py ................................................. [ 58%] 251s ..................................ss..... [ 59%] 251s tests/test_dim_separator.py ..........................x....x [ 60%] 251s tests/test_filters.py ...... [ 60%] 257s tests/test_indexing.py ................................................. [ 61%] 258s ......xx...... [ 61%] 258s tests/test_info.py .. [ 61%] 258s tests/test_meta.py ......................... [ 62%] 258s tests/test_meta_array.py .sss.sss.sss.sss.sss.sss.sss.sss..ssssss..sssss [ 63%] 258s s..ssssss..ssssss [ 63%] 258s tests/test_n5.py ..... [ 63%] 258s tests/test_storage.py ...................s........................s..... [ 65%] 258s ...................s.................................................... [ 66%] 258s .......................ss..............s................................ [ 68%] 258s ........................................................................ [ 70%] 258s ....................ss.................................................. [ 71%] 258s .............s.......................................................... [ 73%] 258s ........................................................................ [ 75%] 258s .....ssssssssssssssssssssssss........................................... [ 76%] 258s .......ssssssssssssssssssssssssssssssssssssssssssssssss.............s... [ 78%] 259s ..............ssssssssssssssssssssssssss....... [ 79%] 259s tests/test_storage_v3.py sssssssssssssssssssssssssssssssssssssssssssssss [ 80%] 259s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 82%] 259s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 84%] 259s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 85%] 259s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 87%] 259s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 89%] 259s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 90%] 259s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 92%] 259s ssssssssssssss [ 93%] 259s tests/test_sync.py ..................................................... [ 94%] 260s ........................................................................ [ 95%] 261s ........................................................................ [ 97%] 262s ........................................................................ [ 99%] 263s ........... [ 99%] 263s tests/test_util.py .................. [100%] 263s 263s =================================== FAILURES =================================== 263s ________________ TestArrayWithFSStorePartialRead.test_array_1d _________________ 263s 263s self = 263s 263s def test_array_1d(self): 263s a = np.arange(1050) 263s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 263s 263s # check properties 263s assert len(a) == len(z) 263s assert a.ndim == z.ndim 263s assert a.shape == z.shape 263s assert a.dtype == z.dtype 263s assert (100,) == z.chunks 263s assert a.nbytes == z.nbytes 263s assert 11 == z.nchunks 263s assert 0 == z.nchunks_initialized 263s assert (11,) == z.cdata_shape 263s 263s # check empty 263s b = z[:] 263s assert isinstance(b, np.ndarray) 263s assert a.shape == b.shape 263s assert a.dtype == b.dtype 263s 263s # check attributes 263s z.attrs["foo"] = "bar" 263s assert "bar" == z.attrs["foo"] 263s 263s # set data 263s z[:] = a 263s 263s # check properties 263s assert a.nbytes == z.nbytes 263s assert 11 == z.nchunks 263s assert 11 == z.nchunks_initialized 263s 263s # check slicing 263s > assert_array_equal(a, np.array(z)) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:288: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 263s return np.array(self[...], *args, **kwargs) 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ___________ TestArrayWithFSStorePartialRead.test_array_1d_fill_value ___________ 263s 263s self = 263s 263s def test_array_1d_fill_value(self): 263s for fill_value in -1, 0, 1, 10: 263s a = np.arange(1050) 263s f = np.empty_like(a) 263s f.fill(fill_value) 263s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value) 263s z[190:310] = a[190:310] 263s 263s > assert_array_equal(f[:190], z[:190]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:344: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00}\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ___________ TestArrayWithFSStorePartialRead.test_array_1d_selections ___________ 263s 263s self = 263s 263s def test_array_1d_selections(self): 263s # light test here, full tests in test_indexing 263s 263s # setup 263s a = np.arange(1050) 263s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 263s z[:] = a 263s 263s # get 263s > assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150))) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:378: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xd2\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ________________ TestArrayWithFSStorePartialRead.test_array_2d _________________ 263s 263s self = 263s 263s def test_array_2d(self): 263s a = np.arange(10000).reshape((1000, 10)) 263s z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype) 263s 263s # check properties 263s assert len(a) == len(z) 263s assert a.ndim == z.ndim 263s assert a.shape == z.shape 263s assert a.dtype == z.dtype 263s assert (100, 2) == z.chunks 263s assert 0 == z.nchunks_initialized 263s assert (10, 5) == z.cdata_shape 263s 263s # set data 263s z[:] = a 263s 263s # check properties 263s assert a.nbytes == z.nbytes 263s assert 50 == z.nchunks_initialized 263s 263s # check array-like 263s > assert_array_equal(a, np.array(z)) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:440: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 263s return np.array(self[...], *args, **kwargs) 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08@\x06\x00\x00\x00\x01\x00\x00\xb2\x01\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ___________ TestArrayWithFSStorePartialRead.test_array_2d_edge_case ____________ 263s 263s self = 263s 263s def test_array_2d_edge_case(self): 263s # this fails with filters - chunks extend beyond edge of array, messes with delta 263s # filter if no fill value? 263s shape = 1000, 10 263s chunks = 300, 30 263s dtype = "i8" 263s z = self.create_array(shape=shape, dtype=dtype, chunks=chunks) 263s z[:] = 0 263s expect = np.zeros(shape, dtype=dtype) 263s > actual = z[:] 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:537: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08@\x19\x01\x00\x00\x01\x00\x00\xfe\x14\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ____________ TestArrayWithFSStorePartialRead.test_array_2d_partial _____________ 263s 263s self = 263s 263s def test_array_2d_partial(self): 263s z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0) 263s 263s # check partial assignment, single row 263s c = np.arange(z.shape[1]) 263s z[0, :] = c 263s with pytest.raises(ValueError): 263s # N.B., NumPy allows this, but we'll be strict for now 263s z[2:3] = c 263s with pytest.raises(ValueError): 263s # N.B., NumPy allows this, but we'll be strict for now 263s z[-1:] = c 263s z[2:3] = c[None, :] 263s z[-1:] = c[None, :] 263s > assert_array_equal(c, z[0, :]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:556: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 263s result = self.get_orthogonal_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x04 \x03\x00\x00\x00\x01\x00\x00f\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _______________ TestArrayWithFSStorePartialRead.test_array_order _______________ 263s 263s self = 263s 263s def test_array_order(self): 263s # 1D 263s a = np.arange(1050) 263s for order in "C", "F": 263s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order) 263s assert order == z.order 263s if order == "F": 263s assert z[:].flags.f_contiguous 263s else: 263s assert z[:].flags.c_contiguous 263s z[:] = a 263s > assert_array_equal(a, z[:]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:594: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ________________ TestArrayWithFSStorePartialRead.test_resize_1d ________________ 263s 263s self = 263s 263s def test_resize_1d(self): 263s z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0) 263s a = np.arange(105, dtype="i4") 263s z[:] = a 263s assert (105,) == z.shape 263s > assert (105,) == z[:].shape 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:679: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ________________ TestArrayWithFSStorePartialRead.test_resize_2d ________________ 263s 263s self = 263s 263s def test_resize_2d(self): 263s z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0) 263s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 263s z[:] = a 263s assert (105, 105) == z.shape 263s > assert (105, 105) == z[:].shape 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:714: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ________________ TestArrayWithFSStorePartialRead.test_append_1d ________________ 263s 263s self = 263s 263s def test_append_1d(self): 263s a = np.arange(105) 263s z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype) 263s z[:] = a 263s assert a.shape == z.shape 263s assert a.dtype == z.dtype 263s assert (10,) == z.chunks 263s > assert_array_equal(a, z[:]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:776: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ________________ TestArrayWithFSStorePartialRead.test_append_2d ________________ 263s 263s self = 263s 263s def test_append_2d(self): 263s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 263s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 263s z[:] = a 263s assert a.shape == z.shape 263s assert a.dtype == z.dtype 263s assert (10, 10) == z.chunks 263s > actual = z[:] 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:804: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _____________ TestArrayWithFSStorePartialRead.test_append_2d_axis ______________ 263s 263s self = 263s 263s def test_append_2d_axis(self): 263s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 263s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 263s z[:] = a 263s assert a.shape == z.shape 263s assert a.dtype == z.dtype 263s assert (10, 10) == z.chunks 263s > assert_array_equal(a, z[:]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:825: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ________________ TestArrayWithFSStorePartialRead.test_np_ufuncs ________________ 263s 263s self = 263s 263s def test_np_ufuncs(self): 263s z = self.create_array(shape=(100, 100), chunks=(10, 10)) 263s a = np.arange(10000).reshape(100, 100) 263s z[:] = a 263s 263s > assert np.sum(a) == np.sum(z) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:917: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum 263s return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims, 263s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction 263s return ufunc.reduce(obj, axis, dtype, out, **passkwargs) 263s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 263s return np.array(self[...], *args, **kwargs) 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00-\x01\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ____________ TestArrayWithFSStorePartialRead.test_array_dtype_shape ____________ 263s 263s self = 263s 263s def test_array_dtype_shape(self): 263s dt = "(2, 2)f4" 263s # setup some data 263s d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt) 263s 263s for a in (d, d[:0]): 263s for fill_value in None, 0: 263s z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value) 263s assert len(a) == len(z) 263s if fill_value is not None: 263s assert fill_value == z.fill_value 263s z[...] = a 263s > assert_array_equal(a, z[...]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1101: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ____________ TestArrayWithFSStorePartialRead.test_structured_array _____________ 263s 263s self = 263s 263s def test_structured_array(self): 263s d = np.array( 263s [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)], 263s dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")], 263s ) 263s fill_values = None, b"", (b"zzz", 42, 16.8) 263s > self.check_structured_array(d, fill_values) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1151: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 263s assert a[0] == z[0] 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _______ TestArrayWithFSStorePartialRead.test_structured_array_subshapes ________ 263s 263s self = 263s 263s def test_structured_array_subshapes(self): 263s d = np.array( 263s [ 263s (0, ((0, 1, 2), (1, 2, 3)), b"aaa"), 263s (1, ((1, 2, 3), (2, 3, 4)), b"bbb"), 263s (2, ((2, 3, 4), (3, 4, 5)), b"ccc"), 263s ], 263s dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")], 263s ) 263s fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz") 263s > self.check_structured_array(d, fill_values) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1163: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 263s assert a[0] == z[0] 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _________ TestArrayWithFSStorePartialRead.test_structured_array_nested _________ 263s 263s self = 263s 263s def test_structured_array_nested(self): 263s d = np.array( 263s [ 263s (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"), 263s (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"), 263s (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"), 263s ], 263s dtype=[ 263s ("foo", "i8"), 263s ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]), 263s ("baz", "S3"), 263s ], 263s ) 263s fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz") 263s > self.check_structured_array(d, fill_values) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1179: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 263s assert a[0] == z[0] 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _________________ TestArrayWithFSStorePartialRead.test_dtypes __________________ 263s 263s self = 263s 263s def test_dtypes(self): 263s # integers 263s for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8": 263s z = self.create_array(shape=10, chunks=3, dtype=dtype) 263s assert z.dtype == np.dtype(dtype) 263s a = np.arange(z.shape[0], dtype=dtype) 263s z[:] = a 263s > assert_array_equal(a, z[:]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1188: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s __________________ TestArrayWithFSStorePartialRead.test_iter ___________________ 263s 263s self = 263s 263s def test_iter(self): 263s params = ( 263s ((1,), (1,)), 263s ((2,), (1,)), 263s ((1,), (2,)), 263s ((3,), (3,)), 263s ((1000,), (100,)), 263s ((100,), (1000,)), 263s ((1, 100), (1, 1)), 263s ((1, 0), (1, 1)), 263s ((0, 1), (1, 1)), 263s ((0, 1), (2, 1)), 263s ((100, 1), (3, 1)), 263s ((100, 100), (10, 10)), 263s ((10, 10, 10), (3, 3, 3)), 263s ) 263s for shape, chunks in params: 263s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 263s a = np.arange(np.prod(shape)).reshape(shape) 263s z[:] = a 263s > for expect, actual in zip_longest(a, z): 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1531: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 263s chunk = self[j : j + chunk_size] 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _________________ TestArrayWithFSStorePartialRead.test_islice __________________ 263s 263s self = 263s 263s def test_islice(self): 263s params = ( 263s ((1,), (1,), 0, 1), 263s ((2,), (1,), 0, 1), 263s ((1,), (2,), 0, 1), 263s ((3,), (3,), 1, 2), 263s ((1000,), (100,), 150, 1050), 263s ((100,), (1000,), 25, 75), 263s ((1, 100), (1, 1), 0, 1), 263s ((100, 1), (3, 1), 56, 100), 263s ((100, 100), (10, 10), 13, 99), 263s ((10, 10, 10), (3, 3, 3), 2, 4), 263s ) 263s for shape, chunks, start, end in params: 263s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 263s a = np.arange(np.prod(shape)).reshape(shape) 263s z[:] = a 263s end_array = min(end, a.shape[0]) 263s > for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)): 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1553: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 263s chunk = self[j : j + chunk_size] 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ________________ TestArrayWithFSStorePartialRead.test_non_cont _________________ 263s 263s self = 263s 263s def test_non_cont(self): 263s z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype=" assert z[0, :, 0].any() 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2446: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 263s result = self.get_orthogonal_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x04 \xa1\x07\x00\x00\x01\x00\x00>\xb7\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _ TestArrayWithFSStorePartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _ 263s 263s self = 263s 263s def test_read_nitems_less_than_blocksize_from_multiple_chunks(self): 263s """Tests to make sure decompression doesn't fail when `nitems` is 263s less than a compressed block size, but covers multiple blocks 263s """ 263s z = self.create_array(shape=1000000, chunks=100_000) 263s z[40_000:80_000] = 1 263s path = None if self.version == 2 else z.path 263s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 263s > assert (b[40_000:80_000] == 1).all() 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2456: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xd3\x18\x01\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s __________ TestArrayWithFSStorePartialRead.test_read_from_all_blocks ___________ 263s 263s self = 263s 263s def test_read_from_all_blocks(self): 263s """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when 263s stop isn't in the `start_points` array 263s """ 263s z = self.create_array(shape=1000000, chunks=100_000) 263s z[2:99_000] = 1 263s path = None if self.version == 2 else z.path 263s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 263s > assert (b[2:99_000] == 1).all() 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2466: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xe7`\x01\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _____________ TestArrayWithFSStoreNestedPartialRead.test_array_1d ______________ 263s 263s self = 263s 263s def test_array_1d(self): 263s a = np.arange(1050) 263s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 263s 263s # check properties 263s assert len(a) == len(z) 263s assert a.ndim == z.ndim 263s assert a.shape == z.shape 263s assert a.dtype == z.dtype 263s assert (100,) == z.chunks 263s assert a.nbytes == z.nbytes 263s assert 11 == z.nchunks 263s assert 0 == z.nchunks_initialized 263s assert (11,) == z.cdata_shape 263s 263s # check empty 263s b = z[:] 263s assert isinstance(b, np.ndarray) 263s assert a.shape == b.shape 263s assert a.dtype == b.dtype 263s 263s # check attributes 263s z.attrs["foo"] = "bar" 263s assert "bar" == z.attrs["foo"] 263s 263s # set data 263s z[:] = a 263s 263s # check properties 263s assert a.nbytes == z.nbytes 263s assert 11 == z.nchunks 263s assert 11 == z.nchunks_initialized 263s 263s # check slicing 263s > assert_array_equal(a, np.array(z)) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:288: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 263s return np.array(self[...], *args, **kwargs) 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_fill_value ________ 263s 263s self = 263s 263s def test_array_1d_fill_value(self): 263s for fill_value in -1, 0, 1, 10: 263s a = np.arange(1050) 263s f = np.empty_like(a) 263s f.fill(fill_value) 263s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value) 263s z[190:310] = a[190:310] 263s 263s > assert_array_equal(f[:190], z[:190]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:344: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00?\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_selections ________ 263s 263s self = 263s 263s def test_array_1d_selections(self): 263s # light test here, full tests in test_indexing 263s 263s # setup 263s a = np.arange(1050) 263s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 263s z[:] = a 263s 263s # get 263s > assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150))) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:378: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\x8e\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _____________ TestArrayWithFSStoreNestedPartialRead.test_array_2d ______________ 263s 263s self = 263s 263s def test_array_2d(self): 263s a = np.arange(10000).reshape((1000, 10)) 263s z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype) 263s 263s # check properties 263s assert len(a) == len(z) 263s assert a.ndim == z.ndim 263s assert a.shape == z.shape 263s assert a.dtype == z.dtype 263s assert (100, 2) == z.chunks 263s assert 0 == z.nchunks_initialized 263s assert (10, 5) == z.cdata_shape 263s 263s # set data 263s z[:] = a 263s 263s # check properties 263s assert a.nbytes == z.nbytes 263s assert 50 == z.nchunks_initialized 263s 263s # check array-like 263s > assert_array_equal(a, np.array(z)) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:440: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 263s return np.array(self[...], *args, **kwargs) 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x01!\x08@\x06\x00\x00@\x06\x00\x00X\x01\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_edge_case _________ 263s 263s self = 263s 263s def test_array_2d_edge_case(self): 263s # this fails with filters - chunks extend beyond edge of array, messes with delta 263s # filter if no fill value? 263s shape = 1000, 10 263s chunks = 300, 30 263s dtype = "i8" 263s z = self.create_array(shape=shape, dtype=dtype, chunks=chunks) 263s z[:] = 0 263s expect = np.zeros(shape, dtype=dtype) 263s > actual = z[:] 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:537: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x01!\x08@\x19\x01\x00@\x19\x01\x00\xa4\x01\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_partial __________ 263s 263s self = 263s 263s def test_array_2d_partial(self): 263s z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0) 263s 263s # check partial assignment, single row 263s c = np.arange(z.shape[1]) 263s z[0, :] = c 263s with pytest.raises(ValueError): 263s # N.B., NumPy allows this, but we'll be strict for now 263s z[2:3] = c 263s with pytest.raises(ValueError): 263s # N.B., NumPy allows this, but we'll be strict for now 263s z[-1:] = c 263s z[2:3] = c[None, :] 263s z[-1:] = c[None, :] 263s > assert_array_equal(c, z[0, :]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:556: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 263s result = self.get_orthogonal_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x01!\x04 \x03\x00\x00 \x03\x00\x00Z\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ____________ TestArrayWithFSStoreNestedPartialRead.test_array_order ____________ 263s 263s self = 263s 263s def test_array_order(self): 263s # 1D 263s a = np.arange(1050) 263s for order in "C", "F": 263s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order) 263s assert order == z.order 263s if order == "F": 263s assert z[:].flags.f_contiguous 263s else: 263s assert z[:].flags.c_contiguous 263s z[:] = a 263s > assert_array_equal(a, z[:]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:594: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_1d _____________ 263s 263s self = 263s 263s def test_resize_1d(self): 263s z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0) 263s a = np.arange(105, dtype="i4") 263s z[:] = a 263s assert (105,) == z.shape 263s > assert (105,) == z[:].shape 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:679: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_2d _____________ 263s 263s self = 263s 263s def test_resize_2d(self): 263s z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0) 263s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 263s z[:] = a 263s assert (105, 105) == z.shape 263s > assert (105, 105) == z[:].shape 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:714: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _____________ TestArrayWithFSStoreNestedPartialRead.test_append_1d _____________ 263s 263s self = 263s 263s def test_append_1d(self): 263s a = np.arange(105) 263s z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype) 263s z[:] = a 263s assert a.shape == z.shape 263s assert a.dtype == z.dtype 263s assert (10,) == z.chunks 263s > assert_array_equal(a, z[:]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:776: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _____________ TestArrayWithFSStoreNestedPartialRead.test_append_2d _____________ 263s 263s self = 263s 263s def test_append_2d(self): 263s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 263s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 263s z[:] = a 263s assert a.shape == z.shape 263s assert a.dtype == z.dtype 263s assert (10, 10) == z.chunks 263s > actual = z[:] 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:804: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s __________ TestArrayWithFSStoreNestedPartialRead.test_append_2d_axis ___________ 263s 263s self = 263s 263s def test_append_2d_axis(self): 263s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 263s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 263s z[:] = a 263s assert a.shape == z.shape 263s assert a.dtype == z.dtype 263s assert (10, 10) == z.chunks 263s > assert_array_equal(a, z[:]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:825: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _____________ TestArrayWithFSStoreNestedPartialRead.test_np_ufuncs _____________ 263s 263s self = 263s 263s def test_np_ufuncs(self): 263s z = self.create_array(shape=(100, 100), chunks=(10, 10)) 263s a = np.arange(10000).reshape(100, 100) 263s z[:] = a 263s 263s > assert np.sum(a) == np.sum(z) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:917: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum 263s return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims, 263s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction 263s return ufunc.reduce(obj, axis, dtype, out, **passkwargs) 263s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 263s return np.array(self[...], *args, **kwargs) 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\xed\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _________ TestArrayWithFSStoreNestedPartialRead.test_array_dtype_shape _________ 263s 263s self = 263s 263s def test_array_dtype_shape(self): 263s dt = "(2, 2)f4" 263s # setup some data 263s d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt) 263s 263s for a in (d, d[:0]): 263s for fill_value in None, 0: 263s z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value) 263s assert len(a) == len(z) 263s if fill_value is not None: 263s assert fill_value == z.fill_value 263s z[...] = a 263s > assert_array_equal(a, z[...]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1101: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _________ TestArrayWithFSStoreNestedPartialRead.test_structured_array __________ 263s 263s self = 263s 263s def test_structured_array(self): 263s d = np.array( 263s [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)], 263s dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")], 263s ) 263s fill_values = None, b"", (b"zzz", 42, 16.8) 263s > self.check_structured_array(d, fill_values) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1151: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 263s assert a[0] == z[0] 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ____ TestArrayWithFSStoreNestedPartialRead.test_structured_array_subshapes _____ 263s 263s self = 263s 263s def test_structured_array_subshapes(self): 263s d = np.array( 263s [ 263s (0, ((0, 1, 2), (1, 2, 3)), b"aaa"), 263s (1, ((1, 2, 3), (2, 3, 4)), b"bbb"), 263s (2, ((2, 3, 4), (3, 4, 5)), b"ccc"), 263s ], 263s dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")], 263s ) 263s fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz") 263s > self.check_structured_array(d, fill_values) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1163: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 263s assert a[0] == z[0] 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ______ TestArrayWithFSStoreNestedPartialRead.test_structured_array_nested ______ 263s 263s self = 263s 263s def test_structured_array_nested(self): 263s d = np.array( 263s [ 263s (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"), 263s (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"), 263s (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"), 263s ], 263s dtype=[ 263s ("foo", "i8"), 263s ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]), 263s ("baz", "S3"), 263s ], 263s ) 263s fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz") 263s > self.check_structured_array(d, fill_values) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1179: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 263s assert a[0] == z[0] 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ______________ TestArrayWithFSStoreNestedPartialRead.test_dtypes _______________ 263s 263s self = 263s 263s def test_dtypes(self): 263s # integers 263s for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8": 263s z = self.create_array(shape=10, chunks=3, dtype=dtype) 263s assert z.dtype == np.dtype(dtype) 263s a = np.arange(z.shape[0], dtype=dtype) 263s z[:] = a 263s > assert_array_equal(a, z[:]) 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1188: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _______________ TestArrayWithFSStoreNestedPartialRead.test_iter ________________ 263s 263s self = 263s 263s def test_iter(self): 263s params = ( 263s ((1,), (1,)), 263s ((2,), (1,)), 263s ((1,), (2,)), 263s ((3,), (3,)), 263s ((1000,), (100,)), 263s ((100,), (1000,)), 263s ((1, 100), (1, 1)), 263s ((1, 0), (1, 1)), 263s ((0, 1), (1, 1)), 263s ((0, 1), (2, 1)), 263s ((100, 1), (3, 1)), 263s ((100, 100), (10, 10)), 263s ((10, 10, 10), (3, 3, 3)), 263s ) 263s for shape, chunks in params: 263s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 263s a = np.arange(np.prod(shape)).reshape(shape) 263s z[:] = a 263s > for expect, actual in zip_longest(a, z): 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1531: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 263s chunk = self[j : j + chunk_size] 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s ______________ TestArrayWithFSStoreNestedPartialRead.test_islice _______________ 263s 263s self = 263s 263s def test_islice(self): 263s params = ( 263s ((1,), (1,), 0, 1), 263s ((2,), (1,), 0, 1), 263s ((1,), (2,), 0, 1), 263s ((3,), (3,), 1, 2), 263s ((1000,), (100,), 150, 1050), 263s ((100,), (1000,), 25, 75), 263s ((1, 100), (1, 1), 0, 1), 263s ((100, 1), (3, 1), 56, 100), 263s ((100, 100), (10, 10), 13, 99), 263s ((10, 10, 10), (3, 3, 3), 2, 4), 263s ) 263s for shape, chunks, start, end in params: 263s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 263s a = np.arange(np.prod(shape)).reshape(shape) 263s z[:] = a 263s end_array = min(end, a.shape[0]) 263s > for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)): 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1553: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 263s chunk = self[j : j + chunk_size] 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _____________ TestArrayWithFSStoreNestedPartialRead.test_non_cont ______________ 263s 263s self = 263s 263s def test_non_cont(self): 263s z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype=" assert z[0, :, 0].any() 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2503: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 263s result = self.get_orthogonal_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x01!\x04 \xa1\x07\x00 \xa1\x07\x00\xf8\x07\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _ TestArrayWithFSStoreNestedPartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _ 263s 263s self = 263s 263s def test_read_nitems_less_than_blocksize_from_multiple_chunks(self): 263s """Tests to make sure decompression doesn't fail when `nitems` is 263s less than a compressed block size, but covers multiple blocks 263s """ 263s z = self.create_array(shape=1000000, chunks=100_000) 263s z[40_000:80_000] = 1 263s path = None if self.version == 2 else z.path 263s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 263s > assert (b[40_000:80_000] == 1).all() 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2513: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xdc\x0c\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s _______ TestArrayWithFSStoreNestedPartialRead.test_read_from_all_blocks ________ 263s 263s self = 263s 263s def test_read_from_all_blocks(self): 263s """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when 263s stop isn't in the `start_points` array 263s """ 263s z = self.create_array(shape=1000000, chunks=100_000) 263s z[2:99_000] = 1 263s path = None if self.version == 2 else z.path 263s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 263s > assert (b[2:99_000] == 1).all() 263s 263s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2523: 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 263s result = self.get_basic_selection(pure_selection, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 263s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 263s return self._get_selection(indexer=indexer, out=out, fields=fields) 263s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 263s self._chunk_getitems( 263s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 263s self._process_chunk( 263s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 263s cdata.prepare_chunk() 263s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 263s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 263s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 263s 263s wrapped_ = , instance_ = None 263s args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xe0\x0c\x00\x00',) 263s kwargs_ = {} 263s 263s @wrapt.decorator 263s def wrapper_function(wrapped_, instance_, args_, kwargs_): 263s msg = self.get_deprecated_msg(wrapped_, instance_) 263s stacklevel = _routine_stacklevel + self.extra_stacklevel 263s if self.action: 263s with warnings.catch_warnings(): 263s warnings.simplefilter(self.action, self.category) 263s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s else: 263s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 263s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 263s 263s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 263s =============================== warnings summary =============================== 263s tests/test_storage.py::TestZipStore::test_store_and_retrieve_ndarray 263s /usr/lib/python3.12/zipfile/__init__.py:1607: UserWarning: Duplicate name: 'foo' 263s return self._open_to_write(zinfo, force_zip64=force_zip64) 263s 263s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_setitem 263s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_setitem 263s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_append 263s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_append 263s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_create_group 263s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_create_group 263s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_require_group 263s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_require_group 263s /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=3114) is multi-threaded, use of fork() may lead to deadlocks in the child. 263s self.pid = os.fork() 263s 263s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 263s ============================= slowest 10 durations ============================= 263s 4.53s call tests/test_indexing.py::test_set_orthogonal_selection_3d 263s 0.99s call tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont 263s 0.76s call tests/test_indexing.py::test_set_orthogonal_selection_2d 263s 0.47s call tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_non_cont 263s 0.42s call tests/test_core.py::TestArrayWithBZ2Compressor::test_object_arrays_vlen_array 263s 0.40s call tests/test_sync.py::TestArrayWithProcessSynchronizer::test_object_arrays_vlen_array 263s 0.40s call tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_object_arrays_vlen_array 263s 0.40s call tests/test_sync.py::TestArrayWithThreadSynchronizer::test_object_arrays_vlen_array 263s 0.40s call tests/test_sync.py::TestArray::test_object_arrays_vlen_array 263s 0.39s call tests/test_core.py::TestArrayWithSQLiteStore::test_object_arrays_vlen_array 263s =========================== short test summary info ============================ 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d - D... 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_fill_value 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_selections 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d - D... 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_edge_case 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_partial 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_order 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_1d - ... 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_2d - ... 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_1d - ... 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d - ... 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d_axis 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_np_ufuncs - ... 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_dtype_shape 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_subshapes 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_nested 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_dtypes - Dep... 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_iter - Depre... 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_islice - Dep... 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont - D... 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks 263s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_from_all_blocks 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_fill_value 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_selections 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_edge_case 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_partial 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_order 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_1d 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_2d 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_1d 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d_axis 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_np_ufuncs 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_dtype_shape 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_subshapes 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_nested 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_dtypes 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_iter 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_islice 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_non_cont 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks 263s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_from_all_blocks 263s = 46 failed, 2204 passed, 2004 skipped, 717 deselected, 4 xfailed, 9 warnings in 39.40s = 263s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.YaEwg9/autopkgtest_tmp/build; python3.12 -m pytest -k "not test_hierarchy and not test_complex and not test_array_with_delta_filter and not test_utf8_encoding and not [static_flat] and not [static_nested] and not [static_flat_legacy] and not [static_nested_legacy] and not test_meta_prefix_6853 and not test_encode_decode_array_dtype_shape_v3" --pyargs zarr 263s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 263s make: *** [/tmp/z2YKerXtPl/run:4: pybuild-autopkgtest] Error 25 263s pybuild-autopkgtest: error: /tmp/z2YKerXtPl/run pybuild-autopkgtest returned exit code 2 264s autopkgtest [17:05:05]: test pybuild-autopkgtest: -----------------------] 264s pybuild-autopkgtest FAIL non-zero exit status 25 264s autopkgtest [17:05:05]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 265s autopkgtest [17:05:06]: @@@@@@@@@@@@@@@@@@@@ summary 265s pybuild-autopkgtest FAIL non-zero exit status 25 281s nova [W] Skipping flock for amd64 281s Creating nova instance adt-plucky-amd64-zarr-20250118-170041-juju-7f2275-prod-proposed-migration-environment-15-82ef0fc4-8641-4512-9011-ccb9666378c6 from image adt/ubuntu-plucky-amd64-server-20250118.img (UUID e058fd01-4631-4391-b35e-268af134294d)... 281s nova [W] Timed out waiting for 17bc35ae-5763-4f30-9ff4-7d95881f8336 to get deleted.