Test Results

Designed for use with JUnit and Ant.

Properties


Summary

TestsFailuresErrorsSkippedSuccess rateTime
1121203883.78%9189.627
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)
112012389189.627

Package

NameTestsErrorsFailuresSkippedTime(s)
84011315633.621
280173556.006
Back to top


TestCase

NameStatusTypeTime(s)LogFile
test_basic_RR[sanity]SkippedSkipping Test. Env variable MX_GW_TEST is not set. Skipping the test1.437
test_create_vm_after_RR_set[sanity]SkippedSkipping Test. Env variable MX_GW_TEST is not set. Skipping the test1.281
test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success72.421
test_db_nodemgr_status[dev_sanity_dpdk,sanity]Success1.844
test_verify_generator_collector_connections[dev_sanity_dpdk,sanity]Success3.107
test_verify_generator_connections_to_collector_node[dev_sanity_dpdk,sanity]Success2.041
test_verify_process_status_agent[cb_sanity,dev_sanity_dpdk,sanity]Success1.323
test_verify_process_status_analytics_node[cb_sanity,dev_sanity_dpdk,sanity]Success1.731
test_verify_process_status_control_node[cb_sanity,dev_sanity_dpdk,sanity]Success1.392
test_verify_object_logs[ci_sanity,dev_sanity_dpdk,sanity,suite1]Success26.323
test_db_manage[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success8.957
test_analytics_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success1.299
test_config_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success1.302
test_ecmp_hash_src_ip[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.384
test_ecmp_svc_v2_in_network_nat_with_3_instance[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.319
test_ecmp_svc_in_network_with_static_route_no_policy[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found2.757
test_ecmp_svc_v2_transparent_with_3_instance[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.748
test_ecmp_svc_in_network_with_static_route_no_policy[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found2.189
test_ecmp_svc_v2_transparent_with_3_instance[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.318
test_ecmp_svc_in_network_with_3_instance[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.324
test_ecmp_with_svm_deletion[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.361
test_svc_fate_sharing_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found2.096
test_three_stage_v2_SC[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.310
test_svc_fate_sharing_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found3.411
test_floating_ip[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1,vrouter_gw]Success192.173
test_mx_gateway[mx_test,sanity]SkippedSkipping Test. Env variable MX_GW_TEST is not set2.564
test_public_access_thru_svc_w_fip[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.565
test_transit_vn_sym_1_innet[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.539
test_public_access_thru_svc_w_fip[cb_sanity,sanity]SkippedSkipped as v6 not supported for this test2.573
test_svc_creation_with_heat[dev_sanity_dpdk,sanity,suite1]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.601
test_svc_creation_with_heat[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.589
test_router_crud[ci_sanity,dev_sanity_dpdk,sanity]Success9.476
test_ports_bindings[ci_sanity,dev_sanity_dpdk,sanity]Success4.705
test_ports_specific_subnet_ip[ci_sanity,dev_sanity_dpdk,sanity]Success27.493
test_basic_router_behavior[ci_sanity,dev_sanity_dpdk,sanity]Success45.406
test_basic_snat_behavior_without_external_connectivity[ci_sanity,dev_sanity_dpdk,sanity,suite1]Success28.111
test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1]Success96.374
test_policy[quick_sanity,sanity]Success378.254
test_policy_to_deny[quick_sanity,sanity]Success97.249
test_policy_modify_vn_policy[sanity]Success100.779
test_remove_policy_with_ref[ci_sanity,sanity]Success9.663
test_policy_inheritance_src_vn_dst_pol[cb_sanity,sanity,vrouter_gw]Success162.205
test_policy_inheritance_src_pol_dst_any[sanity]Success298.795
test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1]Success129.009
test_repeated_policy_modify[sanity]Success284.393
test_multi_vn_repeated_policy_update_with_ping[sanity]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: stdout: {{{creating project default IPAM ctest-TestDetailedPolicy1-38635900-default-ipam}}}

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: <pre>Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
File "/usr/local/lib64/python3.9/site-packages/gevent/_socketcommon.py", line 590, in connect
self._internal_connect(address)
File "/usr/local/lib64/python3.9/site-packages/gevent/_socketcommon.py", line 640, in _internal_connect
self._wait(self._write_event)
File "src/gevent/_hub_primitives.py", line 317, in gevent._gevent_c_hub_primitives.wait_on_socket
File "src/gevent/_hub_primitives.py", line 322, in gevent._gevent_c_hub_primitives.wait_on_socket
File "src/gevent/_hub_primitives.py", line 313, in gevent._gevent_c_hub_primitives._primitive_wait
File "src/gevent/_hub_primitives.py", line 314, in gevent._gevent_c_hub_primitives._primitive_wait
File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_hub_primitives.py", line 55, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_waiter.py", line 154, in gevent._gevent_c_waiter.Waiter.get
File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switch
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 392, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib64/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib64/python3.9/http/client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
File "/usr/lib64/python3.9/http/client.py", line 980, in send
self.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 187, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 164, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (&lt;urllib3.connection.HTTPConnection object at 0x7f069e6bb3d0&gt;, 'Connection to 10.0.0.27 timed out. (connect timeout=120)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 726, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 446, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.0.27', port=8081): Max retries exceeded with url: /analytics/uves/virtual-networks (Caused by ConnectTimeoutError(&lt;urllib3.connection.HTTPConnection object at 0x7f069e6bb3d0&gt;, 'Connection to 10.0.0.27 timed out. (connect timeout=120)'))

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/policy/test_policy_detailed.py", line 60, in test_multi_vn_repeated_policy_update_with_ping
return self.repeated_policy_update_test_with_ping(topo)
File "/contrail-test/scripts/policy/test_policy_detailed.py", line 75, in repeated_policy_update_test_with_ping
out = setup_obj.topo_setup()
File "/contrail-test/tcutils/topo/sdn_topo_setup.py", line 86, in topo_setup
topo_steps.createVN(self, option=config_option)
File "/contrail-test/tcutils/topo/topo_steps.py", line 269, in createVN
createVNOrch(self)
File "/contrail-test/tcutils/topo/topo_steps.py", line 298, in createVNOrch
ret = self.vn_fixture[vn].verify_on_setup()
File "/contrail-test/fixtures/vn_test.py", line 589, in verify_on_setup
if not self.verify_vn_in_opserver():
File "/contrail-test/fixtures/vn_test.py", line 1122, in verify_vn_in_opserver
res = self.analytics_obj.verify_vn_link(self.vn_fq_name)
File "/contrail-test/tcutils/util.py", line 84, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/tcutils/collector/analytics_tests.py", line 1275, in verify_vn_link
self.links = self.ops_inspect[ip].get_hrefs_to_all_UVEs_of_a_given_UVE_type(
File "/contrail-test/tcutils/collector/opserver_introspect_utils.py", line 145, in get_hrefs_to_all_UVEs_of_a_given_UVE_type
dct = self.dict_get('analytics/uves/' + uveType)
File "/contrail-test/tcutils/verification_util.py", line 245, in dict_get
return self._drv.load(self._mk_url_str(path))
File "/contrail-test/tcutils/verification_util.py", line 103, in load
return self.load(url, False)
File "/contrail-test/tcutils/verification_util.py", line 96, in load
resp = requests.get(url,
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='10.0.0.27', port=8081): Max retries exceeded with url: /analytics/uves/virtual-networks (Caused by ConnectTimeoutError(&lt;urllib3.connection.HTTPConnection object at 0x7f069e6bb3d0&gt;, 'Connection to 10.0.0.27 timed out. (connect timeout=120)'))
</pre>

129.799 Log File
test_multi_vn_repeated_policy_update_with_ping[sanity]Success342.524
test_qos_remark_dscp_on_vmi[cb_sanity,sanity]Success42.323
test_rp_interface[ci_sanity,sanity]Success26.849
test_rp_interface_ext_community[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: HttpError
Python 3.9.25: /usr/bin/python3
Mon Apr 6 03:19:04 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.routing_policy.test_routing_policy.Test...nterface_ext_community[sanity] id=0x7f06a5849790>, *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 TestRP.test_rp_interface_ext_community>
self = <scripts.routing_policy.test_routing_policy.Test...nterface_ext_community[sanity] id=0x7f06a5849790>
args = ()
kwargs = {}

/contrail-test/scripts/routing_policy/test_routing_policy.py in test_rp_interface_ext_community(self=<scripts.routing_policy.test_routing_policy.Test...nterface_ext_community[sanity] id=0x7f06a5849790>)
254 test2_vm = ret_dict['test2_vm']
255 config_dicts = {'vn_fixture':vn_fixture, 'from_term':'protocol', 'sub_from':'interface', 'to_term':'add_ext_community', 'sub_to':'target:64512:44444'}
256 rp = self.configure_term_routing_policy(config_dicts)
257 assert self.verify_policy_in_control(vn_fixture, test_vm, search_value = 'target:64512:44444'), 'Search term not found in introspect'
258 assert test_vm.ping_with_certainty(test2_vm.vm_ip)
rp undefined
self = <scripts.routing_policy.test_routing_policy.Test...nterface_ext_community[sanity] id=0x7f06a5849790>
self.configure_term_routing_policy = <bound method RPBase.configure_term_routing_poli...terface_ext_community[sanity] id=0x7f06a5849790>>
config_dicts = {'from_term': 'protocol', 'sub_from': 'interface', 'sub_to': 'target:64512:44444', 'to_term': 'add_ext_community', 'vn_fixture': <vn_test.VNFixture object>}

/contrail-test/scripts/routing_policy/base.py in configure_term_routing_policy(self=<scripts.routing_policy.test_routing_policy.Test...nterface_ext_community[sanity] id=0x7f06a5849790>, config_dicts={'from_term': 'protocol', 'sub_from': 'interface', 'sub_to': 'target:64512:44444', 'to_term': 'add_ext_community', 'vn_fixture': <vn_test.VNFixture object>})
119 fix_vn = self.vnc_lib.virtual_network_read(id = config_dicts['vn_fixture'].uuid)
120 fix_vn.set_routing_policy(rp)
121 self.vnc_lib.virtual_network_update(fix_vn)
122 self.addCleanup(self.delete_rp_refs_from_vn, rp, fix_vn)
123 return rp
self = <scripts.routing_policy.test_routing_policy.Test...nterface_ext_community[sanity] id=0x7f06a5849790>
self.vnc_lib = <vnc_api_test.TestVncApi object>
self.vnc_lib.virtual_network_update = functools.partial(<bound method VncApi._object_u...pi object at 0x7f069e1e5610>>, 'virtual-network')
fix_vn = <vnc_api.gen.resource_client.VirtualNetwork object>

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('virtual-network', <vnc_api.gen.resource_client.VirtualNetwork 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_update>
self = <vnc_api_test.TestVncApi object>
args = ('virtual-network', <vnc_api.gen.resource_client.VirtualNetwork object>)
kwargs = {}

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in _object_update(self=<vnc_api_test.TestVncApi object>, res_type='virtual-network', obj=<vnc_api.gen.resource_client.VirtualNetwork object>)
787 json_body = '{"%s":%s}' % (res_type, obj_json_param)
788 uri = obj_cls.resource_uri_base[res_type] + '/' + obj.uuid
789 content = self._request_server(
790 OP_PUT, uri, data=json_body)
791
content = None
self = <vnc_api_test.TestVncApi object>
self._request_server = <bound method VncApi._request_server of <vnc_api_test.TestVncApi object>>
global OP_PUT = 3
uri = '/virtual-network/4d8dd37a-faa3-40a5-bc3e-e24fe19bc6ae'
data undefined
json_body = '{"virtual-network":{"uuid": "4d8dd37a-faa3-40a5-...uuid": "f4bb57dc-4344-4a45-8f07-2a440ab5a1cf"}]}}'

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in _request_server(self=<vnc_api_test.TestVncApi object>, op=3, url='/virtual-network/4d8dd37a-faa3-40a5-bc3e-e24fe19bc6ae', data='{"virtual-network":{"uuid": "4d8dd37a-faa3-40a5-...uuid": "f4bb57dc-4344-4a45-8f07-2a440ab5a1cf"}]}}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1124 raise ConnectionError("Unable to retrive the api server root url.")
1125
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)
self = <vnc_api_test.TestVncApi object>
self._request = <bound method VncApi._request of <vnc_api_test.TestVncApi object>>
op = 3
url = '/virtual-network/4d8dd37a-faa3-40a5-bc3e-e24fe19bc6ae'
data = '{"virtual-network":{"uuid": "4d8dd37a-faa3-40a5-...uuid": "f4bb57dc-4344-4a45-8f07-2a440ab5a1cf"}]}}'
retry_on_error = True
retry_after_authn = False
retry_count = 30

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=3, url='/virtual-network/4d8dd37a-faa3-40a5-bc3e-e24fe19bc6ae', data='{"virtual-network":{"uuid": "4d8dd37a-faa3-40a5-...uuid": "f4bb57dc-4344-4a45-8f07-2a440ab5a1cf"}]}}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1206 raise AuthFailed(status, content)
1207 else: # Unknown Error
1208 raise HttpError(status, content)
1209 # end while True
1210
global HttpError = <class 'vnc_api.exceptions.HttpError'>
status = 500
content = "cassandra.ReadTimeout: Error from server: code=1...'required_responses': 3, 'received_responses': 2}"
HttpError: HTTP Status: 500 Content: cassandra.ReadTimeout: Error from server: code=1200 [Coordinator node timed out waiting for replica nodes' responses] message="Operation timed out - received only 2 responses." info={'consistency': 'ALL', 'required_responses': 3, 'received_responses': 2}
__cause__ = None
__class__ = <class 'vnc_api.exceptions.HttpError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of HttpError object>
__dict__ = {'content': "cassandra.ReadTimeout: Error from server: code=1...'required_responses': 3, 'received_responses': 2}", 'status_code': 500}
__dir__ = <built-in method __dir__ of HttpError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of HttpError object>
__format__ = <built-in method __format__ of HttpError object>
__ge__ = <method-wrapper '__ge__' of HttpError object>
__getattribute__ = <method-wrapper '__getattribute__' of HttpError object>
__gt__ = <method-wrapper '__gt__' of HttpError object>
__hash__ = <method-wrapper '__hash__' of HttpError object>
__init__ = <bound method HttpError.__init__ of HttpError(50...red_responses\': 3, \'received_responses\': 2}')>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of HttpError object>
__lt__ = <method-wrapper '__lt__' of HttpError object>
__module__ = 'vnc_api.exceptions'
__ne__ = <method-wrapper '__ne__' of HttpError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of HttpError object>
__reduce_ex__ = <built-in method __reduce_ex__ of HttpError object>
__repr__ = <method-wrapper '__repr__' of HttpError object>
__setattr__ = <method-wrapper '__setattr__' of HttpError object>
__setstate__ = <built-in method __setstate__ of HttpError object>
__sizeof__ = <built-in method __sizeof__ of HttpError object>
__str__ = <bound method HttpError.__str__ of HttpError(500...red_responses\': 3, \'received_responses\': 2}')>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
args = (500, "cassandra.ReadTimeout: Error from server: code=1...'required_responses': 3, 'received_responses': 2}")
content = "cassandra.ReadTimeout: Error from server: code=1...'required_responses': 3, 'received_responses': 2}"
status_code = 500
with_traceback = <built-in method with_traceback of HttpError 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/routing_policy/test_routing_policy.py", line 256, in test_rp_interface_ext_community
rp = self.configure_term_routing_policy(config_dicts)
File "/contrail-test/scripts/routing_policy/base.py", line 121, in configure_term_routing_policy
self.vnc_lib.virtual_network_update(fix_vn)
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 789, in _object_update
content = self._request_server(
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 1208, in _request
raise HttpError(status, content)
vnc_api.exceptions.HttpError: HTTP Status: 500 Content: cassandra.ReadTimeout: Error from server: code=1200 [Coordinator node timed out waiting for replica nodes' responses] message="Operation timed out - received only 2 responses." info={'consistency': 'ALL', 'required_responses': 3, 'received_responses': 2}

38.554 Log File
test_rp_interface_static[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: HttpError
Python 3.9.25: /usr/bin/python3
Mon Apr 6 03:19:21 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.routing_policy.test_routing_policy.Test...st_rp_interface_static[sanity] id=0x7f06a5849610>, *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 TestRP.test_rp_interface_static>
self = <scripts.routing_policy.test_routing_policy.Test...st_rp_interface_static[sanity] id=0x7f06a5849610>
args = ()
kwargs = {}

/contrail-test/scripts/routing_policy/test_routing_policy.py in test_rp_interface_static(self=<scripts.routing_policy.test_routing_policy.Test...st_rp_interface_static[sanity] id=0x7f06a5849610>)
56 '''
57
58 ret_dict,random_cidr = self.create_interface_static_routes()
59 config_dicts = {'vn_fixture':ret_dict['vn_fixture'], 'from_term':'protocol', 'sub_from':'interface-static', 'to_term':'community', 'sub_to':'64512:55555'}
60 rp = self.configure_term_routing_policy(config_dicts)
ret_dict undefined
random_cidr undefined
self = <scripts.routing_policy.test_routing_policy.Test...st_rp_interface_static[sanity] id=0x7f06a5849610>
self.create_interface_static_routes = <bound method TestRP.create_interface_static_rou...t_rp_interface_static[sanity] id=0x7f06a5849610>>

/contrail-test/scripts/routing_policy/test_routing_policy.py in create_interface_static_routes(self=<scripts.routing_policy.test_routing_policy.Test...st_rp_interface_static[sanity] id=0x7f06a5849610>)
576
577 def create_interface_static_routes(self):
578 ret_dict = self.config_basic()
579 self.static_table_handle = ContrailVncApi(self.vnc_lib, self.logger)
580 random_cidr = get_random_cidr()
ret_dict undefined
self = <scripts.routing_policy.test_routing_policy.Test...st_rp_interface_static[sanity] id=0x7f06a5849610>
self.config_basic = <bound method RPBase.config_basic of <scripts.ro...t_rp_interface_static[sanity] id=0x7f06a5849610>>

/contrail-test/scripts/routing_policy/base.py in config_basic(self=<scripts.routing_policy.test_routing_policy.Test...st_rp_interface_static[sanity] id=0x7f06a5849610>)
35 vn_subnets = [get_random_cidr()]
36 vn2_subnets = [get_random_cidr()]
37 vn_fixture = self.create_vn(vn_name, vn_subnets)
38 rt_value = randint(50000, 60000)
39 vn_fixture.add_route_target(vn_fixture.ri_name, self.inputs.router_asn, rt_value)
vn_fixture undefined
self = <scripts.routing_policy.test_routing_policy.Test...st_rp_interface_static[sanity] id=0x7f06a5849610>
self.create_vn = <bound method GenericTestBase.create_vn of <scri...t_rp_interface_static[sanity] id=0x7f06a5849610>>
vn_name = 'ctest-bgpaas_vn-00851210'
vn_subnets = ['128.20.130.64/26']

/contrail-test/common/base.py in create_vn(self=<scripts.routing_policy.test_routing_policy.Test...st_rp_interface_static[sanity] id=0x7f06a5849610>, vn_name='ctest-bgpaas_vn-00851210', vn_subnets=['128.20.130.64/26'], cleanup=True, **kwargs={})
189
190 def create_vn(self, vn_name=None, vn_subnets=None, cleanup=True, **kwargs):
191 vn_fixture = self.create_only_vn(vn_name=vn_name,
192 vn_subnets=vn_subnets,
193 **kwargs)
vn_fixture undefined
self = <scripts.routing_policy.test_routing_policy.Test...st_rp_interface_static[sanity] id=0x7f06a5849610>
self.create_only_vn = <bound method GenericTestBase.create_only_vn of ...ipts.routing_policy.test_routing_policy.TestRP'>>
vn_name = 'ctest-bgpaas_vn-00851210'
vn_subnets = ['128.20.130.64/26']
kwargs = {}

/contrail-test/common/base.py in create_only_vn(cls=<class 'scripts.routing_policy.test_routing_policy.TestRP'>, vn_name='ctest-bgpaas_vn-00851210', vn_subnets=['128.20.130.64/26'], **kwargs={})
184 subnets=vn_subnets,
185 **kwargs)
186 vn_fixture.setUp()
187 return vn_fixture
188 # 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>)
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>)
441 def create(self):
442 project_fqname = [self.domain_name, self.project_name]
443 self.project_obj = self.connections.vnc_lib_fixture.get_project_obj(
444 project_fqname)
445 if self.uuid:
self = <vn_test.VNFixture object>
self.project_obj = None
self.connections = <common.connections.ContrailConnections object>
self.connections.vnc_lib_fixture = <vnc_api_test.VncLibFixture object>
self.connections.vnc_lib_fixture.get_project_obj = <bound method VncLibFixture.get_project_obj of <vnc_api_test.VncLibFixture object>>
project_fqname = ['default-domain', 'ctest-TestRP-02593412']

/contrail-test/fixtures/vnc_api_test.py in get_project_obj(self=<vnc_api_test.VncLibFixture object>, project_fqname=['default-domain', 'ctest-TestRP-02593412'])
259 def get_project_obj(self, project_fqname=None):
260 if project_fqname:
261 return self.vnc_api_h.project_read(fq_name=project_fqname)
262 elif self.connections:
263 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 0x7f069e1e5610>>, 'project')
fq_name undefined
project_fqname = ['default-domain', 'ctest-TestRP-02593412']

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project',), **kwargs={'fq_name': ['default-domain', 'ctest-TestRP-02593412']})
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-TestRP-02593412']}

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in _object_read(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-TestRP-02593412'], fq_name_str=None, id='f270859f-76d0-4df7-b1c9-2c8f1cbc6c86', ifmap_id=None, fields=set(), exclude_back_refs=True, exclude_children=True)
726 query_params['exclude_hrefs'] = True
727
728 response = self._request_server(OP_GET, uri, query_params)
729
730 obj_dict = response[res_type]
response undefined
self = <vnc_api_test.TestVncApi object>
self._request_server = <bound method VncApi._request_server of <vnc_api_test.TestVncApi object>>
global OP_GET = 2
uri = '/project/f270859f-76d0-4df7-b1c9-2c8f1cbc6c86'
query_params = {'exclude_back_refs': True, 'exclude_children': True}

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in _request_server(self=<vnc_api_test.TestVncApi object>, op=2, url='/project/f270859f-76d0-4df7-b1c9-2c8f1cbc6c86', data={'exclude_back_refs': True, 'exclude_children': True}, retry_on_error=True, retry_after_authn=False, retry_count=30)
1124 raise ConnectionError("Unable to retrive the api server root url.")
1125
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)
self = <vnc_api_test.TestVncApi object>
self._request = <bound method VncApi._request of <vnc_api_test.TestVncApi object>>
op = 2
url = '/project/f270859f-76d0-4df7-b1c9-2c8f1cbc6c86'
data = {'exclude_back_refs': True, 'exclude_children': True}
retry_on_error = True
retry_after_authn = False
retry_count = 30

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=2, url='/project/f270859f-76d0-4df7-b1c9-2c8f1cbc6c86', data={'exclude_back_refs': True, 'exclude_children': True}, retry_on_error=True, retry_after_authn=False, retry_count=30)
1206 raise AuthFailed(status, content)
1207 else: # Unknown Error
1208 raise HttpError(status, content)
1209 # end while True
1210
global HttpError = <class 'vnc_api.exceptions.HttpError'>
status = 500
content = 'Internal Server Error'
HttpError: HTTP Status: 500 Content: Internal Server Error
__cause__ = None
__class__ = <class 'vnc_api.exceptions.HttpError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of HttpError object>
__dict__ = {'content': 'Internal Server Error', 'status_code': 500}
__dir__ = <built-in method __dir__ of HttpError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of HttpError object>
__format__ = <built-in method __format__ of HttpError object>
__ge__ = <method-wrapper '__ge__' of HttpError object>
__getattribute__ = <method-wrapper '__getattribute__' of HttpError object>
__gt__ = <method-wrapper '__gt__' of HttpError object>
__hash__ = <method-wrapper '__hash__' of HttpError object>
__init__ = <bound method HttpError.__init__ of HttpError(500, 'Internal Server Error')>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of HttpError object>
__lt__ = <method-wrapper '__lt__' of HttpError object>
__module__ = 'vnc_api.exceptions'
__ne__ = <method-wrapper '__ne__' of HttpError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of HttpError object>
__reduce_ex__ = <built-in method __reduce_ex__ of HttpError object>
__repr__ = <method-wrapper '__repr__' of HttpError object>
__setattr__ = <method-wrapper '__setattr__' of HttpError object>
__setstate__ = <built-in method __setstate__ of HttpError object>
__sizeof__ = <built-in method __sizeof__ of HttpError object>
__str__ = <bound method HttpError.__str__ of HttpError(500, 'Internal Server Error')>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
args = (500, 'Internal Server Error')
content = 'Internal Server Error'
status_code = 500
with_traceback = <built-in method with_traceback of HttpError 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/routing_policy/test_routing_policy.py", line 58, in test_rp_interface_static
ret_dict,random_cidr = self.create_interface_static_routes()
File "/contrail-test/scripts/routing_policy/test_routing_policy.py", line 578, in create_interface_static_routes
ret_dict = self.config_basic()
File "/contrail-test/scripts/routing_policy/base.py", line 37, in config_basic
vn_fixture = self.create_vn(vn_name, vn_subnets)
File "/contrail-test/common/base.py", line 191, in create_vn
vn_fixture = self.create_only_vn(vn_name=vn_name,
File "/contrail-test/common/base.py", line 186, in create_only_vn
vn_fixture.setUp()
File "/contrail-test/fixtures/vn_test.py", line 439, in setUp
self.create()
File "/contrail-test/fixtures/vn_test.py", line 443, in create
self.project_obj = self.connections.vnc_lib_fixture.get_project_obj(
File "/contrail-test/fixtures/vnc_api_test.py", line 261, in get_project_obj
return self.vnc_api_h.project_read(fq_name=project_fqname)
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 728, in _object_read
response = self._request_server(OP_GET, uri, query_params)
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 1208, in _request
raise HttpError(status, content)
vnc_api.exceptions.HttpError: HTTP Status: 500 Content: Internal Server Error

4.654 Log File
test_rp_secondary_routes[sanity]SkippedNeeds MX_GW_TEST to be set0.002
tearDownClass (scripts.routing_policy.test_routing_policy.TestRP)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/routing_policy/test_routing_policy.py", line 23, in tearDownClass
super(TestRP, cls).tearDownClass()
File "/contrail-test/scripts/routing_policy/base.py", line 23, in tearDownClass
super(RPBase, cls).tearDownClass()
File "/contrail-test/common/neutron/base.py", line 40, in tearDownClass
super(BaseNeutronTest, cls).tearDownClass()
File "/contrail-test/common/base.py", line 142, in tearDownClass
super(GenericTestBase, cls).tearDownClass()
File "/contrail-test/test_v1.py", line 79, in tearDownClass
cls.admin_isolated_creds.delete_tenant(cls.project)
File "/contrail-test/common/isolated_creds.py", line 174, in delete_tenant
project_fixture.cleanUp()
File "/contrail-test/fixtures/project_test.py", line 137, in cleanUp
self.delete()
File "/contrail-test/fixtures/project_test.py", line 149, in delete
if not self.check_no_project_references():
File "/contrail-test/tcutils/util.py", line 84, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/project_test.py", line 166, in check_no_project_references
vnc_project_obj = self.vnc_lib_h.project_read(id=self.uuid)
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 728, in _object_read
response = self._request_server(OP_GET, uri, query_params)
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 1208, in _request
raise HttpError(status, content)
vnc_api.exceptions.HttpError: HTTP Status: 500 Content: Internal Server Error

0.000 Log File
test_rt_CEM_22032[cb_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: HttpError
Python 3.9.25: /usr/bin/python3
Mon Apr 6 03:19:40 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.rt_filter.test_rt_filter.TestBasicRTFil...rt_CEM_22032[cb_sanity,sanity] id=0x7f06a5861220>, *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 TestBasicRTFilter.test_rt_CEM_22032>
self = <scripts.rt_filter.test_rt_filter.TestBasicRTFil...rt_CEM_22032[cb_sanity,sanity] id=0x7f06a5861220>
args = ()
kwargs = {}

/contrail-test/scripts/rt_filter/test_rt_filter.py in test_rt_CEM_22032(self=<scripts.rt_filter.test_rt_filter.TestBasicRTFil...rt_CEM_22032[cb_sanity,sanity] id=0x7f06a5861220>)
178 vn1_subnets = [get_random_cidr()]
179 vn1_vm1_name = get_random_name('vm1')
180 vn1_fixture = self.create_vn(vn1_name, vn1_subnets)
181 assert vn1_fixture.verify_on_setup()
182 user_def_rt_num = get_random_rt()
vn1_fixture undefined
self = <scripts.rt_filter.test_rt_filter.TestBasicRTFil...rt_CEM_22032[cb_sanity,sanity] id=0x7f06a5861220>
self.create_vn = <bound method BaseRtFilterTest.create_vn of <scr...t_CEM_22032[cb_sanity,sanity] id=0x7f06a5861220>>
vn1_name = 'service-vn-65396092'
vn1_subnets = ['191.82.48.64/26']

/contrail-test/scripts/rt_filter/base.py in create_vn(self=<scripts.rt_filter.test_rt_filter.TestBasicRTFil...rt_CEM_22032[cb_sanity,sanity] id=0x7f06a5861220>, vn_name='service-vn-65396092', vn_subnets=['191.82.48.64/26'])
32
33 def create_vn(self, vn_name, vn_subnets):
34 return self.useFixture(
35 VNFixture(project_name=self.inputs.project_name,
36 connections=self.connections,
self = <scripts.rt_filter.test_rt_filter.TestBasicRTFil...rt_CEM_22032[cb_sanity,sanity] id=0x7f06a5861220>
self.useFixture = <bound method TestCase.useFixture of <scripts.rt...t_CEM_22032[cb_sanity,sanity] id=0x7f06a5861220>>
global VNFixture = <class 'vn_test.VNFixture'>
project_name undefined
self.inputs = <common.contrail_test_init.ContrailTestInit object>
self.inputs.project_name = 'ctest-TestBasicRTFilter-17305313'
connections undefined
self.connections = <common.connections.ContrailConnections object>
inputs undefined
vn_name = 'service-vn-65396092'
subnets undefined
vn_subnets = ['191.82.48.64/26']

/usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=<scripts.rt_filter.test_rt_filter.TestBasicRTFil...rt_CEM_22032[cb_sanity,sanity] id=0x7f06a5861220>, 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.HttpError'>, HttpError(500, 'Internal Server Error'), <traceback object>)

/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=<class 'vnc_api.exceptions.HttpError'>, exc_obj=HttpError(500, 'Internal Server Error'), 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 = HttpError(500, 'Internal Server Error')
exc_obj.with_traceback = <built-in method with_traceback of HttpError object>
exc_tb = <traceback object>

/usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=<scripts.rt_filter.test_rt_filter.TestBasicRTFil...rt_CEM_22032[cb_sanity,sanity] id=0x7f06a5861220>, 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>)
441 def create(self):
442 project_fqname = [self.domain_name, self.project_name]
443 self.project_obj = self.connections.vnc_lib_fixture.get_project_obj(
444 project_fqname)
445 if self.uuid:
self = <vn_test.VNFixture object>
self.project_obj = None
self.connections = <common.connections.ContrailConnections object>
self.connections.vnc_lib_fixture = <vnc_api_test.VncLibFixture object>
self.connections.vnc_lib_fixture.get_project_obj = <bound method VncLibFixture.get_project_obj of <vnc_api_test.VncLibFixture object>>
project_fqname = ['default-domain', 'ctest-TestBasicRTFilter-17305313']

/contrail-test/fixtures/vnc_api_test.py in get_project_obj(self=<vnc_api_test.VncLibFixture object>, project_fqname=['default-domain', 'ctest-TestBasicRTFilter-17305313'])
259 def get_project_obj(self, project_fqname=None):
260 if project_fqname:
261 return self.vnc_api_h.project_read(fq_name=project_fqname)
262 elif self.connections:
263 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 0x7f069e141400>>, 'project')
fq_name undefined
project_fqname = ['default-domain', 'ctest-TestBasicRTFilter-17305313']

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project',), **kwargs={'fq_name': ['default-domain', 'ctest-TestBasicRTFilter-17305313']})
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-TestBasicRTFilter-17305313']}

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in _object_read(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-TestBasicRTFilter-17305313'], fq_name_str=None, id=None, ifmap_id=None, fields=None, exclude_back_refs=True, exclude_children=True)
698 obj_cls = obj_type_to_vnc_class(res_type, __name__)
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:
args_ok undefined
result undefined
self = <vnc_api_test.TestVncApi object>
self._read_args_to_id = <bound method VncApi._read_args_to_id of <vnc_api_test.TestVncApi object>>
res_type = 'project'
fq_name = ['default-domain', 'ctest-TestBasicRTFilter-17305313']
fq_name_str = None
id = None
ifmap_id = None

/usr/local/lib/python3.9/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-TestBasicRTFilter-17305313'], 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-TestBasicRTFilter-17305313']

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project', ['default-domain', 'ctest-TestBasicRTFilter-17305313']), **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-TestBasicRTFilter-17305313'])
kwargs = {}

/usr/local/lib/python3.9/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-TestBasicRTFilter-17305313'])
1397 if he.status_code == 404:
1398 return None
1399 raise he
1400
1401 return json.loads(content)['uuid']
he undefined

/usr/local/lib/python3.9/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-TestBasicRTFilter-17305313'])
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-TestBasicRTFilter-17305313"]}'

/usr/local/lib/python3.9/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-TestBasicRTFilter-17305313"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1124 raise ConnectionError("Unable to retrive the api server root url.")
1125
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)
self = <vnc_api_test.TestVncApi object>
self._request = <bound method VncApi._request of <vnc_api_test.TestVncApi object>>
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicRTFilter-17305313"]}'
retry_on_error = True
retry_after_authn = False
retry_count = 30

/usr/local/lib/python3.9/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-TestBasicRTFilter-17305313"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1173 self._headers = self._authenticate(content, self._headers)
1174 # Recursive call after authentication (max 1 level)
1175 content = self._request(
1176 op, url, data=data, retry_after_authn=True)
1177
content = '{"error": {"code": 401, "title": "Unauthorized",...request you have made requires authentication."}}'
self = <vnc_api_test.TestVncApi object>
self._request = <bound method VncApi._request of <vnc_api_test.TestVncApi object>>
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicRTFilter-17305313"]}'
retry_after_authn = False

/usr/local/lib/python3.9/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-TestBasicRTFilter-17305313"]}', retry_on_error=True, retry_after_authn=True, retry_count=30)
1206 raise AuthFailed(status, content)
1207 else: # Unknown Error
1208 raise HttpError(status, content)
1209 # end while True
1210
global HttpError = <class 'vnc_api.exceptions.HttpError'>
status = 500
content = 'Internal Server Error'
HttpError: HTTP Status: 500 Content: Internal Server Error
__cause__ = None
__class__ = <class 'vnc_api.exceptions.HttpError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of HttpError object>
__dict__ = {'content': 'Internal Server Error', 'status_code': 500}
__dir__ = <built-in method __dir__ of HttpError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of HttpError object>
__format__ = <built-in method __format__ of HttpError object>
__ge__ = <method-wrapper '__ge__' of HttpError object>
__getattribute__ = <method-wrapper '__getattribute__' of HttpError object>
__gt__ = <method-wrapper '__gt__' of HttpError object>
__hash__ = <method-wrapper '__hash__' of HttpError object>
__init__ = <bound method HttpError.__init__ of HttpError(500, 'Internal Server Error')>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of HttpError object>
__lt__ = <method-wrapper '__lt__' of HttpError object>
__module__ = 'vnc_api.exceptions'
__ne__ = <method-wrapper '__ne__' of HttpError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of HttpError object>
__reduce_ex__ = <built-in method __reduce_ex__ of HttpError object>
__repr__ = <method-wrapper '__repr__' of HttpError object>
__setattr__ = <method-wrapper '__setattr__' of HttpError object>
__setstate__ = <built-in method __setstate__ of HttpError object>
__sizeof__ = <built-in method __sizeof__ of HttpError object>
__str__ = <bound method HttpError.__str__ of HttpError(500, 'Internal Server Error')>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
args = (500, 'Internal Server Error')
content = 'Internal Server Error'
status_code = 500
with_traceback = <built-in method with_traceback of HttpError 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/rt_filter/test_rt_filter.py", line 180, in test_rt_CEM_22032
vn1_fixture = self.create_vn(vn1_name, vn1_subnets)
File "/contrail-test/scripts/rt_filter/base.py", line 34, in create_vn
return self.useFixture(
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 443, in create
self.project_obj = self.connections.vnc_lib_fixture.get_project_obj(
File "/contrail-test/fixtures/vnc_api_test.py", line 261, in get_project_obj
return self.vnc_api_h.project_read(fq_name=project_fqname)
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 1399, in fq_name_to_id
raise he
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 1175, in _request
content = self._request(
File "/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py", line 1208, in _request
raise HttpError(status, content)
vnc_api.exceptions.HttpError: HTTP Status: 500 Content: Internal Server Error

4.932 Log File
test_user_def_rt_entry[cb_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: HttpError
Python 3.9.25: /usr/bin/python3
Mon Apr 6 03:19:45 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.rt_filter.test_rt_filter.TestBasicRTFil...def_rt_entry[cb_sanity,sanity] id=0x7f06a58612e0>, *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 TestBasicRTFilter.test_user_def_rt_entry>
self = <scripts.rt_filter.test_rt_filter.TestBasicRTFil...def_rt_entry[cb_sanity,sanity] id=0x7f06a58612e0>
args = ()
kwargs = {}

/contrail-test/scripts/rt_filter/test_rt_filter.py in test_user_def_rt_entry(self=<scripts.rt_filter.test_rt_filter.TestBasicRTFil...def_rt_entry[cb_sanity,sanity] id=0x7f06a58612e0>)
67 vn1_subnets = [get_random_cidr()]
68 vn1_vm1_name = get_random_name('vm1')
69 vn1_fixture = self.create_vn(vn1_name, vn1_subnets)
70 assert vn1_fixture.verify_on_setup()
71 user_def_rt_num = get_random_rt()
vn1_fixture undefined
self = <scripts.rt_filter.test_rt_filter.TestBasicRTFil...def_rt_entry[cb_sanity,sanity] id=0x7f06a58612e0>
self.create_vn = <bound method BaseRtFilterTest.create_vn of <scr...ef_rt_entry[cb_sanity,sanity] id=0x7f06a58612e0>>
vn1_name = 'ctest-vn30-84415727'
vn1_subnets = ['3.216.22.64/26']

/contrail-test/scripts/rt_filter/base.py in create_vn(self=<scripts.rt_filter.test_rt_filter.TestBasicRTFil...def_rt_entry[cb_sanity,sanity] id=0x7f06a58612e0>, vn_name='ctest-vn30-84415727', vn_subnets=['3.216.22.64/26'])
32
33 def create_vn(self, vn_name, vn_subnets):
34 return self.useFixture(
35 VNFixture(project_name=self.inputs.project_name,
36 connections=self.connections,
self = <scripts.rt_filter.test_rt_filter.TestBasicRTFil...def_rt_entry[cb_sanity,sanity] id=0x7f06a58612e0>
self.useFixture = <bound method TestCase.useFixture of <scripts.rt...ef_rt_entry[cb_sanity,sanity] id=0x7f06a58612e0>>
global VNFixture = <class 'vn_test.VNFixture'>
project_name undefined
self.inputs = <common.contrail_test_init.ContrailTestInit object>
self.inputs.project_name = 'ctest-TestBasicRTFilter-17305313'
connections undefined
self.connections = <common.connections.ContrailConnections object>
inputs undefined
vn_name = 'ctest-vn30-84415727'
subnets undefined
vn_subnets = ['3.216.22.64/26']

/usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=<scripts.rt_filter.test_rt_filter.TestBasicRTFil...def_rt_entry[cb_sanity,sanity] id=0x7f06a58612e0>, 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.HttpError'>, HttpError(500, 'Internal Server Error'), <traceback object>)

/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=<class 'vnc_api.exceptions.HttpError'>, exc_obj=HttpError(500, 'Internal Server Error'), 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 = HttpError(500, 'Internal Server Error')
exc_obj.with_traceback = <built-in method with_traceback of HttpError object>
exc_tb = <traceback object>

/usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=<scripts.rt_filter.test_rt_filter.TestBasicRTFil...def_rt_entry[cb_sanity,sanity] id=0x7f06a58612e0>, 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>)
441 def create(self):
442 project_fqname = [self.domain_name, self.project_name]
443 self.project_obj = self.connections.vnc_lib_fixture.get_project_obj(
444 project_fqname)
445 if self.uuid:
self = <vn_test.VNFixture object>
self.project_obj = None
self.connections = <common.connections.ContrailConnections object>
self.connections.vnc_lib_fixture = <vnc_api_test.VncLibFixture object>
self.connections.vnc_lib_fixture.get_project_obj = <bound method VncLibFixture.get_project_obj of <vnc_api_test.VncLibFixture object>>
project_fqname = ['default-domain', 'ctest-TestBasicRTFilter-17305313']

/contrail-test/fixtures/vnc_api_test.py in get_project_obj(self=<vnc_api_test.VncLibFixture object>, project_fqname=['default-domain', 'ctest-TestBasicRTFilter-17305313'])
259 def get_project_obj(self, project_fqname=None):
260 if project_fqname:
261 return self.vnc_api_h.project_read(fq_name=project_fqname)
262 elif self.connections:
263 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 0x7f069e141400>>, 'project')
fq_name undefined
project_fqname = ['default-domain', 'ctest-TestBasicRTFilter-17305313']

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project',), **kwargs={'fq_name': ['default-domain', 'ctest-TestBasicRTFilter-17305313']})
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-TestBasicRTFilter-17305313']}

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in _object_read(self=<vnc_api_test.TestVncApi object>, res_type='project', fq_name=['default-domain', 'ctest-TestBasicRTFilter-17305313'], fq_name_str=None, id=None, ifmap_id=None, fields=None, exclude_back_refs=True, exclude_children=True)
698 obj_cls = obj_type_to_vnc_class(res_type, __name__)
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:
args_ok undefined
result undefined
self = <vnc_api_test.TestVncApi object>
self._read_args_to_id = <bound method VncApi._read_args_to_id of <vnc_api_test.TestVncApi object>>
res_type = 'project'
fq_name = ['default-domain', 'ctest-TestBasicRTFilter-17305313']
fq_name_str = None
id = None
ifmap_id = None

/usr/local/lib/python3.9/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-TestBasicRTFilter-17305313'], 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-TestBasicRTFilter-17305313']

/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('project', ['default-domain', 'ctest-TestBasicRTFilter-17305313']), **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-TestBasicRTFilter-17305313'])
kwargs = {}

/usr/local/lib/python3.9/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-TestBasicRTFilter-17305313'])
1397 if he.status_code == 404:
1398 return None
1399 raise he
1400
1401 return json.loads(content)['uuid']
he undefined

/usr/local/lib/python3.9/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-TestBasicRTFilter-17305313'])
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-TestBasicRTFilter-17305313"]}'

/usr/local/lib/python3.9/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-TestBasicRTFilter-17305313"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1124 raise ConnectionError("Unable to retrive the api server root url.")
1125
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)
self = <vnc_api_test.TestVncApi object>
self._request = <bound method VncApi._request of <vnc_api_test.TestVncApi object>>
op = 1
url = '/fqname-to-id'
data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicRTFilter-17305313"]}'
retry_on_error = True
retry_after_authn = False
retry_count = 30

/usr/local/lib/python3.9/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-TestBasicRTFilter-17305313"]}', retry_on_error=True, retry_after_authn=False, retry_count=30)
1206 raise AuthFailed(status, content)
1207 else: # Unknown Error
1208 raise HttpError(status, content)
1209 # end while True
1210
global HttpError = <class 'vnc_api.exceptions.HttpError'>
status = 500
content = 'Internal Server Error'
HttpError: HTTP Status: 500 Content: Internal Server Error
__cause__ = None
__class__ = <class 'vnc_api.exceptions.HttpError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of HttpError object>
__dict__ = {'content': 'Internal Server Error', 'status_code': 500}
__dir__ = <built-in method __dir__ of HttpError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of HttpError object>
__format__ = <built-in method __format__ of HttpError object>
__ge__ = <method-wrapper '__ge__' of HttpError object>
__getattribute__ = <method-wrapper '__getattribute__' of HttpError object>
__gt__ = <method-wrapper '__gt__' of HttpError object>
__hash__ = <method-wrapper '__hash__' of HttpError object>
__init__ = <bound method HttpError.__init__ of HttpError(500, 'Internal Server Error')>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of HttpError object>
__lt__ = <method-wrapper '__lt__' of HttpError object>
__module__ = 'vnc_api.exceptions'
__ne__ = <method-wrapper '__ne__' of HttpError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of HttpError object>
__reduce_ex__ = <built-in method __reduce_ex__ of HttpError object>
__repr__ = <method-wrapper '__repr__' of HttpError object>
__setattr__ = <method-wrapper '__setattr__' of HttpError object>
__setstate__ = <built-in method __setstate__ of HttpError object>
__sizeof__ = <built-in method __sizeof__ of HttpError object>
__str__ = <bound method HttpError.__str__ of HttpError(500, 'Internal Server Error')>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
args = (500, 'Internal Server Error')
content = 'Internal Server Error'
status_code = 500
with_traceback = <built-in method with_traceback of HttpError 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/rt_filter/test_rt_filter.py", line 69, in test_user_def_rt_entry
vn1_fixture = self.create_vn(vn1_name, vn1_subnets)
File "/contrail-test/scripts/rt_filter/base.py", line 34, in create_vn
return self.useFixture(
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 443, in create
self.project_obj = self.connections.vnc_lib_fixture.get_project_obj(
File "/contrail-test/fixtures/vnc_api_test.py", line 261, in get_project_obj
return self.vnc_api_h.project_read(fq_name=project_fqname)
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 1399, in fq_name_to_id
raise he
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 1208, in _request
raise HttpError(status, content)
vnc_api.exceptions.HttpError: HTTP Status: 500 Content: Internal Server Error

4.551 Log File
tearDownClass (scripts.rt_filter.test_rt_filter.TestBasicRTFilter)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/rt_filter/base.py", line 23, in tearDownClass
super(BaseRtFilterTest, cls).tearDownClass()
File "/contrail-test/test_v1.py", line 79, in tearDownClass
cls.admin_isolated_creds.delete_tenant(cls.project)
File "/contrail-test/common/isolated_creds.py", line 174, in delete_tenant
project_fixture.cleanUp()
File "/contrail-test/fixtures/project_test.py", line 137, in cleanUp
self.delete()
File "/contrail-test/fixtures/project_test.py", line 149, in delete
if not self.check_no_project_references():
File "/contrail-test/tcutils/util.py", line 84, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/project_test.py", line 166, in check_no_project_references
vnc_project_obj = self.vnc_lib_h.project_read(id=self.uuid)
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 728, in _object_read
response = self._request_server(OP_GET, uri, query_params)
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 1208, in _request
raise HttpError(status, content)
vnc_api.exceptions.HttpError: HTTP Status: 500 Content: Internal Server Error

0.000 Log File
test_sec_group_basic[sanity,suite1]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/scripts/securitygroup/test_regression.py", line 2149, in test_sec_group_basic
super(SecurityGroupBasicRegressionTests1Ipv6, self).test_sec_group_basic()
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
Mon Apr 6 03:20:08 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.securitygroup.test_regression.SecurityG...sec_group_basic[sanity,suite1] id=0x7f06a586d430>, *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 SecurityGroupBasicRegressionTests1.test_sec_group_basic>
self = <scripts.securitygroup.test_regression.SecurityG...sec_group_basic[sanity,suite1] id=0x7f06a586d430>
args = ()
kwargs = {}

/contrail-test/scripts/securitygroup/test_regression_basic.py in test_sec_group_basic(self=<scripts.securitygroup.test_regression.SecurityG...sec_group_basic[sanity,suite1] id=0x7f06a586d430>)
49 }]
50 #Create the SG
51 sg_fixture = self.config_sec_group(name=secgrp_name, entries=rule)
52 #Delete the SG
53 self.delete_sec_group(sg_fixture)
sg_fixture undefined
self = <scripts.securitygroup.test_regression.SecurityG...sec_group_basic[sanity,suite1] id=0x7f06a586d430>
self.config_sec_group = <bound method BaseSGTest.config_sec_group of <sc...ec_group_basic[sanity,suite1] id=0x7f06a586d430>>
name undefined
secgrp_name = 'ctest-test_sec_group-49136521'
entries undefined
rule = [{'direction': '>', 'dst_addresses': [{'subnet': {'ip_prefix': '2037:f5ee:75bd:f45:5d77:c161::', 'ip_prefix_len': 96}}], 'dst_ports': [{'end_port': 8000, 'start_port': 8000}], 'protocol': 'udp', 'src_addresses': [{'security_group': 'local'}], 'src_ports': [{'end_port': 9000, 'start_port': 9000}]}]

/contrail-test/common/securitygroup/base.py in config_sec_group(self=<scripts.securitygroup.test_regression.SecurityG...sec_group_basic[sanity,suite1] id=0x7f06a586d430>, name='ctest-test_sec_group-49136521', secgrpid=None, entries=[{'direction': '>', 'dst_addresses': [{'subnet': {'ip_prefix': '2037:f5ee:75bd:f45:5d77:c161::', 'ip_prefix_len': 96}}], 'dst_ports': [{'end_port': 8000, 'start_port': 8000}], 'protocol': 'udp', 'src_addresses': [{'security_group': 'local'}], 'src_ports': [{'end_port': 9000, 'start_port': 9000}]}])
187 uuid=secgrpid, secgrp_entries=entries, option=option))
188 result, msg = secgrp_fixture.verify_on_setup()
189 assert result, msg
190 return secgrp_fixture
191
result = False
msg = "Security group: ['default-domain', 'ctest-Securi...7', 'ctest-test_sec_group-49136521'] not created."
AssertionError: Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-64561917', 'ctest-test_sec_group-49136521'] not created.
__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 = ("Security group: ['default-domain', 'ctest-Securi...7', 'ctest-test_sec_group-49136521'] not created.",)
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/securitygroup/test_regression_basic.py", line 51, in test_sec_group_basic
sg_fixture = self.config_sec_group(name=secgrp_name, entries=rule)
File "/contrail-test/common/securitygroup/base.py", line 189, in config_sec_group
assert result, msg
AssertionError: Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-64561917', 'ctest-test_sec_group-49136521'] not created.

7.090 Log File
tearDownClass (scripts.securitygroup.test_regression.SecurityGroupBasicRegressionTests1Ipv6)FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/common/securitygroup/base.py", line 26, in tearDownClass
super(BaseSGTest, cls).tearDownClass()
File "/contrail-test/common/vrouter/base.py", line 48, in tearDownClass
super(BaseVrouterTest, cls).tearDownClass()
File "/contrail-test/common/neutron/base.py", line 40, in tearDownClass
super(BaseNeutronTest, cls).tearDownClass()
File "/contrail-test/common/base.py", line 142, in tearDownClass
super(GenericTestBase, cls).tearDownClass()
File "/contrail-test/test_v1.py", line 79, in tearDownClass
cls.admin_isolated_creds.delete_tenant(cls.project)
File "/contrail-test/common/isolated_creds.py", line 174, in delete_tenant
project_fixture.cleanUp()
File "/contrail-test/fixtures/project_test.py", line 137, in cleanUp
self.delete()
File "/contrail-test/fixtures/project_test.py", line 149, in delete
if not self.check_no_project_references():
File "/contrail-test/tcutils/util.py", line 84, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/project_test.py", line 166, in check_no_project_references
vnc_project_obj = self.vnc_lib_h.project_read(id=self.uuid)
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 728, in _object_read
response = self._request_server(OP_GET, uri, query_params)
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 1208, in _request
raise HttpError(status, content)
vnc_api.exceptions.HttpError: HTTP Status: 500 Content: Internal Server Error

0.000 Log File
test_sec_group_basic[sanity,suite1]Success190.306
test_sec_group_basic[cb_sanity,ci_contrail_go_kolla_ocata_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: AssertionError
Python 3.9.25: /usr/bin/python3
Mon Apr 6 03:24:56 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.securitygroup.test_regression_basic.Sec...la_ocata_sanity,sanity,suite1] id=0x7f06a582e4f0>, *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 SecurityGroupBasicRegressionTests1.test_sec_group_basic>
self = <scripts.securitygroup.test_regression_basic.Sec...la_ocata_sanity,sanity,suite1] id=0x7f06a582e4f0>
args = ()
kwargs = {}

/contrail-test/scripts/securitygroup/test_regression_basic.py in test_sec_group_basic(self=<scripts.securitygroup.test_regression_basic.Sec...la_ocata_sanity,sanity,suite1] id=0x7f06a582e4f0>)
127 errmsg = "Security group deleted, when it is attached to a VM."
128 self.logger.error(errmsg)
129 assert False, errmsg
130
131 #Ping test, should fail
errmsg = 'Security group deleted, when it is attached to a VM.'
AssertionError: Security group deleted, when it is attached to a VM.
__cause__ = None
__class__ = <class 'AssertionError'>
__context__ = NoIdError('Error: oper 1 url /fqname-to-id body ...\n \'ctest-test_sec_group-33058487\'] not found')
__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 = ('Security group deleted, when it is attached to a VM.',)
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/scripts/securitygroup/test_regression_basic.py", line 122, in test_sec_group_basic
secgroup = self.vnc_lib.security_group_read(
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": "security-group", "fq_name": ["default-domain", "ctest-SecurityGroupBasicRegressionTests1-38450168", "ctest-test_sec_group-33058487"]} response Name ['default-domain',
'ctest-SecurityGroupBasicRegressionTests1-38450168',
'ctest-test_sec_group-33058487'] 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/securitygroup/test_regression_basic.py", line 129, in test_sec_group_basic
assert False, errmsg
AssertionError: Security group deleted, when it is attached to a VM.

187.345 Log File
test_svc_in_net_nat_with_static_routes[sanity]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found24.477
test_svc_v2_transparent_datapath[sanity]Skippedimage /contrail-test/images/tinycore-net-transparent-fw.qcow2 is not found20.643
test_svc_CEM_22032[ci_sanity_WIP,quick_sanity,sanity,suite1]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found21.052
test_svc_in_network_datapath[ci_sanity_WIP,quick_sanity,sanity,suite1]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found12.455
test_svc_hc_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found14.558
test_svc_trans_segment_right_hc_fail_svm[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: <pre>Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
File "/usr/local/lib64/python3.9/site-packages/gevent/_socketcommon.py", line 590, in connect
self._internal_connect(address)
File "/usr/local/lib64/python3.9/site-packages/gevent/_socketcommon.py", line 640, in _internal_connect
self._wait(self._write_event)
File "src/gevent/_hub_primitives.py", line 317, in gevent._gevent_c_hub_primitives.wait_on_socket
File "src/gevent/_hub_primitives.py", line 322, in gevent._gevent_c_hub_primitives.wait_on_socket
File "src/gevent/_hub_primitives.py", line 313, in gevent._gevent_c_hub_primitives._primitive_wait
File "src/gevent/_hub_primitives.py", line 314, in gevent._gevent_c_hub_primitives._primitive_wait
File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_hub_primitives.py", line 55, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_waiter.py", line 154, in gevent._gevent_c_waiter.Waiter.get
File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switch
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 392, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib64/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib64/python3.9/http/client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
File "/usr/lib64/python3.9/http/client.py", line 980, in send
self.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 187, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 164, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (&lt;urllib3.connection.HTTPConnection object at 0x7f069d7196a0&gt;, 'Connection to 10.0.0.27 timed out. (connect timeout=120)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 726, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 446, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.0.27', port=8081): Max retries exceeded with url: /analytics/uves/virtual-networks (Caused by ConnectTimeoutError(&lt;urllib3.connection.HTTPConnection object at 0x7f069d7196a0&gt;, 'Connection to 10.0.0.27 timed out. (connect timeout=120)'))

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/svc_health_check/test_svc_health_check.py", line 137, in test_svc_trans_segment_right_hc_fail_svm
assert self.svc_hc_fail_svm_common()
File "/contrail-test/scripts/svc_health_check/test_svc_health_check.py", line 179, in svc_hc_fail_svm_common
ret_dict = self.verify_svc_chain(service_mode=svc_mode,
File "/contrail-test/common/servicechain/verify.py", line 320, in verify_svc_chain
ret_dict = svc_chain_info or self.config_svc_chain(*args, **kwargs)
File "/contrail-test/common/servicechain/config.py", line 462, in config_svc_chain
right_vn_fq_name) = self._get_vn_for_config(right_vn_name,
File "/contrail-test/common/servicechain/config.py", line 357, in _get_vn_for_config
vn_fixture = vn_fixture or self.config_vn(vn_name, vn_subnets, **kwargs)
File "/contrail-test/common/servicechain/config.py", line 139, in config_vn
assert vn_fixture.verify_on_setup()
File "/contrail-test/fixtures/vn_test.py", line 589, in verify_on_setup
if not self.verify_vn_in_opserver():
File "/contrail-test/fixtures/vn_test.py", line 1122, in verify_vn_in_opserver
res = self.analytics_obj.verify_vn_link(self.vn_fq_name)
File "/contrail-test/tcutils/util.py", line 84, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/tcutils/collector/analytics_tests.py", line 1275, in verify_vn_link
self.links = self.ops_inspect[ip].get_hrefs_to_all_UVEs_of_a_given_UVE_type(
File "/contrail-test/tcutils/collector/opserver_introspect_utils.py", line 145, in get_hrefs_to_all_UVEs_of_a_given_UVE_type
dct = self.dict_get('analytics/uves/' + uveType)
File "/contrail-test/tcutils/verification_util.py", line 245, in dict_get
return self._drv.load(self._mk_url_str(path))
File "/contrail-test/tcutils/verification_util.py", line 96, in load
resp = requests.get(url,
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='10.0.0.27', port=8081): Max retries exceeded with url: /analytics/uves/virtual-networks (Caused by ConnectTimeoutError(&lt;urllib3.connection.HTTPConnection object at 0x7f069d7196a0&gt;, 'Connection to 10.0.0.27 timed out. (connect timeout=120)'))
</pre>

126.539 Log File
test_svc_v2_mirroring[ci_sanity_WIP,quick_sanity,sanity]Success169.086
test_vdns_ping_same_vn[ci_sanity,sanity,suite1]Success201.572
test_sctp_traffic_between_vm[sanity]Success224.833
test_generic_link_local_service[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,dev_sanity_dpdk,sanity,suite1]Success19.928
test_metadata_service[cb_sanity,ci_sanity,sanity,suite1]Success20.840
test_ping_within_vn_two_vms_two_different_subnets[ci_contrail_go_kolla_ocata_sanity,ci_sanity,sanity,suite1]Success39.968
test_ecmp_with_static_routes[cb_sanity,dev_reg,sanity]Success311.677
test_bond_lacp_config[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.582
test_dpdk_bond_status[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.554
test_fbit_disable_mbuf_dpdk[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.557
test_dpdk_gro_gso[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.642
test_mtu_config[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.559
test_vifdump_on_interface[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.599
test_fat_flow_aggr_dest_icmp_intra_vn_inter_node[dev_reg,sanity]Success286.304
test_rt_table_scenario_1[dev_reg,sanity]Success43.883
test_vlan_interface_2[cb_sanity,dev_reg,dev_sanity_dpdk,sanity]Success154.813
test_mtu_probe_intra_node[dev_reg,sanity]Success172.450
test_vif_statistics[dev_reg,sanity]Success142.055
Properties »

Back to top

TestCase

NameStatusTypeTime(s)LogFile
test_run_contrail_flows_cli_cmds[sanity]Success13.194
test_run_contrail_logs_cli_cmd_with_multiple_different_optional_args[sanity]Success20.521
test_run_contrail_stats_cli_cmds[sanity]Success27.465
test_verify_session_sampling_teardown[sanity]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: stdout: {{{
[cirros@169.254.0.4] sudo: ping -s 56 -c 3 -W 1 209.216.19.131
[cirros@169.254.0.4] sudo: ping -s 56 -c 3 -W 1 209.216.19.131
[cirros@169.254.0.4] out: PING 209.216.19.131 (209.216.19.131): 56 data bytes
[cirros@169.254.0.4] out: 64 bytes from 209.216.19.131: seq=0 ttl=63 time=6.248 ms
[cirros@169.254.0.4] out: 64 bytes from 209.216.19.131: seq=1 ttl=63 time=1.682 ms
[cirros@169.254.0.4] out: 64 bytes from 209.216.19.131: seq=2 ttl=63 time=1.265 ms
[cirros@169.254.0.4] out:
[cirros@169.254.0.4] out: --- 209.216.19.131 ping statistics ---
[cirros@169.254.0.4] out: 3 packets transmitted, 3 packets received, 0% packet loss
[cirros@169.254.0.4] out: round-trip min/avg/max = 1.265/3.065/6.248 ms
[cirros@169.254.0.4] 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
Mon Apr 6 04:09:49 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.analytics.test_analytics_resourc...sion_sampling_teardown[sanity] id=0x7f8172df85e0>, *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 AnalyticsTestSanityWithResource.test_verify_session_sampling_teardown>
self = <serial_scripts.analytics.test_analytics_resourc...sion_sampling_teardown[sanity] id=0x7f8172df85e0>
args = ()
kwargs = {}

/contrail-test/serial_scripts/analytics/test_analytics_resource.py in test_verify_session_sampling_teardown(self=<serial_scripts.analytics.test_analytics_resourc...sion_sampling_teardown[sanity] id=0x7f8172df85e0>)
1281 src_vn = self.res.vn1_fixture.vn_fq_name
1282 dst_vn = self.res.vn2_fixture.vn_fq_name
1283 result = self.verify_session_sampling_teardown(start_time, src_vn, dst_vn)
1284
1285 assert result,'Failed to get expected number of samples'
result = True
self = <serial_scripts.analytics.test_analytics_resourc...sion_sampling_teardown[sanity] id=0x7f8172df85e0>
self.verify_session_sampling_teardown = <bound method AnalyticsBaseTest.verify_session_s...ion_sampling_teardown[sanity] id=0x7f8172df85e0>>
start_time = '1775448372658434'
src_vn = 'default-domain:ctest-AnalyticsTestSanityWithResource-16880733:ctest-vn1-16842154'
dst_vn = 'default-domain:ctest-AnalyticsTestSanityWithResource-16880733:ctest-vn2-89443678'

/contrail-test/serial_scripts/analytics/base.py in verify_session_sampling_teardown(self=<serial_scripts.analytics.test_analytics_resourc...sion_sampling_teardown[sanity] id=0x7f8172df85e0>, start_time='1775448372658434', src_vn='default-domain:ctest-AnalyticsTestSanityWithResource-16880733:ctest-vn1-16842154', dst_vn='default-domain:ctest-AnalyticsTestSanityWithResource-16880733:ctest-vn2-89443678')
486 flow_record = self.analytics_obj.get_flows_vrouter_uve(
487 vrouter=vm_host)
488 assert not flow_record,'flows not got deleted even after 240 sec'
489
490 res = self.analytics_obj.ops_inspect[ip].post_query(
flow_record = 10
AssertionError: flows not got deleted even after 240 sec
__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 = ('flows not got deleted even after 240 sec',)
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/analytics/test_analytics_resource.py", line 1283, in test_verify_session_sampling_teardown
result = self.verify_session_sampling_teardown(start_time, src_vn, dst_vn)
File "/contrail-test/serial_scripts/analytics/base.py", line 488, in verify_session_sampling_teardown
assert not flow_record,'flows not got deleted even after 240 sec'
AssertionError: flows not got deleted even after 240 sec

223.674 Log File
test_basic_as4_ibgp_sanity[sanity]SkippedSkipping Test. At least 1 external router required to run the test2.558
test_basic_bgpaas_local_as[dev_sanity_dpdk,sanity]Success231.454
test_bgp_control_node_zone[sanity]Success252.805
test_bgp_control_node_zones_from_single_vnf[sanity]Success214.789
test_basic_dm[sanity]Skippeddm_mx env needs to be set in testbed.py to run this script2.584
test_apply_policy_fip_on_same_vn_gw_mx[sanity,serial]SkippedSkipping Test. Env variable MX_TEST is not set. Skipping the test2.534
test_with_vxlan_encap_agent_restart[sanity,serial]Success291.543
test_change_of_rt_in_vn[mx_test,sanity,serial]SkippedSkipping Test. Env variable MX_GW_TEST is not set2.556
test_gw_less_fwd_single_vn_ip_fab[cb_sanity,sanity]SkippedSkipping Test. Fabric gateway is required to run the test2.525
test_check_per_peer_on_control[sanity]Success48.526
test_create_md5_on_control[sanity]Success56.596
test_perms2_global_share[ci_sanity,sanity]Success73.009
test_perms2_owner[ci_sanity,sanity,suite1]Success17.310
test_rbac_acl_different_roles[ci_sanity,sanity,suite1]Success18.315
test_rbac_create_delete_vm[sanity,suite1]Success48.280
test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success3.398
test_control_node_switchover[cb_sanity,sanity]Success207.211
test_process_restart_in_policy_between_vns[cb_sanity,sanity]Success800.085
test_underlay_broadcast_traffic_handling[sanity]Success27.049
test_flow_action_drop_stats[dev_reg,sanity]Success77.531
test_fat_flow_aggr_dest_udp_inter_vn_inter_node[dev_reg,sanity]Success336.518
test_fat_flow_intra_vn_inter_node[cb_sanity,sanity]Success333.637
test_precedence_xmpp_auth[sanity]SkippedXmpp auth should be set before running tests2.568
test_undo_xmpp_auth[sanity]SkippedXmpp auth should be set before running tests2.595
Properties »

Back to top