Test Results

Designed for use with JUnit and Ant.

Properties


Summary

TestsFailuresErrorsSkippedSuccess rateTime
109403994.29%8588.324
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)
10904398588.324

Package

NameTestsErrorsFailuresSkippedTime(s)
280172933.431
8103325654.893
Back to top


TestCase

NameStatusTypeTime(s)LogFile
test_run_contrail_flows_cli_cmds[sanity]Success12.775
test_run_contrail_logs_cli_cmd_with_multiple_different_optional_args[sanity]Success20.047
test_run_contrail_stats_cli_cmds[sanity]Success27.300
test_verify_session_sampling_teardown[sanity]FailureDetails

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

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 20 03:54:00 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=0x7fd748ad65e0>, *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=0x7fd748ad65e0>
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=0x7fd748ad65e0>)
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=0x7fd748ad65e0>
self.verify_session_sampling_teardown = <bound method AnalyticsBaseTest.verify_session_s...ion_sampling_teardown[sanity] id=0x7fd748ad65e0>>
start_time = '1776657023997980'
src_vn = 'default-domain:ctest-AnalyticsTestSanityWithResource-01517377:ctest-vn1-07469670'
dst_vn = 'default-domain:ctest-AnalyticsTestSanityWithResource-01517377:ctest-vn2-90099660'

/contrail-test/serial_scripts/analytics/base.py in verify_session_sampling_teardown(self=<serial_scripts.analytics.test_analytics_resourc...sion_sampling_teardown[sanity] id=0x7fd748ad65e0>, start_time='1776657023997980', src_vn='default-domain:ctest-AnalyticsTestSanityWithResource-01517377:ctest-vn1-07469670', dst_vn='default-domain:ctest-AnalyticsTestSanityWithResource-01517377:ctest-vn2-90099660')
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 = 6
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

222.956 Log File
test_basic_as4_ibgp_sanity[sanity]SkippedSkipping Test. At least 1 external router required to run the test2.527
test_basic_bgpaas_local_as[dev_sanity_dpdk,sanity]Success227.045
test_bgp_control_node_zone[sanity]Success280.109
test_bgp_control_node_zones_from_single_vnf[sanity]Success208.275
test_basic_dm[sanity]Skippeddm_mx env needs to be set in testbed.py to run this script2.551
test_apply_policy_fip_on_same_vn_gw_mx[sanity,serial]SkippedSkipping Test. Env variable MX_TEST is not set. Skipping the test2.566
test_with_vxlan_encap_agent_restart[sanity,serial]Success286.844
test_change_of_rt_in_vn[mx_test,sanity,serial]SkippedSkipping Test. Env variable MX_GW_TEST is not set2.515
test_gw_less_fwd_single_vn_ip_fab[cb_sanity,sanity]SkippedSkipping Test. Fabric gateway is required to run the test2.518
test_check_per_peer_on_control[sanity]Success51.910
test_create_md5_on_control[sanity]Success45.884
test_perms2_global_share[ci_sanity,sanity]Success54.203
test_perms2_owner[ci_sanity,sanity,suite1]Success16.857
test_rbac_acl_different_roles[ci_sanity,sanity,suite1]Success17.678
test_rbac_create_delete_vm[sanity,suite1]Success58.627
test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success3.450
test_control_node_switchover[cb_sanity,sanity]Success202.601
test_process_restart_in_policy_between_vns[cb_sanity,sanity]Success350.908
test_underlay_broadcast_traffic_handling[sanity]Success26.979
test_flow_action_drop_stats[dev_reg,sanity]Success78.217
test_fat_flow_aggr_dest_udp_inter_vn_inter_node[dev_reg,sanity]Success335.117
test_fat_flow_intra_vn_inter_node[cb_sanity,sanity]Success184.733
test_precedence_xmpp_auth[sanity]SkippedXmpp auth should be set before running tests2.525
test_undo_xmpp_auth[sanity]SkippedXmpp auth should be set before running tests2.564
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.430
test_create_vm_after_RR_set[sanity]SkippedSkipping Test. Env variable MX_GW_TEST is not set. Skipping the test1.264
test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success1.776
test_db_nodemgr_status[dev_sanity_dpdk,sanity]Success1.846
test_verify_generator_collector_connections[dev_sanity_dpdk,sanity]Success3.613
test_verify_generator_connections_to_collector_node[dev_sanity_dpdk,sanity]Success2.241
test_verify_process_status_agent[cb_sanity,dev_sanity_dpdk,sanity]Success1.336
test_verify_process_status_analytics_node[cb_sanity,dev_sanity_dpdk,sanity]Success1.896
test_verify_process_status_control_node[cb_sanity,dev_sanity_dpdk,sanity]Success1.341
test_verify_object_logs[ci_sanity,dev_sanity_dpdk,sanity,suite1]Success26.848
test_db_manage[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success6.264
test_analytics_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success1.290
test_config_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success1.335
test_ecmp_hash_src_ip[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.354
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.357
test_ecmp_svc_in_network_with_static_route_no_policy[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found3.193
test_ecmp_svc_v2_transparent_with_3_instance[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.934
test_ecmp_svc_in_network_with_static_route_no_policy[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found2.120
test_ecmp_svc_v2_transparent_with_3_instance[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.285
test_ecmp_svc_in_network_with_3_instance[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.357
test_ecmp_with_svm_deletion[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.422
test_svc_fate_sharing_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found2.074
test_three_stage_v2_SC[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.282
test_svc_fate_sharing_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found3.351
test_floating_ip[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1,vrouter_gw]Success217.392
test_mx_gateway[mx_test,sanity]SkippedSkipping Test. Env variable MX_GW_TEST is not set2.560
test_public_access_thru_svc_w_fip[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.581
test_transit_vn_sym_1_innet[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.581
test_public_access_thru_svc_w_fip[cb_sanity,sanity]SkippedSkipped as v6 not supported for this test2.563
test_svc_creation_with_heat[dev_sanity_dpdk,sanity,suite1]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.606
test_svc_creation_with_heat[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.558
test_router_crud[ci_sanity,dev_sanity_dpdk,sanity]Success9.686
test_ports_bindings[ci_sanity,dev_sanity_dpdk,sanity]Success4.685
test_ports_specific_subnet_ip[ci_sanity,dev_sanity_dpdk,sanity]Success27.432
test_basic_router_behavior[ci_sanity,dev_sanity_dpdk,sanity]Success45.745
test_basic_snat_behavior_without_external_connectivity[ci_sanity,dev_sanity_dpdk,sanity,suite1]Success28.224
test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1]Success103.234
test_policy[quick_sanity,sanity]Success284.177
test_policy_to_deny[quick_sanity,sanity]Success99.850
test_policy_modify_vn_policy[sanity]Success104.945
test_remove_policy_with_ref[ci_sanity,sanity]Success9.732
test_policy_inheritance_src_vn_dst_pol[cb_sanity,sanity,vrouter_gw]Success221.973
test_policy_inheritance_src_pol_dst_any[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 68.130.99.3
[ubuntu@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 68.130.99.3
[ubuntu@169.254.0.3] out: PING 68.130.99.3 (68.130.99.3) 56(84) bytes of data.
[ubuntu@169.254.0.3] out: 64 bytes from 68.130.99.3: icmp_req=1 ttl=63 time=11.4 ms
[ubuntu@169.254.0.3] out: 64 bytes from 68.130.99.3: icmp_req=2 ttl=63 time=1.30 ms
[ubuntu@169.254.0.3] out: 64 bytes from 68.130.99.3: icmp_req=3 ttl=63 time=1.31 ms
[ubuntu@169.254.0.3] out:
[ubuntu@169.254.0.3] out: --- 68.130.99.3 ping statistics ---
[ubuntu@169.254.0.3] out: 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
[ubuntu@169.254.0.3] out: rtt min/avg/max/mdev = 1.305/4.694/11.461/4.785 ms
[ubuntu@169.254.0.3] out:

[ubuntu@169.254.0.3] sudo: ping6 -s 56 -c 3 -W 1 3282:eca2:2a1c:751:e0f:9b19:0:3
[ubuntu@169.254.0.3] out: PING 3282:eca2:2a1c:751:e0f:9b19:0:3(3282:eca2:2a1c:751:e0f:9b19:0:3) 56 data bytes
[ubuntu@169.254.0.3] out: 64 bytes from 3282:eca2:2a1c:751:e0f:9b19:0:3: icmp_seq=1 ttl=64 time=7.95 ms
[ubuntu@169.254.0.3] out: 64 bytes from 3282:eca2:2a1c:751:e0f:9b19:0:3: icmp_seq=2 ttl=64 time=1.41 ms
[ubuntu@169.254.0.3] out: 64 bytes from 3282:eca2:2a1c:751:e0f:9b19:0:3: icmp_seq=3 ttl=64 time=1.36 ms
[ubuntu@169.254.0.3] out:
[ubuntu@169.254.0.3] out: --- 3282:eca2:2a1c:751:e0f:9b19:0:3 ping statistics ---
[ubuntu@169.254.0.3] out: 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
[ubuntu@169.254.0.3] out: rtt min/avg/max/mdev = 1.365/3.575/7.950/3.093 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: TestFailed
Python 3.9.25: /usr/bin/python3
Mon Apr 20 02:42:39 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.policy.test_policy_acl.TestPolicyAclIpv...itance_src_pol_dst_any[sanity] id=0x7f36453d64f0>, *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 TestPolicyAclIpv4v6.test_policy_inheritance_src_pol_dst_any>
self = <scripts.policy.test_policy_acl.TestPolicyAclIpv...itance_src_pol_dst_any[sanity] id=0x7f36453d64f0>
args = ()
kwargs = {}

/contrail-test/scripts/policy/test_policy_acl.py in test_policy_inheritance_src_pol_dst_any(self=<scripts.policy.test_policy_acl.TestPolicyAclIpv...itance_src_pol_dst_any[sanity] id=0x7f36453d64f0>)
1451 @attr(type=['sanity'])
1452 @tcutils.wrappers.preposttest_wrapper
1453 def test_policy_inheritance_src_pol_dst_any(self):
1454 super(TestPolicyAclIpv4v6, self).test_policy_inheritance_src_pol_dst_any()
1455
builtinsuper = <class 'super'>
global TestPolicyAclIpv4v6 = <class 'scripts.policy.test_policy_acl.TestPolicyAclIpv4v6'>
self = <scripts.policy.test_policy_acl.TestPolicyAclIpv...itance_src_pol_dst_any[sanity] id=0x7f36453d64f0>
).test_policy_inheritance_src_pol_dst_any = <bound method TestPolicyAclIpv4v6.test_policy_in...tance_src_pol_dst_any[sanity] id=0x7f36453d64f0>>

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.policy.test_policy_acl.TestPolicyAclIpv...itance_src_pol_dst_any[sanity] id=0x7f36453d64f0>, *args=(), **kwargs={})
174 if 'ci_image' in list(os.environ.keys()):
175 os.environ['stop_execution_flag'] = 'set'
176 raise TestFailed("\n ".join(errmsg))
177 elif testskip:
178 log.info('')
global TestFailed = <class 'tcutils.cores.TestFailed'>
"\n ".join undefined
errmsg = []
TestFailed:
__cause__ = None
__class__ = <class 'tcutils.cores.TestFailed'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of TestFailed object>
__dict__ = {}
__dir__ = <built-in method __dir__ of TestFailed object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of TestFailed object>
__format__ = <built-in method __format__ of TestFailed object>
__ge__ = <method-wrapper '__ge__' of TestFailed object>
__getattribute__ = <method-wrapper '__getattribute__' of TestFailed object>
__gt__ = <method-wrapper '__gt__' of TestFailed object>
__hash__ = <method-wrapper '__hash__' of TestFailed object>
__init__ = <method-wrapper '__init__' of TestFailed object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of TestFailed object>
__lt__ = <method-wrapper '__lt__' of TestFailed object>
__module__ = 'tcutils.cores'
__ne__ = <method-wrapper '__ne__' of TestFailed object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of TestFailed object>
__reduce_ex__ = <built-in method __reduce_ex__ of TestFailed object>
__repr__ = <method-wrapper '__repr__' of TestFailed object>
__setattr__ = <method-wrapper '__setattr__' of TestFailed object>
__setstate__ = <built-in method __setstate__ of TestFailed object>
__sizeof__ = <built-in method __sizeof__ of TestFailed object>
__str__ = <method-wrapper '__str__' of TestFailed object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
args = ('',)
with_traceback = <built-in method with_traceback of TestFailed 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/policy/test_policy_acl.py", line 1454, in test_policy_inheritance_src_pol_dst_any
super(TestPolicyAclIpv4v6, self).test_policy_inheritance_src_pol_dst_any()
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed

208.477 Log File
test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1]Success100.159
test_repeated_policy_modify[sanity]Success164.570
test_multi_vn_repeated_policy_update_with_ping[sanity]Success263.509
test_multi_vn_repeated_policy_update_with_ping[sanity]Success237.864
test_qos_remark_dscp_on_vmi[cb_sanity,sanity]Success75.447
test_rp_interface[ci_sanity,sanity]Success26.889
test_rp_interface_ext_community[sanity]Success25.946
test_rp_interface_static[sanity]Success30.824
test_rp_secondary_routes[sanity]SkippedNeeds MX_GW_TEST to be set0.011
test_rt_CEM_22032[cb_sanity,sanity]Success82.026
test_user_def_rt_entry[cb_sanity,sanity]Success84.148
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 20 03:04:02 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=0x7f3645194430>, *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=0x7f3645194430>
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=0x7f3645194430>)
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-33993354\'] 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-SecurityGroupBasicRegressionTests1Ipv6-31728026", "ctest-test_sec_group-33993354"]} response Name ['default-domain',
'ctest-SecurityGroupBasicRegressionTests1Ipv6-31728026',
'ctest-test_sec_group-33993354'] 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.

183.608 Log File
test_sec_group_basic[sanity,suite1]Success193.406
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 20 03:11:28 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=0x7f36451554f0>, *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=0x7f36451554f0>
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=0x7f36451554f0>)
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-67637543\'] 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-44114009", "ctest-test_sec_group-67637543"]} response Name ['default-domain',
'ctest-SecurityGroupBasicRegressionTests1-44114009',
'ctest-test_sec_group-67637543'] 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.

181.758 Log File
test_svc_in_net_nat_with_static_routes[sanity]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found24.306
test_svc_v2_transparent_datapath[sanity]Skippedimage /contrail-test/images/tinycore-net-transparent-fw.qcow2 is not found15.970
test_svc_CEM_22032[ci_sanity_WIP,quick_sanity,sanity,suite1]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found15.073
test_svc_in_network_datapath[ci_sanity_WIP,quick_sanity,sanity,suite1]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found17.879
test_svc_hc_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found15.229
test_svc_trans_segment_right_hc_fail_svm[sanity]Skippedimage /contrail-test/images/tinycore-net-transparent-fw.qcow2 is not found15.572
test_svc_v2_mirroring[ci_sanity_WIP,quick_sanity,sanity]Success149.587
test_vdns_ping_same_vn[ci_sanity,sanity,suite1]Success203.901
test_sctp_traffic_between_vm[sanity]Success223.235
test_generic_link_local_service[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,dev_sanity_dpdk,sanity,suite1]Success19.734
test_metadata_service[cb_sanity,ci_sanity,sanity,suite1]Success20.362
test_ping_within_vn_two_vms_two_different_subnets[ci_contrail_go_kolla_ocata_sanity,ci_sanity,sanity,suite1]Success41.339
test_ecmp_with_static_routes[cb_sanity,dev_reg,sanity]Success261.653
test_bond_lacp_config[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.564
test_dpdk_bond_status[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.564
test_fbit_disable_mbuf_dpdk[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.577
test_dpdk_gro_gso[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.577
test_mtu_config[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.543
test_vifdump_on_interface[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.581
test_fat_flow_aggr_dest_icmp_intra_vn_inter_node[dev_reg,sanity]Success309.763
test_rt_table_scenario_1[dev_reg,sanity]Success60.655
test_vlan_interface_2[cb_sanity,dev_reg,dev_sanity_dpdk,sanity]Success163.703
test_mtu_probe_intra_node[dev_reg,sanity]Success209.680
test_vif_statistics[dev_reg,sanity]Success110.625
Properties »

Back to top