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