0s autopkgtest [11:05:20]: starting date and time: 2024-03-22 11:05:20+0000 0s autopkgtest [11:05:20]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [11:05:20]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.klgk6kmw/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:sphinx --apt-upgrade dcmstack --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=sphinx/7.2.6-6 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-s390x-17.secgroup --name adt-noble-s390x-dcmstack-20240322-110520-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 279s autopkgtest [11:09:59]: testbed dpkg architecture: s390x 280s autopkgtest [11:10:00]: testbed apt version: 2.7.12 280s autopkgtest [11:10:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 282s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 282s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 282s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [496 kB] 282s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3760 kB] 284s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [54.0 kB] 284s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [664 kB] 284s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 284s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 284s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 284s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [3992 kB] 286s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 286s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [45.1 kB] 286s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 287s Fetched 9147 kB in 6s (1593 kB/s) 288s Reading package lists... 290s Reading package lists... 290s Building dependency tree... 290s Reading state information... 290s Calculating upgrade... 291s The following packages will be upgraded: 291s cloud-init debianutils fonts-ubuntu-console python3-markupsafe 291s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 291s Need to get 719 kB of archives. 291s After this operation, 11.3 kB disk space will be freed. 291s Get:1 http://ftpmaster.internal/ubuntu noble/main s390x debianutils s390x 5.17 [90.1 kB] 291s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x fonts-ubuntu-console all 0.869+git20240321-0ubuntu1 [18.7 kB] 291s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x python3-markupsafe s390x 2.1.5-1build1 [12.8 kB] 291s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x cloud-init all 24.1.2-0ubuntu1 [597 kB] 292s Preconfiguring packages ... 292s Fetched 719 kB in 1s (579 kB/s) 292s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52171 files and directories currently installed.) 292s Preparing to unpack .../debianutils_5.17_s390x.deb ... 292s Unpacking debianutils (5.17) over (5.16) ... 292s Setting up debianutils (5.17) ... 292s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52171 files and directories currently installed.) 292s Preparing to unpack .../fonts-ubuntu-console_0.869+git20240321-0ubuntu1_all.deb ... 292s Unpacking fonts-ubuntu-console (0.869+git20240321-0ubuntu1) over (0.869-0ubuntu1) ... 292s Preparing to unpack .../python3-markupsafe_2.1.5-1build1_s390x.deb ... 292s Unpacking python3-markupsafe (2.1.5-1build1) over (2.1.5-1) ... 292s Preparing to unpack .../cloud-init_24.1.2-0ubuntu1_all.deb ... 292s Unpacking cloud-init (24.1.2-0ubuntu1) over (24.1.1-0ubuntu1) ... 293s Setting up fonts-ubuntu-console (0.869+git20240321-0ubuntu1) ... 293s Setting up cloud-init (24.1.2-0ubuntu1) ... 294s Setting up python3-markupsafe (2.1.5-1build1) ... 294s Processing triggers for man-db (2.12.0-3) ... 294s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 295s Reading package lists... 295s Building dependency tree... 295s Reading state information... 295s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 296s Unknown architecture, assuming PC-style ttyS0 296s sh: Attempting to set up Debian/Ubuntu apt sources automatically 296s sh: Distribution appears to be Ubuntu 296s Reading package lists... 297s Building dependency tree... 297s Reading state information... 297s eatmydata is already the newest version (131-1). 297s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 297s Reading package lists... 297s Building dependency tree... 297s Reading state information... 297s dbus is already the newest version (1.14.10-4ubuntu1). 297s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 297s Reading package lists... 297s Building dependency tree... 297s Reading state information... 297s rng-tools-debian is already the newest version (2.4). 297s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 297s Reading package lists... 298s Building dependency tree... 298s Reading state information... 298s The following packages will be REMOVED: 298s cloud-init* python3-configobj* python3-debconf* 298s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 298s After this operation, 3256 kB disk space will be freed. 298s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52170 files and directories currently installed.) 298s Removing cloud-init (24.1.2-0ubuntu1) ... 298s Removing python3-configobj (5.0.8-3) ... 298s Removing python3-debconf (1.5.86) ... 299s Processing triggers for man-db (2.12.0-3) ... 299s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 51781 files and directories currently installed.) 299s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 299s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 299s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 299s invoke-rc.d: policy-rc.d denied execution of try-restart. 300s Reading package lists... 300s Building dependency tree... 300s Reading state information... 300s linux-generic is already the newest version (6.8.0-11.11+1). 300s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 300s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 300s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 300s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 302s Reading package lists... 302s Reading package lists... 302s Building dependency tree... 302s Reading state information... 302s Calculating upgrade... 303s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 303s Reading package lists... 304s Building dependency tree... 304s autopkgtest [11:10:23]: rebooting testbed after setup commands that affected boot 304s Reading state information... 304s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 318s autopkgtest [11:10:38]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Tue Feb 13 23:45:46 UTC 2024 321s autopkgtest [11:10:41]: @@@@@@@@@@@@@@@@@@@@ apt-source dcmstack 324s Get:1 http://ftpmaster.internal/ubuntu noble/universe dcmstack 0.9-1 (dsc) [2203 B] 324s Get:2 http://ftpmaster.internal/ubuntu noble/universe dcmstack 0.9-1 (tar) [1740 kB] 324s Get:3 http://ftpmaster.internal/ubuntu noble/universe dcmstack 0.9-1 (diff) [6204 B] 324s gpgv: Signature made Fri Sep 30 00:09:48 2022 UTC 324s gpgv: using RSA key C5B905F0E8D9FD9668FF366FA2DE235062DA33FA 324s gpgv: Can't check signature: No public key 324s dpkg-source: warning: cannot verify inline signature for ./dcmstack_0.9-1.dsc: no acceptable signature found 324s autopkgtest [11:10:44]: testing package dcmstack version 0.9-1 325s autopkgtest [11:10:45]: build not needed 331s autopkgtest [11:10:51]: test run-unit-test: preparing testbed 333s Reading package lists... 334s Building dependency tree... 334s Reading state information... 334s Starting pkgProblemResolver with broken count: 0 334s Starting 2 pkgProblemResolver with broken count: 0 334s Done 334s The following additional packages will be installed: 334s libblas3 libgfortran5 libjs-jquery libjs-sphinxdoc libjs-underscore 334s liblapack3 liblbfgsb0 python3-all python3-dcmstack python3-decorator 334s python3-iniconfig python3-nibabel python3-numpy python3-packaging 334s python3-pluggy python3-pydicom python3-pytest python3-scipy 334s Suggested packages: 334s python-nibabel-doc gcc gfortran python3-dev python3-matplotlib python3-gdcm 334s python-scipy-doc 334s Recommended packages: 334s javascript-common python3-fuse python3-pil g++ | c++-compiler 334s The following NEW packages will be installed: 334s autopkgtest-satdep libblas3 libgfortran5 libjs-jquery libjs-sphinxdoc 334s libjs-underscore liblapack3 liblbfgsb0 python3-all python3-dcmstack 334s python3-decorator python3-iniconfig python3-nibabel python3-numpy 334s python3-packaging python3-pluggy python3-pydicom python3-pytest 334s python3-scipy 334s 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. 334s Need to get 34.1 MB/34.1 MB of archives. 334s After this operation, 160 MB of additional disk space will be used. 334s Get:1 /tmp/autopkgtest.unEd1Z/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [724 B] 334s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x libblas3 s390x 3.12.0-3 [245 kB] 335s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x libgfortran5 s390x 14-20240303-1ubuntu1 [598 kB] 335s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 335s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 336s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x libjs-sphinxdoc all 7.2.6-4 [149 kB] 336s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x liblapack3 s390x 3.12.0-3 [2979 kB] 338s Get:8 http://ftpmaster.internal/ubuntu noble/universe s390x liblbfgsb0 s390x 3.0+dfsg.4-1 [28.4 kB] 338s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x python3-all s390x 3.12.1-0ubuntu2 [908 B] 338s Get:10 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pydicom all 2.4.3-1 [1194 kB] 338s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x python3-numpy s390x 1:1.24.2-2 [5137 kB] 341s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 341s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x python3-decorator all 5.1.1-5 [10.1 kB] 341s Get:14 http://ftpmaster.internal/ubuntu noble/universe s390x python3-scipy s390x 1.11.4-6 [20.1 MB] 349s Get:15 http://ftpmaster.internal/ubuntu noble/universe s390x python3-nibabel all 5.2.1-1 [2701 kB] 351s Get:16 http://ftpmaster.internal/ubuntu noble/universe s390x python3-dcmstack all 0.9-1 [77.3 kB] 351s Get:17 http://ftpmaster.internal/ubuntu noble/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 351s Get:18 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pluggy all 1.4.0-1 [20.4 kB] 351s Get:19 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pytest all 7.4.4-1 [305 kB] 351s Fetched 34.1 MB in 17s (2017 kB/s) 351s Selecting previously unselected package libblas3:s390x. 351s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 51726 files and directories currently installed.) 351s Preparing to unpack .../00-libblas3_3.12.0-3_s390x.deb ... 351s Unpacking libblas3:s390x (3.12.0-3) ... 351s Selecting previously unselected package libgfortran5:s390x. 351s Preparing to unpack .../01-libgfortran5_14-20240303-1ubuntu1_s390x.deb ... 351s Unpacking libgfortran5:s390x (14-20240303-1ubuntu1) ... 351s Selecting previously unselected package libjs-jquery. 351s Preparing to unpack .../02-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 351s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 351s Selecting previously unselected package libjs-underscore. 351s Preparing to unpack .../03-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 351s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 351s Selecting previously unselected package libjs-sphinxdoc. 351s Preparing to unpack .../04-libjs-sphinxdoc_7.2.6-4_all.deb ... 351s Unpacking libjs-sphinxdoc (7.2.6-4) ... 351s Selecting previously unselected package liblapack3:s390x. 351s Preparing to unpack .../05-liblapack3_3.12.0-3_s390x.deb ... 351s Unpacking liblapack3:s390x (3.12.0-3) ... 351s Selecting previously unselected package liblbfgsb0:s390x. 351s Preparing to unpack .../06-liblbfgsb0_3.0+dfsg.4-1_s390x.deb ... 351s Unpacking liblbfgsb0:s390x (3.0+dfsg.4-1) ... 351s Selecting previously unselected package python3-all. 351s Preparing to unpack .../07-python3-all_3.12.1-0ubuntu2_s390x.deb ... 351s Unpacking python3-all (3.12.1-0ubuntu2) ... 351s Selecting previously unselected package python3-pydicom. 352s Preparing to unpack .../08-python3-pydicom_2.4.3-1_all.deb ... 352s Unpacking python3-pydicom (2.4.3-1) ... 352s Selecting previously unselected package python3-numpy. 352s Preparing to unpack .../09-python3-numpy_1%3a1.24.2-2_s390x.deb ... 352s Unpacking python3-numpy (1:1.24.2-2) ... 352s Selecting previously unselected package python3-packaging. 352s Preparing to unpack .../10-python3-packaging_23.2-1_all.deb ... 352s Unpacking python3-packaging (23.2-1) ... 352s Selecting previously unselected package python3-decorator. 352s Preparing to unpack .../11-python3-decorator_5.1.1-5_all.deb ... 352s Unpacking python3-decorator (5.1.1-5) ... 352s Selecting previously unselected package python3-scipy. 352s Preparing to unpack .../12-python3-scipy_1.11.4-6_s390x.deb ... 352s Unpacking python3-scipy (1.11.4-6) ... 353s Selecting previously unselected package python3-nibabel. 353s Preparing to unpack .../13-python3-nibabel_5.2.1-1_all.deb ... 353s Unpacking python3-nibabel (5.2.1-1) ... 353s Selecting previously unselected package python3-dcmstack. 353s Preparing to unpack .../14-python3-dcmstack_0.9-1_all.deb ... 353s Unpacking python3-dcmstack (0.9-1) ... 353s Selecting previously unselected package python3-iniconfig. 353s Preparing to unpack .../15-python3-iniconfig_1.1.1-2_all.deb ... 353s Unpacking python3-iniconfig (1.1.1-2) ... 353s Selecting previously unselected package python3-pluggy. 353s Preparing to unpack .../16-python3-pluggy_1.4.0-1_all.deb ... 353s Unpacking python3-pluggy (1.4.0-1) ... 353s Selecting previously unselected package python3-pytest. 353s Preparing to unpack .../17-python3-pytest_7.4.4-1_all.deb ... 353s Unpacking python3-pytest (7.4.4-1) ... 353s Selecting previously unselected package autopkgtest-satdep. 353s Preparing to unpack .../18-1-autopkgtest-satdep.deb ... 353s Unpacking autopkgtest-satdep (0) ... 353s Setting up python3-iniconfig (1.1.1-2) ... 353s Setting up python3-all (3.12.1-0ubuntu2) ... 353s Setting up python3-decorator (5.1.1-5) ... 353s Setting up libblas3:s390x (3.12.0-3) ... 353s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode 353s Setting up python3-packaging (23.2-1) ... 353s Setting up libgfortran5:s390x (14-20240303-1ubuntu1) ... 353s Setting up python3-pluggy (1.4.0-1) ... 353s Setting up python3-pydicom (2.4.3-1) ... 354s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 354s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 354s Setting up liblapack3:s390x (3.12.0-3) ... 354s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode 354s Setting up python3-pytest (7.4.4-1) ... 354s Setting up python3-numpy (1:1.24.2-2) ... 356s Setting up libjs-sphinxdoc (7.2.6-4) ... 356s Setting up liblbfgsb0:s390x (3.0+dfsg.4-1) ... 356s Setting up python3-scipy (1.11.4-6) ... 359s Setting up python3-nibabel (5.2.1-1) ... 359s Setting up python3-dcmstack (0.9-1) ... 359s Setting up autopkgtest-satdep (0) ... 359s Processing triggers for man-db (2.12.0-3) ... 360s Processing triggers for libc-bin (2.39-0ubuntu2) ... 362s (Reading database ... 55205 files and directories currently installed.) 362s Removing autopkgtest-satdep (0) ... 363s autopkgtest [11:11:23]: test run-unit-test: [----------------------- 363s Testing with python3.12 in /tmp/autopkgtest.unEd1Z/autopkgtest_tmp: 363s ============================= test session starts ============================== 363s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python3.12 363s cachedir: .pytest_cache 363s rootdir: /tmp/autopkgtest.unEd1Z/autopkgtest_tmp 363s collecting ... collected 131 items 363s 364s test/test_cli.py::TestDcmstackCli::test_basic PASSED [ 0%] 364s test/test_cli.py::TestDcmstackCli::test_embed PASSED [ 1%] 364s test/test_cli.py::TestNitoolCli::test_basic PASSED [ 2%] 364s test/test_dcmmeta.py::test_is_constant PASSED [ 3%] 364s test/test_dcmmeta.py::test_is_repeating PASSED [ 3%] 364s test/test_dcmmeta.py::test_get_valid_classes PASSED [ 4%] 364s test/test_dcmmeta.py::test_get_mulitplicity_4d PASSED [ 5%] 364s test/test_dcmmeta.py::test_get_mulitplicity_4d_vec PASSED [ 6%] 364s test/test_dcmmeta.py::test_get_mulitplicity_5d PASSED [ 6%] 364s test/test_dcmmeta.py::TestCheckValid::test_empty PASSED [ 7%] 364s test/test_dcmmeta.py::TestCheckValid::test_const PASSED [ 8%] 364s test/test_dcmmeta.py::TestCheckValid::test_global_slices PASSED [ 9%] 364s test/test_dcmmeta.py::TestCheckValid::test_time_samples PASSED [ 9%] 364s test/test_dcmmeta.py::TestCheckValid::test_time_slices PASSED [ 10%] 364s test/test_dcmmeta.py::TestCheckValid::test_vector_samples PASSED [ 11%] 364s test/test_dcmmeta.py::TestCheckValid::test_vector_slices PASSED [ 12%] 364s test/test_dcmmeta.py::TestCheckValid::test_invalid_affine PASSED [ 12%] 364s test/test_dcmmeta.py::TestCheckValid::test_invalid_slice_dim PASSED [ 13%] 364s test/test_dcmmeta.py::TestCheckValid::test_invalid_shape PASSED [ 14%] 364s test/test_dcmmeta.py::TestCheckValid::test_multiple_classes PASSED [ 15%] 364s test/test_dcmmeta.py::test_dcmmeta_affine PASSED [ 16%] 364s test/test_dcmmeta.py::test_dcmmeta_slice_dim PASSED [ 16%] 364s test/test_dcmmeta.py::test_dcmmeta_shape PASSED [ 17%] 364s test/test_dcmmeta.py::test_dcmmeta_version PASSED [ 18%] 364s test/test_dcmmeta.py::test_dcmmeta_slice_norm PASSED [ 19%] 364s test/test_dcmmeta.py::test_dcmmeta_n_slices PASSED [ 19%] 364s test/test_dcmmeta.py::TestGetKeysClassesValues::test_get_keys PASSED [ 20%] 364s test/test_dcmmeta.py::TestGetKeysClassesValues::test_get_classification PASSED [ 21%] 364s test/test_dcmmeta.py::TestGetKeysClassesValues::test_get_class_dict PASSED [ 22%] 364s test/test_dcmmeta.py::TestGetKeysClassesValues::test_get_values PASSED [ 22%] 364s test/test_dcmmeta.py::TestGetKeysClassesValues::test_get_vals_and_class PASSED [ 23%] 364s test/test_dcmmeta.py::TestFiltering::test_filter_all PASSED [ 24%] 364s test/test_dcmmeta.py::TestFiltering::test_filter_some PASSED [ 25%] 364s test/test_dcmmeta.py::TestFiltering::test_clear_slices PASSED [ 25%] 364s test/test_dcmmeta.py::TestSimplify::test_simplify_global_slices PASSED [ 26%] 364s test/test_dcmmeta.py::TestSimplify::test_simplify_vector_slices PASSED [ 27%] 364s test/test_dcmmeta.py::TestSimplify::test_simplify_time_slices PASSED [ 28%] 364s test/test_dcmmeta.py::TestSimplify::test_simplify_time_samples PASSED [ 29%] 364s test/test_dcmmeta.py::TestSimplify::test_simplify_vector_samples PASSED [ 29%] 364s test/test_dcmmeta.py::test_simp_sngl_slc_5d PASSED [ 30%] 364s test/test_dcmmeta.py::TestGetSubset::test_slice_subset PASSED [ 31%] 364s test/test_dcmmeta.py::TestGetSubset::test_slice_subset_simplify PASSED [ 32%] 364s test/test_dcmmeta.py::TestGetSubset::test_time_sample_subset PASSED [ 32%] 364s test/test_dcmmeta.py::TestGetSubset::test_time_sample_subset_simplify PASSED [ 33%] 364s test/test_dcmmeta.py::TestGetSubset::test_vector_sample_subset PASSED [ 34%] 364s test/test_dcmmeta.py::TestGetSubset::test_vector_sample_subset_simplify PASSED [ 35%] 364s test/test_dcmmeta.py::TestChangeClass::test_change_none PASSED [ 35%] 364s test/test_dcmmeta.py::TestChangeClass::test_change_global_const PASSED [ 36%] 364s test/test_dcmmeta.py::TestChangeClass::test_change_vector_samples PASSED [ 37%] 364s test/test_dcmmeta.py::TestChangeClass::test_change_time_samples PASSED [ 38%] 364s test/test_dcmmeta.py::TestChangeClass::test_time_slices PASSED [ 38%] 364s test/test_dcmmeta.py::TestChangeClass::test_vector_slices PASSED [ 39%] 364s test/test_dcmmeta.py::test_from_sequence_2d_to_3d PASSED [ 40%] 364s test/test_dcmmeta.py::test_from_sequence_3d_to_4d PASSED [ 41%] 364s test/test_dcmmeta.py::test_from_sequence_4d_time_to_5d PASSED [ 41%] 364s test/test_dcmmeta.py::test_from_sequence_no_slc PASSED [ 42%] 364s test/test_dcmmeta.py::test_nifti_wrapper_init PASSED [ 43%] 364s test/test_dcmmeta.py::TestMetaValid::test_time_samples_changed PASSED [ 44%] 364s test/test_dcmmeta.py::TestMetaValid::test_vector_samples_changed PASSED [ 45%] 364s test/test_dcmmeta.py::TestMetaValid::test_slice_dim_changed PASSED [ 45%] 364s test/test_dcmmeta.py::TestMetaValid::test_slice_dir_changed PASSED [ 46%] 364s test/test_dcmmeta.py::TestGetMeta::test_get_item PASSED [ 47%] 364s test/test_dcmmeta.py::TestGetMeta::test_get_const PASSED [ 48%] 364s test/test_dcmmeta.py::TestGetMeta::test_get_global_slices PASSED [ 48%] 364s test/test_dcmmeta.py::TestGetMeta::test_get_vector_slices PASSED [ 49%] 364s test/test_dcmmeta.py::TestGetMeta::test_get_time_slices PASSED [ 50%] 364s test/test_dcmmeta.py::TestGetMeta::test_get_vector_samples PASSED [ 51%] 364s test/test_dcmmeta.py::TestSplit::test_split_slice PASSED [ 51%] 364s test/test_dcmmeta.py::TestSplit::test_split_time PASSED [ 52%] 364s test/test_dcmmeta.py::TestSplit::test_split_vector PASSED [ 53%] 364s test/test_dcmmeta.py::test_split_keep_spatial PASSED [ 54%] 364s test/test_dcmmeta.py::test_from_dicom PASSED [ 54%] 364s test/test_dcmmeta.py::test_from_2d_slice_to_3d PASSED [ 55%] 364s test/test_dcmmeta.py::test_from_3d_time_to_4d PASSED [ 56%] 364s test/test_dcmmeta.py::test_from_3d_vector_to_4d PASSED [ 57%] 364s test/test_dcmmeta.py::test_merge_inconsistent_hdr PASSED [ 58%] 364s test/test_dcmmeta.py::test_merge_with_slc_and_without PASSED [ 58%] 364s test/test_dcmstack.py::test_key_regex_filter PASSED [ 59%] 364s test/test_dcmstack.py::TestReorderVoxels::test_invalid_vox_order PASSED [ 60%] 364s test/test_dcmstack.py::TestReorderVoxels::test_invalid_vox_array PASSED [ 61%] 364s test/test_dcmstack.py::TestReorderVoxels::test_invalid_affine PASSED [ 61%] 364s test/test_dcmstack.py::TestReorderVoxels::test_no_op PASSED [ 62%] 364s test/test_dcmstack.py::TestReorderVoxels::test_reorder PASSED [ 63%] 364s test/test_dcmstack.py::TestReorderVoxels::test_aniso_reorder PASSED [ 64%] 364s test/test_dcmstack.py::test_dcm_time_to_sec PASSED [ 64%] 364s test/test_dcmstack.py::TestDicomOrdering::test_missing_key PASSED [ 65%] 364s test/test_dcmstack.py::TestDicomOrdering::test_non_abs PASSED [ 66%] 364s test/test_dcmstack.py::TestDicomOrdering::test_abs PASSED [ 67%] 364s test/test_dcmstack.py::TestDicomOrdering::test_abs_as_str PASSED [ 67%] 364s test/test_dcmstack.py::TestDicomOrdering::test_abs_missing PASSED [ 68%] 364s test/test_dcmstack.py::test_image_collision PASSED [ 69%] 364s test/test_dcmstack.py::TestIncongruentImage::test_rows PASSED [ 70%] 364s test/test_dcmstack.py::TestIncongruentImage::test_columns PASSED [ 70%] 364s test/test_dcmstack.py::TestIncongruentImage::test_pix_space PASSED [ 71%] 364s test/test_dcmstack.py::TestIncongruentImage::test_close_pix_space PASSED [ 72%] 364s test/test_dcmstack.py::TestIncongruentImage::test_orientation PASSED [ 73%] 364s test/test_dcmstack.py::TestIncongruentImage::test_close_orientation PASSED [ 74%] 364s test/test_dcmstack.py::TestInvalidStack::test_empty PASSED [ 74%] 364s test/test_dcmstack.py::TestInvalidStack::test_missing_slice PASSED [ 75%] 364s test/test_dcmstack.py::TestInvalidStack::test_wrong_number_of_files PASSED [ 76%] 364s test/test_dcmstack.py::TestInvalidStack::test_vector_var_over_vol PASSED [ 77%] 364s test/test_dcmstack.py::TestGetShape::test_single_slice PASSED [ 77%] 364s test/test_dcmstack.py::TestGetShape::test_three_dim PASSED [ 78%] 364s test/test_dcmstack.py::TestGetShape::test_four_dim PASSED [ 79%] 364s test/test_dcmstack.py::TestGetShape::test_five_dim PASSED [ 80%] 364s test/test_dcmstack.py::TestGuessDim::test_single_guess PASSED [ 80%] 364s test/test_dcmstack.py::TestGuessDim::test_wrong_guess_first PASSED [ 81%] 364s test/test_dcmstack.py::TestGetData::test_single_slice FAILED [ 82%] 364s test/test_dcmstack.py::TestGetData::test_three_dim FAILED [ 83%] 364s test/test_dcmstack.py::TestGetData::test_four_dim FAILED [ 83%] 364s test/test_dcmstack.py::TestGetData::test_five_dim FAILED [ 84%] 364s test/test_dcmstack.py::TestGetAffine::test_single_slice PASSED [ 85%] 364s test/test_dcmstack.py::TestGetAffine::test_three_dim PASSED [ 86%] 364s test/test_dcmstack.py::TestToNifti::test_single_slice PASSED [ 87%] 365s test/test_dcmstack.py::TestToNifti::test_single_vol PASSED [ 87%] 365s test/test_dcmstack.py::TestToNifti::test_slice_dim_reorient PASSED [ 88%] 365s test/test_dcmstack.py::TestToNifti::test_two_time_vol PASSED [ 89%] 365s test/test_dcmstack.py::TestToNifti::test_two_vector_vol PASSED [ 90%] 365s test/test_dcmstack.py::TestParseAndGroup::test_default PASSED [ 90%] 365s test/test_dcmstack.py::TestParseAndStack::test_default PASSED [ 91%] 365s test/test_dcmstack.py::test_fsl_hack FAILED [ 92%] 365s test/test_dcmstack.py::test_pix_overflow PASSED [ 93%] 365s test/test_extract.py::TestCsa::test_simplify PASSED [ 93%] 365s test/test_extract.py::TestCsa::test_csa_image_trans PASSED [ 94%] 365s test/test_extract.py::TestCsa::test_parse_phx_line PASSED [ 95%] 365s test/test_extract.py::TestCsa::test_csa_series_trans PASSED [ 96%] 365s test/test_extract.py::TestMetaExtractor::test_get_elem_key PASSED [ 96%] 365s test/test_extract.py::TestMetaExtractor::test_get_elem_value PASSED [ 97%] 365s test/test_extract.py::TestMetaExtractor::test_dup_trans PASSED [ 98%] 365s test/test_extract.py::TestMetaExtractor::test_reloc_private PASSED [ 99%] 365s test/test_extract.py::TestMetaExtractor::test_non_reloc_private PASSED [100%] 365s 365s =================================== FAILURES =================================== 365s ________________________ TestGetData.test_single_slice _________________________ 365s 365s self = 365s 365s def test_single_slice(self): 365s stack = dcmstack.DicomStack() 365s stack.add_dcm(self.inputs[0]) 365s data = stack.get_data() 365s assert data.shape == stack.shape 365s > assert sha256(data).hexdigest() == \ 365s '15cfa107ca73810a1c97f1c1872a7a4a05808ba6147e039cef3f63fa08735f5d' 365s E AssertionError: assert '6cb31eefeb9e...749fd2d9ee117' == '15cfa107ca73...f63fa08735f5d' 365s E - 15cfa107ca73810a1c97f1c1872a7a4a05808ba6147e039cef3f63fa08735f5d 365s E + 6cb31eefeb9ee4828f9d8eb5e43a66392e6b1ad885442dcbb5f749fd2d9ee117 365s 365s test/test_dcmstack.py:433: AssertionError 365s __________________________ TestGetData.test_three_dim __________________________ 365s 365s self = 365s 365s def test_three_dim(self): 365s stack = dcmstack.DicomStack() 365s stack.add_dcm(self.inputs[0]) 365s stack.add_dcm(self.inputs[1]) 365s data = stack.get_data() 365s assert data.shape == stack.shape 365s > assert sha256(data).hexdigest() == \ 365s 'ab5225fdbedceeea3442b2c9387e1abcbf398c71f525e0017251849c3cfbf49c' 365s E AssertionError: assert '00d40c4955bd...08038fc24c4ba' == 'ab5225fdbedc...1849c3cfbf49c' 365s E - ab5225fdbedceeea3442b2c9387e1abcbf398c71f525e0017251849c3cfbf49c 365s E + 00d40c4955bd3a688adc460bc094b4a742a002be962db82094808038fc24c4ba 365s 365s test/test_dcmstack.py:442: AssertionError 365s __________________________ TestGetData.test_four_dim ___________________________ 365s 365s self = 365s 365s def test_four_dim(self): 365s stack = dcmstack.DicomStack(time_order='EchoTime') 365s stack.add_dcm(self.inputs[0]) 365s stack.add_dcm(self.inputs[1]) 365s stack.add_dcm(self.inputs[2]) 365s stack.add_dcm(self.inputs[3]) 365s data = stack.get_data() 365s assert data.shape == stack.shape 365s > assert sha256(data).hexdigest() == \ 365s 'bb3639a6ece13dc9a11d65f1b09ab3ccaed63b22dcf0f96fb5d3dd8805cc7b8a' 365s E AssertionError: assert '06423e805ebb...762f71a9428cf' == 'bb3639a6ece1...3dd8805cc7b8a' 365s E - bb3639a6ece13dc9a11d65f1b09ab3ccaed63b22dcf0f96fb5d3dd8805cc7b8a 365s E + 06423e805ebb10230974106e38b0c0eb1d949ec3d561b5b3632762f71a9428cf 365s 365s test/test_dcmstack.py:453: AssertionError 365s __________________________ TestGetData.test_five_dim ___________________________ 365s 365s self = 365s 365s def test_five_dim(self): 365s stack = dcmstack.DicomStack(vector_order='EchoTime') 365s stack.add_dcm(self.inputs[0]) 365s stack.add_dcm(self.inputs[1]) 365s stack.add_dcm(self.inputs[2]) 365s stack.add_dcm(self.inputs[3]) 365s data = stack.get_data() 365s assert data.shape == stack.shape 365s > assert sha256(data).hexdigest() == \ 365s 'bb3639a6ece13dc9a11d65f1b09ab3ccaed63b22dcf0f96fb5d3dd8805cc7b8a' 365s E AssertionError: assert '06423e805ebb...762f71a9428cf' == 'bb3639a6ece1...3dd8805cc7b8a' 365s E - bb3639a6ece13dc9a11d65f1b09ab3ccaed63b22dcf0f96fb5d3dd8805cc7b8a 365s E + 06423e805ebb10230974106e38b0c0eb1d949ec3d561b5b3632762f71a9428cf 365s 365s test/test_dcmstack.py:464: AssertionError 365s ________________________________ test_fsl_hack _________________________________ 365s 365s def test_fsl_hack(): 365s ds = make_dicom({'BitsStored': 14, }, 2**14 - 1) 365s stack = dcmstack.DicomStack() 365s stack.add_dcm(ds) 365s data = stack.get_data() 365s > assert np.max(data) == (2**14 - 1) 365s E assert -193 == ((2 ** 14) - 1) 365s E + where -193 = (array([[[-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193]],\n\n [[-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193]],\n\n [[-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193]],\n\n [[-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193]],\n\n [[-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n ... [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193]],\n\n [[-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193]],\n\n [[-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193]],\n\n [[-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193]],\n\n [[-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193],\n [-193]]], dtype=int16)) 365s E + where = np.max 365s 365s test/test_dcmstack.py:686: AssertionError 365s =============================== warnings summary =============================== 365s test/test_cli.py::TestDcmstackCli::test_basic 365s /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 365s test/test_cli.py::TestDcmstackCli::test_basic is using nose-specific method: `setup(self)` 365s To remove this warning, rename it to `setup_method(self)` 365s See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose 365s fixture_result = next(generator) 365s 365s test/test_cli.py::TestDcmstackCli::test_basic 365s test/test_cli.py::TestDcmstackCli::test_embed 365s test/test_cli.py::TestNitoolCli::test_basic 365s test/test_dcmstack.py::TestToNifti::test_single_vol 365s test/test_dcmstack.py::TestToNifti::test_slice_dim_reorient 365s test/test_dcmstack.py::TestToNifti::test_two_time_vol 365s test/test_dcmstack.py::TestToNifti::test_two_vector_vol 365s /usr/lib/python3/dist-packages/nibabel/nifti1.py:1646: UserWarning: Multiple slice orders satisfy: sequential decreasing, alternating decreasing, alternating increasing 2. Choosing the first one 365s warnings.warn( 365s 365s test/test_cli.py::TestDcmstackCli::test_basic 365s /usr/lib/python3/dist-packages/_pytest/fixtures.py:911: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 365s test/test_cli.py::TestDcmstackCli::test_basic is using nose-specific method: `teardown(self)` 365s To remove this warning, rename it to `teardown_method(self)` 365s See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose 365s next(it) 365s 365s test/test_cli.py::TestDcmstackCli::test_embed 365s /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 365s test/test_cli.py::TestDcmstackCli::test_embed is using nose-specific method: `setup(self)` 365s To remove this warning, rename it to `setup_method(self)` 365s See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose 365s fixture_result = next(generator) 365s 365s test/test_cli.py::TestDcmstackCli::test_embed 365s /usr/lib/python3/dist-packages/_pytest/fixtures.py:911: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 365s test/test_cli.py::TestDcmstackCli::test_embed is using nose-specific method: `teardown(self)` 365s To remove this warning, rename it to `teardown_method(self)` 365s See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose 365s next(it) 365s 365s test/test_cli.py::TestNitoolCli::test_basic 365s /usr/lib/python3/dist-packages/_pytest/fixtures.py:895: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 365s test/test_cli.py::TestNitoolCli::test_basic is using nose-specific method: `setup(self)` 365s To remove this warning, rename it to `setup_method(self)` 365s See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose 365s fixture_result = next(generator) 365s 365s test/test_cli.py::TestNitoolCli::test_basic 365s /usr/lib/python3/dist-packages/_pytest/fixtures.py:911: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 365s test/test_cli.py::TestNitoolCli::test_basic is using nose-specific method: `teardown(self)` 365s To remove this warning, rename it to `teardown_method(self)` 365s See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose 365s next(it) 365s 365s test/test_dcmstack.py::test_fsl_hack 365s test/test_dcmstack.py::test_pix_overflow 365s /usr/lib/python3/dist-packages/pydicom/dataset.py:2249: DeprecationWarning: Starting in pydicom 3.0, Dataset.file_meta must be a FileMetaDataset class instance 365s warnings.warn( 365s 365s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 365s =========================== short test summary info ============================ 365s FAILED test/test_dcmstack.py::TestGetData::test_single_slice - AssertionError... 365s FAILED test/test_dcmstack.py::TestGetData::test_three_dim - AssertionError: a... 365s FAILED test/test_dcmstack.py::TestGetData::test_four_dim - AssertionError: as... 365s FAILED test/test_dcmstack.py::TestGetData::test_five_dim - AssertionError: as... 365s FAILED test/test_dcmstack.py::test_fsl_hack - assert -193 == ((2 ** 14) - 1) 365s ================== 5 failed, 126 passed, 15 warnings in 1.97s ================== 365s autopkgtest [11:11:25]: test run-unit-test: -----------------------] 366s autopkgtest [11:11:26]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 366s run-unit-test FAIL non-zero exit status 1 367s autopkgtest [11:11:27]: @@@@@@@@@@@@@@@@@@@@ summary 367s run-unit-test FAIL non-zero exit status 1 378s Creating nova instance adt-noble-s390x-dcmstack-20240322-110520-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-s390x-server-20240321.img (UUID f7ee8f0f-480f-4014-94f0-3be2a19e259d)...