Test Results

Designed for use with JUnit and Ant.

Properties

Build : 1.0.9.4.2
cores : {'10.0.0.57': []}
LogsLocation : http://None/None/1.0.9.4.2_2024_10_18_22_01_40/logs/
Report : http://None/None/1.0.9.4.2_2024_10_18_22_01_40/junit-noframes.html
Topology :
DISTRO : "Ubuntu 22.04.4 LTS"
SKU : yoga
Config Nodes : ['cn-jenkins-deploy-platform-ansible-os-2113-1']
Control Nodes : ['cn-jenkins-deploy-platform-ansible-os-2113-1']
Compute Nodes : ['cn-jenkins-deploy-platform-ansible-os-2113-1']
Openstack Node : ['cn-jenkins-deploy-platform-ansible-os-2113-1']
WebUI Node : ['cn-jenkins-deploy-platform-ansible-os-2113-1']
Analytics Nodes : ['cn-jenkins-deploy-platform-ansible-os-2113-1']
Database Nodes : ['cn-jenkins-deploy-platform-ansible-os-2113-1']
Physical Devices : ['']


Summary

TestsFailuresErrorsSkippedSuccess rateTime
23180310.00%73.145
Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Packages

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
NameTestsErrorsFailuresSkippedTime(s)
23018373.145

Package

NameTestsErrorsFailuresSkippedTime(s)
scripts18017058.782
scripts501314.363
Back to top


TestCase scripts

NameStatusTypeTime(s)LogFile
AnalyticsTestSanity.test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity,vcenter,vcenter_compute]Success0.808
AnalyticsBasicTestSanity.test_verify_object_logs[ci_sanity,dev_sanity_dpdk,sanity,suite1,vcenter,vcenter_compute]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 177, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: NoIdError
Python 3.6.8: /usr/bin/python3
Fri Oct 18 22:02:15 2024

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.analytics.test_analytics_basic.Analytic...uite1,vcenter,vcenter_compute] id=0x7f3880e04f60>, *args=(), **kwargs={})
79 log.info('Initial checks done. Running the testcase now')
80 log.info('')
81 result = function(self, *args, **kwargs)
82 if self.inputs.upgrade:
83 pid = os.getpid()
result = None
function = <function AnalyticsBasicTestSanity.test_verify_object_logs>
self = <scripts.analytics.test_analytics_basic.Analytic...uite1,vcenter,vcenter_compute] id=0x7f3880e04f60>
args = ()
kwargs = {}

/contrail-test/scripts/analytics/test_analytics_basic.py in test_verify_object_logs(self=<scripts.analytics.test_analytics_basic.Analytic...uite1,vcenter,vcenter_compute] id=0x7f3880e04f60>)
34 start_time=str(OpServerUtils.utc_timestamp_usec())
35 vn_fixture= self.useFixture(VNFixture(connections=self.connections,
36 vn_name=vn_name, subnets=vn_subnets))
37 vn_fixture.verify_on_setup()
38 vm1_fixture = self.create_vm(vn_fixture=vn_fixture, image_name='cirros')
vn_name = 'ctest-vn22-05390142'
subnets undefined
vn_subnets = ['139.9.102.0/26']

/usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=<scripts.analytics.test_analytics_basic.Analytic...uite1,vcenter,vcenter_compute] id=0x7f3880e04f60>, fixture=<vn_test.VNFixture object>)
754 # Gather_details worked, so raise the exception setUp
755 # encountered.
756 reraise(*exc_info)
757 else:
758 self.addCleanup(fixture.cleanUp)
global reraise = <function reraise>
exc_info = (<class 'vnc_api.exceptions.NoIdError'>, NoIdError('Error: oper 1 url /fqname-to-id body ...AnalyticsBasicTestSanity-79331299\'] not found',), <traceback object>)

/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py in reraise(exc_class=<class 'vnc_api.exceptions.NoIdError'>, exc_obj=NoIdError('Error: oper 1 url /fqname-to-id body ...AnalyticsBasicTestSanity-79331299\'] not found',), exc_tb=<traceback object>, _marker=<object object>)
13
14 def reraise(exc_class, exc_obj, exc_tb, _marker=object()):
15 """Re-raise an exception received from sys.exc_info() or similar."""
16 raise exc_obj.with_traceback(exc_tb)
17
exc_obj = NoIdError('Error: oper 1 url /fqname-to-id body ...AnalyticsBasicTestSanity-79331299\'] not found',)
exc_obj.with_traceback = <built-in method with_traceback of NoIdError object>
exc_tb = <traceback object>

/usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=<scripts.analytics.test_analytics_basic.Analytic...uite1,vcenter,vcenter_compute] id=0x7f3880e04f60>, fixture=<vn_test.VNFixture object>)
729 """
730 try:
731 fixture.setUp()
732 except MultipleExceptions as e:
733 if (fixtures is not None and
fixture = <vn_test.VNFixture object>
fixture.setUp = <bound method VNFixture.setUp of <vn_test.VNFixture object>>

/contrail-test/fixtures/vn_test.py in setUp(self=<vn_test.VNFixture object>)
447 def setUp(self):
448 super(VNFixture, self).setUp()
449 self.create()
450
451 def create(self):
self = <vn_test.VNFixture object>
self.create = <bound method VNFixture.create of <vn_test.VNFixture object>>

/contrail-test/fixtures/vn_test.py in create(self=<vn_test.VNFixture object>)
452 project_fqname = [self.domain_name, self.project_name]
453 self.project_obj = self.connections.vnc_lib_fixture.get_project_obj(
454 project_fqname)
455 if self.uuid:
456 return self.read()
project_fqname = ['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299']

/contrail-test/fixtures/vnc_api_test.py in get_project_obj(self=<vnc_api_test.VncLibFixture object>, project_fqname=['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299'])
284 def get_project_obj(self, project_fqname=None):
285 if project_fqname:
286 return self.vnc_api_h.project_read(fq_name=project_fqname)
287 elif self.connections:
288 project_id = self.connections.project_id
self = <vnc_api_test.VncLibFixture object>
self.vnc_api_h = <vnc_api_test.TestVncApi object>
self.vnc_api_h.project_read = functools.partial(<bound method VncApi._object_r...TestVncApi object at 0x7f387c9329b0>>, 'project')
fq_name undefined
project_fqname = ['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299']

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project',), **kwargs={'fq_name': ['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299']})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi._object_read>
self = <vnc_api_test.TestVncApi object>
args = ('project',)
kwargs = {'fq_name': ['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299']}

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _object_read(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299'], fq_name_str=None, id=None, ifmap_id=None, fields=None, exclude_back_refs=True, exclude_children=True)
699
700 (args_ok, result) = self._read_args_to_id(
701 res_type, fq_name, fq_name_str, id, ifmap_id)
702 if not args_ok:
703 return result
res_type = 'project'
fq_name = ['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299']
fq_name_str = None
id = None
ifmap_id = None

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _read_args_to_id(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299'], fq_name_str=None, id=None, ifmap_id=None)
1112 return (True, id)
1113 if fq_name:
1114 return (True, self.fq_name_to_id(res_type, fq_name))
1115 if fq_name_str:
1116 return (True, self.fq_name_to_id(res_type, fq_name_str.split(':')))
self = <vnc_api_test.TestVncApi object>
self.fq_name_to_id = <bound method VncApi.fq_name_to_id of <vnc_api_test.TestVncApi object>>
res_type = 'project'
fq_name = ['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299']

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project', ['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299']), **kwargs={})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi.fq_name_to_id>
self = <vnc_api_test.TestVncApi object>
args = ('project', ['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299'])
kwargs = {}

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in fq_name_to_id(self=<vnc_api_test.TestVncApi object>, obj_type='project', fq_name=['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299'])
1393 uri = self._action_uri['name-to-id']
1394 try:
1395 content = self._request_server(OP_POST, uri, data=json_body)
1396 except HttpError as he:
1397 if he.status_code == 404:
content undefined
self = <vnc_api_test.TestVncApi object>
self._request_server = <bound method VncApi._request_server of <vnc_api_test.TestVncApi object>>
global OP_POST = 1
uri = '/fqname-to-id'
data undefined
json_body = '{"type": "project", "fq_name": ["default-domain", "ctest-AnalyticsBasicTestSanity-79331299"]}'

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request_server(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-AnalyticsBasicTestSanity-79331299"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1126 return self._request(
1127 op, url, data=data, retry_on_error=retry_on_error,
1128 retry_after_authn=retry_after_authn, retry_count=retry_count)
1129 # end _request_server
1130
retry_after_authn = False
retry_count = 30

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-AnalyticsBasicTestSanity-79331299"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1174 # Recursive call after authentication (max 1 level)
1175 content = self._request(
1176 op, url, data=data, retry_after_authn=True)
1177
1178 return content
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-AnalyticsBasicTestSanity-79331299"]}'
retry_after_authn = False

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-AnalyticsBasicTestSanity-79331299"]}', retry_on_error=True, retry_after_authn=True, retry_count=30)
1179 elif status == 404:
1180 raise NoIdError('Error: oper %s url %s body %s response %s'
1181 % (op, url, data, content))
1182 elif status == 403:
1183 raise PermissionDenied(content)
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-AnalyticsBasicTestSanity-79331299"]}'
content = "Name ['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299'] not found"
NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-AnalyticsBasicTestSanity-79331299"]} response Name ['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299'] not found
__cause__ = None
__class__ = <class 'vnc_api.exceptions.NoIdError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>
__dict__ = {'_unknown_id': 'Error: oper 1 url /fqname-to-id body {"type": "p...est-AnalyticsBasicTestSanity-79331299\'] not found'}
__dir__ = <built-in method __dir__ of NoIdError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of NoIdError object>
__format__ = <built-in method __format__ of NoIdError object>
__ge__ = <method-wrapper '__ge__' of NoIdError object>
__getattribute__ = <method-wrapper '__getattribute__' of NoIdError object>
__gt__ = <method-wrapper '__gt__' of NoIdError object>
__hash__ = <method-wrapper '__hash__' of NoIdError object>
__init__ = <bound method NoIdError.__init__ of NoIdError('E...nalyticsBasicTestSanity-79331299\'] not found',)>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of NoIdError object>
__lt__ = <method-wrapper '__lt__' of NoIdError object>
__module__ = 'vnc_api.exceptions'
__ne__ = <method-wrapper '__ne__' of NoIdError object>
__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('Er...nalyticsBasicTestSanity-79331299\'] not found',)>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
_unknown_id = 'Error: oper 1 url /fqname-to-id body {"type": "p...est-AnalyticsBasicTestSanity-79331299\'] not found'
args = ('Error: oper 1 url /fqname-to-id body {"type": "p...est-AnalyticsBasicTestSanity-79331299\'] not found',)
with_traceback = <built-in method with_traceback of NoIdError object>

The above is a description of an error in a Python program. Here is
the original traceback:

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 81, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/analytics/test_analytics_basic.py", line 36, in test_verify_object_logs
vn_name=vn_name, subnets=vn_subnets))
File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture
reraise(*exc_info)
File "/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise
raise exc_obj.with_traceback(exc_tb)
File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture
fixture.setUp()
File "/contrail-test/fixtures/vn_test.py", line 449, in setUp
self.create()
File "/contrail-test/fixtures/vn_test.py", line 454, in create
project_fqname)
File "/contrail-test/fixtures/vnc_api_test.py", line 286, in get_project_obj
return self.vnc_api_h.project_read(fq_name=project_fqname)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 701, in _object_read
res_type, fq_name, fq_name_str, id, ifmap_id)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id
return (True, self.fq_name_to_id(res_type, fq_name))
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1395, in fq_name_to_id
content = self._request_server(OP_POST, uri, data=json_body)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1176, in _request
op, url, data=data, retry_after_authn=True)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-AnalyticsBasicTestSanity-79331299"]} response Name ['default-domain', 'ctest-AnalyticsBasicTestSanity-79331299'] not found

0.717 Log File
.tearDownClass (scripts.analytics.test_analytics_basic.AnalyticsBasicTestSanity)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/analytics/base.py", line 20, in tearDownClass
super(AnalyticsBaseTest, cls).tearDownClass()
File "/contrail-test/common/base.py", line 153, in tearDownClass
super(GenericTestBase, cls).tearDownClass()
File "/contrail-test/test_v1.py", line 81, in tearDownClass
cls.admin_isolated_creds.delete_tenant(cls.project)
File "/contrail-test/common/isolated_creds.py", line 192, in delete_tenant
project_fixture.cleanUp()
File "/contrail-test/fixtures/project_test.py", line 145, in cleanUp
self.delete()
File "/contrail-test/fixtures/project_test.py", line 160, in delete
if not self.check_no_project_references():
File "/contrail-test/tcutils/util.py", line 97, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/project_test.py", line 177, in check_no_project_references
vnc_project_obj = self.vnc_lib_h.project_read(id=self.uuid)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 728, in _object_read
response = self._request_server(OP_GET, uri, query_params)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 2 url /project/b81229e2-7fe7-48e8-a126-5459f0ee7855 body {'exclude_back_refs': True, 'exclude_children': True} response Unknown id: b81229e2-7fe7-48e8-a126-5459f0ee7855

0.000 Log File
.setUpClass (scripts.floatingip.test_floatingip_basic.FloatingipBasicTestSanity)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/floatingip/test_floatingip_basic.py", line 41, in setUpClass
super(FloatingipBasicTestSanity, cls).setUpClass()
File "/contrail-test/scripts/floatingip/base.py", line 28, in setUpClass
logger=cls.logger)
File "/contrail-test/tcutils/util.py", line 992, in __call__
Singleton, cls).__call__(*args, **kwargs)
File "/contrail-test/common/create_public_vn.py", line 39, in __init__
self.setUp()
File "/contrail-test/common/create_public_vn.py", line 65, in setUp
self.public_tenant, 'default')
File "/contrail-test/fixtures/project_test.py", line 325, in set_sec_group_for_allow_all
self.update_sec_group(project_name, sg_name, rule1)
File "/contrail-test/fixtures/project_test.py", line 330, in update_sec_group
fq_name=[self.domain_name, project_name, sec_group_name])
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 701, in _object_read
res_type, fq_name, fq_name_str, id, ifmap_id)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id
return (True, self.fq_name_to_id(res_type, fq_name))
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1395, in fq_name_to_id
content = self._request_server(OP_POST, uri, data=json_body)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "security-group", "fq_name": ["default-domain", "admin", "default"]} response Name ['default-domain', 'admin', 'default'] not found

0.000 Log File
.setUpClass (scripts.heat.test_heat.TestHeat)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/heat/test_heat.py", line 33, in setUpClass
super(TestHeat, cls).setUpClass()
File "/contrail-test/common/heat/base.py", line 52, in setUpClass
logger=cls.logger)
File "/contrail-test/tcutils/util.py", line 992, in __call__
Singleton, cls).__call__(*args, **kwargs)
File "/contrail-test/common/create_public_vn.py", line 39, in __init__
self.setUp()
File "/contrail-test/common/create_public_vn.py", line 65, in setUp
self.public_tenant, 'default')
File "/contrail-test/fixtures/project_test.py", line 325, in set_sec_group_for_allow_all
self.update_sec_group(project_name, sg_name, rule1)
File "/contrail-test/fixtures/project_test.py", line 330, in update_sec_group
fq_name=[self.domain_name, project_name, sec_group_name])
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 701, in _object_read
res_type, fq_name, fq_name_str, id, ifmap_id)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id
return (True, self.fq_name_to_id(res_type, fq_name))
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1395, in fq_name_to_id
content = self._request_server(OP_POST, uri, data=json_body)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "security-group", "fq_name": ["default-domain", "admin", "default"]} response Name ['default-domain', 'admin', 'default'] not found

0.000 Log File
.setUpClass (scripts.neutron.test_routers_basic.TestRoutersBasic)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/neutron/test_routers_basic.py", line 18, in setUpClass
super(TestRoutersBasic, cls).setUpClass()
File "/contrail-test/common/neutron/base.py", line 48, in setUpClass
logger=cls.logger)
File "/contrail-test/tcutils/util.py", line 992, in __call__
Singleton, cls).__call__(*args, **kwargs)
File "/contrail-test/common/create_public_vn.py", line 39, in __init__
self.setUp()
File "/contrail-test/common/create_public_vn.py", line 65, in setUp
self.public_tenant, 'default')
File "/contrail-test/fixtures/project_test.py", line 325, in set_sec_group_for_allow_all
self.update_sec_group(project_name, sg_name, rule1)
File "/contrail-test/fixtures/project_test.py", line 330, in update_sec_group
fq_name=[self.domain_name, project_name, sec_group_name])
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 701, in _object_read
res_type, fq_name, fq_name_str, id, ifmap_id)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id
return (True, self.fq_name_to_id(res_type, fq_name))
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1395, in fq_name_to_id
content = self._request_server(OP_POST, uri, data=json_body)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "security-group", "fq_name": ["default-domain", "admin", "default"]} response Name ['default-domain', 'admin', 'default'] not found

0.000 Log File
TestBasicPolicyIpv4v6.test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1,vcenter_compute]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 177, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: NoIdError
Python 3.6.8: /usr/bin/python3
Fri Oct 18 22:02:33 2024

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.policy.test_policy.TestBasicPolicyIpv4v...sanity,suite1,vcenter_compute] id=0x7f387e270cc0>, *args=(), **kwargs={})
79 log.info('Initial checks done. Running the testcase now')
80 log.info('')
81 result = function(self, *args, **kwargs)
82 if self.inputs.upgrade:
83 pid = os.getpid()
result = None
function = <function TestBasicPolicy.test_basic_policy_allow_deny>
self = <scripts.policy.test_policy.TestBasicPolicyIpv4v...sanity,suite1,vcenter_compute] id=0x7f387e270cc0>
args = ()
kwargs = {}

/contrail-test/scripts/policy/test_policy_basic.py in test_basic_policy_allow_deny(self=<scripts.policy.test_policy.TestBasicPolicyIpv4v...sanity,suite1,vcenter_compute] id=0x7f387e270cc0>)
96 Check that pings fail
97 '''
98 vn1_fixture = self.create_vn()
99 vn2_fixture = self.create_vn()
100 # vn1_name = get_random_name('vn1')
vn1_fixture undefined
self = <scripts.policy.test_policy.TestBasicPolicyIpv4v...sanity,suite1,vcenter_compute] id=0x7f387e270cc0>
self.create_vn = <bound method GenericTestBase.create_vn of <scri...anity,suite1,vcenter_compute] id=0x7f387e270cc0>>

/contrail-test/common/base.py in create_vn(self=<scripts.policy.test_policy.TestBasicPolicyIpv4v...sanity,suite1,vcenter_compute] id=0x7f387e270cc0>, vn_name=None, vn_subnets=None, cleanup=True, **kwargs={})
202 vn_fixture = self.create_only_vn(vn_name=vn_name,
203 vn_subnets=vn_subnets,
204 **kwargs)
205 if cleanup:
206 self.addCleanup(vn_fixture.cleanUp)
kwargs = {}

/contrail-test/common/base.py in create_only_vn(cls=<class 'scripts.policy.test_policy.TestBasicPolicyIpv4v6'>, vn_name='ctest-vn-35072061', vn_subnets=None, **kwargs={})
195 subnets=vn_subnets,
196 **kwargs)
197 vn_fixture.setUp()
198 return vn_fixture
199 # end create_only_vn
vn_fixture = <vn_test.VNFixture object>
vn_fixture.setUp = <bound method VNFixture.setUp of <vn_test.VNFixture object>>

/contrail-test/fixtures/vn_test.py in setUp(self=<vn_test.VNFixture object>)
447 def setUp(self):
448 super(VNFixture, self).setUp()
449 self.create()
450
451 def create(self):
self = <vn_test.VNFixture object>
self.create = <bound method VNFixture.create of <vn_test.VNFixture object>>

/contrail-test/fixtures/vn_test.py in create(self=<vn_test.VNFixture object>)
452 project_fqname = [self.domain_name, self.project_name]
453 self.project_obj = self.connections.vnc_lib_fixture.get_project_obj(
454 project_fqname)
455 if self.uuid:
456 return self.read()
project_fqname = ['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525']

/contrail-test/fixtures/vnc_api_test.py in get_project_obj(self=<vnc_api_test.VncLibFixture object>, project_fqname=['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525'])
284 def get_project_obj(self, project_fqname=None):
285 if project_fqname:
286 return self.vnc_api_h.project_read(fq_name=project_fqname)
287 elif self.connections:
288 project_id = self.connections.project_id
self = <vnc_api_test.VncLibFixture object>
self.vnc_api_h = <vnc_api_test.TestVncApi object>
self.vnc_api_h.project_read = functools.partial(<bound method VncApi._object_r...TestVncApi object at 0x7f387c3a8048>>, 'project')
fq_name undefined
project_fqname = ['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525']

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project',), **kwargs={'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525']})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi._object_read>
self = <vnc_api_test.TestVncApi object>
args = ('project',)
kwargs = {'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525']}

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _object_read(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525'], fq_name_str=None, id=None, ifmap_id=None, fields=None, exclude_back_refs=True, exclude_children=True)
699
700 (args_ok, result) = self._read_args_to_id(
701 res_type, fq_name, fq_name_str, id, ifmap_id)
702 if not args_ok:
703 return result
res_type = 'project'
fq_name = ['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525']
fq_name_str = None
id = None
ifmap_id = None

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _read_args_to_id(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525'], fq_name_str=None, id=None, ifmap_id=None)
1112 return (True, id)
1113 if fq_name:
1114 return (True, self.fq_name_to_id(res_type, fq_name))
1115 if fq_name_str:
1116 return (True, self.fq_name_to_id(res_type, fq_name_str.split(':')))
self = <vnc_api_test.TestVncApi object>
self.fq_name_to_id = <bound method VncApi.fq_name_to_id of <vnc_api_test.TestVncApi object>>
res_type = 'project'
fq_name = ['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525']

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project', ['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525']), **kwargs={})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi.fq_name_to_id>
self = <vnc_api_test.TestVncApi object>
args = ('project', ['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525'])
kwargs = {}

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in fq_name_to_id(self=<vnc_api_test.TestVncApi object>, obj_type='project', fq_name=['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525'])
1393 uri = self._action_uri['name-to-id']
1394 try:
1395 content = self._request_server(OP_POST, uri, data=json_body)
1396 except HttpError as he:
1397 if he.status_code == 404:
content undefined
self = <vnc_api_test.TestVncApi object>
self._request_server = <bound method VncApi._request_server of <vnc_api_test.TestVncApi object>>
global OP_POST = 1
uri = '/fqname-to-id'
data undefined
json_body = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicyIpv4v6-38732525"]}'

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request_server(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicyIpv4v6-38732525"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1126 return self._request(
1127 op, url, data=data, retry_on_error=retry_on_error,
1128 retry_after_authn=retry_after_authn, retry_count=retry_count)
1129 # end _request_server
1130
retry_after_authn = False
retry_count = 30

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicyIpv4v6-38732525"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1174 # Recursive call after authentication (max 1 level)
1175 content = self._request(
1176 op, url, data=data, retry_after_authn=True)
1177
1178 return content
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicyIpv4v6-38732525"]}'
retry_after_authn = False

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicyIpv4v6-38732525"]}', retry_on_error=True, retry_after_authn=True, retry_count=30)
1179 elif status == 404:
1180 raise NoIdError('Error: oper %s url %s body %s response %s'
1181 % (op, url, data, content))
1182 elif status == 403:
1183 raise PermissionDenied(content)
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicyIpv4v6-38732525"]}'
content = "Name ['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525'] not found"
NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicyIpv4v6-38732525"]} response Name ['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525'] not found
__cause__ = None
__class__ = <class 'vnc_api.exceptions.NoIdError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>
__dict__ = {'_unknown_id': 'Error: oper 1 url /fqname-to-id body {"type": "p...\'ctest-TestBasicPolicyIpv4v6-38732525\'] not found'}
__dir__ = <built-in method __dir__ of NoIdError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of NoIdError object>
__format__ = <built-in method __format__ of NoIdError object>
__ge__ = <method-wrapper '__ge__' of NoIdError object>
__getattribute__ = <method-wrapper '__getattribute__' of NoIdError object>
__gt__ = <method-wrapper '__gt__' of NoIdError object>
__hash__ = <method-wrapper '__hash__' of NoIdError object>
__init__ = <bound method NoIdError.__init__ of NoIdError('E...t-TestBasicPolicyIpv4v6-38732525\'] not found',)>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of NoIdError object>
__lt__ = <method-wrapper '__lt__' of NoIdError object>
__module__ = 'vnc_api.exceptions'
__ne__ = <method-wrapper '__ne__' of NoIdError object>
__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('Er...t-TestBasicPolicyIpv4v6-38732525\'] not found',)>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
_unknown_id = 'Error: oper 1 url /fqname-to-id body {"type": "p...\'ctest-TestBasicPolicyIpv4v6-38732525\'] not found'
args = ('Error: oper 1 url /fqname-to-id body {"type": "p...\'ctest-TestBasicPolicyIpv4v6-38732525\'] not found',)
with_traceback = <built-in method with_traceback of NoIdError object>

The above is a description of an error in a Python program. Here is
the original traceback:

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 81, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/policy/test_policy_basic.py", line 98, in test_basic_policy_allow_deny
vn1_fixture = self.create_vn()
File "/contrail-test/common/base.py", line 204, in create_vn
**kwargs)
File "/contrail-test/common/base.py", line 197, in create_only_vn
vn_fixture.setUp()
File "/contrail-test/fixtures/vn_test.py", line 449, in setUp
self.create()
File "/contrail-test/fixtures/vn_test.py", line 454, in create
project_fqname)
File "/contrail-test/fixtures/vnc_api_test.py", line 286, in get_project_obj
return self.vnc_api_h.project_read(fq_name=project_fqname)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 701, in _object_read
res_type, fq_name, fq_name_str, id, ifmap_id)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id
return (True, self.fq_name_to_id(res_type, fq_name))
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1395, in fq_name_to_id
content = self._request_server(OP_POST, uri, data=json_body)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1176, in _request
op, url, data=data, retry_after_authn=True)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicyIpv4v6-38732525"]} response Name ['default-domain', 'ctest-TestBasicPolicyIpv4v6-38732525'] not found

0.823 Log File
.tearDownClass (scripts.policy.test_policy.TestBasicPolicyIpv4v6)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/policy/base.py", line 12, in tearDownClass
super(BasePolicyTest, cls).tearDownClass()
File "/contrail-test/common/base.py", line 153, in tearDownClass
super(GenericTestBase, cls).tearDownClass()
File "/contrail-test/test_v1.py", line 81, in tearDownClass
cls.admin_isolated_creds.delete_tenant(cls.project)
File "/contrail-test/common/isolated_creds.py", line 192, in delete_tenant
project_fixture.cleanUp()
File "/contrail-test/fixtures/project_test.py", line 145, in cleanUp
self.delete()
File "/contrail-test/fixtures/project_test.py", line 160, in delete
if not self.check_no_project_references():
File "/contrail-test/tcutils/util.py", line 97, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/project_test.py", line 177, in check_no_project_references
vnc_project_obj = self.vnc_lib_h.project_read(id=self.uuid)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 728, in _object_read
response = self._request_server(OP_GET, uri, query_params)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 2 url /project/79bfd43c-aee2-401b-90ad-85e3ef1c8933 body {'exclude_back_refs': True, 'exclude_children': True} response Unknown id: 79bfd43c-aee2-401b-90ad-85e3ef1c8933

0.000 Log File
TestBasicPolicy.test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1,vcenter_compute]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 177, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: NoIdError
Python 3.6.8: /usr/bin/python3
Fri Oct 18 22:02:36 2024

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.policy.test_policy_basic.TestBasicPolic...sanity,suite1,vcenter_compute] id=0x7f387e21f3c8>, *args=(), **kwargs={})
79 log.info('Initial checks done. Running the testcase now')
80 log.info('')
81 result = function(self, *args, **kwargs)
82 if self.inputs.upgrade:
83 pid = os.getpid()
result = None
function = <function TestBasicPolicy.test_basic_policy_allow_deny>
self = <scripts.policy.test_policy_basic.TestBasicPolic...sanity,suite1,vcenter_compute] id=0x7f387e21f3c8>
args = ()
kwargs = {}

/contrail-test/scripts/policy/test_policy_basic.py in test_basic_policy_allow_deny(self=<scripts.policy.test_policy_basic.TestBasicPolic...sanity,suite1,vcenter_compute] id=0x7f387e21f3c8>)
96 Check that pings fail
97 '''
98 vn1_fixture = self.create_vn()
99 vn2_fixture = self.create_vn()
100 # vn1_name = get_random_name('vn1')
vn1_fixture undefined
self = <scripts.policy.test_policy_basic.TestBasicPolic...sanity,suite1,vcenter_compute] id=0x7f387e21f3c8>
self.create_vn = <bound method GenericTestBase.create_vn of <scri...anity,suite1,vcenter_compute] id=0x7f387e21f3c8>>

/contrail-test/common/base.py in create_vn(self=<scripts.policy.test_policy_basic.TestBasicPolic...sanity,suite1,vcenter_compute] id=0x7f387e21f3c8>, vn_name=None, vn_subnets=None, cleanup=True, **kwargs={})
202 vn_fixture = self.create_only_vn(vn_name=vn_name,
203 vn_subnets=vn_subnets,
204 **kwargs)
205 if cleanup:
206 self.addCleanup(vn_fixture.cleanUp)
kwargs = {}

/contrail-test/common/base.py in create_only_vn(cls=<class 'scripts.policy.test_policy_basic.TestBasicPolicy'>, vn_name='ctest-vn-76577747', vn_subnets=None, **kwargs={})
195 subnets=vn_subnets,
196 **kwargs)
197 vn_fixture.setUp()
198 return vn_fixture
199 # end create_only_vn
vn_fixture = <vn_test.VNFixture object>
vn_fixture.setUp = <bound method VNFixture.setUp of <vn_test.VNFixture object>>

/contrail-test/fixtures/vn_test.py in setUp(self=<vn_test.VNFixture object>)
447 def setUp(self):
448 super(VNFixture, self).setUp()
449 self.create()
450
451 def create(self):
self = <vn_test.VNFixture object>
self.create = <bound method VNFixture.create of <vn_test.VNFixture object>>

/contrail-test/fixtures/vn_test.py in create(self=<vn_test.VNFixture object>)
452 project_fqname = [self.domain_name, self.project_name]
453 self.project_obj = self.connections.vnc_lib_fixture.get_project_obj(
454 project_fqname)
455 if self.uuid:
456 return self.read()
project_fqname = ['default-domain', 'ctest-TestBasicPolicy-49132564']

/contrail-test/fixtures/vnc_api_test.py in get_project_obj(self=<vnc_api_test.VncLibFixture object>, project_fqname=['default-domain', 'ctest-TestBasicPolicy-49132564'])
284 def get_project_obj(self, project_fqname=None):
285 if project_fqname:
286 return self.vnc_api_h.project_read(fq_name=project_fqname)
287 elif self.connections:
288 project_id = self.connections.project_id
self = <vnc_api_test.VncLibFixture object>
self.vnc_api_h = <vnc_api_test.TestVncApi object>
self.vnc_api_h.project_read = functools.partial(<bound method VncApi._object_r...TestVncApi object at 0x7f387c2884e0>>, 'project')
fq_name undefined
project_fqname = ['default-domain', 'ctest-TestBasicPolicy-49132564']

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project',), **kwargs={'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49132564']})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi._object_read>
self = <vnc_api_test.TestVncApi object>
args = ('project',)
kwargs = {'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49132564']}

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _object_read(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-TestBasicPolicy-49132564'], fq_name_str=None, id=None, ifmap_id=None, fields=None, exclude_back_refs=True, exclude_children=True)
699
700 (args_ok, result) = self._read_args_to_id(
701 res_type, fq_name, fq_name_str, id, ifmap_id)
702 if not args_ok:
703 return result
res_type = 'project'
fq_name = ['default-domain', 'ctest-TestBasicPolicy-49132564']
fq_name_str = None
id = None
ifmap_id = None

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _read_args_to_id(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-TestBasicPolicy-49132564'], fq_name_str=None, id=None, ifmap_id=None)
1112 return (True, id)
1113 if fq_name:
1114 return (True, self.fq_name_to_id(res_type, fq_name))
1115 if fq_name_str:
1116 return (True, self.fq_name_to_id(res_type, fq_name_str.split(':')))
self = <vnc_api_test.TestVncApi object>
self.fq_name_to_id = <bound method VncApi.fq_name_to_id of <vnc_api_test.TestVncApi object>>
res_type = 'project'
fq_name = ['default-domain', 'ctest-TestBasicPolicy-49132564']

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project', ['default-domain', 'ctest-TestBasicPolicy-49132564']), **kwargs={})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi.fq_name_to_id>
self = <vnc_api_test.TestVncApi object>
args = ('project', ['default-domain', 'ctest-TestBasicPolicy-49132564'])
kwargs = {}

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in fq_name_to_id(self=<vnc_api_test.TestVncApi object>, obj_type='project', fq_name=['default-domain', 'ctest-TestBasicPolicy-49132564'])
1393 uri = self._action_uri['name-to-id']
1394 try:
1395 content = self._request_server(OP_POST, uri, data=json_body)
1396 except HttpError as he:
1397 if he.status_code == 404:
content undefined
self = <vnc_api_test.TestVncApi object>
self._request_server = <bound method VncApi._request_server of <vnc_api_test.TestVncApi object>>
global OP_POST = 1
uri = '/fqname-to-id'
data undefined
json_body = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicy-49132564"]}'

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request_server(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicy-49132564"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1126 return self._request(
1127 op, url, data=data, retry_on_error=retry_on_error,
1128 retry_after_authn=retry_after_authn, retry_count=retry_count)
1129 # end _request_server
1130
retry_after_authn = False
retry_count = 30

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicy-49132564"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1174 # Recursive call after authentication (max 1 level)
1175 content = self._request(
1176 op, url, data=data, retry_after_authn=True)
1177
1178 return content
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicy-49132564"]}'
retry_after_authn = False

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicy-49132564"]}', retry_on_error=True, retry_after_authn=True, retry_count=30)
1179 elif status == 404:
1180 raise NoIdError('Error: oper %s url %s body %s response %s'
1181 % (op, url, data, content))
1182 elif status == 403:
1183 raise PermissionDenied(content)
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicy-49132564"]}'
content = "Name ['default-domain', 'ctest-TestBasicPolicy-49132564'] not found"
NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicy-49132564"]} response Name ['default-domain', 'ctest-TestBasicPolicy-49132564'] not found
__cause__ = None
__class__ = <class 'vnc_api.exceptions.NoIdError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>
__dict__ = {'_unknown_id': 'Error: oper 1 url /fqname-to-id body {"type": "p...ain\', \'ctest-TestBasicPolicy-49132564\'] not found'}
__dir__ = <built-in method __dir__ of NoIdError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of NoIdError object>
__format__ = <built-in method __format__ of NoIdError object>
__ge__ = <method-wrapper '__ge__' of NoIdError object>
__getattribute__ = <method-wrapper '__getattribute__' of NoIdError object>
__gt__ = <method-wrapper '__gt__' of NoIdError object>
__hash__ = <method-wrapper '__hash__' of NoIdError object>
__init__ = <bound method NoIdError.__init__ of NoIdError('E...\'ctest-TestBasicPolicy-49132564\'] not found',)>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of NoIdError object>
__lt__ = <method-wrapper '__lt__' of NoIdError object>
__module__ = 'vnc_api.exceptions'
__ne__ = <method-wrapper '__ne__' of NoIdError object>
__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('Er...\'ctest-TestBasicPolicy-49132564\'] not found',)>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
_unknown_id = 'Error: oper 1 url /fqname-to-id body {"type": "p...ain\', \'ctest-TestBasicPolicy-49132564\'] not found'
args = ('Error: oper 1 url /fqname-to-id body {"type": "p...ain\', \'ctest-TestBasicPolicy-49132564\'] not found',)
with_traceback = <built-in method with_traceback of NoIdError object>

The above is a description of an error in a Python program. Here is
the original traceback:

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 81, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/policy/test_policy_basic.py", line 98, in test_basic_policy_allow_deny
vn1_fixture = self.create_vn()
File "/contrail-test/common/base.py", line 204, in create_vn
**kwargs)
File "/contrail-test/common/base.py", line 197, in create_only_vn
vn_fixture.setUp()
File "/contrail-test/fixtures/vn_test.py", line 449, in setUp
self.create()
File "/contrail-test/fixtures/vn_test.py", line 454, in create
project_fqname)
File "/contrail-test/fixtures/vnc_api_test.py", line 286, in get_project_obj
return self.vnc_api_h.project_read(fq_name=project_fqname)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 701, in _object_read
res_type, fq_name, fq_name_str, id, ifmap_id)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id
return (True, self.fq_name_to_id(res_type, fq_name))
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1395, in fq_name_to_id
content = self._request_server(OP_POST, uri, data=json_body)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1176, in _request
op, url, data=data, retry_after_authn=True)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-TestBasicPolicy-49132564"]} response Name ['default-domain', 'ctest-TestBasicPolicy-49132564'] not found

1.330 Log File
.tearDownClass (scripts.policy.test_policy_basic.TestBasicPolicy)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/policy/base.py", line 12, in tearDownClass
super(BasePolicyTest, cls).tearDownClass()
File "/contrail-test/common/base.py", line 153, in tearDownClass
super(GenericTestBase, cls).tearDownClass()
File "/contrail-test/test_v1.py", line 81, in tearDownClass
cls.admin_isolated_creds.delete_tenant(cls.project)
File "/contrail-test/common/isolated_creds.py", line 192, in delete_tenant
project_fixture.cleanUp()
File "/contrail-test/fixtures/project_test.py", line 145, in cleanUp
self.delete()
File "/contrail-test/fixtures/project_test.py", line 160, in delete
if not self.check_no_project_references():
File "/contrail-test/tcutils/util.py", line 97, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/project_test.py", line 177, in check_no_project_references
vnc_project_obj = self.vnc_lib_h.project_read(id=self.uuid)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 728, in _object_read
response = self._request_server(OP_GET, uri, query_params)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 2 url /project/863f9fb7-2154-490f-97f2-a94bbd1a74a6 body {'exclude_back_refs': True, 'exclude_children': True} response Unknown id: 863f9fb7-2154-490f-97f2-a94bbd1a74a6

0.000 Log File
.setUpClass (scripts.svc_firewall.test_svc_fw.TestSvcRegr)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/svc_firewall/test_svc_fw.py", line 23, in setUpClass
super(TestSvcRegr, cls).setUpClass()
File "/contrail-test/common/svc_firewall/base.py", line 16, in setUpClass
logger=cls.logger)
File "/contrail-test/tcutils/util.py", line 992, in __call__
Singleton, cls).__call__(*args, **kwargs)
File "/contrail-test/common/create_public_vn.py", line 39, in __init__
self.setUp()
File "/contrail-test/common/create_public_vn.py", line 65, in setUp
self.public_tenant, 'default')
File "/contrail-test/fixtures/project_test.py", line 325, in set_sec_group_for_allow_all
self.update_sec_group(project_name, sg_name, rule1)
File "/contrail-test/fixtures/project_test.py", line 330, in update_sec_group
fq_name=[self.domain_name, project_name, sec_group_name])
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 701, in _object_read
res_type, fq_name, fq_name_str, id, ifmap_id)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id
return (True, self.fq_name_to_id(res_type, fq_name))
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1395, in fq_name_to_id
content = self._request_server(OP_POST, uri, data=json_body)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "security-group", "fq_name": ["default-domain", "admin", "default"]} response Name ['default-domain', 'admin', 'default'] not found

0.000 Log File
TestvDNSBasic0.test_vdns_ping_same_vn[ci_sanity,sanity,suite1,vcenter,vcenter_compute]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/util.py", line 1167, in wrapper
return f(self, *func_args, **func_kwargs)
File "/contrail-test/tcutils/wrappers.py", line 177, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: Exception
Python 3.6.8: /usr/bin/python3
Fri Oct 18 22:02:46 2024

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.vdns.test_vdns_basic.TestvDNSBasic0.tes...uite1,vcenter,vcenter_compute] id=0x7f387df547b8>, *args=(), **kwargs={})
79 log.info('Initial checks done. Running the testcase now')
80 log.info('')
81 result = function(self, *args, **kwargs)
82 if self.inputs.upgrade:
83 pid = os.getpid()
result = None
function = <function TestvDNSBasic0.test_vdns_ping_same_vn>
self = <scripts.vdns.test_vdns_basic.TestvDNSBasic0.tes...uite1,vcenter,vcenter_compute] id=0x7f387df547b8>
args = ()
kwargs = {}

/contrail-test/scripts/vdns/test_vdns_basic.py in test_vdns_ping_same_vn(self=<scripts.vdns.test_vdns_basic.TestvDNSBasic0.tes...uite1,vcenter,vcenter_compute] id=0x7f387df547b8>)
79 rev_zone = rev_zone + '.in-addr.arpa'
80 proj_fixt = self.useFixture(ProjectFixture(
81 project_name=self.inputs.project_name, connections=self.connections))
82 proj_connections = proj_fixt.get_project_connections()
83 dns_data = VirtualDnsType(
project_name undefined
self = <scripts.vdns.test_vdns_basic.TestvDNSBasic0.tes...uite1,vcenter,vcenter_compute] id=0x7f387df547b8>
self.inputs = <common.contrail_test_init.ContrailTestInit object>
self.inputs.project_name = 'ctest-TestvDNSBasic0-85736515'
connections undefined
self.connections = <common.connections.ContrailConnections object>

/usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=<scripts.vdns.test_vdns_basic.TestvDNSBasic0.tes...uite1,vcenter,vcenter_compute] id=0x7f387df547b8>, fixture=<project_test.ProjectFixture object>)
754 # Gather_details worked, so raise the exception setUp
755 # encountered.
756 reraise(*exc_info)
757 else:
758 self.addCleanup(fixture.cleanUp)
global reraise = <function reraise>
exc_info = (<class 'Exception'>, Exception('Project ctest-TestvDNSBasic0-85736515 not found',), <traceback object>)

/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py in reraise(exc_class=<class 'Exception'>, exc_obj=Exception('Project ctest-TestvDNSBasic0-85736515 not found',), exc_tb=<traceback object>, _marker=<object object>)
13
14 def reraise(exc_class, exc_obj, exc_tb, _marker=object()):
15 """Re-raise an exception received from sys.exc_info() or similar."""
16 raise exc_obj.with_traceback(exc_tb)
17
exc_obj = Exception('Project ctest-TestvDNSBasic0-85736515 not found',)
exc_obj.with_traceback = <built-in method with_traceback of Exception object>
exc_tb = <traceback object>

/usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=<scripts.vdns.test_vdns_basic.TestvDNSBasic0.tes...uite1,vcenter,vcenter_compute] id=0x7f387df547b8>, fixture=<project_test.ProjectFixture object>)
729 """
730 try:
731 fixture.setUp()
732 except MultipleExceptions as e:
733 if (fixtures is not None and
fixture = <project_test.ProjectFixture object>
fixture.setUp = <bound method ProjectFixture.setUp of <project_test.ProjectFixture object>>

/contrail-test/fixtures/project_test.py in setUp(self=<project_test.ProjectFixture object>)
97 def setUp(self):
98 super(ProjectFixture, self).setUp()
99 self.create()
100
101 def read(self):
self = <project_test.ProjectFixture object>
self.create = <bound method ProjectFixture.create of <project_test.ProjectFixture object>>

/contrail-test/fixtures/project_test.py in create(self=<project_test.ProjectFixture object>)
127 self.project_fq_name, self.uuid))
128 elif self.project_name == self.inputs.stack_tenant:
129 raise Exception('Project %s not found' % (self.project_name))
130 else:
131 self.logger.info('Project %s not found, creating it' % (
builtinException = <class 'Exception'>
self = <project_test.ProjectFixture object>
self.project_name = 'ctest-TestvDNSBasic0-85736515'
Exception: Project ctest-TestvDNSBasic0-85736515 not found
__cause__ = None
__class__ = <class 'Exception'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of Exception object>
__dict__ = {}
__dir__ = <built-in method __dir__ of Exception object>
__doc__ = 'Common base class for all non-exit exceptions.'
__eq__ = <method-wrapper '__eq__' of Exception object>
__format__ = <built-in method __format__ of Exception object>
__ge__ = <method-wrapper '__ge__' of Exception object>
__getattribute__ = <method-wrapper '__getattribute__' of Exception object>
__gt__ = <method-wrapper '__gt__' of Exception object>
__hash__ = <method-wrapper '__hash__' of Exception object>
__init__ = <method-wrapper '__init__' of Exception object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of Exception object>
__lt__ = <method-wrapper '__lt__' of Exception object>
__ne__ = <method-wrapper '__ne__' of Exception object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of Exception object>
__reduce_ex__ = <built-in method __reduce_ex__ of Exception object>
__repr__ = <method-wrapper '__repr__' of Exception object>
__setattr__ = <method-wrapper '__setattr__' of Exception object>
__setstate__ = <built-in method __setstate__ of Exception object>
__sizeof__ = <built-in method __sizeof__ of Exception object>
__str__ = <method-wrapper '__str__' of Exception object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ('Project ctest-TestvDNSBasic0-85736515 not found',)
with_traceback = <built-in method with_traceback of Exception object>

The above is a description of an error in a Python program. Here is
the original traceback:

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 81, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/vdns/test_vdns_basic.py", line 81, in test_vdns_ping_same_vn
project_name=self.inputs.project_name, connections=self.connections))
File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture
reraise(*exc_info)
File "/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise
raise exc_obj.with_traceback(exc_tb)
File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture
fixture.setUp()
File "/contrail-test/fixtures/project_test.py", line 99, in setUp
self.create()
File "/contrail-test/fixtures/project_test.py", line 129, in create
raise Exception('Project %s not found' % (self.project_name))
Exception: Project ctest-TestvDNSBasic0-85736515 not found

2.161 Log File
.tearDownClass (scripts.vdns.test_vdns_basic.TestvDNSBasic0)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/common/vdns/base.py", line 52, in tearDownClass
super(BasevDNSTest, cls).tearDownClass()
File "/contrail-test/test_v1.py", line 81, in tearDownClass
cls.admin_isolated_creds.delete_tenant(cls.project)
File "/contrail-test/common/isolated_creds.py", line 192, in delete_tenant
project_fixture.cleanUp()
File "/contrail-test/fixtures/project_test.py", line 145, in cleanUp
self.delete()
File "/contrail-test/fixtures/project_test.py", line 160, in delete
if not self.check_no_project_references():
File "/contrail-test/tcutils/util.py", line 97, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/project_test.py", line 177, in check_no_project_references
vnc_project_obj = self.vnc_lib_h.project_read(id=self.uuid)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 728, in _object_read
response = self._request_server(OP_GET, uri, query_params)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 2 url /project/96c134ef-83b5-4c04-bdd0-fc43525afd1b body {'exclude_back_refs': True, 'exclude_children': True} response Unknown id: 96c134ef-83b5-4c04-bdd0-fc43525afd1b

0.000 Log File
TestBasicVMVNx.test_vm_file_trf_scp_tests[ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,vcenter_compute,vrouter_gw]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/util.py", line 1167, in wrapper
return f(self, *func_args, **func_kwargs)
File "/contrail-test/tcutils/wrappers.py", line 177, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: NoIdError
Python 3.6.8: /usr/bin/python3
Fri Oct 18 22:02:52 2024

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.vm_regression.test_vm.TestBasicVMVNx.te...ty,vcenter_compute,vrouter_gw] id=0x7f387df4dac8>, *args=(), **kwargs={})
79 log.info('Initial checks done. Running the testcase now')
80 log.info('')
81 result = function(self, *args, **kwargs)
82 if self.inputs.upgrade:
83 pid = os.getpid()
result = None
function = <function TestBasicVMVNx.test_vm_file_trf_scp_tests>
self = <scripts.vm_regression.test_vm.TestBasicVMVNx.te...ty,vcenter_compute,vrouter_gw] id=0x7f387df4dac8>
args = ()
kwargs = {}

/contrail-test/scripts/vm_regression/test_vm.py in test_vm_file_trf_scp_tests(self=<scripts.vm_regression.test_vm.TestBasicVMVNx.te...ty,vcenter_compute,vrouter_gw] id=0x7f387df4dac8>)
2898 cmd_to_sync = [x]
2899 create_result = True
2900 vn_fixture = self.create_vn(orch=self.orchestrator)
2901 vm1_fixture = self.create_vm(vn_fixture=vn_fixture,
2902 image_name='ubuntu-sshpass',
vn_fixture undefined
self = <scripts.vm_regression.test_vm.TestBasicVMVNx.te...ty,vcenter_compute,vrouter_gw] id=0x7f387df4dac8>
self.create_vn = <bound method GenericTestBase.create_vn of <scri...y,vcenter_compute,vrouter_gw] id=0x7f387df4dac8>>
orch undefined
self.orchestrator = <openstack.OpenstackOrchestrator object>

/contrail-test/common/base.py in create_vn(self=<scripts.vm_regression.test_vm.TestBasicVMVNx.te...ty,vcenter_compute,vrouter_gw] id=0x7f387df4dac8>, vn_name=None, vn_subnets=None, cleanup=True, **kwargs={'orch': <openstack.OpenstackOrchestrator object>})
202 vn_fixture = self.create_only_vn(vn_name=vn_name,
203 vn_subnets=vn_subnets,
204 **kwargs)
205 if cleanup:
206 self.addCleanup(vn_fixture.cleanUp)
kwargs = {'orch': <openstack.OpenstackOrchestrator object>}

/contrail-test/common/base.py in create_only_vn(cls=<class 'scripts.vm_regression.test_vm.TestBasicVMVNx'>, vn_name='ctest-vn-99257998', vn_subnets=None, **kwargs={'orch': <openstack.OpenstackOrchestrator object>})
195 subnets=vn_subnets,
196 **kwargs)
197 vn_fixture.setUp()
198 return vn_fixture
199 # end create_only_vn
vn_fixture = <vn_test.VNFixture object>
vn_fixture.setUp = <bound method VNFixture.setUp of <vn_test.VNFixture object>>

/contrail-test/fixtures/vn_test.py in setUp(self=<vn_test.VNFixture object>)
447 def setUp(self):
448 super(VNFixture, self).setUp()
449 self.create()
450
451 def create(self):
self = <vn_test.VNFixture object>
self.create = <bound method VNFixture.create of <vn_test.VNFixture object>>

/contrail-test/fixtures/vn_test.py in create(self=<vn_test.VNFixture object>)
452 project_fqname = [self.domain_name, self.project_name]
453 self.project_obj = self.connections.vnc_lib_fixture.get_project_obj(
454 project_fqname)
455 if self.uuid:
456 return self.read()
project_fqname = ['default-domain', 'ctest-TestBasicVMVNx-20646571']

/contrail-test/fixtures/vnc_api_test.py in get_project_obj(self=<vnc_api_test.VncLibFixture object>, project_fqname=['default-domain', 'ctest-TestBasicVMVNx-20646571'])
284 def get_project_obj(self, project_fqname=None):
285 if project_fqname:
286 return self.vnc_api_h.project_read(fq_name=project_fqname)
287 elif self.connections:
288 project_id = self.connections.project_id
self = <vnc_api_test.VncLibFixture object>
self.vnc_api_h = <vnc_api_test.TestVncApi object>
self.vnc_api_h.project_read = functools.partial(<bound method VncApi._object_r...TestVncApi object at 0x7f387c113d68>>, 'project')
fq_name undefined
project_fqname = ['default-domain', 'ctest-TestBasicVMVNx-20646571']

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project',), **kwargs={'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-20646571']})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi._object_read>
self = <vnc_api_test.TestVncApi object>
args = ('project',)
kwargs = {'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-20646571']}

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _object_read(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-TestBasicVMVNx-20646571'], fq_name_str=None, id=None, ifmap_id=None, fields=None, exclude_back_refs=True, exclude_children=True)
699
700 (args_ok, result) = self._read_args_to_id(
701 res_type, fq_name, fq_name_str, id, ifmap_id)
702 if not args_ok:
703 return result
res_type = 'project'
fq_name = ['default-domain', 'ctest-TestBasicVMVNx-20646571']
fq_name_str = None
id = None
ifmap_id = None

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _read_args_to_id(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-TestBasicVMVNx-20646571'], fq_name_str=None, id=None, ifmap_id=None)
1112 return (True, id)
1113 if fq_name:
1114 return (True, self.fq_name_to_id(res_type, fq_name))
1115 if fq_name_str:
1116 return (True, self.fq_name_to_id(res_type, fq_name_str.split(':')))
self = <vnc_api_test.TestVncApi object>
self.fq_name_to_id = <bound method VncApi.fq_name_to_id of <vnc_api_test.TestVncApi object>>
res_type = 'project'
fq_name = ['default-domain', 'ctest-TestBasicVMVNx-20646571']

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project', ['default-domain', 'ctest-TestBasicVMVNx-20646571']), **kwargs={})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi.fq_name_to_id>
self = <vnc_api_test.TestVncApi object>
args = ('project', ['default-domain', 'ctest-TestBasicVMVNx-20646571'])
kwargs = {}

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in fq_name_to_id(self=<vnc_api_test.TestVncApi object>, obj_type='project', fq_name=['default-domain', 'ctest-TestBasicVMVNx-20646571'])
1393 uri = self._action_uri['name-to-id']
1394 try:
1395 content = self._request_server(OP_POST, uri, data=json_body)
1396 except HttpError as he:
1397 if he.status_code == 404:
content undefined
self = <vnc_api_test.TestVncApi object>
self._request_server = <bound method VncApi._request_server of <vnc_api_test.TestVncApi object>>
global OP_POST = 1
uri = '/fqname-to-id'
data undefined
json_body = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}'

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request_server(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1126 return self._request(
1127 op, url, data=data, retry_on_error=retry_on_error,
1128 retry_after_authn=retry_after_authn, retry_count=retry_count)
1129 # end _request_server
1130
retry_after_authn = False
retry_count = 30

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1174 # Recursive call after authentication (max 1 level)
1175 content = self._request(
1176 op, url, data=data, retry_after_authn=True)
1177
1178 return content
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}'
retry_after_authn = False

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}', retry_on_error=True, retry_after_authn=True, retry_count=30)
1179 elif status == 404:
1180 raise NoIdError('Error: oper %s url %s body %s response %s'
1181 % (op, url, data, content))
1182 elif status == 403:
1183 raise PermissionDenied(content)
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}'
content = "Name ['default-domain', 'ctest-TestBasicVMVNx-20646571'] not found"
NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]} response Name ['default-domain', 'ctest-TestBasicVMVNx-20646571'] not found
__cause__ = None
__class__ = <class 'vnc_api.exceptions.NoIdError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>
__dict__ = {'_unknown_id': 'Error: oper 1 url /fqname-to-id body {"type": "p...main\', \'ctest-TestBasicVMVNx-20646571\'] not found'}
__dir__ = <built-in method __dir__ of NoIdError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of NoIdError object>
__format__ = <built-in method __format__ of NoIdError object>
__ge__ = <method-wrapper '__ge__' of NoIdError object>
__getattribute__ = <method-wrapper '__getattribute__' of NoIdError object>
__gt__ = <method-wrapper '__gt__' of NoIdError object>
__hash__ = <method-wrapper '__hash__' of NoIdError object>
__init__ = <bound method NoIdError.__init__ of NoIdError('E... \'ctest-TestBasicVMVNx-20646571\'] not found',)>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of NoIdError object>
__lt__ = <method-wrapper '__lt__' of NoIdError object>
__module__ = 'vnc_api.exceptions'
__ne__ = <method-wrapper '__ne__' of NoIdError object>
__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('Er... \'ctest-TestBasicVMVNx-20646571\'] not found',)>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
_unknown_id = 'Error: oper 1 url /fqname-to-id body {"type": "p...main\', \'ctest-TestBasicVMVNx-20646571\'] not found'
args = ('Error: oper 1 url /fqname-to-id body {"type": "p...main\', \'ctest-TestBasicVMVNx-20646571\'] not found',)
with_traceback = <built-in method with_traceback of NoIdError object>

The above is a description of an error in a Python program. Here is
the original traceback:

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 81, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/vm_regression/test_vm.py", line 2900, in test_vm_file_trf_scp_tests
vn_fixture = self.create_vn(orch=self.orchestrator)
File "/contrail-test/common/base.py", line 204, in create_vn
**kwargs)
File "/contrail-test/common/base.py", line 197, in create_only_vn
vn_fixture.setUp()
File "/contrail-test/fixtures/vn_test.py", line 449, in setUp
self.create()
File "/contrail-test/fixtures/vn_test.py", line 454, in create
project_fqname)
File "/contrail-test/fixtures/vnc_api_test.py", line 286, in get_project_obj
return self.vnc_api_h.project_read(fq_name=project_fqname)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 701, in _object_read
res_type, fq_name, fq_name_str, id, ifmap_id)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id
return (True, self.fq_name_to_id(res_type, fq_name))
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1395, in fq_name_to_id
content = self._request_server(OP_POST, uri, data=json_body)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1176, in _request
op, url, data=data, retry_after_authn=True)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]} response Name ['default-domain', 'ctest-TestBasicVMVNx-20646571'] not found

0.739 Log File
.tearDownClass (scripts.vm_regression.test_vm.TestBasicVMVNx)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/vm_regression/test_vm.py", line 2875, in tearDownClass
super(TestBasicVMVNx, cls).tearDownClass()
File "/contrail-test/scripts/vm_regression/base.py", line 27, in tearDownClass
super(BaseVnVmTest, cls).tearDownClass()
File "/contrail-test/common/base.py", line 153, in tearDownClass
super(GenericTestBase, cls).tearDownClass()
File "/contrail-test/test_v1.py", line 81, in tearDownClass
cls.admin_isolated_creds.delete_tenant(cls.project)
File "/contrail-test/common/isolated_creds.py", line 192, in delete_tenant
project_fixture.cleanUp()
File "/contrail-test/fixtures/project_test.py", line 145, in cleanUp
self.delete()
File "/contrail-test/fixtures/project_test.py", line 160, in delete
if not self.check_no_project_references():
File "/contrail-test/tcutils/util.py", line 97, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/project_test.py", line 177, in check_no_project_references
vnc_project_obj = self.vnc_lib_h.project_read(id=self.uuid)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 728, in _object_read
response = self._request_server(OP_GET, uri, query_params)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 2 url /project/2b64444d-87dc-4172-8924-0732b84e0172 body {'exclude_back_refs': True, 'exclude_children': True} response Unknown id: 2b64444d-87dc-4172-8924-0732b84e0172

0.000 Log File
TestBasicVMVN.test_generic_link_local_service[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,dev_sanity_dpdk,sanity,suite1,vcenter,vcenter_compute]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 177, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: NoIdError
Python 3.6.8: /usr/bin/python3
Fri Oct 18 22:02:56 2024

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...uite1,vcenter,vcenter_compute] id=0x7f387df4dcc0>, *args=(), **kwargs={})
79 log.info('Initial checks done. Running the testcase now')
80 log.info('')
81 result = function(self, *args, **kwargs)
82 if self.inputs.upgrade:
83 pid = os.getpid()
result = None
function = <function TestBasicVMVN.test_generic_link_local_service>
self = <scripts.vm_regression.test_vm_basic.TestBasicVM...uite1,vcenter,vcenter_compute] id=0x7f387df4dcc0>
args = ()
kwargs = {}

/contrail-test/tcutils/util.py in wrapper(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...uite1,vcenter,vcenter_compute] id=0x7f387df4dcc0>, *func_args=(), **func_kwargs={})
1165 raise testtools.TestCase.skipException(msg)
1166
1167 return f(self, *func_args, **func_kwargs)
1168 return wrapper
1169 return decorator
f = <function TestBasicVMVN.test_generic_link_local_service>
self = <scripts.vm_regression.test_vm_basic.TestBasicVM...uite1,vcenter,vcenter_compute] id=0x7f387df4dcc0>
func_args = ()
func_kwargs = {}

/contrail-test/scripts/vm_regression/test_vm_basic.py in test_generic_link_local_service(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...uite1,vcenter,vcenter_compute] id=0x7f387df4dcc0>)
291 VNFixture(
292 project_name=self.inputs.project_name, connections=self.connections,
293 vn_name=vn_name, inputs=self.inputs, subnets=vn_subnets))
294 vn_obj = vn_fixture.obj
295 vm1_fixture = self.create_vm(vn_ids=[vn_fixture.uuid], image_name='cirros')
vn_name = 'ctest-vn2_metadata-96826712'
inputs undefined
self = <scripts.vm_regression.test_vm_basic.TestBasicVM...uite1,vcenter,vcenter_compute] id=0x7f387df4dcc0>
self.inputs = <common.contrail_test_init.ContrailTestInit object>
subnets undefined
vn_subnets = ['11.1.1.0/24']

/usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...uite1,vcenter,vcenter_compute] id=0x7f387df4dcc0>, fixture=<vn_test.VNFixture object>)
754 # Gather_details worked, so raise the exception setUp
755 # encountered.
756 reraise(*exc_info)
757 else:
758 self.addCleanup(fixture.cleanUp)
global reraise = <function reraise>
exc_info = (<class 'vnc_api.exceptions.NoIdError'>, NoIdError('Error: oper 1 url /fqname-to-id body ...', \'ctest-TestBasicVMVN-72320827\'] not found',), <traceback object>)

/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py in reraise(exc_class=<class 'vnc_api.exceptions.NoIdError'>, exc_obj=NoIdError('Error: oper 1 url /fqname-to-id body ...', \'ctest-TestBasicVMVN-72320827\'] not found',), exc_tb=<traceback object>, _marker=<object object>)
13
14 def reraise(exc_class, exc_obj, exc_tb, _marker=object()):
15 """Re-raise an exception received from sys.exc_info() or similar."""
16 raise exc_obj.with_traceback(exc_tb)
17
exc_obj = NoIdError('Error: oper 1 url /fqname-to-id body ...', \'ctest-TestBasicVMVN-72320827\'] not found',)
exc_obj.with_traceback = <built-in method with_traceback of NoIdError object>
exc_tb = <traceback object>

/usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...uite1,vcenter,vcenter_compute] id=0x7f387df4dcc0>, fixture=<vn_test.VNFixture object>)
729 """
730 try:
731 fixture.setUp()
732 except MultipleExceptions as e:
733 if (fixtures is not None and
fixture = <vn_test.VNFixture object>
fixture.setUp = <bound method VNFixture.setUp of <vn_test.VNFixture object>>

/contrail-test/fixtures/vn_test.py in setUp(self=<vn_test.VNFixture object>)
447 def setUp(self):
448 super(VNFixture, self).setUp()
449 self.create()
450
451 def create(self):
self = <vn_test.VNFixture object>
self.create = <bound method VNFixture.create of <vn_test.VNFixture object>>

/contrail-test/fixtures/vn_test.py in create(self=<vn_test.VNFixture object>)
452 project_fqname = [self.domain_name, self.project_name]
453 self.project_obj = self.connections.vnc_lib_fixture.get_project_obj(
454 project_fqname)
455 if self.uuid:
456 return self.read()
project_fqname = ['default-domain', 'ctest-TestBasicVMVN-72320827']

/contrail-test/fixtures/vnc_api_test.py in get_project_obj(self=<vnc_api_test.VncLibFixture object>, project_fqname=['default-domain', 'ctest-TestBasicVMVN-72320827'])
284 def get_project_obj(self, project_fqname=None):
285 if project_fqname:
286 return self.vnc_api_h.project_read(fq_name=project_fqname)
287 elif self.connections:
288 project_id = self.connections.project_id
self = <vnc_api_test.VncLibFixture object>
self.vnc_api_h = <vnc_api_test.TestVncApi object>
self.vnc_api_h.project_read = functools.partial(<bound method VncApi._object_r...TestVncApi object at 0x7f3877ec38d0>>, 'project')
fq_name undefined
project_fqname = ['default-domain', 'ctest-TestBasicVMVN-72320827']

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project',), **kwargs={'fq_name': ['default-domain', 'ctest-TestBasicVMVN-72320827']})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi._object_read>
self = <vnc_api_test.TestVncApi object>
args = ('project',)
kwargs = {'fq_name': ['default-domain', 'ctest-TestBasicVMVN-72320827']}

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _object_read(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-TestBasicVMVN-72320827'], fq_name_str=None, id=None, ifmap_id=None, fields=None, exclude_back_refs=True, exclude_children=True)
699
700 (args_ok, result) = self._read_args_to_id(
701 res_type, fq_name, fq_name_str, id, ifmap_id)
702 if not args_ok:
703 return result
res_type = 'project'
fq_name = ['default-domain', 'ctest-TestBasicVMVN-72320827']
fq_name_str = None
id = None
ifmap_id = None

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _read_args_to_id(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-TestBasicVMVN-72320827'], fq_name_str=None, id=None, ifmap_id=None)
1112 return (True, id)
1113 if fq_name:
1114 return (True, self.fq_name_to_id(res_type, fq_name))
1115 if fq_name_str:
1116 return (True, self.fq_name_to_id(res_type, fq_name_str.split(':')))
self = <vnc_api_test.TestVncApi object>
self.fq_name_to_id = <bound method VncApi.fq_name_to_id of <vnc_api_test.TestVncApi object>>
res_type = 'project'
fq_name = ['default-domain', 'ctest-TestBasicVMVN-72320827']

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project', ['default-domain', 'ctest-TestBasicVMVN-72320827']), **kwargs={})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi.fq_name_to_id>
self = <vnc_api_test.TestVncApi object>
args = ('project', ['default-domain', 'ctest-TestBasicVMVN-72320827'])
kwargs = {}

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in fq_name_to_id(self=<vnc_api_test.TestVncApi object>, obj_type='project', fq_name=['default-domain', 'ctest-TestBasicVMVN-72320827'])
1393 uri = self._action_uri['name-to-id']
1394 try:
1395 content = self._request_server(OP_POST, uri, data=json_body)
1396 except HttpError as he:
1397 if he.status_code == 404:
content undefined
self = <vnc_api_test.TestVncApi object>
self._request_server = <bound method VncApi._request_server of <vnc_api_test.TestVncApi object>>
global OP_POST = 1
uri = '/fqname-to-id'
data undefined
json_body = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVN-72320827"]}'

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request_server(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVN-72320827"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1126 return self._request(
1127 op, url, data=data, retry_on_error=retry_on_error,
1128 retry_after_authn=retry_after_authn, retry_count=retry_count)
1129 # end _request_server
1130
retry_after_authn = False
retry_count = 30

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVN-72320827"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1174 # Recursive call after authentication (max 1 level)
1175 content = self._request(
1176 op, url, data=data, retry_after_authn=True)
1177
1178 return content
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVN-72320827"]}'
retry_after_authn = False

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVN-72320827"]}', retry_on_error=True, retry_after_authn=True, retry_count=30)
1179 elif status == 404:
1180 raise NoIdError('Error: oper %s url %s body %s response %s'
1181 % (op, url, data, content))
1182 elif status == 403:
1183 raise PermissionDenied(content)
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVN-72320827"]}'
content = "Name ['default-domain', 'ctest-TestBasicVMVN-72320827'] not found"
NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVN-72320827"]} response Name ['default-domain', 'ctest-TestBasicVMVN-72320827'] not found
__cause__ = None
__class__ = <class 'vnc_api.exceptions.NoIdError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>
__dict__ = {'_unknown_id': 'Error: oper 1 url /fqname-to-id body {"type": "p...omain\', \'ctest-TestBasicVMVN-72320827\'] not found'}
__dir__ = <built-in method __dir__ of NoIdError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of NoIdError object>
__format__ = <built-in method __format__ of NoIdError object>
__ge__ = <method-wrapper '__ge__' of NoIdError object>
__getattribute__ = <method-wrapper '__getattribute__' of NoIdError object>
__gt__ = <method-wrapper '__gt__' of NoIdError object>
__hash__ = <method-wrapper '__hash__' of NoIdError object>
__init__ = <bound method NoIdError.__init__ of NoIdError('E..., \'ctest-TestBasicVMVN-72320827\'] not found',)>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of NoIdError object>
__lt__ = <method-wrapper '__lt__' of NoIdError object>
__module__ = 'vnc_api.exceptions'
__ne__ = <method-wrapper '__ne__' of NoIdError object>
__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('Er..., \'ctest-TestBasicVMVN-72320827\'] not found',)>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
_unknown_id = 'Error: oper 1 url /fqname-to-id body {"type": "p...omain\', \'ctest-TestBasicVMVN-72320827\'] not found'
args = ('Error: oper 1 url /fqname-to-id body {"type": "p...omain\', \'ctest-TestBasicVMVN-72320827\'] not found',)
with_traceback = <built-in method with_traceback of NoIdError object>

The above is a description of an error in a Python program. Here is
the original traceback:

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 81, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/tcutils/util.py", line 1167, in wrapper
return f(self, *func_args, **func_kwargs)
File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 293, in test_generic_link_local_service
vn_name=vn_name, inputs=self.inputs, subnets=vn_subnets))
File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture
reraise(*exc_info)
File "/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise
raise exc_obj.with_traceback(exc_tb)
File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture
fixture.setUp()
File "/contrail-test/fixtures/vn_test.py", line 449, in setUp
self.create()
File "/contrail-test/fixtures/vn_test.py", line 454, in create
project_fqname)
File "/contrail-test/fixtures/vnc_api_test.py", line 286, in get_project_obj
return self.vnc_api_h.project_read(fq_name=project_fqname)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 701, in _object_read
res_type, fq_name, fq_name_str, id, ifmap_id)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id
return (True, self.fq_name_to_id(res_type, fq_name))
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1395, in fq_name_to_id
content = self._request_server(OP_POST, uri, data=json_body)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1176, in _request
op, url, data=data, retry_after_authn=True)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVN-72320827"]} response Name ['default-domain', 'ctest-TestBasicVMVN-72320827'] not found

1.330 Log File
TestBasicVMVN.test_ping_within_vn_two_vms_two_different_subnets[ci_contrail_go_kolla_ocata_sanity,ci_sanity,sanity,suite1,vcenter_compute]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 177, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: NoIdError
Python 3.6.8: /usr/bin/python3
Fri Oct 18 22:02:57 2024

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...sanity,suite1,vcenter_compute] id=0x7f387df4de80>, *args=(), **kwargs={})
79 log.info('Initial checks done. Running the testcase now')
80 log.info('')
81 result = function(self, *args, **kwargs)
82 if self.inputs.upgrade:
83 pid = os.getpid()
result = None
function = <function TestBasicVMVN.test_ping_within_vn_two_vms_two_different_subnets>
self = <scripts.vm_regression.test_vm_basic.TestBasicVM...sanity,suite1,vcenter_compute] id=0x7f387df4de80>
args = ()
kwargs = {}

/contrail-test/tcutils/util.py in wrapper(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...sanity,suite1,vcenter_compute] id=0x7f387df4de80>, *func_args=(), **func_kwargs={})
1165 raise testtools.TestCase.skipException(msg)
1166
1167 return f(self, *func_args, **func_kwargs)
1168 return wrapper
1169 return decorator
f = <function TestBasicVMVN.test_ping_within_vn_two_vms_two_different_subnets>
self = <scripts.vm_regression.test_vm_basic.TestBasicVM...sanity,suite1,vcenter_compute] id=0x7f387df4de80>
func_args = ()
func_kwargs = {}

/contrail-test/scripts/vm_regression/test_vm_basic.py in test_ping_within_vn_two_vms_two_different_subnets(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...sanity,suite1,vcenter_compute] id=0x7f387df4de80>)
140 vn1_subnets = [subnet1, subnet2]
141
142 ipam_obj = self.create_ipam()
143 vn1_fixture = self.create_vn(vn_subnets=vn1_subnets,
144 ipam_fq_name=ipam_obj.fq_name)
ipam_obj undefined
self = <scripts.vm_regression.test_vm_basic.TestBasicVM...sanity,suite1,vcenter_compute] id=0x7f387df4de80>
self.create_ipam = <bound method GenericTestBase.create_ipam of <sc...anity,suite1,vcenter_compute] id=0x7f387df4de80>>

/contrail-test/common/base.py in create_ipam(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...sanity,suite1,vcenter_compute] id=0x7f387df4de80>, name='ctest-ipam-91269390', connections=<common.connections.ContrailConnections object>, **kwargs={})
387 connections = connections or self.connections
388 name = name or get_random_name('ipam')
389 ipam = self.useFixture(IPAMFixture(name, connections=connections))
390 if kwargs.get('vdns_fixture'):
391 ipam.update_vdns(kwargs['vdns_fixture'].obj)
ipam undefined
self = <scripts.vm_regression.test_vm_basic.TestBasicVM...sanity,suite1,vcenter_compute] id=0x7f387df4de80>
self.useFixture = <bound method TestCase.useFixture of <scripts.vm...anity,suite1,vcenter_compute] id=0x7f387df4de80>>
global IPAMFixture = <class 'ipam_test.IPAMFixture'>
name = 'ctest-ipam-91269390'
connections = <common.connections.ContrailConnections object>

/usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...sanity,suite1,vcenter_compute] id=0x7f387df4de80>, fixture=<ipam_test.IPAMFixture object>)
754 # Gather_details worked, so raise the exception setUp
755 # encountered.
756 reraise(*exc_info)
757 else:
758 self.addCleanup(fixture.cleanUp)
global reraise = <function reraise>
exc_info = (<class 'vnc_api.exceptions.NoIdError'>, NoIdError('Error: oper 1 url /network-ipams body...', \'ctest-TestBasicVMVN-72320827\'] not found',), <traceback object>)

/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py in reraise(exc_class=<class 'vnc_api.exceptions.NoIdError'>, exc_obj=NoIdError('Error: oper 1 url /network-ipams body...', \'ctest-TestBasicVMVN-72320827\'] not found',), exc_tb=<traceback object>, _marker=<object object>)
13
14 def reraise(exc_class, exc_obj, exc_tb, _marker=object()):
15 """Re-raise an exception received from sys.exc_info() or similar."""
16 raise exc_obj.with_traceback(exc_tb)
17
exc_obj = NoIdError('Error: oper 1 url /network-ipams body...', \'ctest-TestBasicVMVN-72320827\'] not found',)
exc_obj.with_traceback = <built-in method with_traceback of NoIdError object>
exc_tb = <traceback object>

/usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...sanity,suite1,vcenter_compute] id=0x7f387df4de80>, fixture=<ipam_test.IPAMFixture object>)
729 """
730 try:
731 fixture.setUp()
732 except MultipleExceptions as e:
733 if (fixtures is not None and
fixture = <ipam_test.IPAMFixture object>
fixture.setUp = <bound method IPAMFixture.setUp of <ipam_test.IPAMFixture object>>

/contrail-test/fixtures/ipam_test.py in setUp(self=<ipam_test.IPAMFixture object>)
62 def setUp(self):
63 super(IPAMFixture, self).setUp()
64 self.create()
65 # end setup
66
self = <ipam_test.IPAMFixture object>
self.create = <bound method IPAMFixture.create of <ipam_test.IPAMFixture object>>

/contrail-test/fixtures/ipam_test.py in create(self=<ipam_test.IPAMFixture object>)
101 self.webui.create_ipam(self)
102 else:
103 self.vnc.network_ipam_create(self.obj)
104 for ipam in self.vnc.network_ipams_list()['network-ipams']:
105 if self.name == ipam['fq_name'][2] and self.project_name == ipam['fq_name'][1]:
self = <ipam_test.IPAMFixture object>
self.vnc = <vnc_api_test.TestVncApi object>
self.vnc.network_ipam_create = functools.partial(<bound method VncApi._object_c...ncApi object at 0x7f3877ec38d0>>, 'network-ipam')
self.obj = <vnc_api.gen.resource_client.NetworkIpam object>

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('network-ipam', <vnc_api.gen.resource_client.NetworkIpam object>), **kwargs={})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi._object_create>
self = <vnc_api_test.TestVncApi object>
args = ('network-ipam', <vnc_api.gen.resource_client.NetworkIpam object>)
kwargs = {}

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _object_create(self=<vnc_api_test.TestVncApi object>, res_type='network-ipam', obj=<vnc_api.gen.resource_client.NetworkIpam object>)
647 json_body = '{"%s":%s}' % (res_type, obj_json_param)
648 content = self._request_server(
649 OP_POST, obj_cls.create_uri, data=json_body)
650
651 obj_dict = json.loads(content)[res_type]
global OP_POST = 1
obj_cls = <class 'vnc_api.gen.resource_client.NetworkIpam'>
obj_cls.create_uri = '/network-ipams'
data undefined
json_body = '{"network-ipam":{"uuid": null, "fq_name": ["defa... null, "cidr_block": null, "host_routes": null}}}'

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request_server(self=<vnc_api_test.TestVncApi object>, op=1, url='/network-ipams', data='{"network-ipam":{"uuid": null, "fq_name": ["defa... null, "cidr_block": null, "host_routes": null}}}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1126 return self._request(
1127 op, url, data=data, retry_on_error=retry_on_error,
1128 retry_after_authn=retry_after_authn, retry_count=retry_count)
1129 # end _request_server
1130
retry_after_authn = False
retry_count = 30

/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=1, url='/network-ipams', data='{"network-ipam":{"uuid": null, "fq_name": ["defa... null, "cidr_block": null, "host_routes": null}}}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1179 elif status == 404:
1180 raise NoIdError('Error: oper %s url %s body %s response %s'
1181 % (op, url, data, content))
1182 elif status == 403:
1183 raise PermissionDenied(content)
op = 1
url = '/network-ipams'
data = '{"network-ipam":{"uuid": null, "fq_name": ["defa... null, "cidr_block": null, "host_routes": null}}}'
content = "Name['default-domain', 'ctest-TestBasicVMVN-72320827'] not found"
NoIdError: Unknown id: Error: oper 1 url /network-ipams body {"network-ipam":{"uuid": null, "fq_name": ["default-domain", "ctest-TestBasicVMVN-72320827", "ctest-ipam-91269390"], "parent_type": "project", "network_ipam_mgmt": {"ipam_method": "dhcp", "ipam_dns_method": null, "ipam_dns_server": null, "dhcp_option_list": null, "cidr_block": null, "host_routes": null}}} response Name['default-domain', 'ctest-TestBasicVMVN-72320827'] not found
__cause__ = None
__class__ = <class 'vnc_api.exceptions.NoIdError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>
__dict__ = {'_unknown_id': 'Error: oper 1 url /network-ipams body {"network-...omain\', \'ctest-TestBasicVMVN-72320827\'] not found'}
__dir__ = <built-in method __dir__ of NoIdError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of NoIdError object>
__format__ = <built-in method __format__ of NoIdError object>
__ge__ = <method-wrapper '__ge__' of NoIdError object>
__getattribute__ = <method-wrapper '__getattribute__' of NoIdError object>
__gt__ = <method-wrapper '__gt__' of NoIdError object>
__hash__ = <method-wrapper '__hash__' of NoIdError object>
__init__ = <bound method NoIdError.__init__ of NoIdError('E..., \'ctest-TestBasicVMVN-72320827\'] not found',)>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of NoIdError object>
__lt__ = <method-wrapper '__lt__' of NoIdError object>
__module__ = 'vnc_api.exceptions'
__ne__ = <method-wrapper '__ne__' of NoIdError object>
__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('Er..., \'ctest-TestBasicVMVN-72320827\'] not found',)>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
_unknown_id = 'Error: oper 1 url /network-ipams body {"network-...omain\', \'ctest-TestBasicVMVN-72320827\'] not found'
args = ('Error: oper 1 url /network-ipams body {"network-...omain\', \'ctest-TestBasicVMVN-72320827\'] not found',)
with_traceback = <built-in method with_traceback of NoIdError object>

The above is a description of an error in a Python program. Here is
the original traceback:

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 81, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/tcutils/util.py", line 1167, in wrapper
return f(self, *func_args, **func_kwargs)
File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 142, in test_ping_within_vn_two_vms_two_different_subnets
ipam_obj = self.create_ipam()
File "/contrail-test/common/base.py", line 389, in create_ipam
ipam = self.useFixture(IPAMFixture(name, connections=connections))
File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture
reraise(*exc_info)
File "/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise
raise exc_obj.with_traceback(exc_tb)
File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture
fixture.setUp()
File "/contrail-test/fixtures/ipam_test.py", line 64, in setUp
self.create()
File "/contrail-test/fixtures/ipam_test.py", line 103, in create
self.vnc.network_ipam_create(self.obj)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 649, in _object_create
OP_POST, obj_cls.create_uri, data=json_body)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /network-ipams body {"network-ipam":{"uuid": null, "fq_name": ["default-domain", "ctest-TestBasicVMVN-72320827", "ctest-ipam-91269390"], "parent_type": "project", "network_ipam_mgmt": {"ipam_method": "dhcp", "ipam_dns_method": null, "ipam_dns_server": null, "dhcp_option_list": null, "cidr_block": null, "host_routes": null}}} response Name['default-domain', 'ctest-TestBasicVMVN-72320827'] not found

0.537 Log File
.tearDownClass (scripts.vm_regression.test_vm_basic.TestBasicVMVN)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 34, in tearDownClass
super(TestBasicVMVN, cls).tearDownClass()
File "/contrail-test/scripts/vm_regression/base.py", line 27, in tearDownClass
super(BaseVnVmTest, cls).tearDownClass()
File "/contrail-test/common/base.py", line 153, in tearDownClass
super(GenericTestBase, cls).tearDownClass()
File "/contrail-test/test_v1.py", line 81, in tearDownClass
cls.admin_isolated_creds.delete_tenant(cls.project)
File "/contrail-test/common/isolated_creds.py", line 192, in delete_tenant
project_fixture.cleanUp()
File "/contrail-test/fixtures/project_test.py", line 145, in cleanUp
self.delete()
File "/contrail-test/fixtures/project_test.py", line 160, in delete
if not self.check_no_project_references():
File "/contrail-test/tcutils/util.py", line 97, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/project_test.py", line 177, in check_no_project_references
vnc_project_obj = self.vnc_lib_h.project_read(id=self.uuid)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 728, in _object_read
response = self._request_server(OP_GET, uri, query_params)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 2 url /project/f8dbae3d-c3a3-43fc-a683-a2dcfae1e467 body {'exclude_back_refs': True, 'exclude_children': True} response Unknown id: f8dbae3d-c3a3-43fc-a683-a2dcfae1e467

0.000 Log File
Properties »

Back to top

TestCase scripts

NameStatusTypeTime(s)LogFile
AnalyticsTestSanity.test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity,vcenter,vcenter_compute]Success1.533
TestSriov.test_communication_between_two_sriov_vm[ci_sanity]SkippedSkipped as test is not supported if sriov_cluster=False 0.004
TestSriov.test_communication_between_two_sriov_vm_with_large_mtu[ci_sanity]SkippedSkipped as test is not supported if sriov_cluster=False 0.003
TestSriov.test_virtual_function_exhaustion_and_resue[ci_sanity]SkippedSkipped as test is not supported if sriov_cluster=False 0.008
.tearDownClass (serial_scripts.sriov.test_sriov.TestSriov)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/serial_scripts/sriov/base.py", line 25, in tearDownClass
super(BaseSriovTest, cls).tearDownClass()
File "/contrail-test/test_v1.py", line 81, in tearDownClass
cls.admin_isolated_creds.delete_tenant(cls.project)
File "/contrail-test/common/isolated_creds.py", line 192, in delete_tenant
project_fixture.cleanUp()
File "/contrail-test/fixtures/project_test.py", line 145, in cleanUp
self.delete()
File "/contrail-test/fixtures/project_test.py", line 160, in delete
if not self.check_no_project_references():
File "/contrail-test/tcutils/util.py", line 97, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/project_test.py", line 177, in check_no_project_references
vnc_project_obj = self.vnc_lib_h.project_read(id=self.uuid)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 728, in _object_read
response = self._request_server(OP_GET, uri, query_params)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server
retry_after_authn=retry_after_authn, retry_count=retry_count)
File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request
% (op, url, data, content))
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 2 url /project/37a589a4-746e-4285-952b-bf18dbf91be4 body {'exclude_back_refs': True, 'exclude_children': True} response Unknown id: 37a589a4-746e-4285-952b-bf18dbf91be4

0.000 Log File
Properties »

Back to top