0s autopkgtest [21:54:48]: starting date and time: 2024-11-13 21:54:48+0000 0s autopkgtest [21:54:48]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [21:54:48]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.7b8rqh7b/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,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade python-cliapp --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- lxd -r lxd-armhf-10.145.243.240 lxd-armhf-10.145.243.240:autopkgtest/ubuntu/plucky/armhf 52s autopkgtest [21:55:40]: testbed dpkg architecture: armhf 54s autopkgtest [21:55:42]: testbed apt version: 2.9.8 54s autopkgtest [21:55:42]: @@@@@@@@@@@@@@@@@@@@ test bed setup 62s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 62s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 62s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [101 kB] 62s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [974 kB] 62s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 62s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [104 kB] 62s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [666 kB] 63s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [17.2 kB] 63s Fetched 1959 kB in 1s (2119 kB/s) 63s Reading package lists... 81s tee: /proc/self/fd/2: Permission denied 103s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 103s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 103s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 103s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 104s Reading package lists... 105s Reading package lists... 105s Building dependency tree... 105s Reading state information... 105s Calculating upgrade... 106s The following NEW packages will be installed: 106s python3.13-gdbm 106s The following packages will be upgraded: 106s libgnutls30t64 libjson-glib-1.0-0 libjson-glib-1.0-common libnewt0.52 106s libpython3-stdlib libutempter0 python3 python3-gdbm python3-minimal 106s python3-newt whiptail 106s 11 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 106s Need to get 1207 kB of archives. 106s After this operation, 124 kB of additional disk space will be used. 106s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 106s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 106s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 106s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.8-2ubuntu1 [955 kB] 107s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-2ubuntu4 [19.7 kB] 107s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-2ubuntu4 [39.2 kB] 107s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-2ubuntu4 [17.2 kB] 107s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.0-2 [29.5 kB] 107s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-gdbm armhf 3.12.7-1 [8642 B] 107s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 107s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.0+ds-3 [61.7 kB] 107s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libutempter0 armhf 1.2.1-4 [9062 B] 107s Fetched 1207 kB in 1s (1585 kB/s) 107s (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 ... 59559 files and directories currently installed.) 107s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 107s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 107s Setting up python3-minimal (3.12.7-1) ... 108s (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 ... 59559 files and directories currently installed.) 108s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 108s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 108s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 108s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 108s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_armhf.deb ... 108s Unpacking libgnutls30t64:armhf (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 108s Setting up libgnutls30t64:armhf (3.8.8-2ubuntu1) ... 108s (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 ... 59559 files and directories currently installed.) 108s Preparing to unpack .../0-python3-newt_0.52.24-2ubuntu4_armhf.deb ... 108s Unpacking python3-newt:armhf (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 108s Preparing to unpack .../1-libnewt0.52_0.52.24-2ubuntu4_armhf.deb ... 108s Unpacking libnewt0.52:armhf (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 108s Preparing to unpack .../2-whiptail_0.52.24-2ubuntu4_armhf.deb ... 108s Unpacking whiptail (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 108s Selecting previously unselected package python3.13-gdbm. 108s Preparing to unpack .../3-python3.13-gdbm_3.13.0-2_armhf.deb ... 108s Unpacking python3.13-gdbm (3.13.0-2) ... 108s Preparing to unpack .../4-python3-gdbm_3.12.7-1_armhf.deb ... 108s Unpacking python3-gdbm:armhf (3.12.7-1) over (3.12.6-1ubuntu1) ... 108s Preparing to unpack .../5-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 108s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 108s Preparing to unpack .../6-libjson-glib-1.0-0_1.10.0+ds-3_armhf.deb ... 108s Unpacking libjson-glib-1.0-0:armhf (1.10.0+ds-3) over (1.10.0+ds-2) ... 108s Preparing to unpack .../7-libutempter0_1.2.1-4_armhf.deb ... 108s Unpacking libutempter0:armhf (1.2.1-4) over (1.2.1-3build1) ... 108s Setting up libnewt0.52:armhf (0.52.24-2ubuntu4) ... 108s Setting up libutempter0:armhf (1.2.1-4) ... 108s Setting up whiptail (0.52.24-2ubuntu4) ... 108s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 108s Setting up python3.13-gdbm (3.13.0-2) ... 108s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 108s Setting up python3 (3.12.7-1) ... 109s Setting up python3-newt:armhf (0.52.24-2ubuntu4) ... 109s Setting up libjson-glib-1.0-0:armhf (1.10.0+ds-3) ... 109s Setting up python3-gdbm:armhf (3.12.7-1) ... 109s Processing triggers for man-db (2.12.1-3) ... 110s Processing triggers for libc-bin (2.40-1ubuntu3) ... 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 111s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s autopkgtest [21:56:41]: rebooting testbed after setup commands that affected boot 182s autopkgtest [21:57:50]: testbed running kernel: Linux 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:49:53 UTC 2 210s autopkgtest [21:58:18]: @@@@@@@@@@@@@@@@@@@@ apt-source python-cliapp 220s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-cliapp 1.20180812.1-6 (dsc) [1947 B] 220s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-cliapp 1.20180812.1-6 (tar) [47.2 kB] 220s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-cliapp 1.20180812.1-6 (diff) [5468 B] 221s gpgv: Signature made Wed Feb 7 00:48:18 2024 UTC 221s gpgv: using RSA key D56571B88A8BBAF140BF63D6BD7EAA60778FA6F5 221s gpgv: issuer "doko@debian.org" 221s gpgv: Can't check signature: No public key 221s dpkg-source: warning: cannot verify inline signature for ./python-cliapp_1.20180812.1-6.dsc: no acceptable signature found 221s autopkgtest [21:58:29]: testing package python-cliapp version 1.20180812.1-6 223s autopkgtest [21:58:31]: build not needed 225s autopkgtest [21:58:33]: test unittests: preparing testbed 236s Reading package lists... 237s Building dependency tree... 237s Reading state information... 237s Starting pkgProblemResolver with broken count: 0 237s Starting 2 pkgProblemResolver with broken count: 0 237s Done 238s The following additional packages will be installed: 238s python3-cliapp python3-xdg 238s Suggested packages: 238s python-pyxdg-doc 238s The following NEW packages will be installed: 238s autopkgtest-satdep python3-cliapp python3-xdg 238s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 238s Need to get 82.9 kB/83.6 kB of archives. 238s After this operation, 397 kB of additional disk space will be used. 238s Get:1 /tmp/autopkgtest.s2mEjZ/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [712 B] 238s Get:2 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-cliapp all 1.20180812.1-6 [44.6 kB] 238s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3-xdg all 0.28-2 [38.3 kB] 239s Fetched 82.9 kB in 0s (236 kB/s) 239s Selecting previously unselected package python3-cliapp. 239s (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 ... 59567 files and directories currently installed.) 239s Preparing to unpack .../python3-cliapp_1.20180812.1-6_all.deb ... 239s Unpacking python3-cliapp (1.20180812.1-6) ... 239s Selecting previously unselected package python3-xdg. 239s Preparing to unpack .../python3-xdg_0.28-2_all.deb ... 239s Unpacking python3-xdg (0.28-2) ... 239s Selecting previously unselected package autopkgtest-satdep. 239s Preparing to unpack .../1-autopkgtest-satdep.deb ... 239s Unpacking autopkgtest-satdep (0) ... 239s Setting up python3-xdg (0.28-2) ... 239s Setting up python3-cliapp (1.20180812.1-6) ... 239s Setting up autopkgtest-satdep (0) ... 239s Processing triggers for man-db (2.12.1-3) ... 253s (Reading database ... 59631 files and directories currently installed.) 253s Removing autopkgtest-satdep (0) ... 259s autopkgtest [21:59:07]: test unittests: cp -r cliapp/*_tests.py test-plugins/ $AUTOPKGTEST_TMP && cd $AUTOPKGTEST_TMP && python3 -m unittest discover --pattern '*_tests.py' --verbose 259s autopkgtest [21:59:07]: test unittests: [----------------------- 261s test_error_message_contains_foo (app_tests.AppExceptionTests.test_error_message_contains_foo) ... ok 261s test_calls_add_settings_only_in_run (app_tests.ApplicationTests.test_calls_add_settings_only_in_run) ... ok 261s test_calls_cleanup (app_tests.ApplicationTests.test_calls_cleanup) ... ok 261s test_calls_setup (app_tests.ApplicationTests.test_calls_setup) ... ok 261s test_creates_settings (app_tests.ApplicationTests.test_creates_settings) ... ok 261s test_makes_envname_correctly (app_tests.ApplicationTests.test_makes_envname_correctly) ... ok 261s test_open_input_opens_file (app_tests.ApplicationTests.test_open_input_opens_file) ... /usr/lib/python3.12/unittest/case.py:589: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='r' encoding='UTF-8'> 261s if method() is not None: 261s ResourceWarning: Enable tracemalloc to get the object allocation traceback 261s ok 261s test_open_input_opens_file_in_binary_mode_when_requested (app_tests.ApplicationTests.test_open_input_opens_file_in_binary_mode_when_requested) ... /usr/lib/python3.12/unittest/case.py:589: ResourceWarning: unclosed file <_io.BufferedReader name='/dev/null'> 261s if method() is not None: 261s ResourceWarning: Enable tracemalloc to get the object allocation traceback 261s ok 261s test_open_input_opens_stdin_if_dash_given (app_tests.ApplicationTests.test_open_input_opens_stdin_if_dash_given) ... ok 261s test_parses_options (app_tests.ApplicationTests.test_parses_options) ... ok 261s test_process_args_calls_process_inputs (app_tests.ApplicationTests.test_process_args_calls_process_inputs) ... ok 261s test_process_input_calls_open_input (app_tests.ApplicationTests.test_process_input_calls_open_input) ... ok 261s test_process_input_does_not_close_stdin (app_tests.ApplicationTests.test_process_input_does_not_close_stdin) ... ok 261s test_process_input_line_can_access_counters (app_tests.ApplicationTests.test_process_input_line_can_access_counters) ... ok 261s test_process_inputs_calls_process_input_for_each_arg (app_tests.ApplicationTests.test_process_inputs_calls_process_input_for_each_arg) ... ok 261s test_process_inputs_calls_process_input_with_dash_if_no_inputs (app_tests.ApplicationTests.test_process_inputs_calls_process_input_with_dash_if_no_inputs) ... ok 261s test_processes_input_lines (app_tests.ApplicationTests.test_processes_input_lines) ... ok 261s test_run_calls_parse_args (app_tests.ApplicationTests.test_run_calls_parse_args) ... ok 261s test_run_calls_process_args (app_tests.ApplicationTests.test_run_calls_process_args) ... ok 261s test_run_prints_out_error_for_appexception (app_tests.ApplicationTests.test_run_prints_out_error_for_appexception) ... ok 261s test_run_prints_out_stack_trace_for_not_appexception (app_tests.ApplicationTests.test_run_prints_out_stack_trace_for_not_appexception) ... ok 261s test_run_processes_input_files (app_tests.ApplicationTests.test_run_processes_input_files) ... ok 261s test_run_raises_systemexit_for_keyboardint (app_tests.ApplicationTests.test_run_raises_systemexit_for_keyboardint) ... ok 261s test_run_raises_systemexit_for_systemexit (app_tests.ApplicationTests.test_run_raises_systemexit_for_systemexit) ... ok 261s test_run_sets_output_attribute (app_tests.ApplicationTests.test_run_sets_output_attribute) ... ok 261s test_run_sets_output_to_file_if_output_option_is_set (app_tests.ApplicationTests.test_run_sets_output_to_file_if_output_option_is_set) ... ok 261s test_run_sets_progname_from_sysargv0 (app_tests.ApplicationTests.test_run_sets_progname_from_sysargv0) ... ok 261s test_run_sets_up_logging (app_tests.ApplicationTests.test_run_sets_up_logging) ... /usr/lib/python3.12/optparse.py:564: ResourceWarning: unclosed file <_io.FileIO name='/dev/null' mode='wb' closefd=True> 261s def __init__(self, *opts, **attrs): 261s ResourceWarning: Enable tracemalloc to get the object allocation traceback 261s ok 261s test_run_uses_string_list_options_only_once (app_tests.ApplicationTests.test_run_uses_string_list_options_only_once) ... ok 261s test_adds_subcommand (app_tests.ExtensibleSubcommandTests.test_adds_subcommand) ... ok 261s test_lists_no_subcommands (app_tests.ExtensibleSubcommandTests.test_lists_no_subcommands) ... ok 261s test_adds_default_subcommand_help (app_tests.SubcommandTests.test_adds_default_subcommand_help) ... ok 261s test_calls_subcommand_method (app_tests.SubcommandTests.test_calls_subcommand_method) ... ok 261s test_calls_subcommand_method_via_alias (app_tests.SubcommandTests.test_calls_subcommand_method_via_alias) ... ok 261s test_lists_subcommands (app_tests.SubcommandTests.test_lists_subcommands) ... ok 261s test_normalizes_subcommand (app_tests.SubcommandTests.test_normalizes_subcommand) ... ok 261s test_raises_error_for_no_subcommand (app_tests.SubcommandTests.test_raises_error_for_no_subcommand) ... ok 261s test_raises_error_for_unknown_subcommand (app_tests.SubcommandTests.test_raises_error_for_unknown_subcommand) ... ok 261s test_collapse_multiple_spaces_into_one (fmt_tests.TextFormatTests.test_collapse_multiple_spaces_into_one) ... ok 261s test_collapses_more_than_two_empty_lines (fmt_tests.TextFormatTests.test_collapses_more_than_two_empty_lines) ... ok 261s test_handles_bulleted_lists (fmt_tests.TextFormatTests.test_handles_bulleted_lists) ... ok 261s test_handles_bulleted_lists_without_surrounding_empty_lines (fmt_tests.TextFormatTests.test_handles_bulleted_lists_without_surrounding_empty_lines) ... ok 261s test_handles_paragraphs (fmt_tests.TextFormatTests.test_handles_paragraphs) ... ok 261s test_returns_empty_string_for_empty_string (fmt_tests.TextFormatTests.test_returns_empty_string_for_empty_string) ... ok 261s test_returns_short_one_line_paragraph_as_is (fmt_tests.TextFormatTests.test_returns_short_one_line_paragraph_as_is) ... ok 261s test_wraps_long_line (fmt_tests.TextFormatTests.test_wraps_long_line) ... ok 261s test_calls_callback_and_returns_modified_data (hook_tests.FilterHookTests.test_calls_callback_and_returns_modified_data) ... ok 261s test_calls_callback_with_extra_args (hook_tests.FilterHookTests.test_calls_callback_with_extra_args) ... ok 261s test_returns_argument_if_no_callbacks (hook_tests.FilterHookTests.test_returns_argument_if_no_callbacks) ... ok 261s test_adds_callback (hook_tests.HookTests.test_adds_callback) ... ok 261s test_adds_callback_only_once (hook_tests.HookTests.test_adds_callback_only_once) ... ok 261s test_calls_callback (hook_tests.HookTests.test_calls_callback) ... ok 261s test_has_no_callbacks_by_default (hook_tests.HookTests.test_has_no_callbacks_by_default) ... ok 261s test_removes_callback (hook_tests.HookTests.test_removes_callback) ... ok 261s test_adds_callback (hookmgr_tests.HookManagerTests.test_adds_callback) ... ok 261s test_adds_new_hook (hookmgr_tests.HookManagerTests.test_adds_new_hook) ... ok 261s test_call_returns_value_of_callbacks (hookmgr_tests.HookManagerTests.test_call_returns_value_of_callbacks) ... ok 261s test_calls_callbacks (hookmgr_tests.HookManagerTests.test_calls_callbacks) ... ok 261s test_has_no_tests_initially (hookmgr_tests.HookManagerTests.test_has_no_tests_initially) ... ok 261s test_removes_callback (hookmgr_tests.HookManagerTests.test_removes_callback) ... ok 261s test_description_is_empty_string (plugin_tests.PluginTests.test_description_is_empty_string) ... ok 261s test_disable_wrapper_calls_disable (plugin_tests.PluginTests.test_disable_wrapper_calls_disable) ... ok 261s test_enable_raises_exception (plugin_tests.PluginTests.test_enable_raises_exception) ... ok 261s test_enable_wrapper_calls_enable (plugin_tests.PluginTests.test_enable_wrapper_calls_enable) ... ok 261s test_name_is_class_name (plugin_tests.PluginTests.test_name_is_class_name) ... ok 261s test_required_application_version_is_zeroes (plugin_tests.PluginTests.test_required_application_version_is_zeroes) ... ok 261s test_version_is_zeroes (plugin_tests.PluginTests.test_version_is_zeroes) ... ok 261s test_accepts_one (pluginmgr_tests.PluginManagerCompatibleApplicationVersionTests.test_accepts_one) ... ok 261s test_accepts_one_two_three (pluginmgr_tests.PluginManagerCompatibleApplicationVersionTests.test_accepts_one_two_three) ... ok 261s test_rejects_one_two_four (pluginmgr_tests.PluginManagerCompatibleApplicationVersionTests.test_rejects_one_two_four) ... ok 261s test_rejects_two (pluginmgr_tests.PluginManagerCompatibleApplicationVersionTests.test_rejects_two) ... ok 261s test_rejects_zero (pluginmgr_tests.PluginManagerCompatibleApplicationVersionTests.test_rejects_zero) ... ok 261s test_application_version_is_zeroes (pluginmgr_tests.PluginManagerInitialStateTests.test_application_version_is_zeroes) ... ok 261s test_locations_is_empty_list (pluginmgr_tests.PluginManagerInitialStateTests.test_locations_is_empty_list) ... ok 261s test_plugin_arguments_is_empty (pluginmgr_tests.PluginManagerInitialStateTests.test_plugin_arguments_is_empty) ... ok 261s test_plugin_files_is_empty (pluginmgr_tests.PluginManagerInitialStateTests.test_plugin_files_is_empty) ... ok 261s test_plugin_keyword_arguments_is_empty (pluginmgr_tests.PluginManagerInitialStateTests.test_plugin_keyword_arguments_is_empty) ... ok 261s test_plugins_is_empty_list (pluginmgr_tests.PluginManagerInitialStateTests.test_plugins_is_empty_list) ... ok 261s test_finds_the_right_plugin_files (pluginmgr_tests.PluginManagerTests.test_finds_the_right_plugin_files) ... ok 261s test_initializes_hello_with_correct_args (pluginmgr_tests.PluginManagerTests.test_initializes_hello_with_correct_args) ... ok 261s test_loads_hello_plugin (pluginmgr_tests.PluginManagerTests.test_loads_hello_plugin) ... ok 261s test_plugin_files_attribute_implicitly_searches (pluginmgr_tests.PluginManagerTests.test_plugin_files_attribute_implicitly_searches) ... ok 261s test_plugins_attribute_implicitly_searches (pluginmgr_tests.PluginManagerTests.test_plugins_attribute_implicitly_searches) ... ok 261s test_raises_keyerror_for_unknown_plugin (pluginmgr_tests.PluginManagerTests.test_raises_keyerror_for_unknown_plugin) ... ok 261s test_runcmd_calls_stderr_callback_when_msg_on_stderr (runcmd_tests.RuncmdTests.test_runcmd_calls_stderr_callback_when_msg_on_stderr) ... ok 261s test_runcmd_calls_stdout_callback_when_msg_on_stdout (runcmd_tests.RuncmdTests.test_runcmd_calls_stdout_callback_when_msg_on_stdout) ... ok 261s test_runcmd_executes_true (runcmd_tests.RuncmdTests.test_runcmd_executes_true) ... ok 261s test_runcmd_ignores_failures_on_request (runcmd_tests.RuncmdTests.test_runcmd_ignores_failures_on_request) ... ok 261s test_runcmd_obeys_cwd (runcmd_tests.RuncmdTests.test_runcmd_obeys_cwd) ... ok 261s test_runcmd_pipes_stdin_through_command (runcmd_tests.RuncmdTests.test_runcmd_pipes_stdin_through_command) ... ok 261s test_runcmd_pipes_stdin_through_command_with_lots_of_data (runcmd_tests.RuncmdTests.test_runcmd_pipes_stdin_through_command_with_lots_of_data) ... ok 261s test_runcmd_pipes_stdin_through_two_commands (runcmd_tests.RuncmdTests.test_runcmd_pipes_stdin_through_two_commands) ... ok 261s test_runcmd_raises_error_on_failure (runcmd_tests.RuncmdTests.test_runcmd_raises_error_on_failure) ... ok 261s test_runcmd_redirects_stderr_to_file (runcmd_tests.RuncmdTests.test_runcmd_redirects_stderr_to_file) ... ok 261s test_runcmd_redirects_stdin_from_file (runcmd_tests.RuncmdTests.test_runcmd_redirects_stdin_from_file) ... ok 261s test_runcmd_redirects_stdout_to_file (runcmd_tests.RuncmdTests.test_runcmd_redirects_stdout_to_file) ... ok 261s test_runcmd_returns_stderr_of_command (runcmd_tests.RuncmdTests.test_runcmd_returns_stderr_of_command) ... ok 261s test_runcmd_returns_stdout_of_command (runcmd_tests.RuncmdTests.test_runcmd_returns_stdout_of_command) ... ok 263s test_runcmd_unchecked_handles_stdout_err_redirected_to_same_file (runcmd_tests.RuncmdTests.test_runcmd_unchecked_handles_stdout_err_redirected_to_same_file) ... ok 263s test_runcmd_unchecked_returns_values_on_failure (runcmd_tests.RuncmdTests.test_runcmd_unchecked_returns_values_on_failure) ... ok 263s test_runcmd_unchecked_returns_values_on_success (runcmd_tests.RuncmdTests.test_runcmd_unchecked_returns_values_on_success) ... ok 264s test_runcmd_unchecked_runs_longer_pipeline (runcmd_tests.RuncmdTests.test_runcmd_unchecked_runs_longer_pipeline) ... ok 264s test_runcmd_unchecked_runs_simple_pipeline (runcmd_tests.RuncmdTests.test_runcmd_unchecked_runs_simple_pipeline) ... ok 264s test_quotes_double_quote (runcmd_tests.ShellQuoteTests.test_quotes_double_quote) ... ok 264s test_quotes_single_quote (runcmd_tests.ShellQuoteTests.test_quotes_single_quote) ... ok 264s test_quotes_space (runcmd_tests.ShellQuoteTests.test_quotes_space) ... ok 264s test_returns_empty_string_for_empty_string (runcmd_tests.ShellQuoteTests.test_returns_empty_string_for_empty_string) ... ok 264s test_returns_same_string_when_safe (runcmd_tests.ShellQuoteTests.test_returns_same_string_when_safe) ... ok 264s test_adds_boolean_setting (settings_tests.SettingsTests.test_adds_boolean_setting) ... ok 264s test_adds_bytesize_setting (settings_tests.SettingsTests.test_adds_bytesize_setting) ... ok 264s test_adds_choice_setting (settings_tests.SettingsTests.test_adds_choice_setting) ... ok 264s test_adds_config_file_with_dash_dash_config (settings_tests.SettingsTests.test_adds_config_file_with_dash_dash_config) ... ok 264s test_adds_default_options_and_settings (settings_tests.SettingsTests.test_adds_default_options_and_settings) ... ok 264s test_adds_integer_setting (settings_tests.SettingsTests.test_adds_integer_setting) ... ok 264s test_adds_string_list_setting (settings_tests.SettingsTests.test_adds_string_list_setting) ... ok 264s test_adds_string_setting (settings_tests.SettingsTests.test_adds_string_setting) ... ok 264s test_boolean_setting_is_false_by_default (settings_tests.SettingsTests.test_boolean_setting_is_false_by_default) ... ok 264s test_choice_accepts_any_valid_value (settings_tests.SettingsTests.test_choice_accepts_any_valid_value) ... ok 264s test_choice_defaults_to_first_one (settings_tests.SettingsTests.test_choice_defaults_to_first_one) ... ok 264s test_choice_raises_error_for_unacceptable_value (settings_tests.SettingsTests.test_choice_raises_error_for_unacceptable_value) ... ok 264s test_does_not_have_foo_setting_by_default (settings_tests.SettingsTests.test_does_not_have_foo_setting_by_default) ... ok 264s test_exports_all_config_sections_via_as_cp (settings_tests.SettingsTests.test_exports_all_config_sections_via_as_cp) ... ok 264s test_exports_configparser_with_settings (settings_tests.SettingsTests.test_exports_configparser_with_settings) ... ok 264s test_handles_defaults_with_ini_files (settings_tests.SettingsTests.test_handles_defaults_with_ini_files) ... ok 264s test_handles_defaults_with_yaml_files (settings_tests.SettingsTests.test_handles_defaults_with_yaml_files) ... ok 264s test_handles_overridden_defaults_with_ini_files (settings_tests.SettingsTests.test_handles_overridden_defaults_with_ini_files) ... ok 264s test_handles_overridden_defaults_with_yaml_files (settings_tests.SettingsTests.test_handles_overridden_defaults_with_yaml_files) ... ok 264s test_handles_values_from_ini_files_overridden_on_command_line (settings_tests.SettingsTests.test_handles_values_from_ini_files_overridden_on_command_line) ... ok 264s test_handles_values_from_yaml_files_overridden_on_command_line (settings_tests.SettingsTests.test_handles_values_from_yaml_files_overridden_on_command_line) ... ok 264s test_has_config_files_attribute (settings_tests.SettingsTests.test_has_config_files_attribute) ... ok 264s test_has_config_files_list_can_be_changed (settings_tests.SettingsTests.test_has_config_files_list_can_be_changed) ... ok 264s test_has_list_of_default_config_files (settings_tests.SettingsTests.test_has_list_of_default_config_files) ... ok 264s test_has_progname (settings_tests.SettingsTests.test_has_progname) ... ok 264s test_has_version (settings_tests.SettingsTests.test_has_version) ... ok 264s test_ignores_default_configs (settings_tests.SettingsTests.test_ignores_default_configs) ... ok 264s test_ignores_then_adds_configs_works (settings_tests.SettingsTests.test_ignores_then_adds_configs_works) ... ok 264s test_iterates_over_canonical_settings_names (settings_tests.SettingsTests.test_iterates_over_canonical_settings_names) ... ok 264s test_keys_returns_canonical_names (settings_tests.SettingsTests.test_keys_returns_canonical_names) ... ok 264s test_listconfs_lists_config_files_only (settings_tests.SettingsTests.test_listconfs_lists_config_files_only) ... ok 264s test_listconfs_returns_empty_list_for_nonexistent_directory (settings_tests.SettingsTests.test_listconfs_returns_empty_list_for_nonexistent_directory) ... ok 264s test_listconfs_sorts_names_in_C_locale (settings_tests.SettingsTests.test_listconfs_sorts_names_in_C_locale) ... ok 264s test_load_configs_ignore_errors_opening_a_file (settings_tests.SettingsTests.test_load_configs_ignore_errors_opening_a_file) ... ok 264s test_load_configs_raises_error_for_unknown_variable_in_ini (settings_tests.SettingsTests.test_load_configs_raises_error_for_unknown_variable_in_ini) ... ok 264s test_load_configs_raises_error_for_unknown_variable_in_yaml (settings_tests.SettingsTests.test_load_configs_raises_error_for_unknown_variable_in_yaml) ... ok 264s test_load_configs_remembers_extra_sections_in_ini (settings_tests.SettingsTests.test_load_configs_remembers_extra_sections_in_ini) ... ok 264s test_load_configs_remembers_extra_sections_in_yaml (settings_tests.SettingsTests.test_load_configs_remembers_extra_sections_in_yaml) ... ok 264s test_loads_ini_files (settings_tests.SettingsTests.test_loads_ini_files) ... ok 264s test_loads_string_list_from_ini_files (settings_tests.SettingsTests.test_loads_string_list_from_ini_files) ... ok 264s test_loads_string_list_from_yaml_files (settings_tests.SettingsTests.test_loads_string_list_from_yaml_files) ... ok 264s test_loads_yaml_files (settings_tests.SettingsTests.test_loads_yaml_files) ... ok 264s test_parses_boolean_negation_option (settings_tests.SettingsTests.test_parses_boolean_negation_option) ... ok 264s test_parses_boolean_negation_option_in_group (settings_tests.SettingsTests.test_parses_boolean_negation_option_in_group) ... ok 264s test_parses_bytesize_option (settings_tests.SettingsTests.test_parses_bytesize_option) ... ok 264s test_parses_integer_option (settings_tests.SettingsTests.test_parses_integer_option) ... ok 264s test_parses_options (settings_tests.SettingsTests.test_parses_options) ... ok 264s test_raises_keyerror_for_getting_unknown_setting (settings_tests.SettingsTests.test_raises_keyerror_for_getting_unknown_setting) ... ok 264s test_raises_keyerror_for_setting_unknown_setting (settings_tests.SettingsTests.test_raises_keyerror_for_setting_unknown_setting) ... ok 264s test_require_is_ok_with_default_string (settings_tests.SettingsTests.test_require_is_ok_with_default_string) ... ok 264s test_require_is_ok_with_default_string_list (settings_tests.SettingsTests.test_require_is_ok_with_default_string_list) ... ok 264s test_require_is_ok_with_multiple_values (settings_tests.SettingsTests.test_require_is_ok_with_multiple_values) ... ok 264s test_require_is_ok_with_set_string (settings_tests.SettingsTests.test_require_is_ok_with_set_string) ... ok 264s test_require_is_ok_with_set_string_list (settings_tests.SettingsTests.test_require_is_ok_with_set_string_list) ... ok 264s test_require_is_ok_with_unset_boolean (settings_tests.SettingsTests.test_require_is_ok_with_unset_boolean) ... ok 264s test_require_is_ok_with_unset_bytesize (settings_tests.SettingsTests.test_require_is_ok_with_unset_bytesize) ... ok 264s test_require_is_ok_with_unset_choice (settings_tests.SettingsTests.test_require_is_ok_with_unset_choice) ... ok 264s test_require_is_ok_with_unset_integer (settings_tests.SettingsTests.test_require_is_ok_with_unset_integer) ... ok 264s test_require_raises_error_if_string_list_unset (settings_tests.SettingsTests.test_require_raises_error_if_string_list_unset) ... ok 264s test_require_raises_error_if_string_unset (settings_tests.SettingsTests.test_require_raises_error_if_string_unset) ... ok 264s test_require_raises_error_when_one_value_of_several_is_unset (settings_tests.SettingsTests.test_require_raises_error_when_one_value_of_several_is_unset) ... ok 264s test_sets_boolean_setting_to_false_for_many_false_values (settings_tests.SettingsTests.test_sets_boolean_setting_to_false_for_many_false_values) ... ok 264s test_sets_boolean_setting_to_true_for_many_true_values (settings_tests.SettingsTests.test_sets_boolean_setting_to_true_for_many_true_values) ... ok 264s test_sets_boolean_to_false_from_ini_file (settings_tests.SettingsTests.test_sets_boolean_to_false_from_ini_file) ... ok 264s test_sets_boolean_to_false_from_yaml_file (settings_tests.SettingsTests.test_sets_boolean_to_false_from_yaml_file) ... ok 264s test_sets_boolean_to_true_from_ini_file (settings_tests.SettingsTests.test_sets_boolean_to_true_from_ini_file) ... ok 264s test_sets_boolean_to_true_from_yaml_file (settings_tests.SettingsTests.test_sets_boolean_to_true_from_yaml_file) ... ok 264s test_sets_progname (settings_tests.SettingsTests.test_sets_progname) ... ok 264s test_sets_usage_from_func (settings_tests.SettingsTests.test_sets_usage_from_func) ... ok 264s test_string_list_is_empty_list_by_default (settings_tests.SettingsTests.test_string_list_is_empty_list_by_default) ... ok 264s test_string_list_parses_one_item (settings_tests.SettingsTests.test_string_list_parses_one_item) ... ok 264s test_string_list_parses_two_items (settings_tests.SettingsTests.test_string_list_parses_two_items) ... ok 264s test_string_list_uses_ignores_default_if_user_provides_values (settings_tests.SettingsTests.test_string_list_uses_ignores_default_if_user_provides_values) ... ok 264s test_string_list_uses_nonempty_default_if_given (settings_tests.SettingsTests.test_string_list_uses_nonempty_default_if_given) ... ok 264s 264s ---------------------------------------------------------------------- 264s Ran 182 tests in 2.128s 264s 264s OK 264s autopkgtest [21:59:12]: test unittests: -----------------------] 269s autopkgtest [21:59:17]: test unittests: - - - - - - - - - - results - - - - - - - - - - 269s unittests PASS 273s autopkgtest [21:59:21]: @@@@@@@@@@@@@@@@@@@@ summary 273s unittests PASS