$ tox -e citest -- run -v -n $rel --deb=cloud-init_all.$rel.deb -t tests/cloud_tests/testcases/modules/set_password_list_string.py -t tests/cloud_tests/testcases/modules/set_password_list.py GLOB sdist-make: /home/andreas/canonical/server/cloud-init-trunk/setup.py citest create: /home/andreas/canonical/server/cloud-init-trunk/.tox/citest citest installdeps: pylxd==2.1.3 citest inst: /home/andreas/canonical/server/cloud-init-trunk/.tox/dist/cloud-init-0.7.9.zip citest installed: appdirs==1.4.3,asn1crypto==0.22.0,cffi==1.10.0,cloud-init==0.7.9,configobj==5.0.6,cryptography==1.8.1,idna==2.5,Jinja2==2.9.6,jsonpatch==1.15,jsonpointer==1.10,MarkupSafe==1.0,oauthlib==2.0.2,packaging==16.8,pbr==2.1.0,pkg-resources==0.0.0,prettytable==0.7.2,pycparser==2.17,pylxd==2.1.3,pyparsing==2.2.0,python-dateutil==2.6.0,PyYAML==3.12,requests==2.11.1,requests-unixsocket==0.1.5,six==1.10.0,urllib3==1.20,ws4py==0.4.2 citest runtests: PYTHONHASHSEED='3299389576' citest runtests: commands[0] | /home/andreas/canonical/server/cloud-init-trunk/.tox/citest/bin/python -m tests.cloud_tests run -v -n xenial --deb=cloud-init_all.xenial.deb -t tests/cloud_tests/testcases/modules/set_password_list_string.py -t tests/cloud_tests/testcases/modules/set_password_list.py 2017-04-17 09:26:47,901 - tests.cloud_tests - DEBUG - running with args: Namespace(deb='cloud-init_all.xenial.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/modules/set_password_list.py', 'tests/cloud_tests/testcases/modules/set_password_list_string.py'], upgrade=False, verbose=True) 2017-04-17 09:26:47,902 - tests.cloud_tests - DEBUG - using tmpdir /tmp/cloud_test_data_x8jq9old 2017-04-17 09:26:47,904 - tests.cloud_tests - INFO - setting up platform: lxd 2017-04-17 09:26:47,998 - tests.cloud_tests - INFO - acquiring image for os: xenial 2017-04-17 09:26:48,059 - tests.cloud_tests - INFO - setting up image: distro=ubuntu, release=xenial 2017-04-17 09:26:48,066 - tests.cloud_tests - DEBUG - installing deb: cloud-init_all.xenial.deb into target /home/andreas/canonical/server/cloud-init-trunk/.tox/citest/lib/python3.5/site-packages/pylxd/deprecation.py:24: DeprecationWarning: execute will return a ContainerExecuteResult in pylxd 2.2 warnings.warn(self.message, DeprecationWarning) 2017-04-17 09:26:59,763 - tests.cloud_tests - DEBUG - successfully installed: cloud-init_all.xenial.deb, version: '0.7.9-90-g61eb03fe-0ubuntu1~16.04.1' 2017-04-17 09:26:59,763 - tests.cloud_tests - DEBUG - creating snapshot for xenial 2017-04-17 09:27:07,981 - tests.cloud_tests - INFO - collecting test data for os: xenial 2017-04-17 09:27:07,989 - tests.cloud_tests - INFO - collecting test data for test: modules/set_password_list 2017-04-17 09:27:15,930 - tests.cloud_tests - DEBUG - running collect script: status.json 2017-04-17 09:27:16,131 - tests.cloud_tests - DEBUG - running collect script: cloud-init-output.log 2017-04-17 09:27:16,328 - tests.cloud_tests - DEBUG - running collect script: cloud-init-version 2017-04-17 09:27:16,529 - tests.cloud_tests - DEBUG - running collect script: sshd_config 2017-04-17 09:27:16,737 - tests.cloud_tests - DEBUG - running collect script: instance-id 2017-04-17 09:27:16,945 - tests.cloud_tests - DEBUG - running collect script: shadow 2017-04-17 09:27:17,159 - tests.cloud_tests - DEBUG - running collect script: result.json 2017-04-17 09:27:17,359 - tests.cloud_tests - DEBUG - running collect script: cloud-init.log 2017-04-17 09:27:22,565 - tests.cloud_tests - INFO - collecting test data for test: modules/set_password_list_string 2017-04-17 09:27:30,594 - tests.cloud_tests - DEBUG - running collect script: status.json 2017-04-17 09:27:30,826 - tests.cloud_tests - DEBUG - running collect script: cloud-init-output.log 2017-04-17 09:27:31,042 - tests.cloud_tests - DEBUG - running collect script: cloud-init-version 2017-04-17 09:27:31,257 - tests.cloud_tests - DEBUG - running collect script: sshd_config 2017-04-17 09:27:31,478 - tests.cloud_tests - DEBUG - running collect script: instance-id 2017-04-17 09:27:31,700 - tests.cloud_tests - DEBUG - running collect script: shadow 2017-04-17 09:27:31,910 - tests.cloud_tests - DEBUG - running collect script: result.json 2017-04-17 09:27:32,099 - tests.cloud_tests - DEBUG - running collect script: cloud-init.log 2017-04-17 09:27:41,086 - tests.cloud_tests - DEBUG - collect stages: {'name': 'collect data', 'success': True, 'time': 53.1845338344574, 'stages': [{'name': 'collect for platform: lxd', 'success': True, 'time': 53.10272979736328, 'stages': [{'name': 'set up and collect data for os: xenial', 'success': True, 'time': 50.75004506111145, 'stages': [{'name': 'set up for image: distro=ubuntu, release=xenial', 'success': True, 'time': 11.704396963119507, 'stages': [{'name': 'setup func for --deb, install deb', 'success': True, 'time': 11.704387187957764, 'errors': []}], 'errors': []}, {'name': 'collect test data for xenial', 'success': True, 'time': 29.71394634246826, 'stages': [{'name': 'collect for test: modules/set_password_list', 'success': True, 'time': 9.252281427383423, 'stages': [{'name': 'boot instance', 'success': True, 'time': 7.608118772506714, 'errors': []}, {'name': 'script status.json', 'success': True, 'time': 0.20182204246520996, 'errors': []}, {'name': 'script cloud-init-output.log', 'success': True, 'time': 0.1964740753173828, 'errors': []}, {'name': 'script cloud-init-version', 'success': True, 'time': 0.20152568817138672, 'errors': []}, {'name': 'script sshd_config', 'success': True, 'time': 0.20709943771362305, 'errors': []}, {'name': 'script instance-id', 'success': True, 'time': 0.20835161209106445, 'errors': []}, {'name': 'script shadow', 'success': True, 'time': 0.2143704891204834, 'errors': []}, {'name': 'script result.json', 'success': True, 'time': 0.19953632354736328, 'errors': []}, {'name': 'script cloud-init.log', 'success': True, 'time': 0.2148890495300293, 'errors': []}], 'errors': []}, {'name': 'collect for test: modules/set_password_list_string', 'success': True, 'time': 9.495333909988403, 'stages': [{'name': 'boot instance', 'success': True, 'time': 7.800722599029541, 'errors': []}, {'name': 'script status.json', 'success': True, 'time': 0.23213624954223633, 'errors': []}, {'name': 'script cloud-init-output.log', 'success': True, 'time': 0.21588850021362305, 'errors': []}, {'name': 'script cloud-init-version', 'success': True, 'time': 0.2157430648803711, 'errors': []}, {'name': 'script sshd_config', 'success': True, 'time': 0.22044968605041504, 'errors': []}, {'name': 'script instance-id', 'success': True, 'time': 0.2220478057861328, 'errors': []}, {'name': 'script shadow', 'success': True, 'time': 0.21025443077087402, 'errors': []}, {'name': 'script result.json', 'success': True, 'time': 0.18863534927368164, 'errors': []}, {'name': 'script cloud-init.log', 'success': True, 'time': 0.18934965133666992, 'errors': []}], 'errors': []}], 'errors': []}], 'errors': []}], 'errors': []}], 'errors': []} 2017-04-17 09:27:41,087 - tests.cloud_tests - DEBUG - found test data: {'lxd': {'xenial': ['modules/set_password_list_string', 'modules/set_password_list']}} 2017-04-17 09:27:41,087 - tests.cloud_tests - INFO - test: platform='lxd', os='xenial' verifying test data 2017-04-17 09:27:41,087 - tests.cloud_tests - DEBUG - verifying test data for modules/set_password_list_string test_no_stages_errors (tests.cloud_tests.testcases.get_suite..tmp) ... ok test_shadow_expected_users (tests.cloud_tests.testcases.get_suite..tmp) ... ok test_shadow_passwords (tests.cloud_tests.testcases.get_suite..tmp) ... ok test_sshd_config (tests.cloud_tests.testcases.get_suite..tmp) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.005s OK 2017-04-17 09:27:41,100 - tests.cloud_tests - DEBUG - verifying test data for modules/set_password_list test_no_stages_errors (tests.cloud_tests.testcases.get_suite..tmp) ... ok test_shadow_expected_users (tests.cloud_tests.testcases.get_suite..tmp) ... ok test_shadow_passwords (tests.cloud_tests.testcases.get_suite..tmp) ... ok test_sshd_config (tests.cloud_tests.testcases.get_suite..tmp) ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.004s OK 2017-04-17 09:27:41,111 - tests.cloud_tests - INFO - test: platform='lxd', os='xenial' passed all tests 2017-04-17 09:27:41,112 - tests.cloud_tests - DEBUG - verify results: {'lxd': {'xenial': {'modules/set_password_list_string': {'passed': True, 'failures': []}, 'modules/set_password_list': {'passed': True, 'failures': []}}}} ________________________________________________________________________________ summary ________________________________________________________________________________ citest: commands succeeded congratulations :)