0s autopkgtest [08:30:54]: starting date and time: 2025-12-03 08:30:54+0000 0s autopkgtest [08:30:54]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [08:30:54]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.50kdtwjt/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults --apt-upgrade clap --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.9-2 -- lxd -r lxd-armhf-10.145.243.188 lxd-armhf-10.145.243.188:autopkgtest/ubuntu/resolute/armhf 31s autopkgtest [08:31:25]: testbed dpkg architecture: armhf 33s autopkgtest [08:31:27]: testbed apt version: 3.1.12 40s autopkgtest [08:31:34]: @@@@@@@@@@@@@@@@@@@@ test bed setup 44s autopkgtest [08:31:38]: testbed release detected to be: None 58s autopkgtest [08:31:52]: updating testbed package index (apt update) 60s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 61s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 61s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 61s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 61s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.2 kB] 61s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [981 kB] 61s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [147 kB] 61s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [186 kB] 61s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [678 kB] 61s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [8468 B] 61s Get:11 http://ftpmaster.internal/ubuntu resolute/main Sources [1414 kB] 62s Get:12 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.4 MB] 66s Get:13 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [305 kB] 66s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1366 kB] 66s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.5 MB] 67s Get:16 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [175 kB] 70s Fetched 42.6 MB in 9s (4628 kB/s) 71s Reading package lists... 77s autopkgtest [08:32:11]: upgrading testbed (apt dist-upgrade and autopurge) 79s Reading package lists... 80s Building dependency tree... 80s Reading state information... 80s Calculating upgrade... 81s The following packages will be upgraded: 81s libpython3-stdlib python3 python3-gdbm python3-minimal 82s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 82s Need to get 72.9 kB of archives. 82s After this operation, 2048 B of additional disk space will be used. 82s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.9-2 [28.1 kB] 82s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.9-2 [23.0 kB] 82s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.9-2 [10.8 kB] 82s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-gdbm armhf 3.13.9-2 [11.0 kB] 83s Fetched 72.9 kB in 2s (45.7 kB/s) 83s (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 ... 65928 files and directories currently installed.) 83s Preparing to unpack .../python3-minimal_3.13.9-2_armhf.deb ... 83s Unpacking python3-minimal (3.13.9-2) over (3.13.7-1) ... 83s Setting up python3-minimal (3.13.9-2) ... 83s (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 ... 65928 files and directories currently installed.) 83s Preparing to unpack .../python3_3.13.9-2_armhf.deb ... 84s Unpacking python3 (3.13.9-2) over (3.13.7-1) ... 84s Preparing to unpack .../libpython3-stdlib_3.13.9-2_armhf.deb ... 84s Unpacking libpython3-stdlib:armhf (3.13.9-2) over (3.13.7-1) ... 84s Preparing to unpack .../python3-gdbm_3.13.9-2_armhf.deb ... 84s Unpacking python3-gdbm (3.13.9-2) over (3.13.9-1) ... 84s Setting up python3-gdbm (3.13.9-2) ... 84s Setting up libpython3-stdlib:armhf (3.13.9-2) ... 84s Setting up python3 (3.13.9-2) ... 85s Processing triggers for man-db (2.13.1-1) ... 87s Reading package lists... 87s Building dependency tree... 87s Reading state information... 88s Solving dependencies... 88s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 90s autopkgtest [08:32:24]: rebooting testbed after setup commands that affected boot 146s autopkgtest [08:33:20]: testbed running kernel: Linux 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:00:09 UTC 2 179s autopkgtest [08:33:53]: @@@@@@@@@@@@@@@@@@@@ apt-source clap 193s Get:1 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (dsc) [1943 B] 193s Get:2 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (tar) [50.7 kB] 193s Get:3 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (diff) [9624 B] 194s gpgv: Signature made Mon Aug 8 17:31:37 2022 UTC 194s gpgv: using RSA key 97304066E5AEFAC22683D03D4FB3B4D37EF63B2E 194s gpgv: Can't check signature: No public key 194s dpkg-source: warning: cannot verify inline signature for ./clap_0.14.0-3.dsc: no acceptable signature found 194s autopkgtest [08:34:08]: testing package clap version 0.14.0-3 196s autopkgtest [08:34:10]: build not needed 199s autopkgtest [08:34:13]: test verify.sh: preparing testbed 200s Reading package lists... 201s Building dependency tree... 201s Reading state information... 201s Solving dependencies... 201s The following NEW packages will be installed: 201s python3-clap python3-iniconfig python3-pluggy python3-pytest 203s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 203s Need to get 307 kB of archives. 203s After this operation, 1511 kB of additional disk space will be used. 203s Get:1 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-clap all 0.14.0-3 [26.3 kB] 203s Get:2 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-iniconfig all 2.1.0-1 [6840 B] 203s Get:3 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pluggy all 1.6.0-1 [21.0 kB] 203s Get:4 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pytest all 8.3.5-2 [252 kB] 204s Fetched 307 kB in 2s (174 kB/s) 204s Selecting previously unselected package python3-clap. 204s (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 ... 65928 files and directories currently installed.) 204s Preparing to unpack .../python3-clap_0.14.0-3_all.deb ... 204s Unpacking python3-clap (0.14.0-3) ... 204s Selecting previously unselected package python3-iniconfig. 204s Preparing to unpack .../python3-iniconfig_2.1.0-1_all.deb ... 204s Unpacking python3-iniconfig (2.1.0-1) ... 204s Selecting previously unselected package python3-pluggy. 204s Preparing to unpack .../python3-pluggy_1.6.0-1_all.deb ... 204s Unpacking python3-pluggy (1.6.0-1) ... 204s Selecting previously unselected package python3-pytest. 204s Preparing to unpack .../python3-pytest_8.3.5-2_all.deb ... 204s Unpacking python3-pytest (8.3.5-2) ... 204s Setting up python3-iniconfig (2.1.0-1) ... 204s Setting up python3-clap (0.14.0-3) ... 204s Setting up python3-pluggy (1.6.0-1) ... 204s Setting up python3-pytest (8.3.5-2) ... 205s Processing triggers for man-db (2.13.1-1) ... 215s autopkgtest [08:34:29]: test verify.sh: [----------------------- 219s ....s......checking: [] 219s checking: ['0'] 219s checking: ['0', '1'] 219s checking: ['0', '1', '2'] 219s checking range (2,) with operands: ['0', '1'] (argv: ['--foo', '-b', '0', '1']) 219s checking range (2,) with operands: ['0', '1', '2'] (argv: ['--foo', '-b', '--', '0', '1', '2']) 219s checking range (2,) with operands: ['0', '1', '2', '3'] (argv: ['--foo', '-b', '--', '0', '1', '2', '3']) 219s fail checking range (2,) with operands: [] (argv: ['--foo', '-b']) 219s fail checking range (2,) with operands: ['0'] (argv: ['--foo', '-b', '0']) 219s checking range (2, None) with operands: ['0', '1'] (argv: ['--foo', '-b', '0', '1']) 219s checking range (2, None) with operands: ['0', '1', '2'] (argv: ['--foo', '-b', '--', '0', '1', '2']) 219s checking range (2, None) with operands: ['0', '1', '2', '3'] (argv: ['--foo', '-b', '--', '0', '1', '2', '3']) 219s fail checking range (2, None) with operands: [] (argv: ['--foo', '-b']) 219s fail checking range (2, None) with operands: ['0'] (argv: ['--foo', '-b', '0']) 219s checking range (-2,) with input: [] 219s checking range (-2,) with input: ['0'] 219s checking range (-2,) with input: ['0', '1'] 219s fail checking range (-2,) with input: ['0', '1', '2'] 219s fail checking range (-2,) with input: ['0', '1', '2', '3'] 219s fail checking range (-2,) with input: ['0', '1', '2', '3', '4'] 219s checking range (0, 2) with input: [] 219s checking range (0, 2) with input: ['0'] 219s checking range (0, 2) with input: ['0', '1'] 219s fail checking range (0, 2) with input: ['0', '1', '2'] 219s fail checking range (0, 2) with input: ['0', '1', '2', '3'] 219s fail checking range (0, 2) with input: ['0', '1', '2', '3', '4'] 219s checking range (None, 2) with input: [] 219s checking range (None, 2) with input: ['0'] 219s checking range (None, 2) with input: ['0', '1'] 219s fail checking range (None, 2) with input: ['0', '1', '2'] 219s fail checking range (None, 2) with input: ['0', '1', '2', '3'] 219s fail checking range (None, 2) with input: ['0', '1', '2', '3', '4'] 219s checking range (2, 4) with input: ['0', '1'] 219s checking range (2, 4) with input: ['0', '1', '2'] 219s checking range (2, 4) with input: ['0', '1', '2', '3'] 219s fail checking range (2, 4) with input: [] 219s fail checking range (2, 4) with input: ['0'] 219s fail checking range (2, 4) with input: ['0', '1', '2', '3', '4'] 219s checking range (0, 0) with input: [] 219s checking range (0, 0) with input: [] 219s fail checking range (0, 0) with input: ['0'] 219s fail checking range (0, 0) with input: ['0', '1'] 219s fail checking range (0, 0) with input: ['0'] 219s fail checking range (0, 0) with input: ['0', '1'] 219s checking range based only on list of types (2) with input: ['0', '1'] 219s checking range based only on list of types (2) with input: ['0', '1', '2', '3'] 219s checking range based only on list of types (2) with input: ['0', '1', '2', '3', '4', '5'] 219s fail checking range based only on list of types (2) with input: [] 219s fail checking range based only on list of types (2) with input: ['0'] 219s fail checking range based only on list of types (2) with input: ['0', '1', '2'] 219s fail checking range based only on list of types (2) with input: ['0', '1', '2', '3', '4'] 219s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: '--bar' is accepted option 219s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: '--bar' is accepted option 219s checking: --foo --bar 219s checking: -f --bar 219s checking: --foo -b 219s checking: -f -b 219s checking: --foo -- --bar 219s checking: -f -- --bar 219s checking: --foo -- -b 219s checking: -f -- -b 219s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'baz' is not accepted option 219s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'baz' is not accepted option 219s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'y' is not accepted option 219s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'y' is not accepted option 219s checking: --foo --bar --baz 219s checking: -f --bar --baz 219s checking: --foo -b --baz 219s checking: --foo --bar -B 219s checking: -f -b --baz 219s checking: -f --bar -B 219s checking: --foo -b -B 219s checking: -f -b -B 219s checking: --foo --bar 42 --baz 219s checking: --foo -b 42 --baz 219s checking: --foo --bar 42 -B 219s checking: --foo -b 42 -B 219s checking: --foo --bar 42 219s checking: --foo -b 42 219s checking: --foo --baz 219s checking: --foo -B 219s a 219s A 219s 0 219s - 219s checking argv "--foo --bar" with input part: "--foo --bar" 219s checking argv "-f --bar spam --baz" with input part: "-f --bar" 219s checking argv "-f --bar 0 --baz" with input part: "-f --bar" 219s checking argv "-f --bar -- --baz" with input part: "-f --bar" 219s string "-a" should be considered an option string 219s string "--foo" should be considered an option string 219s string "--foo=bar" should be considered an option string 219s string "-abc" should be considered an option string 219s string "a" should not be considered an option string 219s string "foo" should not be considered an option string 219s string "--a" should not be considered an option string 219s string "-a=foo" should not be considered an option string 219s string "--" should not be considered an option string 219s string "-" should not be considered an option string 219s ..................................................................................................... 219s ---------------------------------------------------------------------- 219s Ran 112 tests in 0.018s 219s 219s OK (skipped=1) 219s autopkgtest [08:34:33]: test verify.sh: -----------------------] 225s autopkgtest [08:34:39]: test verify.sh: - - - - - - - - - - results - - - - - - - - - - 225s verify.sh PASS 230s autopkgtest [08:34:44]: @@@@@@@@@@@@@@@@@@@@ summary 230s verify.sh PASS