Test Results

Designed for use with JUnit and Ant.

Properties


Summary

TestsFailuresErrorsSkippedSuccess rateTime
109603991.43%7945.945
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)
10906397945.945

Package

NameTestsErrorsFailuresSkippedTime(s)
280272904.750
8104325041.195
Back to top


TestCase

NameStatusTypeTime(s)LogFile
test_run_contrail_flows_cli_cmds[sanity]Success8.851
test_run_contrail_logs_cli_cmd_with_multiple_different_optional_args[sanity]Success10.368
test_run_contrail_stats_cli_cmds[sanity]Success12.123
test_verify_session_sampling_teardown[sanity]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: stdout: {{{
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 162.217.223.131
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 162.217.223.131
[cirros@169.254.0.3] out: PING 162.217.223.131 (162.217.223.131): 56 data bytes
[cirros@169.254.0.3] out: 64 bytes from 162.217.223.131: seq=0 ttl=63 time=8.549 ms
[cirros@169.254.0.3] out: 64 bytes from 162.217.223.131: seq=1 ttl=63 time=1.332 ms
[cirros@169.254.0.3] out: 64 bytes from 162.217.223.131: seq=2 ttl=63 time=1.297 ms
[cirros@169.254.0.3] out:
[cirros@169.254.0.3] out: --- 162.217.223.131 ping statistics ---
[cirros@169.254.0.3] out: 3 packets transmitted, 3 packets received, 0% packet loss
[cirros@169.254.0.3] out: round-trip min/avg/max = 1.297/3.726/8.549 ms
[cirros@169.254.0.3] out:
}}}

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: AssertionError
Python 3.9.21: /usr/bin/python3
Wed Oct 15 17:23:23 2025

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=0x7f6524c1ba00>, *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=0x7f6524c1ba00>
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=0x7f6524c1ba00>)
1283 result = self.verify_session_sampling_teardown(start_time, src_vn, dst_vn)
1284
1285 assert result,'Failed to get expected number of samples'
1286 #test_verify_session_sampling_teardown
1287
result = False
AssertionError: Failed to get expected number of samples
__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 = ('Failed to get expected number of samples',)
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 1285, in test_verify_session_sampling_teardown
assert result,'Failed to get expected number of samples'
AssertionError: Failed to get expected number of samples

220.266 Log File
test_basic_as4_ibgp_sanity[sanity]SkippedSkipping Test. At least 1 external router required to run the test2.537
test_basic_bgpaas_local_as[dev_sanity_dpdk,sanity]Success201.512
test_bgp_control_node_zone[sanity]Success270.264
test_bgp_control_node_zones_from_single_vnf[sanity]Success188.479
test_basic_dm[sanity]Skippeddm_mx env needs to be set in testbed.py to run this script2.557
test_apply_policy_fip_on_same_vn_gw_mx[sanity,serial]SkippedSkipping Test. Env variable MX_TEST is not set. Skipping the test2.570
test_with_vxlan_encap_agent_restart[sanity,serial]Success269.401
test_change_of_rt_in_vn[mx_test,sanity,serial]SkippedSkipping Test. Env variable MX_GW_TEST is not set2.564
test_gw_less_fwd_single_vn_ip_fab[cb_sanity,sanity]SkippedSkipping Test. Fabric gateway is required to run the test2.579
test_check_per_peer_on_control[sanity]Success46.721
test_create_md5_on_control[sanity]Success44.552
test_perms2_global_share[ci_sanity,sanity]Success71.413
test_perms2_owner[ci_sanity,sanity,suite1]Success12.621
test_rbac_acl_different_roles[ci_sanity,sanity,suite1]Success13.188
test_rbac_create_delete_vm[sanity,suite1]Success57.473
test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success3.320
test_control_node_switchover[cb_sanity,sanity]Success202.325
test_process_restart_in_policy_between_vns[cb_sanity,sanity]Success368.748
test_underlay_broadcast_traffic_handling[sanity]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/util.py", line 1041, in wrapper
return f(self, *func_args, **func_kwargs)
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: AssertionError
Python 3.9.21: /usr/bin/python3
Wed Oct 15 17:54:13 2025

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.vm_regression.test_vm_serial.Tes...dcast_traffic_handling[sanity] id=0x7f65241f6dc0>, *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 TestBasicVMVN0.test_underlay_broadcast_traffic_handling>
self = <serial_scripts.vm_regression.test_vm_serial.Tes...dcast_traffic_handling[sanity] id=0x7f65241f6dc0>
args = ()
kwargs = {}

/contrail-test/serial_scripts/vm_regression/test_vm_serial.py in test_underlay_broadcast_traffic_handling(self=<serial_scripts.vm_regression.test_vm_serial.Tes...dcast_traffic_handling[sanity] id=0x7f65241f6dc0>)
948
949 # Analyze pcap
950 assert verify_tcpdump_count(self, session, pcap, exp_count=packet_count), "There should only be %s\
951 packet from source %s on compute %s" %(packet_count, broadcast_address, compute_ip)
952 self.logger.info(
global verify_tcpdump_count = <function retry.<locals>.deco_retry.<locals>.f_retry>
self = <serial_scripts.vm_regression.test_vm_serial.Tes...dcast_traffic_handling[sanity] id=0x7f65241f6dc0>
session = <paramiko.client.SSHClient object>
pcap = '/tmp/ens6_ctest-random-60988579.pcap'
exp_count undefined
packet_count = 10
broadcast_address = '0.0.0.0'
compute_ip = '10.0.0.33'
AssertionError: There should only be 10 packet from source 0.0.0.0 on compute 10.0.0.33
__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 = ('There should only be 10 ... packet from source 0.0.0.0 on compute 10.0.0.33',)
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/vm_regression/test_vm_serial.py", line 950, in test_underlay_broadcast_traffic_handling
assert verify_tcpdump_count(self, session, pcap, exp_count=packet_count), "There should only be %s\
AssertionError: There should only be 10 packet from source 0.0.0.0 on compute 10.0.0.33

37.044 Log File
test_flow_action_drop_stats[dev_reg,sanity]Success77.529
test_fat_flow_aggr_dest_udp_inter_vn_inter_node[dev_reg,sanity]Success329.803
test_fat_flow_intra_vn_inter_node[cb_sanity,sanity]Success241.739
test_precedence_xmpp_auth[sanity]SkippedXmpp auth should be set before running tests2.575
test_undo_xmpp_auth[sanity]SkippedXmpp auth should be set before running tests2.538
Properties »

Back to top

TestCase

NameStatusTypeTime(s)LogFile
test_basic_RR[sanity]SkippedSkipping Test. Env variable MX_GW_TEST is not set. Skipping the test1.480
test_create_vm_after_RR_set[sanity]SkippedSkipping Test. Env variable MX_GW_TEST is not set. Skipping the test1.321
test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success1.805
test_db_nodemgr_status[dev_sanity_dpdk,sanity]Success1.327
test_verify_generator_collector_connections[dev_sanity_dpdk,sanity]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: pythonlogging:'': {{{2025-10-15 15:53:11,831 Socket Connection error: HTTPConnectionPool(host='10.0.0.130', port=8091): Max retries exceeded with url: /Snh_CollectorInfoRequest (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fea7ef14a90>: Failed to establish a new connection: [Errno 111] Connection refused'))}}}
stdout: {{{'NoneType' object has no attribute 'xpath'}}}

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.21: /usr/bin/python3
Wed Oct 15 15:53:11 2025

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

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.analytics.test_analytics.AnalyticsTestS...ctions[dev_sanity_dpdk,sanity] id=0x7fea80a8ac40>, *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 AnalyticsTestSanity3.test_verify_generator_collector_connections>
self = <scripts.analytics.test_analytics.AnalyticsTestS...ctions[dev_sanity_dpdk,sanity] id=0x7fea80a8ac40>
args = ()
kwargs = {}

/contrail-test/scripts/analytics/test_analytics.py in test_verify_generator_collector_connections(self=<scripts.analytics.test_analytics.AnalyticsTestS...ctions[dev_sanity_dpdk,sanity] id=0x7fea80a8ac40>)
215 '''
216 # check collector-generator connections through uves.
217 assert self.analytics_obj.verify_collector_uve()
218 # Verify vrouter uve active xmpp connections
219 assert self.analytics_obj.verify_active_xmpp_peer_in_vrouter_uve()
self = <scripts.analytics.test_analytics.AnalyticsTestS...ctions[dev_sanity_dpdk,sanity] id=0x7fea80a8ac40>
self.analytics_obj = <tcutils.collector.analytics_tests.AnalyticsVerification object>
self.analytics_obj.verify_collector_uve = <bound method AnalyticsVerification.verify_colle...or.analytics_tests.AnalyticsVerification object>>

/contrail-test/tcutils/collector/analytics_tests.py in verify_collector_uve(self=<tcutils.collector.analytics_tests.AnalyticsVerification object>)
333 assert self.verify_collector_connection_introspect(ip,http_introspect_ports['HttpPortOpserver'])
334 for ip in self.inputs.collector_ips:
335 assert self.verify_collector_connection_introspect(ip,http_introspect_ports['HttpPortQueryEngine'])
336 expected_module_id = ['contrail-control', 'contrail-dns']
337 expected_node_type = 'Control'
self = <tcutils.collector.analytics_tests.AnalyticsVerification object>
self.verify_collector_connection_introspect = <bound method AnalyticsVerification.verify_colle...or.analytics_tests.AnalyticsVerification object>>
ip = '10.0.0.130'
global http_introspect_ports = {'HttpPortAgent': 8085, 'HttpPortAnalyticsNodemgr': 8104, 'HttpPortApiServer': 8084, 'HttpPortCollector': 8089, 'HttpPortConfigNodemgr': 8100, 'HttpPortControl': 8083, 'HttpPortControlNodemgr': 8101, 'HttpPortDatabaseNodemgr': 8103, 'HttpPortDns': 8092, 'HttpPortOpserver': 8090, ...}
AssertionError:
__cause__ = None
__class__ = <class 'AssertionError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of AssertionError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of AssertionError object>
__doc__ = 'Assertion failed.'
__eq__ = <method-wrapper '__eq__' of AssertionError object>
__format__ = <built-in method __format__ of AssertionError object>
__ge__ = <method-wrapper '__ge__' of AssertionError object>
__getattribute__ = <method-wrapper '__getattribute__' of AssertionError object>
__gt__ = <method-wrapper '__gt__' of AssertionError object>
__hash__ = <method-wrapper '__hash__' of AssertionError object>
__init__ = <method-wrapper '__init__' of AssertionError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of AssertionError object>
__lt__ = <method-wrapper '__lt__' of AssertionError object>
__ne__ = <method-wrapper '__ne__' of AssertionError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of AssertionError object>
__reduce_ex__ = <built-in method __reduce_ex__ of AssertionError object>
__repr__ = <method-wrapper '__repr__' of AssertionError object>
__setattr__ = <method-wrapper '__setattr__' of AssertionError object>
__setstate__ = <built-in method __setstate__ of AssertionError object>
__sizeof__ = <built-in method __sizeof__ of AssertionError object>
__str__ = <method-wrapper '__str__' of AssertionError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ()
with_traceback = <built-in method with_traceback of AssertionError object>

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

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/analytics/test_analytics.py", line 217, in test_verify_generator_collector_connections
assert self.analytics_obj.verify_collector_uve()
File "/contrail-test/tcutils/collector/analytics_tests.py", line 335, in verify_collector_uve
assert self.verify_collector_connection_introspect(ip,http_introspect_ports['HttpPortQueryEngine'])
AssertionError

1.373 Log File
test_verify_generator_connections_to_collector_node[dev_sanity_dpdk,sanity]Success2.427
test_verify_process_status_agent[cb_sanity,dev_sanity_dpdk,sanity]Success1.351
test_verify_process_status_analytics_node[cb_sanity,dev_sanity_dpdk,sanity]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: AssertionError
Python 3.9.21: /usr/bin/python3
Wed Oct 15 15:53:17 2025

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

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.analytics.test_analytics.AnalyticsTestS...sanity,dev_sanity_dpdk,sanity] id=0x7fea80a8afa0>, *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 AnalyticsTestSanity3.test_verify_process_status_analytics_node>
self = <scripts.analytics.test_analytics.AnalyticsTestS...sanity,dev_sanity_dpdk,sanity] id=0x7fea80a8afa0>
args = ()
kwargs = {}

/contrail-test/scripts/analytics/test_analytics.py in test_verify_process_status_analytics_node(self=<scripts.analytics.test_analytics.AnalyticsTestS...sanity,dev_sanity_dpdk,sanity] id=0x7fea80a8afa0>)
247
248 '''
249 self.analytics_obj.verify_process_and_connection_infos_analytics_node()
250
251 @test.attr(type=['sanity', 'dev_sanity_dpdk'])
self = <scripts.analytics.test_analytics.AnalyticsTestS...sanity,dev_sanity_dpdk,sanity] id=0x7fea80a8afa0>
self.analytics_obj = <tcutils.collector.analytics_tests.AnalyticsVerification object>
self.analytics_obj.verify_process_and_connection_infos_analytics_node = <bound method AnalyticsVerification.verify_proce...or.analytics_tests.AnalyticsVerification object>>

/contrail-test/tcutils/collector/analytics_tests.py in verify_process_and_connection_infos_analytics_node(self=<tcutils.collector.analytics_tests.AnalyticsVerification object>)
4213 'contrail-collector',\
4214 [server],node = collector)
4215 assert result
4216
4217
result = False
AssertionError:
__cause__ = None
__class__ = <class 'AssertionError'>
__context__ = AssertionError()
__delattr__ = <method-wrapper '__delattr__' of AssertionError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of AssertionError object>
__doc__ = 'Assertion failed.'
__eq__ = <method-wrapper '__eq__' of AssertionError object>
__format__ = <built-in method __format__ of AssertionError object>
__ge__ = <method-wrapper '__ge__' of AssertionError object>
__getattribute__ = <method-wrapper '__getattribute__' of AssertionError object>
__gt__ = <method-wrapper '__gt__' of AssertionError object>
__hash__ = <method-wrapper '__hash__' of AssertionError object>
__init__ = <method-wrapper '__init__' of AssertionError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of AssertionError object>
__lt__ = <method-wrapper '__lt__' of AssertionError object>
__ne__ = <method-wrapper '__ne__' of AssertionError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of AssertionError object>
__reduce_ex__ = <built-in method __reduce_ex__ of AssertionError object>
__repr__ = <method-wrapper '__repr__' of AssertionError object>
__setattr__ = <method-wrapper '__setattr__' of AssertionError object>
__setstate__ = <built-in method __setstate__ of AssertionError object>
__sizeof__ = <built-in method __sizeof__ of AssertionError object>
__str__ = <method-wrapper '__str__' of AssertionError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ()
with_traceback = <built-in method with_traceback of AssertionError object>

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

Traceback (most recent call last):
File "/contrail-test/tcutils/collector/analytics_tests.py", line 4208, in verify_process_and_connection_infos_analytics_node
assert result
AssertionError

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/analytics/test_analytics.py", line 249, in test_verify_process_status_analytics_node
self.analytics_obj.verify_process_and_connection_infos_analytics_node()
File "/contrail-test/tcutils/collector/analytics_tests.py", line 4215, in verify_process_and_connection_infos_analytics_node
assert result
AssertionError

1.445 Log File
test_verify_process_status_control_node[cb_sanity,dev_sanity_dpdk,sanity]Success1.417
test_verify_object_logs[ci_sanity,dev_sanity_dpdk,sanity,suite1]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: stderr: {{{
/contrail-test/tcutils/control/cn_introspect_utils.py:40: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
if not p:
/contrail-test/tcutils/verification_util.py:366: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
if not path:
}}}

stdout: {{{
[localhost] local: mkdir -p /contrail-test/images
[localhost] local: wget -nv http://nexus.opensdn.io/repository///images/converts//cirros-0.3.0-x86_64-disk.vmdk.gz -O /contrail-test/images/cirros-0.3.0-x86_64-disk.vmdk.gz
[localhost] local: gunzip -f /contrail-test/images/cirros-0.3.0-x86_64-disk.vmdk.gz
[localhost] local: rm -f /contrail-test/images/cirros-0.3.0-x86_64-disk.vmdk
}}}

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.21: /usr/bin/python3
Wed Oct 15 15:53:33 2025

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

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.analytics.test_analytics_basic.Analytic...dev_sanity_dpdk,sanity,suite1] id=0x7fea80a90610>, *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 AnalyticsBasicTestSanity.test_verify_object_logs>
self = <scripts.analytics.test_analytics_basic.Analytic...dev_sanity_dpdk,sanity,suite1] id=0x7fea80a90610>
args = ()
kwargs = {}

/contrail-test/scripts/analytics/test_analytics_basic.py in test_verify_object_logs(self=<scripts.analytics.test_analytics_basic.Analytic...dev_sanity_dpdk,sanity,suite1] id=0x7fea80a90610>)
56 trace_buffer_name='QeTraceBuf')
57 self.logger.debug("Status: %s"%(st))
58 assert res2, "Verification of %s failed"%msg
59
60 for i in range(2):
res2 = []
msg = 'ObjectVNTable for vn default-domain:ctest-Analyt...:ctest-vn22-22795111 on analytics node 10.0.0.130'
AssertionError: Verification of ObjectVNTable for vn default-domain:ctest-AnalyticsBasicTestSanity-19438116:ctest-vn22-22795111 on analytics node 10.0.0.130 failed
__cause__ = None
__class__ = <class 'AssertionError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of AssertionError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of AssertionError object>
__doc__ = 'Assertion failed.'
__eq__ = <method-wrapper '__eq__' of AssertionError object>
__format__ = <built-in method __format__ of AssertionError object>
__ge__ = <method-wrapper '__ge__' of AssertionError object>
__getattribute__ = <method-wrapper '__getattribute__' of AssertionError object>
__gt__ = <method-wrapper '__gt__' of AssertionError object>
__hash__ = <method-wrapper '__hash__' of AssertionError object>
__init__ = <method-wrapper '__init__' of AssertionError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of AssertionError object>
__lt__ = <method-wrapper '__lt__' of AssertionError object>
__ne__ = <method-wrapper '__ne__' of AssertionError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of AssertionError object>
__reduce_ex__ = <built-in method __reduce_ex__ of AssertionError object>
__repr__ = <method-wrapper '__repr__' of AssertionError object>
__setattr__ = <method-wrapper '__setattr__' of AssertionError object>
__setstate__ = <built-in method __setstate__ of AssertionError object>
__sizeof__ = <built-in method __sizeof__ of AssertionError object>
__str__ = <method-wrapper '__str__' of AssertionError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ('Verification of ObjectVNTable for vn default-dom...vn22-22795111 on analytics node 10.0.0.130 failed',)
with_traceback = <built-in method with_traceback of AssertionError object>

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

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/analytics/test_analytics_basic.py", line 58, in test_verify_object_logs
assert res2, "Verification of %s failed"%msg
AssertionError: Verification of ObjectVNTable for vn default-domain:ctest-AnalyticsBasicTestSanity-19438116:ctest-vn22-22795111 on analytics node 10.0.0.130 failed

15.613 Log File
test_db_manage[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success5.790
test_analytics_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success1.325
test_config_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success1.331
test_ecmp_hash_src_ip[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.346
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.392
test_ecmp_svc_in_network_with_static_route_no_policy[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found2.747
test_ecmp_svc_v2_transparent_with_3_instance[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.685
test_ecmp_svc_in_network_with_static_route_no_policy[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found2.128
test_ecmp_svc_v2_transparent_with_3_instance[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.327
test_ecmp_svc_in_network_with_3_instance[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.370
test_ecmp_with_svm_deletion[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.379
test_svc_fate_sharing_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found2.112
test_three_stage_v2_SC[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.375
test_svc_fate_sharing_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found3.494
test_floating_ip[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1,vrouter_gw]Success189.691
test_mx_gateway[mx_test,sanity]SkippedSkipping Test. Env variable MX_GW_TEST is not set2.583
test_public_access_thru_svc_w_fip[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.612
test_transit_vn_sym_1_innet[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.640
test_public_access_thru_svc_w_fip[cb_sanity,sanity]SkippedSkipped as v6 not supported for this test2.567
test_svc_creation_with_heat[dev_sanity_dpdk,sanity,suite1]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.675
test_svc_creation_with_heat[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.623
test_router_crud[ci_sanity,dev_sanity_dpdk,sanity]Success9.619
test_ports_bindings[ci_sanity,dev_sanity_dpdk,sanity]Success4.667
test_ports_specific_subnet_ip[ci_sanity,dev_sanity_dpdk,sanity]Success27.010
test_basic_router_behavior[ci_sanity,dev_sanity_dpdk,sanity]Success44.605
test_basic_snat_behavior_without_external_connectivity[ci_sanity,dev_sanity_dpdk,sanity,suite1]Success27.809
test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1]Success99.834
test_policy[quick_sanity,sanity]Success225.742
test_policy_to_deny[quick_sanity,sanity]Success99.705
test_policy_modify_vn_policy[sanity]Success103.269
test_remove_policy_with_ref[ci_sanity,sanity]Success9.735
test_policy_inheritance_src_vn_dst_pol[cb_sanity,sanity,vrouter_gw]Success162.277
test_policy_inheritance_src_pol_dst_any[sanity]Success148.197
test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1]Success97.272
test_repeated_policy_modify[sanity]Success167.611
test_multi_vn_repeated_policy_update_with_ping[sanity]Success206.761
test_multi_vn_repeated_policy_update_with_ping[sanity]Success206.242
test_qos_remark_dscp_on_vmi[cb_sanity,sanity]Success66.007
test_rp_interface[ci_sanity,sanity]Success26.360
test_rp_interface_ext_community[sanity]Success25.787
test_rp_interface_static[sanity]Success26.102
test_rp_secondary_routes[sanity]SkippedNeeds MX_GW_TEST to be set0.002
test_rt_CEM_22032[cb_sanity,sanity]Success79.807
test_user_def_rt_entry[cb_sanity,sanity]Success77.817
test_sec_group_basic[sanity,suite1]Success169.797
test_sec_group_basic[sanity,suite1]Success178.045
test_sec_group_basic[cb_sanity,ci_contrail_go_kolla_ocata_sanity,sanity,suite1]Success206.878
test_svc_in_net_nat_with_static_routes[sanity]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found24.109
test_svc_v2_transparent_datapath[sanity]Skippedimage /contrail-test/images/tinycore-net-transparent-fw.qcow2 is not found14.959
test_svc_CEM_22032[ci_sanity_WIP,quick_sanity,sanity,suite1]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found14.044
test_svc_in_network_datapath[ci_sanity_WIP,quick_sanity,sanity,suite1]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found11.632
test_svc_hc_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found14.214
test_svc_trans_segment_right_hc_fail_svm[sanity]Skippedimage /contrail-test/images/tinycore-net-transparent-fw.qcow2 is not found14.862
test_svc_v2_mirroring[ci_sanity_WIP,quick_sanity,sanity]Success173.897
test_vdns_ping_same_vn[ci_sanity,sanity,suite1]Success188.613
test_sctp_traffic_between_vm[sanity]Success200.547
test_generic_link_local_service[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,dev_sanity_dpdk,sanity,suite1]Success20.193
test_metadata_service[cb_sanity,ci_sanity,sanity,suite1]Success24.510
test_ping_within_vn_two_vms_two_different_subnets[ci_contrail_go_kolla_ocata_sanity,ci_sanity,sanity,suite1]Success43.478
test_ecmp_with_static_routes[cb_sanity,dev_reg,sanity]Success251.020
test_bond_lacp_config[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.622
test_dpdk_bond_status[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.595
test_fbit_disable_mbuf_dpdk[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.611
test_dpdk_gro_gso[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.600
test_mtu_config[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.608
test_vifdump_on_interface[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.618
test_fat_flow_aggr_dest_icmp_intra_vn_inter_node[dev_reg,sanity]Success308.747
test_rt_table_scenario_1[dev_reg,sanity]Success40.376
test_vlan_interface_2[cb_sanity,dev_reg,dev_sanity_dpdk,sanity]Success157.144
test_mtu_probe_intra_node[dev_reg,sanity]Success172.794
test_vif_statistics[dev_reg,sanity]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: stdout: {{{
[ubuntu@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 145.78.245.4
[ubuntu@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 145.78.245.4
[ubuntu@169.254.0.3] out: PING 145.78.245.4 (145.78.245.4) 56(84) bytes of data.
[ubuntu@169.254.0.3] out: 64 bytes from 145.78.245.4: icmp_req=1 ttl=64 time=11.8 ms
[ubuntu@169.254.0.3] out: 64 bytes from 145.78.245.4: icmp_req=2 ttl=64 time=1.05 ms
[ubuntu@169.254.0.3] out: 64 bytes from 145.78.245.4: icmp_req=3 ttl=64 time=0.627 ms
[ubuntu@169.254.0.3] out:
[ubuntu@169.254.0.3] out: --- 145.78.245.4 ping statistics ---
[ubuntu@169.254.0.3] out: 3 packets transmitted, 3 received, 0% packet loss, time 2004ms
[ubuntu@169.254.0.3] out: rtt min/avg/max/mdev = 0.627/4.517/11.875/5.205 ms
[ubuntu@169.254.0.3] out:
}}}

Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: AssertionError
Python 3.9.21: /usr/bin/python3
Wed Oct 15 17:16:50 2025

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.vrouter.test_vif_stats.TestvifStats.test_vif_statistics[dev_reg,sanity] id=0x7fea7ff66d60>, *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 TestvifStats.test_vif_statistics>
self = <scripts.vrouter.test_vif_stats.TestvifStats.test_vif_statistics[dev_reg,sanity] id=0x7fea7ff66d60>
args = ()
kwargs = {}

/contrail-test/scripts/vrouter/test_vif_stats.py in test_vif_statistics(self=<scripts.vrouter.test_vif_stats.TestvifStats.test_vif_statistics[dev_reg,sanity] id=0x7fea7ff66d60>)
89 assert client_fixtures[0].ping_with_certainty(server_fixtures[0].vm_ip, expectation=True), "ping failed"
90 compute_ip = server_fixtures[0].vm_node_ip
91 stats_pre_clr = self.get_vif_stats(compute_ip)
92 self.clear_vif_stats(compute_ip)
93 stats_post_clr = self.get_vif_stats(compute_ip)
stats_pre_clr undefined
self = <scripts.vrouter.test_vif_stats.TestvifStats.test_vif_statistics[dev_reg,sanity] id=0x7fea7ff66d60>
self.get_vif_stats = <bound method TestvifStats.get_vif_stats of <scr...if_statistics[dev_reg,sanity] id=0x7fea7ff66d60>>
compute_ip = '10.0.0.141'

/contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=<scripts.vrouter.test_vif_stats.TestvifStats.test_vif_statistics[dev_reg,sanity] id=0x7fea7ff66d60>, compute_ip='10.0.0.141')
28 assert vif_out, "vif stats for %s is not working" % vif_rx_cmd
29 if not "RX packets" in vif_out:
30 assert False, "RX packets is not available"
31 else:
32 result = vif_out.split()

AssertionError: RX packets is not available
__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 = ('RX packets is not available',)
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/vrouter/test_vif_stats.py", line 91, in test_vif_statistics
stats_pre_clr = self.get_vif_stats(compute_ip)
File "/contrail-test/scripts/vrouter/test_vif_stats.py", line 30, in get_vif_stats
assert False, "RX packets is not available"
AssertionError: RX packets is not available

107.580 Log File
Properties »

Back to top