[Openstack] Heat returned 400 bad request for test_stack_crud_no_resources
XINYU ZHAO
xyzjerry at gmail.com
Mon Aug 19 18:01:44 UTC 2013
Hi
I have run tempest full test multiple times based on the latest code base
of master, but it always failed here:
I have checked the heat code , i don't find any reason why extract_args
can't be imported.
Could anybody help, thanks!
======================================================================
FAIL: tempest.api.orchestration.stacks.test_stacks.StacksTestJSON.test_stack_crud_no_resources[gate,smoke]
tempest.api.orchestration.stacks.test_stacks.StacksTestJSON.test_stack_crud_no_resources[gate,smoke]
----------------------------------------------------------------------
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "tempest/api/orchestration/stacks/test_stacks.py", line 50, in
test_stack_crud_no_resources
stack_name, self.empty_template)
File "tempest/api/orchestration/base.py", line 70, in create_stack
parameters=parameters)
File "tempest/services/orchestration/json/orchestration_client.py",
line 57, in create_stack
resp, body = self.post(uri, headers=headers, body=body)
File "tempest/common/rest_client.py", line 259, in post
return self.request('POST', url, headers, body)
File "tempest/common/rest_client.py", line 387, in request
resp, resp_body)
File "tempest/common/rest_client.py", line 437, in _error_checker
raise exceptions.BadRequest(resp_body)
BadRequest: Bad request
Details: {u'title': u'Bad Request', u'explanation': u'The server could
not comply with the request since it is either malformed or otherwise
incorrect.', u'code': 400, u'error': {u'message': u"'module' object
has no attribute 'extract_args'", u'traceback': u'Traceback (most
recent call last):\n\n File
"/opt/stack/new/heat/heat/openstack/common/rpc/amqp.py", line 435, in
_process_data\n **args)\n\n File
"/opt/stack/new/heat/heat/openstack/common/rpc/dispatcher.py", line
172, in dispatch\n result = getattr(proxyobj, method)(ctxt,
**kwargs)\n\n File "/opt/stack/new/heat/heat/engine/service.py", line
55, in wrapped\n return func(self, ctx, *args, **kwargs)\n\n File
"/opt/stack/new/heat/heat/engine/service.py", line 248, in
create_stack\n common_params =
api.extract_args(args)\n\nAttributeError: \'module\' object has no
attribute \'extract_args\'\n', u'type': u'AttributeError'}}
======================================================================
FAIL: process-returncode
process-returncode
----------------------------------------------------------------------
_StringException: Binary content:
traceback (test/plain; charset="utf8")
----------------------------------------------------------------------
Ran 1177 tests in 2383.519s
FAILED (failures=2, skipped=65)
Test id
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130819/e56600ed/attachment.html>
More information about the Openstack
mailing list