0s autopkgtest [01:41:16]: starting date and time: 2025-12-05 01:41:16+0000 0s autopkgtest [01:41:16]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [01:41:16]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.jwvwume_/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-s390x-8.secgroup --name adt-resolute-s390x-clap-20251205-010142-juju-7f2275-prod-proposed-migration-environment-20-12f8b61d-ff96-4a82-8832-bd9d207f4be6 --image adt/ubuntu-resolute-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-s390x-clap-20251205-010142-juju-7f2275-prod-proposed-migration-environment-20-12f8b61d-ff96-4a82-8832-bd9d207f4be6 from image adt/ubuntu-resolute-s390x-server-20251204.img (UUID fc9e71eb-05b5-4e42-8e92-6ce618f4c0a1)... 144s autopkgtest [01:43:40]: testbed dpkg architecture: s390x 144s autopkgtest [01:43:40]: testbed apt version: 3.1.12 145s autopkgtest [01:43:41]: @@@@@@@@@@@@@@@@@@@@ test bed setup 145s autopkgtest [01:43:41]: testbed release detected to be: None 145s autopkgtest [01:43:41]: updating testbed package index (apt update) 146s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 146s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 146s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 146s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 146s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [898 kB] 146s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.5 kB] 146s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [157 kB] 146s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [234 kB] 146s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [720 kB] 147s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [6504 B] 147s Fetched 2163 kB in 1s (1936 kB/s) 147s Reading package lists... 148s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 148s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 148s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 148s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 149s Reading package lists... 149s Reading package lists... 149s Building dependency tree... 149s Reading state information... 149s Calculating upgrade... 149s The following packages will be upgraded: 149s ftp libpython3-stdlib python3 python3-gdbm python3-mdurl python3-minimal 149s tnftp 149s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 149s Need to get 193 kB of archives. 149s After this operation, 4096 B of additional disk space will be used. 149s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.13.9-2 [28.1 kB] 149s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.13.9-2 [23.0 kB] 149s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.13.9-2 [10.8 kB] 149s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x python3-mdurl all 0.1.2-1build1 [9328 B] 149s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x tnftp s390x 20230507-2build4 [106 kB] 149s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x ftp all 20230507-2build4 [4736 B] 149s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-gdbm s390x 3.13.9-2 [11.0 kB] 150s dpkg-preconfigure: unable to re-open stdin: No such file or directory 150s Fetched 193 kB in 0s (472 kB/s) 150s (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 ... 61321 files and directories currently installed.) 150s Preparing to unpack .../python3-minimal_3.13.9-2_s390x.deb ... 150s Unpacking python3-minimal (3.13.9-2) over (3.13.7-1) ... 150s Setting up python3-minimal (3.13.9-2) ... 150s (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 ... 61321 files and directories currently installed.) 150s Preparing to unpack .../0-python3_3.13.9-2_s390x.deb ... 150s running python pre-rtupdate hooks for python3.13... 150s Unpacking python3 (3.13.9-2) over (3.13.7-1) ... 150s Preparing to unpack .../1-libpython3-stdlib_3.13.9-2_s390x.deb ... 150s Unpacking libpython3-stdlib:s390x (3.13.9-2) over (3.13.7-1) ... 150s Preparing to unpack .../2-python3-mdurl_0.1.2-1build1_all.deb ... 150s Unpacking python3-mdurl (0.1.2-1build1) over (0.1.2-1) ... 150s Preparing to unpack .../3-tnftp_20230507-2build4_s390x.deb ... 150s Unpacking tnftp (20230507-2build4) over (20230507-2build3) ... 150s Preparing to unpack .../4-ftp_20230507-2build4_all.deb ... 150s Unpacking ftp (20230507-2build4) over (20230507-2build3) ... 150s Preparing to unpack .../5-python3-gdbm_3.13.9-2_s390x.deb ... 150s Unpacking python3-gdbm (3.13.9-2) over (3.13.9-1) ... 150s Setting up python3-gdbm (3.13.9-2) ... 150s Setting up tnftp (20230507-2build4) ... 150s Setting up libpython3-stdlib:s390x (3.13.9-2) ... 150s Setting up python3 (3.13.9-2) ... 150s running python rtupdate hooks for python3.13... 150s running python post-rtupdate hooks for python3.13... 150s Setting up python3-mdurl (0.1.2-1build1) ... 150s Setting up ftp (20230507-2build4) ... 150s Processing triggers for man-db (2.13.1-1) ... 151s autopkgtest [01:43:47]: upgrading testbed (apt dist-upgrade and autopurge) 151s Reading package lists... 151s Building dependency tree... 151s Reading state information... 151s Calculating upgrade... 151s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 151s Reading package lists... 152s Building dependency tree... 152s Reading state information... 152s Solving dependencies... 152s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 154s autopkgtest [01:43:50]: testbed running kernel: Linux 6.17.0-6-generic #6-Ubuntu SMP Tue Oct 7 12:36:22 UTC 2025 154s autopkgtest [01:43:50]: @@@@@@@@@@@@@@@@@@@@ apt-source clap 156s Get:1 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (dsc) [1943 B] 156s Get:2 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (tar) [50.7 kB] 156s Get:3 http://ftpmaster.internal/ubuntu resolute/universe clap 0.14.0-3 (diff) [9624 B] 156s gpgv: Signature made Mon Aug 8 17:31:37 2022 UTC 156s gpgv: using RSA key 97304066E5AEFAC22683D03D4FB3B4D37EF63B2E 156s gpgv: Can't check signature: No public key 156s dpkg-source: warning: cannot verify inline signature for ./clap_0.14.0-3.dsc: no acceptable signature found 156s autopkgtest [01:43:52]: testing package clap version 0.14.0-3 156s autopkgtest [01:43:52]: build not needed 156s autopkgtest [01:43:52]: test verify.sh: preparing testbed 157s Reading package lists... 157s Building dependency tree... 157s Reading state information... 157s Solving dependencies... 157s The following NEW packages will be installed: 157s python3-clap python3-iniconfig python3-pluggy python3-pytest 157s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 157s Need to get 307 kB of archives. 157s After this operation, 1511 kB of additional disk space will be used. 157s Get:1 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-clap all 0.14.0-3 [26.3 kB] 157s Get:2 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-iniconfig all 2.1.0-1 [6840 B] 157s Get:3 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pluggy all 1.6.0-1 [21.0 kB] 157s Get:4 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pytest all 8.3.5-2 [252 kB] 158s Fetched 307 kB in 0s (655 kB/s) 158s Selecting previously unselected package python3-clap. 158s (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 ... 61321 files and directories currently installed.) 158s Preparing to unpack .../python3-clap_0.14.0-3_all.deb ... 158s Unpacking python3-clap (0.14.0-3) ... 158s Selecting previously unselected package python3-iniconfig. 158s Preparing to unpack .../python3-iniconfig_2.1.0-1_all.deb ... 158s Unpacking python3-iniconfig (2.1.0-1) ... 158s Selecting previously unselected package python3-pluggy. 158s Preparing to unpack .../python3-pluggy_1.6.0-1_all.deb ... 158s Unpacking python3-pluggy (1.6.0-1) ... 158s Selecting previously unselected package python3-pytest. 158s Preparing to unpack .../python3-pytest_8.3.5-2_all.deb ... 158s Unpacking python3-pytest (8.3.5-2) ... 158s Setting up python3-iniconfig (2.1.0-1) ... 158s Setting up python3-clap (0.14.0-3) ... 158s Setting up python3-pluggy (1.6.0-1) ... 158s Setting up python3-pytest (8.3.5-2) ... 158s Processing triggers for man-db (2.13.1-1) ... 159s autopkgtest [01:43:55]: test verify.sh: [----------------------- 159s ....s........................................................................................................... 159s ---------------------------------------------------------------------- 159s Ran 112 tests in 0.014s 159s 159s OK (skipped=1) 159s checking: [] 159s checking: ['0'] 159s checking: ['0', '1'] 159s checking: ['0', '1', '2'] 159s checking range (2,) with operands: ['0', '1'] (argv: ['--foo', '-b', '0', '1']) 159s checking range (2,) with operands: ['0', '1', '2'] (argv: ['--foo', '-b', '--', '0', '1', '2']) 159s checking range (2,) with operands: ['0', '1', '2', '3'] (argv: ['--foo', '-b', '--', '0', '1', '2', '3']) 159s fail checking range (2,) with operands: [] (argv: ['--foo', '-b']) 159s fail checking range (2,) with operands: ['0'] (argv: ['--foo', '-b', '0']) 159s checking range (2, None) with operands: ['0', '1'] (argv: ['--foo', '-b', '0', '1']) 159s checking range (2, None) with operands: ['0', '1', '2'] (argv: ['--foo', '-b', '--', '0', '1', '2']) 159s checking range (2, None) with operands: ['0', '1', '2', '3'] (argv: ['--foo', '-b', '--', '0', '1', '2', '3']) 159s fail checking range (2, None) with operands: [] (argv: ['--foo', '-b']) 159s fail checking range (2, None) with operands: ['0'] (argv: ['--foo', '-b', '0']) 159s checking range (-2,) with input: [] 159s checking range (-2,) with input: ['0'] 159s checking range (-2,) with input: ['0', '1'] 159s fail checking range (-2,) with input: ['0', '1', '2'] 159s fail checking range (-2,) with input: ['0', '1', '2', '3'] 159s fail checking range (-2,) with input: ['0', '1', '2', '3', '4'] 159s checking range (0, 2) with input: [] 159s checking range (0, 2) with input: ['0'] 159s checking range (0, 2) with input: ['0', '1'] 159s fail checking range (0, 2) with input: ['0', '1', '2'] 159s fail checking range (0, 2) with input: ['0', '1', '2', '3'] 159s fail checking range (0, 2) with input: ['0', '1', '2', '3', '4'] 159s checking range (None, 2) with input: [] 159s checking range (None, 2) with input: ['0'] 159s checking range (None, 2) with input: ['0', '1'] 159s fail checking range (None, 2) with input: ['0', '1', '2'] 159s fail checking range (None, 2) with input: ['0', '1', '2', '3'] 159s fail checking range (None, 2) with input: ['0', '1', '2', '3', '4'] 159s checking range (2, 4) with input: ['0', '1'] 159s checking range (2, 4) with input: ['0', '1', '2'] 159s checking range (2, 4) with input: ['0', '1', '2', '3'] 159s fail checking range (2, 4) with input: [] 159s fail checking range (2, 4) with input: ['0'] 159s fail checking range (2, 4) with input: ['0', '1', '2', '3', '4'] 159s checking range (0, 0) with input: [] 159s checking range (0, 0) with input: [] 159s fail checking range (0, 0) with input: ['0'] 159s fail checking range (0, 0) with input: ['0', '1'] 159s fail checking range (0, 0) with input: ['0'] 159s fail checking range (0, 0) with input: ['0', '1'] 159s checking range based only on list of types (2) with input: ['0', '1'] 159s checking range based only on list of types (2) with input: ['0', '1', '2', '3'] 159s checking range based only on list of types (2) with input: ['0', '1', '2', '3', '4', '5'] 159s fail checking range based only on list of types (2) with input: [] 159s fail checking range based only on list of types (2) with input: ['0'] 159s fail checking range based only on list of types (2) with input: ['0', '1', '2'] 159s fail checking range based only on list of types (2) with input: ['0', '1', '2', '3', '4'] 159s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: '--bar' is accepted option 159s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: '--bar' is accepted option 159s checking: --foo --bar 159s checking: -f --bar 159s checking: --foo -b 159s checking: -f -b 159s checking: --foo -- --bar 159s checking: -f -- --bar 159s checking: --foo -- -b 159s checking: -f -- -b 159s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'baz' is not accepted option 159s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'baz' is not accepted option 159s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'y' is not accepted option 159s DEBUG: got ValueError when checking option arguments' types: invalid literal for int() with base 10: 'y' is not accepted option 159s checking: --foo --bar --baz 159s checking: -f --bar --baz 159s checking: --foo -b --baz 159s checking: --foo --bar -B 159s checking: -f -b --baz 159s checking: -f --bar -B 159s checking: --foo -b -B 159s checking: -f -b -B 159s checking: --foo --bar 42 --baz 159s checking: --foo -b 42 --baz 159s checking: --foo --bar 42 -B 159s checking: --foo -b 42 -B 159s checking: --foo --bar 42 159s checking: --foo -b 42 159s checking: --foo --baz 159s checking: --foo -B 159s a 159s A 159s 0 159s - 159s checking argv "--foo --bar" with input part: "--foo --bar" 159s checking argv "-f --bar spam --baz" with input part: "-f --bar" 159s checking argv "-f --bar 0 --baz" with input part: "-f --bar" 159s checking argv "-f --bar -- --baz" with input part: "-f --bar" 159s string "-a" should be considered an option string 159s string "--foo" should be considered an option string 159s string "--foo=bar" should be considered an option string 159s string "-abc" should be considered an option string 159s string "a" should not be considered an option string 159s string "foo" should not be considered an option string 159s string "--a" should not be considered an option string 159s string "-a=foo" should not be considered an option string 159s string "--" should not be considered an option string 159s string "-" should not be considered an option string 160s autopkgtest [01:43:56]: test verify.sh: -----------------------] 160s verify.sh PASS 160s autopkgtest [01:43:56]: test verify.sh: - - - - - - - - - - results - - - - - - - - - - 160s autopkgtest [01:43:56]: @@@@@@@@@@@@@@@@@@@@ summary 160s verify.sh PASS