0s autopkgtest [02:13:13]: starting date and time: 2025-12-06 02:13:13+0000 0s autopkgtest [02:13:13]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [02:13:13]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9lvhd7ru/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-ppc64el-5.secgroup --name adt-resolute-ppc64el-clap-20251206-021313-juju-7f2275-prod-proposed-migration-environment-15-d5643ef3-6721-4344-af32-2d53c5a92405 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-ppc64el-clap-20251206-021313-juju-7f2275-prod-proposed-migration-environment-15-d5643ef3-6721-4344-af32-2d53c5a92405 from image adt/ubuntu-resolute-ppc64el-server-20251205.img (UUID ec8e7418-51bb-4f88-80fc-4d434bdc97c2)... 51s autopkgtest [02:14:04]: testbed dpkg architecture: ppc64el 51s autopkgtest [02:14:04]: testbed apt version: 3.1.12 52s autopkgtest [02:14:05]: @@@@@@@@@@@@@@@@@@@@ test bed setup 52s autopkgtest [02:14:05]: testbed release detected to be: None 52s autopkgtest [02:14:05]: updating testbed package index (apt update) 53s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 53s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 53s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 53s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 53s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [842 kB] 53s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [23.4 kB] 53s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [140 kB] 53s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [226 kB] 53s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [689 kB] 53s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [6928 B] 53s Fetched 2052 kB in 0s (4317 kB/s) 54s Reading package lists... 54s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 54s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 54s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 55s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 55s Reading package lists... 55s Reading package lists... 56s Building dependency tree... 56s Reading state information... 56s Calculating upgrade... 56s The following packages will be upgraded: 56s libnftnl11 libpython3-stdlib lxd-installer python3 python3-attr python3-gdbm 56s python3-minimal 56s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 56s Need to get 212 kB of archives. 56s After this operation, 16.4 kB of additional disk space will be used. 56s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.13.9-2 [28.1 kB] 56s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.13.9-2 [23.0 kB] 56s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.13.9-2 [10.8 kB] 56s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libnftnl11 ppc64el 1.3.1-1 [80.0 kB] 56s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-gdbm ppc64el 3.13.9-2 [11.0 kB] 56s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el lxd-installer all 14ubuntu0 [5428 B] 56s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-attr all 25.4.0-1 [53.6 kB] 56s dpkg-preconfigure: unable to re-open stdin: No such file or directory 56s Fetched 212 kB in 0s (4183 kB/s) 56s (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 ... 81185 files and directories currently installed.) 56s Preparing to unpack .../python3-minimal_3.13.9-2_ppc64el.deb ... 56s Unpacking python3-minimal (3.13.9-2) over (3.13.7-1) ... 56s Setting up python3-minimal (3.13.9-2) ... 57s (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 ... 81185 files and directories currently installed.) 57s Preparing to unpack .../0-python3_3.13.9-2_ppc64el.deb ... 57s running python pre-rtupdate hooks for python3.13... 57s Unpacking python3 (3.13.9-2) over (3.13.7-1) ... 57s Preparing to unpack .../1-libpython3-stdlib_3.13.9-2_ppc64el.deb ... 57s Unpacking libpython3-stdlib:ppc64el (3.13.9-2) over (3.13.7-1) ... 57s Preparing to unpack .../2-libnftnl11_1.3.1-1_ppc64el.deb ... 57s Unpacking libnftnl11:ppc64el (1.3.1-1) over (1.3.0-1) ... 57s Preparing to unpack .../3-python3-gdbm_3.13.9-2_ppc64el.deb ... 57s Unpacking python3-gdbm (3.13.9-2) over (3.13.9-1) ... 57s Preparing to unpack .../4-lxd-installer_14ubuntu0_all.deb ... 57s Unpacking lxd-installer (14ubuntu0) over (13ubuntu0) ... 57s Preparing to unpack .../5-python3-attr_25.4.0-1_all.deb ... 57s Unpacking python3-attr (25.4.0-1) over (25.3.0-1) ... 57s Setting up python3-gdbm (3.13.9-2) ... 57s Setting up libnftnl11:ppc64el (1.3.1-1) ... 57s Setting up lxd-installer (14ubuntu0) ... 58s Setting up libpython3-stdlib:ppc64el (3.13.9-2) ... 58s Setting up python3 (3.13.9-2) ... 58s running python rtupdate hooks for python3.13... 58s running python post-rtupdate hooks for python3.13... 58s Setting up python3-attr (25.4.0-1) ... 58s Processing triggers for man-db (2.13.1-1) ... 59s Processing triggers for libc-bin (2.42-2ubuntu2) ... 59s autopkgtest [02:14:12]: upgrading testbed (apt dist-upgrade and autopurge) 59s Reading package lists... 59s Building dependency tree... 59s Reading state information... 59s Calculating upgrade... 59s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 59s Reading package lists... 60s Building dependency tree... 60s Reading state information... 60s Solving dependencies... 60s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 60s autopkgtest [02:14:13]: rebooting testbed after setup commands that affected boot 98s autopkgtest [02:14:51]: testbed running kernel: Linux 6.17.0-6-generic #6-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 7 13:47:32 UTC 2025 100s autopkgtest [02:14:53]: @@@@@@@@@@@@@@@@@@@@ apt-source clap 101s Get:1 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (dsc) [1943 B] 101s Get:2 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (tar) [50.7 kB] 101s Get:3 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (diff) [9624 B] 101s gpgv: Signature made Mon Aug 8 17:31:37 2022 UTC 101s gpgv: using RSA key 97304066E5AEFAC22683D03D4FB3B4D37EF63B2E 101s gpgv: Can't check signature: No public key 101s dpkg-source: warning: cannot verify inline signature for ./clap_0.14.0-3.dsc: no acceptable signature found 101s autopkgtest [02:14:54]: testing package clap version 0.14.0-3 102s autopkgtest [02:14:55]: build not needed 102s autopkgtest [02:14:55]: test verify.sh: preparing testbed 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s Solving dependencies... 102s The following NEW packages will be installed: 102s python3-clap python3-iniconfig python3-pluggy python3-pytest 102s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 102s Need to get 307 kB of archives. 102s After this operation, 1511 kB of additional disk space will be used. 102s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-clap all 0.14.0-3 [26.3 kB] 102s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-iniconfig all 2.1.0-1 [6840 B] 102s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pluggy all 1.6.0-1 [21.0 kB] 102s Get:4 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pytest all 8.3.5-2 [252 kB] 103s Fetched 307 kB in 0s (5269 kB/s) 103s Selecting previously unselected package python3-clap. 103s (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 ... 81185 files and directories currently installed.) 103s Preparing to unpack .../python3-clap_0.14.0-3_all.deb ... 103s Unpacking python3-clap (0.14.0-3) ... 103s Selecting previously unselected package python3-iniconfig. 103s Preparing to unpack .../python3-iniconfig_2.1.0-1_all.deb ... 103s Unpacking python3-iniconfig (2.1.0-1) ... 103s Selecting previously unselected package python3-pluggy. 103s Preparing to unpack .../python3-pluggy_1.6.0-1_all.deb ... 103s Unpacking python3-pluggy (1.6.0-1) ... 103s Selecting previously unselected package python3-pytest. 103s Preparing to unpack .../python3-pytest_8.3.5-2_all.deb ... 103s Unpacking python3-pytest (8.3.5-2) ... 103s Setting up python3-iniconfig (2.1.0-1) ... 103s Setting up python3-clap (0.14.0-3) ... 103s Setting up python3-pluggy (1.6.0-1) ... 103s Setting up python3-pytest (8.3.5-2) ... 104s Processing triggers for man-db (2.13.1-1) ... 106s autopkgtest [02:14:59]: test verify.sh: [----------------------- 106s ....s........................................................................................................... 106s ---------------------------------------------------------------------- 106s Ran 112 tests in 0.023s 106s 106s OK (skipped=1) 106s checking: [] 106s checking: ['0'] 106s checking: ['0', '1'] 106s checking: ['0', '1', '2'] 106s checking range (2,) with operands: ['0', '1'] (argv: ['--foo', '-b', '0', '1']) 106s checking range (2,) with operands: ['0', '1', '2'] (argv: ['--foo', '-b', '--', '0', '1', '2']) 106s checking range (2,) with operands: ['0', '1', '2', '3'] (argv: ['--foo', '-b', '--', '0', '1', '2', '3']) 106s fail checking range (2,) with operands: [] (argv: ['--foo', '-b']) 106s fail checking range (2,) with operands: ['0'] (argv: ['--foo', '-b', '0']) 106s checking range (2, None) with operands: ['0', '1'] (argv: ['--foo', '-b', '0', '1']) 106s checking range (2, None) with operands: ['0', '1', '2'] (argv: ['--foo', '-b', '--', '0', '1', '2']) 106s checking range (2, None) with operands: ['0', '1', '2', '3'] (argv: ['--foo', '-b', '--', '0', '1', '2', '3']) 106s fail checking range (2, None) with operands: [] (argv: ['--foo', '-b']) 106s fail checking range (2, None) with operands: ['0'] (argv: ['--foo', '-b', '0']) 106s checking range (-2,) with input: [] 106s checking range (-2,) with input: ['0'] 106s checking range (-2,) with input: ['0', '1'] 106s fail checking range (-2,) with input: ['0', '1', '2'] 106s fail checking range (-2,) with input: ['0', '1', '2', '3'] 106s fail checking range (-2,) with input: ['0', '1', '2', '3', '4'] 106s checking range (0, 2) with input: [] 106s checking range (0, 2) with input: ['0'] 106s checking range (0, 2) with input: ['0', '1'] 106s fail checking range (0, 2) with input: ['0', '1', '2'] 106s fail checking range (0, 2) with input: ['0', '1', '2', '3'] 106s fail checking range (0, 2) with input: ['0', '1', '2', '3', '4'] 106s checking range (None, 2) with input: [] 106s checking range (None, 2) with input: ['0'] 106s checking range (None, 2) with input: ['0', '1'] 106s fail checking range (None, 2) with input: ['0', '1', '2'] 106s fail checking range (None, 2) with input: ['0', '1', '2', '3'] 106s fail checking range (None, 2) with input: ['0', '1', '2', '3', '4'] 106s checking range (2, 4) with input: ['0', '1'] 106s checking range (2, 4) with input: ['0', '1', '2'] 106s checking range (2, 4) with input: ['0', '1', '2', '3'] 106s fail checking range (2, 4) with input: [] 106s fail checking range (2, 4) with input: ['0'] 106s fail checking range (2, 4) with input: ['0', '1', '2', '3', '4'] 106s checking range (0, 0) with input: [] 106s checking range (0, 0) with input: [] 106s fail checking range (0, 0) with input: ['0'] 106s fail checking range (0, 0) with input: ['0', '1'] 106s fail checking range (0, 0) with input: ['0'] 106s fail checking range (0, 0) with input: ['0', '1'] 106s checking range based only on list of types (2) with input: ['0', '1'] 106s checking range based only on list of types (2) with input: ['0', '1', '2', '3'] 106s checking range based only on list of types (2) with input: ['0', '1', '2', '3', '4', '5'] 106s fail checking range based only on list of types (2) with input: [] 106s fail checking range based only on list of types (2) with input: ['0'] 106s fail checking range based only on list of types (2) with input: ['0', '1', '2'] 106s fail checking range based only on list of types (2) with input: ['0', '1', '2', '3', '4'] 106s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: '--bar' is accepted option 106s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: '--bar' is accepted option 106s checking: --foo --bar 106s checking: -f --bar 106s checking: --foo -b 106s checking: -f -b 106s checking: --foo -- --bar 106s checking: -f -- --bar 106s checking: --foo -- -b 106s checking: -f -- -b 106s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'baz' is not accepted option 106s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'baz' is not accepted option 106s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'y' is not accepted option 106s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'y' is not accepted option 106s checking: --foo --bar --baz 106s checking: -f --bar --baz 106s checking: --foo -b --baz 106s checking: --foo --bar -B 106s checking: -f -b --baz 106s checking: -f --bar -B 106s checking: --foo -b -B 106s checking: -f -b -B 106s checking: --foo --bar 42 --baz 106s checking: --foo -b 42 --baz 106s checking: --foo --bar 42 -B 106s checking: --foo -b 42 -B 106s checking: --foo --bar 42 106s checking: --foo -b 42 106s checking: --foo --baz 106s checking: --foo -B 106s a 106s A 106s 0 106s - 106s checking argv "--foo --bar" with input part: "--foo --bar" 106s checking argv "-f --bar spam --baz" with input part: "-f --bar" 106s checking argv "-f --bar 0 --baz" with input part: "-f --bar" 106s checking argv "-f --bar -- --baz" with input part: "-f --bar" 106s string "-a" should be considered an option string 106s string "--foo" should be considered an option string 106s string "--foo=bar" should be considered an option string 106s string "-abc" should be considered an option string 106s string "a" should not be considered an option string 106s string "foo" should not be considered an option string 106s string "--a" should not be considered an option string 106s string "-a=foo" should not be considered an option string 106s string "--" should not be considered an option string 106s string "-" should not be considered an option string 106s autopkgtest [02:14:59]: test verify.sh: -----------------------] 107s autopkgtest [02:15:00]: test verify.sh: - - - - - - - - - - results - - - - - - - - - - 107s verify.sh PASS 107s autopkgtest [02:15:00]: @@@@@@@@@@@@@@@@@@@@ summary 107s verify.sh PASS