Tempest test test_show_non_existent_security_group_rule can fail at times
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
Medium
|
Prakash Bailkeri | ||
R2.1 |
Fix Committed
|
Undecided
|
Prakash Bailkeri |
Bug Description
master branch Single node setup
In this CI tempest run , https:/
All logs will be in http://
2015-02-24 19:56:46 <testcase classname=
2015-02-24 19:56:46 <failure type="testtools
2015-02-24 19:56:46
2015-02-24 19:56:46 Traceback (most recent call last):
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 non_exist_id)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 self.assertThat
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch_error = self._matchHelp
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch = matcher.
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch = self.exception_
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch = matcher.
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 reraise(*matchee)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 result = matchee()
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 return self._callable_
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 resp, body = self.get(uri)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 return self.rest_
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 return self.request('GET', url, extra_headers, headers)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 resp, resp_body)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 raise exceptions.
2015-02-24 19:56:46 ServerFault: Got server fault
2015-02-24 19:56:46 /usr/local/
2015-02-24 19:56:46 Details: An unknown exception occurred.
2015-02-24 19:56:46 Traceback (most recent call last):
2015-02-24 19:56:46 _StringException: Empty attachments:
2015-02-24 19:56:46 stderr
2015-02-24 19:56:46 stdout
2015-02-24 19:56:46
2015-02-24 19:56:46 pythonlogging:'': {{{2015-02-24 19:56:41,649 Request (NegativeSecGro
2015-02-24 19:56:46
2015-02-24 19:56:46 Traceback (most recent call last):
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 non_exist_id)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 self.assertThat
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch_error = self._matchHelp
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch = matcher.
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch = self.exception_
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch = matcher.
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 reraise(*matchee)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 result = matchee()
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 return self._callable_
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 resp, body = self.get(uri)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 return self.rest_
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 return self.request('GET', url, extra_headers, headers)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 resp, resp_body)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 raise exceptions.
2015-02-24 19:56:46 ServerFault: Got server fault
2015-02-24 19:56:46 Details: An unknown exception occurred.
2015-02-24 19:56:46
2015-02-24 19:56:46 Traceback (most recent call last):
2015-02-24 19:56:46 _StringException: Empty attachments:
2015-02-24 19:56:46 stderr
2015-02-24 19:56:46 stdout
2015-02-24 19:56:46
2015-02-24 19:56:46 pythonlogging:'': {{{2015-02-24 19:56:41,649 Request (NegativeSecGro
2015-02-24 19:56:46
2015-02-24 19:56:46 Traceback (most recent call last):
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 non_exist_id)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 self.assertThat
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch_error = self._matchHelp
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch = matcher.
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch = self.exception_
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 mismatch = matcher.
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 reraise(*matchee)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 result = matchee()
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 return self._callable_
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 resp, body = self.get(uri)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 return self.rest_
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 return self.request('GET', url, extra_headers, headers)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 resp, resp_body)
2015-02-24 19:56:46 File "/root/
2015-02-24 19:56:46 raise exceptions.
2015-02-24 19:56:46 ServerFault: Got server fault
2015-02-24 19:56:46 Details: An unknown exception occurred.
2015-02-24 19:56:46
2015-02-24 19:56:46 </failure>
2015-02-24 19:56:46 </testcase>
neutron/server.log :
==================
2015-02-24 19:56:41.646 ERROR [neutron.
Traceback (most recent call last):
File "/usr/lib/
result = method(
File "/usr/lib/
parent_
File "/usr/lib/
obj = obj_getter(
File "/usr/lib/
sg_rule_id, fields)
File "/usr/lib/
fields=fields, obj_name=res_type)
File "/usr/lib/
self.
File "/usr/lib/
raise exc.NeutronExce
NeutronException: An unknown exception occurred.
contrail-api log :
===============
<class 'cfgm_common.
Python 2.7.3: /usr/bin/python
Tue Feb 24 19:56:41 2015
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/lib/
683 try:
684 cfgdb = self._get_
685 sg_rule_info = cfgdb.security_
686 return sg_rule_info
687 except Exception as e:
sg_rule_info undefined
cfgdb = <vnc_openstack.
cfgdb.security_
sg_rule = {u'fields': [], u'filters': None, u'id': u'92dee7a0-
/usr/lib/
3895
3896 def security_
3897 sg_obj, sg_rule = self._security_
3898 if sg_obj and sg_rule:
3899 return self._security_
sg_obj undefined
sg_rule undefined
self = <vnc_openstack.
self._security_
sgr_id = u'92dee7a0-
/usr/lib/
221 for project in dom_projects:
222 proj_id = project['uuid']
223 project_sgs = self._security_
224
225 for sg_obj in project_sgs:
project_sgs = [<vnc_api.
self = <vnc_openstack.
self._security_
proj_id = u'2f28abd2-
/usr/lib/
483 project_uuid = str(uuid.
484 # Trigger a project read to ensure project sync
485 project_obj = self._project_
486 except Exception:
487 raise
project_obj undefined
self = <vnc_openstack.
self._project_read = <bound method DBInterface.
proj_id undefined
project_uuid = '2f28abd2-
/usr/lib/
172
173 def _project_read(self, proj_id=None, fq_name=None):
174 proj_obj = self._vnc_
175 return proj_obj
176 #end _project_read
proj_obj undefined
self = <vnc_openstack.
self._vnc_lib = <vnc_api.
self._vnc_
builtinid = <built-in function id>
proj_id = '2f28abd2-
fq_name = None
/usr/lib/
5616 query_params = {'exclude_
5617 'exclude_
5618 content = self._request_
5619
5620 obj_dict = json.loads(
content undefined
self = <vnc_api.
self._request_
global rest = <module 'cfgm_common.rest' from '/usr/lib/
rest.OP_GET = 2
uri = u'/project/
query_params = {'exclude_
/usr/lib/
344 return self._request(op, url, data=data, retry_on_
345 retry_after_
346 retry_count=
347
348 def _request(self, op, url, data=None, retry_on_
retry_count = 30
/usr/lib/
385 elif status == 404:
386 raise NoIdError('Error: oper %s url %s body %s response %s'
387 % (op, url, data, content))
388 elif status == 403:
389 raise PermissionDenie
op = 2
url = u'/project/
data = {'exclude_
<class 'cfgm_common.
__class__ = <class 'cfgm_common.
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>
__dict__ = {'_unknown_id': u"Error: oper 2 url /project/
__doc__ = None
__format__ = <built-in method __format__ of NoIdError object>
__getattrib
__getitem__ = <method-wrapper '__getitem__' of NoIdError object>
__getslice__ = <method-wrapper '__getslice__' of NoIdError object>
__hash__ = <method-wrapper '__hash__' of NoIdError object>
__init__ = <bound method NoIdError.__init__ of NoIdError()>
__module__ = 'cfgm_common.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of NoIdError object>
__reduce_ex__ = <built-in method __reduce_ex__ of NoIdError object>
__repr__ = <method-wrapper '__repr__' of NoIdError object>
__setattr__ = <method-wrapper '__setattr__' of NoIdError object>
__setstate__ = <built-in method __setstate__ of NoIdError object>
__sizeof__ = <built-in method __sizeof__ of NoIdError object>
__str__ = <bound method NoIdError.__str__ of NoIdError()>
__subclassh
__unicode__ = <built-in method __unicode__ of NoIdError object>
__weakref__ = None
_unknown_id = u"Error: oper 2 url /project/
args = ()
message = ''
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/lib/
sg_rule_info = cfgdb.security_
File "/usr/lib/
sg_obj, sg_rule = self._security_
File "/usr/lib/
project_sgs = self._security_
File "/usr/lib/
project_obj = self._project_
File "/usr/lib/
proj_obj = self._vnc_
File "/usr/lib/
content = self._request_
File "/usr/lib/
retry_
File "/usr/lib/
% (op, url, data, content))
NoIdError: Unknown id: Error: oper 2 url /project/
Traceback (most recent call last):
File "/usr/lib/
return route.call(**args)
File "/usr/lib/
rv = callback(*a, **ka)
File "/usr/lib/
rv = callback(*a, **ka)
File "/usr/lib/
return self.plugin_
File "/usr/lib/
raise e
NoIdError: Unknown id: Error: oper 2 url /project/
192.168.0.81 - - [2015-02-24 19:56:41] "POST /neutron/
Changed in juniperopenstack: | |
assignee: | Sachin Bansal (sbansal) → Prakash Bailkeri (prakashmb) |
Review in progress for https:/ /review. opencontrail. org/8391
Submitter: Prakash Bailkeri (<email address hidden>)