Created
June 5, 2015 15:05
-
-
Save kragniz/3766d6c92fd568456980 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu in ~/git/searchlight on (detached from sjmc7/metadef-plugin)* | |
$ tox -e py27 | |
py27 create: /home/ubuntu/git/searchlight/.tox/py27 | |
py27 installdeps: -r/home/ubuntu/git/searchlight/requirements.txt, -r/home/ubuntu/git/searchlight/test-requirements.txt | |
py27 develop-inst: /home/ubuntu/git/searchlight | |
py27 runtests: PYTHONHASHSEED='2186359158' | |
py27 runtests: commands[0] | lockutils-wrapper python setup.py testr --slowest --testr-args= | |
running testr | |
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ | |
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ | |
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ | |
${PYTHON:-python} -m subunit.run discover -t ./ ./searchlight/tests --list | |
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ | |
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ | |
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ | |
${PYTHON:-python} -m subunit.run discover -t ./ ./searchlight/tests --load-list /tmp/tmp7c32Am | |
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ | |
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ | |
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ | |
${PYTHON:-python} -m subunit.run discover -t ./ ./searchlight/tests --load-list /tmp/tmpy7PbtW | |
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ | |
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ | |
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ | |
${PYTHON:-python} -m subunit.run discover -t ./ ./searchlight/tests --load-list /tmp/tmpUkN0Dn | |
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ | |
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ | |
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \ | |
${PYTHON:-python} -m subunit.run discover -t ./ ./searchlight/tests --load-list /tmp/tmpoJ6i0t | |
====================================================================== | |
FAIL: searchlight.tests.unit.test_glance_metadefs_plugin.TestMetadefLoaderPlugin.test_setup_data | |
tags: worker-3 | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "searchlight/tests/unit/test_glance_metadefs_plugin.py", line 418, in test_setup_data | |
{'name': 'Tag3'}, | |
File "/home/ubuntu/git/searchlight/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 846, in assert_called_once_with | |
return self.assert_called_with(*args, **kwargs) | |
File "/home/ubuntu/git/searchlight/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 835, in assert_called_with | |
raise AssertionError(msg) | |
AssertionError: Expected call: save_documents([{'objects': [{'properties': [{'name': 'property1', 'description': None, 'title': 'something title', 'enum': ['value1', 'value2'], 'default': 'value1', 'type': 'string'}], 'description': 'desc1', 'name': 'Object1'}], 'protected': True, 'tags': [{'name': 'Tag1'}], 'resource_types': [{'name': 'ResourceType1'}], 'description': 'desc1', 'display_name': '1', 'owner': '6838eb7b-6ded-434a-882c-b344c77fe8df', 'visibility': 'private', 'properties': [{'title': 'title1', 'description': None, 'name': 'Property1', 'type': 'string'}], 'namespace': 'namespace1'}, {'objects': [{'description': 'desc2', 'name': 'Object2', 'properties': []}, {'description': 'desc3', 'name': 'Object3', 'properties': []}], 'protected': False, 'tags': [{'name': 'Tag2'}, {'name': 'Tag3'}], 'resource_types': [{'name': 'ResourceType2'}, {'name': 'ResourceType3'}], 'description': 'desc2', 'display_name': '2', 'owner': '6838eb7b-6ded-434a-882c-b344c77fe8df', 'visibility': 'public', 'properties': [{'title': 'title2', 'description': None, 'name': 'Property2', 'type': 'string'}, {'title': 'title3', 'description': None, 'name': 'Property3', 'type': 'string'}], 'namespace': 'namespace2'}]) | |
Actual call: save_documents([{'protected': True, 'objects': [{'properties': [{'description': None, 'name': 'property1', 'title': 'something title', 'enum': ['value1', 'value2'], 'default': 'value1', 'type': 'string'}], 'description': 'desc1', 'name': 'Object1'}], 'tags': [{'name': 'Tag1'}], 'description': 'desc1', 'resource_types': [{'name': 'ResourceType1'}], 'visibility': 'private', 'display_name': '1', 'owner': '6838eb7b-6ded-434a-882c-b344c77fe8df', 'properties': [{'title': 'title1', 'name': 'Property1', 'description': None, 'type': 'string'}], 'namespace': 'namespace1'}, {'protected': False, 'objects': [{'properties': [], 'description': 'desc2', 'name': 'Object2'}, {'properties': [], 'description': 'desc3', 'name': 'Object3'}], 'tags': [{'name': 'Tag2'}, {'name': 'Tag3'}], 'description': 'desc2', 'resource_types': [{'name': 'ResourceType2'}, {'name': 'ResourceType3'}], 'visibility': 'public', 'display_name': '2', 'owner': '6838eb7b-6ded-434a-882c-b344c77fe8df', 'properties': [{'title': 'title3', 'name': 'Property3', 'description': None, 'type': 'string'}, {'title': 'title2', 'name': 'Property2', 'description': None, 'type': 'string'}], 'namespace': 'namespace2'}]) | |
Ran 12 tests in 0.499s | |
FAILED (id=0, failures=1) | |
error: testr failed (1) | |
ERROR: InvocationError: '/home/ubuntu/git/searchlight/.tox/py27/bin/lockutils-wrapper python setup.py testr --slowest --testr-args=' | |
_______________________________________________________________ summary ________________________________________________________________ | |
ERROR: py27: commands failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment