0s autopkgtest [19:56:55]: starting date and time: 2024-11-13 19:56:55+0000 0s autopkgtest [19:56:55]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [19:56:55]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.qbir95qc/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade pyraf --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-ppc64el-15.secgroup --name adt-plucky-ppc64el-pyraf-20241113-195655-juju-7f2275-prod-proposed-migration-environment-15-eb2b147d-2210-47df-9be2-57958f3d090c --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 121s autopkgtest [19:58:56]: testbed dpkg architecture: ppc64el 121s autopkgtest [19:58:56]: testbed apt version: 2.9.8 121s autopkgtest [19:58:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 122s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 122s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [958 kB] 122s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [98.3 kB] 122s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 122s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 122s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [108 kB] 122s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [673 kB] 123s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [20.8 kB] 123s Fetched 1956 kB in 1s (2046 kB/s) 123s Reading package lists... 126s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s Calculating upgrade... 126s The following NEW packages will be installed: 126s python3.13-gdbm 126s The following packages will be upgraded: 126s bpfcc-tools bpftrace libbpfcc libgnutls30t64 libjson-glib-1.0-0 126s libjson-glib-1.0-common libnewt0.52 libpython3-stdlib libutempter0 python3 126s python3-bpfcc python3-gdbm python3-minimal python3-newt whiptail 127s 15 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 127s Need to get 4700 kB of archives. 127s After this operation, 215 kB of additional disk space will be used. 127s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-minimal ppc64el 3.12.7-1 [27.4 kB] 127s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3 ppc64el 3.12.7-1 [24.0 kB] 127s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-stdlib ppc64el 3.12.7-1 [10.0 kB] 127s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.8-2ubuntu1 [1072 kB] 127s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-newt ppc64el 0.52.24-2ubuntu4 [21.8 kB] 127s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnewt0.52 ppc64el 0.52.24-2ubuntu4 [62.1 kB] 127s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el whiptail ppc64el 0.52.24-2ubuntu4 [19.5 kB] 127s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-gdbm ppc64el 3.13.0-2 [31.5 kB] 127s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-gdbm ppc64el 3.12.7-1 [8640 B] 127s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbpfcc ppc64el 0.30.0+ds-1ubuntu5 [696 kB] 127s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-bpfcc all 0.30.0+ds-1ubuntu5 [40.4 kB] 127s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpfcc-tools all 0.30.0+ds-1ubuntu5 [697 kB] 127s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpftrace ppc64el 0.21.2-2ubuntu2 [1898 kB] 127s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 127s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-0 ppc64el 1.10.0+ds-3 [76.0 kB] 127s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libutempter0 ppc64el 1.2.1-4 [9850 B] 128s Fetched 4700 kB in 1s (4949 kB/s) 128s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73767 files and directories currently installed.) 128s Preparing to unpack .../python3-minimal_3.12.7-1_ppc64el.deb ... 128s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 128s Setting up python3-minimal (3.12.7-1) ... 128s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73767 files and directories currently installed.) 128s Preparing to unpack .../python3_3.12.7-1_ppc64el.deb ... 129s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 129s Preparing to unpack .../libpython3-stdlib_3.12.7-1_ppc64el.deb ... 129s Unpacking libpython3-stdlib:ppc64el (3.12.7-1) over (3.12.6-0ubuntu1) ... 129s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_ppc64el.deb ... 129s Unpacking libgnutls30t64:ppc64el (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 129s Setting up libgnutls30t64:ppc64el (3.8.8-2ubuntu1) ... 129s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73767 files and directories currently installed.) 129s Preparing to unpack .../00-python3-newt_0.52.24-2ubuntu4_ppc64el.deb ... 129s Unpacking python3-newt:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 129s Preparing to unpack .../01-libnewt0.52_0.52.24-2ubuntu4_ppc64el.deb ... 129s Unpacking libnewt0.52:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 129s Preparing to unpack .../02-whiptail_0.52.24-2ubuntu4_ppc64el.deb ... 129s Unpacking whiptail (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 129s Selecting previously unselected package python3.13-gdbm. 129s Preparing to unpack .../03-python3.13-gdbm_3.13.0-2_ppc64el.deb ... 129s Unpacking python3.13-gdbm (3.13.0-2) ... 129s Preparing to unpack .../04-python3-gdbm_3.12.7-1_ppc64el.deb ... 129s Unpacking python3-gdbm:ppc64el (3.12.7-1) over (3.12.6-1ubuntu1) ... 129s Preparing to unpack .../05-libbpfcc_0.30.0+ds-1ubuntu5_ppc64el.deb ... 129s Unpacking libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 129s Preparing to unpack .../06-python3-bpfcc_0.30.0+ds-1ubuntu5_all.deb ... 129s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 129s Preparing to unpack .../07-bpfcc-tools_0.30.0+ds-1ubuntu5_all.deb ... 129s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 129s Preparing to unpack .../08-bpftrace_0.21.2-2ubuntu2_ppc64el.deb ... 129s Unpacking bpftrace (0.21.2-2ubuntu2) over (0.21.2-2) ... 129s Preparing to unpack .../09-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 129s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 129s Preparing to unpack .../10-libjson-glib-1.0-0_1.10.0+ds-3_ppc64el.deb ... 129s Unpacking libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) over (1.10.0+ds-2) ... 129s Preparing to unpack .../11-libutempter0_1.2.1-4_ppc64el.deb ... 129s Unpacking libutempter0:ppc64el (1.2.1-4) over (1.2.1-3build1) ... 129s Setting up libnewt0.52:ppc64el (0.52.24-2ubuntu4) ... 129s Setting up libutempter0:ppc64el (1.2.1-4) ... 129s Setting up whiptail (0.52.24-2ubuntu4) ... 129s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 129s Setting up libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) ... 129s Setting up python3.13-gdbm (3.13.0-2) ... 129s Setting up libpython3-stdlib:ppc64el (3.12.7-1) ... 129s Setting up bpftrace (0.21.2-2ubuntu2) ... 129s Setting up python3 (3.12.7-1) ... 130s Setting up python3-newt:ppc64el (0.52.24-2ubuntu4) ... 130s Setting up libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) ... 130s Setting up python3-bpfcc (0.30.0+ds-1ubuntu5) ... 130s Setting up python3-gdbm:ppc64el (3.12.7-1) ... 130s Setting up bpfcc-tools (0.30.0+ds-1ubuntu5) ... 130s Processing triggers for man-db (2.12.1-3) ... 131s Processing triggers for libc-bin (2.40-1ubuntu3) ... 132s Reading package lists... 132s Building dependency tree... 132s Reading state information... 132s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 132s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 133s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 133s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 133s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 134s Reading package lists... 134s Reading package lists... 134s Building dependency tree... 134s Reading state information... 134s Calculating upgrade... 134s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 134s Reading package lists... 135s Building dependency tree... 135s Reading state information... 135s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 138s autopkgtest [19:59:13]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 138s autopkgtest [19:59:13]: @@@@@@@@@@@@@@@@@@@@ apt-source pyraf 140s Get:1 http://ftpmaster.internal/ubuntu plucky/universe pyraf 2.2.2-1 (dsc) [2275 B] 140s Get:2 http://ftpmaster.internal/ubuntu plucky/universe pyraf 2.2.2-1 (tar) [601 kB] 140s Get:3 http://ftpmaster.internal/ubuntu plucky/universe pyraf 2.2.2-1 (diff) [6936 B] 140s gpgv: Signature made Sun Oct 27 13:42:04 2024 UTC 140s gpgv: using RSA key EFF06957445ADBF8742F7AAD9A4F56BDB90E18BD 140s gpgv: Can't check signature: No public key 140s dpkg-source: warning: cannot verify inline signature for ./pyraf_2.2.2-1.dsc: no acceptable signature found 140s autopkgtest [19:59:15]: testing package pyraf version 2.2.2-1 140s autopkgtest [19:59:15]: build not needed 141s autopkgtest [19:59:16]: test command1: preparing testbed 142s Reading package lists... 142s Building dependency tree... 142s Reading state information... 142s Starting pkgProblemResolver with broken count: 0 142s Starting 2 pkgProblemResolver with broken count: 0 142s Done 143s The following additional packages will be installed: 143s cpp cpp-14 cpp-14-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu gcc gcc-14 143s gcc-14-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu ipython3 iraf 143s iraf-dev iraf-noao libasan8 libblas3 libcc1-0 liberfa1 libgcc-14-dev 143s libgfortran5 libgomp1 libisl23 libitm1 libjs-jquery libjs-jquery-hotkeys 143s libjs-jquery-isonscreen libjs-jquery-metadata libjs-jquery-tablesorter 143s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore liblapack3 143s liblsan0 libmpc3 libquadmath0 libtsan2 libubsan1 libwcs8 python3-astropy 143s python3-astropy-iers-data python3-asttokens python3-coverage 143s python3-dateutil python3-decorator python3-erfa python3-executing 143s python3-hypothesis python3-iniconfig python3-ipython python3-jedi 143s python3-matplotlib-inline python3-numpy python3-packaging python3-parso 143s python3-pexpect python3-pluggy python3-ply python3-prompt-toolkit 143s python3-ptyprocess python3-pure-eval python3-pyraf python3-pytest 143s python3-pytest-arraydiff python3-pytest-astropy 143s python3-pytest-astropy-header python3-pytest-cov python3-pytest-doctestplus 143s python3-pytest-filter-subpackage python3-pytest-mock 143s python3-pytest-remotedata python3-six python3-sortedcontainers 143s python3-stack-data python3-traitlets python3-typeshed python3-wcwidth 143s zlib1g-dev 143s Suggested packages: 143s cpp-doc gcc-14-locales cpp-14-doc gcc-multilib manpages-dev autoconf 143s automake libtool flex bison gdb gcc-doc gcc-14-doc gdb-powerpc64le-linux-gnu 143s libxml2-utils python-astropy-doc python3-astropy-affiliated python3-bs4 143s python3-h5py python3-matplotlib python3-pandas python3-tz 143s python-coverage-doc python-hypothesis-doc python-ipython-doc gfortran 143s python-numpy-doc python3-dev python-pexpect-doc python-ply-doc python3-urwid 143s python-pytest-mock-doc python-sortedcontainers-doc python-traitlets-doc 143s Recommended packages: 143s saods9 | ximtool iraf-noao-dev javascript-common libjs-jquery-datatables 143s python3-scipy python3-click python3-matplotlib python3-tk 143s The following NEW packages will be installed: 143s autopkgtest-satdep cpp cpp-14 cpp-14-powerpc64le-linux-gnu 143s cpp-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 143s gcc-powerpc64le-linux-gnu ipython3 iraf iraf-dev iraf-noao libasan8 libblas3 143s libcc1-0 liberfa1 libgcc-14-dev libgfortran5 libgomp1 libisl23 libitm1 143s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 143s libjs-jquery-metadata libjs-jquery-tablesorter 143s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore liblapack3 143s liblsan0 libmpc3 libquadmath0 libtsan2 libubsan1 libwcs8 python3-astropy 143s python3-astropy-iers-data python3-asttokens python3-coverage 143s python3-dateutil python3-decorator python3-erfa python3-executing 143s python3-hypothesis python3-iniconfig python3-ipython python3-jedi 143s python3-matplotlib-inline python3-numpy python3-packaging python3-parso 143s python3-pexpect python3-pluggy python3-ply python3-prompt-toolkit 143s python3-ptyprocess python3-pure-eval python3-pyraf python3-pytest 143s python3-pytest-arraydiff python3-pytest-astropy 143s python3-pytest-astropy-header python3-pytest-cov python3-pytest-doctestplus 143s python3-pytest-filter-subpackage python3-pytest-mock 143s python3-pytest-remotedata python3-six python3-sortedcontainers 143s python3-stack-data python3-traitlets python3-typeshed python3-wcwidth 143s zlib1g-dev 143s 0 upgraded, 76 newly installed, 0 to remove and 0 not upgraded. 143s Need to get 84.6 MB/84.6 MB of archives. 143s After this operation, 383 MB of additional disk space will be used. 143s Get:1 /tmp/autopkgtest.vT6wlo/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [740 B] 143s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 143s Get:3 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] 143s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 143s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 143s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [10.5 MB] 144s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-8ubuntu1 [1034 B] 144s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [5456 B] 144s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.1.0-2ubuntu1 [22.5 kB] 144s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 14.2.0-8ubuntu1 [48.1 kB] 144s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 14.2.0-8ubuntu1 [161 kB] 144s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 14.2.0-8ubuntu1 [31.9 kB] 144s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 14.2.0-8ubuntu1 [2945 kB] 144s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 14.2.0-8ubuntu1 [1322 kB] 144s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 14.2.0-8ubuntu1 [2695 kB] 144s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 14.2.0-8ubuntu1 [1191 kB] 144s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 14.2.0-8ubuntu1 [158 kB] 144s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-8ubuntu1 [1619 kB] 144s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [20.6 MB] 144s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-8ubuntu1 [528 kB] 144s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [1222 B] 144s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.1.0-2ubuntu1 [5006 B] 144s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-decorator all 5.1.1-5 [10.1 kB] 144s Get:24 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-parso all 0.8.3-1 [67.2 kB] 144s Get:25 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-typeshed all 0.0~git20231111.6764465-3 [1274 kB] 145s Get:26 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-jedi all 0.19.1+ds1-1 [693 kB] 145s Get:27 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-traitlets all 5.14.3+really5.14.3-1 [71.5 kB] 145s Get:28 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-matplotlib-inline all 0.1.6-2 [8784 B] 145s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-ptyprocess all 0.7.0-6 [14.8 kB] 145s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-pexpect all 4.9-2 [48.1 kB] 145s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-wcwidth all 0.2.13+dfsg1-1 [26.3 kB] 145s Get:32 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-prompt-toolkit all 3.0.48-1 [256 kB] 145s Get:33 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-asttokens all 2.4.1-2 [20.8 kB] 145s Get:34 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-executing all 2.1.0-0.1 [24.4 kB] 145s Get:35 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pure-eval all 0.2.3-1 [11.4 kB] 145s Get:36 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-stack-data all 0.6.3-1 [22.0 kB] 145s Get:37 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-ipython all 8.20.0-1ubuntu1 [561 kB] 145s Get:38 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ipython3 all 8.20.0-1ubuntu1 [4950 B] 145s Get:39 http://ftpmaster.internal/ubuntu plucky/universe ppc64el iraf ppc64el 2.18.1~rc1-2 [7657 kB] 145s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 145s Get:41 http://ftpmaster.internal/ubuntu plucky/universe ppc64el iraf-dev ppc64el 2.18.1~rc1-2 [4132 kB] 145s Get:42 http://ftpmaster.internal/ubuntu plucky/universe ppc64el iraf-noao ppc64el 2.18.1~rc1-2 [9786 kB] 145s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblas3 ppc64el 3.12.0-3build2 [222 kB] 145s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgfortran5 ppc64el 14.2.0-8ubuntu1 [571 kB] 145s Get:45 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-metadata all 12-4 [6582 B] 145s Get:46 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 145s Get:47 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 145s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 145s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-sphinxdoc all 7.4.7-4 [158 kB] 145s Get:50 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblapack3 ppc64el 3.12.0-3build2 [2806 kB] 146s Get:51 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libwcs8 ppc64el 8.4+ds-1 [344 kB] 146s Get:52 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 146s Get:53 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 146s Get:54 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 146s Get:55 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 146s Get:56 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-six all 1.16.0-7 [13.1 kB] 146s Get:57 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-dateutil all 2.9.0-2 [80.3 kB] 146s Get:58 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-sortedcontainers all 2.4.0-2 [27.6 kB] 146s Get:59 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-hypothesis all 6.116.0-1 [326 kB] 146s Get:60 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-numpy ppc64el 1:1.26.4+ds-11build1 [4434 kB] 146s Get:61 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-arraydiff all 0.6.1-3 [10.2 kB] 146s Get:62 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-astropy-header all 0.2.2-2 [8620 B] 146s Get:63 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-coverage ppc64el 7.4.4+dfsg1-0ubuntu2 [149 kB] 146s Get:64 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 146s Get:65 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-cov all 5.0.0-1 [21.3 kB] 146s Get:66 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-doctestplus all 1.2.1-2 [23.5 kB] 146s Get:67 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-filter-subpackage all 0.2.0-1 [6094 B] 146s Get:68 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-mock all 3.14.0-2 [11.7 kB] 146s Get:69 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-remotedata all 0.4.1-1 [8650 B] 146s Get:70 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest-astropy all 0.11.0-1 [5902 B] 146s Get:71 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-ply all 3.11-7 [45.4 kB] 146s Get:72 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-astropy-iers-data all 0.2024.07.22.00.34.13-1 [1198 kB] 146s Get:73 http://ftpmaster.internal/ubuntu plucky/universe ppc64el liberfa1 ppc64el 2.0.1-1build1 [143 kB] 146s Get:74 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-erfa ppc64el 2.0.1.4+ds-1 [316 kB] 146s Get:75 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-astropy ppc64el 6.1.5-1 [3903 kB] 146s Get:76 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pyraf ppc64el 2.2.2-1 [383 kB] 146s Fetched 84.6 MB in 3s (26.8 MB/s) 146s Selecting previously unselected package libjs-jquery. 147s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73775 files and directories currently installed.) 147s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 147s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 147s Selecting previously unselected package libjs-jquery-hotkeys. 147s Preparing to unpack .../01-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... 147s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 147s Selecting previously unselected package libisl23:ppc64el. 147s Preparing to unpack .../02-libisl23_0.27-1_ppc64el.deb ... 147s Unpacking libisl23:ppc64el (0.27-1) ... 147s Selecting previously unselected package libmpc3:ppc64el. 147s Preparing to unpack .../03-libmpc3_1.3.1-1build2_ppc64el.deb ... 147s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 147s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 147s Preparing to unpack .../04-cpp-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 147s Selecting previously unselected package cpp-14. 147s Preparing to unpack .../05-cpp-14_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 147s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 147s Preparing to unpack .../06-cpp-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 147s Unpacking cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 147s Selecting previously unselected package cpp. 147s Preparing to unpack .../07-cpp_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 147s Unpacking cpp (4:14.1.0-2ubuntu1) ... 147s Selecting previously unselected package libcc1-0:ppc64el. 147s Preparing to unpack .../08-libcc1-0_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking libcc1-0:ppc64el (14.2.0-8ubuntu1) ... 147s Selecting previously unselected package libgomp1:ppc64el. 147s Preparing to unpack .../09-libgomp1_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking libgomp1:ppc64el (14.2.0-8ubuntu1) ... 147s Selecting previously unselected package libitm1:ppc64el. 147s Preparing to unpack .../10-libitm1_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking libitm1:ppc64el (14.2.0-8ubuntu1) ... 147s Selecting previously unselected package libasan8:ppc64el. 147s Preparing to unpack .../11-libasan8_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking libasan8:ppc64el (14.2.0-8ubuntu1) ... 147s Selecting previously unselected package liblsan0:ppc64el. 147s Preparing to unpack .../12-liblsan0_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking liblsan0:ppc64el (14.2.0-8ubuntu1) ... 147s Selecting previously unselected package libtsan2:ppc64el. 147s Preparing to unpack .../13-libtsan2_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking libtsan2:ppc64el (14.2.0-8ubuntu1) ... 147s Selecting previously unselected package libubsan1:ppc64el. 147s Preparing to unpack .../14-libubsan1_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking libubsan1:ppc64el (14.2.0-8ubuntu1) ... 147s Selecting previously unselected package libquadmath0:ppc64el. 147s Preparing to unpack .../15-libquadmath0_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking libquadmath0:ppc64el (14.2.0-8ubuntu1) ... 147s Selecting previously unselected package libgcc-14-dev:ppc64el. 147s Preparing to unpack .../16-libgcc-14-dev_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking libgcc-14-dev:ppc64el (14.2.0-8ubuntu1) ... 147s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 147s Preparing to unpack .../17-gcc-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 147s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 148s Selecting previously unselected package gcc-14. 148s Preparing to unpack .../18-gcc-14_14.2.0-8ubuntu1_ppc64el.deb ... 148s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 148s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 148s Preparing to unpack .../19-gcc-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 148s Unpacking gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 148s Selecting previously unselected package gcc. 148s Preparing to unpack .../20-gcc_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 148s Unpacking gcc (4:14.1.0-2ubuntu1) ... 148s Selecting previously unselected package python3-decorator. 148s Preparing to unpack .../21-python3-decorator_5.1.1-5_all.deb ... 148s Unpacking python3-decorator (5.1.1-5) ... 148s Selecting previously unselected package python3-parso. 148s Preparing to unpack .../22-python3-parso_0.8.3-1_all.deb ... 148s Unpacking python3-parso (0.8.3-1) ... 148s Selecting previously unselected package python3-typeshed. 148s Preparing to unpack .../23-python3-typeshed_0.0~git20231111.6764465-3_all.deb ... 148s Unpacking python3-typeshed (0.0~git20231111.6764465-3) ... 148s Selecting previously unselected package python3-jedi. 148s Preparing to unpack .../24-python3-jedi_0.19.1+ds1-1_all.deb ... 148s Unpacking python3-jedi (0.19.1+ds1-1) ... 148s Selecting previously unselected package python3-traitlets. 148s Preparing to unpack .../25-python3-traitlets_5.14.3+really5.14.3-1_all.deb ... 148s Unpacking python3-traitlets (5.14.3+really5.14.3-1) ... 148s Selecting previously unselected package python3-matplotlib-inline. 148s Preparing to unpack .../26-python3-matplotlib-inline_0.1.6-2_all.deb ... 148s Unpacking python3-matplotlib-inline (0.1.6-2) ... 148s Selecting previously unselected package python3-ptyprocess. 148s Preparing to unpack .../27-python3-ptyprocess_0.7.0-6_all.deb ... 148s Unpacking python3-ptyprocess (0.7.0-6) ... 148s Selecting previously unselected package python3-pexpect. 148s Preparing to unpack .../28-python3-pexpect_4.9-2_all.deb ... 148s Unpacking python3-pexpect (4.9-2) ... 149s Selecting previously unselected package python3-wcwidth. 149s Preparing to unpack .../29-python3-wcwidth_0.2.13+dfsg1-1_all.deb ... 149s Unpacking python3-wcwidth (0.2.13+dfsg1-1) ... 149s Selecting previously unselected package python3-prompt-toolkit. 149s Preparing to unpack .../30-python3-prompt-toolkit_3.0.48-1_all.deb ... 149s Unpacking python3-prompt-toolkit (3.0.48-1) ... 149s Selecting previously unselected package python3-asttokens. 149s Preparing to unpack .../31-python3-asttokens_2.4.1-2_all.deb ... 149s Unpacking python3-asttokens (2.4.1-2) ... 149s Selecting previously unselected package python3-executing. 149s Preparing to unpack .../32-python3-executing_2.1.0-0.1_all.deb ... 149s Unpacking python3-executing (2.1.0-0.1) ... 149s Selecting previously unselected package python3-pure-eval. 149s Preparing to unpack .../33-python3-pure-eval_0.2.3-1_all.deb ... 149s Unpacking python3-pure-eval (0.2.3-1) ... 149s Selecting previously unselected package python3-stack-data. 149s Preparing to unpack .../34-python3-stack-data_0.6.3-1_all.deb ... 149s Unpacking python3-stack-data (0.6.3-1) ... 149s Selecting previously unselected package python3-ipython. 149s Preparing to unpack .../35-python3-ipython_8.20.0-1ubuntu1_all.deb ... 149s Unpacking python3-ipython (8.20.0-1ubuntu1) ... 149s Selecting previously unselected package ipython3. 149s Preparing to unpack .../36-ipython3_8.20.0-1ubuntu1_all.deb ... 149s Unpacking ipython3 (8.20.0-1ubuntu1) ... 149s Selecting previously unselected package iraf. 149s Preparing to unpack .../37-iraf_2.18.1~rc1-2_ppc64el.deb ... 149s Unpacking iraf (2.18.1~rc1-2) ... 149s Selecting previously unselected package zlib1g-dev:ppc64el. 149s Preparing to unpack .../38-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 149s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 149s Selecting previously unselected package iraf-dev. 149s Preparing to unpack .../39-iraf-dev_2.18.1~rc1-2_ppc64el.deb ... 149s Unpacking iraf-dev (2.18.1~rc1-2) ... 149s Selecting previously unselected package iraf-noao. 149s Preparing to unpack .../40-iraf-noao_2.18.1~rc1-2_ppc64el.deb ... 149s Unpacking iraf-noao (2.18.1~rc1-2) ... 150s Selecting previously unselected package libblas3:ppc64el. 150s Preparing to unpack .../41-libblas3_3.12.0-3build2_ppc64el.deb ... 150s Unpacking libblas3:ppc64el (3.12.0-3build2) ... 150s Selecting previously unselected package libgfortran5:ppc64el. 150s Preparing to unpack .../42-libgfortran5_14.2.0-8ubuntu1_ppc64el.deb ... 150s Unpacking libgfortran5:ppc64el (14.2.0-8ubuntu1) ... 150s Selecting previously unselected package libjs-jquery-metadata. 150s Preparing to unpack .../43-libjs-jquery-metadata_12-4_all.deb ... 150s Unpacking libjs-jquery-metadata (12-4) ... 150s Selecting previously unselected package libjs-jquery-tablesorter. 150s Preparing to unpack .../44-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 150s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 150s Selecting previously unselected package libjs-jquery-throttle-debounce. 150s Preparing to unpack .../45-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 150s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 150s Selecting previously unselected package libjs-underscore. 150s Preparing to unpack .../46-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 150s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 150s Selecting previously unselected package libjs-sphinxdoc. 150s Preparing to unpack .../47-libjs-sphinxdoc_7.4.7-4_all.deb ... 150s Unpacking libjs-sphinxdoc (7.4.7-4) ... 150s Selecting previously unselected package liblapack3:ppc64el. 150s Preparing to unpack .../48-liblapack3_3.12.0-3build2_ppc64el.deb ... 150s Unpacking liblapack3:ppc64el (3.12.0-3build2) ... 150s Selecting previously unselected package libwcs8:ppc64el. 150s Preparing to unpack .../49-libwcs8_8.4+ds-1_ppc64el.deb ... 150s Unpacking libwcs8:ppc64el (8.4+ds-1) ... 150s Selecting previously unselected package python3-iniconfig. 150s Preparing to unpack .../50-python3-iniconfig_1.1.1-2_all.deb ... 150s Unpacking python3-iniconfig (1.1.1-2) ... 150s Selecting previously unselected package python3-packaging. 150s Preparing to unpack .../51-python3-packaging_24.1-1_all.deb ... 150s Unpacking python3-packaging (24.1-1) ... 150s Selecting previously unselected package python3-pluggy. 150s Preparing to unpack .../52-python3-pluggy_1.5.0-1_all.deb ... 150s Unpacking python3-pluggy (1.5.0-1) ... 150s Selecting previously unselected package python3-pytest. 150s Preparing to unpack .../53-python3-pytest_8.3.3-1_all.deb ... 150s Unpacking python3-pytest (8.3.3-1) ... 150s Selecting previously unselected package python3-six. 150s Preparing to unpack .../54-python3-six_1.16.0-7_all.deb ... 150s Unpacking python3-six (1.16.0-7) ... 150s Selecting previously unselected package python3-dateutil. 150s Preparing to unpack .../55-python3-dateutil_2.9.0-2_all.deb ... 150s Unpacking python3-dateutil (2.9.0-2) ... 150s Selecting previously unselected package python3-sortedcontainers. 150s Preparing to unpack .../56-python3-sortedcontainers_2.4.0-2_all.deb ... 150s Unpacking python3-sortedcontainers (2.4.0-2) ... 150s Selecting previously unselected package python3-hypothesis. 150s Preparing to unpack .../57-python3-hypothesis_6.116.0-1_all.deb ... 150s Unpacking python3-hypothesis (6.116.0-1) ... 150s Selecting previously unselected package python3-numpy. 150s Preparing to unpack .../58-python3-numpy_1%3a1.26.4+ds-11build1_ppc64el.deb ... 150s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 151s Selecting previously unselected package python3-pytest-arraydiff. 151s Preparing to unpack .../59-python3-pytest-arraydiff_0.6.1-3_all.deb ... 151s Unpacking python3-pytest-arraydiff (0.6.1-3) ... 151s Selecting previously unselected package python3-pytest-astropy-header. 151s Preparing to unpack .../60-python3-pytest-astropy-header_0.2.2-2_all.deb ... 151s Unpacking python3-pytest-astropy-header (0.2.2-2) ... 151s Selecting previously unselected package python3-coverage. 151s Preparing to unpack .../61-python3-coverage_7.4.4+dfsg1-0ubuntu2_ppc64el.deb ... 151s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 151s Selecting previously unselected package libjs-jquery-isonscreen. 151s Preparing to unpack .../62-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 151s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 151s Selecting previously unselected package python3-pytest-cov. 151s Preparing to unpack .../63-python3-pytest-cov_5.0.0-1_all.deb ... 151s Unpacking python3-pytest-cov (5.0.0-1) ... 151s Selecting previously unselected package python3-pytest-doctestplus. 151s Preparing to unpack .../64-python3-pytest-doctestplus_1.2.1-2_all.deb ... 151s Unpacking python3-pytest-doctestplus (1.2.1-2) ... 151s Selecting previously unselected package python3-pytest-filter-subpackage. 151s Preparing to unpack .../65-python3-pytest-filter-subpackage_0.2.0-1_all.deb ... 151s Unpacking python3-pytest-filter-subpackage (0.2.0-1) ... 151s Selecting previously unselected package python3-pytest-mock. 151s Preparing to unpack .../66-python3-pytest-mock_3.14.0-2_all.deb ... 151s Unpacking python3-pytest-mock (3.14.0-2) ... 151s Selecting previously unselected package python3-pytest-remotedata. 151s Preparing to unpack .../67-python3-pytest-remotedata_0.4.1-1_all.deb ... 151s Unpacking python3-pytest-remotedata (0.4.1-1) ... 151s Selecting previously unselected package python3-pytest-astropy. 151s Preparing to unpack .../68-python3-pytest-astropy_0.11.0-1_all.deb ... 151s Unpacking python3-pytest-astropy (0.11.0-1) ... 151s Selecting previously unselected package python3-ply. 151s Preparing to unpack .../69-python3-ply_3.11-7_all.deb ... 151s Unpacking python3-ply (3.11-7) ... 151s Selecting previously unselected package python3-astropy-iers-data. 151s Preparing to unpack .../70-python3-astropy-iers-data_0.2024.07.22.00.34.13-1_all.deb ... 151s Unpacking python3-astropy-iers-data (0.2024.07.22.00.34.13-1) ... 151s Selecting previously unselected package liberfa1:ppc64el. 151s Preparing to unpack .../71-liberfa1_2.0.1-1build1_ppc64el.deb ... 151s Unpacking liberfa1:ppc64el (2.0.1-1build1) ... 151s Selecting previously unselected package python3-erfa. 151s Preparing to unpack .../72-python3-erfa_2.0.1.4+ds-1_ppc64el.deb ... 151s Unpacking python3-erfa (2.0.1.4+ds-1) ... 151s Selecting previously unselected package python3-astropy. 151s Preparing to unpack .../73-python3-astropy_6.1.5-1_ppc64el.deb ... 151s Unpacking python3-astropy (6.1.5-1) ... 151s Selecting previously unselected package python3-pyraf. 151s Preparing to unpack .../74-python3-pyraf_2.2.2-1_ppc64el.deb ... 151s Unpacking python3-pyraf (2.2.2-1) ... 151s Selecting previously unselected package autopkgtest-satdep. 151s Preparing to unpack .../75-1-autopkgtest-satdep.deb ... 151s Unpacking autopkgtest-satdep (0) ... 151s Setting up libwcs8:ppc64el (8.4+ds-1) ... 151s Setting up liberfa1:ppc64el (2.0.1-1build1) ... 151s Setting up python3-iniconfig (1.1.1-2) ... 152s Setting up python3-pure-eval (0.2.3-1) ... 152s Setting up iraf (2.18.1~rc1-2) ... 152s Setting up python3-parso (0.8.3-1) ... 152s Setting up python3-asttokens (2.4.1-2) ... 152s Setting up python3-ply (3.11-7) ... 152s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 152s Setting up python3-sortedcontainers (2.4.0-2) ... 153s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 153s Setting up libgomp1:ppc64el (14.2.0-8ubuntu1) ... 153s Setting up python3-astropy-iers-data (0.2024.07.22.00.34.13-1) ... 153s Setting up python3-six (1.16.0-7) ... 153s Setting up python3-decorator (5.1.1-5) ... 153s Setting up libblas3:ppc64el (3.12.0-3build2) ... 153s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/blas/libblas.so.3 to provide /usr/lib/powerpc64le-linux-gnu/libblas.so.3 (libblas.so.3-powerpc64le-linux-gnu) in auto mode 153s Setting up python3-packaging (24.1-1) ... 153s Setting up python3-wcwidth (0.2.13+dfsg1-1) ... 153s Setting up python3-typeshed (0.0~git20231111.6764465-3) ... 153s Setting up python3-executing (2.1.0-0.1) ... 153s Setting up libquadmath0:ppc64el (14.2.0-8ubuntu1) ... 153s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 153s Setting up libgfortran5:ppc64el (14.2.0-8ubuntu1) ... 153s Setting up python3-pluggy (1.5.0-1) ... 154s Setting up libubsan1:ppc64el (14.2.0-8ubuntu1) ... 154s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 154s Setting up python3-traitlets (5.14.3+really5.14.3-1) ... 154s Setting up libasan8:ppc64el (14.2.0-8ubuntu1) ... 154s Setting up python3-dateutil (2.9.0-2) ... 154s Setting up libtsan2:ppc64el (14.2.0-8ubuntu1) ... 154s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 154s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 154s Setting up libisl23:ppc64el (0.27-1) ... 154s Setting up iraf-noao (2.18.1~rc1-2) ... 154s Setting up python3-stack-data (0.6.3-1) ... 154s Setting up libcc1-0:ppc64el (14.2.0-8ubuntu1) ... 154s Setting up liblsan0:ppc64el (14.2.0-8ubuntu1) ... 154s Setting up libitm1:ppc64el (14.2.0-8ubuntu1) ... 154s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 154s Setting up python3-ptyprocess (0.7.0-6) ... 154s Setting up python3-prompt-toolkit (3.0.48-1) ... 155s Setting up liblapack3:ppc64el (3.12.0-3build2) ... 155s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/powerpc64le-linux-gnu/liblapack.so.3 (liblapack.so.3-powerpc64le-linux-gnu) in auto mode 155s Setting up python3-jedi (0.19.1+ds1-1) ... 155s Setting up python3-pytest (8.3.3-1) ... 155s Setting up python3-hypothesis (6.116.0-1) ... 156s Setting up python3-matplotlib-inline (0.1.6-2) ... 156s Setting up python3-pexpect (4.9-2) ... 156s Setting up libjs-jquery-metadata (12-4) ... 156s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 156s Setting up python3-pytest-remotedata (0.4.1-1) ... 156s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 156s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 159s Setting up libjs-sphinxdoc (7.4.7-4) ... 159s Setting up cpp-14 (14.2.0-8ubuntu1) ... 159s Setting up python3-pytest-doctestplus (1.2.1-2) ... 159s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 159s Setting up python3-pytest-mock (3.14.0-2) ... 159s Setting up python3-pytest-filter-subpackage (0.2.0-1) ... 159s Setting up libgcc-14-dev:ppc64el (14.2.0-8ubuntu1) ... 159s Setting up python3-pytest-astropy-header (0.2.2-2) ... 159s Setting up cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 159s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 159s Setting up python3-pytest-cov (5.0.0-1) ... 159s Setting up python3-pyraf (2.2.2-1) ... 160s /usr/lib/python3/dist-packages/pyraf/scanf.py:109: SyntaxWarning: invalid escape sequence '\-' 160s """ 160s Setting up python3-pytest-arraydiff (0.6.1-3) ... 160s Setting up gcc-14 (14.2.0-8ubuntu1) ... 160s Setting up python3-erfa (2.0.1.4+ds-1) ... 160s Setting up gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 160s Setting up python3-ipython (8.20.0-1ubuntu1) ... 161s Setting up python3-pytest-astropy (0.11.0-1) ... 161s Setting up cpp (4:14.1.0-2ubuntu1) ... 161s Setting up ipython3 (8.20.0-1ubuntu1) ... 161s Setting up python3-astropy (6.1.5-1) ... 164s Setting up gcc (4:14.1.0-2ubuntu1) ... 164s Setting up iraf-dev (2.18.1~rc1-2) ... 164s Setting up autopkgtest-satdep (0) ... 164s Processing triggers for man-db (2.12.1-3) ... 165s Processing triggers for libc-bin (2.40-1ubuntu3) ... 168s (Reading database ... 89099 files and directories currently installed.) 168s Removing autopkgtest-satdep (0) ... 169s autopkgtest [19:59:44]: test command1: cd $AUTOPKGTEST_TMP && python3 -m pytest -s --pyargs pyraf 169s autopkgtest [19:59:44]: test command1: [----------------------- 172s ============================= test session starts ============================== 172s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 172s rootdir: /tmp/autopkgtest.vT6wlo/autopkgtest_tmp 172s plugins: mock-3.14.0, doctestplus-1.2.1, remotedata-0.4.1, cov-5.0.0, astropy-0.11.0, arraydiff-0.6.1, typeguard-4.4.1, astropy-header-0.2.2, filter-subpackage-0.2.0, hypothesis-6.116.0 172s collected 404 items 172s 172s tests/test_basic.py .... 172s tests/test_clcache.py . 175s tests/test_cli.py .............................................................................................................ERROR: Child process '/bin/sh -c stty size 2>/dev/null' exited with return code 1 175s '' 175s line 0: cl$cl.par 175s called as: 'print ("!!stty size 2>/dev/null") | cl() | scan(i,j)' 175s '' 175s line 0: /etc/iraf/login.cl 188s FF.....F.......................F............................................. 189s tests/test_core_nongraphics.py .....................x.. 189s tests/test_graphics.py ..........s 227s tests/test_invocation.py ........F.....F.........xF.......x..F...FF....... 227s tests/test_plot.py ssssssssssssssssssssssssssss 229s tests/test_tasks.py ......................................................... 229s tests/test_using_tasks.py sssssss 229s tools/tests/test_cfgobj.py . 229s tools/tests/test_compmixin.py .... 229s tools/tests/test_irafutils.py ............. 229s tools/tests/test_minmatch.py ................... 229s 229s =================================== FAILURES =================================== 229s ______________ test_clfile[print("test") | cat-test\n-utf-8-True] ______________ 229s 229s tmpdir = local('/tmp/pytest-of-ubuntu/pytest-0/test_clfile_print__test_____ca1') 229s ecl_flag = True, encoding = 'utf-8', code = 'print("test") | cat' 229s expected = 'test\n' 229s 229s @pytest.mark.parametrize('ecl_flag', [False, True]) 229s @pytest.mark.parametrize('encoding', ['utf-8', 'iso-8859-1']) 229s @pytest.mark.parametrize('code,expected', [ 229s ('print AA # Ångström\n', 'AA\n'), 229s ('print("test") | cat', 'test\n'), 229s ]) 229s def test_clfile(tmpdir, ecl_flag, encoding, code, expected): 229s # Check proper reading of CL files with different encodings 229s fname = tmpdir / 'cltestfile.cl' 229s with fname.open("w", encoding=encoding) as fp: 229s fp.write(code) 229s 229s stdout = io.StringIO() 229s 229s > with use_ecl(ecl_flag): 229s 229s /usr/lib/python3/dist-packages/pyraf/tests/test_cli.py:266: 229s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 229s /usr/lib/python3.12/contextlib.py:137: in __enter__ 229s return next(self.gen) 229s /usr/lib/python3/dist-packages/pyraf/tests/test_cli.py:26: in use_ecl 229s iraf.Init(doprint=False, hush=True) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:238: in Init 229s userpkg.run(_doprint=0, _hush=hush, _save=1) 229s /usr/lib/python3/dist-packages/pyraf/irafecl.py:222: in run 229s self._ecl_handle_error(e) 229s /usr/lib/python3/dist-packages/pyraf/irafecl.py:370: in _ecl_handle_error 229s raise e 229s /usr/lib/python3/dist-packages/pyraf/irafecl.py:220: in run 229s return _runcore() 229s /usr/lib/python3/dist-packages/pyraf/irafecl.py:204: in _runcore 229s self._run(redirKW, specialKW) 229s /usr/lib/python3/dist-packages/pyraf/irafecl.py:495: in _run 229s return iraftask.IrafPkg._run(self, *args, **kw) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1746: in _run 229s self._runCode() 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1537: in _runCode 229s self._clFunction(*parList, **kw) 229s :35: in login 229s Pipe1 = iraf.cl(Stdin=Pipe2, Stdout=1) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:834: in __call__ 229s return self.run(*args, **kw) 229s /usr/lib/python3/dist-packages/pyraf/irafecl.py:222: in run 229s self._ecl_handle_error(e) 229s /usr/lib/python3/dist-packages/pyraf/irafecl.py:379: in _ecl_handle_error 229s raise e 229s /usr/lib/python3/dist-packages/pyraf/irafecl.py:220: in run 229s return _runcore() 229s /usr/lib/python3/dist-packages/pyraf/irafecl.py:204: in _runcore 229s self._run(redirKW, specialKW) 229s /usr/lib/python3/dist-packages/pyraf/irafecl.py:456: in _run 229s return iraftask.IrafPythonTask._run(self, *args, **kw) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1273: in _run 229s self._pyFunction(*pl) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:2682: in _clProcedure 229s clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:3341: in clExecute 229s exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s :1: in 229s ??? 229s :17: in string_proc 229s ??? 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:2234: in clOscmd 229s status = _subproc.subshellRedir(s, shell=shell) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:769: in subshellRedir 229s return systemRedir((shell, "-c", cmd)) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:747: in systemRedir 229s process = RedirProcess(cmd) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:800: in __init__ 229s Subprocess.__init__(self, 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:95: in __init__ 229s self.fork() 229s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 229s 229s self = 229s cmd = ('/bin/sh', '-c', 'stty size 2>/dev/null') 229s 229s def fork(self, cmd=None): 229s """Fork a subprocess with designated COMMAND (default, self.cmd).""" 229s if cmd: 229s self.cmd = cmd 229s if isinstance(self.cmd, str): 229s cmd = self.cmd.split() 229s else: 229s cmd = self.cmd 229s self.cmd = " ".join(cmd) 229s # Create pipes 229s self.parentPipes = [] 229s childPipes = [] 229s if self.control_stdout: 229s pRc, cWp = os.pipe() # parent-read-child, child-write-parent 229s self.parentPipes.append(pRc) 229s childPipes.append(cWp) 229s if self.control_stdin: 229s cRp, pWc = os.pipe() # child-read-parent, parent-write-child 229s self.parentPipes.append(pWc) 229s childPipes.append(cRp) 229s if self.control_stderr: 229s pRe, cWe = os.pipe() # parent-read-error, child-write-error 229s self.parentPipes.append(pRe) 229s childPipes.append(cWe) 229s 229s self.pid = os.fork() 229s 229s if self.pid == 0: # CHILD #### 229s parentErr = os.dup( 229s self.err_fd) # Preserve handle on *parent* stderr 229s # Reopen stdin, out, err, on pipe ends: 229s if self.control_stdin: 229s os.dup2(cRp, self.in_fd) # cRp = sys.stdin 229s if self.control_stdout: 229s os.dup2(cWp, self.out_fd) # cWp = sys.stdout 229s if self.control_stderr: 229s os.dup2(cWe, self.err_fd) # cWe = sys.stderr 229s # close parent ends of pipes 229s for i in self.parentPipes: 229s os.close(i) 229s # Ensure (within reason) stray file descriptors are closed 229s fdmax = max(256, parentErr) 229s if self.parentPipes: 229s fdmax = max(fdmax, max(self.parentPipes)) 229s rclose = list(range(fdmax + 1)) 229s excludes = [self.in_fd, self.out_fd, self.err_fd, parentErr] 229s for i in excludes + self.parentPipes: 229s rclose.remove(i) 229s os_close = os.close 229s os_error = os.error 229s for i in rclose: 229s try: 229s os_close(i) 229s except os_error: 229s pass 229s try: 229s os.execvp(cmd[0], cmd) 229s os._exit(1) # Shouldn't get here 229s 229s except os.error as e: 229s if self.control_stderr: 229s os.dup2(parentErr, 2) # Reconnect to parent's stderr 229s sys.stderr.write(f"**execvp failed, '{str(e)}'**\n") 229s os._exit(1) 229s 229s else: # PARENT ### 229s # Connect to the child's file descriptors and close child ends of pipes 229s self.toChild = self.readbuf = self.errbuf = None 229s self.toChild_fdlist = [] 229s self.fromChild_fdlist = [] 229s if self.control_stdin: 229s self.toChild_fdlist.append(pWc) 229s self.toChild = pWc 229s if self.control_stderr: 229s self.errbuf = ReadBuf(pRe, self.maxChunkSize) 229s self.fromChild_fdlist.append(pRe) 229s if self.control_stdout: 229s self.readbuf = ReadBuf(pRc, self.maxChunkSize) 229s self.fromChild_fdlist.append(pRc) 229s # close child ends of pipes 229s for i in childPipes: 229s os.close(i) 229s try: 229s # this is useless since the child may not have erred yet 229s pid, err = os.waitpid(self.pid, os.WNOHANG) 229s except os.error as xxx_todo_changeme1: 229s (errnum, msg) = xxx_todo_changeme1.args 229s if errnum == 10: 229s raise SubprocessError(f"Subprocess '{self.cmd}' failed.") 229s else: 229s raise SubprocessError(f"Subprocess '{self.cmd}' failed " 229s f"[{errnum:d}]: {msg}") 229s if pid != self.pid: 229s # flag indicating process is still running 229s self.return_code = None 229s elif err == 0: 229s # Child has exited already but not in error, so we won't 229s # shut down the pipes or say anything more at this point. 229s # Set return_code so we don't call waitpid again. 229s self.return_code = 0 229s else: 229s # Process exited with an error. Clean up immediately and 229s # raise an exception. 229s self._cleanUp(err) 229s sig = err & 0xff 229s rc = (err & 0xff00) >> 8 229s self.return_code = rc 229s if sig: 229s raise SubprocessError( 229s f"Child process '{self.cmd}' killed by signal {sig:d} " 229s f"with return code {rc:d}") 229s else: 229s > raise SubprocessError( 229s f"Child process '{self.cmd}' exited " 229s f"with return code {rc:d}") 229s E pyraf.subproc.SubprocessError: Child process '/bin/sh -c stty size 2>/dev/null' exited with return code 1 229s 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:209: SubprocessError 229s ___________ test_clfile[print("test") | cat-test\n-iso-8859-1-False] ___________ 229s 229s tmpdir = local('/tmp/pytest-of-ubuntu/pytest-0/test_clfile_print__test_____ca2') 229s ecl_flag = False, encoding = 'iso-8859-1', code = 'print("test") | cat' 229s expected = 'test\n' 229s 229s @pytest.mark.parametrize('ecl_flag', [False, True]) 229s @pytest.mark.parametrize('encoding', ['utf-8', 'iso-8859-1']) 229s @pytest.mark.parametrize('code,expected', [ 229s ('print AA # Ångström\n', 'AA\n'), 229s ('print("test") | cat', 'test\n'), 229s ]) 229s def test_clfile(tmpdir, ecl_flag, encoding, code, expected): 229s # Check proper reading of CL files with different encodings 229s fname = tmpdir / 'cltestfile.cl' 229s with fname.open("w", encoding=encoding) as fp: 229s fp.write(code) 229s 229s stdout = io.StringIO() 229s 229s > with use_ecl(ecl_flag): 229s 229s /usr/lib/python3/dist-packages/pyraf/tests/test_cli.py:266: 229s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 229s /usr/lib/python3.12/contextlib.py:137: in __enter__ 229s return next(self.gen) 229s /usr/lib/python3/dist-packages/pyraf/tests/test_cli.py:26: in use_ecl 229s iraf.Init(doprint=False, hush=True) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:238: in Init 229s userpkg.run(_doprint=0, _hush=hush, _save=1) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:373: in run 229s self._run(redirKW, specialKW) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1746: in _run 229s self._runCode() 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1537: in _runCode 229s self._clFunction(*parList, **kw) 229s :30: in login 229s Pipe1 = iraf.cl(Stdin=Pipe2, Stdout=1) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:834: in __call__ 229s return self.run(*args, **kw) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:373: in run 229s self._run(redirKW, specialKW) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1273: in _run 229s self._pyFunction(*pl) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:2682: in _clProcedure 229s clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:3341: in clExecute 229s exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s :1: in 229s ??? 229s :12: in string_proc 229s ??? 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:2234: in clOscmd 229s status = _subproc.subshellRedir(s, shell=shell) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:769: in subshellRedir 229s return systemRedir((shell, "-c", cmd)) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:747: in systemRedir 229s process = RedirProcess(cmd) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:800: in __init__ 229s Subprocess.__init__(self, 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:95: in __init__ 229s self.fork() 229s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 229s 229s self = 229s cmd = ('/bin/sh', '-c', 'stty size 2>/dev/null') 229s 229s def fork(self, cmd=None): 229s """Fork a subprocess with designated COMMAND (default, self.cmd).""" 229s if cmd: 229s self.cmd = cmd 229s if isinstance(self.cmd, str): 229s cmd = self.cmd.split() 229s else: 229s cmd = self.cmd 229s self.cmd = " ".join(cmd) 229s # Create pipes 229s self.parentPipes = [] 229s childPipes = [] 229s if self.control_stdout: 229s pRc, cWp = os.pipe() # parent-read-child, child-write-parent 229s self.parentPipes.append(pRc) 229s childPipes.append(cWp) 229s if self.control_stdin: 229s cRp, pWc = os.pipe() # child-read-parent, parent-write-child 229s self.parentPipes.append(pWc) 229s childPipes.append(cRp) 229s if self.control_stderr: 229s pRe, cWe = os.pipe() # parent-read-error, child-write-error 229s self.parentPipes.append(pRe) 229s childPipes.append(cWe) 229s 229s self.pid = os.fork() 229s 229s if self.pid == 0: # CHILD #### 229s parentErr = os.dup( 229s self.err_fd) # Preserve handle on *parent* stderr 229s # Reopen stdin, out, err, on pipe ends: 229s if self.control_stdin: 229s os.dup2(cRp, self.in_fd) # cRp = sys.stdin 229s if self.control_stdout: 229s os.dup2(cWp, self.out_fd) # cWp = sys.stdout 229s if self.control_stderr: 229s os.dup2(cWe, self.err_fd) # cWe = sys.stderr 229s # close parent ends of pipes 229s for i in self.parentPipes: 229s os.close(i) 229s # Ensure (within reason) stray file descriptors are closed 229s fdmax = max(256, parentErr) 229s if self.parentPipes: 229s fdmax = max(fdmax, max(self.parentPipes)) 229s rclose = list(range(fdmax + 1)) 229s excludes = [self.in_fd, self.out_fd, self.err_fd, parentErr] 229s for i in excludes + self.parentPipes: 229s rclose.remove(i) 229s os_close = os.close 229s os_error = os.error 229s for i in rclose: 229s try: 229s os_close(i) 229s except os_error: 229s pass 229s try: 229s os.execvp(cmd[0], cmd) 229s os._exit(1) # Shouldn't get here 229s 229s except os.error as e: 229s if self.control_stderr: 229s os.dup2(parentErr, 2) # Reconnect to parent's stderr 229s sys.stderr.write(f"**execvp failed, '{str(e)}'**\n") 229s os._exit(1) 229s 229s else: # PARENT ### 229s # Connect to the child's file descriptors and close child ends of pipes 229s self.toChild = self.readbuf = self.errbuf = None 229s self.toChild_fdlist = [] 229s self.fromChild_fdlist = [] 229s if self.control_stdin: 229s self.toChild_fdlist.append(pWc) 229s self.toChild = pWc 229s if self.control_stderr: 229s self.errbuf = ReadBuf(pRe, self.maxChunkSize) 229s self.fromChild_fdlist.append(pRe) 229s if self.control_stdout: 229s self.readbuf = ReadBuf(pRc, self.maxChunkSize) 229s self.fromChild_fdlist.append(pRc) 229s # close child ends of pipes 229s for i in childPipes: 229s os.close(i) 229s try: 229s # this is useless since the child may not have erred yet 229s pid, err = os.waitpid(self.pid, os.WNOHANG) 229s except os.error as xxx_todo_changeme1: 229s (errnum, msg) = xxx_todo_changeme1.args 229s if errnum == 10: 229s raise SubprocessError(f"Subprocess '{self.cmd}' failed.") 229s else: 229s raise SubprocessError(f"Subprocess '{self.cmd}' failed " 229s f"[{errnum:d}]: {msg}") 229s if pid != self.pid: 229s # flag indicating process is still running 229s self.return_code = None 229s elif err == 0: 229s # Child has exited already but not in error, so we won't 229s # shut down the pipes or say anything more at this point. 229s # Set return_code so we don't call waitpid again. 229s self.return_code = 0 229s else: 229s # Process exited with an error. Clean up immediately and 229s # raise an exception. 229s self._cleanUp(err) 229s sig = err & 0xff 229s rc = (err & 0xff00) >> 8 229s self.return_code = rc 229s if sig: 229s raise SubprocessError( 229s f"Child process '{self.cmd}' killed by signal {sig:d} " 229s f"with return code {rc:d}") 229s else: 229s > raise SubprocessError( 229s f"Child process '{self.cmd}' exited " 229s f"with return code {rc:d}") 229s E pyraf.subproc.SubprocessError: Child process '/bin/sh -c stty size 2>/dev/null' exited with return code 1 229s 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:209: SubprocessError 229s _ test_redir_data[False-False-test for plain ASCII-concatenate {datafile} out_type=t-False] _ 229s 229s tmpdir = local('/tmp/pytest-of-ubuntu/pytest-0/test_redir_data_False_False_te4') 229s ecl_flag = False 229s code = 'concatenate /tmp/pytest-of-ubuntu/pytest-0/test_redir_data_False_False_te4/cltestdata.dat out_type=t' 229s data = b'test for plain ASCII', redir_stdin = False, redir_stdout = False 229s 229s @pytest.mark.skipif(not HAS_IRAF, reason='Need IRAF to run') 229s @pytest.mark.parametrize('ecl_flag', [False, True]) 229s @pytest.mark.parametrize('code', [ 229s 'cat {datafile}', # foreign 229s 'type {datafile} map_cc=no', # internal 229s 'concatenate {datafile} out_type=t', # system 229s ]) 229s @pytest.mark.parametrize('data', [ 229s b'test for plain ASCII', 229s 'Unicode Ångström'.encode('utf-8'), 229s b'\x8fq\x96\x7f\xe6\xfd\xf8\x12\xb03{U\x81\x11\x014', # some random data 229s ]) 229s @pytest.mark.parametrize('redir_stdin', [False, True]) 229s @pytest.mark.parametrize('redir_stdout', [False, True]) 229s def test_redir_data(tmpdir, ecl_flag, code, data, redir_stdin, redir_stdout): 229s datafile = tmpdir / 'cltestdata.dat' 229s with datafile.open('wb') as fp: 229s fp.write(data) 229s if redir_stdin: 229s code = code.format(datafile='') + f' < {str(datafile)}' 229s else: 229s code = code.format(datafile=str(datafile)) 229s 229s if redir_stdout: 229s outfile = tmpdir / 'cltestoutput.dat' 229s code += f' > {str(outfile)}' 229s 229s > with use_ecl(ecl_flag): 229s 229s /usr/lib/python3/dist-packages/pyraf/tests/test_cli.py:299: 229s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 229s /usr/lib/python3.12/contextlib.py:137: in __enter__ 229s return next(self.gen) 229s /usr/lib/python3/dist-packages/pyraf/tests/test_cli.py:26: in use_ecl 229s iraf.Init(doprint=False, hush=True) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:238: in Init 229s userpkg.run(_doprint=0, _hush=hush, _save=1) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:373: in run 229s self._run(redirKW, specialKW) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1746: in _run 229s self._runCode() 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1537: in _runCode 229s self._clFunction(*parList, **kw) 229s :30: in login 229s Pipe1 = iraf.cl(Stdin=Pipe2, Stdout=1) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:834: in __call__ 229s return self.run(*args, **kw) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:373: in run 229s self._run(redirKW, specialKW) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1273: in _run 229s self._pyFunction(*pl) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:2682: in _clProcedure 229s clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:3341: in clExecute 229s exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s :1: in 229s ??? 229s :12: in string_proc 229s ??? 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:2234: in clOscmd 229s status = _subproc.subshellRedir(s, shell=shell) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:769: in subshellRedir 229s return systemRedir((shell, "-c", cmd)) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:747: in systemRedir 229s process = RedirProcess(cmd) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:800: in __init__ 229s Subprocess.__init__(self, 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:95: in __init__ 229s self.fork() 229s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 229s 229s self = 229s cmd = ('/bin/sh', '-c', 'stty size 2>/dev/null') 229s 229s def fork(self, cmd=None): 229s """Fork a subprocess with designated COMMAND (default, self.cmd).""" 229s if cmd: 229s self.cmd = cmd 229s if isinstance(self.cmd, str): 229s cmd = self.cmd.split() 229s else: 229s cmd = self.cmd 229s self.cmd = " ".join(cmd) 229s # Create pipes 229s self.parentPipes = [] 229s childPipes = [] 229s if self.control_stdout: 229s pRc, cWp = os.pipe() # parent-read-child, child-write-parent 229s self.parentPipes.append(pRc) 229s childPipes.append(cWp) 229s if self.control_stdin: 229s cRp, pWc = os.pipe() # child-read-parent, parent-write-child 229s self.parentPipes.append(pWc) 229s childPipes.append(cRp) 229s if self.control_stderr: 229s pRe, cWe = os.pipe() # parent-read-error, child-write-error 229s self.parentPipes.append(pRe) 229s childPipes.append(cWe) 229s 229s self.pid = os.fork() 229s 229s if self.pid == 0: # CHILD #### 229s parentErr = os.dup( 229s self.err_fd) # Preserve handle on *parent* stderr 229s # Reopen stdin, out, err, on pipe ends: 229s if self.control_stdin: 229s os.dup2(cRp, self.in_fd) # cRp = sys.stdin 229s if self.control_stdout: 229s os.dup2(cWp, self.out_fd) # cWp = sys.stdout 229s if self.control_stderr: 229s os.dup2(cWe, self.err_fd) # cWe = sys.stderr 229s # close parent ends of pipes 229s for i in self.parentPipes: 229s os.close(i) 229s # Ensure (within reason) stray file descriptors are closed 229s fdmax = max(256, parentErr) 229s if self.parentPipes: 229s fdmax = max(fdmax, max(self.parentPipes)) 229s rclose = list(range(fdmax + 1)) 229s excludes = [self.in_fd, self.out_fd, self.err_fd, parentErr] 229s for i in excludes + self.parentPipes: 229s rclose.remove(i) 229s os_close = os.close 229s os_error = os.error 229s for i in rclose: 229s try: 229s os_close(i) 229s except os_error: 229s pass 229s try: 229s os.execvp(cmd[0], cmd) 229s os._exit(1) # Shouldn't get here 229s 229s except os.error as e: 229s if self.control_stderr: 229s os.dup2(parentErr, 2) # Reconnect to parent's stderr 229s sys.stderr.write(f"**execvp failed, '{str(e)}'**\n") 229s os._exit(1) 229s 229s else: # PARENT ### 229s # Connect to the child's file descriptors and close child ends of pipes 229s self.toChild = self.readbuf = self.errbuf = None 229s self.toChild_fdlist = [] 229s self.fromChild_fdlist = [] 229s if self.control_stdin: 229s self.toChild_fdlist.append(pWc) 229s self.toChild = pWc 229s if self.control_stderr: 229s self.errbuf = ReadBuf(pRe, self.maxChunkSize) 229s self.fromChild_fdlist.append(pRe) 229s if self.control_stdout: 229s self.readbuf = ReadBuf(pRc, self.maxChunkSize) 229s self.fromChild_fdlist.append(pRc) 229s # close child ends of pipes 229s for i in childPipes: 229s os.close(i) 229s try: 229s # this is useless since the child may not have erred yet 229s pid, err = os.waitpid(self.pid, os.WNOHANG) 229s except os.error as xxx_todo_changeme1: 229s (errnum, msg) = xxx_todo_changeme1.args 229s if errnum == 10: 229s raise SubprocessError(f"Subprocess '{self.cmd}' failed.") 229s else: 229s raise SubprocessError(f"Subprocess '{self.cmd}' failed " 229s f"[{errnum:d}]: {msg}") 229s if pid != self.pid: 229s # flag indicating process is still running 229s self.return_code = None 229s elif err == 0: 229s # Child has exited already but not in error, so we won't 229s # shut down the pipes or say anything more at this point. 229s # Set return_code so we don't call waitpid again. 229s self.return_code = 0 229s else: 229s # Process exited with an error. Clean up immediately and 229s # raise an exception. 229s self._cleanUp(err) 229s sig = err & 0xff 229s rc = (err & 0xff00) >> 8 229s self.return_code = rc 229s if sig: 229s raise SubprocessError( 229s f"Child process '{self.cmd}' killed by signal {sig:d} " 229s f"with return code {rc:d}") 229s else: 229s > raise SubprocessError( 229s f"Child process '{self.cmd}' exited " 229s f"with return code {rc:d}") 229s E pyraf.subproc.SubprocessError: Child process '/bin/sh -c stty size 2>/dev/null' exited with return code 1 229s 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:209: SubprocessError 229s _ test_redir_data[False-True-Unicode \xc3\x85ngstr\xc3\xb6m-concatenate {datafile} out_type=t-False] _ 229s 229s tmpdir = local('/tmp/pytest-of-ubuntu/pytest-0/test_redir_data_False_True_Uni4') 229s ecl_flag = False 229s code = 'concatenate out_type=t < /tmp/pytest-of-ubuntu/pytest-0/test_redir_data_False_True_Uni4/cltestdata.dat' 229s data = b'Unicode \xc3\x85ngstr\xc3\xb6m', redir_stdin = True 229s redir_stdout = False 229s 229s @pytest.mark.skipif(not HAS_IRAF, reason='Need IRAF to run') 229s @pytest.mark.parametrize('ecl_flag', [False, True]) 229s @pytest.mark.parametrize('code', [ 229s 'cat {datafile}', # foreign 229s 'type {datafile} map_cc=no', # internal 229s 'concatenate {datafile} out_type=t', # system 229s ]) 229s @pytest.mark.parametrize('data', [ 229s b'test for plain ASCII', 229s 'Unicode Ångström'.encode('utf-8'), 229s b'\x8fq\x96\x7f\xe6\xfd\xf8\x12\xb03{U\x81\x11\x014', # some random data 229s ]) 229s @pytest.mark.parametrize('redir_stdin', [False, True]) 229s @pytest.mark.parametrize('redir_stdout', [False, True]) 229s def test_redir_data(tmpdir, ecl_flag, code, data, redir_stdin, redir_stdout): 229s datafile = tmpdir / 'cltestdata.dat' 229s with datafile.open('wb') as fp: 229s fp.write(data) 229s if redir_stdin: 229s code = code.format(datafile='') + f' < {str(datafile)}' 229s else: 229s code = code.format(datafile=str(datafile)) 229s 229s if redir_stdout: 229s outfile = tmpdir / 'cltestoutput.dat' 229s code += f' > {str(outfile)}' 229s 229s > with use_ecl(ecl_flag): 229s 229s /usr/lib/python3/dist-packages/pyraf/tests/test_cli.py:299: 229s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 229s /usr/lib/python3.12/contextlib.py:137: in __enter__ 229s return next(self.gen) 229s /usr/lib/python3/dist-packages/pyraf/tests/test_cli.py:26: in use_ecl 229s iraf.Init(doprint=False, hush=True) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:238: in Init 229s userpkg.run(_doprint=0, _hush=hush, _save=1) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:373: in run 229s self._run(redirKW, specialKW) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1746: in _run 229s self._runCode() 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1537: in _runCode 229s self._clFunction(*parList, **kw) 229s :30: in login 229s Pipe1 = iraf.cl(Stdin=Pipe2, Stdout=1) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:834: in __call__ 229s return self.run(*args, **kw) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:373: in run 229s self._run(redirKW, specialKW) 229s /usr/lib/python3/dist-packages/pyraf/iraftask.py:1273: in _run 229s self._pyFunction(*pl) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:2682: in _clProcedure 229s clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:3341: in clExecute 229s exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s :1: in 229s ??? 229s :12: in string_proc 229s ??? 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:2234: in clOscmd 229s status = _subproc.subshellRedir(s, shell=shell) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:769: in subshellRedir 229s return systemRedir((shell, "-c", cmd)) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:747: in systemRedir 229s process = RedirProcess(cmd) 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:800: in __init__ 229s Subprocess.__init__(self, 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:95: in __init__ 229s self.fork() 229s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 229s 229s self = 229s cmd = ('/bin/sh', '-c', 'stty size 2>/dev/null') 229s 229s def fork(self, cmd=None): 229s """Fork a subprocess with designated COMMAND (default, self.cmd).""" 229s if cmd: 229s self.cmd = cmd 229s if isinstance(self.cmd, str): 229s cmd = self.cmd.split() 229s else: 229s cmd = self.cmd 229s self.cmd = " ".join(cmd) 229s # Create pipes 229s self.parentPipes = [] 229s childPipes = [] 229s if self.control_stdout: 229s pRc, cWp = os.pipe() # parent-read-child, child-write-parent 229s self.parentPipes.append(pRc) 229s childPipes.append(cWp) 229s if self.control_stdin: 229s cRp, pWc = os.pipe() # child-read-parent, parent-write-child 229s self.parentPipes.append(pWc) 229s childPipes.append(cRp) 229s if self.control_stderr: 229s pRe, cWe = os.pipe() # parent-read-error, child-write-error 229s self.parentPipes.append(pRe) 229s childPipes.append(cWe) 229s 229s self.pid = os.fork() 229s 229s if self.pid == 0: # CHILD #### 229s parentErr = os.dup( 229s self.err_fd) # Preserve handle on *parent* stderr 229s # Reopen stdin, out, err, on pipe ends: 229s if self.control_stdin: 229s os.dup2(cRp, self.in_fd) # cRp = sys.stdin 229s if self.control_stdout: 229s os.dup2(cWp, self.out_fd) # cWp = sys.stdout 229s if self.control_stderr: 229s os.dup2(cWe, self.err_fd) # cWe = sys.stderr 229s # close parent ends of pipes 229s for i in self.parentPipes: 229s os.close(i) 229s # Ensure (within reason) stray file descriptors are closed 229s fdmax = max(256, parentErr) 229s if self.parentPipes: 229s fdmax = max(fdmax, max(self.parentPipes)) 229s rclose = list(range(fdmax + 1)) 229s excludes = [self.in_fd, self.out_fd, self.err_fd, parentErr] 229s for i in excludes + self.parentPipes: 229s rclose.remove(i) 229s os_close = os.close 229s os_error = os.error 229s for i in rclose: 229s try: 229s os_close(i) 229s except os_error: 229s pass 229s try: 229s os.execvp(cmd[0], cmd) 229s os._exit(1) # Shouldn't get here 229s 229s except os.error as e: 229s if self.control_stderr: 229s os.dup2(parentErr, 2) # Reconnect to parent's stderr 229s sys.stderr.write(f"**execvp failed, '{str(e)}'**\n") 229s os._exit(1) 229s 229s else: # PARENT ### 229s # Connect to the child's file descriptors and close child ends of pipes 229s self.toChild = self.readbuf = self.errbuf = None 229s self.toChild_fdlist = [] 229s self.fromChild_fdlist = [] 229s if self.control_stdin: 229s self.toChild_fdlist.append(pWc) 229s self.toChild = pWc 229s if self.control_stderr: 229s self.errbuf = ReadBuf(pRe, self.maxChunkSize) 229s self.fromChild_fdlist.append(pRe) 229s if self.control_stdout: 229s self.readbuf = ReadBuf(pRc, self.maxChunkSize) 229s self.fromChild_fdlist.append(pRc) 229s # close child ends of pipes 229s for i in childPipes: 229s os.close(i) 229s try: 229s # this is useless since the child may not have erred yet 229s pid, err = os.waitpid(self.pid, os.WNOHANG) 229s except os.error as xxx_todo_changeme1: 229s (errnum, msg) = xxx_todo_changeme1.args 229s if errnum == 10: 229s raise SubprocessError(f"Subprocess '{self.cmd}' failed.") 229s else: 229s raise SubprocessError(f"Subprocess '{self.cmd}' failed " 229s f"[{errnum:d}]: {msg}") 229s if pid != self.pid: 229s # flag indicating process is still running 229s self.return_code = None 229s elif err == 0: 229s # Child has exited already but not in error, so we won't 229s # shut down the pipes or say anything more at this point. 229s # Set return_code so we don't call waitpid again. 229s self.return_code = 0 229s else: 229s # Process exited with an error. Clean up immediately and 229s # raise an exception. 229s self._cleanUp(err) 229s sig = err & 0xff 229s rc = (err & 0xff00) >> 8 229s self.return_code = rc 229s if sig: 229s raise SubprocessError( 229s f"Child process '{self.cmd}' killed by signal {sig:d} " 229s f"with return code {rc:d}") 229s else: 229s > raise SubprocessError( 229s f"Child process '{self.cmd}' exited " 229s f"with return code {rc:d}") 229s E pyraf.subproc.SubprocessError: Child process '/bin/sh -c stty size 2>/dev/null' exited with return code 1 229s 229s /usr/lib/python3/dist-packages/pyraf/subproc.py:209: SubprocessError 229s _________________ test_invoke_command[False-unlearn imcoords-] _________________ 229s 229s _with_pyraf = 229s test_input = 'unlearn imcoords', expected = '', use_ecl = False 229s 229s @pytest.mark.parametrize('test_input,expected', cl_cases) 229s @pytest.mark.parametrize('use_ecl', [False, True]) 229s def test_invoke_command(_with_pyraf, test_input, expected, use_ecl): 229s """Issue basic commands to CL parser 229s """ 229s result = _with_pyraf.run(['-c', test_input], use_ecl=use_ecl) 229s > assert not result.code, result.stderr 229s E AssertionError: Traceback (most recent call last): 229s E File "", line 198, in _run_module_as_main 229s E File "", line 88, in _run_code 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 166, in 229s E main() 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 130, in main 229s E iraf.Init(**initkw) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 238, in Init 229s E userpkg.run(_doprint=0, _hush=hush, _save=1) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 373, in run 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1746, in _run 229s E self._runCode() 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1537, in _runCode 229s E self._clFunction(*parList, **kw) 229s E File "", line 30, in login 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 834, in __call__ 229s E return self.run(*args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 373, in run 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1273, in _run 229s E self._pyFunction(*pl) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2682, in _clProcedure 229s E clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 3341, in clExecute 229s E exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s E File "", line 1, in 229s E File "", line 12, in string_proc 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2234, in clOscmd 229s E status = _subproc.subshellRedir(s, shell=shell) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 769, in subshellRedir 229s E return systemRedir((shell, "-c", cmd)) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 747, in systemRedir 229s E process = RedirProcess(cmd) 229s E ^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 800, in __init__ 229s E Subprocess.__init__(self, 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 95, in __init__ 229s E self.fork() 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 209, in fork 229s E raise SubprocessError( 229s E pyraf.subproc.SubprocessError: Child process '/bin/sh -c stty size 2>/dev/null' exited with return code 1 229s E 229s E assert not 1 229s E + where 1 = .code 229s 229s /usr/lib/python3/dist-packages/pyraf/tests/test_invocation.py:99: AssertionError 229s ___________________ test_invoke_command[True-print(6 - 1)-5] ___________________ 229s 229s _with_pyraf = 229s test_input = 'print(6 - 1)', expected = '5', use_ecl = True 229s 229s @pytest.mark.parametrize('test_input,expected', cl_cases) 229s @pytest.mark.parametrize('use_ecl', [False, True]) 229s def test_invoke_command(_with_pyraf, test_input, expected, use_ecl): 229s """Issue basic commands to CL parser 229s """ 229s result = _with_pyraf.run(['-c', test_input], use_ecl=use_ecl) 229s > assert not result.code, result.stderr 229s E AssertionError: ERROR: Child process '/bin/sh -c /bin/ls -1ad [a-y]* 2> /dev/null' exited with return code 2 229s E '' 229s E line 0: cl$cl.par 229s E '' 229s E line 0: cl$cl.par 229s E '' 229s E line 0: hlib$clpackage.cl 229s E Traceback (most recent call last): 229s E File "", line 198, in _run_module_as_main 229s E File "", line 88, in _run_code 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 166, in 229s E main() 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 130, in main 229s E iraf.Init(**initkw) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 217, in Init 229s E clpkg.run(_doprint=0, _hush=hush, _save=1) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 222, in run 229s E self._ecl_handle_error(e) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 370, in _ecl_handle_error 229s E raise e 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 220, in run 229s E return _runcore() 229s E ^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 204, in _runcore 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 495, in _run 229s E return iraftask.IrafPkg._run(self, *args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1746, in _run 229s E self._runCode() 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1537, in _runCode 229s E self._clFunction(*parList, **kw) 229s E File "", line 32, in clpackage 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 834, in __call__ 229s E return self.run(*args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 222, in run 229s E self._ecl_handle_error(e) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 370, in _ecl_handle_error 229s E raise e 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 220, in run 229s E return _runcore() 229s E ^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 204, in _runcore 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 456, in _run 229s E return iraftask.IrafPythonTask._run(self, *args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1273, in _run 229s E self._pyFunction(*pl) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2682, in _clProcedure 229s E clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 3341, in clExecute 229s E exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s E File "", line 1, in 229s E File "", line 33, in string_proc 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 834, in __call__ 229s E return self.run(*args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 222, in run 229s E self._ecl_handle_error(e) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 379, in _ecl_handle_error 229s E raise e 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 220, in run 229s E return _runcore() 229s E ^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 204, in _runcore 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 456, in _run 229s E return iraftask.IrafPythonTask._run(self, *args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1273, in _run 229s E self._pyFunction(*pl) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2682, in _clProcedure 229s E clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 3341, in clExecute 229s E exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s E File "", line 1, in 229s E File "", line 17, in string_proc 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2234, in clOscmd 229s E status = _subproc.subshellRedir(s, shell=shell) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 769, in subshellRedir 229s E return systemRedir((shell, "-c", cmd)) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 747, in systemRedir 229s E process = RedirProcess(cmd) 229s E ^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 800, in __init__ 229s E Subprocess.__init__(self, 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 95, in __init__ 229s E self.fork() 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 209, in fork 229s E raise SubprocessError( 229s E pyraf.subproc.SubprocessError: Child process '/bin/sh -c /bin/ls -1ad [a-y]* 2> /dev/null' exited with return code 2 229s E 229s E assert not 1 229s E + where 1 = .code 229s 229s /usr/lib/python3/dist-packages/pyraf/tests/test_invocation.py:99: AssertionError 229s _______________ test_invoke_command_direct[False-print(3 * 3)-9] _______________ 229s 229s _with_pyraf = 229s test_input = 'print(3 * 3)', expected = '9', use_ecl = False 229s 229s @pytest.mark.parametrize('test_input,expected', cl_cases) 229s @pytest.mark.parametrize('use_ecl', [False, True]) 229s def test_invoke_command_direct(_with_pyraf, test_input, expected, use_ecl): 229s """Issue basic commands on pyraf's native shell 229s """ 229s if '/' in test_input: 229s pytest.xfail('Integer division is different as the Python 3 ' 229s 'parser is used here') 229s result = _with_pyraf.run(['-m'], use_ecl=use_ecl, 229s stdin=test_input + '\n.exit') 229s > assert not result.code, result.stderr 229s E AssertionError: Traceback (most recent call last): 229s E File "", line 198, in _run_module_as_main 229s E File "", line 88, in _run_code 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 166, in 229s E main() 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 130, in main 229s E iraf.Init(**initkw) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 238, in Init 229s E userpkg.run(_doprint=0, _hush=hush, _save=1) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 373, in run 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1746, in _run 229s E self._runCode() 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1537, in _runCode 229s E self._clFunction(*parList, **kw) 229s E File "", line 30, in login 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 834, in __call__ 229s E return self.run(*args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 373, in run 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1273, in _run 229s E self._pyFunction(*pl) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2682, in _clProcedure 229s E clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 3341, in clExecute 229s E exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s E File "", line 1, in 229s E File "", line 12, in string_proc 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2234, in clOscmd 229s E status = _subproc.subshellRedir(s, shell=shell) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 769, in subshellRedir 229s E return systemRedir((shell, "-c", cmd)) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 747, in systemRedir 229s E process = RedirProcess(cmd) 229s E ^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 800, in __init__ 229s E Subprocess.__init__(self, 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 95, in __init__ 229s E self.fork() 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 209, in fork 229s E raise SubprocessError( 229s E pyraf.subproc.SubprocessError: Child process '/bin/sh -c stty size 2>/dev/null' exited with return code 1 229s E 229s E assert not 1 229s E + where 1 = .code 229s 229s /usr/lib/python3/dist-packages/pyraf/tests/test_invocation.py:113: AssertionError 229s ____________________ test_invoke_command_direct[True-bye-] _____________________ 229s 229s _with_pyraf = 229s test_input = 'bye', expected = '', use_ecl = True 229s 229s @pytest.mark.parametrize('test_input,expected', cl_cases) 229s @pytest.mark.parametrize('use_ecl', [False, True]) 229s def test_invoke_command_direct(_with_pyraf, test_input, expected, use_ecl): 229s """Issue basic commands on pyraf's native shell 229s """ 229s if '/' in test_input: 229s pytest.xfail('Integer division is different as the Python 3 ' 229s 'parser is used here') 229s result = _with_pyraf.run(['-m'], use_ecl=use_ecl, 229s stdin=test_input + '\n.exit') 229s > assert not result.code, result.stderr 229s E AssertionError: ERROR: Child process '/bin/sh -c stty size 2>/dev/null' exited with return code 1 229s E '' 229s E line 0: cl$cl.par 229s E called as: 'print ("!!stty size 2>/dev/null") | cl() | scan(i,j)' 229s E '' 229s E line 0: /etc/iraf/login.cl 229s E Traceback (most recent call last): 229s E File "", line 198, in _run_module_as_main 229s E File "", line 88, in _run_code 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 166, in 229s E main() 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 130, in main 229s E iraf.Init(**initkw) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 238, in Init 229s E userpkg.run(_doprint=0, _hush=hush, _save=1) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 222, in run 229s E self._ecl_handle_error(e) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 370, in _ecl_handle_error 229s E raise e 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 220, in run 229s E return _runcore() 229s E ^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 204, in _runcore 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 495, in _run 229s E return iraftask.IrafPkg._run(self, *args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1746, in _run 229s E self._runCode() 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1537, in _runCode 229s E self._clFunction(*parList, **kw) 229s E File "", line 35, in login 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 834, in __call__ 229s E return self.run(*args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 222, in run 229s E self._ecl_handle_error(e) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 379, in _ecl_handle_error 229s E raise e 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 220, in run 229s E return _runcore() 229s E ^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 204, in _runcore 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 456, in _run 229s E return iraftask.IrafPythonTask._run(self, *args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1273, in _run 229s E self._pyFunction(*pl) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2682, in _clProcedure 229s E clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 3341, in clExecute 229s E exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s E File "", line 1, in 229s E File "", line 17, in string_proc 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2234, in clOscmd 229s E status = _subproc.subshellRedir(s, shell=shell) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 769, in subshellRedir 229s E return systemRedir((shell, "-c", cmd)) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 747, in systemRedir 229s E process = RedirProcess(cmd) 229s E ^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 800, in __init__ 229s E Subprocess.__init__(self, 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 95, in __init__ 229s E self.fork() 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 209, in fork 229s E raise SubprocessError( 229s E pyraf.subproc.SubprocessError: Child process '/bin/sh -c stty size 2>/dev/null' exited with return code 1 229s E 229s E assert not 1 229s E + where 1 = .code 229s 229s /usr/lib/python3/dist-packages/pyraf/tests/test_invocation.py:113: AssertionError 229s _ test_invoke_command_no_wrapper_direct[True-print("ipython test")-ipython test] _ 229s 229s _with_pyraf = 229s test_input = 'print("ipython test")', expected = 'ipython test', use_ecl = True 229s 229s @pytest.mark.parametrize('test_input,expected', python_cases) 229s @pytest.mark.parametrize('use_ecl', [False, True]) 229s def test_invoke_command_no_wrapper_direct(_with_pyraf, test_input, expected, use_ecl): 229s """Issue basic commands on pyraf's passthrough shell 229s """ 229s result = _with_pyraf.run(['-i'], use_ecl=use_ecl, stdin=test_input) 229s _output = result.stdout.strip() 229s begin = _output.find('>>>') 229s output = ''.join( 229s [x.replace('>>>', '').strip() for x in _output[begin:].splitlines()]) 229s 229s > assert not result.code, result.stderr 229s E AssertionError: ERROR: Child process '/bin/sh -c /bin/ls -1ad [a-y]* 2> /dev/null' exited with return code 2 229s E '' 229s E line 0: cl$cl.par 229s E '' 229s E line 0: cl$cl.par 229s E '' 229s E line 0: hlib$clpackage.cl 229s E Traceback (most recent call last): 229s E File "", line 198, in _run_module_as_main 229s E File "", line 88, in _run_code 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 166, in 229s E main() 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 130, in main 229s E iraf.Init(**initkw) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 217, in Init 229s E clpkg.run(_doprint=0, _hush=hush, _save=1) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 222, in run 229s E self._ecl_handle_error(e) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 370, in _ecl_handle_error 229s E raise e 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 220, in run 229s E return _runcore() 229s E ^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 204, in _runcore 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 495, in _run 229s E return iraftask.IrafPkg._run(self, *args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1746, in _run 229s E self._runCode() 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1537, in _runCode 229s E self._clFunction(*parList, **kw) 229s E File "", line 32, in clpackage 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 834, in __call__ 229s E return self.run(*args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 222, in run 229s E self._ecl_handle_error(e) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 370, in _ecl_handle_error 229s E raise e 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 220, in run 229s E return _runcore() 229s E ^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 204, in _runcore 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 456, in _run 229s E return iraftask.IrafPythonTask._run(self, *args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1273, in _run 229s E self._pyFunction(*pl) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2682, in _clProcedure 229s E clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 3341, in clExecute 229s E exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s E File "", line 1, in 229s E File "", line 33, in string_proc 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 834, in __call__ 229s E return self.run(*args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 222, in run 229s E self._ecl_handle_error(e) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 379, in _ecl_handle_error 229s E raise e 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 220, in run 229s E return _runcore() 229s E ^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 204, in _runcore 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 456, in _run 229s E return iraftask.IrafPythonTask._run(self, *args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1273, in _run 229s E self._pyFunction(*pl) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2682, in _clProcedure 229s E clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 3341, in clExecute 229s E exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s E File "", line 1, in 229s E File "", line 17, in string_proc 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2234, in clOscmd 229s E status = _subproc.subshellRedir(s, shell=shell) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 769, in subshellRedir 229s E return systemRedir((shell, "-c", cmd)) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 747, in systemRedir 229s E process = RedirProcess(cmd) 229s E ^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 800, in __init__ 229s E Subprocess.__init__(self, 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 95, in __init__ 229s E self.fork() 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 209, in fork 229s E raise SubprocessError( 229s E pyraf.subproc.SubprocessError: Child process '/bin/sh -c /bin/ls -1ad [a-y]* 2> /dev/null' exited with return code 2 229s E 229s E assert not 1 229s E + where 1 = .code 229s 229s /usr/lib/python3/dist-packages/pyraf/tests/test_invocation.py:129: AssertionError 229s _ test_invoke_command_no_wrapper_direct[True-s = "hello world";s-'hello world'] _ 229s 229s _with_pyraf = 229s test_input = 's = "hello world";s', expected = "'hello world'", use_ecl = True 229s 229s @pytest.mark.parametrize('test_input,expected', python_cases) 229s @pytest.mark.parametrize('use_ecl', [False, True]) 229s def test_invoke_command_no_wrapper_direct(_with_pyraf, test_input, expected, use_ecl): 229s """Issue basic commands on pyraf's passthrough shell 229s """ 229s result = _with_pyraf.run(['-i'], use_ecl=use_ecl, stdin=test_input) 229s _output = result.stdout.strip() 229s begin = _output.find('>>>') 229s output = ''.join( 229s [x.replace('>>>', '').strip() for x in _output[begin:].splitlines()]) 229s 229s > assert not result.code, result.stderr 229s E AssertionError: ERROR: Child process '/bin/sh -c /bin/ls -1ad [a-y]* 2> /dev/null' exited with return code 2 229s E '' 229s E line 0: cl$cl.par 229s E '' 229s E line 0: cl$cl.par 229s E '' 229s E line 0: hlib$clpackage.cl 229s E Traceback (most recent call last): 229s E File "", line 198, in _run_module_as_main 229s E File "", line 88, in _run_code 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 166, in 229s E main() 229s E File "/usr/lib/python3/dist-packages/pyraf/__main__.py", line 130, in main 229s E iraf.Init(**initkw) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 217, in Init 229s E clpkg.run(_doprint=0, _hush=hush, _save=1) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 222, in run 229s E self._ecl_handle_error(e) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 370, in _ecl_handle_error 229s E raise e 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 220, in run 229s E return _runcore() 229s E ^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 204, in _runcore 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 495, in _run 229s E return iraftask.IrafPkg._run(self, *args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1746, in _run 229s E self._runCode() 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1537, in _runCode 229s E self._clFunction(*parList, **kw) 229s E File "", line 32, in clpackage 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 834, in __call__ 229s E return self.run(*args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 222, in run 229s E self._ecl_handle_error(e) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 370, in _ecl_handle_error 229s E raise e 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 220, in run 229s E return _runcore() 229s E ^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 204, in _runcore 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 456, in _run 229s E return iraftask.IrafPythonTask._run(self, *args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1273, in _run 229s E self._pyFunction(*pl) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2682, in _clProcedure 229s E clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 3341, in clExecute 229s E exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s E File "", line 1, in 229s E File "", line 33, in string_proc 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 834, in __call__ 229s E return self.run(*args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 222, in run 229s E self._ecl_handle_error(e) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 379, in _ecl_handle_error 229s E raise e 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 220, in run 229s E return _runcore() 229s E ^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 204, in _runcore 229s E self._run(redirKW, specialKW) 229s E File "/usr/lib/python3/dist-packages/pyraf/irafecl.py", line 456, in _run 229s E return iraftask.IrafPythonTask._run(self, *args, **kw) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/iraftask.py", line 1273, in _run 229s E self._pyFunction(*pl) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2682, in _clProcedure 229s E clExecute(_sys.stdin.read(), locals=theLocals, Stdin=_sys.__stdin__) 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 3341, in clExecute 229s E exec(pycode.vars.proc_name + "(taskObj=iraf.cl)", locals) 229s E File "", line 1, in 229s E File "", line 17, in string_proc 229s E File "/usr/lib/python3/dist-packages/pyraf/iraffunctions.py", line 2234, in clOscmd 229s E status = _subproc.subshellRedir(s, shell=shell) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 769, in subshellRedir 229s E return systemRedir((shell, "-c", cmd)) 229s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 747, in systemRedir 229s E process = RedirProcess(cmd) 229s E ^^^^^^^^^^^^^^^^^ 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 800, in __init__ 229s E Subprocess.__init__(self, 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 95, in __init__ 229s E self.fork() 229s E File "/usr/lib/python3/dist-packages/pyraf/subproc.py", line 209, in fork 229s E raise SubprocessError( 229s E pyraf.subproc.SubprocessError: Child process '/bin/sh -c /bin/ls -1ad [a-y]* 2> /dev/null' exited with return code 2 229s E 229s E assert not 1 229s E + where 1 = .code 229s 229s /usr/lib/python3/dist-packages/pyraf/tests/test_invocation.py:129: AssertionError 229s =============================== warnings summary =============================== 229s ../../../usr/lib/python3/dist-packages/pyraf/iraffunctions.py:91 229s /usr/lib/python3/dist-packages/pyraf/iraffunctions.py:91: DeprecationWarning: finfo() dtype cannot be None. This behavior will raise an error in the future. (Deprecated in NumPy 1.25) 229s FP_EPSILON = _numpy.finfo(None).eps 229s 229s tools/tests/test_minmatch.py::test_getall 229s /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: Expected None, but tools/tests/test_minmatch.py::test_getall returned [1, 2, 10], which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? 229s warnings.warn( 229s 229s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 229s =========================== short test summary info ============================ 229s FAILED tests/test_cli.py::test_clfile[print("test") | cat-test\n-utf-8-True] 229s FAILED tests/test_cli.py::test_clfile[print("test") | cat-test\n-iso-8859-1-False] 229s FAILED tests/test_cli.py::test_redir_data[False-False-test for plain ASCII-concatenate {datafile} out_type=t-False] 229s FAILED tests/test_cli.py::test_redir_data[False-True-Unicode \xc3\x85ngstr\xc3\xb6m-concatenate {datafile} out_type=t-False] 229s FAILED tests/test_invocation.py::test_invoke_command[False-unlearn imcoords-] 229s FAILED tests/test_invocation.py::test_invoke_command[True-print(6 - 1)-5] - A... 229s FAILED tests/test_invocation.py::test_invoke_command_direct[False-print(3 * 3)-9] 229s FAILED tests/test_invocation.py::test_invoke_command_direct[True-bye-] - Asse... 229s FAILED tests/test_invocation.py::test_invoke_command_no_wrapper_direct[True-print("ipython test")-ipython test] 229s FAILED tests/test_invocation.py::test_invoke_command_no_wrapper_direct[True-s = "hello world";s-'hello world'] 229s ====== 10 failed, 355 passed, 36 skipped, 3 xfailed, 2 warnings in 59.64s ====== 230s autopkgtest [20:00:45]: test command1: -----------------------] 231s command1 FAIL non-zero exit status 1 231s autopkgtest [20:00:46]: test command1: - - - - - - - - - - results - - - - - - - - - - 231s autopkgtest [20:00:46]: @@@@@@@@@@@@@@@@@@@@ summary 231s command1 FAIL non-zero exit status 1 243s nova [W] Using flock in prodstack6-ppc64el 243s Creating nova instance adt-plucky-ppc64el-pyraf-20241113-195655-juju-7f2275-prod-proposed-migration-environment-15-eb2b147d-2210-47df-9be2-57958f3d090c from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)...