# python3 -m tests.cloud_tests run -v -n xenial --deb ~/my.deb -t tests/cloud_tests/testcases/examples/run_commands.py
2016-12-02 21:12:15,825 - tests.cloud_tests - DEBUG - running with args: Namespace(deb='/root/my.deb', os_name=['xenial'], platform=['lxd'], ppa=None, quiet=False, repo=None, result=None, rpm=None, script=None, subcmd='run', test_config=['tests/cloud_tests/testcases/examples/run_commands.py'], upgrade=False, verbose=True)
2016-12-02 21:12:15,827 - tests.cloud_tests - DEBUG - using tmpdir /tmp/cloud_test_data_2evezzam
2016-12-02 21:12:15,833 - tests.cloud_tests - INFO - setting up platform: lxd
2016-12-02 21:12:15,942 - tests.cloud_tests - INFO - acquiring image for os: xenial
2016-12-02 21:12:16,007 - tests.cloud_tests - INFO - setting up image: distro=ubuntu, release=xenial
2016-12-02 21:12:16,016 - tests.cloud_tests - DEBUG - installing deb: /root/my.deb into target
2016-12-02 21:12:39,879 - tests.cloud_tests - ERROR - stage part: setup func for --deb, install deb encountered error: Failed to change ownership of: /var/lib/lxd/containers/cloud-test-ubuntu-xenial-image-modification-xthkgh9fcmg99yw2tne/rootfs
2016-12-02 21:12:39,881 - tests.cloud_tests - ERROR - traceback:
File "/root/cloud-init/tests/cloud_tests/stage.py", line 52, in run_single
call()
File "/root/cloud-init/tests/cloud_tests/setup_image.py", line 24, in install_deb
image.push_file(args.deb, remote_path)
File "/root/cloud-init/tests/cloud_tests/images/lxd.py", line 57, in push_file
return self.instance.push_file(local_path, remote_path)
File "/root/cloud-init/tests/cloud_tests/images/lxd.py", line 30, in instance
image_desc=str(self), use_desc='image-modification')
File "/root/cloud-init/tests/cloud_tests/platforms/lxd.py", line 65, in launch_container
}, wait=block)
File "/usr/lib/python3/dist-packages/pylxd/models/container.py", line 118, in create
Operation.wait_for_operation(client, response.json()['operation'])
File "/usr/lib/python3/dist-packages/pylxd/models/operation.py", line 29, in wait_for_operation
operation.wait()
File "/usr/lib/python3/dist-packages/pylxd/models/operation.py", line 51, in wait
raise exceptions.LXDAPIException(response)
2016-12-02 21:12:39,978 - tests.cloud_tests - DEBUG - collect stages: {'name': 'collect data', 'success': False, 'errors': [], 'stages': [{'name': 'collect for platform: lxd', 'success': False, 'errors': [], 'stages': [{'name': 'set up and collect data for os: xenial', 'success': False, 'errors': [], 'stages': [{'name': 'set up for image: distro=ubuntu, release=xenial', 'success': False, 'errors': [], 'stages': [{'name': 'setup func for --deb, install deb', 'errors': ['Failed to change ownership of: /var/lib/lxd/containers/cloud-test-ubuntu-xenial-image-modification-xthkgh9fcmg99yw2tne/rootfs'], 'success': False, 'time': 23.87468194961548}], 'time': 23.874696969985962}], 'time': 23.89068865776062}], 'time': 24.059492588043213}], 'time': 24.149937391281128}
2016-12-02 21:12:39,978 - tests.cloud_tests - DEBUG - found test data: {}
2016-12-02 21:12:39,979 - tests.cloud_tests - DEBUG - verify results: {}
2016-12-02 21:12:39,979 - tests.cloud_tests - WARNING - some tests failed, leaving data in /tmp/cloud_test_data_2evezzam