Guest User

Untitled

a guest
May 9th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  1. py27 runtests: commands[0] | python -m tacker.openstack.common.lockutils python setup.py testr --slowest --testr-args=
  2. running testr
  3. running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tacker/tests/unit/vm} --list
  4. --- import errors ---
  5. Failed to import test module: tacker.tests.unit.vm.test_toscautils
  6. Traceback (most recent call last):
  7. File "/home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path
  8. module = self._get_module_from_name(name)
  9. File "/home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
  10. __import__(name)
  11. File "tacker/tests/unit/vm/test_toscautils.py", line 32, in <module>
  12. class TestToscaUtils(testtools.TestCase):
  13. File "tacker/tests/unit/vm/test_toscautils.py", line 37, in TestToscaUtils
  14. yaml_dict_tpl=vnfd_dict)
  15. File "/home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/toscaparser/tosca_template.py", line 105, in __init__
  16. self.verify_template()
  17. File "/home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/toscaparser/tosca_template.py", line 247, in verify_template
  18. '\n\t'.join(ExceptionCollector.getExceptionsReport()))
  19. ValidationError:
  20. The pre-parsed input failed validation with the following error(s):
  21.  
  22. MissingRequiredFieldError: "properties" of template "VDU1" is missing required field "['availability_zone', 'service_type', 'metadata', 'placement_policy']".
  23. File /usr/lib/python2.7/runpy.py, line 162, in _run_module_as_main
  24. "__main__", fname, loader, pkg_name)
  25. File /usr/lib/python2.7/runpy.py, line 72, in _run_code
  26. exec code in run_globals
  27. File /home/dkushwaha/codeUp/tacker/.tox/py27/lib/python2.7/site-packages/subunit/run.py, line 149, in <module>
  28. main()
  29. File /home/dkushwaha/codeUp/tacker/.tox/py27/lib/python2.7/site-packages/subunit/run.py, line 145, in main
  30. stdout=stdout, exit=False)
  31. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py, line 171, in __init__
  32. self.parseArgs(argv)
  33. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/unittest2/main.py, line 113, in parseArgs
  34. self._do_discovery(argv[2:])
  35. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py, line 211, in _do_discovery
  36. super(TestProgram, self)._do_discovery(argv, Loader=Loader)
  37. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/unittest2/main.py, line 223, in _do_discovery
  38. self.test = loader.discover(self.start, self.pattern, self.top)
  39. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py, line 367, in discover
  40. tests = list(self._find_tests(start_dir, pattern))
  41. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py, line 424, in _find_tests
  42. full_path, pattern, namespace)
  43. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py, line 456, in _find_test_path
  44. module = self._get_module_from_name(name)
  45. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py, line 395, in _get_module_from_name
  46. __import__(name)
  47. File tacker/tests/unit/vm/test_toscautils.py, line 32, in <module>
  48. class TestToscaUtils(testtools.TestCase):
  49. File tacker/tests/unit/vm/test_toscautils.py, line 37, in TestToscaUtils
  50. yaml_dict_tpl=vnfd_dict)
  51. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/toscaparser/tosca_template.py, line 96, in __init__
  52. self.topology_template = self._topology_template()
  53. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/toscaparser/tosca_template.py, line 111, in _topology_template
  54. self.parsed_params)
  55. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/toscaparser/topology_template.py, line 54, in __init__
  56. self.nodetemplates = self._nodetemplates()
  57. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/toscaparser/topology_template.py, line 83, in _nodetemplates
  58. tpl.validate(self)
  59. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/toscaparser/nodetemplate.py, line 184, in validate
  60. self._validate_properties(self.entity_tpl, self.type_definition)
  61. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/toscaparser/entity_template.py, line 168, in _validate_properties
  62. self._common_validate_properties(entitytype, properties)
  63. File /home/dkushwaha/codeUp/tacker/.tox/py27/local/lib/python2.7/site-packages/toscaparser/entity_template.py, line 229, in _common_validate_properties
  64. required=req_props_no_value_or_default))
  65.  
  66. Non-zero exit code (2) from test listing.
  67. error: testr failed (3)
  68. ERROR: InvocationError: '/home/dkushwaha/codeUp/tacker/.tox/py27/bin/python -m tacker.openstack.common.lockutils python setup.py testr --slowest --testr-args='
  69. _________________________________________________________________ summary __________________________________________________________________
  70. ERROR: py27: commands failed
Add Comment
Please, Sign In to add comment