0s autopkgtest [09:05:10]: starting date and time: 2025-01-18 09:05:10+0000 0s autopkgtest [09:05:10]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [09:05:10]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.u4krnp0l/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 autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-21.secgroup --name adt-plucky-arm64-zarr-20250118-090510-juju-7f2275-prod-proposed-migration-environment-15-4643ab32-3e36-4302-8640-fa67d88165af --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 101s autopkgtest [09:06:51]: testbed dpkg architecture: arm64 101s autopkgtest [09:06:51]: testbed apt version: 2.9.18 102s autopkgtest [09:06:52]: @@@@@@@@@@@@@@@@@@@@ test bed setup 102s autopkgtest [09:06:52]: testbed release detected to be: None 103s autopkgtest [09:06:53]: updating testbed package index (apt update) 103s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 103s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 103s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 103s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 103s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 103s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [156 kB] 104s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [823 kB] 104s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 104s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [285 kB] 104s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 104s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [963 kB] 104s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [10.5 kB] 104s Fetched 2393 kB in 1s (2415 kB/s) 105s Reading package lists... 105s Reading package lists... 106s Building dependency tree... 106s Reading state information... 106s Calculating upgrade... 107s The following packages will be upgraded: 107s apport apport-core-dump-handler python3-apport python3-problem-report 107s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 107s Need to get 220 kB of archives. 107s After this operation, 0 B of additional disk space will be used. 107s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-problem-report all 2.31.0-0ubuntu3 [25.3 kB] 107s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-apport all 2.31.0-0ubuntu3 [93.1 kB] 107s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 apport-core-dump-handler all 2.31.0-0ubuntu3 [18.3 kB] 107s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 apport all 2.31.0-0ubuntu3 [83.0 kB] 108s Fetched 220 kB in 0s (473 kB/s) 108s (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 ... 80201 files and directories currently installed.) 108s Preparing to unpack .../python3-problem-report_2.31.0-0ubuntu3_all.deb ... 108s Unpacking python3-problem-report (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 108s Preparing to unpack .../python3-apport_2.31.0-0ubuntu3_all.deb ... 108s Unpacking python3-apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 108s Preparing to unpack .../apport-core-dump-handler_2.31.0-0ubuntu3_all.deb ... 108s Unpacking apport-core-dump-handler (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 108s Preparing to unpack .../apport_2.31.0-0ubuntu3_all.deb ... 108s Unpacking apport (2.31.0-0ubuntu3) over (2.31.0-0ubuntu2) ... 108s Setting up python3-problem-report (2.31.0-0ubuntu3) ... 109s Setting up python3-apport (2.31.0-0ubuntu3) ... 109s Setting up apport-core-dump-handler (2.31.0-0ubuntu3) ... 110s Setting up apport (2.31.0-0ubuntu3) ... 110s apport-autoreport.service is a disabled or a static unit not running, not starting it. 110s Processing triggers for man-db (2.13.0-1) ... 111s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s autopkgtest [09:07:02]: upgrading testbed (apt dist-upgrade and autopurge) 112s Reading package lists... 113s Building dependency tree... 113s Reading state information... 113s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 113s Starting 2 pkgProblemResolver with broken count: 0 113s Done 114s Entering ResolveByKeep 114s 115s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s Starting pkgProblemResolver with broken count: 0 116s Starting 2 pkgProblemResolver with broken count: 0 116s Done 117s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s autopkgtest [09:07:07]: rebooting testbed after setup commands that affected boot 140s autopkgtest [09:07:30]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 142s autopkgtest [09:07:32]: @@@@@@@@@@@@@@@@@@@@ apt-source zarr 145s Get:1 http://ftpmaster.internal/ubuntu plucky/universe zarr 2.18.4+ds-1 (dsc) [2647 B] 145s Get:2 http://ftpmaster.internal/ubuntu plucky/universe zarr 2.18.4+ds-1 (tar) [987 kB] 145s Get:3 http://ftpmaster.internal/ubuntu plucky/universe zarr 2.18.4+ds-1 (diff) [5680 B] 145s gpgv: Signature made Mon Dec 16 21:43:41 2024 UTC 145s gpgv: using RSA key 3B70F209A5FFD68903C472C5EBF48AB2578F9812 145s gpgv: issuer "antonio.valentino@tiscali.it" 145s gpgv: Can't check signature: No public key 145s dpkg-source: warning: cannot verify inline signature for ./zarr_2.18.4+ds-1.dsc: no acceptable signature found 145s autopkgtest [09:07:35]: testing package zarr version 2.18.4+ds-1 145s autopkgtest [09:07:35]: build not needed 146s autopkgtest [09:07:36]: test pybuild-autopkgtest: preparing testbed 146s Reading package lists... 147s Building dependency tree... 147s Reading state information... 147s Starting pkgProblemResolver with broken count: 0 147s Starting 2 pkgProblemResolver with broken count: 0 147s Done 148s The following NEW packages will be installed: 148s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 148s cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper debugedit 148s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz g++ 148s g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 148s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext intltool-debian 148s libaec0 libarchive-zip-perl libasan8 libblas3 libblosc1 libcc1-0 148s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-14-dev 148s libgfortran5 libgomp1 libhdf5-103-1t64 libhdf5-hl-100t64 libhwasan0 libisl23 148s libitm1 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl 148s liblapack3 liblsan0 liblzf1 libmpc3 libpython3.13-minimal 148s libpython3.13-stdlib libsnappy1v5 libstdc++-14-dev libsz2 libtool libtsan2 148s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest pybuild-plugin-pyproject 148s python3-alabaster python3-all python3-asciitree python3-bs4 python3-build 148s python3-defusedxml python3-deprecated python3-docutils python3-fasteners 148s python3-fsspec python3-h5py python3-h5py-serial python3-imagesize 148s python3-iniconfig python3-installer python3-monotonic python3-msgpack 148s python3-numcodecs python3-numpy python3-numpydoc python3-packaging 148s python3-pluggy python3-pydata-sphinx-theme python3-pyproject-hooks 148s python3-pytest python3-pytest-doctestplus python3-pytest-timeout 148s python3-roman python3-setuptools-scm python3-snowballstemmer 148s python3-soupsieve python3-sphinx python3-sphinx-automodapi 148s python3-sphinx-copybutton python3-sphinx-design python3-sphinx-issues 148s python3-tabulate python3-toml python3-wheel python3-wrapt python3-zarr 148s python3.13 python3.13-minimal sgml-base sphinx-common xml-core 148s 0 upgraded, 108 newly installed, 0 to remove and 0 not upgraded. 148s Need to get 85.7 MB of archives. 148s After this operation, 340 MB of additional disk space will be used. 148s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 148s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 149s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 sgml-base all 1.31 [11.4 kB] 149s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 m4 arm64 1.4.19-4build1 [240 kB] 149s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 autoconf all 2.72-3 [382 kB] 149s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 autotools-dev all 20220109.1 [44.9 kB] 149s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 149s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 autopoint all 0.22.5-3 [616 kB] 149s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 149s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 149s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-13ubuntu1 [10.6 MB] 149s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-13ubuntu1 [1030 B] 149s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 149s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 149s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-13ubuntu1 [49.6 kB] 149s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-13ubuntu1 [145 kB] 149s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-13ubuntu1 [27.8 kB] 149s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-13ubuntu1 [2893 kB] 149s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-13ubuntu1 [1283 kB] 149s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-13ubuntu1 [2686 kB] 149s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-13ubuntu1 [1152 kB] 149s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-13ubuntu1 [1598 kB] 149s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-13ubuntu1 [2596 kB] 149s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-13ubuntu1 [20.9 MB] 150s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-13ubuntu1 [523 kB] 150s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 150s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 150s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-13ubuntu1 [2502 kB] 150s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-13ubuntu1 [12.1 MB] 150s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-13ubuntu1 [21.1 kB] 150s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 150s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 150s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 150s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 150s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libtool all 2.4.7-8 [166 kB] 150s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-autoreconf all 20 [16.1 kB] 150s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 150s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 150s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 150s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 debugedit arm64 1:5.1-1 [45.9 kB] 150s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 dwz arm64 0.15-1build6 [113 kB] 150s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 gettext arm64 0.22.5-3 [932 kB] 150s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 150s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 150s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 debhelper all 13.20ubuntu1 [893 kB] 150s Get:46 http://ftpmaster.internal/ubuntu plucky/universe arm64 dh-python all 6.20241217 [117 kB] 150s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 xml-core all 0.19 [20.3 kB] 150s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 docutils-common all 0.21.2+dfsg-2 [131 kB] 150s Get:49 http://ftpmaster.internal/ubuntu plucky/universe arm64 libaec0 arm64 1.1.3-1 [22.0 kB] 150s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libblas3 arm64 3.12.0-4 [152 kB] 150s Get:51 http://ftpmaster.internal/ubuntu plucky/main arm64 libsnappy1v5 arm64 1.2.1-1 [30.4 kB] 150s Get:52 http://ftpmaster.internal/ubuntu plucky/universe arm64 libblosc1 arm64 1.21.5+ds-1build1 [25.7 kB] 150s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 libgfortran5 arm64 14.2.0-13ubuntu1 [437 kB] 150s Get:54 http://ftpmaster.internal/ubuntu plucky/universe arm64 libsz2 arm64 1.1.3-1 [5254 B] 150s Get:55 http://ftpmaster.internal/ubuntu plucky/universe arm64 libhdf5-103-1t64 arm64 1.10.10+repack-5ubuntu1 [1210 kB] 150s Get:56 http://ftpmaster.internal/ubuntu plucky/universe arm64 libhdf5-hl-100t64 arm64 1.10.10+repack-5ubuntu1 [56.9 kB] 150s Get:57 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 150s Get:58 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 150s Get:59 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-sphinxdoc all 8.1.3-3 [30.9 kB] 150s Get:60 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 150s Get:61 http://ftpmaster.internal/ubuntu plucky/main arm64 liblapack3 arm64 3.12.0-4 [2305 kB] 150s Get:62 http://ftpmaster.internal/ubuntu plucky/universe arm64 liblzf1 arm64 3.6-4 [7426 B] 150s Get:63 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 150s Get:64 http://ftpmaster.internal/ubuntu plucky/universe arm64 pybuild-plugin-autopkgtest all 6.20241217 [1746 B] 150s Get:65 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 150s Get:66 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 150s Get:67 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-toml all 0.10.2-1 [16.5 kB] 150s Get:68 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-wheel all 0.45.1-1 [57.7 kB] 150s Get:69 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-build all 1.2.2-1 [31.0 kB] 150s Get:70 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 151s Get:71 http://ftpmaster.internal/ubuntu plucky/universe arm64 pybuild-plugin-pyproject all 6.20241217 [1730 B] 151s Get:72 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 151s Get:73 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.8-1 [892 B] 151s Get:74 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-asciitree all 0.3.3-4 [5644 B] 151s Get:75 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-soupsieve all 2.6-1 [33.0 kB] 151s Get:76 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-bs4 all 4.12.3-3 [109 kB] 151s Get:77 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-defusedxml all 0.7.1-3 [42.2 kB] 151s Get:78 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-wrapt arm64 1.15.0-4 [34.3 kB] 151s Get:79 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-deprecated all 1.2.15-1 [10.5 kB] 151s Get:80 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-roman all 4.2-1 [10.0 kB] 151s Get:81 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 151s Get:82 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-monotonic all 1.6-3 [5344 B] 151s Get:83 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-fasteners all 0.18-2 [12.5 kB] 151s Get:84 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-fsspec all 2024.10.0-1 [207 kB] 151s Get:85 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-numpy arm64 1:1.26.4+ds-12 [4153 kB] 151s Get:86 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-h5py-serial arm64 3.11.0-8ubuntu3 [1452 kB] 151s Get:87 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-h5py all 3.11.0-8ubuntu3 [7982 B] 151s Get:88 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-imagesize all 1.4.1-1 [6844 B] 151s Get:89 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 151s Get:90 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-msgpack arm64 1.0.3-3build3 [106 kB] 151s Get:91 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-common all 8.1.3-3 [661 kB] 151s Get:92 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 151s Get:93 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 151s Get:94 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-sphinx all 8.1.3-3 [474 kB] 151s Get:95 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pydata-sphinx-theme all 0.15.4+dfsg-2 [41.5 kB] 151s Get:96 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-numcodecs arm64 0.15.0+ds-1 [497 kB] 151s Get:97 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-tabulate all 0.9.0-1 [45.3 kB] 151s Get:98 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-numpydoc all 1.8.0-1 [52.4 kB] 151s Get:99 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 151s Get:100 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.4-1 [252 kB] 151s Get:101 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-doctestplus all 1.3.0-1 [23.7 kB] 151s Get:102 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-timeout all 2.3.1-1 [22.1 kB] 151s Get:103 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-setuptools-scm all 8.1.0-1 [32.2 kB] 151s Get:104 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinx-automodapi all 0.18.0-1 [37.6 kB] 151s Get:105 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinx-copybutton all 0.5.2-2 [16.6 kB] 151s Get:106 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinx-design all 0.6.1-1 [894 kB] 152s Get:107 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinx-issues all 5.0.0-1 [10.2 kB] 152s Get:108 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zarr all 2.18.4+ds-1 [410 kB] 152s Fetched 85.7 MB in 4s (22.8 MB/s) 152s Selecting previously unselected package libpython3.13-minimal:arm64. 152s (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 ... 80201 files and directories currently installed.) 152s Preparing to unpack .../000-libpython3.13-minimal_3.13.1-2_arm64.deb ... 152s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 152s Selecting previously unselected package python3.13-minimal. 152s Preparing to unpack .../001-python3.13-minimal_3.13.1-2_arm64.deb ... 152s Unpacking python3.13-minimal (3.13.1-2) ... 153s Selecting previously unselected package sgml-base. 153s Preparing to unpack .../002-sgml-base_1.31_all.deb ... 153s Unpacking sgml-base (1.31) ... 153s Selecting previously unselected package m4. 153s Preparing to unpack .../003-m4_1.4.19-4build1_arm64.deb ... 153s Unpacking m4 (1.4.19-4build1) ... 153s Selecting previously unselected package autoconf. 153s Preparing to unpack .../004-autoconf_2.72-3_all.deb ... 153s Unpacking autoconf (2.72-3) ... 153s Selecting previously unselected package autotools-dev. 153s Preparing to unpack .../005-autotools-dev_20220109.1_all.deb ... 153s Unpacking autotools-dev (20220109.1) ... 153s Selecting previously unselected package automake. 153s Preparing to unpack .../006-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 153s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 153s Selecting previously unselected package autopoint. 153s Preparing to unpack .../007-autopoint_0.22.5-3_all.deb ... 153s Unpacking autopoint (0.22.5-3) ... 153s Selecting previously unselected package libisl23:arm64. 153s Preparing to unpack .../008-libisl23_0.27-1_arm64.deb ... 153s Unpacking libisl23:arm64 (0.27-1) ... 153s Selecting previously unselected package libmpc3:arm64. 153s Preparing to unpack .../009-libmpc3_1.3.1-1build2_arm64.deb ... 153s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 153s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 153s Preparing to unpack .../010-cpp-14-aarch64-linux-gnu_14.2.0-13ubuntu1_arm64.deb ... 153s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 153s Selecting previously unselected package cpp-14. 153s Preparing to unpack .../011-cpp-14_14.2.0-13ubuntu1_arm64.deb ... 153s Unpacking cpp-14 (14.2.0-13ubuntu1) ... 153s Selecting previously unselected package cpp-aarch64-linux-gnu. 153s Preparing to unpack .../012-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 153s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 153s Selecting previously unselected package cpp. 153s Preparing to unpack .../013-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 153s Unpacking cpp (4:14.1.0-2ubuntu1) ... 153s Selecting previously unselected package libcc1-0:arm64. 153s Preparing to unpack .../014-libcc1-0_14.2.0-13ubuntu1_arm64.deb ... 153s Unpacking libcc1-0:arm64 (14.2.0-13ubuntu1) ... 153s Selecting previously unselected package libgomp1:arm64. 153s Preparing to unpack .../015-libgomp1_14.2.0-13ubuntu1_arm64.deb ... 153s Unpacking libgomp1:arm64 (14.2.0-13ubuntu1) ... 153s Selecting previously unselected package libitm1:arm64. 153s Preparing to unpack .../016-libitm1_14.2.0-13ubuntu1_arm64.deb ... 153s Unpacking libitm1:arm64 (14.2.0-13ubuntu1) ... 153s Selecting previously unselected package libasan8:arm64. 153s Preparing to unpack .../017-libasan8_14.2.0-13ubuntu1_arm64.deb ... 153s Unpacking libasan8:arm64 (14.2.0-13ubuntu1) ... 153s Selecting previously unselected package liblsan0:arm64. 153s Preparing to unpack .../018-liblsan0_14.2.0-13ubuntu1_arm64.deb ... 153s Unpacking liblsan0:arm64 (14.2.0-13ubuntu1) ... 153s Selecting previously unselected package libtsan2:arm64. 153s Preparing to unpack .../019-libtsan2_14.2.0-13ubuntu1_arm64.deb ... 153s Unpacking libtsan2:arm64 (14.2.0-13ubuntu1) ... 154s Selecting previously unselected package libubsan1:arm64. 154s Preparing to unpack .../020-libubsan1_14.2.0-13ubuntu1_arm64.deb ... 154s Unpacking libubsan1:arm64 (14.2.0-13ubuntu1) ... 154s Selecting previously unselected package libhwasan0:arm64. 154s Preparing to unpack .../021-libhwasan0_14.2.0-13ubuntu1_arm64.deb ... 154s Unpacking libhwasan0:arm64 (14.2.0-13ubuntu1) ... 154s Selecting previously unselected package libgcc-14-dev:arm64. 154s Preparing to unpack .../022-libgcc-14-dev_14.2.0-13ubuntu1_arm64.deb ... 154s Unpacking libgcc-14-dev:arm64 (14.2.0-13ubuntu1) ... 154s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 154s Preparing to unpack .../023-gcc-14-aarch64-linux-gnu_14.2.0-13ubuntu1_arm64.deb ... 154s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 154s Selecting previously unselected package gcc-14. 154s Preparing to unpack .../024-gcc-14_14.2.0-13ubuntu1_arm64.deb ... 154s Unpacking gcc-14 (14.2.0-13ubuntu1) ... 154s Selecting previously unselected package gcc-aarch64-linux-gnu. 154s Preparing to unpack .../025-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 154s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 154s Selecting previously unselected package gcc. 154s Preparing to unpack .../026-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 154s Unpacking gcc (4:14.1.0-2ubuntu1) ... 154s Selecting previously unselected package libstdc++-14-dev:arm64. 154s Preparing to unpack .../027-libstdc++-14-dev_14.2.0-13ubuntu1_arm64.deb ... 154s Unpacking libstdc++-14-dev:arm64 (14.2.0-13ubuntu1) ... 154s Selecting previously unselected package g++-14-aarch64-linux-gnu. 154s Preparing to unpack .../028-g++-14-aarch64-linux-gnu_14.2.0-13ubuntu1_arm64.deb ... 154s Unpacking g++-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 155s Selecting previously unselected package g++-14. 155s Preparing to unpack .../029-g++-14_14.2.0-13ubuntu1_arm64.deb ... 155s Unpacking g++-14 (14.2.0-13ubuntu1) ... 155s Selecting previously unselected package g++-aarch64-linux-gnu. 155s Preparing to unpack .../030-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 155s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 155s Selecting previously unselected package g++. 155s Preparing to unpack .../031-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 155s Unpacking g++ (4:14.1.0-2ubuntu1) ... 155s Selecting previously unselected package build-essential. 155s Preparing to unpack .../032-build-essential_12.10ubuntu1_arm64.deb ... 155s Unpacking build-essential (12.10ubuntu1) ... 155s Selecting previously unselected package libdebhelper-perl. 155s Preparing to unpack .../033-libdebhelper-perl_13.20ubuntu1_all.deb ... 155s Unpacking libdebhelper-perl (13.20ubuntu1) ... 155s Selecting previously unselected package libtool. 155s Preparing to unpack .../034-libtool_2.4.7-8_all.deb ... 155s Unpacking libtool (2.4.7-8) ... 155s Selecting previously unselected package dh-autoreconf. 155s Preparing to unpack .../035-dh-autoreconf_20_all.deb ... 155s Unpacking dh-autoreconf (20) ... 155s Selecting previously unselected package libarchive-zip-perl. 155s Preparing to unpack .../036-libarchive-zip-perl_1.68-1_all.deb ... 155s Unpacking libarchive-zip-perl (1.68-1) ... 155s Selecting previously unselected package libfile-stripnondeterminism-perl. 155s Preparing to unpack .../037-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 155s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 155s Selecting previously unselected package dh-strip-nondeterminism. 155s Preparing to unpack .../038-dh-strip-nondeterminism_1.14.0-1_all.deb ... 155s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 155s Selecting previously unselected package debugedit. 155s Preparing to unpack .../039-debugedit_1%3a5.1-1_arm64.deb ... 155s Unpacking debugedit (1:5.1-1) ... 155s Selecting previously unselected package dwz. 155s Preparing to unpack .../040-dwz_0.15-1build6_arm64.deb ... 155s Unpacking dwz (0.15-1build6) ... 155s Selecting previously unselected package gettext. 155s Preparing to unpack .../041-gettext_0.22.5-3_arm64.deb ... 155s Unpacking gettext (0.22.5-3) ... 155s Selecting previously unselected package intltool-debian. 155s Preparing to unpack .../042-intltool-debian_0.35.0+20060710.6_all.deb ... 155s Unpacking intltool-debian (0.35.0+20060710.6) ... 155s Selecting previously unselected package po-debconf. 155s Preparing to unpack .../043-po-debconf_1.0.21+nmu1_all.deb ... 155s Unpacking po-debconf (1.0.21+nmu1) ... 155s Selecting previously unselected package debhelper. 155s Preparing to unpack .../044-debhelper_13.20ubuntu1_all.deb ... 155s Unpacking debhelper (13.20ubuntu1) ... 155s Selecting previously unselected package dh-python. 155s Preparing to unpack .../045-dh-python_6.20241217_all.deb ... 155s Unpacking dh-python (6.20241217) ... 155s Selecting previously unselected package xml-core. 155s Preparing to unpack .../046-xml-core_0.19_all.deb ... 155s Unpacking xml-core (0.19) ... 155s Selecting previously unselected package docutils-common. 155s Preparing to unpack .../047-docutils-common_0.21.2+dfsg-2_all.deb ... 155s Unpacking docutils-common (0.21.2+dfsg-2) ... 156s Selecting previously unselected package libaec0:arm64. 156s Preparing to unpack .../048-libaec0_1.1.3-1_arm64.deb ... 156s Unpacking libaec0:arm64 (1.1.3-1) ... 156s Selecting previously unselected package libblas3:arm64. 156s Preparing to unpack .../049-libblas3_3.12.0-4_arm64.deb ... 156s Unpacking libblas3:arm64 (3.12.0-4) ... 156s Selecting previously unselected package libsnappy1v5:arm64. 156s Preparing to unpack .../050-libsnappy1v5_1.2.1-1_arm64.deb ... 156s Unpacking libsnappy1v5:arm64 (1.2.1-1) ... 156s Selecting previously unselected package libblosc1:arm64. 156s Preparing to unpack .../051-libblosc1_1.21.5+ds-1build1_arm64.deb ... 156s Unpacking libblosc1:arm64 (1.21.5+ds-1build1) ... 156s Selecting previously unselected package libgfortran5:arm64. 156s Preparing to unpack .../052-libgfortran5_14.2.0-13ubuntu1_arm64.deb ... 156s Unpacking libgfortran5:arm64 (14.2.0-13ubuntu1) ... 156s Selecting previously unselected package libsz2:arm64. 156s Preparing to unpack .../053-libsz2_1.1.3-1_arm64.deb ... 156s Unpacking libsz2:arm64 (1.1.3-1) ... 156s Selecting previously unselected package libhdf5-103-1t64:arm64. 156s Preparing to unpack .../054-libhdf5-103-1t64_1.10.10+repack-5ubuntu1_arm64.deb ... 156s Unpacking libhdf5-103-1t64:arm64 (1.10.10+repack-5ubuntu1) ... 156s Selecting previously unselected package libhdf5-hl-100t64:arm64. 156s Preparing to unpack .../055-libhdf5-hl-100t64_1.10.10+repack-5ubuntu1_arm64.deb ... 156s Unpacking libhdf5-hl-100t64:arm64 (1.10.10+repack-5ubuntu1) ... 156s Selecting previously unselected package libjs-jquery. 156s Preparing to unpack .../056-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 156s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 156s Selecting previously unselected package libjs-underscore. 156s Preparing to unpack .../057-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 156s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 156s Selecting previously unselected package libjs-sphinxdoc. 156s Preparing to unpack .../058-libjs-sphinxdoc_8.1.3-3_all.deb ... 156s Unpacking libjs-sphinxdoc (8.1.3-3) ... 156s Selecting previously unselected package libjson-perl. 156s Preparing to unpack .../059-libjson-perl_4.10000-1_all.deb ... 156s Unpacking libjson-perl (4.10000-1) ... 156s Selecting previously unselected package liblapack3:arm64. 156s Preparing to unpack .../060-liblapack3_3.12.0-4_arm64.deb ... 156s Unpacking liblapack3:arm64 (3.12.0-4) ... 156s Selecting previously unselected package liblzf1:arm64. 156s Preparing to unpack .../061-liblzf1_3.6-4_arm64.deb ... 156s Unpacking liblzf1:arm64 (3.6-4) ... 156s Selecting previously unselected package libpython3.13-stdlib:arm64. 156s Preparing to unpack .../062-libpython3.13-stdlib_3.13.1-2_arm64.deb ... 156s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 156s Selecting previously unselected package pybuild-plugin-autopkgtest. 156s Preparing to unpack .../063-pybuild-plugin-autopkgtest_6.20241217_all.deb ... 156s Unpacking pybuild-plugin-autopkgtest (6.20241217) ... 156s Selecting previously unselected package python3-packaging. 156s Preparing to unpack .../064-python3-packaging_24.2-1_all.deb ... 156s Unpacking python3-packaging (24.2-1) ... 156s Selecting previously unselected package python3-pyproject-hooks. 156s Preparing to unpack .../065-python3-pyproject-hooks_1.2.0-1_all.deb ... 156s Unpacking python3-pyproject-hooks (1.2.0-1) ... 156s Selecting previously unselected package python3-toml. 156s Preparing to unpack .../066-python3-toml_0.10.2-1_all.deb ... 156s Unpacking python3-toml (0.10.2-1) ... 156s Selecting previously unselected package python3-wheel. 156s Preparing to unpack .../067-python3-wheel_0.45.1-1_all.deb ... 156s Unpacking python3-wheel (0.45.1-1) ... 156s Selecting previously unselected package python3-build. 156s Preparing to unpack .../068-python3-build_1.2.2-1_all.deb ... 156s Unpacking python3-build (1.2.2-1) ... 156s Selecting previously unselected package python3-installer. 156s Preparing to unpack .../069-python3-installer_0.7.0+dfsg1-3_all.deb ... 156s Unpacking python3-installer (0.7.0+dfsg1-3) ... 156s Selecting previously unselected package pybuild-plugin-pyproject. 156s Preparing to unpack .../070-pybuild-plugin-pyproject_6.20241217_all.deb ... 156s Unpacking pybuild-plugin-pyproject (6.20241217) ... 156s Selecting previously unselected package python3.13. 156s Preparing to unpack .../071-python3.13_3.13.1-2_arm64.deb ... 156s Unpacking python3.13 (3.13.1-2) ... 157s Selecting previously unselected package python3-all. 157s Preparing to unpack .../072-python3-all_3.12.8-1_arm64.deb ... 157s Unpacking python3-all (3.12.8-1) ... 157s Selecting previously unselected package python3-asciitree. 157s Preparing to unpack .../073-python3-asciitree_0.3.3-4_all.deb ... 157s Unpacking python3-asciitree (0.3.3-4) ... 157s Selecting previously unselected package python3-soupsieve. 157s Preparing to unpack .../074-python3-soupsieve_2.6-1_all.deb ... 157s Unpacking python3-soupsieve (2.6-1) ... 157s Selecting previously unselected package python3-bs4. 157s Preparing to unpack .../075-python3-bs4_4.12.3-3_all.deb ... 157s Unpacking python3-bs4 (4.12.3-3) ... 157s Selecting previously unselected package python3-defusedxml. 157s Preparing to unpack .../076-python3-defusedxml_0.7.1-3_all.deb ... 157s Unpacking python3-defusedxml (0.7.1-3) ... 157s Selecting previously unselected package python3-wrapt. 157s Preparing to unpack .../077-python3-wrapt_1.15.0-4_arm64.deb ... 157s Unpacking python3-wrapt (1.15.0-4) ... 157s Selecting previously unselected package python3-deprecated. 157s Preparing to unpack .../078-python3-deprecated_1.2.15-1_all.deb ... 157s Unpacking python3-deprecated (1.2.15-1) ... 157s Selecting previously unselected package python3-roman. 157s Preparing to unpack .../079-python3-roman_4.2-1_all.deb ... 157s Unpacking python3-roman (4.2-1) ... 157s Selecting previously unselected package python3-docutils. 157s Preparing to unpack .../080-python3-docutils_0.21.2+dfsg-2_all.deb ... 157s Unpacking python3-docutils (0.21.2+dfsg-2) ... 157s Selecting previously unselected package python3-monotonic. 157s Preparing to unpack .../081-python3-monotonic_1.6-3_all.deb ... 157s Unpacking python3-monotonic (1.6-3) ... 157s Selecting previously unselected package python3-fasteners. 157s Preparing to unpack .../082-python3-fasteners_0.18-2_all.deb ... 157s Unpacking python3-fasteners (0.18-2) ... 157s Selecting previously unselected package python3-fsspec. 157s Preparing to unpack .../083-python3-fsspec_2024.10.0-1_all.deb ... 157s Unpacking python3-fsspec (2024.10.0-1) ... 157s Selecting previously unselected package python3-numpy. 157s Preparing to unpack .../084-python3-numpy_1%3a1.26.4+ds-12_arm64.deb ... 157s Unpacking python3-numpy (1:1.26.4+ds-12) ... 157s Selecting previously unselected package python3-h5py-serial. 157s Preparing to unpack .../085-python3-h5py-serial_3.11.0-8ubuntu3_arm64.deb ... 157s Unpacking python3-h5py-serial (3.11.0-8ubuntu3) ... 157s Selecting previously unselected package python3-h5py. 157s Preparing to unpack .../086-python3-h5py_3.11.0-8ubuntu3_all.deb ... 157s Unpacking python3-h5py (3.11.0-8ubuntu3) ... 157s Selecting previously unselected package python3-imagesize. 157s Preparing to unpack .../087-python3-imagesize_1.4.1-1_all.deb ... 157s Unpacking python3-imagesize (1.4.1-1) ... 157s Selecting previously unselected package python3-iniconfig. 157s Preparing to unpack .../088-python3-iniconfig_1.1.1-2_all.deb ... 157s Unpacking python3-iniconfig (1.1.1-2) ... 157s Selecting previously unselected package python3-msgpack. 157s Preparing to unpack .../089-python3-msgpack_1.0.3-3build3_arm64.deb ... 157s Unpacking python3-msgpack (1.0.3-3build3) ... 157s Selecting previously unselected package sphinx-common. 157s Preparing to unpack .../090-sphinx-common_8.1.3-3_all.deb ... 157s Unpacking sphinx-common (8.1.3-3) ... 158s Selecting previously unselected package python3-alabaster. 158s Preparing to unpack .../091-python3-alabaster_0.7.16-0.1_all.deb ... 158s Unpacking python3-alabaster (0.7.16-0.1) ... 158s Selecting previously unselected package python3-snowballstemmer. 158s Preparing to unpack .../092-python3-snowballstemmer_2.2.0-4build1_all.deb ... 158s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 158s Selecting previously unselected package python3-sphinx. 158s Preparing to unpack .../093-python3-sphinx_8.1.3-3_all.deb ... 158s Unpacking python3-sphinx (8.1.3-3) ... 158s Selecting previously unselected package python3-pydata-sphinx-theme. 158s Preparing to unpack .../094-python3-pydata-sphinx-theme_0.15.4+dfsg-2_all.deb ... 158s Unpacking python3-pydata-sphinx-theme (0.15.4+dfsg-2) ... 158s Selecting previously unselected package python3-numcodecs. 158s Preparing to unpack .../095-python3-numcodecs_0.15.0+ds-1_arm64.deb ... 158s Unpacking python3-numcodecs (0.15.0+ds-1) ... 158s Selecting previously unselected package python3-tabulate. 158s Preparing to unpack .../096-python3-tabulate_0.9.0-1_all.deb ... 158s Unpacking python3-tabulate (0.9.0-1) ... 158s Selecting previously unselected package python3-numpydoc. 158s Preparing to unpack .../097-python3-numpydoc_1.8.0-1_all.deb ... 158s Unpacking python3-numpydoc (1.8.0-1) ... 158s Selecting previously unselected package python3-pluggy. 158s Preparing to unpack .../098-python3-pluggy_1.5.0-1_all.deb ... 158s Unpacking python3-pluggy (1.5.0-1) ... 158s Selecting previously unselected package python3-pytest. 158s Preparing to unpack .../099-python3-pytest_8.3.4-1_all.deb ... 158s Unpacking python3-pytest (8.3.4-1) ... 158s Selecting previously unselected package python3-pytest-doctestplus. 158s Preparing to unpack .../100-python3-pytest-doctestplus_1.3.0-1_all.deb ... 158s Unpacking python3-pytest-doctestplus (1.3.0-1) ... 158s Selecting previously unselected package python3-pytest-timeout. 158s Preparing to unpack .../101-python3-pytest-timeout_2.3.1-1_all.deb ... 158s Unpacking python3-pytest-timeout (2.3.1-1) ... 158s Selecting previously unselected package python3-setuptools-scm. 158s Preparing to unpack .../102-python3-setuptools-scm_8.1.0-1_all.deb ... 158s Unpacking python3-setuptools-scm (8.1.0-1) ... 158s Selecting previously unselected package python3-sphinx-automodapi. 158s Preparing to unpack .../103-python3-sphinx-automodapi_0.18.0-1_all.deb ... 158s Unpacking python3-sphinx-automodapi (0.18.0-1) ... 158s Selecting previously unselected package python3-sphinx-copybutton. 158s Preparing to unpack .../104-python3-sphinx-copybutton_0.5.2-2_all.deb ... 158s Unpacking python3-sphinx-copybutton (0.5.2-2) ... 158s Selecting previously unselected package python3-sphinx-design. 158s Preparing to unpack .../105-python3-sphinx-design_0.6.1-1_all.deb ... 158s Unpacking python3-sphinx-design (0.6.1-1) ... 158s Selecting previously unselected package python3-sphinx-issues. 158s Preparing to unpack .../106-python3-sphinx-issues_5.0.0-1_all.deb ... 158s Unpacking python3-sphinx-issues (5.0.0-1) ... 158s Selecting previously unselected package python3-zarr. 158s Preparing to unpack .../107-python3-zarr_2.18.4+ds-1_all.deb ... 158s Unpacking python3-zarr (2.18.4+ds-1) ... 158s Setting up dh-python (6.20241217) ... 159s Setting up python3-iniconfig (1.1.1-2) ... 159s Setting up python3-defusedxml (0.7.1-3) ... 159s Setting up libarchive-zip-perl (1.68-1) ... 159s Setting up python3-alabaster (0.7.16-0.1) ... 159s Setting up libdebhelper-perl (13.20ubuntu1) ... 159s Setting up python3-fsspec (2024.10.0-1) ... 160s Setting up python3-tabulate (0.9.0-1) ... 160s Setting up m4 (1.4.19-4build1) ... 160s Setting up libgomp1:arm64 (14.2.0-13ubuntu1) ... 160s Setting up python3-wheel (0.45.1-1) ... 160s Setting up libaec0:arm64 (1.1.3-1) ... 160s Setting up libsnappy1v5:arm64 (1.2.1-1) ... 160s Setting up python3-monotonic (1.6-3) ... 160s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 160s Setting up python3-roman (4.2-1) ... 161s Setting up autotools-dev (20220109.1) ... 161s Setting up libblas3:arm64 (3.12.0-4) ... 161s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode 161s Setting up python3-packaging (24.2-1) ... 161s Setting up python3-pyproject-hooks (1.2.0-1) ... 161s Setting up python3-snowballstemmer (2.2.0-4build1) ... 162s Setting up liblzf1:arm64 (3.6-4) ... 162s Setting up libmpc3:arm64 (1.3.1-1build2) ... 162s Setting up python3-wrapt (1.15.0-4) ... 162s Setting up autopoint (0.22.5-3) ... 162s Setting up python3-fasteners (0.18-2) ... 162s Setting up python3-asciitree (0.3.3-4) ... 162s Setting up python3-toml (0.10.2-1) ... 162s Setting up python3-installer (0.7.0+dfsg1-3) ... 163s Setting up libgfortran5:arm64 (14.2.0-13ubuntu1) ... 163s Setting up autoconf (2.72-3) ... 163s Setting up python3-pluggy (1.5.0-1) ... 163s Setting up libubsan1:arm64 (14.2.0-13ubuntu1) ... 163s Setting up dwz (0.15-1build6) ... 163s Setting up libhwasan0:arm64 (14.2.0-13ubuntu1) ... 163s Setting up libasan8:arm64 (14.2.0-13ubuntu1) ... 163s Setting up libjson-perl (4.10000-1) ... 163s Setting up libblosc1:arm64 (1.21.5+ds-1build1) ... 163s Setting up debugedit (1:5.1-1) ... 163s Setting up python3.13-minimal (3.13.1-2) ... 164s Setting up sgml-base (1.31) ... 164s Setting up python3-msgpack (1.0.3-3build3) ... 164s Setting up libtsan2:arm64 (14.2.0-13ubuntu1) ... 164s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 164s Setting up libisl23:arm64 (0.27-1) ... 164s Setting up python3-build (1.2.2-1) ... 164s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 164s Setting up python3-soupsieve (2.6-1) ... 164s Setting up libcc1-0:arm64 (14.2.0-13ubuntu1) ... 164s Setting up python3-deprecated (1.2.15-1) ... 164s Setting up liblsan0:arm64 (14.2.0-13ubuntu1) ... 164s Setting up libsz2:arm64 (1.1.3-1) ... 164s Setting up libitm1:arm64 (14.2.0-13ubuntu1) ... 164s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 164s Setting up python3-imagesize (1.4.1-1) ... 165s Setting up automake (1:1.16.5-1.3ubuntu1) ... 165s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 165s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 165s Setting up liblapack3:arm64 (3.12.0-4) ... 165s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode 165s Setting up gettext (0.22.5-3) ... 165s Setting up python3.13 (3.13.1-2) ... 166s Setting up pybuild-plugin-pyproject (6.20241217) ... 166s Setting up python3-pytest (8.3.4-1) ... 166s Setting up python3-all (3.12.8-1) ... 166s Setting up python3-setuptools-scm (8.1.0-1) ... 167s Setting up python3-bs4 (4.12.3-3) ... 167s Setting up intltool-debian (0.35.0+20060710.6) ... 167s Setting up python3-numpy (1:1.26.4+ds-12) ... 171s Setting up libjs-sphinxdoc (8.1.3-3) ... 171s Setting up python3-pytest-doctestplus (1.3.0-1) ... 171s Setting up dh-strip-nondeterminism (1.14.0-1) ... 171s Setting up cpp-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 171s Setting up xml-core (0.19) ... 171s Setting up libgcc-14-dev:arm64 (14.2.0-13ubuntu1) ... 171s Setting up libhdf5-103-1t64:arm64 (1.10.10+repack-5ubuntu1) ... 171s Setting up libstdc++-14-dev:arm64 (14.2.0-13ubuntu1) ... 171s Setting up libhdf5-hl-100t64:arm64 (1.10.10+repack-5ubuntu1) ... 171s Setting up python3-pytest-timeout (2.3.1-1) ... 171s Setting up po-debconf (1.0.21+nmu1) ... 171s Setting up python3-h5py-serial (3.11.0-8ubuntu3) ... 172s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 172s Setting up sphinx-common (8.1.3-3) ... 172s Setting up python3-h5py (3.11.0-8ubuntu3) ... 172s Setting up cpp-14 (14.2.0-13ubuntu1) ... 172s Setting up cpp (4:14.1.0-2ubuntu1) ... 172s Setting up gcc-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 172s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 172s Setting up g++-14-aarch64-linux-gnu (14.2.0-13ubuntu1) ... 172s Setting up gcc-14 (14.2.0-13ubuntu1) ... 172s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 172s Setting up g++-14 (14.2.0-13ubuntu1) ... 172s Setting up libtool (2.4.7-8) ... 172s Setting up gcc (4:14.1.0-2ubuntu1) ... 172s Setting up dh-autoreconf (20) ... 172s Setting up g++ (4:14.1.0-2ubuntu1) ... 172s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 172s Setting up build-essential (12.10ubuntu1) ... 172s Setting up debhelper (13.20ubuntu1) ... 172s Setting up pybuild-plugin-autopkgtest (6.20241217) ... 172s Processing triggers for install-info (7.1.1-1) ... 172s Processing triggers for libc-bin (2.40-4ubuntu1) ... 172s Processing triggers for systemd (257-2ubuntu1) ... 172s Processing triggers for man-db (2.13.0-1) ... 174s Processing triggers for sgml-base (1.31) ... 174s Setting up docutils-common (0.21.2+dfsg-2) ... 174s Processing triggers for sgml-base (1.31) ... 174s Setting up python3-docutils (0.21.2+dfsg-2) ... 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) ... 177s 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) ... 178s Setting up python3-numcodecs (0.15.0+ds-1) ... 178s Setting up python3-zarr (2.18.4+ds-1) ... 180s autopkgtest [09:08:10]: test pybuild-autopkgtest: pybuild-autopkgtest 180s autopkgtest [09:08:10]: test pybuild-autopkgtest: [----------------------- 181s pybuild-autopkgtest 182s I: pybuild base:311: cd /tmp/autopkgtest.Bn3NBA/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.Bn3NBA/autopkgtest_tmp/build 184s configfile: pyproject.toml 184s plugins: doctestplus-1.3.0, typeguard-4.4.1, timeout-2.3.1 184s collected 4975 items / 717 deselected / 4258 selected 184s 184s tests/test_attrs.py .................. [ 0%] 185s tests/test_convenience.py .....ss...................ssssssss.s.......... [ 1%] 185s ..................................................ssssssssssssssssssssss [ 3%] 185s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 4%] 185s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 6%] 185s ssssssssssssss [ 6%] 186s tests/test_core.py ..................................................... [ 8%] 187s ........................................................................ [ 9%] 189s ................................................................ssssssss [ 11%] 190s sssssssssssssssssssssssssssssssssssssss................................. [ 13%] 192s ........................................................................ [ 14%] 199s ........................................................................ [ 16%] 202s .............sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 18%] 208s sssssssssssssssssssssssssssssssssss..................................... [ 19%] 212s ........................................................................ [ 21%] 214s ........................................................................ [ 23%] 216s ........................................................................ [ 25%] 217s ........................................................................ [ 26%] 218s ........................................................................ [ 28%] 220s ........................................................................ [ 30%] 224s .........................................................FF.FFFFF..FFFFF [ 31%] 229s ...F....FFFFF......s.FF....FFF.......................................... [ 33%] 234s ..........FF.FFFFF..FFFFF...F....FFFFF......s.FF....FFFsssssssssssssssss [ 35%] 234s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 36%] 234s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 38%] 234s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 40%] 235s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 41%] 235s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 43%] 235s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 45%] 235s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 47%] 235s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 48%] 235s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 50%] 235s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 52%] 235s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 53%] 235s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 55%] 235s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...... [ 57%] 235s [ 57%] 235s tests/test_creation.py ................................................. [ 58%] 235s ..................................ss..... [ 59%] 235s tests/test_dim_separator.py ..........................x....x [ 60%] 236s tests/test_filters.py ...... [ 60%] 247s tests/test_indexing.py ................................................. [ 61%] 247s ......xx...... [ 61%] 247s tests/test_info.py .. [ 61%] 247s tests/test_meta.py ......................... [ 62%] 247s tests/test_meta_array.py .sss.sss.sss.sss.sss.sss.sss.sss..ssssss..sssss [ 63%] 247s s..ssssss..ssssss [ 63%] 247s tests/test_n5.py ..... [ 63%] 247s tests/test_storage.py ...................s........................s..... [ 65%] 248s ...................s.................................................... [ 66%] 248s .......................ss..............s................................ [ 68%] 248s ........................................................................ [ 70%] 248s ....................ss.................................................. [ 71%] 249s .............s.......................................................... [ 73%] 250s ........................................................................ [ 75%] 250s .....ssssssssssssssssssssssss........................................... [ 76%] 250s .......ssssssssssssssssssssssssssssssssssssssssssssssss.............s... [ 78%] 251s ..............ssssssssssssssssssssssssss....... [ 79%] 251s tests/test_storage_v3.py sssssssssssssssssssssssssssssssssssssssssssssss [ 80%] 251s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 82%] 251s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 84%] 251s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 85%] 252s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 87%] 252s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 89%] 252s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 90%] 252s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 92%] 252s ssssssssssssss [ 93%] 252s tests/test_sync.py ..................................................... [ 94%] 253s ........................................................................ [ 95%] 255s ........................................................................ [ 97%] 256s ........................................................................ [ 99%] 257s ........... [ 99%] 257s tests/test_util.py .................. [100%] 257s 257s =================================== FAILURES =================================== 257s ________________ TestArrayWithFSStorePartialRead.test_array_1d _________________ 257s 257s self = 257s 257s def test_array_1d(self): 257s a = np.arange(1050) 257s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 257s 257s # check properties 257s assert len(a) == len(z) 257s assert a.ndim == z.ndim 257s assert a.shape == z.shape 257s assert a.dtype == z.dtype 257s assert (100,) == z.chunks 257s assert a.nbytes == z.nbytes 257s assert 11 == z.nchunks 257s assert 0 == z.nchunks_initialized 257s assert (11,) == z.cdata_shape 257s 257s # check empty 257s b = z[:] 257s assert isinstance(b, np.ndarray) 257s assert a.shape == b.shape 257s assert a.dtype == b.dtype 257s 257s # check attributes 257s z.attrs["foo"] = "bar" 257s assert "bar" == z.attrs["foo"] 257s 257s # set data 257s z[:] = a 257s 257s # check properties 257s assert a.nbytes == z.nbytes 257s assert 11 == z.nchunks 257s assert 11 == z.nchunks_initialized 257s 257s # check slicing 257s > assert_array_equal(a, np.array(z)) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:288: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 257s return np.array(self[...], *args, **kwargs) 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ___________ TestArrayWithFSStorePartialRead.test_array_1d_fill_value ___________ 257s 257s self = 257s 257s def test_array_1d_fill_value(self): 257s for fill_value in -1, 0, 1, 10: 257s a = np.arange(1050) 257s f = np.empty_like(a) 257s f.fill(fill_value) 257s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value) 257s z[190:310] = a[190:310] 257s 257s > assert_array_equal(f[:190], z[:190]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:344: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00}\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ___________ TestArrayWithFSStorePartialRead.test_array_1d_selections ___________ 257s 257s self = 257s 257s def test_array_1d_selections(self): 257s # light test here, full tests in test_indexing 257s 257s # setup 257s a = np.arange(1050) 257s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 257s z[:] = a 257s 257s # get 257s > assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150))) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:378: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xd2\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ________________ TestArrayWithFSStorePartialRead.test_array_2d _________________ 257s 257s self = 257s 257s def test_array_2d(self): 257s a = np.arange(10000).reshape((1000, 10)) 257s z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype) 257s 257s # check properties 257s assert len(a) == len(z) 257s assert a.ndim == z.ndim 257s assert a.shape == z.shape 257s assert a.dtype == z.dtype 257s assert (100, 2) == z.chunks 257s assert 0 == z.nchunks_initialized 257s assert (10, 5) == z.cdata_shape 257s 257s # set data 257s z[:] = a 257s 257s # check properties 257s assert a.nbytes == z.nbytes 257s assert 50 == z.nchunks_initialized 257s 257s # check array-like 257s > assert_array_equal(a, np.array(z)) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:440: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 257s return np.array(self[...], *args, **kwargs) 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08@\x06\x00\x00\x00\x01\x00\x00\xb2\x01\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ___________ TestArrayWithFSStorePartialRead.test_array_2d_edge_case ____________ 257s 257s self = 257s 257s def test_array_2d_edge_case(self): 257s # this fails with filters - chunks extend beyond edge of array, messes with delta 257s # filter if no fill value? 257s shape = 1000, 10 257s chunks = 300, 30 257s dtype = "i8" 257s z = self.create_array(shape=shape, dtype=dtype, chunks=chunks) 257s z[:] = 0 257s expect = np.zeros(shape, dtype=dtype) 257s > actual = z[:] 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:537: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08@\x19\x01\x00\x00\x01\x00\x00\xfe\x14\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ____________ TestArrayWithFSStorePartialRead.test_array_2d_partial _____________ 257s 257s self = 257s 257s def test_array_2d_partial(self): 257s z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0) 257s 257s # check partial assignment, single row 257s c = np.arange(z.shape[1]) 257s z[0, :] = c 257s with pytest.raises(ValueError): 257s # N.B., NumPy allows this, but we'll be strict for now 257s z[2:3] = c 257s with pytest.raises(ValueError): 257s # N.B., NumPy allows this, but we'll be strict for now 257s z[-1:] = c 257s z[2:3] = c[None, :] 257s z[-1:] = c[None, :] 257s > assert_array_equal(c, z[0, :]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:556: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 257s result = self.get_orthogonal_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x04 \x03\x00\x00\x00\x01\x00\x00f\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _______________ TestArrayWithFSStorePartialRead.test_array_order _______________ 257s 257s self = 257s 257s def test_array_order(self): 257s # 1D 257s a = np.arange(1050) 257s for order in "C", "F": 257s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order) 257s assert order == z.order 257s if order == "F": 257s assert z[:].flags.f_contiguous 257s else: 257s assert z[:].flags.c_contiguous 257s z[:] = a 257s > assert_array_equal(a, z[:]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:594: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ________________ TestArrayWithFSStorePartialRead.test_resize_1d ________________ 257s 257s self = 257s 257s def test_resize_1d(self): 257s z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0) 257s a = np.arange(105, dtype="i4") 257s z[:] = a 257s assert (105,) == z.shape 257s > assert (105,) == z[:].shape 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:679: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ________________ TestArrayWithFSStorePartialRead.test_resize_2d ________________ 257s 257s self = 257s 257s def test_resize_2d(self): 257s z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0) 257s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 257s z[:] = a 257s assert (105, 105) == z.shape 257s > assert (105, 105) == z[:].shape 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:714: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ________________ TestArrayWithFSStorePartialRead.test_append_1d ________________ 257s 257s self = 257s 257s def test_append_1d(self): 257s a = np.arange(105) 257s z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype) 257s z[:] = a 257s assert a.shape == z.shape 257s assert a.dtype == z.dtype 257s assert (10,) == z.chunks 257s > assert_array_equal(a, z[:]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:776: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ________________ TestArrayWithFSStorePartialRead.test_append_2d ________________ 257s 257s self = 257s 257s def test_append_2d(self): 257s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 257s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 257s z[:] = a 257s assert a.shape == z.shape 257s assert a.dtype == z.dtype 257s assert (10, 10) == z.chunks 257s > actual = z[:] 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:804: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _____________ TestArrayWithFSStorePartialRead.test_append_2d_axis ______________ 257s 257s self = 257s 257s def test_append_2d_axis(self): 257s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 257s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 257s z[:] = a 257s assert a.shape == z.shape 257s assert a.dtype == z.dtype 257s assert (10, 10) == z.chunks 257s > assert_array_equal(a, z[:]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:825: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ________________ TestArrayWithFSStorePartialRead.test_np_ufuncs ________________ 257s 257s self = 257s 257s def test_np_ufuncs(self): 257s z = self.create_array(shape=(100, 100), chunks=(10, 10)) 257s a = np.arange(10000).reshape(100, 100) 257s z[:] = a 257s 257s > assert np.sum(a) == np.sum(z) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:917: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum 257s return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims, 257s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction 257s return ufunc.reduce(obj, axis, dtype, out, **passkwargs) 257s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 257s return np.array(self[...], *args, **kwargs) 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00-\x01\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ____________ TestArrayWithFSStorePartialRead.test_array_dtype_shape ____________ 257s 257s self = 257s 257s def test_array_dtype_shape(self): 257s dt = "(2, 2)f4" 257s # setup some data 257s d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt) 257s 257s for a in (d, d[:0]): 257s for fill_value in None, 0: 257s z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value) 257s assert len(a) == len(z) 257s if fill_value is not None: 257s assert fill_value == z.fill_value 257s z[...] = a 257s > assert_array_equal(a, z[...]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1101: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ____________ TestArrayWithFSStorePartialRead.test_structured_array _____________ 257s 257s self = 257s 257s def test_structured_array(self): 257s d = np.array( 257s [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)], 257s dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")], 257s ) 257s fill_values = None, b"", (b"zzz", 42, 16.8) 257s > self.check_structured_array(d, fill_values) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1151: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 257s assert a[0] == z[0] 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _______ TestArrayWithFSStorePartialRead.test_structured_array_subshapes ________ 257s 257s self = 257s 257s def test_structured_array_subshapes(self): 257s d = np.array( 257s [ 257s (0, ((0, 1, 2), (1, 2, 3)), b"aaa"), 257s (1, ((1, 2, 3), (2, 3, 4)), b"bbb"), 257s (2, ((2, 3, 4), (3, 4, 5)), b"ccc"), 257s ], 257s dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")], 257s ) 257s fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz") 257s > self.check_structured_array(d, fill_values) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1163: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 257s assert a[0] == z[0] 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _________ TestArrayWithFSStorePartialRead.test_structured_array_nested _________ 257s 257s self = 257s 257s def test_structured_array_nested(self): 257s d = np.array( 257s [ 257s (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"), 257s (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"), 257s (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"), 257s ], 257s dtype=[ 257s ("foo", "i8"), 257s ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]), 257s ("baz", "S3"), 257s ], 257s ) 257s fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz") 257s > self.check_structured_array(d, fill_values) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1179: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 257s assert a[0] == z[0] 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _________________ TestArrayWithFSStorePartialRead.test_dtypes __________________ 257s 257s self = 257s 257s def test_dtypes(self): 257s # integers 257s for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8": 257s z = self.create_array(shape=10, chunks=3, dtype=dtype) 257s assert z.dtype == np.dtype(dtype) 257s a = np.arange(z.shape[0], dtype=dtype) 257s z[:] = a 257s > assert_array_equal(a, z[:]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1188: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s __________________ TestArrayWithFSStorePartialRead.test_iter ___________________ 257s 257s self = 257s 257s def test_iter(self): 257s params = ( 257s ((1,), (1,)), 257s ((2,), (1,)), 257s ((1,), (2,)), 257s ((3,), (3,)), 257s ((1000,), (100,)), 257s ((100,), (1000,)), 257s ((1, 100), (1, 1)), 257s ((1, 0), (1, 1)), 257s ((0, 1), (1, 1)), 257s ((0, 1), (2, 1)), 257s ((100, 1), (3, 1)), 257s ((100, 100), (10, 10)), 257s ((10, 10, 10), (3, 3, 3)), 257s ) 257s for shape, chunks in params: 257s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 257s a = np.arange(np.prod(shape)).reshape(shape) 257s z[:] = a 257s > for expect, actual in zip_longest(a, z): 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1531: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 257s chunk = self[j : j + chunk_size] 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _________________ TestArrayWithFSStorePartialRead.test_islice __________________ 257s 257s self = 257s 257s def test_islice(self): 257s params = ( 257s ((1,), (1,), 0, 1), 257s ((2,), (1,), 0, 1), 257s ((1,), (2,), 0, 1), 257s ((3,), (3,), 1, 2), 257s ((1000,), (100,), 150, 1050), 257s ((100,), (1000,), 25, 75), 257s ((1, 100), (1, 1), 0, 1), 257s ((100, 1), (3, 1), 56, 100), 257s ((100, 100), (10, 10), 13, 99), 257s ((10, 10, 10), (3, 3, 3), 2, 4), 257s ) 257s for shape, chunks, start, end in params: 257s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 257s a = np.arange(np.prod(shape)).reshape(shape) 257s z[:] = a 257s end_array = min(end, a.shape[0]) 257s > for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)): 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1553: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 257s chunk = self[j : j + chunk_size] 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ________________ TestArrayWithFSStorePartialRead.test_non_cont _________________ 257s 257s self = 257s 257s def test_non_cont(self): 257s z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype=" assert z[0, :, 0].any() 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2446: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 257s result = self.get_orthogonal_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x04 \xa1\x07\x00\x00\x01\x00\x00>\xb7\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _ TestArrayWithFSStorePartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _ 257s 257s self = 257s 257s def test_read_nitems_less_than_blocksize_from_multiple_chunks(self): 257s """Tests to make sure decompression doesn't fail when `nitems` is 257s less than a compressed block size, but covers multiple blocks 257s """ 257s z = self.create_array(shape=1000000, chunks=100_000) 257s z[40_000:80_000] = 1 257s path = None if self.version == 2 else z.path 257s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 257s > assert (b[40_000:80_000] == 1).all() 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2456: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xd3\x18\x01\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s __________ TestArrayWithFSStorePartialRead.test_read_from_all_blocks ___________ 257s 257s self = 257s 257s def test_read_from_all_blocks(self): 257s """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when 257s stop isn't in the `start_points` array 257s """ 257s z = self.create_array(shape=1000000, chunks=100_000) 257s z[2:99_000] = 1 257s path = None if self.version == 2 else z.path 257s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 257s > assert (b[2:99_000] == 1).all() 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2466: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xe7`\x01\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _____________ TestArrayWithFSStoreNestedPartialRead.test_array_1d ______________ 257s 257s self = 257s 257s def test_array_1d(self): 257s a = np.arange(1050) 257s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 257s 257s # check properties 257s assert len(a) == len(z) 257s assert a.ndim == z.ndim 257s assert a.shape == z.shape 257s assert a.dtype == z.dtype 257s assert (100,) == z.chunks 257s assert a.nbytes == z.nbytes 257s assert 11 == z.nchunks 257s assert 0 == z.nchunks_initialized 257s assert (11,) == z.cdata_shape 257s 257s # check empty 257s b = z[:] 257s assert isinstance(b, np.ndarray) 257s assert a.shape == b.shape 257s assert a.dtype == b.dtype 257s 257s # check attributes 257s z.attrs["foo"] = "bar" 257s assert "bar" == z.attrs["foo"] 257s 257s # set data 257s z[:] = a 257s 257s # check properties 257s assert a.nbytes == z.nbytes 257s assert 11 == z.nchunks 257s assert 11 == z.nchunks_initialized 257s 257s # check slicing 257s > assert_array_equal(a, np.array(z)) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:288: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 257s return np.array(self[...], *args, **kwargs) 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_fill_value ________ 257s 257s self = 257s 257s def test_array_1d_fill_value(self): 257s for fill_value in -1, 0, 1, 10: 257s a = np.arange(1050) 257s f = np.empty_like(a) 257s f.fill(fill_value) 257s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value) 257s z[190:310] = a[190:310] 257s 257s > assert_array_equal(f[:190], z[:190]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:344: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00?\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_selections ________ 257s 257s self = 257s 257s def test_array_1d_selections(self): 257s # light test here, full tests in test_indexing 257s 257s # setup 257s a = np.arange(1050) 257s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 257s z[:] = a 257s 257s # get 257s > assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150))) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:378: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\x8e\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _____________ TestArrayWithFSStoreNestedPartialRead.test_array_2d ______________ 257s 257s self = 257s 257s def test_array_2d(self): 257s a = np.arange(10000).reshape((1000, 10)) 257s z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype) 257s 257s # check properties 257s assert len(a) == len(z) 257s assert a.ndim == z.ndim 257s assert a.shape == z.shape 257s assert a.dtype == z.dtype 257s assert (100, 2) == z.chunks 257s assert 0 == z.nchunks_initialized 257s assert (10, 5) == z.cdata_shape 257s 257s # set data 257s z[:] = a 257s 257s # check properties 257s assert a.nbytes == z.nbytes 257s assert 50 == z.nchunks_initialized 257s 257s # check array-like 257s > assert_array_equal(a, np.array(z)) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:440: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 257s return np.array(self[...], *args, **kwargs) 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x01!\x08@\x06\x00\x00@\x06\x00\x00X\x01\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_edge_case _________ 257s 257s self = 257s 257s def test_array_2d_edge_case(self): 257s # this fails with filters - chunks extend beyond edge of array, messes with delta 257s # filter if no fill value? 257s shape = 1000, 10 257s chunks = 300, 30 257s dtype = "i8" 257s z = self.create_array(shape=shape, dtype=dtype, chunks=chunks) 257s z[:] = 0 257s expect = np.zeros(shape, dtype=dtype) 257s > actual = z[:] 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:537: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x01!\x08@\x19\x01\x00@\x19\x01\x00\xa4\x01\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_partial __________ 257s 257s self = 257s 257s def test_array_2d_partial(self): 257s z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0) 257s 257s # check partial assignment, single row 257s c = np.arange(z.shape[1]) 257s z[0, :] = c 257s with pytest.raises(ValueError): 257s # N.B., NumPy allows this, but we'll be strict for now 257s z[2:3] = c 257s with pytest.raises(ValueError): 257s # N.B., NumPy allows this, but we'll be strict for now 257s z[-1:] = c 257s z[2:3] = c[None, :] 257s z[-1:] = c[None, :] 257s > assert_array_equal(c, z[0, :]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:556: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 257s result = self.get_orthogonal_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x01!\x04 \x03\x00\x00 \x03\x00\x00Z\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ____________ TestArrayWithFSStoreNestedPartialRead.test_array_order ____________ 257s 257s self = 257s 257s def test_array_order(self): 257s # 1D 257s a = np.arange(1050) 257s for order in "C", "F": 257s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order) 257s assert order == z.order 257s if order == "F": 257s assert z[:].flags.f_contiguous 257s else: 257s assert z[:].flags.c_contiguous 257s z[:] = a 257s > assert_array_equal(a, z[:]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:594: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_1d _____________ 257s 257s self = 257s 257s def test_resize_1d(self): 257s z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0) 257s a = np.arange(105, dtype="i4") 257s z[:] = a 257s assert (105,) == z.shape 257s > assert (105,) == z[:].shape 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:679: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_2d _____________ 257s 257s self = 257s 257s def test_resize_2d(self): 257s z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0) 257s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 257s z[:] = a 257s assert (105, 105) == z.shape 257s > assert (105, 105) == z[:].shape 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:714: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _____________ TestArrayWithFSStoreNestedPartialRead.test_append_1d _____________ 257s 257s self = 257s 257s def test_append_1d(self): 257s a = np.arange(105) 257s z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype) 257s z[:] = a 257s assert a.shape == z.shape 257s assert a.dtype == z.dtype 257s assert (10,) == z.chunks 257s > assert_array_equal(a, z[:]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:776: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _____________ TestArrayWithFSStoreNestedPartialRead.test_append_2d _____________ 257s 257s self = 257s 257s def test_append_2d(self): 257s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 257s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 257s z[:] = a 257s assert a.shape == z.shape 257s assert a.dtype == z.dtype 257s assert (10, 10) == z.chunks 257s > actual = z[:] 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:804: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s __________ TestArrayWithFSStoreNestedPartialRead.test_append_2d_axis ___________ 257s 257s self = 257s 257s def test_append_2d_axis(self): 257s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 257s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 257s z[:] = a 257s assert a.shape == z.shape 257s assert a.dtype == z.dtype 257s assert (10, 10) == z.chunks 257s > assert_array_equal(a, z[:]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:825: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _____________ TestArrayWithFSStoreNestedPartialRead.test_np_ufuncs _____________ 257s 257s self = 257s 257s def test_np_ufuncs(self): 257s z = self.create_array(shape=(100, 100), chunks=(10, 10)) 257s a = np.arange(10000).reshape(100, 100) 257s z[:] = a 257s 257s > assert np.sum(a) == np.sum(z) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:917: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum 257s return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims, 257s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction 257s return ufunc.reduce(obj, axis, dtype, out, **passkwargs) 257s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 257s return np.array(self[...], *args, **kwargs) 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\xed\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _________ TestArrayWithFSStoreNestedPartialRead.test_array_dtype_shape _________ 257s 257s self = 257s 257s def test_array_dtype_shape(self): 257s dt = "(2, 2)f4" 257s # setup some data 257s d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt) 257s 257s for a in (d, d[:0]): 257s for fill_value in None, 0: 257s z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value) 257s assert len(a) == len(z) 257s if fill_value is not None: 257s assert fill_value == z.fill_value 257s z[...] = a 257s > assert_array_equal(a, z[...]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1101: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _________ TestArrayWithFSStoreNestedPartialRead.test_structured_array __________ 257s 257s self = 257s 257s def test_structured_array(self): 257s d = np.array( 257s [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)], 257s dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")], 257s ) 257s fill_values = None, b"", (b"zzz", 42, 16.8) 257s > self.check_structured_array(d, fill_values) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1151: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 257s assert a[0] == z[0] 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ____ TestArrayWithFSStoreNestedPartialRead.test_structured_array_subshapes _____ 257s 257s self = 257s 257s def test_structured_array_subshapes(self): 257s d = np.array( 257s [ 257s (0, ((0, 1, 2), (1, 2, 3)), b"aaa"), 257s (1, ((1, 2, 3), (2, 3, 4)), b"bbb"), 257s (2, ((2, 3, 4), (3, 4, 5)), b"ccc"), 257s ], 257s dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")], 257s ) 257s fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz") 257s > self.check_structured_array(d, fill_values) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1163: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 257s assert a[0] == z[0] 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ______ TestArrayWithFSStoreNestedPartialRead.test_structured_array_nested ______ 257s 257s self = 257s 257s def test_structured_array_nested(self): 257s d = np.array( 257s [ 257s (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"), 257s (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"), 257s (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"), 257s ], 257s dtype=[ 257s ("foo", "i8"), 257s ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]), 257s ("baz", "S3"), 257s ], 257s ) 257s fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz") 257s > self.check_structured_array(d, fill_values) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1179: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 257s assert a[0] == z[0] 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ______________ TestArrayWithFSStoreNestedPartialRead.test_dtypes _______________ 257s 257s self = 257s 257s def test_dtypes(self): 257s # integers 257s for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8": 257s z = self.create_array(shape=10, chunks=3, dtype=dtype) 257s assert z.dtype == np.dtype(dtype) 257s a = np.arange(z.shape[0], dtype=dtype) 257s z[:] = a 257s > assert_array_equal(a, z[:]) 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1188: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _______________ TestArrayWithFSStoreNestedPartialRead.test_iter ________________ 257s 257s self = 257s 257s def test_iter(self): 257s params = ( 257s ((1,), (1,)), 257s ((2,), (1,)), 257s ((1,), (2,)), 257s ((3,), (3,)), 257s ((1000,), (100,)), 257s ((100,), (1000,)), 257s ((1, 100), (1, 1)), 257s ((1, 0), (1, 1)), 257s ((0, 1), (1, 1)), 257s ((0, 1), (2, 1)), 257s ((100, 1), (3, 1)), 257s ((100, 100), (10, 10)), 257s ((10, 10, 10), (3, 3, 3)), 257s ) 257s for shape, chunks in params: 257s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 257s a = np.arange(np.prod(shape)).reshape(shape) 257s z[:] = a 257s > for expect, actual in zip_longest(a, z): 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1531: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 257s chunk = self[j : j + chunk_size] 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s ______________ TestArrayWithFSStoreNestedPartialRead.test_islice _______________ 257s 257s self = 257s 257s def test_islice(self): 257s params = ( 257s ((1,), (1,), 0, 1), 257s ((2,), (1,), 0, 1), 257s ((1,), (2,), 0, 1), 257s ((3,), (3,), 1, 2), 257s ((1000,), (100,), 150, 1050), 257s ((100,), (1000,), 25, 75), 257s ((1, 100), (1, 1), 0, 1), 257s ((100, 1), (3, 1), 56, 100), 257s ((100, 100), (10, 10), 13, 99), 257s ((10, 10, 10), (3, 3, 3), 2, 4), 257s ) 257s for shape, chunks, start, end in params: 257s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 257s a = np.arange(np.prod(shape)).reshape(shape) 257s z[:] = a 257s end_array = min(end, a.shape[0]) 257s > for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)): 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1553: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 257s chunk = self[j : j + chunk_size] 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _____________ TestArrayWithFSStoreNestedPartialRead.test_non_cont ______________ 257s 257s self = 257s 257s def test_non_cont(self): 257s z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype=" assert z[0, :, 0].any() 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2503: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 257s result = self.get_orthogonal_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x01!\x04 \xa1\x07\x00 \xa1\x07\x00\xf8\x07\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _ TestArrayWithFSStoreNestedPartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _ 257s 257s self = 257s 257s def test_read_nitems_less_than_blocksize_from_multiple_chunks(self): 257s """Tests to make sure decompression doesn't fail when `nitems` is 257s less than a compressed block size, but covers multiple blocks 257s """ 257s z = self.create_array(shape=1000000, chunks=100_000) 257s z[40_000:80_000] = 1 257s path = None if self.version == 2 else z.path 257s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 257s > assert (b[40_000:80_000] == 1).all() 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2513: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xdc\x0c\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s _______ TestArrayWithFSStoreNestedPartialRead.test_read_from_all_blocks ________ 257s 257s self = 257s 257s def test_read_from_all_blocks(self): 257s """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when 257s stop isn't in the `start_points` array 257s """ 257s z = self.create_array(shape=1000000, chunks=100_000) 257s z[2:99_000] = 1 257s path = None if self.version == 2 else z.path 257s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 257s > assert (b[2:99_000] == 1).all() 257s 257s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2523: 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 257s result = self.get_basic_selection(pure_selection, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 257s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 257s return self._get_selection(indexer=indexer, out=out, fields=fields) 257s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 257s self._chunk_getitems( 257s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 257s self._process_chunk( 257s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 257s cdata.prepare_chunk() 257s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 257s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 257s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 257s 257s wrapped_ = , instance_ = None 257s args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xe0\x0c\x00\x00',) 257s kwargs_ = {} 257s 257s @wrapt.decorator 257s def wrapper_function(wrapped_, instance_, args_, kwargs_): 257s msg = self.get_deprecated_msg(wrapped_, instance_) 257s stacklevel = _routine_stacklevel + self.extra_stacklevel 257s if self.action: 257s with warnings.catch_warnings(): 257s warnings.simplefilter(self.action, self.category) 257s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s else: 257s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 257s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 257s 257s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 257s =============================== warnings summary =============================== 257s tests/test_core.py::TestArrayWithDBMStore::test_array_order 257s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: 257s 257s Traceback (most recent call last): 257s File "/usr/lib/python3/dist-packages/zarr/indexing.py", line 355, in 257s chunk_coords = tuple(p.dim_chunk_ix for p in dim_projections) 257s 257s ResourceWarning: unclosed database in 257s 257s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 257s 257s tests/test_core.py::TestArrayWithDBMStore::test_object_arrays_danger 257s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: 257s 257s Traceback (most recent call last): 257s File "/usr/lib/python3/dist-packages/zarr/indexing.py", line 356, in 257s chunk_selection = tuple(p.dim_chunk_sel for p in dim_projections) 257s 257s ResourceWarning: unclosed database in 257s 257s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 257s 257s tests/test_core.py::TestArrayWithSQLiteStore::test_array_1d_fill_value 257s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: 257s 257s Traceback (most recent call last): 257s File "/usr/lib/python3/dist-packages/zarr/indexing.py", line 356, in 257s chunk_selection = tuple(p.dim_chunk_sel for p in dim_projections) 257s 257s ResourceWarning: unclosed database in 257s 257s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 257s 257s tests/test_core.py::TestArrayWithSQLiteStore::test_object_arrays_vlen_text 257s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: 257s 257s Traceback (most recent call last): 257s File "/usr/lib/python3/dist-packages/zarr/indexing.py", line 240, in 257s n_ellipsis = sum(1 for i in selection if i is Ellipsis) 257s 257s ResourceWarning: unclosed database in 257s 257s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 257s 257s tests/test_core.py::TestArrayWithNoCompressor::test_array_2d 257s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: 257s 257s Traceback (most recent call last): 257s File "/usr/lib/python3/dist-packages/zarr/indexing.py", line 355, in 257s chunk_coords = tuple(p.dim_chunk_ix for p in dim_projections) 257s 257s ResourceWarning: unclosed database in 257s 257s warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 257s 257s tests/test_filters.py::test_array_with_scaleoffset_filter 257s /usr/lib/python3/dist-packages/numcodecs/fixedscaleoffset.py:97: RuntimeWarning: invalid value encountered in cast 257s return enc.astype(self.astype, copy=False) 257s 257s tests/test_storage.py::TestZipStore::test_store_and_retrieve_ndarray 257s /usr/lib/python3.13/zipfile/__init__.py:1638: UserWarning: Duplicate name: 'foo' 257s return self._open_to_write(zinfo, force_zip64=force_zip64) 257s 257s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_setitem 257s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_setitem 257s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_append 257s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_append 257s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_create_group 257s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_create_group 257s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_require_group 257s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_require_group 257s /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=2926) is multi-threaded, use of fork() may lead to deadlocks in the child. 257s self.pid = os.fork() 257s 257s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 257s ============================= slowest 10 durations ============================= 257s 8.97s call tests/test_indexing.py::test_set_orthogonal_selection_3d 257s 1.82s call tests/test_storage.py::test_format_compatibility 257s 1.26s call tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont 257s 1.18s call tests/test_core.py::TestArrayWithSQLiteStore::test_islice 257s 1.13s call tests/test_core.py::TestArrayWithSQLiteStore::test_iter 257s 1.05s call tests/test_indexing.py::test_set_orthogonal_selection_2d 257s 0.98s call tests/test_core.py::TestArrayWithSQLiteStore::test_append_2d_axis 257s 0.88s call tests/test_core.py::TestArrayWithDBMStore::test_iter 257s 0.83s call tests/test_core.py::TestArrayWithSQLiteStore::test_resize_2d 257s 0.81s call tests/test_core.py::TestArrayWithSQLiteStore::test_append_2d 257s =========================== short test summary info ============================ 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d - D... 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_fill_value 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_selections 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d - D... 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_edge_case 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_partial 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_order 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_1d - ... 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_2d - ... 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_1d - ... 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d - ... 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d_axis 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_np_ufuncs - ... 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_dtype_shape 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_subshapes 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_nested 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_dtypes - Dep... 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_iter - Depre... 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_islice - Dep... 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont - D... 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks 257s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_from_all_blocks 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_fill_value 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_selections 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_edge_case 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_partial 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_order 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_1d 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_2d 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_1d 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d_axis 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_np_ufuncs 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_dtype_shape 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_subshapes 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_nested 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_dtypes 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_iter 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_islice 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_non_cont 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks 257s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_from_all_blocks 257s = 46 failed, 2204 passed, 2004 skipped, 717 deselected, 4 xfailed, 15 warnings in 74.60s (0:01:14) = 258s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.Bn3NBA/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 258s I: pybuild base:311: cd /tmp/autopkgtest.Bn3NBA/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 261s ============================= test session starts ============================== 261s platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 261s rootdir: /tmp/autopkgtest.Bn3NBA/autopkgtest_tmp/build 261s configfile: pyproject.toml 261s plugins: doctestplus-1.3.0, typeguard-4.4.1, timeout-2.3.1 261s collected 4975 items / 717 deselected / 4258 selected 261s 261s tests/test_attrs.py .................. [ 0%] 261s tests/test_convenience.py .....ss...................ssssssss.s.......... [ 1%] 262s ..................................................ssssssssssssssssssssss [ 3%] 262s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 4%] 262s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 6%] 262s ssssssssssssss [ 6%] 263s tests/test_core.py ..................................................... [ 8%] 264s ........................................................................ [ 9%] 266s ................................................................ssssssss [ 11%] 267s sssssssssssssssssssssssssssssssssssssss................................. [ 13%] 269s ........................................................................ [ 14%] 270s ........................................................................ [ 16%] 271s .............sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 18%] 278s sssssssssssssssssssssssssssssssssss..................................... [ 19%] 282s ........................................................................ [ 21%] 285s ........................................................................ [ 23%] 286s ........................................................................ [ 25%] 287s ........................................................................ [ 26%] 289s ........................................................................ [ 28%] 291s ........................................................................ [ 30%] 295s .........................................................FF.FFFFF..FFFFF [ 31%] 301s ...F....FFFFF......s.FF....FFF.......................................... [ 33%] 307s ..........FF.FFFFF..FFFFF...F....FFFFF......s.FF....FFFsssssssssssssssss [ 35%] 307s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 36%] 307s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 38%] 308s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 40%] 308s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 41%] 308s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 43%] 308s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 45%] 308s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 47%] 308s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 48%] 308s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 50%] 308s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 52%] 308s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 53%] 308s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 55%] 308s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...... [ 57%] 308s [ 57%] 308s tests/test_creation.py ................................................. [ 58%] 309s ..................................ss..... [ 59%] 309s tests/test_dim_separator.py ..........................x....x [ 60%] 309s tests/test_filters.py ...... [ 60%] 321s tests/test_indexing.py ................................................. [ 61%] 321s ......xx...... [ 61%] 321s tests/test_info.py .. [ 61%] 321s tests/test_meta.py ......................... [ 62%] 321s tests/test_meta_array.py .sss.sss.sss.sss.sss.sss.sss.sss..ssssss..sssss [ 63%] 321s s..ssssss..ssssss [ 63%] 321s tests/test_n5.py ..... [ 63%] 321s tests/test_storage.py ...................s........................s..... [ 65%] 322s ...................s.................................................... [ 66%] 322s .......................ss..............s................................ [ 68%] 322s ........................................................................ [ 70%] 322s ....................ss.................................................. [ 71%] 322s .............s.......................................................... [ 73%] 322s ........................................................................ [ 75%] 323s .....ssssssssssssssssssssssss........................................... [ 76%] 323s .......ssssssssssssssssssssssssssssssssssssssssssssssss.............s... [ 78%] 323s ..............ssssssssssssssssssssssssss....... [ 79%] 323s tests/test_storage_v3.py sssssssssssssssssssssssssssssssssssssssssssssss [ 80%] 324s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 82%] 324s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 84%] 324s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 85%] 324s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 87%] 324s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 89%] 324s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 90%] 324s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 92%] 324s ssssssssssssss [ 93%] 324s tests/test_sync.py ..................................................... [ 94%] 325s ........................................................................ [ 95%] 327s ........................................................................ [ 97%] 329s ........................................................................ [ 99%] 329s ........... [ 99%] 329s tests/test_util.py .................. [100%] 329s 329s =================================== FAILURES =================================== 329s ________________ TestArrayWithFSStorePartialRead.test_array_1d _________________ 329s 329s self = 329s 329s def test_array_1d(self): 329s a = np.arange(1050) 329s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 329s 329s # check properties 329s assert len(a) == len(z) 329s assert a.ndim == z.ndim 329s assert a.shape == z.shape 329s assert a.dtype == z.dtype 329s assert (100,) == z.chunks 329s assert a.nbytes == z.nbytes 329s assert 11 == z.nchunks 329s assert 0 == z.nchunks_initialized 329s assert (11,) == z.cdata_shape 329s 329s # check empty 329s b = z[:] 329s assert isinstance(b, np.ndarray) 329s assert a.shape == b.shape 329s assert a.dtype == b.dtype 329s 329s # check attributes 329s z.attrs["foo"] = "bar" 329s assert "bar" == z.attrs["foo"] 329s 329s # set data 329s z[:] = a 329s 329s # check properties 329s assert a.nbytes == z.nbytes 329s assert 11 == z.nchunks 329s assert 11 == z.nchunks_initialized 329s 329s # check slicing 329s > assert_array_equal(a, np.array(z)) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:288: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 329s return np.array(self[...], *args, **kwargs) 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ___________ TestArrayWithFSStorePartialRead.test_array_1d_fill_value ___________ 329s 329s self = 329s 329s def test_array_1d_fill_value(self): 329s for fill_value in -1, 0, 1, 10: 329s a = np.arange(1050) 329s f = np.empty_like(a) 329s f.fill(fill_value) 329s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value) 329s z[190:310] = a[190:310] 329s 329s > assert_array_equal(f[:190], z[:190]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:344: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00}\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ___________ TestArrayWithFSStorePartialRead.test_array_1d_selections ___________ 329s 329s self = 329s 329s def test_array_1d_selections(self): 329s # light test here, full tests in test_indexing 329s 329s # setup 329s a = np.arange(1050) 329s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 329s z[:] = a 329s 329s # get 329s > assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150))) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:378: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xd2\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ________________ TestArrayWithFSStorePartialRead.test_array_2d _________________ 329s 329s self = 329s 329s def test_array_2d(self): 329s a = np.arange(10000).reshape((1000, 10)) 329s z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype) 329s 329s # check properties 329s assert len(a) == len(z) 329s assert a.ndim == z.ndim 329s assert a.shape == z.shape 329s assert a.dtype == z.dtype 329s assert (100, 2) == z.chunks 329s assert 0 == z.nchunks_initialized 329s assert (10, 5) == z.cdata_shape 329s 329s # set data 329s z[:] = a 329s 329s # check properties 329s assert a.nbytes == z.nbytes 329s assert 50 == z.nchunks_initialized 329s 329s # check array-like 329s > assert_array_equal(a, np.array(z)) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:440: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 329s return np.array(self[...], *args, **kwargs) 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08@\x06\x00\x00\x00\x01\x00\x00\xb2\x01\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ___________ TestArrayWithFSStorePartialRead.test_array_2d_edge_case ____________ 329s 329s self = 329s 329s def test_array_2d_edge_case(self): 329s # this fails with filters - chunks extend beyond edge of array, messes with delta 329s # filter if no fill value? 329s shape = 1000, 10 329s chunks = 300, 30 329s dtype = "i8" 329s z = self.create_array(shape=shape, dtype=dtype, chunks=chunks) 329s z[:] = 0 329s expect = np.zeros(shape, dtype=dtype) 329s > actual = z[:] 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:537: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08@\x19\x01\x00\x00\x01\x00\x00\xfe\x14\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ____________ TestArrayWithFSStorePartialRead.test_array_2d_partial _____________ 329s 329s self = 329s 329s def test_array_2d_partial(self): 329s z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0) 329s 329s # check partial assignment, single row 329s c = np.arange(z.shape[1]) 329s z[0, :] = c 329s with pytest.raises(ValueError): 329s # N.B., NumPy allows this, but we'll be strict for now 329s z[2:3] = c 329s with pytest.raises(ValueError): 329s # N.B., NumPy allows this, but we'll be strict for now 329s z[-1:] = c 329s z[2:3] = c[None, :] 329s z[-1:] = c[None, :] 329s > assert_array_equal(c, z[0, :]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:556: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 329s result = self.get_orthogonal_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x04 \x03\x00\x00\x00\x01\x00\x00f\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _______________ TestArrayWithFSStorePartialRead.test_array_order _______________ 329s 329s self = 329s 329s def test_array_order(self): 329s # 1D 329s a = np.arange(1050) 329s for order in "C", "F": 329s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order) 329s assert order == z.order 329s if order == "F": 329s assert z[:].flags.f_contiguous 329s else: 329s assert z[:].flags.c_contiguous 329s z[:] = a 329s > assert_array_equal(a, z[:]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:594: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00\xab\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ________________ TestArrayWithFSStorePartialRead.test_resize_1d ________________ 329s 329s self = 329s 329s def test_resize_1d(self): 329s z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0) 329s a = np.arange(105, dtype="i4") 329s z[:] = a 329s assert (105,) == z.shape 329s > assert (105,) == z[:].shape 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:679: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ________________ TestArrayWithFSStorePartialRead.test_resize_2d ________________ 329s 329s self = 329s 329s def test_resize_2d(self): 329s z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0) 329s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 329s z[:] = a 329s assert (105, 105) == z.shape 329s > assert (105, 105) == z[:].shape 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:714: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ________________ TestArrayWithFSStorePartialRead.test_append_1d ________________ 329s 329s self = 329s 329s def test_append_1d(self): 329s a = np.arange(105) 329s z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype) 329s z[:] = a 329s assert a.shape == z.shape 329s assert a.dtype == z.dtype 329s assert (10,) == z.chunks 329s > assert_array_equal(a, z[:]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:776: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ________________ TestArrayWithFSStorePartialRead.test_append_2d ________________ 329s 329s self = 329s 329s def test_append_2d(self): 329s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 329s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 329s z[:] = a 329s assert a.shape == z.shape 329s assert a.dtype == z.dtype 329s assert (10, 10) == z.chunks 329s > actual = z[:] 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:804: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _____________ TestArrayWithFSStorePartialRead.test_append_2d_axis ______________ 329s 329s self = 329s 329s def test_append_2d_axis(self): 329s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 329s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 329s z[:] = a 329s assert a.shape == z.shape 329s assert a.dtype == z.dtype 329s assert (10, 10) == z.chunks 329s > assert_array_equal(a, z[:]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:825: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x00\x01\x00\x00\xbe\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ________________ TestArrayWithFSStorePartialRead.test_np_ufuncs ________________ 329s 329s self = 329s 329s def test_np_ufuncs(self): 329s z = self.create_array(shape=(100, 100), chunks=(10, 10)) 329s a = np.arange(10000).reshape(100, 100) 329s z[:] = a 329s 329s > assert np.sum(a) == np.sum(z) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:917: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum 329s return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims, 329s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction 329s return ufunc.reduce(obj, axis, dtype, out, **passkwargs) 329s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 329s return np.array(self[...], *args, **kwargs) 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08 \x03\x00\x00\x00\x01\x00\x00-\x01\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ____________ TestArrayWithFSStorePartialRead.test_array_dtype_shape ____________ 329s 329s self = 329s 329s def test_array_dtype_shape(self): 329s dt = "(2, 2)f4" 329s # setup some data 329s d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt) 329s 329s for a in (d, d[:0]): 329s for fill_value in None, 0: 329s z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value) 329s assert len(a) == len(z) 329s if fill_value is not None: 329s assert fill_value == z.fill_value 329s z[...] = a 329s > assert_array_equal(a, z[...]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1101: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ____________ TestArrayWithFSStorePartialRead.test_structured_array _____________ 329s 329s self = 329s 329s def test_structured_array(self): 329s d = np.array( 329s [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)], 329s dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")], 329s ) 329s fill_values = None, b"", (b"zzz", 42, 16.8) 329s > self.check_structured_array(d, fill_values) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1151: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 329s assert a[0] == z[0] 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _______ TestArrayWithFSStorePartialRead.test_structured_array_subshapes ________ 329s 329s self = 329s 329s def test_structured_array_subshapes(self): 329s d = np.array( 329s [ 329s (0, ((0, 1, 2), (1, 2, 3)), b"aaa"), 329s (1, ((1, 2, 3), (2, 3, 4)), b"bbb"), 329s (2, ((2, 3, 4), (3, 4, 5)), b"ccc"), 329s ], 329s dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")], 329s ) 329s fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz") 329s > self.check_structured_array(d, fill_values) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1163: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 329s assert a[0] == z[0] 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _________ TestArrayWithFSStorePartialRead.test_structured_array_nested _________ 329s 329s self = 329s 329s def test_structured_array_nested(self): 329s d = np.array( 329s [ 329s (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"), 329s (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"), 329s (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"), 329s ], 329s dtype=[ 329s ("foo", "i8"), 329s ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]), 329s ("baz", "S3"), 329s ], 329s ) 329s fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz") 329s > self.check_structured_array(d, fill_values) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1179: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 329s assert a[0] == z[0] 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _________________ TestArrayWithFSStorePartialRead.test_dtypes __________________ 329s 329s self = 329s 329s def test_dtypes(self): 329s # integers 329s for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8": 329s z = self.create_array(shape=10, chunks=3, dtype=dtype) 329s assert z.dtype == np.dtype(dtype) 329s a = np.arange(z.shape[0], dtype=dtype) 329s z[:] = a 329s > assert_array_equal(a, z[:]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1188: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s __________________ TestArrayWithFSStorePartialRead.test_iter ___________________ 329s 329s self = 329s 329s def test_iter(self): 329s params = ( 329s ((1,), (1,)), 329s ((2,), (1,)), 329s ((1,), (2,)), 329s ((3,), (3,)), 329s ((1000,), (100,)), 329s ((100,), (1000,)), 329s ((1, 100), (1, 1)), 329s ((1, 0), (1, 1)), 329s ((0, 1), (1, 1)), 329s ((0, 1), (2, 1)), 329s ((100, 1), (3, 1)), 329s ((100, 100), (10, 10)), 329s ((10, 10, 10), (3, 3, 3)), 329s ) 329s for shape, chunks in params: 329s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 329s a = np.arange(np.prod(shape)).reshape(shape) 329s z[:] = a 329s > for expect, actual in zip_longest(a, z): 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1531: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 329s chunk = self[j : j + chunk_size] 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _________________ TestArrayWithFSStorePartialRead.test_islice __________________ 329s 329s self = 329s 329s def test_islice(self): 329s params = ( 329s ((1,), (1,), 0, 1), 329s ((2,), (1,), 0, 1), 329s ((1,), (2,), 0, 1), 329s ((3,), (3,), 1, 2), 329s ((1000,), (100,), 150, 1050), 329s ((100,), (1000,), 25, 75), 329s ((1, 100), (1, 1), 0, 1), 329s ((100, 1), (3, 1), 56, 100), 329s ((100, 100), (10, 10), 13, 99), 329s ((10, 10, 10), (3, 3, 3), 2, 4), 329s ) 329s for shape, chunks, start, end in params: 329s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 329s a = np.arange(np.prod(shape)).reshape(shape) 329s z[:] = a 329s end_array = min(end, a.shape[0]) 329s > for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)): 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1553: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 329s chunk = self[j : j + chunk_size] 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ________________ TestArrayWithFSStorePartialRead.test_non_cont _________________ 329s 329s self = 329s 329s def test_non_cont(self): 329s z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype=" assert z[0, :, 0].any() 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2446: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 329s result = self.get_orthogonal_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x04 \xa1\x07\x00\x00\x01\x00\x00>\xb7\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _ TestArrayWithFSStorePartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _ 329s 329s self = 329s 329s def test_read_nitems_less_than_blocksize_from_multiple_chunks(self): 329s """Tests to make sure decompression doesn't fail when `nitems` is 329s less than a compressed block size, but covers multiple blocks 329s """ 329s z = self.create_array(shape=1000000, chunks=100_000) 329s z[40_000:80_000] = 1 329s path = None if self.version == 2 else z.path 329s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 329s > assert (b[40_000:80_000] == 1).all() 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2456: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xd3\x18\x01\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s __________ TestArrayWithFSStorePartialRead.test_read_from_all_blocks ___________ 329s 329s self = 329s 329s def test_read_from_all_blocks(self): 329s """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when 329s stop isn't in the `start_points` array 329s """ 329s z = self.create_array(shape=1000000, chunks=100_000) 329s z[2:99_000] = 1 329s path = None if self.version == 2 else z.path 329s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 329s > assert (b[2:99_000] == 1).all() 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2466: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08\x005\x0c\x00\x00\x01\x00\x00\xe7`\x01\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _____________ TestArrayWithFSStoreNestedPartialRead.test_array_1d ______________ 329s 329s self = 329s 329s def test_array_1d(self): 329s a = np.arange(1050) 329s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 329s 329s # check properties 329s assert len(a) == len(z) 329s assert a.ndim == z.ndim 329s assert a.shape == z.shape 329s assert a.dtype == z.dtype 329s assert (100,) == z.chunks 329s assert a.nbytes == z.nbytes 329s assert 11 == z.nchunks 329s assert 0 == z.nchunks_initialized 329s assert (11,) == z.cdata_shape 329s 329s # check empty 329s b = z[:] 329s assert isinstance(b, np.ndarray) 329s assert a.shape == b.shape 329s assert a.dtype == b.dtype 329s 329s # check attributes 329s z.attrs["foo"] = "bar" 329s assert "bar" == z.attrs["foo"] 329s 329s # set data 329s z[:] = a 329s 329s # check properties 329s assert a.nbytes == z.nbytes 329s assert 11 == z.nchunks 329s assert 11 == z.nchunks_initialized 329s 329s # check slicing 329s > assert_array_equal(a, np.array(z)) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:288: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 329s return np.array(self[...], *args, **kwargs) 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_fill_value ________ 329s 329s self = 329s 329s def test_array_1d_fill_value(self): 329s for fill_value in -1, 0, 1, 10: 329s a = np.arange(1050) 329s f = np.empty_like(a) 329s f.fill(fill_value) 329s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, fill_value=fill_value) 329s z[190:310] = a[190:310] 329s 329s > assert_array_equal(f[:190], z[:190]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:344: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00?\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ________ TestArrayWithFSStoreNestedPartialRead.test_array_1d_selections ________ 329s 329s self = 329s 329s def test_array_1d_selections(self): 329s # light test here, full tests in test_indexing 329s 329s # setup 329s a = np.arange(1050) 329s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype) 329s z[:] = a 329s 329s # get 329s > assert_array_equal(a[50:150], z.get_orthogonal_selection(slice(50, 150))) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:378: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\x8e\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _____________ TestArrayWithFSStoreNestedPartialRead.test_array_2d ______________ 329s 329s self = 329s 329s def test_array_2d(self): 329s a = np.arange(10000).reshape((1000, 10)) 329s z = self.create_array(shape=a.shape, chunks=(100, 2), dtype=a.dtype) 329s 329s # check properties 329s assert len(a) == len(z) 329s assert a.ndim == z.ndim 329s assert a.shape == z.shape 329s assert a.dtype == z.dtype 329s assert (100, 2) == z.chunks 329s assert 0 == z.nchunks_initialized 329s assert (10, 5) == z.cdata_shape 329s 329s # set data 329s z[:] = a 329s 329s # check properties 329s assert a.nbytes == z.nbytes 329s assert 50 == z.nchunks_initialized 329s 329s # check array-like 329s > assert_array_equal(a, np.array(z)) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:440: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 329s return np.array(self[...], *args, **kwargs) 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x01!\x08@\x06\x00\x00@\x06\x00\x00X\x01\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_edge_case _________ 329s 329s self = 329s 329s def test_array_2d_edge_case(self): 329s # this fails with filters - chunks extend beyond edge of array, messes with delta 329s # filter if no fill value? 329s shape = 1000, 10 329s chunks = 300, 30 329s dtype = "i8" 329s z = self.create_array(shape=shape, dtype=dtype, chunks=chunks) 329s z[:] = 0 329s expect = np.zeros(shape, dtype=dtype) 329s > actual = z[:] 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:537: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x01!\x08@\x19\x01\x00@\x19\x01\x00\xa4\x01\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _________ TestArrayWithFSStoreNestedPartialRead.test_array_2d_partial __________ 329s 329s self = 329s 329s def test_array_2d_partial(self): 329s z = self.create_array(shape=(1000, 10), chunks=(100, 2), dtype="i4", fill_value=0) 329s 329s # check partial assignment, single row 329s c = np.arange(z.shape[1]) 329s z[0, :] = c 329s with pytest.raises(ValueError): 329s # N.B., NumPy allows this, but we'll be strict for now 329s z[2:3] = c 329s with pytest.raises(ValueError): 329s # N.B., NumPy allows this, but we'll be strict for now 329s z[-1:] = c 329s z[2:3] = c[None, :] 329s z[-1:] = c[None, :] 329s > assert_array_equal(c, z[0, :]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:556: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 329s result = self.get_orthogonal_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x01!\x04 \x03\x00\x00 \x03\x00\x00Z\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ____________ TestArrayWithFSStoreNestedPartialRead.test_array_order ____________ 329s 329s self = 329s 329s def test_array_order(self): 329s # 1D 329s a = np.arange(1050) 329s for order in "C", "F": 329s z = self.create_array(shape=a.shape, chunks=100, dtype=a.dtype, order=order) 329s assert order == z.order 329s if order == "F": 329s assert z[:].flags.f_contiguous 329s else: 329s assert z[:].flags.c_contiguous 329s z[:] = a 329s > assert_array_equal(a, z[:]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:594: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00n\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_1d _____________ 329s 329s self = 329s 329s def test_resize_1d(self): 329s z = self.create_array(shape=105, chunks=10, dtype="i4", fill_value=0) 329s a = np.arange(105, dtype="i4") 329s z[:] = a 329s assert (105,) == z.shape 329s > assert (105,) == z[:].shape 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:679: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x04(\x00\x00\x00(\x00\x00\x008\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _____________ TestArrayWithFSStoreNestedPartialRead.test_resize_2d _____________ 329s 329s self = 329s 329s def test_resize_2d(self): 329s z = self.create_array(shape=(105, 105), chunks=(10, 10), dtype="i4", fill_value=0) 329s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 329s z[:] = a 329s assert (105, 105) == z.shape 329s > assert (105, 105) == z[:].shape 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:714: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _____________ TestArrayWithFSStoreNestedPartialRead.test_append_1d _____________ 329s 329s self = 329s 329s def test_append_1d(self): 329s a = np.arange(105) 329s z = self.create_array(shape=a.shape, chunks=10, dtype=a.dtype) 329s z[:] = a 329s assert a.shape == z.shape 329s assert a.dtype == z.dtype 329s assert (10,) == z.chunks 329s > assert_array_equal(a, z[:]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:776: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x08P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _____________ TestArrayWithFSStoreNestedPartialRead.test_append_2d _____________ 329s 329s self = 329s 329s def test_append_2d(self): 329s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 329s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 329s z[:] = a 329s assert a.shape == z.shape 329s assert a.dtype == z.dtype 329s assert (10, 10) == z.chunks 329s > actual = z[:] 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:804: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s __________ TestArrayWithFSStoreNestedPartialRead.test_append_2d_axis ___________ 329s 329s self = 329s 329s def test_append_2d_axis(self): 329s a = np.arange(105 * 105, dtype="i4").reshape((105, 105)) 329s z = self.create_array(shape=a.shape, chunks=(10, 10), dtype=a.dtype) 329s z[:] = a 329s assert a.shape == z.shape 329s assert a.dtype == z.dtype 329s assert (10, 10) == z.chunks 329s > assert_array_equal(a, z[:]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:825: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x04\x90\x01\x00\x00\x90\x01\x00\x00\xa3\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _____________ TestArrayWithFSStoreNestedPartialRead.test_np_ufuncs _____________ 329s 329s self = 329s 329s def test_np_ufuncs(self): 329s z = self.create_array(shape=(100, 100), chunks=(10, 10)) 329s a = np.arange(10000).reshape(100, 100) 329s z[:] = a 329s 329s > assert np.sum(a) == np.sum(z) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:917: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2313: in sum 329s return _wrapreduction(a, np.add, 'sum', axis, dtype, out, keepdims=keepdims, 329s /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:88: in _wrapreduction 329s return ufunc.reduce(obj, axis, dtype, out, **passkwargs) 329s /usr/lib/python3/dist-packages/zarr/core.py:580: in __array__ 329s return np.array(self[...], *args, **kwargs) 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x011\x08 \x03\x00\x00 \x03\x00\x00\xed\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _________ TestArrayWithFSStoreNestedPartialRead.test_array_dtype_shape _________ 329s 329s self = 329s 329s def test_array_dtype_shape(self): 329s dt = "(2, 2)f4" 329s # setup some data 329s d = np.array([((0, 1), (1, 2)), ((1, 2), (2, 3)), ((2, 3), (3, 4))], dtype=dt) 329s 329s for a in (d, d[:0]): 329s for fill_value in None, 0: 329s z = self.create_array(shape=a.shape[:-2], chunks=2, dtype=dt, fill_value=fill_value) 329s assert len(a) == len(z) 329s if fill_value is not None: 329s assert fill_value == z.fill_value 329s z[...] = a 329s > assert_array_equal(a, z[...]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1101: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x04 \x00\x00\x00 \x00\x00\x000\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _________ TestArrayWithFSStoreNestedPartialRead.test_structured_array __________ 329s 329s self = 329s 329s def test_structured_array(self): 329s d = np.array( 329s [(b"aaa", 1, 4.2), (b"bbb", 2, 8.4), (b"ccc", 3, 12.6)], 329s dtype=[("foo", "S3"), ("bar", "i4"), ("baz", "f8")], 329s ) 329s fill_values = None, b"", (b"zzz", 42, 16.8) 329s > self.check_structured_array(d, fill_values) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1151: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 329s assert a[0] == z[0] 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x0f\x1e\x00\x00\x00\x1e\x00\x00\x00.\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ____ TestArrayWithFSStoreNestedPartialRead.test_structured_array_subshapes _____ 329s 329s self = 329s 329s def test_structured_array_subshapes(self): 329s d = np.array( 329s [ 329s (0, ((0, 1, 2), (1, 2, 3)), b"aaa"), 329s (1, ((1, 2, 3), (2, 3, 4)), b"bbb"), 329s (2, ((2, 3, 4), (3, 4, 5)), b"ccc"), 329s ], 329s dtype=[("foo", "i8"), ("bar", "(2, 3)f4"), ("baz", "S3")], 329s ) 329s fill_values = None, b"", (0, ((0, 0, 0), (1, 1, 1)), b"zzz") 329s > self.check_structured_array(d, fill_values) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1163: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 329s assert a[0] == z[0] 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013#F\x00\x00\x00F\x00\x00\x00V\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ______ TestArrayWithFSStoreNestedPartialRead.test_structured_array_nested ______ 329s 329s self = 329s 329s def test_structured_array_nested(self): 329s d = np.array( 329s [ 329s (0, (0, ((0, 1), (1, 2), (2, 3)), 0), b"aaa"), 329s (1, (1, ((1, 2), (2, 3), (3, 4)), 1), b"bbb"), 329s (2, (2, ((2, 3), (3, 4), (4, 5)), 2), b"ccc"), 329s ], 329s dtype=[ 329s ("foo", "i8"), 329s ("bar", [("foo", "i4"), ("bar", "(3, 2)f4"), ("baz", "u1")]), 329s ("baz", "S3"), 329s ], 329s ) 329s fill_values = None, b"", (0, (0, ((0, 0), (1, 1), (2, 2)), 0), b"zzz") 329s > self.check_structured_array(d, fill_values) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1179: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1136: in check_structured_array 329s assert a[0] == z[0] 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013(P\x00\x00\x00P\x00\x00\x00`\x00\x00\x00',), kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ______________ TestArrayWithFSStoreNestedPartialRead.test_dtypes _______________ 329s 329s self = 329s 329s def test_dtypes(self): 329s # integers 329s for dtype in "u1", "u2", "u4", "u8", "i1", "i2", "i4", "i8": 329s z = self.create_array(shape=10, chunks=3, dtype=dtype) 329s assert z.dtype == np.dtype(dtype) 329s a = np.arange(z.shape[0], dtype=dtype) 329s z[:] = a 329s > assert_array_equal(a, z[:]) 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1188: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x01\x03\x00\x00\x00\x03\x00\x00\x00\x13\x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _______________ TestArrayWithFSStoreNestedPartialRead.test_iter ________________ 329s 329s self = 329s 329s def test_iter(self): 329s params = ( 329s ((1,), (1,)), 329s ((2,), (1,)), 329s ((1,), (2,)), 329s ((3,), (3,)), 329s ((1000,), (100,)), 329s ((100,), (1000,)), 329s ((1, 100), (1, 1)), 329s ((1, 0), (1, 1)), 329s ((0, 1), (1, 1)), 329s ((0, 1), (2, 1)), 329s ((100, 1), (3, 1)), 329s ((100, 100), (10, 10)), 329s ((10, 10, 10), (3, 3, 3)), 329s ) 329s for shape, chunks in params: 329s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 329s a = np.arange(np.prod(shape)).reshape(shape) 329s z[:] = a 329s > for expect, actual in zip_longest(a, z): 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1531: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 329s chunk = self[j : j + chunk_size] 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s ______________ TestArrayWithFSStoreNestedPartialRead.test_islice _______________ 329s 329s self = 329s 329s def test_islice(self): 329s params = ( 329s ((1,), (1,), 0, 1), 329s ((2,), (1,), 0, 1), 329s ((1,), (2,), 0, 1), 329s ((3,), (3,), 1, 2), 329s ((1000,), (100,), 150, 1050), 329s ((100,), (1000,), 25, 75), 329s ((1, 100), (1, 1), 0, 1), 329s ((100, 1), (3, 1), 56, 100), 329s ((100, 100), (10, 10), 13, 99), 329s ((10, 10, 10), (3, 3, 3), 2, 4), 329s ) 329s for shape, chunks, start, end in params: 329s z = self.create_array(shape=shape, chunks=chunks, dtype=int) 329s a = np.arange(np.prod(shape)).reshape(shape) 329s z[:] = a 329s end_array = min(end, a.shape[0]) 329s > for expect, actual in zip_longest(a[start:end_array], z.islice(start, end)): 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:1553: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:637: in islice 329s chunk = self[j : j + chunk_size] 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x013\x08\x10\x00\x00\x00\x10\x00\x00\x00 \x00\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _____________ TestArrayWithFSStoreNestedPartialRead.test_non_cont ______________ 329s 329s self = 329s 329s def test_non_cont(self): 329s z = self.create_array(shape=(500, 500, 500), chunks=(50, 50, 50), dtype=" assert z[0, :, 0].any() 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2503: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:796: in __getitem__ 329s result = self.get_orthogonal_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1078: in get_orthogonal_selection 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x01!\x04 \xa1\x07\x00 \xa1\x07\x00\xf8\x07\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _ TestArrayWithFSStoreNestedPartialRead.test_read_nitems_less_than_blocksize_from_multiple_chunks _ 329s 329s self = 329s 329s def test_read_nitems_less_than_blocksize_from_multiple_chunks(self): 329s """Tests to make sure decompression doesn't fail when `nitems` is 329s less than a compressed block size, but covers multiple blocks 329s """ 329s z = self.create_array(shape=1000000, chunks=100_000) 329s z[40_000:80_000] = 1 329s path = None if self.version == 2 else z.path 329s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 329s > assert (b[40_000:80_000] == 1).all() 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2513: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xdc\x0c\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s _______ TestArrayWithFSStoreNestedPartialRead.test_read_from_all_blocks ________ 329s 329s self = 329s 329s def test_read_from_all_blocks(self): 329s """Tests to make sure `PartialReadBuffer.read_part` doesn't fail when 329s stop isn't in the `start_points` array 329s """ 329s z = self.create_array(shape=1000000, chunks=100_000) 329s z[2:99_000] = 1 329s path = None if self.version == 2 else z.path 329s b = Array(z.store, path=path, read_only=True, partial_decompress=True) 329s > assert (b[2:99_000] == 1).all() 329s 329s /usr/lib/python3/dist-packages/zarr/tests/test_core.py:2523: 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s /usr/lib/python3/dist-packages/zarr/core.py:798: in __getitem__ 329s result = self.get_basic_selection(pure_selection, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:924: in get_basic_selection 329s return self._get_basic_selection_nd(selection=selection, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:966: in _get_basic_selection_nd 329s return self._get_selection(indexer=indexer, out=out, fields=fields) 329s /usr/lib/python3/dist-packages/zarr/core.py:1341: in _get_selection 329s self._chunk_getitems( 329s /usr/lib/python3/dist-packages/zarr/core.py:2186: in _chunk_getitems 329s self._process_chunk( 329s /usr/lib/python3/dist-packages/zarr/core.py:2066: in _process_chunk 329s cdata.prepare_chunk() 329s /usr/lib/python3/dist-packages/zarr/util.py:609: in prepare_chunk 329s nbytes, self.cbytes, blocksize = cbuffer_sizes(header) 329s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 329s 329s wrapped_ = , instance_ = None 329s args_ = (b'\x02\x01!\x08\x005\x0c\x00\x005\x0c\x00\xe0\x0c\x00\x00',) 329s kwargs_ = {} 329s 329s @wrapt.decorator 329s def wrapper_function(wrapped_, instance_, args_, kwargs_): 329s msg = self.get_deprecated_msg(wrapped_, instance_) 329s stacklevel = _routine_stacklevel + self.extra_stacklevel 329s if self.action: 329s with warnings.catch_warnings(): 329s warnings.simplefilter(self.action, self.category) 329s warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s else: 329s > warnings.warn(msg, category=self.category, stacklevel=stacklevel) 329s E DeprecationWarning: Call to deprecated function (or staticmethod) _cbuffer_sizes. 329s 329s /usr/lib/python3/dist-packages/deprecated/classic.py:198: DeprecationWarning 329s =============================== warnings summary =============================== 329s tests/test_filters.py::test_array_with_scaleoffset_filter 329s /usr/lib/python3/dist-packages/numcodecs/fixedscaleoffset.py:97: RuntimeWarning: invalid value encountered in cast 329s return enc.astype(self.astype, copy=False) 329s 329s tests/test_storage.py::TestZipStore::test_store_and_retrieve_ndarray 329s /usr/lib/python3.12/zipfile/__init__.py:1607: UserWarning: Duplicate name: 'foo' 329s return self._open_to_write(zinfo, force_zip64=force_zip64) 329s 329s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_setitem 329s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_setitem 329s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_append 329s tests/test_sync.py::TestArrayWithProcessSynchronizer::test_parallel_append 329s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_create_group 329s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_create_group 329s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_require_group 329s tests/test_sync.py::TestGroupWithProcessSynchronizer::test_parallel_require_group 329s /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=2971) is multi-threaded, use of fork() may lead to deadlocks in the child. 329s self.pid = os.fork() 329s 329s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 329s ============================= slowest 10 durations ============================= 329s 9.43s call tests/test_indexing.py::test_set_orthogonal_selection_3d 329s 1.26s call tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont 329s 1.21s call tests/test_core.py::TestArrayWithSQLiteStore::test_iter 329s 1.17s call tests/test_indexing.py::test_set_orthogonal_selection_2d 329s 1.10s call tests/test_core.py::TestArrayWithSQLiteStore::test_islice 329s 0.99s call tests/test_core.py::TestArrayWithSQLiteStore::test_resize_2d 329s 0.79s call tests/test_core.py::TestArrayWithSQLiteStore::test_append_2d_axis 329s 0.78s call tests/test_core.py::TestArrayWithSQLiteStore::test_array_order 329s 0.76s call tests/test_core.py::TestArrayWithSQLiteStore::test_append_2d 329s 0.75s call tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_non_cont 329s =========================== short test summary info ============================ 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d - D... 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_fill_value 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_1d_selections 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d - D... 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_edge_case 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_2d_partial 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_order 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_1d - ... 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_resize_2d - ... 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_1d - ... 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d - ... 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_append_2d_axis 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_np_ufuncs - ... 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_array_dtype_shape 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_subshapes 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_structured_array_nested 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_dtypes - Dep... 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_iter - Depre... 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_islice - Dep... 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_non_cont - D... 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks 329s FAILED tests/test_core.py::TestArrayWithFSStorePartialRead::test_read_from_all_blocks 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_fill_value 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_1d_selections 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_edge_case 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_2d_partial 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_order 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_1d 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_resize_2d 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_1d 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_append_2d_axis 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_np_ufuncs 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_array_dtype_shape 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_subshapes 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_structured_array_nested 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_dtypes 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_iter 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_islice 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_non_cont 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_nitems_less_than_blocksize_from_multiple_chunks 329s FAILED tests/test_core.py::TestArrayWithFSStoreNestedPartialRead::test_read_from_all_blocks 329s = 46 failed, 2204 passed, 2004 skipped, 717 deselected, 4 xfailed, 10 warnings in 70.87s (0:01:10) = 331s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.Bn3NBA/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 331s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 331s make: *** [/tmp/Wuc_NxOnZB/run:4: pybuild-autopkgtest] Error 25 331s pybuild-autopkgtest: error: /tmp/Wuc_NxOnZB/run pybuild-autopkgtest returned exit code 2 331s autopkgtest [09:10:41]: test pybuild-autopkgtest: -----------------------] 332s pybuild-autopkgtest FAIL non-zero exit status 25 332s autopkgtest [09:10:42]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 332s autopkgtest [09:10:42]: @@@@@@@@@@@@@@@@@@@@ summary 332s pybuild-autopkgtest FAIL non-zero exit status 25 386s nova [W] Using flock in prodstack6-arm64 386s Creating nova instance adt-plucky-arm64-zarr-20250118-090510-juju-7f2275-prod-proposed-migration-environment-15-4643ab32-3e36-4302-8640-fa67d88165af from image adt/ubuntu-plucky-arm64-server-20250118.img (UUID 120b6518-c337-4010-a36c-6a4426a27dbc)... 386s nova [W] Timed out waiting for 73f108ad-4e99-4b7f-9e7c-3652d1901f70 to get deleted.