0s autopkgtest [11:47:37]: starting date and time: 2025-12-03 11:47:37+0000 0s autopkgtest [11:47:37]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [11:47:37]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ot2ww28g/out --timeout-copy=6000 -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --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 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-7.secgroup --name adt-resolute-i386-clap-20251203-114737-juju-7f2275-prod-proposed-migration-environment-2-860c4cc5-7335-4c97-933e-f3668be15dee --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-i386-clap-20251203-114737-juju-7f2275-prod-proposed-migration-environment-2-860c4cc5-7335-4c97-933e-f3668be15dee from image adt/ubuntu-resolute-amd64-server-20251203.img (UUID c6e78f39-c16c-48bb-9815-0096f6be052e)... 47s autopkgtest [11:48:24]: testbed dpkg architecture: amd64 47s autopkgtest [11:48:24]: testbed apt version: 3.1.12 47s autopkgtest [11:48:24]: @@@@@@@@@@@@@@@@@@@@ test bed setup 47s autopkgtest [11:48:24]: testbed release detected to be: None 48s autopkgtest [11:48:25]: updating testbed package index (apt update) 48s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 48s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 48s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 48s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 48s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [981 kB] 49s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [147 kB] 49s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.2 kB] 49s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [158 kB] 49s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [205 kB] 49s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6168 B] 49s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 49s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [742 kB] 49s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [343 kB] 49s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [23.3 kB] 49s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [5224 B] 49s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [11.5 kB] 49s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [828 B] 50s Fetched 2774 kB in 1s (2803 kB/s) 50s Reading package lists... 51s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 51s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 51s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 51s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 51s Reading package lists... 51s Reading package lists... 52s Building dependency tree... 52s Reading state information... 52s Calculating upgrade... 52s The following packages will be upgraded: 52s libpython3-stdlib python3 python3-gdbm python3-minimal 52s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 52s Need to get 72.9 kB of archives. 52s After this operation, 2048 B of additional disk space will be used. 52s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-minimal amd64 3.13.9-2 [28.1 kB] 52s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3 amd64 3.13.9-2 [23.0 kB] 52s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpython3-stdlib amd64 3.13.9-2 [10.8 kB] 52s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-gdbm amd64 3.13.9-2 [11.0 kB] 52s dpkg-preconfigure: unable to re-open stdin: No such file or directory 52s Fetched 72.9 kB in 0s (4847 kB/s) 52s (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 ... 83538 files and directories currently installed.) 52s Preparing to unpack .../python3-minimal_3.13.9-2_amd64.deb ... 52s Unpacking python3-minimal (3.13.9-2) over (3.13.7-1) ... 52s Setting up python3-minimal (3.13.9-2) ... 52s (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 ... 83538 files and directories currently installed.) 52s Preparing to unpack .../python3_3.13.9-2_amd64.deb ... 52s running python pre-rtupdate hooks for python3.13... 52s Unpacking python3 (3.13.9-2) over (3.13.7-1) ... 52s Preparing to unpack .../libpython3-stdlib_3.13.9-2_amd64.deb ... 52s Unpacking libpython3-stdlib:amd64 (3.13.9-2) over (3.13.7-1) ... 52s Preparing to unpack .../python3-gdbm_3.13.9-2_amd64.deb ... 52s Unpacking python3-gdbm (3.13.9-2) over (3.13.9-1) ... 52s Setting up python3-gdbm (3.13.9-2) ... 52s Setting up libpython3-stdlib:amd64 (3.13.9-2) ... 52s Setting up python3 (3.13.9-2) ... 52s running python rtupdate hooks for python3.13... 52s running python post-rtupdate hooks for python3.13... 52s Processing triggers for man-db (2.13.1-1) ... 53s autopkgtest [11:48:30]: upgrading testbed (apt dist-upgrade and autopurge) 53s Reading package lists... 53s Building dependency tree... 53s Reading state information... 53s Calculating upgrade... 53s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 53s Reading package lists... 54s Building dependency tree... 54s Reading state information... 54s Solving dependencies... 54s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 56s autopkgtest [11:48:33]: testbed running kernel: Linux 6.17.0-6-generic #6-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 7 13:34:17 UTC 2025 56s autopkgtest [11:48:33]: @@@@@@@@@@@@@@@@@@@@ apt-source clap 57s Get:1 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (dsc) [1943 B] 57s Get:2 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (tar) [50.7 kB] 57s Get:3 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (diff) [9624 B] 57s gpgv: Signature made Mon Aug 8 17:31:37 2022 UTC 57s gpgv: using RSA key 97304066E5AEFAC22683D03D4FB3B4D37EF63B2E 57s gpgv: Can't check signature: No public key 57s dpkg-source: warning: cannot verify inline signature for ./clap_0.14.0-3.dsc: no acceptable signature found 57s autopkgtest [11:48:34]: testing package clap version 0.14.0-3 58s autopkgtest [11:48:35]: build not needed 58s autopkgtest [11:48:35]: test verify.sh: preparing testbed 58s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Solving dependencies... 58s The following NEW packages will be installed: 58s python3-clap python3-iniconfig python3-pluggy python3-pytest 59s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 59s Need to get 307 kB of archives. 59s After this operation, 1511 kB of additional disk space will be used. 59s Get:1 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-clap all 0.14.0-3 [26.3 kB] 59s Get:2 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-iniconfig all 2.1.0-1 [6840 B] 59s Get:3 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pluggy all 1.6.0-1 [21.0 kB] 59s Get:4 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest all 8.3.5-2 [252 kB] 59s Fetched 307 kB in 0s (2787 kB/s) 59s Selecting previously unselected package python3-clap. 59s (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 ... 83538 files and directories currently installed.) 59s Preparing to unpack .../python3-clap_0.14.0-3_all.deb ... 59s Unpacking python3-clap (0.14.0-3) ... 59s Selecting previously unselected package python3-iniconfig. 59s Preparing to unpack .../python3-iniconfig_2.1.0-1_all.deb ... 59s Unpacking python3-iniconfig (2.1.0-1) ... 59s Selecting previously unselected package python3-pluggy. 59s Preparing to unpack .../python3-pluggy_1.6.0-1_all.deb ... 59s Unpacking python3-pluggy (1.6.0-1) ... 59s Selecting previously unselected package python3-pytest. 59s Preparing to unpack .../python3-pytest_8.3.5-2_all.deb ... 59s Unpacking python3-pytest (8.3.5-2) ... 59s Setting up python3-iniconfig (2.1.0-1) ... 59s Setting up python3-clap (0.14.0-3) ... 59s Setting up python3-pluggy (1.6.0-1) ... 59s Setting up python3-pytest (8.3.5-2) ... 59s Processing triggers for man-db (2.13.1-1) ... 60s autopkgtest [11:48:37]: test environment configured for cross building 60s autopkgtest [11:48:37]: test verify.sh: [----------------------- 61s ....s........................................................................................................... 61s ---------------------------------------------------------------------- 61s Ran 112 tests in 0.013s 61s 61s OK (skipped=1) 61s checking: [] 61s checking: ['0'] 61s checking: ['0', '1'] 61s checking: ['0', '1', '2'] 61s checking range (2,) with operands: ['0', '1'] (argv: ['--foo', '-b', '0', '1']) 61s checking range (2,) with operands: ['0', '1', '2'] (argv: ['--foo', '-b', '--', '0', '1', '2']) 61s checking range (2,) with operands: ['0', '1', '2', '3'] (argv: ['--foo', '-b', '--', '0', '1', '2', '3']) 61s fail checking range (2,) with operands: [] (argv: ['--foo', '-b']) 61s fail checking range (2,) with operands: ['0'] (argv: ['--foo', '-b', '0']) 61s checking range (2, None) with operands: ['0', '1'] (argv: ['--foo', '-b', '0', '1']) 61s checking range (2, None) with operands: ['0', '1', '2'] (argv: ['--foo', '-b', '--', '0', '1', '2']) 61s checking range (2, None) with operands: ['0', '1', '2', '3'] (argv: ['--foo', '-b', '--', '0', '1', '2', '3']) 61s fail checking range (2, None) with operands: [] (argv: ['--foo', '-b']) 61s fail checking range (2, None) with operands: ['0'] (argv: ['--foo', '-b', '0']) 61s checking range (-2,) with input: [] 61s checking range (-2,) with input: ['0'] 61s checking range (-2,) with input: ['0', '1'] 61s fail checking range (-2,) with input: ['0', '1', '2'] 61s fail checking range (-2,) with input: ['0', '1', '2', '3'] 61s fail checking range (-2,) with input: ['0', '1', '2', '3', '4'] 61s checking range (0, 2) with input: [] 61s checking range (0, 2) with input: ['0'] 61s checking range (0, 2) with input: ['0', '1'] 61s fail checking range (0, 2) with input: ['0', '1', '2'] 61s fail checking range (0, 2) with input: ['0', '1', '2', '3'] 61s fail checking range (0, 2) with input: ['0', '1', '2', '3', '4'] 61s checking range (None, 2) with input: [] 61s checking range (None, 2) with input: ['0'] 61s checking range (None, 2) with input: ['0', '1'] 61s fail checking range (None, 2) with input: ['0', '1', '2'] 61s fail checking range (None, 2) with input: ['0', '1', '2', '3'] 61s fail checking range (None, 2) with input: ['0', '1', '2', '3', '4'] 61s checking range (2, 4) with input: ['0', '1'] 61s checking range (2, 4) with input: ['0', '1', '2'] 61s checking range (2, 4) with input: ['0', '1', '2', '3'] 61s fail checking range (2, 4) with input: [] 61s fail checking range (2, 4) with input: ['0'] 61s fail checking range (2, 4) with input: ['0', '1', '2', '3', '4'] 61s checking range (0, 0) with input: [] 61s checking range (0, 0) with input: [] 61s fail checking range (0, 0) with input: ['0'] 61s fail checking range (0, 0) with input: ['0', '1'] 61s fail checking range (0, 0) with input: ['0'] 61s fail checking range (0, 0) with input: ['0', '1'] 61s checking range based only on list of types (2) with input: ['0', '1'] 61s checking range based only on list of types (2) with input: ['0', '1', '2', '3'] 61s checking range based only on list of types (2) with input: ['0', '1', '2', '3', '4', '5'] 61s fail checking range based only on list of types (2) with input: [] 61s fail checking range based only on list of types (2) with input: ['0'] 61s fail checking range based only on list of types (2) with input: ['0', '1', '2'] 61s fail checking range based only on list of types (2) with input: ['0', '1', '2', '3', '4'] 61s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: '--bar' is accepted option 61s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: '--bar' is accepted option 61s checking: --foo --bar 61s checking: -f --bar 61s checking: --foo -b 61s checking: -f -b 61s checking: --foo -- --bar 61s checking: -f -- --bar 61s checking: --foo -- -b 61s checking: -f -- -b 61s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'baz' is not accepted option 61s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'baz' is not accepted option 61s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'y' is not accepted option 61s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'y' is not accepted option 61s checking: --foo --bar --baz 61s checking: -f --bar --baz 61s checking: --foo -b --baz 61s checking: --foo --bar -B 61s checking: -f -b --baz 61s checking: -f --bar -B 61s checking: --foo -b -B 61s checking: -f -b -B 61s checking: --foo --bar 42 --baz 61s checking: --foo -b 42 --baz 61s checking: --foo --bar 42 -B 61s checking: --foo -b 42 -B 61s checking: --foo --bar 42 61s checking: --foo -b 42 61s checking: --foo --baz 61s checking: --foo -B 61s a 61s A 61s 0 61s - 61s checking argv "--foo --bar" with input part: "--foo --bar" 61s checking argv "-f --bar spam --baz" with input part: "-f --bar" 61s checking argv "-f --bar 0 --baz" with input part: "-f --bar" 61s checking argv "-f --bar -- --baz" with input part: "-f --bar" 61s string "-a" should be considered an option string 61s string "--foo" should be considered an option string 61s string "--foo=bar" should be considered an option string 61s string "-abc" should be considered an option string 61s string "a" should not be considered an option string 61s string "foo" should not be considered an option string 61s string "--a" should not be considered an option string 61s string "-a=foo" should not be considered an option string 61s string "--" should not be considered an option string 61s string "-" should not be considered an option string 61s autopkgtest [11:48:38]: test verify.sh: -----------------------] 61s verify.sh PASS 61s autopkgtest [11:48:38]: test verify.sh: - - - - - - - - - - results - - - - - - - - - - 62s autopkgtest [11:48:39]: @@@@@@@@@@@@@@@@@@@@ summary 62s verify.sh PASS