0s autopkgtest [09:33:22]: starting date and time: 2024-11-26 09:33:22+0000 0s autopkgtest [09:33:22]: git checkout: 6408f825 Correct logic in old-systemd fallback code 0s autopkgtest [09:33:22]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.606fc9qz/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --apt-pocket=proposed=src:astropy --apt-upgrade gwcs --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=astropy/7.0.0-1 -- lxd -r lxd-armhf-10.145.243.9 lxd-armhf-10.145.243.9:autopkgtest/ubuntu/plucky/armhf 59s autopkgtest [09:34:21]: testbed dpkg architecture: armhf 63s autopkgtest [09:34:25]: testbed apt version: 2.9.14ubuntu1 63s autopkgtest [09:34:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 76s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 76s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.7 kB] 76s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.2 kB] 76s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [811 kB] 76s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 76s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [67.4 kB] 76s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [928 B] 76s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [596 kB] 76s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [6096 B] 76s Fetched 1638 kB in 1s (2097 kB/s) 77s Reading package lists... 98s tee: /proc/self/fd/2: Permission denied 119s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 119s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 119s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 119s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 120s Reading package lists... 120s Reading package lists... 121s Building dependency tree... 121s Reading state information... 122s Calculating upgrade... 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s Reading package lists... 123s Building dependency tree... 123s Reading state information... 123s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 125s autopkgtest [09:35:27]: rebooting testbed after setup commands that affected boot 212s autopkgtest [09:36:54]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 256s autopkgtest [09:37:38]: @@@@@@@@@@@@@@@@@@@@ apt-source gwcs 277s Get:1 http://ftpmaster.internal/ubuntu plucky/universe gwcs 0.21.0-3 (dsc) [2456 B] 277s Get:2 http://ftpmaster.internal/ubuntu plucky/universe gwcs 0.21.0-3 (tar) [196 kB] 277s Get:3 http://ftpmaster.internal/ubuntu plucky/universe gwcs 0.21.0-3 (diff) [5920 B] 278s gpgv: Signature made Wed Nov 20 17:32:33 2024 UTC 278s gpgv: using RSA key BAFC6C85F7CB143FEEB6FB157115AFD07710DCF7 278s gpgv: Can't check signature: No public key 278s dpkg-source: warning: cannot verify inline signature for ./gwcs_0.21.0-3.dsc: no acceptable signature found 278s autopkgtest [09:38:00]: testing package gwcs version 0.21.0-3 282s autopkgtest [09:38:04]: build not needed 285s autopkgtest [09:38:07]: test command1: preparing testbed 300s Reading package lists... 300s Building dependency tree... 300s Reading state information... 300s Starting pkgProblemResolver with broken count: 0 300s Starting 2 pkgProblemResolver with broken count: 0 300s Done 301s The following additional packages will be installed: 301s libblas3 liberfa1 libgfortran5 libjs-jquery libjs-jquery-hotkeys 301s libjs-jquery-isonscreen libjs-jquery-metadata libjs-jquery-tablesorter 301s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore liblapack3 301s liblbfgsb0 libpython3.13-minimal libpython3.13-stdlib libwcs8 python3-asdf 301s python3-asdf-astropy python3-asdf-coordinates-schemas python3-asdf-standard 301s python3-asdf-transform-schemas python3-asdf-wcs-schemas python3-astropy 301s python3-astropy-iers-data python3-coverage python3-dateutil 301s python3-decorator python3-erfa python3-gwcs python3-hypothesis 301s python3-iniconfig python3-jmespath python3-numpy python3-packaging 301s python3-pluggy python3-ply python3-pytest python3-pytest-arraydiff 301s python3-pytest-astropy python3-pytest-astropy-header python3-pytest-cov 301s python3-pytest-doctestplus python3-pytest-filter-subpackage 301s python3-pytest-mock python3-pytest-remotedata python3-scipy 301s python3-semantic-version python3-sortedcontainers python3.13 301s python3.13-minimal 301s Suggested packages: 301s libxml2-utils python-astropy-doc python3-astropy-affiliated python3-bs4 301s python3-h5py python3-matplotlib python3-pandas python3-tz 301s python-coverage-doc python-hypothesis-doc gcc gfortran python-numpy-doc 301s python3-dev python-ply-doc python-pytest-mock-doc python-scipy-doc 301s python-semantic-version-doc python-sortedcontainers-doc python3.13-venv 301s python3.13-doc binfmt-support 301s Recommended packages: 301s javascript-common libjs-jquery-datatables python3-click g++ | c++-compiler 301s python3-pil 301s The following NEW packages will be installed: 301s autopkgtest-satdep libblas3 liberfa1 libgfortran5 libjs-jquery 301s libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata 301s libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjs-sphinxdoc 301s libjs-underscore liblapack3 liblbfgsb0 libpython3.13-minimal 301s libpython3.13-stdlib libwcs8 python3-asdf python3-asdf-astropy 301s python3-asdf-coordinates-schemas python3-asdf-standard 301s python3-asdf-transform-schemas python3-asdf-wcs-schemas python3-astropy 301s python3-astropy-iers-data python3-coverage python3-dateutil 301s python3-decorator python3-erfa python3-gwcs python3-hypothesis 301s python3-iniconfig python3-jmespath python3-numpy python3-packaging 301s python3-pluggy python3-ply python3-pytest python3-pytest-arraydiff 301s python3-pytest-astropy python3-pytest-astropy-header python3-pytest-cov 301s python3-pytest-doctestplus python3-pytest-filter-subpackage 301s python3-pytest-mock python3-pytest-remotedata python3-scipy 301s python3-semantic-version python3-sortedcontainers python3.13 301s python3.13-minimal 301s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 301s Need to get 39.5 MB/39.5 MB of archives. 301s After this operation, 181 MB of additional disk space will be used. 301s Get:1 /tmp/autopkgtest.0SxhLe/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [724 B] 301s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 302s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 302s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 302s Get:5 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] 302s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libblas3 armhf 3.12.0-4 [126 kB] 302s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libgfortran5 armhf 14.2.0-8ubuntu1 [311 kB] 302s Get:8 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-metadata all 12-4 [6582 B] 302s Get:9 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 302s Get:10 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 302s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 302s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] 302s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf liblapack3 armhf 3.12.0-4 [2086 kB] 302s Get:14 http://ftpmaster.internal/ubuntu plucky/universe armhf liblbfgsb0 armhf 3.0+dfsg.4-1build1 [27.4 kB] 302s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 302s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf libwcs8 armhf 8.4+ds-1 [238 kB] 302s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-asdf-standard all 1.1.1-1 [31.7 kB] 302s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-asdf-transform-schemas all 0.5.0-1 [41.8 kB] 302s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jmespath all 1.0.1-1 [21.3 kB] 302s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf python3-numpy armhf 1:1.26.4+ds-11ubuntu1 [3975 kB] 302s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 302s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf python3-semantic-version all 2.10.0-2 [15.1 kB] 302s Get:23 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-asdf all 4.0.0-1 [429 kB] 302s Get:24 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-asdf-coordinates-schemas all 0.3.0-1 [10.8 kB] 302s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 302s Get:26 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 302s Get:27 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 302s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dateutil all 2.9.0-3 [80.2 kB] 302s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf python3-sortedcontainers all 2.4.0-2 [27.6 kB] 302s Get:30 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-hypothesis all 6.119.3-1 [329 kB] 302s Get:31 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-arraydiff all 0.6.1-3 [10.2 kB] 302s Get:32 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-astropy-header all 0.2.2-2 [8620 B] 302s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 302s Get:34 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-coverage armhf 7.4.4+dfsg1-0ubuntu3 [148 kB] 302s Get:35 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 302s Get:36 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-cov all 5.0.0-1 [21.3 kB] 302s Get:37 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-doctestplus all 1.2.1-2 [23.5 kB] 302s Get:38 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-filter-subpackage all 0.2.0-1 [6094 B] 302s Get:39 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-mock all 3.14.0-2 [11.7 kB] 302s Get:40 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-remotedata all 0.4.1-1 [8650 B] 302s Get:41 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-astropy all 0.11.0-1 [5902 B] 302s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf python3-ply all 3.11-7 [45.4 kB] 303s Get:43 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-astropy-iers-data all 0.2024.07.22.00.34.13-1 [1198 kB] 303s Get:44 http://ftpmaster.internal/ubuntu plucky/universe armhf liberfa1 armhf 2.0.1-1build1 [130 kB] 303s Get:45 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-erfa armhf 2.0.1.5+ds-1 [308 kB] 303s Get:46 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-astropy armhf 7.0.0-1 [3966 kB] 303s Get:47 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-asdf-astropy all 0.7.0-1 [47.0 kB] 303s Get:48 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-asdf-wcs-schemas all 0.4.0-1 [13.0 kB] 303s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf python3-decorator all 5.1.1-5 [10.1 kB] 303s Get:50 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-scipy armhf 1.13.1-5ubuntu1 [19.1 MB] 303s Get:51 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-gwcs all 0.21.0-3 [118 kB] 304s Fetched 39.5 MB in 2s (17.3 MB/s) 304s Selecting previously unselected package libpython3.13-minimal:armhf. 304s (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 ... 59609 files and directories currently installed.) 304s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_armhf.deb ... 304s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 304s Selecting previously unselected package python3.13-minimal. 304s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_armhf.deb ... 304s Unpacking python3.13-minimal (3.13.0-2) ... 304s Selecting previously unselected package libjs-jquery. 304s Preparing to unpack .../02-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 304s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 304s Selecting previously unselected package libjs-jquery-hotkeys. 304s Preparing to unpack .../03-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... 304s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 304s Selecting previously unselected package libblas3:armhf. 304s Preparing to unpack .../04-libblas3_3.12.0-4_armhf.deb ... 304s Unpacking libblas3:armhf (3.12.0-4) ... 304s Selecting previously unselected package libgfortran5:armhf. 304s Preparing to unpack .../05-libgfortran5_14.2.0-8ubuntu1_armhf.deb ... 304s Unpacking libgfortran5:armhf (14.2.0-8ubuntu1) ... 304s Selecting previously unselected package libjs-jquery-metadata. 304s Preparing to unpack .../06-libjs-jquery-metadata_12-4_all.deb ... 304s Unpacking libjs-jquery-metadata (12-4) ... 304s Selecting previously unselected package libjs-jquery-tablesorter. 304s Preparing to unpack .../07-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 304s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 304s Selecting previously unselected package libjs-jquery-throttle-debounce. 304s Preparing to unpack .../08-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 304s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 304s Selecting previously unselected package libjs-underscore. 304s Preparing to unpack .../09-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 304s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 304s Selecting previously unselected package libjs-sphinxdoc. 304s Preparing to unpack .../10-libjs-sphinxdoc_7.4.7-4_all.deb ... 304s Unpacking libjs-sphinxdoc (7.4.7-4) ... 304s Selecting previously unselected package liblapack3:armhf. 304s Preparing to unpack .../11-liblapack3_3.12.0-4_armhf.deb ... 304s Unpacking liblapack3:armhf (3.12.0-4) ... 304s Selecting previously unselected package liblbfgsb0:armhf. 304s Preparing to unpack .../12-liblbfgsb0_3.0+dfsg.4-1build1_armhf.deb ... 304s Unpacking liblbfgsb0:armhf (3.0+dfsg.4-1build1) ... 305s Selecting previously unselected package libpython3.13-stdlib:armhf. 305s Preparing to unpack .../13-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 305s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 305s Selecting previously unselected package libwcs8:armhf. 305s Preparing to unpack .../14-libwcs8_8.4+ds-1_armhf.deb ... 305s Unpacking libwcs8:armhf (8.4+ds-1) ... 305s Selecting previously unselected package python3-asdf-standard. 305s Preparing to unpack .../15-python3-asdf-standard_1.1.1-1_all.deb ... 305s Unpacking python3-asdf-standard (1.1.1-1) ... 305s Selecting previously unselected package python3-asdf-transform-schemas. 305s Preparing to unpack .../16-python3-asdf-transform-schemas_0.5.0-1_all.deb ... 305s Unpacking python3-asdf-transform-schemas (0.5.0-1) ... 305s Selecting previously unselected package python3-jmespath. 305s Preparing to unpack .../17-python3-jmespath_1.0.1-1_all.deb ... 305s Unpacking python3-jmespath (1.0.1-1) ... 305s Selecting previously unselected package python3-numpy. 305s Preparing to unpack .../18-python3-numpy_1%3a1.26.4+ds-11ubuntu1_armhf.deb ... 305s Unpacking python3-numpy (1:1.26.4+ds-11ubuntu1) ... 305s Selecting previously unselected package python3-packaging. 305s Preparing to unpack .../19-python3-packaging_24.2-1_all.deb ... 305s Unpacking python3-packaging (24.2-1) ... 305s Selecting previously unselected package python3-semantic-version. 305s Preparing to unpack .../20-python3-semantic-version_2.10.0-2_all.deb ... 305s Unpacking python3-semantic-version (2.10.0-2) ... 305s Selecting previously unselected package python3-asdf. 305s Preparing to unpack .../21-python3-asdf_4.0.0-1_all.deb ... 305s Unpacking python3-asdf (4.0.0-1) ... 305s Selecting previously unselected package python3-asdf-coordinates-schemas. 305s Preparing to unpack .../22-python3-asdf-coordinates-schemas_0.3.0-1_all.deb ... 305s Unpacking python3-asdf-coordinates-schemas (0.3.0-1) ... 305s Selecting previously unselected package python3-iniconfig. 305s Preparing to unpack .../23-python3-iniconfig_1.1.1-2_all.deb ... 305s Unpacking python3-iniconfig (1.1.1-2) ... 305s Selecting previously unselected package python3-pluggy. 305s Preparing to unpack .../24-python3-pluggy_1.5.0-1_all.deb ... 305s Unpacking python3-pluggy (1.5.0-1) ... 305s Selecting previously unselected package python3-pytest. 305s Preparing to unpack .../25-python3-pytest_8.3.3-1_all.deb ... 305s Unpacking python3-pytest (8.3.3-1) ... 305s Selecting previously unselected package python3-dateutil. 305s Preparing to unpack .../26-python3-dateutil_2.9.0-3_all.deb ... 305s Unpacking python3-dateutil (2.9.0-3) ... 305s Selecting previously unselected package python3-sortedcontainers. 305s Preparing to unpack .../27-python3-sortedcontainers_2.4.0-2_all.deb ... 305s Unpacking python3-sortedcontainers (2.4.0-2) ... 305s Selecting previously unselected package python3-hypothesis. 305s Preparing to unpack .../28-python3-hypothesis_6.119.3-1_all.deb ... 305s Unpacking python3-hypothesis (6.119.3-1) ... 306s Selecting previously unselected package python3-pytest-arraydiff. 306s Preparing to unpack .../29-python3-pytest-arraydiff_0.6.1-3_all.deb ... 306s Unpacking python3-pytest-arraydiff (0.6.1-3) ... 306s Selecting previously unselected package python3-pytest-astropy-header. 306s Preparing to unpack .../30-python3-pytest-astropy-header_0.2.2-2_all.deb ... 306s Unpacking python3-pytest-astropy-header (0.2.2-2) ... 306s Selecting previously unselected package python3.13. 306s Preparing to unpack .../31-python3.13_3.13.0-2_armhf.deb ... 306s Unpacking python3.13 (3.13.0-2) ... 306s Selecting previously unselected package python3-coverage. 306s Preparing to unpack .../32-python3-coverage_7.4.4+dfsg1-0ubuntu3_armhf.deb ... 306s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 306s Selecting previously unselected package libjs-jquery-isonscreen. 306s Preparing to unpack .../33-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 306s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 306s Selecting previously unselected package python3-pytest-cov. 306s Preparing to unpack .../34-python3-pytest-cov_5.0.0-1_all.deb ... 306s Unpacking python3-pytest-cov (5.0.0-1) ... 306s Selecting previously unselected package python3-pytest-doctestplus. 306s Preparing to unpack .../35-python3-pytest-doctestplus_1.2.1-2_all.deb ... 306s Unpacking python3-pytest-doctestplus (1.2.1-2) ... 306s Selecting previously unselected package python3-pytest-filter-subpackage. 306s Preparing to unpack .../36-python3-pytest-filter-subpackage_0.2.0-1_all.deb ... 306s Unpacking python3-pytest-filter-subpackage (0.2.0-1) ... 306s Selecting previously unselected package python3-pytest-mock. 306s Preparing to unpack .../37-python3-pytest-mock_3.14.0-2_all.deb ... 306s Unpacking python3-pytest-mock (3.14.0-2) ... 306s Selecting previously unselected package python3-pytest-remotedata. 306s Preparing to unpack .../38-python3-pytest-remotedata_0.4.1-1_all.deb ... 306s Unpacking python3-pytest-remotedata (0.4.1-1) ... 306s Selecting previously unselected package python3-pytest-astropy. 306s Preparing to unpack .../39-python3-pytest-astropy_0.11.0-1_all.deb ... 306s Unpacking python3-pytest-astropy (0.11.0-1) ... 306s Selecting previously unselected package python3-ply. 306s Preparing to unpack .../40-python3-ply_3.11-7_all.deb ... 306s Unpacking python3-ply (3.11-7) ... 306s Selecting previously unselected package python3-astropy-iers-data. 306s Preparing to unpack .../41-python3-astropy-iers-data_0.2024.07.22.00.34.13-1_all.deb ... 306s Unpacking python3-astropy-iers-data (0.2024.07.22.00.34.13-1) ... 306s Selecting previously unselected package liberfa1:armhf. 306s Preparing to unpack .../42-liberfa1_2.0.1-1build1_armhf.deb ... 306s Unpacking liberfa1:armhf (2.0.1-1build1) ... 306s Selecting previously unselected package python3-erfa. 306s Preparing to unpack .../43-python3-erfa_2.0.1.5+ds-1_armhf.deb ... 306s Unpacking python3-erfa (2.0.1.5+ds-1) ... 306s Selecting previously unselected package python3-astropy. 306s Preparing to unpack .../44-python3-astropy_7.0.0-1_armhf.deb ... 306s Unpacking python3-astropy (7.0.0-1) ... 307s Selecting previously unselected package python3-asdf-astropy. 307s Preparing to unpack .../45-python3-asdf-astropy_0.7.0-1_all.deb ... 307s Unpacking python3-asdf-astropy (0.7.0-1) ... 307s Selecting previously unselected package python3-asdf-wcs-schemas. 307s Preparing to unpack .../46-python3-asdf-wcs-schemas_0.4.0-1_all.deb ... 307s Unpacking python3-asdf-wcs-schemas (0.4.0-1) ... 307s Selecting previously unselected package python3-decorator. 307s Preparing to unpack .../47-python3-decorator_5.1.1-5_all.deb ... 307s Unpacking python3-decorator (5.1.1-5) ... 307s Selecting previously unselected package python3-scipy. 307s Preparing to unpack .../48-python3-scipy_1.13.1-5ubuntu1_armhf.deb ... 307s Unpacking python3-scipy (1.13.1-5ubuntu1) ... 307s Selecting previously unselected package python3-gwcs. 307s Preparing to unpack .../49-python3-gwcs_0.21.0-3_all.deb ... 307s Unpacking python3-gwcs (0.21.0-3) ... 307s Selecting previously unselected package autopkgtest-satdep. 307s Preparing to unpack .../50-1-autopkgtest-satdep.deb ... 307s Unpacking autopkgtest-satdep (0) ... 308s Setting up libwcs8:armhf (8.4+ds-1) ... 308s Setting up liberfa1:armhf (2.0.1-1build1) ... 308s Setting up python3-iniconfig (1.1.1-2) ... 308s Setting up python3-ply (3.11-7) ... 308s Setting up python3-sortedcontainers (2.4.0-2) ... 308s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 308s Setting up python3-asdf-standard (1.1.1-1) ... 308s Setting up python3-astropy-iers-data (0.2024.07.22.00.34.13-1) ... 308s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 308s Setting up python3-decorator (5.1.1-5) ... 308s Setting up libblas3:armhf (3.12.0-4) ... 308s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode 308s Setting up python3-packaging (24.2-1) ... 308s Setting up python3-jmespath (1.0.1-1) ... 309s Setting up python3-semantic-version (2.10.0-2) ... 309s Setting up libgfortran5:armhf (14.2.0-8ubuntu1) ... 309s Setting up python3-pluggy (1.5.0-1) ... 309s Setting up python3-asdf-transform-schemas (0.5.0-1) ... 309s Setting up python3.13-minimal (3.13.0-2) ... 310s Setting up python3-dateutil (2.9.0-3) ... 310s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 310s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 310s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 310s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 310s Setting up liblapack3:armhf (3.12.0-4) ... 310s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode 310s Setting up python3.13 (3.13.0-2) ... 312s Setting up python3-pytest (8.3.3-1) ... 312s Setting up python3-hypothesis (6.119.3-1) ... 312s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu3) ... 313s Setting up libjs-jquery-metadata (12-4) ... 313s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 313s Setting up python3-pytest-remotedata (0.4.1-1) ... 313s Setting up python3-numpy (1:1.26.4+ds-11ubuntu1) ... 315s Setting up libjs-sphinxdoc (7.4.7-4) ... 315s Setting up python3-pytest-doctestplus (1.2.1-2) ... 315s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 315s Setting up python3-pytest-mock (3.14.0-2) ... 315s Setting up python3-pytest-filter-subpackage (0.2.0-1) ... 315s Setting up python3-asdf (4.0.0-1) ... 316s Setting up python3-pytest-astropy-header (0.2.2-2) ... 316s Setting up liblbfgsb0:armhf (3.0+dfsg.4-1build1) ... 316s Setting up python3-scipy (1.13.1-5ubuntu1) ... 320s Setting up python3-pytest-cov (5.0.0-1) ... 320s Setting up python3-pytest-arraydiff (0.6.1-3) ... 320s Setting up python3-erfa (2.0.1.5+ds-1) ... 320s Setting up python3-asdf-coordinates-schemas (0.3.0-1) ... 321s Setting up python3-pytest-astropy (0.11.0-1) ... 321s Setting up python3-astropy (7.0.0-1) ... 324s Setting up python3-asdf-astropy (0.7.0-1) ... 324s Setting up python3-asdf-wcs-schemas (0.4.0-1) ... 324s Setting up python3-gwcs (0.21.0-3) ... 324s Setting up autopkgtest-satdep (0) ... 324s Processing triggers for systemd (256.5-2ubuntu4) ... 325s Processing triggers for man-db (2.13.0-1) ... 325s Processing triggers for libc-bin (2.40-1ubuntu3) ... 344s (Reading database ... 67382 files and directories currently installed.) 344s Removing autopkgtest-satdep (0) ... 353s autopkgtest [09:39:15]: test command1: cd $AUTOPKGTEST_TMP && pytest-3 --pyargs gwcs 353s autopkgtest [09:39:15]: test command1: [----------------------- 357s ============================= test session starts ============================== 357s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 357s rootdir: /tmp/autopkgtest.0SxhLe/autopkgtest_tmp 357s plugins: typeguard-4.4.1, asdf-4.0.0, hypothesis-6.119.3, arraydiff-0.6.1, astropy-header-0.2.2, cov-5.0.0, doctestplus-1.2.1, filter-subpackage-0.2.0, mock-3.14.0, remotedata-0.4.1, astropy-0.11.0 357s collected 981 items 357s 358s converters/tests/test_selector.py ..... [ 0%] 358s converters/tests/test_transforms.py ............ [ 1%] 359s converters/tests/test_wcs.py .... [ 2%] 359s tests/test_api.py ...................................................... [ 7%] 359s ............................ [ 10%] 359s tests/test_api_slicing.py ....... [ 11%] 359s tests/test_coordinate_systems.py ....................................... [ 15%] 359s ................................. [ 18%] 359s tests/test_extension.py .. [ 18%] 359s tests/test_geometry.py ................................................. [ 23%] 359s ........................................................................ [ 31%] 360s ........................................................................ [ 38%] 360s ........................................................................ [ 45%] 360s ........................................................................ [ 53%] 360s ........................................................................ [ 60%] 360s ........................................................................ [ 67%] 360s ........................................................................ [ 75%] 360s ........................................................................ [ 82%] 361s ........................................................................ [ 89%] 361s . [ 89%] 361s tests/test_region.py ............. [ 91%] 361s tests/test_spectroscopy_models.py ........ [ 92%] 361s tests/test_utils.py ........ [ 92%] 363s tests/test_wcs.py ........................F..................s...s...s.. [ 98%] 375s ..s..ss......... [100%] 375s 375s =================================== FAILURES =================================== 375s _____________________________ test_high_level_api ______________________________ 375s 375s def test_high_level_api(): 375s """ 375s Test WCS high level API. 375s """ 375s output_frame = cf.CompositeFrame(frames=[icrs, spec, time]) 375s transform = m1 & models.Scale(1.5) & models.Scale(2) 375s det = cf.CoordinateFrame(naxes=4, unit=(u.pix, u.pix, u.pix, u.pix), 375s axes_order=(0, 1, 2, 3), 375s axes_type=('length', 'length', 'length', 'length')) 375s w = wcs.WCS(forward_transform=transform, output_frame=output_frame, input_frame=det) 375s wrapped = wcsapi.HighLevelWCSWrapper(w) 375s 375s r, d, lam, t = w(xv, yv, xv, xv) 375s world_coord = w.pixel_to_world(xv, yv, xv, xv) 375s assert isinstance(world_coord[0], coord.SkyCoord) 375s assert isinstance(world_coord[1], u.Quantity) 375s assert isinstance(world_coord[2], Time) 375s assert_allclose(world_coord[0].data.lon.value, r) 375s assert_allclose(world_coord[0].data.lat.value, d) 375s assert_allclose(world_coord[1].value, lam) 375s assert_allclose((world_coord[2] - time.reference_frame).to(u.s).value, t) 375s 375s wrapped_world_coord = wrapped.pixel_to_world(xv, yv, xv, xv) 375s assert_allclose(wrapped_world_coord[0].data.lon.value, r) 375s assert_allclose(wrapped_world_coord[0].data.lat.value, d) 375s assert_allclose(wrapped_world_coord[1].value, lam) 375s assert_allclose((world_coord[2] - time.reference_frame).to(u.s).value, t) 375s 375s x1, y1, z1, k1 = w.world_to_pixel(*world_coord) 375s assert_allclose(x1, xv) 375s assert_allclose(y1, yv) 375s assert_allclose(z1, xv) 375s assert_allclose(k1, xv) 375s 375s > x1, y1, z1, k1 = wrapped.world_to_pixel(*world_coord) 375s 375s /usr/lib/python3/dist-packages/gwcs/tests/test_wcs.py:542: 375s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 375s /usr/lib/python3/dist-packages/astropy/wcs/wcsapi/high_level_api.py:352: in world_to_pixel 375s world_values = high_level_objects_to_values( 375s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 375s 375s low_level_wcs = 375s world_objects = () 375s serialized_classes = {'celestial': (, (), {'frame': , 'unit': (Unit("deg")...ame(name="time", unit=(Unit("s"),), axes_names=('time',), axes_order=(3,), reference_frame=2020-01-01 00:00:00.000)>>)} 375s components = [('celestial', 0, 'spherical.lon'), ('celestial', 1, 'spherical.lat'), ('spectral', 0, 'value'), ('temporal', 0, .offset_from_time_and_reference at 0xe727a3e8>)] 375s 375s def high_level_objects_to_values(*world_objects, low_level_wcs): 375s """ 375s Convert the input high level object to low level values. 375s 375s This function uses the information in ``wcs.world_axis_object_classes`` and 375s ``wcs.world_axis_object_components`` to convert the high level objects 375s (such as `~.SkyCoord`) to low level "values" which should be scalars or 375s Numpy arrays. 375s 375s This is used in `.HighLevelWCSMixin.world_to_pixel`, but provided as a 375s separate function for use in other places where needed. 375s 375s Parameters 375s ---------- 375s *world_objects: object 375s High level coordinate objects. 375s 375s low_level_wcs: `.BaseLowLevelWCS` 375s The WCS object to use to interpret the coordinates. 375s """ 375s # Cache the classes and components since this may be expensive 375s serialized_classes = low_level_wcs.world_axis_object_classes 375s components = low_level_wcs.world_axis_object_components 375s 375s # Deserialize world_axis_object_classes using the default order 375s classes = OrderedDict() 375s for key in default_order(components): 375s if low_level_wcs.serialized_classes: 375s classes[key] = deserialize_class(serialized_classes[key], construct=False) 375s else: 375s classes[key] = serialized_classes[key] 375s 375s # Check that the number of classes matches the number of inputs 375s if len(world_objects) != len(classes): 375s raise ValueError( 375s f"Number of world inputs ({len(world_objects)}) does not match expected" 375s f" ({len(classes)})" 375s ) 375s 375s # Determine whether the classes are uniquely matched, that is we check 375s # whether there is only one of each class. 375s world_by_key = {} 375s unique_match = True 375s for w in world_objects: 375s matches = [] 375s for key, (klass, *_) in classes.items(): 375s if isinstance(w, klass): 375s matches.append(key) 375s if len(matches) == 1: 375s world_by_key[matches[0]] = w 375s else: 375s unique_match = False 375s break 375s 375s # If the match is not unique, the order of the classes needs to match, 375s # whereas if all classes are unique, we can still intelligently match 375s # them even if the order is wrong. 375s 375s objects = {} 375s 375s if unique_match: 375s for key, (klass, args, kwargs, *rest) in classes.items(): 375s if len(rest) == 0: 375s klass_gen = klass 375s elif len(rest) == 1: 375s klass_gen = rest[0] 375s else: 375s raise ValueError( 375s "Tuples in world_axis_object_classes should have length 3 or 4" 375s ) 375s 375s # FIXME: For now SkyCoord won't auto-convert upon initialization 375s # https://github.com/astropy/astropy/issues/7689 375s from astropy.coordinates import SkyCoord 375s 375s if isinstance(world_by_key[key], SkyCoord): 375s if "frame" in kwargs: 375s objects[key] = world_by_key[key].transform_to(kwargs["frame"]) 375s else: 375s objects[key] = world_by_key[key] 375s else: 375s objects[key] = klass_gen(world_by_key[key], *args, **kwargs) 375s 375s else: 375s for ikey, key in enumerate(classes): 375s klass, args, kwargs, *rest = classes[key] 375s 375s if len(rest) == 0: 375s klass_gen = klass 375s elif len(rest) == 1: 375s klass_gen = rest[0] 375s else: 375s raise ValueError( 375s "Tuples in world_axis_object_classes should have length 3 or 4" 375s ) 375s 375s w = world_objects[ikey] 375s if not isinstance(w, klass): 375s raise ValueError( 375s "Expected the following order of world arguments:" 375s f" {', '.join([k.__name__ for (k, *_) in classes.values()])}" 375s ) 375s 375s # FIXME: For now SkyCoord won't auto-convert upon initialization 375s # https://github.com/astropy/astropy/issues/7689 375s from astropy.coordinates import SkyCoord 375s 375s if isinstance(w, SkyCoord): 375s if "frame" in kwargs: 375s objects[key] = w.transform_to(kwargs["frame"]) 375s else: 375s objects[key] = w 375s else: 375s objects[key] = klass_gen(w, *args, **kwargs) 375s 375s # We now extract the attributes needed for the world values 375s world = [] 375s for key, _, attr in components: 375s if callable(attr): 375s world.append(attr(objects[key])) 375s else: 375s world.append(rec_getattr(objects[key], attr)) 375s 375s # Check the type of the return values - should be scalars or plain Numpy 375s # arrays, not e.g. Quantity. Note that we deliberately use type(w) because 375s # we don't want to match Numpy subclasses. 375s for w in world: 375s if not isinstance(w, numbers.Number) and not type(w) == np.ndarray: 375s > raise TypeError( 375s f"WCS world_axis_object_components results in " 375s f"values which are not scalars or plain Numpy " 375s f"arrays (got {type(w)})" 375s ) 375s E TypeError: WCS world_axis_object_components results in values which are not scalars or plain Numpy arrays (got ) 375s 375s /usr/lib/python3/dist-packages/astropy/wcs/wcsapi/high_level_api.py:263: TypeError 375s =============================== warnings summary =============================== 375s tests/test_wcs.py: 27 warnings 375s /usr/lib/python3/dist-packages/astropy/units/format/__init__.py:48: AstropyDeprecationWarning: The class "Fits" has been renamed to "FITS" in version 7.0. The old name is deprecated and may be removed in a future version. 375s Use FITS instead. 375s warnings.warn( 375s 375s tests/test_wcs.py: 27 warnings 375s /usr/lib/python3/dist-packages/gwcs/wcs.py:2035: AstropyDeprecationWarning: The get_format_name function is deprecated and may be removed in a future version. 375s Use to_string() instead. 375s cunit = frame.unit[fidx].get_format_name(u.format.Fits).upper() 375s 375s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 375s =========================== short test summary info ============================ 375s FAILED tests/test_wcs.py::test_high_level_api - TypeError: WCS world_axis_obj... 375s ============ 1 failed, 974 passed, 6 skipped, 54 warnings in 19.56s ============ 376s autopkgtest [09:39:38]: test command1: -----------------------] 380s command1 FAIL non-zero exit status 1 380s autopkgtest [09:39:42]: test command1: - - - - - - - - - - results - - - - - - - - - - 385s autopkgtest [09:39:47]: @@@@@@@@@@@@@@@@@@@@ summary 385s command1 FAIL non-zero exit status 1