Test Results

Designed for use with JUnit and Ant.

Properties


Summary

TestsFailuresErrorsSkippedSuccess rateTime
3060476.92%1706.280
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)
300641706.280

Package

NameTestsErrorsFailuresSkippedTime(s)
7033197.740
230311508.540
Back to top


TestCase

NameStatusTypeTime(s)LogFile
test_perms2_global_share[ci_sanity,sanity]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: AssertionError
Python 3.9.25: /usr/bin/python3
Tue Oct 20 19:25:05 2026

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=<serial_scripts.rbac.test_rbac.TestRbac.test_per...global_share[ci_sanity,sanity] id=0x7f573b14db80>, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function = <function TestRbac.test_perms2_global_share>
self = <serial_scripts.rbac.test_rbac.TestRbac.test_per...global_share[ci_sanity,sanity] id=0x7f573b14db80>
args = ()
kwargs = {}

/contrail-test/serial_scripts/rbac/test_rbac.py in test_perms2_global_share(self=<serial_scripts.rbac.test_rbac.TestRbac.test_per...global_share[ci_sanity,sanity] id=0x7f573b14db80>)
60 assert self.get_vn_from_analytics(u1_p2_conn, vn.vn_fq_name)
61 assert vn.vn_fq_name in self.list_vn_from_analytics(u1_p2_conn)
62 vm = self.create_vm(connections=u1_p2_conn, vn_fixture=vn)
63 assert vm, 'VM creation failed on shared VN'
64
vm undefined
self = <serial_scripts.rbac.test_rbac.TestRbac.test_per...global_share[ci_sanity,sanity] id=0x7f573b14db80>
self.create_vm = <bound method BaseRbac.create_vm of <serial_scri...lobal_share[ci_sanity,sanity] id=0x7f573b14db80>>
connections undefined
u1_p2_conn = <common.connections.ContrailConnections object>
vn_fixture undefined
vn = <vn_test.VNFixture object>

/contrail-test/serial_scripts/rbac/base.py in create_vm(self=<serial_scripts.rbac.test_rbac.TestRbac.test_per...global_share[ci_sanity,sanity] id=0x7f573b14db80>, vn_fixture=<vn_test.VNFixture object>, connections=<common.connections.ContrailConnections object>, verify=True)
232 admin_connections=self.connections)
233 if vm_fixture and verify:
234 assert vm_fixture.verify_on_setup(), 'VM verification failed'
235 return vm_fixture
236
vm_fixture = <VMFixture: ctest-TestRbac-16354845-27184288>
vm_fixture.verify_on_setup = <bound method VMFixture.verify_on_setup of <VMFixture: ctest-TestRbac-16354845-27184288>>
AssertionError: VM verification failed
__cause__ = None
__class__ = <class 'AssertionError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of AssertionError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of AssertionError object>
__doc__ = 'Assertion failed.'
__eq__ = <method-wrapper '__eq__' of AssertionError object>
__format__ = <built-in method __format__ of AssertionError object>
__ge__ = <method-wrapper '__ge__' of AssertionError object>
__getattribute__ = <method-wrapper '__getattribute__' of AssertionError object>
__gt__ = <method-wrapper '__gt__' of AssertionError object>
__hash__ = <method-wrapper '__hash__' of AssertionError object>
__init__ = <method-wrapper '__init__' of AssertionError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of AssertionError object>
__lt__ = <method-wrapper '__lt__' of AssertionError object>
__ne__ = <method-wrapper '__ne__' of AssertionError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of AssertionError object>
__reduce_ex__ = <built-in method __reduce_ex__ of AssertionError object>
__repr__ = <method-wrapper '__repr__' of AssertionError object>
__setattr__ = <method-wrapper '__setattr__' of AssertionError object>
__setstate__ = <built-in method __setstate__ of AssertionError object>
__sizeof__ = <built-in method __sizeof__ of AssertionError object>
__str__ = <method-wrapper '__str__' of AssertionError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ('VM verification failed',)
with_traceback = <built-in method with_traceback of AssertionError 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 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/serial_scripts/rbac/test_rbac.py", line 62, in test_perms2_global_share
vm = self.create_vm(connections=u1_p2_conn, vn_fixture=vn)
File "/contrail-test/serial_scripts/rbac/base.py", line 234, in create_vm
assert vm_fixture.verify_on_setup(), 'VM verification failed'
AssertionError: VM verification failed

29.065 Log File
test_perms2_owner[ci_sanity,sanity,suite1]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: ValueError
Python 3.9.25: /usr/bin/python3
Tue Oct 20 19:25:22 2026

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=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...owner[ci_sanity,sanity,suite1] id=0x7f573b159760>, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function = <function TestRbacBasic.test_perms2_owner>
self = <serial_scripts.rbac.test_rbac_basic.TestRbacBas...owner[ci_sanity,sanity,suite1] id=0x7f573b159760>
args = ()
kwargs = {}

/contrail-test/serial_scripts/rbac/test_rbac_basic.py in test_perms2_owner(self=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...owner[ci_sanity,sanity,suite1] id=0x7f573b159760>)
223 ]
224 domain_rbac = self.create_rbac_acl(rules=vn_rules, parent_type='domain')
225 vn = self.create_vn(connections=u1_p1_conn, verify=False)
226 assert vn, 'VN creation failed'
227 vn2 = self.create_vn(connections=u1_p2_conn, verify=False)
vn undefined
self = <serial_scripts.rbac.test_rbac_basic.TestRbacBas...owner[ci_sanity,sanity,suite1] id=0x7f573b159760>
self.create_vn = <bound method BaseRbac.create_vn of <serial_scri...wner[ci_sanity,sanity,suite1] id=0x7f573b159760>>
connections undefined
u1_p1_conn = <common.connections.ContrailConnections object>
verify undefined

/contrail-test/serial_scripts/rbac/base.py in create_vn(self=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...owner[ci_sanity,sanity,suite1] id=0x7f573b159760>, connections=<common.connections.ContrailConnections object>, verify=False, option='contrail', **kwargs={})
214 def create_vn(self, connections=None, verify=True, option='contrail', **kwargs):
215 connections = connections or self.connections
216 vn_fixture = self.create_fixture(VNFixture, connections=connections,
217 option=option, **kwargs)
218 if vn_fixture and verify:
vn_fixture undefined
self = <serial_scripts.rbac.test_rbac_basic.TestRbacBas...owner[ci_sanity,sanity,suite1] id=0x7f573b159760>
self.create_fixture = <bound method BaseRbac.create_fixture of <serial...wner[ci_sanity,sanity,suite1] id=0x7f573b159760>>
global VNFixture = <class 'vn_test.VNFixture'>
connections = <common.connections.ContrailConnections object>
option = 'contrail'
kwargs = {}

/contrail-test/serial_scripts/rbac/base.py in create_fixture(self=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...owner[ci_sanity,sanity,suite1] id=0x7f573b159760>, fixturecls=<class 'vn_test.VNFixture'>, **kwargs={'connections': <common.connections.ContrailConnections object>, 'option': 'contrail'})
352 def create_fixture(self, fixturecls, **kwargs):
353 try:
354 return self.useFixture(fixturecls(**kwargs))
355 except (PermissionDenied, neutron_forbidden):
356 return None
self = <serial_scripts.rbac.test_rbac_basic.TestRbacBas...owner[ci_sanity,sanity,suite1] id=0x7f573b159760>
self.useFixture = <bound method TestCase.useFixture of <serial_scr...wner[ci_sanity,sanity,suite1] id=0x7f573b159760>>
fixturecls = <class 'vn_test.VNFixture'>
kwargs = {'connections': <common.connections.ContrailConnections object>, 'option': 'contrail'}

/usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...owner[ci_sanity,sanity,suite1] id=0x7f573b159760>, 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 'ValueError'>, ValueError('could not find ctest-TestRbacBasic-84455798-36659339 in orchestrator'), <traceback object>)

/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=<class 'ValueError'>, exc_obj=ValueError('could not find ctest-TestRbacBasic-84455798-36659339 in orchestrator'), 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 = ValueError('could not find ctest-TestRbacBasic-84455798-36659339 in orchestrator')
exc_obj.with_traceback = <built-in method with_traceback of ValueError object>
exc_tb = <traceback object>

/usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...owner[ci_sanity,sanity,suite1] id=0x7f573b159760>, 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>)
437 def setUp(self):
438 super(VNFixture, self).setUp()
439 self.create()
440
441 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>)
448 self.webui.create_vn(self)
449 elif (self.option == 'contrail'):
450 self._create_vn_api(self.vn_name, self.project_obj)
451 else:
452 self._create_vn_orch()
self = <vn_test.VNFixture object>
self._create_vn_api = <bound method VNFixture._create_vn_api of <vn_test.VNFixture object>>
self.vn_name = 'ctest-TestRbacBasic-84455798-36659339'
self.project_obj = <vnc_api.gen.resource_client.Project object>

/contrail-test/fixtures/vn_test.py in _create_vn_api(self=<vn_test.VNFixture object>, vn_name='ctest-TestRbacBasic-84455798-36659339', project_obj=<vnc_api.gen.resource_client.Project object>)
427 self.obj = self._orch_call('get_vn_obj_from_id', self.uuid)
428 if self.obj is None:
429 raise ValueError('could not find %s in orchestrator' % (self.vn_name))
430
431 def get_api_obj(self):
builtinValueError = <class 'ValueError'>
self = <vn_test.VNFixture object>
self.vn_name = 'ctest-TestRbacBasic-84455798-36659339'
ValueError: could not find ctest-TestRbacBasic-84455798-36659339 in orchestrator
__cause__ = None
__class__ = <class 'ValueError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of ValueError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of ValueError object>
__doc__ = 'Inappropriate argument value (of correct type).'
__eq__ = <method-wrapper '__eq__' of ValueError object>
__format__ = <built-in method __format__ of ValueError object>
__ge__ = <method-wrapper '__ge__' of ValueError object>
__getattribute__ = <method-wrapper '__getattribute__' of ValueError object>
__gt__ = <method-wrapper '__gt__' of ValueError object>
__hash__ = <method-wrapper '__hash__' of ValueError object>
__init__ = <method-wrapper '__init__' of ValueError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of ValueError object>
__lt__ = <method-wrapper '__lt__' of ValueError object>
__ne__ = <method-wrapper '__ne__' of ValueError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of ValueError object>
__reduce_ex__ = <built-in method __reduce_ex__ of ValueError object>
__repr__ = <method-wrapper '__repr__' of ValueError object>
__setattr__ = <method-wrapper '__setattr__' of ValueError object>
__setstate__ = <built-in method __setstate__ of ValueError object>
__sizeof__ = <built-in method __sizeof__ of ValueError object>
__str__ = <method-wrapper '__str__' of ValueError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ('could not find ctest-TestRbacBasic-84455798-36659339 in orchestrator',)
with_traceback = <built-in method with_traceback of ValueError 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 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/serial_scripts/rbac/test_rbac_basic.py", line 225, in test_perms2_owner
vn = self.create_vn(connections=u1_p1_conn, verify=False)
File "/contrail-test/serial_scripts/rbac/base.py", line 216, in create_vn
vn_fixture = self.create_fixture(VNFixture, connections=connections,
File "/contrail-test/serial_scripts/rbac/base.py", line 354, in create_fixture
return self.useFixture(fixturecls(**kwargs))
File "/usr/local/lib/python3.9/site-packages/testtools/testcase.py", line 756, in useFixture
reraise(*exc_info)
File "/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py", line 16, in reraise
raise exc_obj.with_traceback(exc_tb)
File "/usr/local/lib/python3.9/site-packages/testtools/testcase.py", line 731, in useFixture
fixture.setUp()
File "/contrail-test/fixtures/vn_test.py", line 439, in setUp
self.create()
File "/contrail-test/fixtures/vn_test.py", line 450, in create
self._create_vn_api(self.vn_name, self.project_obj)
File "/contrail-test/fixtures/vn_test.py", line 429, in _create_vn_api
raise ValueError('could not find %s in orchestrator' % (self.vn_name))
ValueError: could not find ctest-TestRbacBasic-84455798-36659339 in orchestrator

72.711 Log File
test_rbac_acl_different_roles[ci_sanity,sanity,suite1]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: ValueError
Python 3.9.25: /usr/bin/python3
Tue Oct 20 19:26:32 2026

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=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...roles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function = <function TestRbacBasic.test_rbac_acl_different_roles>
self = <serial_scripts.rbac.test_rbac_basic.TestRbacBas...roles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>
args = ()
kwargs = {}

/contrail-test/serial_scripts/rbac/test_rbac_basic.py in test_rbac_acl_different_roles(self=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...roles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>)
45 ]
46 proj_rbac = self.create_rbac_acl(rules=vn_rules)
47 vn = self.create_vn(connections=user1_conn)
48 assert vn, 'VN creation failed'
49 assert not self.create_st(connections=user1_conn), 'ST creation should have failed'
vn undefined
self = <serial_scripts.rbac.test_rbac_basic.TestRbacBas...roles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>
self.create_vn = <bound method BaseRbac.create_vn of <serial_scri...oles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>>
connections undefined
user1_conn = <common.connections.ContrailConnections object>

/contrail-test/serial_scripts/rbac/base.py in create_vn(self=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...roles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>, connections=<common.connections.ContrailConnections object>, verify=True, option='contrail', **kwargs={})
214 def create_vn(self, connections=None, verify=True, option='contrail', **kwargs):
215 connections = connections or self.connections
216 vn_fixture = self.create_fixture(VNFixture, connections=connections,
217 option=option, **kwargs)
218 if vn_fixture and verify:
vn_fixture undefined
self = <serial_scripts.rbac.test_rbac_basic.TestRbacBas...roles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>
self.create_fixture = <bound method BaseRbac.create_fixture of <serial...oles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>>
global VNFixture = <class 'vn_test.VNFixture'>
connections = <common.connections.ContrailConnections object>
option = 'contrail'
kwargs = {}

/contrail-test/serial_scripts/rbac/base.py in create_fixture(self=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...roles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>, fixturecls=<class 'vn_test.VNFixture'>, **kwargs={'connections': <common.connections.ContrailConnections object>, 'option': 'contrail'})
352 def create_fixture(self, fixturecls, **kwargs):
353 try:
354 return self.useFixture(fixturecls(**kwargs))
355 except (PermissionDenied, neutron_forbidden):
356 return None
self = <serial_scripts.rbac.test_rbac_basic.TestRbacBas...roles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>
self.useFixture = <bound method TestCase.useFixture of <serial_scr...oles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>>
fixturecls = <class 'vn_test.VNFixture'>
kwargs = {'connections': <common.connections.ContrailConnections object>, 'option': 'contrail'}

/usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...roles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>, 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 'ValueError'>, ValueError('could not find ctest-TestRbacBasic-51985482-70816471 in orchestrator'), <traceback object>)

/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=<class 'ValueError'>, exc_obj=ValueError('could not find ctest-TestRbacBasic-51985482-70816471 in orchestrator'), 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 = ValueError('could not find ctest-TestRbacBasic-51985482-70816471 in orchestrator')
exc_obj.with_traceback = <built-in method with_traceback of ValueError object>
exc_tb = <traceback object>

/usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=<serial_scripts.rbac.test_rbac_basic.TestRbacBas...roles[ci_sanity,sanity,suite1] id=0x7f573b1598b0>, 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>)
437 def setUp(self):
438 super(VNFixture, self).setUp()
439 self.create()
440
441 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>)
448 self.webui.create_vn(self)
449 elif (self.option == 'contrail'):
450 self._create_vn_api(self.vn_name, self.project_obj)
451 else:
452 self._create_vn_orch()
self = <vn_test.VNFixture object>
self._create_vn_api = <bound method VNFixture._create_vn_api of <vn_test.VNFixture object>>
self.vn_name = 'ctest-TestRbacBasic-51985482-70816471'
self.project_obj = <vnc_api.gen.resource_client.Project object>

/contrail-test/fixtures/vn_test.py in _create_vn_api(self=<vn_test.VNFixture object>, vn_name='ctest-TestRbacBasic-51985482-70816471', project_obj=<vnc_api.gen.resource_client.Project object>)
427 self.obj = self._orch_call('get_vn_obj_from_id', self.uuid)
428 if self.obj is None:
429 raise ValueError('could not find %s in orchestrator' % (self.vn_name))
430
431 def get_api_obj(self):
builtinValueError = <class 'ValueError'>
self = <vn_test.VNFixture object>
self.vn_name = 'ctest-TestRbacBasic-51985482-70816471'
ValueError: could not find ctest-TestRbacBasic-51985482-70816471 in orchestrator
__cause__ = None
__class__ = <class 'ValueError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of ValueError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of ValueError object>
__doc__ = 'Inappropriate argument value (of correct type).'
__eq__ = <method-wrapper '__eq__' of ValueError object>
__format__ = <built-in method __format__ of ValueError object>
__ge__ = <method-wrapper '__ge__' of ValueError object>
__getattribute__ = <method-wrapper '__getattribute__' of ValueError object>
__gt__ = <method-wrapper '__gt__' of ValueError object>
__hash__ = <method-wrapper '__hash__' of ValueError object>
__init__ = <method-wrapper '__init__' of ValueError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of ValueError object>
__lt__ = <method-wrapper '__lt__' of ValueError object>
__ne__ = <method-wrapper '__ne__' of ValueError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of ValueError object>
__reduce_ex__ = <built-in method __reduce_ex__ of ValueError object>
__repr__ = <method-wrapper '__repr__' of ValueError object>
__setattr__ = <method-wrapper '__setattr__' of ValueError object>
__setstate__ = <built-in method __setstate__ of ValueError object>
__sizeof__ = <built-in method __sizeof__ of ValueError object>
__str__ = <method-wrapper '__str__' of ValueError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ('could not find ctest-TestRbacBasic-51985482-70816471 in orchestrator',)
with_traceback = <built-in method with_traceback of ValueError 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 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/serial_scripts/rbac/test_rbac_basic.py", line 47, in test_rbac_acl_different_roles
vn = self.create_vn(connections=user1_conn)
File "/contrail-test/serial_scripts/rbac/base.py", line 216, in create_vn
vn_fixture = self.create_fixture(VNFixture, connections=connections,
File "/contrail-test/serial_scripts/rbac/base.py", line 354, in create_fixture
return self.useFixture(fixturecls(**kwargs))
File "/usr/local/lib/python3.9/site-packages/testtools/testcase.py", line 756, in useFixture
reraise(*exc_info)
File "/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py", line 16, in reraise
raise exc_obj.with_traceback(exc_tb)
File "/usr/local/lib/python3.9/site-packages/testtools/testcase.py", line 731, in useFixture
fixture.setUp()
File "/contrail-test/fixtures/vn_test.py", line 439, in setUp
self.create()
File "/contrail-test/fixtures/vn_test.py", line 450, in create
self._create_vn_api(self.vn_name, self.project_obj)
File "/contrail-test/fixtures/vn_test.py", line 429, in _create_vn_api
raise ValueError('could not find %s in orchestrator' % (self.vn_name))
ValueError: could not find ctest-TestRbacBasic-51985482-70816471 in orchestrator

4.352 Log File
test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success0.461
test_communication_between_two_sriov_vm[ci_sanity]SkippedSkipped as test is not supported if sriov_cluster=False 0.004
test_communication_between_two_sriov_vm_with_large_mtu[ci_sanity]SkippedSkipped as test is not supported if sriov_cluster=False 0.002
test_virtual_function_exhaustion_and_resue[ci_sanity]SkippedSkipped as test is not supported if sriov_cluster=False 0.002
Properties »

Back to top

TestCase

NameStatusTypeTime(s)LogFile
test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success0.570
test_verify_object_logs[ci_sanity,dev_sanity_dpdk,sanity,suite1]Success46.467
test_db_manage[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success3.404
test_analytics_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success0.291
test_config_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success0.316
test_floating_ip[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1,vrouter_gw]Success100.499
test_heat_stacks_list[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity]Success1.197
test_network_tags_crud[ci_sanity,sanity]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: InternalServerError
Python 3.9.25: /usr/bin/python3
Tue Oct 20 19:02:10 2026

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.neutron.test_crud.TestCRUD.test_network_tags_crud[ci_sanity,sanity] id=0x7f36b245fe80>, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function = <function TestCRUD.test_network_tags_crud>
self = <scripts.neutron.test_crud.TestCRUD.test_network_tags_crud[ci_sanity,sanity] id=0x7f36b245fe80>
args = ()
kwargs = {}

/contrail-test/scripts/neutron/test_crud.py in test_network_tags_crud(self=<scripts.neutron.test_crud.TestCRUD.test_network_tags_crud[ci_sanity,sanity] id=0x7f36b245fe80>)
601
602 # set (replace-all)
603 c.replace_tag('networks', net_id, {'tags': ['a', 'b']})
604 assert tags() == {'a', 'b'}, 'replace_tag did not persist'
605
c = <neutronclient.v2_0.client.Client object>
c.replace_tag = <bound method Client.replace_tag of <neutronclient.v2_0.client.Client object>>
net_id = 'e8ffd8e8-f172-4398-b534-7499675e60b9'

/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in replace_tag(self=<neutronclient.v2_0.client.Client object>, resource_type='networks', resource_id='e8ffd8e8-f172-4398-b534-7499675e60b9', body={'tags': ['a', 'b']}, **_params={})
2096 def replace_tag(self, resource_type, resource_id, body, **_params):
2097 """Replace tags on the resource."""
2098 return self.put(self.tags_path % (resource_type, resource_id), body)
2099
2100 def remove_tag(self, resource_type, resource_id, tag, **_params):
self = <neutronclient.v2_0.client.Client object>
self.put = <bound method ClientBase.put of <neutronclient.v2_0.client.Client object>>
self.tags_path = '/%s/%s/tags'
resource_type = 'networks'
resource_id = 'e8ffd8e8-f172-4398-b534-7499675e60b9'
body = {'tags': ['a', 'b']}

/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in put(self=<neutronclient.v2_0.client.Client object>, action='/networks/e8ffd8e8-f172-4398-b534-7499675e60b9/tags', body={'tags': ['a', 'b']}, headers=None, params=None)
360
361 def put(self, action, body=None, headers=None, params=None):
362 return self.retry_request("PUT", action, body=body,
363 headers=headers, params=params)
364
self = <neutronclient.v2_0.client.Client object>
self.retry_request = <bound method ClientBase.retry_request of <neutronclient.v2_0.client.Client object>>
action = '/networks/e8ffd8e8-f172-4398-b534-7499675e60b9/tags'
body = {'tags': ['a', 'b']}
headers = None
params = None

/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in retry_request(self=<neutronclient.v2_0.client.Client object>, method='PUT', action='/networks/e8ffd8e8-f172-4398-b534-7499675e60b9/tags', body={'tags': ['a', 'b']}, headers=None, params=None)
328 for i in range(max_attempts):
329 try:
330 return self.do_request(method, action, body=body,
331 headers=headers, params=params)
332 except (exceptions.ConnectionFailed, ksa_exc.ConnectionError):
self = <neutronclient.v2_0.client.Client object>
self.do_request = <bound method ClientBase.do_request of <neutronclient.v2_0.client.Client object>>
method = 'PUT'
action = '/networks/e8ffd8e8-f172-4398-b534-7499675e60b9/tags'
body = {'tags': ['a', 'b']}
headers = None
params = None

/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in do_request(self=<neutronclient.v2_0.client.Client object>, method='PUT', action='/v2.0/networks/e8ffd8e8-f172-4398-b534-7499675e60b9/tags', body='{"tags": ["a", "b"]}', headers=None, params=None)
292 if not replybody:
293 replybody = resp.reason
294 self._handle_fault_response(status_code, replybody, resp)
295
296 def get_auth_info(self):
self = <neutronclient.v2_0.client.Client object>
self._handle_fault_response = <bound method ClientBase._handle_fault_response of <neutronclient.v2_0.client.Client object>>
status_code = 500
replybody = '{"NeutronError": {"type": "HTTPInternalServerErr...r while processing your request.", "detail": ""}}'
resp = <Response [500]>

/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in _handle_fault_response(self=<neutronclient.v2_0.client.Client object>, status_code=500, response_body='{"NeutronError": {"type": "HTTPInternalServerErr...r while processing your request.", "detail": ""}}', resp=<Response [500]>)
267 error_body = self._convert_into_with_meta(des_error_body, resp)
268 # Raise the appropriate exception
269 exception_handler_v20(status_code, error_body)
270
271 def do_request(self, method, action, body=None, headers=None, params=None):
global exception_handler_v20 = <function exception_handler_v20>
status_code = 500
error_body = {'NeutronError': {'type': 'HTTPInternalServerErr...r while processing your request.', 'detail': ''}}

/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in exception_handler_v20(status_code=500, error_content={'NeutronError': {'type': 'HTTPInternalServerErr...r while processing your request.', 'detail': ''}})
89 client_exc = exceptions.NeutronClientException
90
91 raise client_exc(message=error_message,
92 status_code=status_code,
93 request_ids=request_ids)
client_exc = <class 'neutronclient.common.exceptions.InternalServerError'>
message undefined
error_message = 'Request Failed: internal server error while processing your request.'
status_code = 500
request_ids = ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']
InternalServerError: Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']
__cause__ = None
__class__ = <class 'neutronclient.common.exceptions.InternalServerError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of InternalServerError object>
__dict__ = {'_error_string': "Request Failed: internal server error while proc...ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']", 'message': "Request Failed: internal server error while proc...ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']", 'request_ids': ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f'], 'status_code': 500}
__dir__ = <built-in method __dir__ of InternalServerError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of InternalServerError object>
__format__ = <built-in method __format__ of InternalServerError object>
__ge__ = <method-wrapper '__ge__' of InternalServerError object>
__getattribute__ = <method-wrapper '__getattribute__' of InternalServerError object>
__gt__ = <method-wrapper '__gt__' of InternalServerError object>
__hash__ = <method-wrapper '__hash__' of InternalServerError object>
__init__ = <bound method NeutronClientException.__init__ of InternalServerError()>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of InternalServerError object>
__lt__ = <method-wrapper '__lt__' of InternalServerError object>
__module__ = 'neutronclient.common.exceptions'
__ne__ = <method-wrapper '__ne__' of InternalServerError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of InternalServerError object>
__reduce_ex__ = <built-in method __reduce_ex__ of InternalServerError object>
__repr__ = <method-wrapper '__repr__' of InternalServerError object>
__setattr__ = <method-wrapper '__setattr__' of InternalServerError object>
__setstate__ = <built-in method __setstate__ of InternalServerError object>
__sizeof__ = <built-in method __sizeof__ of InternalServerError object>
__str__ = <bound method NeutronException.__str__ of InternalServerError()>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
_error_string = "Request Failed: internal server error while proc...ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']"
args = ()
message = "Request Failed: internal server error while proc...ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']"
req_ids_msg = 'Neutron server returns request_ids: %s'
request_ids = ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']
status_code = 500
with_traceback = <built-in method with_traceback of InternalServerError 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 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/neutron/test_crud.py", line 603, in test_network_tags_crud
c.replace_tag('networks', net_id, {'tags': ['a', 'b']})
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 2098, in replace_tag
return self.put(self.tags_path % (resource_type, resource_id), body)
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 362, in put
return self.retry_request("PUT", action, body=body,
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 330, in retry_request
return self.do_request(method, action, body=body,
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request
self._handle_fault_response(status_code, replybody, resp)
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response
exception_handler_v20(status_code, error_body)
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20
raise client_exc(message=error_message,
neutronclient.common.exceptions.InternalServerError: Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']

4.401 Log File
test_router_crud[ci_sanity,dev_sanity_dpdk,sanity]Success5.154
test_ports_bindings[ci_sanity,dev_sanity_dpdk,sanity]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: TypeError
Python 3.9.25: /usr/bin/python3
Tue Oct 20 19:02:20 2026

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.neutron.test_ports.TestPorts.test_ports...sanity,dev_sanity_dpdk,sanity] id=0x7f36b24012e0>, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function = <function TestPorts.test_ports_bindings>
self = <scripts.neutron.test_ports.TestPorts.test_ports...sanity,dev_sanity_dpdk,sanity] id=0x7f36b24012e0>
args = ()
kwargs = {}

/contrail-test/scripts/neutron/test_ports.py in test_ports_bindings(self=<scripts.neutron.test_ports.TestPorts.test_ports...sanity,dev_sanity_dpdk,sanity] id=0x7f36b24012e0>)
1202 bind_dict = {'foo': 'bar'}
1203 vn = self.create_vn()
1204 port = self.useFixture(PortFixture(vn.uuid, connections=self.connections,
1205 binding_profile=bind_dict))
1206 assert port.verify_on_setup(), 'VMI %s verification has failed'%port.uuid
port undefined
self = <scripts.neutron.test_ports.TestPorts.test_ports...sanity,dev_sanity_dpdk,sanity] id=0x7f36b24012e0>
self.useFixture = <bound method TestCase.useFixture of <scripts.ne...anity,dev_sanity_dpdk,sanity] id=0x7f36b24012e0>>
global PortFixture = <class 'port_fixture.PortFixture'>
vn = <vn_test.VNFixture object>
vn.uuid = '1bffba85-e860-499c-a472-6caf6c8d4d75'
connections undefined
self.connections = <common.connections.ContrailConnections object>
binding_profile undefined
bind_dict = {'foo': 'bar'}

/usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=<scripts.neutron.test_ports.TestPorts.test_ports...sanity,dev_sanity_dpdk,sanity] id=0x7f36b24012e0>, fixture=<port_fixture.PortFixture 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 'TypeError'>, TypeError("'NoneType' object is not subscriptable"), <traceback object>)

/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=<class 'TypeError'>, exc_obj=TypeError("'NoneType' object is not subscriptable"), 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 = TypeError("'NoneType' object is not subscriptable")
exc_obj.with_traceback = <built-in method with_traceback of TypeError object>
exc_tb = <traceback object>

/usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=<scripts.neutron.test_ports.TestPorts.test_ports...sanity,dev_sanity_dpdk,sanity] id=0x7f36b24012e0>, fixture=<port_fixture.PortFixture object>)
729 """
730 try:
731 fixture.setUp()
732 except MultipleExceptions as e:
733 if (fixtures is not None and
fixture = <port_fixture.PortFixture object>
fixture.setUp = <bound method PortFixture.setUp of <port_fixture.PortFixture object>>

/contrail-test/fixtures/port_fixture.py in setUp(self=<port_fixture.PortFixture object>)
88 self.vn_obj = self.vnc_api_h.virtual_network_read(id=self.vn_id)
89 if self.api_type == 'neutron':
90 self._neutron_create_port()
91 else:
92 self._contrail_create_port()
self = <port_fixture.PortFixture object>
self._neutron_create_port = <bound method PortFixture._neutron_create_port of <port_fixture.PortFixture object>>

/contrail-test/fixtures/port_fixture.py in _neutron_create_port(self=<port_fixture.PortFixture object>)
108 binding_profile=self.binding_profile)
109 self.neutron_obj = neutron_obj
110 self.uuid = neutron_obj['id']
111
112 def _contrail_create_port(self):
self = <port_fixture.PortFixture object>
self.uuid = None
neutron_obj = None
TypeError: 'NoneType' object is not subscriptable
__cause__ = None
__class__ = <class 'TypeError'>
__context__ = NoIdError('Error: oper 1 url /fqname-to-id body ...s-96252740\', \'ctest-vmi-04546905\'] not found')
__delattr__ = <method-wrapper '__delattr__' of TypeError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of TypeError object>
__doc__ = 'Inappropriate argument type.'
__eq__ = <method-wrapper '__eq__' of TypeError object>
__format__ = <built-in method __format__ of TypeError object>
__ge__ = <method-wrapper '__ge__' of TypeError object>
__getattribute__ = <method-wrapper '__getattribute__' of TypeError object>
__gt__ = <method-wrapper '__gt__' of TypeError object>
__hash__ = <method-wrapper '__hash__' of TypeError object>
__init__ = <method-wrapper '__init__' of TypeError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of TypeError object>
__lt__ = <method-wrapper '__lt__' of TypeError object>
__ne__ = <method-wrapper '__ne__' of TypeError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of TypeError object>
__reduce_ex__ = <built-in method __reduce_ex__ of TypeError object>
__repr__ = <method-wrapper '__repr__' of TypeError object>
__setattr__ = <method-wrapper '__setattr__' of TypeError object>
__setstate__ = <built-in method __setstate__ of TypeError object>
__sizeof__ = <built-in method __sizeof__ of TypeError object>
__str__ = <method-wrapper '__str__' of TypeError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ("'NoneType' object is not subscriptable",)
with_traceback = <built-in method with_traceback of TypeError 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/fixtures/port_fixture.py", line 85, in setUp
obj = self.vnc_h.read_virtual_machine_interface(fq_name=self.fq_name)
File "/contrail-test/fixtures/contrailapi.py", line 3169, in read_virtual_machine_interface
return self._vnc.virtual_machine_interface_read(**kwargs)
File "/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py", line 700, in _object_read
(args_ok, result) = self._read_args_to_id(
File "/usr/local/lib/python3.9/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/local/lib/python3.9/site-packages/vnc_api/vnc_api.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.9/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/local/lib/python3.9/site-packages/vnc_api/vnc_api.py", line 1126, in _request_server
return self._request(
File "/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py", line 1180, in _request
raise NoIdError('Error: oper %s url %s body %s response %s'
vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "virtual-machine-interface", "fq_name": ["default-domain", "ctest-TestPorts-96252740", "ctest-vmi-04546905"]} response Name ['default-domain', 'ctest-TestPorts-96252740', 'ctest-vmi-04546905'] not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/neutron/test_ports.py", line 1204, in test_ports_bindings
port = self.useFixture(PortFixture(vn.uuid, connections=self.connections,
File "/usr/local/lib/python3.9/site-packages/testtools/testcase.py", line 756, in useFixture
reraise(*exc_info)
File "/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py", line 16, in reraise
raise exc_obj.with_traceback(exc_tb)
File "/usr/local/lib/python3.9/site-packages/testtools/testcase.py", line 731, in useFixture
fixture.setUp()
File "/contrail-test/fixtures/port_fixture.py", line 90, in setUp
self._neutron_create_port()
File "/contrail-test/fixtures/port_fixture.py", line 110, in _neutron_create_port
self.uuid = neutron_obj['id']
TypeError: 'NoneType' object is not subscriptable

1.657 Log File
test_ports_specific_subnet_ip[ci_sanity,dev_sanity_dpdk,sanity]Success97.588
test_basic_router_behavior[ci_sanity,dev_sanity_dpdk,sanity]Success115.378
test_basic_snat_behavior_without_external_connectivity[ci_sanity,dev_sanity_dpdk,sanity,suite1]Success105.270
test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1]SkippedDisabling v6 tests for CI5.366
test_remove_policy_with_ref[ci_sanity,sanity]Success4.570
test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1]Success105.135
test_rp_interface[ci_sanity,sanity]Success102.994
test_svc_in_network_datapath[ci_sanity]Success129.493
test_vdns_ping_same_vn[ci_sanity,sanity,suite1]Success174.563
test_vm_file_trf_scp_tests[ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,vrouter_gw]Success107.719
test_generic_link_local_service[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,dev_sanity_dpdk,sanity,suite1]Success88.198
test_metadata_service[cb_sanity,ci_sanity,sanity,suite1]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: stderr: {{{
Warning: run() received nonzero return code 1 while executing 'cat /tmp/output.txt'!


Warning: run() received nonzero return code 1 while executing 'cat /tmp/output.txt'!


Warning: run() received nonzero return code 1 while executing 'cat /tmp/output.txt'!


Warning: run() received nonzero return code 1 while executing 'cat /tmp/output.txt'!


Warning: run() received nonzero return code 1 while executing 'cat /tmp/output.txt'!


Warning: run() received nonzero return code 1 while executing 'cat /tmp/output.txt'!


Warning: run() received nonzero return code 1 while executing 'cat /tmp/output.txt'!


Warning: run() received nonzero return code 1 while executing 'cat /tmp/output.txt'!


Warning: run() received nonzero return code 1 while executing 'cat /tmp/output.txt'!


Warning: run() received nonzero return code 1 while executing 'cat /tmp/output.txt'!
}}}

stdout: {{{
[cirros@169.254.0.3] run: cat /tmp/output.txt
[cirros@169.254.0.3] run: cat /tmp/output.txt
[cirros@169.254.0.3] out: cat: can't open '/tmp/output.txt': No such file or directory
[cirros@169.254.0.3] out:

[cirros@169.254.0.3] run: cat /tmp/output.txt
[cirros@169.254.0.3] out: cat: can't open '/tmp/output.txt': No such file or directory
[cirros@169.254.0.3] out:

[cirros@169.254.0.3] run: cat /tmp/output.txt
[cirros@169.254.0.3] out: cat: can't open '/tmp/output.txt': No such file or directory
[cirros@169.254.0.3] out:

[cirros@169.254.0.3] run: cat /tmp/output.txt
[cirros@169.254.0.3] out: cat: can't open '/tmp/output.txt': No such file or directory
[cirros@169.254.0.3] out:

[cirros@169.254.0.3] run: cat /tmp/output.txt
[cirros@169.254.0.3] out: cat: can't open '/tmp/output.txt': No such file or directory
[cirros@169.254.0.3] out:

[cirros@169.254.0.3] run: cat /tmp/output.txt
[cirros@169.254.0.3] out: cat: can't open '/tmp/output.txt': No such file or directory
[cirros@169.254.0.3] out:

[cirros@169.254.0.3] run: cat /tmp/output.txt
[cirros@169.254.0.3] out: cat: can't open '/tmp/output.txt': No such file or directory
[cirros@169.254.0.3] out:

[cirros@169.254.0.3] run: cat /tmp/output.txt
[cirros@169.254.0.3] out: cat: can't open '/tmp/output.txt': No such file or directory
[cirros@169.254.0.3] out:

[cirros@169.254.0.3] run: cat /tmp/output.txt
[cirros@169.254.0.3] out: cat: can't open '/tmp/output.txt': No such file or directory
[cirros@169.254.0.3] out:

[cirros@169.254.0.3] run: cat /tmp/output.txt
[cirros@169.254.0.3] out: cat: can't open '/tmp/output.txt': No such file or directory
[cirros@169.254.0.3] out:
}}}

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: AssertionError
Python 3.9.25: /usr/bin/python3
Tue Oct 20 19:21:57 2026

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...anity,ci_sanity,sanity,suite1] id=0x7f36b203fc40>, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function = <function TestBasicVMVN.test_metadata_service>
self = <scripts.vm_regression.test_vm_basic.TestBasicVM...anity,ci_sanity,sanity,suite1] id=0x7f36b203fc40>
args = ()
kwargs = {}

/contrail-test/scripts/vm_regression/test_vm_basic.py in test_metadata_service(self=<scripts.vm_regression.test_vm_basic.TestBasicVM...anity,ci_sanity,sanity,suite1] id=0x7f36b203fc40>)
69 if i+1 < mtries:
70 time.sleep(2)
71 assert result
72
73 @test.attr(type=['suite1'])
result = False
AssertionError:
__cause__ = None
__class__ = <class 'AssertionError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of AssertionError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of AssertionError object>
__doc__ = 'Assertion failed.'
__eq__ = <method-wrapper '__eq__' of AssertionError object>
__format__ = <built-in method __format__ of AssertionError object>
__ge__ = <method-wrapper '__ge__' of AssertionError object>
__getattribute__ = <method-wrapper '__getattribute__' of AssertionError object>
__gt__ = <method-wrapper '__gt__' of AssertionError object>
__hash__ = <method-wrapper '__hash__' of AssertionError object>
__init__ = <method-wrapper '__init__' of AssertionError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of AssertionError object>
__lt__ = <method-wrapper '__lt__' of AssertionError object>
__ne__ = <method-wrapper '__ne__' of AssertionError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of AssertionError object>
__reduce_ex__ = <built-in method __reduce_ex__ of AssertionError object>
__repr__ = <method-wrapper '__repr__' of AssertionError object>
__setattr__ = <method-wrapper '__setattr__' of AssertionError object>
__setstate__ = <built-in method __setstate__ of AssertionError object>
__sizeof__ = <built-in method __sizeof__ of AssertionError object>
__str__ = <method-wrapper '__str__' of AssertionError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ()
with_traceback = <built-in method with_traceback of AssertionError 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 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 71, in test_metadata_service
assert result
AssertionError

108.548 Log File
test_ping_within_vn_two_vms_two_different_subnets[ci_contrail_go_kolla_ocata_sanity,ci_sanity,sanity,suite1]Success139.099
Properties »

Back to top