python3 -m tests.cloud_tests run -v -n xenial
2017-01-05 09:44:02,359 - tests.cloud_tests - DEBUG - running with args: Namespace(deb=None, os_name=['xenial'], platform=['lxd'], ppa=None, quiet=False, repo=None, result=None, rpm=None, script=None, subcmd='run', test_config=['/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/bugs/lp1511485.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/bugs/lp1611074.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/bugs/lp1628337.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/add_apt_repositories.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/alter_completion_message.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/configure_instance_trusted_ca_certificates.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/configure_instances_ssh_keys.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/including_user_groups.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/install_arbitrary_packages.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/install_run_chef_recipes.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/run_apt_upgrade.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/run_commands.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/run_commands_first_boot.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/setup_run_puppet.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/examples/writing_out_arbitrary_files.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/main/command_output_simple.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/apt_configure_conf.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/apt_configure_disable_suites.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/apt_configure_primary.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/apt_configure_proxy.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/apt_configure_security.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/apt_configure_sources_key.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/apt_configure_sources_keyserver.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/apt_configure_sources_list.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/apt_configure_sources_ppa.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/apt_pipelining_disable.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/apt_pipelining_os.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/bootcmd.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/byobu.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/ca_certs.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/debug_disable.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/debug_enable.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/final_message.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/keys_to_console.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/landscape.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/locale.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/lxd_bridge.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/lxd_dir.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/ntp.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/ntp_pools.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/ntp_servers.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/package_update_upgrade_install.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/runcmd.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/salt_minion.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/seed_random_command.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/seed_random_data.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/set_hostname.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/set_hostname_fqdn.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/set_password.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/set_password_expire.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/set_password_list.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/snappy.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/ssh_auth_key_fingerprints_disable.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/ssh_auth_key_fingerprints_enable.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/ssh_import_id.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/ssh_keys_generate.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/ssh_keys_provided.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/timezone.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/user_groups.yaml', '/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/configs/modules/write_files.yaml'], upgrade=False, upgrade_full=False, verbose=True)
2017-01-05 09:44:02,360 - tests.cloud_tests - DEBUG - using tmpdir /tmp/cloud_test_data_n80mg9nc
2017-01-05 09:44:02,368 - tests.cloud_tests - INFO - setting up platform: lxd
2017-01-05 09:44:02,428 - tests.cloud_tests - INFO - acquiring image for os: xenial
2017-01-05 09:45:03,933 - tests.cloud_tests - INFO - setting up image: distro=ubuntu, release=xenial
2017-01-05 09:45:08,800 - tests.cloud_tests - ERROR - stage: set up and collect data for os: xenial encountered error: Failed command to: query version for package: cloud-init
Command: dpkg-query -W --showformat='${Version}' cloud-init
Exit code: 1
Reason: Instance: cloud-test-ubuntu-xenial-image-modification-19kcu8dt3bfa5vnaw7g
Stdout: -
Stderr: dpkg-query: no packages found matching cloud-init
2017-01-05 09:45:08,800 - tests.cloud_tests - ERROR - traceback:
File "/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/stage.py", line 94, in run_stage
(call_res, call_failed) = call()
File "/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/setup_image.py", line 229, in setup_image
installed_version(image, 'cloud-init'))
File "/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/setup_image.py", line 30, in installed_version
ignore_errors=not ensure_installed)
File "/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/images/lxd.py", line 140, in execute
return self.instance.execute(*args, **kwargs)
File "/home/powersj/Work/repos/cloud-init-wesley/tests/cloud_tests/instances/lxd.py", line 52, in execute
error_desc)
2017-01-05 09:45:10,080 - tests.cloud_tests - DEBUG - collect stages: {'name': 'collect data', 'time': 67.71994709968567, 'success': False, 'errors': [], 'stages': [{'name': 'collect for platform: lxd', 'time': 67.66640400886536, 'success': False, 'errors': [], 'stages': [{'name': 'set up and collect data for os: xenial', 'time': 4.881959438323975, 'success': False, 'errors': ["Failed command to: query version for package: cloud-init\nCommand: dpkg-query -W --showformat='${Version}' cloud-init\nExit code: 1\nReason: Instance: cloud-test-ubuntu-xenial-image-modification-19kcu8dt3bfa5vnaw7g\nStdout: -\nStderr: dpkg-query: no packages found matching cloud-init"], 'stages': []}]}]}
2017-01-05 09:45:10,081 - tests.cloud_tests - DEBUG - found test data: {}
2017-01-05 09:45:10,081 - tests.cloud_tests - DEBUG - verify results: {}
2017-01-05 09:45:10,081 - tests.cloud_tests - WARNING - some tests failed, leaving data in /tmp/cloud_test_data_n80mg9nc