0s autopkgtest [21:23:40]: starting date and time: 2024-11-15 21:23:40+0000 0s autopkgtest [21:23:40]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [21:23:40]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.boaygpkq/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:wheel --apt-upgrade python-argcomplete --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=wheel/0.45.0-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-10.secgroup --name adt-plucky-ppc64el-python-argcomplete-20241115-212339-juju-7f2275-prod-proposed-migration-environment-2-9f45bca8-3d54-4411-8126-c3834376708a --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --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/ 55s autopkgtest [21:24:35]: testbed dpkg architecture: ppc64el 55s autopkgtest [21:24:35]: testbed apt version: 2.9.8 55s autopkgtest [21:24:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 56s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 56s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [93.0 kB] 56s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1044 kB] 56s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 56s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 56s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [153 kB] 56s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [782 kB] 56s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [8932 B] 57s Fetched 2176 kB in 1s (2233 kB/s) 57s Reading package lists... 59s Reading package lists... 59s Building dependency tree... 59s Reading state information... 59s Calculating upgrade... 60s The following NEW packages will be installed: 60s libassuan9 60s The following packages will be upgraded: 60s bpfcc-tools bpftrace firmware-sof-signed grub-common grub-ieee1275 60s grub-ieee1275-bin grub2-common libbpfcc libcap-ng0 libexpat1 libgnutls30t64 60s libgpgme11t64 libjson-glib-1.0-0 libjson-glib-1.0-common libnewt0.52 60s libseccomp2 libutempter0 lxd-installer man-db pastebinit python3-bpfcc 60s python3-cffi-backend python3-markupsafe python3-newt python3-systemd 60s whiptail xfsprogs 60s 27 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 60s Need to get 18.5 MB of archives. 60s After this operation, 1531 kB of additional disk space will be used. 60s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el firmware-sof-signed all 2024.06-1ubuntu2 [7083 kB] 60s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcap-ng0 ppc64el 0.8.5-3build1 [16.3 kB] 60s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.8-2ubuntu1 [1072 kB] 60s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libseccomp2 ppc64el 2.5.5-1ubuntu5 [61.6 kB] 60s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libexpat1 ppc64el 2.6.4-1 [98.1 kB] 60s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-newt ppc64el 0.52.24-2ubuntu4 [21.8 kB] 60s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnewt0.52 ppc64el 0.52.24-2ubuntu4 [62.1 kB] 61s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-cffi-backend ppc64el 1.17.1-2build1 [108 kB] 61s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el whiptail ppc64el 0.52.24-2ubuntu4 [19.5 kB] 61s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el man-db ppc64el 2.13.0-1 [1361 kB] 61s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbpfcc ppc64el 0.30.0+ds-1ubuntu5 [696 kB] 61s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-bpfcc all 0.30.0+ds-1ubuntu5 [40.4 kB] 61s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpfcc-tools all 0.30.0+ds-1ubuntu5 [697 kB] 61s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpftrace ppc64el 0.21.2-2ubuntu2 [1898 kB] 61s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el grub-ieee1275 ppc64el 2.12-5ubuntu7 [63.1 kB] 61s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el grub2-common ppc64el 2.12-5ubuntu7 [751 kB] 61s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el grub-ieee1275-bin ppc64el 2.12-5ubuntu7 [689 kB] 61s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el grub-common ppc64el 2.12-5ubuntu7 [2341 kB] 61s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el libassuan9 ppc64el 3.0.1-2 [47.7 kB] 61s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgpgme11t64 ppc64el 1.24.0-2ubuntu1 [178 kB] 61s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 61s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-0 ppc64el 1.10.0+ds-3 [76.0 kB] 61s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libutempter0 ppc64el 1.2.1-4 [9850 B] 61s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el lxd-installer all 9 [5084 B] 61s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el pastebinit all 1.7.1-1 [14.9 kB] 61s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-markupsafe ppc64el 2.1.5-1build3 [13.6 kB] 61s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-systemd ppc64el 235-1build5 [48.7 kB] 61s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el xfsprogs ppc64el 6.8.0-2.2ubuntu2 [995 kB] 61s Preconfiguring packages ... 61s Fetched 18.5 MB in 2s (12.1 MB/s) 62s (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.) 62s Preparing to unpack .../firmware-sof-signed_2024.06-1ubuntu2_all.deb ... 62s Unpacking firmware-sof-signed (2024.06-1ubuntu2) over (2024.06-1ubuntu1) ... 62s Preparing to unpack .../libcap-ng0_0.8.5-3build1_ppc64el.deb ... 62s Unpacking libcap-ng0:ppc64el (0.8.5-3build1) over (0.8.5-1) ... 62s Setting up libcap-ng0:ppc64el (0.8.5-3build1) ... 62s (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 ... 73793 files and directories currently installed.) 62s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_ppc64el.deb ... 62s Unpacking libgnutls30t64:ppc64el (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 62s Setting up libgnutls30t64:ppc64el (3.8.8-2ubuntu1) ... 62s (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 ... 73793 files and directories currently installed.) 62s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu5_ppc64el.deb ... 62s Unpacking libseccomp2:ppc64el (2.5.5-1ubuntu5) over (2.5.5-1ubuntu4) ... 62s Setting up libseccomp2:ppc64el (2.5.5-1ubuntu5) ... 62s (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 ... 73793 files and directories currently installed.) 62s Preparing to unpack .../00-libexpat1_2.6.4-1_ppc64el.deb ... 62s Unpacking libexpat1:ppc64el (2.6.4-1) over (2.6.2-2) ... 62s Preparing to unpack .../01-python3-newt_0.52.24-2ubuntu4_ppc64el.deb ... 62s Unpacking python3-newt:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 62s Preparing to unpack .../02-libnewt0.52_0.52.24-2ubuntu4_ppc64el.deb ... 62s Unpacking libnewt0.52:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 62s Preparing to unpack .../03-python3-cffi-backend_1.17.1-2build1_ppc64el.deb ... 62s Unpacking python3-cffi-backend:ppc64el (1.17.1-2build1) over (1.17.1-2) ... 62s Preparing to unpack .../04-whiptail_0.52.24-2ubuntu4_ppc64el.deb ... 62s Unpacking whiptail (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 62s Preparing to unpack .../05-man-db_2.13.0-1_ppc64el.deb ... 62s Unpacking man-db (2.13.0-1) over (2.12.1-3) ... 62s Preparing to unpack .../06-libbpfcc_0.30.0+ds-1ubuntu5_ppc64el.deb ... 62s Unpacking libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 62s Preparing to unpack .../07-python3-bpfcc_0.30.0+ds-1ubuntu5_all.deb ... 63s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 63s Preparing to unpack .../08-bpfcc-tools_0.30.0+ds-1ubuntu5_all.deb ... 63s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 63s Preparing to unpack .../09-bpftrace_0.21.2-2ubuntu2_ppc64el.deb ... 63s Unpacking bpftrace (0.21.2-2ubuntu2) over (0.21.2-2) ... 63s Preparing to unpack .../10-grub-ieee1275_2.12-5ubuntu7_ppc64el.deb ... 63s Unpacking grub-ieee1275 (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 63s Preparing to unpack .../11-grub2-common_2.12-5ubuntu7_ppc64el.deb ... 63s Unpacking grub2-common (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 63s Preparing to unpack .../12-grub-ieee1275-bin_2.12-5ubuntu7_ppc64el.deb ... 63s Unpacking grub-ieee1275-bin (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 63s Preparing to unpack .../13-grub-common_2.12-5ubuntu7_ppc64el.deb ... 63s Unpacking grub-common (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 63s Selecting previously unselected package libassuan9:ppc64el. 63s Preparing to unpack .../14-libassuan9_3.0.1-2_ppc64el.deb ... 63s Unpacking libassuan9:ppc64el (3.0.1-2) ... 63s Preparing to unpack .../15-libgpgme11t64_1.24.0-2ubuntu1_ppc64el.deb ... 63s Unpacking libgpgme11t64:ppc64el (1.24.0-2ubuntu1) over (1.23.2-5ubuntu4) ... 63s Preparing to unpack .../16-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 63s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 63s Preparing to unpack .../17-libjson-glib-1.0-0_1.10.0+ds-3_ppc64el.deb ... 63s Unpacking libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) over (1.10.0+ds-2) ... 63s Preparing to unpack .../18-libutempter0_1.2.1-4_ppc64el.deb ... 63s Unpacking libutempter0:ppc64el (1.2.1-4) over (1.2.1-3build1) ... 63s Preparing to unpack .../19-lxd-installer_9_all.deb ... 63s Unpacking lxd-installer (9) over (8) ... 63s Preparing to unpack .../20-pastebinit_1.7.1-1_all.deb ... 63s Unpacking pastebinit (1.7.1-1) over (1.7.0-1) ... 63s Preparing to unpack .../21-python3-markupsafe_2.1.5-1build3_ppc64el.deb ... 63s Unpacking python3-markupsafe (2.1.5-1build3) over (2.1.5-1build2) ... 63s Preparing to unpack .../22-python3-systemd_235-1build5_ppc64el.deb ... 63s Unpacking python3-systemd (235-1build5) over (235-1build4) ... 63s Preparing to unpack .../23-xfsprogs_6.8.0-2.2ubuntu2_ppc64el.deb ... 63s Unpacking xfsprogs (6.8.0-2.2ubuntu2) over (6.8.0-2.2ubuntu1) ... 63s Setting up libexpat1:ppc64el (2.6.4-1) ... 63s Setting up libnewt0.52:ppc64el (0.52.24-2ubuntu4) ... 64s Setting up firmware-sof-signed (2024.06-1ubuntu2) ... 64s Setting up pastebinit (1.7.1-1) ... 64s Setting up python3-newt:ppc64el (0.52.24-2ubuntu4) ... 64s Setting up man-db (2.13.0-1) ... 64s Updating database of manual pages ... 66s man-db.service is a disabled or a static unit not running, not starting it. 66s Setting up python3-markupsafe (2.1.5-1build3) ... 66s Setting up grub-common (2.12-5ubuntu7) ... 67s Setting up xfsprogs (6.8.0-2.2ubuntu2) ... 67s update-initramfs: deferring update (trigger activated) 68s Setting up lxd-installer (9) ... 68s Setting up libutempter0:ppc64el (1.2.1-4) ... 68s Setting up whiptail (0.52.24-2ubuntu4) ... 68s Setting up libassuan9:ppc64el (3.0.1-2) ... 68s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 68s Setting up libgpgme11t64:ppc64el (1.24.0-2ubuntu1) ... 68s Setting up libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) ... 68s Setting up python3-bpfcc (0.30.0+ds-1ubuntu5) ... 68s Setting up python3-systemd (235-1build5) ... 68s Setting up python3-cffi-backend:ppc64el (1.17.1-2build1) ... 68s Setting up bpftrace (0.21.2-2ubuntu2) ... 68s Setting up grub2-common (2.12-5ubuntu7) ... 68s Setting up grub-ieee1275-bin (2.12-5ubuntu7) ... 68s Setting up libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) ... 68s Setting up bpfcc-tools (0.30.0+ds-1ubuntu5) ... 68s Setting up grub-ieee1275 (2.12-5ubuntu7) ... 69s Installing for powerpc-ieee1275 platform. 69s Installation finished. No error reported. 69s Sourcing file `/etc/default/grub' 69s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 69s Generating grub configuration file ... 69s Found linux image: /boot/vmlinux-6.11.0-8-generic 69s Found initrd image: /boot/initrd.img-6.11.0-8-generic 70s Warning: os-prober will not be executed to detect other bootable partitions. 70s Systems on them will not be added to the GRUB boot configuration. 70s Check GRUB_DISABLE_OS_PROBER documentation entry. 70s Adding boot menu entry for UEFI Firmware Settings ... 70s done 70s Processing triggers for install-info (7.1.1-1) ... 70s Processing triggers for libc-bin (2.40-1ubuntu3) ... 70s Processing triggers for initramfs-tools (0.142ubuntu34) ... 70s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 70s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 78s Reading package lists... 78s Building dependency tree... 78s Reading state information... 79s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 79s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 79s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 79s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 79s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 80s Reading package lists... 80s Reading package lists... 80s Building dependency tree... 80s Reading state information... 80s Calculating upgrade... 81s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 81s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 81s autopkgtest [21:25:01]: rebooting testbed after setup commands that affected boot 85s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 115s autopkgtest [21:25:35]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 118s autopkgtest [21:25:38]: @@@@@@@@@@@@@@@@@@@@ apt-source python-argcomplete 120s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-argcomplete 3.5.1-1 (dsc) [2429 B] 120s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-argcomplete 3.5.1-1 (tar) [82.3 kB] 120s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-argcomplete 3.5.1-1 (diff) [7072 B] 120s gpgv: Signature made Wed Oct 23 09:11:22 2024 UTC 120s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 120s gpgv: issuer "tchet@debian.org" 120s gpgv: Can't check signature: No public key 120s dpkg-source: warning: cannot verify inline signature for ./python-argcomplete_3.5.1-1.dsc: no acceptable signature found 120s autopkgtest [21:25:40]: testing package python-argcomplete version 3.5.1-1 121s autopkgtest [21:25:41]: build not needed 123s autopkgtest [21:25:43]: test unittests: preparing testbed 124s Reading package lists... 125s Building dependency tree... 125s Reading state information... 125s Starting pkgProblemResolver with broken count: 0 125s Starting 2 pkgProblemResolver with broken count: 0 125s Done 125s The following additional packages will be installed: 125s fish fish-common libpcre2-32-0 python3-all python3-argcomplete 125s python3-pexpect python3-pip python3-ptyprocess python3-wheel tcsh zsh 125s zsh-common 125s Suggested packages: 125s doc-base python-pexpect-doc zsh-doc 125s Recommended packages: 125s xsel lynx | www-browser build-essential python3-dev libjs-sphinxdoc 125s The following NEW packages will be installed: 125s autopkgtest-satdep fish fish-common libpcre2-32-0 python3-all 125s python3-argcomplete python3-pexpect python3-pip python3-ptyprocess 125s python3-wheel tcsh zsh zsh-common 125s 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 125s Need to get 10.2 MB/10.2 MB of archives. 125s After this operation, 51.8 MB of additional disk space will be used. 125s Get:1 /tmp/autopkgtest.68aqJe/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [760 B] 126s Get:2 http://ftpmaster.internal/ubuntu plucky/universe ppc64el fish-common all 3.7.1-1 [1635 kB] 126s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu3 [238 kB] 126s Get:4 http://ftpmaster.internal/ubuntu plucky/universe ppc64el fish ppc64el 3.7.1-1 [1038 kB] 126s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-all ppc64el 3.12.6-0ubuntu1 [888 B] 126s Get:6 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-argcomplete all 3.5.1-1 [35.4 kB] 126s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-ptyprocess all 0.7.0-6 [14.8 kB] 126s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-pexpect all 4.9-2 [48.1 kB] 126s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el python3-wheel all 0.45.0-1 [57.7 kB] 126s Get:10 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pip all 24.2+dfsg-1 [1398 kB] 126s Get:11 http://ftpmaster.internal/ubuntu plucky/universe ppc64el tcsh ppc64el 6.24.13-2 [532 kB] 126s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el zsh-common all 5.9-6ubuntu3 [4170 kB] 126s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el zsh ppc64el 5.9-6ubuntu3 [1003 kB] 127s Fetched 10.2 MB in 1s (12.2 MB/s) 127s Selecting previously unselected package fish-common. 127s (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 ... 73808 files and directories currently installed.) 127s Preparing to unpack .../00-fish-common_3.7.1-1_all.deb ... 127s Unpacking fish-common (3.7.1-1) ... 127s Selecting previously unselected package libpcre2-32-0:ppc64el. 127s Preparing to unpack .../01-libpcre2-32-0_10.42-4ubuntu3_ppc64el.deb ... 127s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 127s Selecting previously unselected package fish. 127s Preparing to unpack .../02-fish_3.7.1-1_ppc64el.deb ... 127s Unpacking fish (3.7.1-1) ... 127s Selecting previously unselected package python3-all. 127s Preparing to unpack .../03-python3-all_3.12.6-0ubuntu1_ppc64el.deb ... 127s Unpacking python3-all (3.12.6-0ubuntu1) ... 127s Selecting previously unselected package python3-argcomplete. 127s Preparing to unpack .../04-python3-argcomplete_3.5.1-1_all.deb ... 127s Unpacking python3-argcomplete (3.5.1-1) ... 127s Selecting previously unselected package python3-ptyprocess. 127s Preparing to unpack .../05-python3-ptyprocess_0.7.0-6_all.deb ... 127s Unpacking python3-ptyprocess (0.7.0-6) ... 127s Selecting previously unselected package python3-pexpect. 127s Preparing to unpack .../06-python3-pexpect_4.9-2_all.deb ... 127s Unpacking python3-pexpect (4.9-2) ... 127s Selecting previously unselected package python3-wheel. 127s Preparing to unpack .../07-python3-wheel_0.45.0-1_all.deb ... 127s Unpacking python3-wheel (0.45.0-1) ... 127s Selecting previously unselected package python3-pip. 127s Preparing to unpack .../08-python3-pip_24.2+dfsg-1_all.deb ... 127s Unpacking python3-pip (24.2+dfsg-1) ... 127s Selecting previously unselected package tcsh. 127s Preparing to unpack .../09-tcsh_6.24.13-2_ppc64el.deb ... 127s Unpacking tcsh (6.24.13-2) ... 128s Selecting previously unselected package zsh-common. 128s Preparing to unpack .../10-zsh-common_5.9-6ubuntu3_all.deb ... 128s Unpacking zsh-common (5.9-6ubuntu3) ... 128s Selecting previously unselected package zsh. 128s Preparing to unpack .../11-zsh_5.9-6ubuntu3_ppc64el.deb ... 128s Unpacking zsh (5.9-6ubuntu3) ... 128s Selecting previously unselected package autopkgtest-satdep. 128s Preparing to unpack .../12-1-autopkgtest-satdep.deb ... 128s Unpacking autopkgtest-satdep (0) ... 128s Setting up zsh-common (5.9-6ubuntu3) ... 128s Setting up python3-all (3.12.6-0ubuntu1) ... 128s Setting up python3-wheel (0.45.0-1) ... 128s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 128s Setting up python3-pip (24.2+dfsg-1) ... 129s Setting up zsh (5.9-6ubuntu3) ... 129s Setting up python3-argcomplete (3.5.1-1) ... 129s Setting up fish-common (3.7.1-1) ... 129s Setting up tcsh (6.24.13-2) ... 129s update-alternatives: using /bin/tcsh to provide /bin/csh (csh) in auto mode 129s Setting up python3-ptyprocess (0.7.0-6) ... 130s Setting up python3-pexpect (4.9-2) ... 130s Setting up fish (3.7.1-1) ... 130s Setting up autopkgtest-satdep (0) ... 130s Processing triggers for man-db (2.13.0-1) ... 130s Processing triggers for debianutils (5.20) ... 130s Processing triggers for libc-bin (2.40-1ubuntu3) ... 133s (Reading database ... 77799 files and directories currently installed.) 133s Removing autopkgtest-satdep (0) ... 134s autopkgtest [21:25:54]: test unittests: [----------------------- 134s === python3.12 === 134s test_action_activation (__main__.TestArgcomplete.test_action_activation) ... ERROR 134s test_action_activation_with_subparser (__main__.TestArgcomplete.test_action_activation_with_subparser) ... ERROR 134s test_append_space (__main__.TestArgcomplete.test_append_space) ... ERROR 134s test_basic_completion (__main__.TestArgcomplete.test_basic_completion) ... ERROR 134s test_choices (__main__.TestArgcomplete.test_choices) ... ERROR 134s test_completers (__main__.TestArgcomplete.test_completers) ... ERROR 134s test_custom_validator (__main__.TestArgcomplete.test_custom_validator) ... ERROR 134s test_default_completer (__main__.TestArgcomplete.test_default_completer) ... ERROR 134s test_different_validators (__main__.TestArgcomplete.test_different_validators) ... ERROR 134s test_directory_completion (__main__.TestArgcomplete.test_directory_completion) ... ok 134s test_display_completions (__main__.TestArgcomplete.test_display_completions) ... ERROR 134s test_display_completions_with_aliases (__main__.TestArgcomplete.test_display_completions_with_aliases) ... ERROR 134s test_escape_special_chars (__main__.TestArgcomplete.test_escape_special_chars) ... ERROR 134s test_exclusive (__main__.TestArgcomplete.test_exclusive) ... ERROR 134s test_exclusive_class (__main__.TestArgcomplete.test_exclusive_class) ... ERROR 134s test_file_completion (__main__.TestArgcomplete.test_file_completion) ... ok 134s test_filescompleter_filetype_integration (__main__.TestArgcomplete.test_filescompleter_filetype_integration) ... ERROR 134s test_mixed_optional_positional (__main__.TestArgcomplete.test_mixed_optional_positional) ... ERROR 134s test_nargs_one_or_more (__main__.TestArgcomplete.test_nargs_one_or_more) ... ERROR 134s test_nargs_optional (__main__.TestArgcomplete.test_nargs_optional) ... ERROR 134s test_nargs_zero_or_more (__main__.TestArgcomplete.test_nargs_zero_or_more) ... ERROR 134s test_non_ascii (__main__.TestArgcomplete.test_non_ascii) ... ERROR 134s test_non_str_choices (__main__.TestArgcomplete.test_non_str_choices) ... ERROR 134s test_option_help (__main__.TestArgcomplete.test_option_help) ... ERROR 134s test_optional_long_short_filtering (__main__.TestArgcomplete.test_optional_long_short_filtering) ... ERROR 134s test_optional_nargs (__main__.TestArgcomplete.test_optional_nargs) ... ERROR 134s test_positional_remainder (__main__.TestArgcomplete.test_positional_remainder) ... ERROR 134s test_readline_entry_point (__main__.TestArgcomplete.test_readline_entry_point) ... ERROR 134s test_shellcode_utility (__main__.TestArgcomplete.test_shellcode_utility) ... ok 134s test_skipped_completer (__main__.TestArgcomplete.test_skipped_completer) ... ERROR 134s test_subparser_completers (__main__.TestArgcomplete.test_subparser_completers) ... ERROR 134s test_subparsers (__main__.TestArgcomplete.test_subparsers) ... ERROR 134s test_suppress_args (__main__.TestArgcomplete.test_suppress_args) ... ERROR 134s test_suppress_completer (__main__.TestArgcomplete.test_suppress_completer) ... ERROR 134s test_repl_multiple_complete (__main__.TestArgcompleteREPL.test_repl_multiple_complete) ... ERROR 134s test_repl_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_parse_after_complete) ... ERROR 134s test_repl_reuse_parser_with_positional (__main__.TestArgcompleteREPL.test_repl_reuse_parser_with_positional) ... ERROR 134s test_repl_subcommand (__main__.TestArgcompleteREPL.test_repl_subcommand) ... ERROR 134s test_repl_subparser_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_subparser_parse_after_complete) ... ERROR 135s test_comp_point (__main__.TestBash.test_comp_point) ... FAIL 136s test_completion_environment (__main__.TestBash.test_completion_environment) ... FAIL 136s test_continuation (__main__.TestBash.test_continuation) ... FAIL 137s test_debug_output (__main__.TestBash.test_debug_output) ... FAIL 138s test_double_quoted_completion (__main__.TestBash.test_double_quoted_completion) ... ERROR 139s test_exclamation_in_double_quotes (__main__.TestBash.test_exclamation_in_double_quotes) ... expected failure 140s test_nounset (__main__.TestBash.test_nounset) ... FAIL 140s test_one_space_after_exact (__main__.TestBash.test_one_space_after_exact) 140s Test exactly one space is appended after an exact match. ... FAIL 141s test_parse_special_characters (__main__.TestBash.test_parse_special_characters) ... FAIL 142s test_parse_special_characters_dollar (__main__.TestBash.test_parse_special_characters_dollar) ... expected failure 143s test_partial_completion (__main__.TestBash.test_partial_completion) ... FAIL 143s test_quoted_exact (__main__.TestBash.test_quoted_exact) ... ERROR 144s test_quoted_space (__main__.TestBash.test_quoted_space) ... ERROR 145s test_quotes (__main__.TestBash.test_quotes) ... FAIL 146s test_simple_completion (__main__.TestBash.test_simple_completion) ... FAIL 146s test_single_quoted_completion (__main__.TestBash.test_single_quoted_completion) ... ERROR 147s test_single_quotes_in_double_quotes (__main__.TestBash.test_single_quotes_in_double_quotes) ... ERROR 148s test_single_quotes_in_single_quotes (__main__.TestBash.test_single_quotes_in_single_quotes) ... ERROR 149s test_special_characters (__main__.TestBash.test_special_characters) ... FAIL 149s test_special_characters_double_quoted (__main__.TestBash.test_special_characters_double_quoted) ... FAIL 150s test_special_characters_single_quoted (__main__.TestBash.test_special_characters_single_quoted) ... FAIL 151s test_temp_file (__main__.TestBash.test_temp_file) ... FAIL 152s test_unquoted_space (__main__.TestBash.test_unquoted_space) ... FAIL 152s test_wordbreak_chars (__main__.TestBash.test_wordbreak_chars) ... FAIL 153s test_comp_point (__main__.TestBashGlobal.test_comp_point) ... FAIL 154s test_completion_environment (__main__.TestBashGlobal.test_completion_environment) ... FAIL 154s test_console_script_module (__main__.TestBashGlobal.test_console_script_module) 156s Test completing a console_script for a module. ... FAIL 156s test_console_script_module_wheel (__main__.TestBashGlobal.test_console_script_module_wheel) 159s Test completing a console_script for a module from a wheel. ... FAIL 159s test_console_script_package (__main__.TestBashGlobal.test_console_script_package) 161s Test completing a console_script for a package. ... FAIL 161s test_console_script_package_wheel (__main__.TestBashGlobal.test_console_script_package_wheel) 163s Test completing a console_script for a package from a wheel. ... FAIL 164s test_continuation (__main__.TestBashGlobal.test_continuation) ... FAIL 165s test_debug_output (__main__.TestBashGlobal.test_debug_output) ... FAIL 165s test_double_quoted_completion (__main__.TestBashGlobal.test_double_quoted_completion) ... ERROR 166s test_exclamation_in_double_quotes (__main__.TestBashGlobal.test_exclamation_in_double_quotes) ... expected failure 167s test_nounset (__main__.TestBashGlobal.test_nounset) ... FAIL 167s test_one_space_after_exact (__main__.TestBashGlobal.test_one_space_after_exact) 168s Test exactly one space is appended after an exact match. ... FAIL 168s test_parse_special_characters (__main__.TestBashGlobal.test_parse_special_characters) ... FAIL 169s test_parse_special_characters_dollar (__main__.TestBashGlobal.test_parse_special_characters_dollar) ... expected failure 170s test_partial_completion (__main__.TestBashGlobal.test_partial_completion) ... FAIL 171s test_python_completion (__main__.TestBashGlobal.test_python_completion) ... FAIL 172s test_python_filename_completion (__main__.TestBashGlobal.test_python_filename_completion) ... FAIL 172s test_python_module (__main__.TestBashGlobal.test_python_module) 173s Test completing a module run with python -m. ... FAIL 173s test_python_not_executable (__main__.TestBashGlobal.test_python_not_executable) 174s Test completing a script that cannot be run directly. ... FAIL 174s test_python_stuck (__main__.TestBashGlobal.test_python_stuck) ... ok 175s test_quoted_exact (__main__.TestBashGlobal.test_quoted_exact) ... ERROR 176s test_quoted_space (__main__.TestBashGlobal.test_quoted_space) ... ERROR 177s test_quotes (__main__.TestBashGlobal.test_quotes) ... FAIL 177s test_redirection_completion (__main__.TestBashGlobal.test_redirection_completion) ... ok 178s test_simple_completion (__main__.TestBashGlobal.test_simple_completion) ... FAIL 179s test_single_quoted_completion (__main__.TestBashGlobal.test_single_quoted_completion) ... ERROR 180s test_single_quotes_in_double_quotes (__main__.TestBashGlobal.test_single_quotes_in_double_quotes) ... ERROR 180s test_single_quotes_in_single_quotes (__main__.TestBashGlobal.test_single_quotes_in_single_quotes) ... ERROR 181s test_special_characters (__main__.TestBashGlobal.test_special_characters) ... FAIL 182s test_special_characters_double_quoted (__main__.TestBashGlobal.test_special_characters_double_quoted) ... FAIL 183s test_special_characters_single_quoted (__main__.TestBashGlobal.test_special_characters_single_quoted) ... FAIL 183s test_temp_file (__main__.TestBashGlobal.test_temp_file) ... FAIL 184s test_unquoted_space (__main__.TestBashGlobal.test_unquoted_space) ... FAIL 185s test_wordbreak_chars (__main__.TestBashGlobal.test_wordbreak_chars) ... FAIL 185s test_module (__main__.TestCheckModule.test_module) ... ok 185s test_not_package (__main__.TestCheckModule.test_not_package) ... ok 185s test_package (__main__.TestCheckModule.test_package) ... ok 185s test_package_main (__main__.TestCheckModule.test_package_main) ... ok 185s test_subpackage (__main__.TestCheckModule.test_subpackage) ... ok 185s test_escaped_special (__main__.TestSplitLine.test_escaped_special) ... ok 185s test_escaped_special_in_double_quotes (__main__.TestSplitLine.test_escaped_special_in_double_quotes) ... expected failure 185s test_last_wordbreak_pos (__main__.TestSplitLine.test_last_wordbreak_pos) ... ok 185s test_punctuation (__main__.TestSplitLine.test_punctuation) ... ok 185s test_simple (__main__.TestSplitLine.test_simple) ... ok 185s test_unescaped_special (__main__.TestSplitLine.test_unescaped_special) ... ok 185s test_comp_point (__main__.TestZsh.test_comp_point) ... skipped 'skip' 185s test_completion_environment (__main__.TestZsh.test_completion_environment) ... skipped 'skip' 186s test_continuation (__main__.TestZsh.test_continuation) ... FAIL 187s test_double_quoted_completion (__main__.TestZsh.test_double_quoted_completion) ... ERROR 188s test_exclamation_in_double_quotes (__main__.TestZsh.test_exclamation_in_double_quotes) ... ERROR 188s test_parse_special_characters (__main__.TestZsh.test_parse_special_characters) ... skipped 'skip' 188s test_parse_special_characters_dollar (__main__.TestZsh.test_parse_special_characters_dollar) ... skipped 'skip' 189s test_partial_completion (__main__.TestZsh.test_partial_completion) ... FAIL 190s test_quoted_exact (__main__.TestZsh.test_quoted_exact) ... ERROR 191s test_quoted_space (__main__.TestZsh.test_quoted_space) ... ERROR 191s test_quotes (__main__.TestZsh.test_quotes) ... FAIL 192s test_simple_completion (__main__.TestZsh.test_simple_completion) ... FAIL 193s test_single_quoted_completion (__main__.TestZsh.test_single_quoted_completion) ... ERROR 194s test_single_quotes_in_double_quotes (__main__.TestZsh.test_single_quotes_in_double_quotes) ... ERROR 195s test_single_quotes_in_single_quotes (__main__.TestZsh.test_single_quotes_in_single_quotes) ... ERROR 196s test_special_characters (__main__.TestZsh.test_special_characters) ... FAIL 197s test_special_characters_double_quoted (__main__.TestZsh.test_special_characters_double_quoted) ... FAIL 197s test_special_characters_single_quoted (__main__.TestZsh.test_special_characters_single_quoted) ... FAIL 198s test_unquoted_space (__main__.TestZsh.test_unquoted_space) ... FAIL 199s test_wordbreak_chars (__main__.TestZsh.test_wordbreak_chars) ... FAIL 199s test_comp_point (__main__.TestZshGlobalExplicit.test_comp_point) ... skipped 'skip' 199s test_completion_environment (__main__.TestZshGlobalExplicit.test_completion_environment) ... skipped 'skip' 199s test_console_script_module (__main__.TestZshGlobalExplicit.test_console_script_module) 202s Test completing a console_script for a module. ... FAIL 202s test_console_script_module_wheel (__main__.TestZshGlobalExplicit.test_console_script_module_wheel) 204s Test completing a console_script for a module from a wheel. ... FAIL 204s test_console_script_package (__main__.TestZshGlobalExplicit.test_console_script_package) 206s Test completing a console_script for a package. ... FAIL 206s test_console_script_package_wheel (__main__.TestZshGlobalExplicit.test_console_script_package_wheel) 209s Test completing a console_script for a package from a wheel. ... FAIL 210s test_continuation (__main__.TestZshGlobalExplicit.test_continuation) ... FAIL 210s test_double_quoted_completion (__main__.TestZshGlobalExplicit.test_double_quoted_completion) ... ERROR 211s test_exclamation_in_double_quotes (__main__.TestZshGlobalExplicit.test_exclamation_in_double_quotes) ... ERROR 211s test_parse_special_characters (__main__.TestZshGlobalExplicit.test_parse_special_characters) ... skipped 'skip' 211s test_parse_special_characters_dollar (__main__.TestZshGlobalExplicit.test_parse_special_characters_dollar) ... skipped 'skip' 212s test_partial_completion (__main__.TestZshGlobalExplicit.test_partial_completion) ... FAIL 213s test_python_completion (__main__.TestZshGlobalExplicit.test_python_completion) ... FAIL 214s test_python_filename_completion (__main__.TestZshGlobalExplicit.test_python_filename_completion) ... FAIL 214s test_python_module (__main__.TestZshGlobalExplicit.test_python_module) 215s Test completing a module run with python -m. ... FAIL 215s test_python_not_executable (__main__.TestZshGlobalExplicit.test_python_not_executable) 216s Test completing a script that cannot be run directly. ... FAIL 217s test_python_stuck (__main__.TestZshGlobalExplicit.test_python_stuck) ... ok 218s test_quoted_exact (__main__.TestZshGlobalExplicit.test_quoted_exact) ... ERROR 219s test_quoted_space (__main__.TestZshGlobalExplicit.test_quoted_space) ... ERROR 220s test_quotes (__main__.TestZshGlobalExplicit.test_quotes) ... FAIL 221s test_redirection_completion (__main__.TestZshGlobalExplicit.test_redirection_completion) ... ok 222s test_simple_completion (__main__.TestZshGlobalExplicit.test_simple_completion) ... FAIL 222s test_single_quoted_completion (__main__.TestZshGlobalExplicit.test_single_quoted_completion) ... ERROR 223s test_single_quotes_in_double_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_double_quotes) ... ERROR 224s test_single_quotes_in_single_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_single_quotes) ... ERROR 225s test_special_characters (__main__.TestZshGlobalExplicit.test_special_characters) ... FAIL 226s test_special_characters_double_quoted (__main__.TestZshGlobalExplicit.test_special_characters_double_quoted) ... FAIL 227s test_special_characters_single_quoted (__main__.TestZshGlobalExplicit.test_special_characters_single_quoted) ... FAIL 228s test_unquoted_space (__main__.TestZshGlobalExplicit.test_unquoted_space) ... FAIL 228s test_wordbreak_chars (__main__.TestZshGlobalExplicit.test_wordbreak_chars) ... FAIL 228s test_comp_point (__main__.TestZshGlobalImplicit.test_comp_point) ... skipped 'skip' 228s test_completion_environment (__main__.TestZshGlobalImplicit.test_completion_environment) ... skipped 'skip' 228s test_console_script_module (__main__.TestZshGlobalImplicit.test_console_script_module) 231s Test completing a console_script for a module. ... FAIL 231s test_console_script_module_wheel (__main__.TestZshGlobalImplicit.test_console_script_module_wheel) 234s Test completing a console_script for a module from a wheel. ... FAIL 234s test_console_script_package (__main__.TestZshGlobalImplicit.test_console_script_package) 236s Test completing a console_script for a package. ... FAIL 236s test_console_script_package_wheel (__main__.TestZshGlobalImplicit.test_console_script_package_wheel) 239s Test completing a console_script for a package from a wheel. ... FAIL 240s test_continuation (__main__.TestZshGlobalImplicit.test_continuation) ... FAIL 240s test_double_quoted_completion (__main__.TestZshGlobalImplicit.test_double_quoted_completion) ... ERROR 241s test_exclamation_in_double_quotes (__main__.TestZshGlobalImplicit.test_exclamation_in_double_quotes) ... ERROR 241s test_parse_special_characters (__main__.TestZshGlobalImplicit.test_parse_special_characters) ... skipped 'skip' 241s test_parse_special_characters_dollar (__main__.TestZshGlobalImplicit.test_parse_special_characters_dollar) ... skipped 'skip' 242s test_partial_completion (__main__.TestZshGlobalImplicit.test_partial_completion) ... FAIL 243s test_python_completion (__main__.TestZshGlobalImplicit.test_python_completion) ... FAIL 244s test_python_filename_completion (__main__.TestZshGlobalImplicit.test_python_filename_completion) ... FAIL 244s test_python_module (__main__.TestZshGlobalImplicit.test_python_module) 245s Test completing a module run with python -m. ... FAIL 245s test_python_not_executable (__main__.TestZshGlobalImplicit.test_python_not_executable) 246s Test completing a script that cannot be run directly. ... FAIL 247s test_python_stuck (__main__.TestZshGlobalImplicit.test_python_stuck) ... ok 247s test_quoted_exact (__main__.TestZshGlobalImplicit.test_quoted_exact) ... ERROR 248s test_quoted_space (__main__.TestZshGlobalImplicit.test_quoted_space) ... ERROR 249s test_quotes (__main__.TestZshGlobalImplicit.test_quotes) ... FAIL 250s test_redirection_completion (__main__.TestZshGlobalImplicit.test_redirection_completion) ... ok 251s test_simple_completion (__main__.TestZshGlobalImplicit.test_simple_completion) ... FAIL 251s test_single_quoted_completion (__main__.TestZshGlobalImplicit.test_single_quoted_completion) ... ERROR 252s test_single_quotes_in_double_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_double_quotes) ... ERROR 253s test_single_quotes_in_single_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_single_quotes) ... ERROR 254s test_special_characters (__main__.TestZshGlobalImplicit.test_special_characters) ... FAIL 254s test_special_characters_double_quoted (__main__.TestZshGlobalImplicit.test_special_characters_double_quoted) ... FAIL 255s test_special_characters_single_quoted (__main__.TestZshGlobalImplicit.test_special_characters_single_quoted) ... FAIL 256s test_unquoted_space (__main__.TestZshGlobalImplicit.test_unquoted_space) ... FAIL 257s test_wordbreak_chars (__main__.TestZshGlobalImplicit.test_wordbreak_chars) ... FAIL 257s test_warn (__main__.Warn.test_warn) ... ok 257s 257s ====================================================================== 257s ERROR: test_action_activation (__main__.TestArgcomplete.test_action_activation) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 250, in test_action_activation 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_action_activation_with_subparser (__main__.TestArgcomplete.test_action_activation_with_subparser) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 276, in test_action_activation_with_subparser 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_append_space (__main__.TestArgcomplete.test_append_space) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 802, in test_append_space 257s self.assertEqual(self.run_completer(make_parser(), "prog "), ["bar "]) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_basic_completion (__main__.TestArgcomplete.test_basic_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 150, in test_basic_completion 257s completions = self.run_completer(p, "prog ") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_choices (__main__.TestArgcomplete.test_choices) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 180, in test_choices 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_completers (__main__.TestArgcomplete.test_completers) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 301, in test_completers 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_custom_validator (__main__.TestArgcomplete.test_custom_validator) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 501, in test_custom_validator 257s self.assertEqual(set(self.run_completer(make_parser(), cmd, validator=lambda x, y: False)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_default_completer (__main__.TestArgcomplete.test_default_completer) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 425, in test_default_completer 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_different_validators (__main__.TestArgcomplete.test_different_validators) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 527, in test_different_validators 257s self.assertEqual(set(self.run_completer(make_parser(), cmd, validator=validator)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_display_completions (__main__.TestArgcomplete.test_display_completions) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 565, in test_display_completions 257s completer.rl_complete("", 0) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 583, in rl_complete 257s matches = self._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_display_completions_with_aliases (__main__.TestArgcomplete.test_display_completions_with_aliases) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 577, in test_display_completions_with_aliases 257s completer.rl_complete("", 0) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 583, in rl_complete 257s matches = self._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_escape_special_chars (__main__.TestArgcomplete.test_escape_special_chars) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 833, in test_escape_special_chars 257s self.assertEqual(set(self.run_completer(make_parser(), "prog -1 ")), {r"bar\<\$\>baz "}) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_exclusive (__main__.TestArgcomplete.test_exclusive) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 774, in test_exclusive 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_exclusive_class (__main__.TestArgcomplete.test_exclusive_class) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 823, in test_exclusive_class 257s self.assertEqual(set(self.run_completer(parser, cmd, completer=completer)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 601, in _action_allowed 257s if not CompletionFinder._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_filescompleter_filetype_integration (__main__.TestArgcomplete.test_filescompleter_filetype_integration) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 379, in test_filescompleter_filetype_integration 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_mixed_optional_positional (__main__.TestArgcomplete.test_mixed_optional_positional) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 794, in test_mixed_optional_positional 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_nargs_one_or_more (__main__.TestArgcomplete.test_nargs_one_or_more) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 631, in test_nargs_one_or_more 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_nargs_optional (__main__.TestArgcomplete.test_nargs_optional) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 666, in test_nargs_optional 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_nargs_zero_or_more (__main__.TestArgcomplete.test_nargs_zero_or_more) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 649, in test_nargs_zero_or_more 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_non_ascii (__main__.TestArgcomplete.test_non_ascii) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 483, in test_non_ascii 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_non_str_choices (__main__.TestArgcomplete.test_non_str_choices) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 197, in test_non_str_choices 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_option_help (__main__.TestArgcomplete.test_option_help) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 885, in test_option_help 257s completions = self.run_completer(p, "prog --f", shell="fish") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_optional_long_short_filtering (__main__.TestArgcomplete.test_optional_long_short_filtering) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 754, in test_optional_long_short_filtering 257s result = self.run_completer(make_parser(), cmd, always_complete_options=always_complete_options) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_optional_nargs (__main__.TestArgcomplete.test_optional_nargs) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 698, in test_optional_nargs 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_positional_remainder (__main__.TestArgcomplete.test_positional_remainder) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 718, in test_positional_remainder 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_readline_entry_point (__main__.TestArgcomplete.test_readline_entry_point) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 544, in test_readline_entry_point 257s get_readline_completions(completer, ""), ["-h", "--help", "sojourner", "spirit", "opportunity", "curiosity"] 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 533, in get_readline_completions 257s completion = completer.rl_complete(text, i) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 583, in rl_complete 257s matches = self._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_skipped_completer (__main__.TestArgcomplete.test_skipped_completer) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 723, in test_skipped_completer 257s self.assertEqual(self.run_completer(parser, "prog --foo --"), ["--foo "]) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_subparser_completers (__main__.TestArgcomplete.test_subparser_completers) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 346, in test_subparser_completers 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_subparsers (__main__.TestArgcomplete.test_subparsers) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 452, in test_subparsers 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_suppress_args (__main__.TestArgcomplete.test_suppress_args) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 209, in test_suppress_args 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_suppress_completer (__main__.TestArgcomplete.test_suppress_completer) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 227, in test_suppress_completer 257s self.assertEqual(set(self.run_completer(make_parser(), cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 139, in run_completer 257s completer(parser, output_stream=t, exit_method=sys.exit, **kwargs) 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 174, in __call__ 257s completions = self._get_completions(comp_words, cword_prefix, cword_prequote, last_wordbreak_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_repl_multiple_complete (__main__.TestArgcompleteREPL.test_repl_multiple_complete) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 919, in test_repl_multiple_complete 257s completions = self.run_completer(p, c, "prog ") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 908, in run_completer 257s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_repl_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_parse_after_complete) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 932, in test_repl_parse_after_complete 257s completions = self.run_completer(p, c, "prog ") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 908, in run_completer 257s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_repl_reuse_parser_with_positional (__main__.TestArgcompleteREPL.test_repl_reuse_parser_with_positional) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1001, in test_repl_reuse_parser_with_positional 257s self.assertEqual(set(self.run_completer(p, c, "prog ")), set(["-h", "--help", "aa", "bb", "cc"])) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 908, in run_completer 257s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_repl_subcommand (__main__.TestArgcompleteREPL.test_repl_subcommand) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 992, in test_repl_subcommand 257s self.assertEqual(set(self.run_completer(p, c, cmd)), set(output)) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 908, in run_completer 257s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_repl_subparser_parse_after_complete (__main__.TestArgcompleteREPL.test_repl_subparser_parse_after_complete) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 952, in test_repl_subparser_parse_after_complete 257s completions = self.run_completer(p, c, "prog foo ") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 908, in run_completer 257s completions = completer._get_completions(comp_words, cword_prefix, cword_prequote, first_colon_pos) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 223, in _get_completions 257s completions = self.collect_completions(active_parsers, parsed_args, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 440, in collect_completions 257s completions += self._get_option_completions(active_parser, cword_prefix) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 326, in _get_option_completions 257s if not self._action_allowed(action, parser): 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/argcomplete/finders.py", line 336, in _action_allowed 257s for conflict_action in parser._action_conflicts.get(action, []): 257s ^^^^^^^^^^^^^^^^^^^^^^^^ 257s AttributeError: 'MonkeyPatchedIntrospectiveArgumentParser' object has no attribute '_action_conflicts' 257s 257s ====================================================================== 257s ERROR: test_double_quoted_completion (__main__.TestBash.test_double_quoted_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 257s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic "f 257s 257s ====================================================================== 257s ERROR: test_quoted_exact (__main__.TestBash.test_quoted_exact) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 257s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic "f -- 257s 257s ====================================================================== 257s ERROR: test_quoted_space (__main__.TestBash.test_quoted_space) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 257s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog space "f 257s 257s ====================================================================== 257s ERROR: test_single_quoted_completion (__main__.TestBash.test_single_quoted_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 257s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic 'f 257s 257s ====================================================================== 257s ERROR: test_single_quotes_in_double_quotes (__main__.TestBash.test_single_quotes_in_double_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 257s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog quote "1 257s 257s ====================================================================== 257s ERROR: test_single_quotes_in_single_quotes (__main__.TestBash.test_single_quotes_in_single_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 257s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog quote '1 257s 257s ====================================================================== 257s ERROR: test_double_quoted_completion (__main__.TestBashGlobal.test_double_quoted_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 257s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic "f 257s 257s ====================================================================== 257s ERROR: test_quoted_exact (__main__.TestBashGlobal.test_quoted_exact) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 257s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic "f -- 257s 257s ====================================================================== 257s ERROR: test_quoted_space (__main__.TestBashGlobal.test_quoted_space) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 257s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog space "f 257s 257s ====================================================================== 257s ERROR: test_single_quoted_completion (__main__.TestBashGlobal.test_single_quoted_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 257s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic 'f 257s 257s ====================================================================== 257s ERROR: test_single_quotes_in_double_quotes (__main__.TestBashGlobal.test_single_quotes_in_double_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 257s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog quote "1 257s 257s ====================================================================== 257s ERROR: test_single_quotes_in_single_quotes (__main__.TestBashGlobal.test_single_quotes_in_single_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 257s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog quote '1 257s 257s ====================================================================== 257s ERROR: test_double_quoted_completion (__main__.TestZsh.test_double_quoted_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 257s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic "f 257s 257s ====================================================================== 257s ERROR: test_exclamation_in_double_quotes (__main__.TestZsh.test_exclamation_in_double_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1216, in test_exclamation_in_double_quotes 257s self.assertEqual(self.sh.run_command('prog spec "x\t'), "x!x\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog spec "x 257s 257s ====================================================================== 257s ERROR: test_quoted_exact (__main__.TestZsh.test_quoted_exact) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 257s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic "f -- 257s 257s ====================================================================== 257s ERROR: test_quoted_space (__main__.TestZsh.test_quoted_space) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 257s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog space "f 257s 257s ====================================================================== 257s ERROR: test_single_quoted_completion (__main__.TestZsh.test_single_quoted_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 257s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic 'f 257s 257s ====================================================================== 257s ERROR: test_single_quotes_in_double_quotes (__main__.TestZsh.test_single_quotes_in_double_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 257s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog quote "1 257s 257s ====================================================================== 257s ERROR: test_single_quotes_in_single_quotes (__main__.TestZsh.test_single_quotes_in_single_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 257s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog quote '1 257s 257s ====================================================================== 257s ERROR: test_double_quoted_completion (__main__.TestZshGlobalExplicit.test_double_quoted_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 257s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic "f 257s 257s ====================================================================== 257s ERROR: test_exclamation_in_double_quotes (__main__.TestZshGlobalExplicit.test_exclamation_in_double_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1216, in test_exclamation_in_double_quotes 257s self.assertEqual(self.sh.run_command('prog spec "x\t'), "x!x\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog spec "x 257s 257s ====================================================================== 257s ERROR: test_quoted_exact (__main__.TestZshGlobalExplicit.test_quoted_exact) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 257s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic "f -- 257s 257s ====================================================================== 257s ERROR: test_quoted_space (__main__.TestZshGlobalExplicit.test_quoted_space) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 257s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog space "f 257s 257s ====================================================================== 257s ERROR: test_single_quoted_completion (__main__.TestZshGlobalExplicit.test_single_quoted_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 257s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic 'f 257s 257s ====================================================================== 257s ERROR: test_single_quotes_in_double_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_double_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 257s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog quote "1 257s 257s ====================================================================== 257s ERROR: test_single_quotes_in_single_quotes (__main__.TestZshGlobalExplicit.test_single_quotes_in_single_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 257s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog quote '1 257s 257s ====================================================================== 257s ERROR: test_double_quoted_completion (__main__.TestZshGlobalImplicit.test_double_quoted_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1174, in test_double_quoted_completion 257s self.assertEqual(self.sh.run_command('prog basic "f\t'), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic "f 257s 257s ====================================================================== 257s ERROR: test_exclamation_in_double_quotes (__main__.TestZshGlobalImplicit.test_exclamation_in_double_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1216, in test_exclamation_in_double_quotes 257s self.assertEqual(self.sh.run_command('prog spec "x\t'), "x!x\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog spec "x 257s 257s ====================================================================== 257s ERROR: test_quoted_exact (__main__.TestZshGlobalImplicit.test_quoted_exact) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1191, in test_quoted_exact 257s self.assertEqual(self.sh.run_command('prog basic "f\t--'), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic "f -- 257s 257s ====================================================================== 257s ERROR: test_quoted_space (__main__.TestZshGlobalImplicit.test_quoted_space) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1180, in test_quoted_space 257s self.assertEqual(self.sh.run_command('prog space "f\t'), "foo bar\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog space "f 257s 257s ====================================================================== 257s ERROR: test_single_quoted_completion (__main__.TestZshGlobalImplicit.test_single_quoted_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1171, in test_single_quoted_completion 257s self.assertEqual(self.sh.run_command("prog basic 'f\t"), "foo\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog basic 'f 257s 257s ====================================================================== 257s ERROR: test_single_quotes_in_double_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_double_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1223, in test_single_quotes_in_double_quotes 257s self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog quote "1 257s 257s ====================================================================== 257s ERROR: test_single_quotes_in_single_quotes (__main__.TestZshGlobalImplicit.test_single_quotes_in_single_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1228, in test_single_quotes_in_single_quotes 257s self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 51, in run_command 257s res = super().run_command(command, **kwargs) 257s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 257s File "/usr/lib/python3/dist-packages/pexpect/replwrap.py", line 107, in run_command 257s raise ValueError("Continuation prompt found - input was incomplete:\n" 257s ValueError: Continuation prompt found - input was incomplete: 257s prog quote '1 257s 257s ====================================================================== 257s FAIL: test_comp_point (__main__.TestBash.test_comp_point) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1245, in test_comp_point 257s self.assertEqual(self.sh.run_command("prog point hi\t"), "13\r\n") 257s AssertionError: 'hi\r\n' != '13\r\n' 257s - hi 257s + 13 257s 257s 257s ====================================================================== 257s FAIL: test_completion_environment (__main__.TestBash.test_completion_environment) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1240, in test_completion_environment 257s self.assertEqual(self.sh.run_command("prog env o\t"), "ok\r\n") 257s AssertionError: 'o\r\n' != 'ok\r\n' 257s - o 257s + ok 257s ? + 257s 257s 257s ====================================================================== 257s FAIL: test_continuation (__main__.TestBash.test_continuation) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 257s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_debug_output (__main__.TestBash.test_debug_output) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1298, in test_debug_output 257s self.assertEqual(self.sh.run_command("prog debug f\t"), "foo\r\n") 257s AssertionError: 'f\r\n' != 'foo\r\n' 257s - f 257s + foo 257s ? ++ 257s 257s 257s ====================================================================== 257s FAIL: test_nounset (__main__.TestBash.test_nounset) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1315, in test_nounset 257s self.test_simple_completion() 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 257s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_one_space_after_exact (__main__.TestBash.test_one_space_after_exact) 257s Test exactly one space is appended after an exact match. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1295, in test_one_space_after_exact 257s self.assertEqual(result, "prog basic foo \r\n") 257s AssertionError: 'prog basic f\r\n' != 'prog basic foo \r\n' 257s - prog basic f 257s + prog basic foo 257s ? +++ 257s 257s 257s ====================================================================== 257s FAIL: test_parse_special_characters (__main__.TestBash.test_parse_special_characters) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1205, in test_parse_special_characters 257s self.assertEqual(self.sh.run_command("prog spec d$e$\tf"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'd' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'd' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_partial_completion (__main__.TestBash.test_partial_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 257s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz)\r\n" != 'bar\r\n' 257s + bar 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_quotes (__main__.TestBash.test_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 257s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 257s AssertionError: 'usage: prog quote [-h] {1\'1,2"2}\r\nprog quote: error: argument arg: invalid choice: \'1\' (choose from 1\'1, 2"2)\r\n' != "1'1\r\n" 257s + 1'1 257s - usage: prog quote [-h] {1'1,2"2} 257s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 257s 257s 257s ====================================================================== 257s FAIL: test_simple_completion (__main__.TestBash.test_simple_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 257s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters (__main__.TestBash.test_special_characters) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 257s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters_double_quoted (__main__.TestBash.test_special_characters_double_quoted) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 257s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters_single_quoted (__main__.TestBash.test_special_characters_single_quoted) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 257s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_temp_file (__main__.TestBash.test_temp_file) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1307, in test_temp_file 257s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_unquoted_space (__main__.TestBash.test_unquoted_space) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 257s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 257s AssertionError: "usage: prog space [-h] {foo bar,baz}\r\nprog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz)\r\n" != 'foo bar\r\n' 257s + foo bar 257s - usage: prog space [-h] {foo bar,baz} 257s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_wordbreak_chars (__main__.TestBash.test_wordbreak_chars) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 257s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 257s AssertionError: "usage: prog break [-h] {a:b:c,a:b:d}\r\nprog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d)\r\n" != 'a:b:c\r\n' 257s + a:b:c 257s - usage: prog break [-h] {a:b:c,a:b:d} 257s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 257s 257s 257s ====================================================================== 257s FAIL: test_comp_point (__main__.TestBashGlobal.test_comp_point) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1245, in test_comp_point 257s self.assertEqual(self.sh.run_command("prog point hi\t"), "13\r\n") 257s AssertionError: 'hi\r\n' != '13\r\n' 257s - hi 257s + 13 257s 257s 257s ====================================================================== 257s FAIL: test_completion_environment (__main__.TestBashGlobal.test_completion_environment) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1240, in test_completion_environment 257s self.assertEqual(self.sh.run_command("prog env o\t"), "ok\r\n") 257s AssertionError: 'o\r\n' != 'ok\r\n' 257s - o 257s + ok 257s ? + 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_module (__main__.TestBashGlobal.test_console_script_module) 257s Test completing a console_script for a module. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1401, in test_console_script_module 257s self._test_console_script() 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-module [-h] {arg} 257s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_module_wheel (__main__.TestBashGlobal.test_console_script_module_wheel) 257s Test completing a console_script for a module from a wheel. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1409, in test_console_script_module_wheel 257s self._test_console_script(wheel=True) 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-module [-h] {arg} 257s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_package (__main__.TestBashGlobal.test_console_script_package) 257s Test completing a console_script for a package. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1405, in test_console_script_package 257s self._test_console_script(package=True) 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-package [-h] {arg} 257s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_package_wheel (__main__.TestBashGlobal.test_console_script_package_wheel) 257s Test completing a console_script for a package from a wheel. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1413, in test_console_script_package_wheel 257s self._test_console_script(package=True, wheel=True) 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-package [-h] {arg} 257s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_continuation (__main__.TestBashGlobal.test_continuation) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 257s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_debug_output (__main__.TestBashGlobal.test_debug_output) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1298, in test_debug_output 257s self.assertEqual(self.sh.run_command("prog debug f\t"), "foo\r\n") 257s AssertionError: 'f\r\n' != 'foo\r\n' 257s - f 257s + foo 257s ? ++ 257s 257s 257s ====================================================================== 257s FAIL: test_nounset (__main__.TestBashGlobal.test_nounset) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1315, in test_nounset 257s self.test_simple_completion() 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 257s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_one_space_after_exact (__main__.TestBashGlobal.test_one_space_after_exact) 257s Test exactly one space is appended after an exact match. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1295, in test_one_space_after_exact 257s self.assertEqual(result, "prog basic foo \r\n") 257s AssertionError: 'prog basic f\r\n' != 'prog basic foo \r\n' 257s - prog basic f 257s + prog basic foo 257s ? +++ 257s 257s 257s ====================================================================== 257s FAIL: test_parse_special_characters (__main__.TestBashGlobal.test_parse_special_characters) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1205, in test_parse_special_characters 257s self.assertEqual(self.sh.run_command("prog spec d$e$\tf"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'd' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'd' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_partial_completion (__main__.TestBashGlobal.test_partial_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 257s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz)\r\n" != 'bar\r\n' 257s + bar 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_completion (__main__.TestBashGlobal.test_python_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1349, in test_python_completion 257s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_filename_completion (__main__.TestBashGlobal.test_python_filename_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1353, in test_python_filename_completion 257s self.assertEqual(self.sh.run_command("python3 ./pro\tbasic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_module (__main__.TestBashGlobal.test_python_module) 257s Test completing a module run with python -m. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1379, in test_python_module 257s self.assertEqual(self.sh.run_command("python3 -m package.prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog.py basic [-h] {foo,bar,baz}\r\nprog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog.py basic [-h] {foo,bar,baz} 257s - prog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_not_executable (__main__.TestBashGlobal.test_python_not_executable) 257s Test completing a script that cannot be run directly. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1369, in test_python_not_executable 257s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_quotes (__main__.TestBashGlobal.test_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 257s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 257s AssertionError: 'usage: prog quote [-h] {1\'1,2"2}\r\nprog quote: error: argument arg: invalid choice: \'1\' (choose from 1\'1, 2"2)\r\n' != "1'1\r\n" 257s + 1'1 257s - usage: prog quote [-h] {1'1,2"2} 257s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 257s 257s 257s ====================================================================== 257s FAIL: test_simple_completion (__main__.TestBashGlobal.test_simple_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 257s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters (__main__.TestBashGlobal.test_special_characters) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 257s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters_double_quoted (__main__.TestBashGlobal.test_special_characters_double_quoted) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 257s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters_single_quoted (__main__.TestBashGlobal.test_special_characters_single_quoted) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 257s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_temp_file (__main__.TestBashGlobal.test_temp_file) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1307, in test_temp_file 257s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_unquoted_space (__main__.TestBashGlobal.test_unquoted_space) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 257s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 257s AssertionError: "usage: prog space [-h] {foo bar,baz}\r\nprog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz)\r\n" != 'foo bar\r\n' 257s + foo bar 257s - usage: prog space [-h] {foo bar,baz} 257s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_wordbreak_chars (__main__.TestBashGlobal.test_wordbreak_chars) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 257s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 257s AssertionError: "usage: prog break [-h] {a:b:c,a:b:d}\r\nprog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d)\r\n" != 'a:b:c\r\n' 257s + a:b:c 257s - usage: prog break [-h] {a:b:c,a:b:d} 257s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 257s 257s 257s ====================================================================== 257s FAIL: test_continuation (__main__.TestZsh.test_continuation) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 257s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_partial_completion (__main__.TestZsh.test_partial_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 257s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz)\r\n" != 'bar\r\n' 257s + bar 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_quotes (__main__.TestZsh.test_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 257s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 257s AssertionError: 'usage: prog quote [-h] {1\'1,2"2}\r\nprog quote: error: argument arg: invalid choice: \'1\' (choose from 1\'1, 2"2)\r\n' != "1'1\r\n" 257s + 1'1 257s - usage: prog quote [-h] {1'1,2"2} 257s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 257s 257s 257s ====================================================================== 257s FAIL: test_simple_completion (__main__.TestZsh.test_simple_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 257s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters (__main__.TestZsh.test_special_characters) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 257s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters_double_quoted (__main__.TestZsh.test_special_characters_double_quoted) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 257s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters_single_quoted (__main__.TestZsh.test_special_characters_single_quoted) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 257s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_unquoted_space (__main__.TestZsh.test_unquoted_space) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 257s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 257s AssertionError: "usage: prog space [-h] {foo bar,baz}\r\nprog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz)\r\n" != 'foo bar\r\n' 257s + foo bar 257s - usage: prog space [-h] {foo bar,baz} 257s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_wordbreak_chars (__main__.TestZsh.test_wordbreak_chars) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 257s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 257s AssertionError: "usage: prog break [-h] {a:b:c,a:b:d}\r\nprog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d)\r\n" != 'a:b:c\r\n' 257s + a:b:c 257s - usage: prog break [-h] {a:b:c,a:b:d} 257s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_module (__main__.TestZshGlobalExplicit.test_console_script_module) 257s Test completing a console_script for a module. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1401, in test_console_script_module 257s self._test_console_script() 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-module [-h] {arg} 257s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_module_wheel (__main__.TestZshGlobalExplicit.test_console_script_module_wheel) 257s Test completing a console_script for a module from a wheel. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1409, in test_console_script_module_wheel 257s self._test_console_script(wheel=True) 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-module [-h] {arg} 257s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_package (__main__.TestZshGlobalExplicit.test_console_script_package) 257s Test completing a console_script for a package. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1405, in test_console_script_package 257s self._test_console_script(package=True) 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-package [-h] {arg} 257s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_package_wheel (__main__.TestZshGlobalExplicit.test_console_script_package_wheel) 257s Test completing a console_script for a package from a wheel. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1413, in test_console_script_package_wheel 257s self._test_console_script(package=True, wheel=True) 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-package [-h] {arg} 257s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_continuation (__main__.TestZshGlobalExplicit.test_continuation) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 257s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_partial_completion (__main__.TestZshGlobalExplicit.test_partial_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 257s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz)\r\n" != 'bar\r\n' 257s + bar 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_completion (__main__.TestZshGlobalExplicit.test_python_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1349, in test_python_completion 257s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_filename_completion (__main__.TestZshGlobalExplicit.test_python_filename_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1353, in test_python_filename_completion 257s self.assertEqual(self.sh.run_command("python3 ./pro\tbasic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_module (__main__.TestZshGlobalExplicit.test_python_module) 257s Test completing a module run with python -m. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1379, in test_python_module 257s self.assertEqual(self.sh.run_command("python3 -m package.prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog.py basic [-h] {foo,bar,baz}\r\nprog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog.py basic [-h] {foo,bar,baz} 257s - prog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_not_executable (__main__.TestZshGlobalExplicit.test_python_not_executable) 257s Test completing a script that cannot be run directly. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1369, in test_python_not_executable 257s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_quotes (__main__.TestZshGlobalExplicit.test_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 257s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 257s AssertionError: 'usage: prog quote [-h] {1\'1,2"2}\r\nprog quote: error: argument arg: invalid choice: \'1\' (choose from 1\'1, 2"2)\r\n' != "1'1\r\n" 257s + 1'1 257s - usage: prog quote [-h] {1'1,2"2} 257s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 257s 257s 257s ====================================================================== 257s FAIL: test_simple_completion (__main__.TestZshGlobalExplicit.test_simple_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 257s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters (__main__.TestZshGlobalExplicit.test_special_characters) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 257s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters_double_quoted (__main__.TestZshGlobalExplicit.test_special_characters_double_quoted) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 257s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters_single_quoted (__main__.TestZshGlobalExplicit.test_special_characters_single_quoted) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 257s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_unquoted_space (__main__.TestZshGlobalExplicit.test_unquoted_space) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 257s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 257s AssertionError: "usage: prog space [-h] {foo bar,baz}\r\nprog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz)\r\n" != 'foo bar\r\n' 257s + foo bar 257s - usage: prog space [-h] {foo bar,baz} 257s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_wordbreak_chars (__main__.TestZshGlobalExplicit.test_wordbreak_chars) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 257s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 257s AssertionError: "usage: prog break [-h] {a:b:c,a:b:d}\r\nprog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d)\r\n" != 'a:b:c\r\n' 257s + a:b:c 257s - usage: prog break [-h] {a:b:c,a:b:d} 257s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_module (__main__.TestZshGlobalImplicit.test_console_script_module) 257s Test completing a console_script for a module. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1401, in test_console_script_module 257s self._test_console_script() 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-module [-h] {arg} 257s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_module_wheel (__main__.TestZshGlobalImplicit.test_console_script_module_wheel) 257s Test completing a console_script for a module from a wheel. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1409, in test_console_script_module_wheel 257s self._test_console_script(wheel=True) 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-module [-h] {arg}\r\ntest-module: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-module [-h] {arg} 257s - test-module: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_package (__main__.TestZshGlobalImplicit.test_console_script_package) 257s Test completing a console_script for a package. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1405, in test_console_script_package 257s self._test_console_script(package=True) 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-package [-h] {arg} 257s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_console_script_package_wheel (__main__.TestZshGlobalImplicit.test_console_script_package_wheel) 257s Test completing a console_script for a package from a wheel. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1413, in test_console_script_package_wheel 257s self._test_console_script(package=True, wheel=True) 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1397, in _test_console_script 257s self.assertEqual(self.sh.run_command(command), "arg\r\n") 257s AssertionError: "usage: test-package [-h] {arg}\r\ntest-package: error: argument arg: invalid choice: 'a' (choose from arg)\r\n" != 'arg\r\n' 257s + arg 257s - usage: test-package [-h] {arg} 257s - test-package: error: argument arg: invalid choice: 'a' (choose from arg) 257s 257s 257s ====================================================================== 257s FAIL: test_continuation (__main__.TestZshGlobalImplicit.test_continuation) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1184, in test_continuation 257s self.assertEqual(self.sh.run_command("prog basic f\t--"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f--' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_partial_completion (__main__.TestZshGlobalImplicit.test_partial_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1168, in test_partial_completion 257s self.assertEqual(self.sh.run_command("prog basic b\tr"), "bar\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz)\r\n" != 'bar\r\n' 257s + bar 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'br' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_completion (__main__.TestZshGlobalImplicit.test_python_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1349, in test_python_completion 257s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_filename_completion (__main__.TestZshGlobalImplicit.test_python_filename_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1353, in test_python_filename_completion 257s self.assertEqual(self.sh.run_command("python3 ./pro\tbasic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_module (__main__.TestZshGlobalImplicit.test_python_module) 257s Test completing a module run with python -m. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1379, in test_python_module 257s self.assertEqual(self.sh.run_command("python3 -m package.prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog.py basic [-h] {foo,bar,baz}\r\nprog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog.py basic [-h] {foo,bar,baz} 257s - prog.py basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_python_not_executable (__main__.TestZshGlobalImplicit.test_python_not_executable) 257s Test completing a script that cannot be run directly. 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1369, in test_python_not_executable 257s self.assertEqual(self.sh.run_command("python3 ./prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_quotes (__main__.TestZshGlobalImplicit.test_quotes) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1219, in test_quotes 257s self.assertEqual(self.sh.run_command("prog quote 1\t"), "1'1\r\n") 257s AssertionError: 'usage: prog quote [-h] {1\'1,2"2}\r\nprog quote: error: argument arg: invalid choice: \'1\' (choose from 1\'1, 2"2)\r\n' != "1'1\r\n" 257s + 1'1 257s - usage: prog quote [-h] {1'1,2"2} 257s - prog quote: error: argument arg: invalid choice: '1' (choose from 1'1, 2"2) 257s 257s 257s ====================================================================== 257s FAIL: test_simple_completion (__main__.TestZshGlobalImplicit.test_simple_completion) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1165, in test_simple_completion 257s self.assertEqual(self.sh.run_command("prog basic f\t"), "foo\r\n") 257s AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\nprog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz)\r\n" != 'foo\r\n' 257s + foo 257s - usage: prog basic [-h] {foo,bar,baz} 257s - prog basic: error: argument arg: invalid choice: 'f' (choose from foo, bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters (__main__.TestZshGlobalImplicit.test_special_characters) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1194, in test_special_characters 257s self.assertEqual(self.sh.run_command("prog spec d\tf"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters_double_quoted (__main__.TestZshGlobalImplicit.test_special_characters_double_quoted) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1202, in test_special_characters_double_quoted 257s self.assertEqual(self.sh.run_command('prog spec "d\tf"'), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_special_characters_single_quoted (__main__.TestZshGlobalImplicit.test_special_characters_single_quoted) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1199, in test_special_characters_single_quoted 257s self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), "d$e$f\r\n") 257s AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\\y}\r\nprog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\\y)\r\n" != 'd$e$f\r\n' 257s + d$e$f 257s - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} 257s - prog spec: error: argument arg: invalid choice: 'df' (choose from d$e$f, d$e$g, x!x, y\y) 257s 257s 257s ====================================================================== 257s FAIL: test_unquoted_space (__main__.TestZshGlobalImplicit.test_unquoted_space) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1177, in test_unquoted_space 257s self.assertEqual(self.sh.run_command("prog space f\t"), "foo bar\r\n") 257s AssertionError: "usage: prog space [-h] {foo bar,baz}\r\nprog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz)\r\n" != 'foo bar\r\n' 257s + foo bar 257s - usage: prog space [-h] {foo bar,baz} 257s - prog space: error: argument arg: invalid choice: 'f' (choose from foo bar, baz) 257s 257s 257s ====================================================================== 257s FAIL: test_wordbreak_chars (__main__.TestZshGlobalImplicit.test_wordbreak_chars) 257s ---------------------------------------------------------------------- 257s Traceback (most recent call last): 257s File "/tmp/autopkgtest.68aqJe/autopkgtest_tmp/test/test.py", line 1231, in test_wordbreak_chars 257s self.assertEqual(self.sh.run_command("prog break a\tc"), "a:b:c\r\n") 257s AssertionError: "usage: prog break [-h] {a:b:c,a:b:d}\r\nprog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d)\r\n" != 'a:b:c\r\n' 257s + a:b:c 257s - usage: prog break [-h] {a:b:c,a:b:d} 257s - prog break: error: argument arg: invalid choice: 'ac' (choose from a:b:c, a:b:d) 257s 257s 257s ---------------------------------------------------------------------- 257s Ran 189 tests in 123.053s 257s 257s FAILED (failures=83, errors=69, skipped=12, expected failures=5) 269s autopkgtest [21:28:09]: test unittests: -----------------------] 270s autopkgtest [21:28:10]: test unittests: - - - - - - - - - - results - - - - - - - - - - 270s unittests FAIL non-zero exit status 1 270s autopkgtest [21:28:10]: @@@@@@@@@@@@@@@@@@@@ summary 270s unittests FAIL non-zero exit status 1 282s virt: nova [W] Using flock in prodstack6-ppc64el 282s virt: Creating nova instance adt-plucky-ppc64el-python-argcomplete-20241115-212339-juju-7f2275-prod-proposed-migration-environment-2-9f45bca8-3d54-4411-8126-c3834376708a from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)...