Test Results

Designed for use with JUnit and Ant.

Properties


Summary

TestsFailuresErrorsSkippedSuccess rateTime
109403994.29%8881.680
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)
10904398881.680

Package

NameTestsErrorsFailuresSkippedTime(s)
280173022.561
8103325859.119
Back to top


TestCase

NameStatusTypeTime(s)LogFile
test_run_contrail_flows_cli_cmds[sanity]Success13.036
test_run_contrail_logs_cli_cmd_with_multiple_different_optional_args[sanity]Success20.580
test_run_contrail_stats_cli_cmds[sanity]Success27.603
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 65.132.122.3
[cirros@169.254.0.5] sudo: ping -s 56 -c 3 -W 1 65.132.122.3
[cirros@169.254.0.5] out: PING 65.132.122.3 (65.132.122.3): 56 data bytes
[cirros@169.254.0.5] out: 64 bytes from 65.132.122.3: seq=0 ttl=63 time=5.874 ms
[cirros@169.254.0.5] out: 64 bytes from 65.132.122.3: seq=1 ttl=63 time=1.525 ms
[cirros@169.254.0.5] out: 64 bytes from 65.132.122.3: seq=2 ttl=63 time=1.464 ms
[cirros@169.254.0.5] out:
[cirros@169.254.0.5] out: --- 65.132.122.3 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.464/2.954/5.874 ms
[cirros@169.254.0.5] 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
Fri Apr 3 18:28:54 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=0x7fcdcd4db5b0>, *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=0x7fcdcd4db5b0>
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=0x7fcdcd4db5b0>)
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=0x7fcdcd4db5b0>
self.verify_session_sampling_teardown = <bound method AnalyticsBaseTest.verify_session_s...ion_sampling_teardown[sanity] id=0x7fcdcd4db5b0>>
start_time = '1775240717024308'
src_vn = 'default-domain:ctest-AnalyticsTestSanityWithResource-59294899:ctest-vn1-30807194'
dst_vn = 'default-domain:ctest-AnalyticsTestSanityWithResource-59294899:ctest-vn2-47699782'

/contrail-test/serial_scripts/analytics/base.py in verify_session_sampling_teardown(self=<serial_scripts.analytics.test_analytics_resourc...sion_sampling_teardown[sanity] id=0x7fcdcd4db5b0>, start_time='1775240717024308', src_vn='default-domain:ctest-AnalyticsTestSanityWithResource-59294899:ctest-vn1-30807194', dst_vn='default-domain:ctest-AnalyticsTestSanityWithResource-59294899:ctest-vn2-47699782')
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 = 12
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.305 Log File
test_basic_as4_ibgp_sanity[sanity]SkippedSkipping Test. At least 1 external router required to run the test2.531
test_basic_bgpaas_local_as[dev_sanity_dpdk,sanity]Success226.194
test_bgp_control_node_zone[sanity]Success243.725
test_bgp_control_node_zones_from_single_vnf[sanity]Success218.395
test_basic_dm[sanity]Skippeddm_mx env needs to be set in testbed.py to run this script2.542
test_apply_policy_fip_on_same_vn_gw_mx[sanity,serial]SkippedSkipping Test. Env variable MX_TEST is not set. Skipping the test2.549
test_with_vxlan_encap_agent_restart[sanity,serial]Success295.670
test_change_of_rt_in_vn[mx_test,sanity,serial]SkippedSkipping Test. Env variable MX_GW_TEST is not set2.532
test_gw_less_fwd_single_vn_ip_fab[cb_sanity,sanity]SkippedSkipping Test. Fabric gateway is required to run the test2.537
test_check_per_peer_on_control[sanity]Success53.094
test_create_md5_on_control[sanity]Success46.353
test_perms2_global_share[ci_sanity,sanity]Success50.571
test_perms2_owner[ci_sanity,sanity,suite1]Success16.497
test_rbac_acl_different_roles[ci_sanity,sanity,suite1]Success17.375
test_rbac_create_delete_vm[sanity,suite1]Success55.340
test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success3.485
test_control_node_switchover[cb_sanity,sanity]Success202.679
test_process_restart_in_policy_between_vns[cb_sanity,sanity]Success391.600
test_underlay_broadcast_traffic_handling[sanity]Success26.982
test_flow_action_drop_stats[dev_reg,sanity]Success78.363
test_fat_flow_aggr_dest_udp_inter_vn_inter_node[dev_reg,sanity]Success333.571
test_fat_flow_intra_vn_inter_node[cb_sanity,sanity]Success252.947
test_precedence_xmpp_auth[sanity]SkippedXmpp auth should be set before running tests2.570
test_undo_xmpp_auth[sanity]SkippedXmpp auth should be set before running tests2.512
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.458
test_create_vm_after_RR_set[sanity]SkippedSkipping Test. Env variable MX_GW_TEST is not set. Skipping the test1.263
test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success1.888
test_db_nodemgr_status[dev_sanity_dpdk,sanity]Success1.863
test_verify_generator_collector_connections[dev_sanity_dpdk,sanity]Success3.422
test_verify_generator_connections_to_collector_node[dev_sanity_dpdk,sanity]Success2.021
test_verify_process_status_agent[cb_sanity,dev_sanity_dpdk,sanity]Success1.285
test_verify_process_status_analytics_node[cb_sanity,dev_sanity_dpdk,sanity]Success1.648
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]Success20.865
test_db_manage[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success5.838
test_analytics_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success1.308
test_config_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity]Success1.311
test_ecmp_hash_src_ip[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.307
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.337
test_ecmp_svc_v2_transparent_with_3_instance[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.432
test_ecmp_svc_in_network_with_static_route_no_policy[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found2.187
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.406
test_ecmp_with_svm_deletion[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.368
test_svc_fate_sharing_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found2.192
test_three_stage_v2_SC[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found1.285
test_svc_fate_sharing_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network.qcow2 is not found3.401
test_floating_ip[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1,vrouter_gw]Success205.941
test_mx_gateway[mx_test,sanity]SkippedSkipping Test. Env variable MX_GW_TEST is not set2.541
test_public_access_thru_svc_w_fip[cb_sanity,sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.596
test_transit_vn_sym_1_innet[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.570
test_public_access_thru_svc_w_fip[cb_sanity,sanity]SkippedSkipped as v6 not supported for this test2.545
test_svc_creation_with_heat[dev_sanity_dpdk,sanity,suite1]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.554
test_svc_creation_with_heat[sanity]SkippedSkipped as test requires at least 3 nodes, but only 2 found2.566
test_router_crud[ci_sanity,dev_sanity_dpdk,sanity]Success9.499
test_ports_bindings[ci_sanity,dev_sanity_dpdk,sanity]Success4.791
test_ports_specific_subnet_ip[ci_sanity,dev_sanity_dpdk,sanity]Success27.324
test_basic_router_behavior[ci_sanity,dev_sanity_dpdk,sanity]Success36.083
test_basic_snat_behavior_without_external_connectivity[ci_sanity,dev_sanity_dpdk,sanity,suite1]Success33.357
test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1]Success139.744
test_policy[quick_sanity,sanity]FailureDetails

Traceback (most recent call last):
testtools.testresult.real._StringException: stdout: {{{
creating project default IPAM ctest-TestBasicPolicyIpv4v6-88854856-default-ipam
[localhost] local: mkdir -p /contrail-test/images
[localhost] local: wget -nv http://nexus.opensdn.io/repository///images/converts//ubuntu-traffic.vmdk.gz -O /contrail-test/images/ubuntu-traffic.vmdk.gz
[localhost] local: gunzip -f /contrail-test/images/ubuntu-traffic.vmdk.gz
[localhost] local: rm -f /contrail-test/images/ubuntu-traffic.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: TestFailed
Python 3.9.25: /usr/bin/python3
Fri Apr 3 17:06: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.policy.test_policy.TestBasicPolicyIpv4v...st_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>, *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 TestBasicPolicyIpv4v6.test_policy>
self = <scripts.policy.test_policy.TestBasicPolicyIpv4v...st_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>
args = ()
kwargs = {}

/contrail-test/scripts/policy/test_policy.py in test_policy(self=<scripts.policy.test_policy.TestBasicPolicyIpv4v...st_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>)
602 @preposttest_wrapper
603 def test_policy(self):
604 super(TestBasicPolicyIpv4v6, self).test_policy()
605
606 @test.attr(type=['sanity', 'quick_sanity'])
builtinsuper = <class 'super'>
global TestBasicPolicyIpv4v6 = <class 'scripts.policy.test_policy.TestBasicPolicyIpv4v6'>
self = <scripts.policy.test_policy.TestBasicPolicyIpv4v...st_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>
).test_policy = <bound method TestBasicPolicyIpv4v6.test_policy ...t_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>>

/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.policy.test_policy.TestBasicPolicyIpv4v...st_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>, *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 = ['Test failed: AssertionError\nPython 3.9.25: /usr/...is_up(),(\nAssertionError: VM Failed to come up\n\n\n']
TestFailed: Test failed: AssertionError
Python 3.9.25: /usr/bin/python3
Fri Apr 3 17:06:24 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.TestBasicPolicyIpv4v...st_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>, *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 TestBasicPolicy.test_policy>
self = <scripts.policy.test_policy.TestBasicPolicyIpv4v...st_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>
args = ()
kwargs = {}

/contrail-test/scripts/policy/test_policy_basic.py in test_policy(self=<scripts.policy.test_policy.TestBasicPolicyIpv4v...st_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>)
57 setup_obj = self.useFixture(
58 sdnTopoSetupFixture(self.connections, topo))
59 out = setup_obj.topo_setup()
60 assertEqual(out['result'], True, out['msg'])
61 if out['result']:
out undefined
setup_obj = <tcutils.topo.sdn_topo_setup.sdnTopoSetupFixture object>
setup_obj.topo_setup = <bound method sdnTopoSetupFixture.topo_setup of ....topo.sdn_topo_setup.sdnTopoSetupFixture object>>

/contrail-test/tcutils/topo/sdn_topo_setup.py in topo_setup(self=<tcutils.topo.sdn_topo_setup.sdnTopoSetupFixture object>, config_option='openstack', skip_verify='no', flavor='contrail_flavor_small', vms_on_single_compute=False, VmToNodeMapping=None)
92 self, config_option, vms_on_single_compute, VmToNodeMapping)
93 else:
94 topo_steps.createVMNova(self, config_option, vms_on_single_compute)
95 topo_steps.createPublicVN(self)
96 topo_steps.verifySystemPolicy(self)
global topo_steps = <module 'tcutils.topo.topo_steps' from '/contrail-test/tcutils/topo/topo_steps.py'>
topo_steps.createVMNova = <function createVMNova>
self = <tcutils.topo.sdn_topo_setup.sdnTopoSetupFixture object>
config_option = 'openstack'
vms_on_single_compute = False

/contrail-test/tcutils/topo/topo_steps.py in createVMNova(self=<tcutils.topo.sdn_topo_setup.sdnTopoSetupFixture object>, option='openstack', vms_on_single_compute=False, VmToNodeMapping=None)
527 "Setup step: Verify VM status and install Traffic package... ")
528 for vm in self.topo.vmc_list:
529 assert self.vm_fixture[vm].wait_till_vm_is_up(),(
530 'VM Failed to come up')
531 #Even though VM verification is not run, we need to set verify_is_run
self = <tcutils.topo.sdn_topo_setup.sdnTopoSetupFixture object>
self.vm_fixture = {'ctest-vmc0-46221518': <VMFixture: ctest-vmc0-46221518>, 'ctest-vmc1-61655037': <VMFixture: ctest-vmc1-61655037>}
vm = 'ctest-vmc1-61655037'
].wait_till_vm_is_up undefined
AssertionError: VM Failed to come up
__cause__ = None
__class__ = <class 'AssertionError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of AssertionError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of AssertionError object>
__doc__ = 'Assertion failed.'
__eq__ = <method-wrapper '__eq__' of AssertionError object>
__format__ = <built-in method __format__ of AssertionError object>
__ge__ = <method-wrapper '__ge__' of AssertionError object>
__getattribute__ = <method-wrapper '__getattribute__' of AssertionError object>
__gt__ = <method-wrapper '__gt__' of AssertionError object>
__hash__ = <method-wrapper '__hash__' of AssertionError object>
__init__ = <method-wrapper '__init__' of AssertionError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of AssertionError object>
__lt__ = <method-wrapper '__lt__' of AssertionError object>
__ne__ = <method-wrapper '__ne__' of AssertionError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of AssertionError object>
__reduce_ex__ = <built-in method __reduce_ex__ of AssertionError object>
__repr__ = <method-wrapper '__repr__' of AssertionError object>
__setattr__ = <method-wrapper '__setattr__' of AssertionError object>
__setstate__ = <built-in method __setstate__ of AssertionError object>
__sizeof__ = <built-in method __sizeof__ of AssertionError object>
__str__ = <method-wrapper '__str__' of AssertionError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ('VM Failed to come up',)
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/policy/test_policy_basic.py", line 59, in test_policy
out = setup_obj.topo_setup()
File "/contrail-test/tcutils/topo/sdn_topo_setup.py", line 94, in topo_setup
topo_steps.createVMNova(self, config_option, vms_on_single_compute)
File "/contrail-test/tcutils/topo/topo_steps.py", line 529, in createVMNova
assert self.vm_fixture[vm].wait_till_vm_is_up(),(
AssertionError: VM Failed to come up



__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 = ('Test failed: AssertionError\nPython 3.9.25: /usr/...is_up(),(\nAssertionError: VM Failed to come up\n\n\n',)
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.py", line 604, in test_policy
super(TestBasicPolicyIpv4v6, self).test_policy()
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
Fri Apr 3 17:06:24 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.TestBasicPolicyIpv4v...st_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>, *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 TestBasicPolicy.test_policy>
self = <scripts.policy.test_policy.TestBasicPolicyIpv4v...st_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>
args = ()
kwargs = {}

/contrail-test/scripts/policy/test_policy_basic.py in test_policy(self=<scripts.policy.test_policy.TestBasicPolicyIpv4v...st_policy[quick_sanity,sanity] id=0x7f8ca6cabbe0>)
57 setup_obj = self.useFixture(
58 sdnTopoSetupFixture(self.connections, topo))
59 out = setup_obj.topo_setup()
60 assertEqual(out['result'], True, out['msg'])
61 if out['result']:
out undefined
setup_obj = <tcutils.topo.sdn_topo_setup.sdnTopoSetupFixture object>
setup_obj.topo_setup = <bound method sdnTopoSetupFixture.topo_setup of ....topo.sdn_topo_setup.sdnTopoSetupFixture object>>

/contrail-test/tcutils/topo/sdn_topo_setup.py in topo_setup(self=<tcutils.topo.sdn_topo_setup.sdnTopoSetupFixture object>, config_option='openstack', skip_verify='no', flavor='contrail_flavor_small', vms_on_single_compute=False, VmToNodeMapping=None)
92 self, config_option, vms_on_single_compute, VmToNodeMapping)
93 else:
94 topo_steps.createVMNova(self, config_option, vms_on_single_compute)
95 topo_steps.createPublicVN(self)
96 topo_steps.verifySystemPolicy(self)
global topo_steps = <module 'tcutils.topo.topo_steps' from '/contrail-test/tcutils/topo/topo_steps.py'>
topo_steps.createVMNova = <function createVMNova>
self = <tcutils.topo.sdn_topo_setup.sdnTopoSetupFixture object>
config_option = 'openstack'
vms_on_single_compute = False

/contrail-test/tcutils/topo/topo_steps.py in createVMNova(self=<tcutils.topo.sdn_topo_setup.sdnTopoSetupFixture object>, option='openstack', vms_on_single_compute=False, VmToNodeMapping=None)
527 "Setup step: Verify VM status and install Traffic package... ")
528 for vm in self.topo.vmc_list:
529 assert self.vm_fixture[vm].wait_till_vm_is_up(),(
530 'VM Failed to come up')
531 #Even though VM verification is not run, we need to set verify_is_run
self = <tcutils.topo.sdn_topo_setup.sdnTopoSetupFixture object>
self.vm_fixture = {'ctest-vmc0-46221518': <VMFixture: ctest-vmc0-46221518>, 'ctest-vmc1-61655037': <VMFixture: ctest-vmc1-61655037>}
vm = 'ctest-vmc1-61655037'
].wait_till_vm_is_up undefined
AssertionError: VM Failed to come up
__cause__ = None
__class__ = <class 'AssertionError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of AssertionError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of AssertionError object>
__doc__ = 'Assertion failed.'
__eq__ = <method-wrapper '__eq__' of AssertionError object>
__format__ = <built-in method __format__ of AssertionError object>
__ge__ = <method-wrapper '__ge__' of AssertionError object>
__getattribute__ = <method-wrapper '__getattribute__' of AssertionError object>
__gt__ = <method-wrapper '__gt__' of AssertionError object>
__hash__ = <method-wrapper '__hash__' of AssertionError object>
__init__ = <method-wrapper '__init__' of AssertionError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of AssertionError object>
__lt__ = <method-wrapper '__lt__' of AssertionError object>
__ne__ = <method-wrapper '__ne__' of AssertionError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of AssertionError object>
__reduce_ex__ = <built-in method __reduce_ex__ of AssertionError object>
__repr__ = <method-wrapper '__repr__' of AssertionError object>
__setattr__ = <method-wrapper '__setattr__' of AssertionError object>
__setstate__ = <built-in method __setstate__ of AssertionError object>
__sizeof__ = <built-in method __sizeof__ of AssertionError object>
__str__ = <method-wrapper '__str__' of AssertionError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ('VM Failed to come up',)
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/policy/test_policy_basic.py", line 59, in test_policy
out = setup_obj.topo_setup()
File "/contrail-test/tcutils/topo/sdn_topo_setup.py", line 94, in topo_setup
topo_steps.createVMNova(self, config_option, vms_on_single_compute)
File "/contrail-test/tcutils/topo/topo_steps.py", line 529, in createVMNova
assert self.vm_fixture[vm].wait_till_vm_is_up(),(
AssertionError: VM Failed to come up

604.902 Log File
test_policy_to_deny[quick_sanity,sanity]Success95.986
test_policy_modify_vn_policy[sanity]Success106.796
test_remove_policy_with_ref[ci_sanity,sanity]Success9.416
test_policy_inheritance_src_vn_dst_pol[cb_sanity,sanity,vrouter_gw]Success162.628
test_policy_inheritance_src_pol_dst_any[sanity]Success148.156
test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1]Success127.376
test_repeated_policy_modify[sanity]Success138.996
test_multi_vn_repeated_policy_update_with_ping[sanity]Success266.005
test_multi_vn_repeated_policy_update_with_ping[sanity]Success266.036
test_qos_remark_dscp_on_vmi[cb_sanity,sanity]Success42.106
test_rp_interface[ci_sanity,sanity]Success26.804
test_rp_interface_ext_community[sanity]Success25.968
test_rp_interface_static[sanity]Success31.015
test_rp_secondary_routes[sanity]SkippedNeeds MX_GW_TEST to be set0.002
test_rt_CEM_22032[cb_sanity,sanity]Success79.969
test_user_def_rt_entry[cb_sanity,sanity]Success89.361
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
Fri Apr 3 17:37:16 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=0x7f8ca6b0c400>, *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=0x7f8ca6b0c400>
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=0x7f8ca6b0c400>)
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-21734952\'] 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-36520723", "ctest-test_sec_group-21734952"]} response Name ['default-domain',
'ctest-SecurityGroupBasicRegressionTests1Ipv6-36520723',
'ctest-test_sec_group-21734952'] 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.

184.593 Log File
test_sec_group_basic[sanity,suite1]Success254.418
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
Fri Apr 3 17:45:46 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=0x7f8ca6acd4c0>, *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=0x7f8ca6acd4c0>
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=0x7f8ca6acd4c0>)
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-41192511\'] 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-63886609", "ctest-test_sec_group-41192511"]} response Name ['default-domain',
'ctest-SecurityGroupBasicRegressionTests1-63886609',
'ctest-test_sec_group-41192511'] 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.

184.730 Log File
test_svc_in_net_nat_with_static_routes[sanity]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found24.226
test_svc_v2_transparent_datapath[sanity]Skippedimage /contrail-test/images/tinycore-net-transparent-fw.qcow2 is not found15.654
test_svc_CEM_22032[ci_sanity_WIP,quick_sanity,sanity,suite1]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found15.222
test_svc_in_network_datapath[ci_sanity_WIP,quick_sanity,sanity,suite1]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found18.049
test_svc_hc_basic[sanity]Skippedimage /contrail-test/images/tinycore-in-network-nat.qcow2 is not found14.697
test_svc_trans_segment_right_hc_fail_svm[sanity]Skippedimage /contrail-test/images/tinycore-net-transparent-fw.qcow2 is not found15.602
test_svc_v2_mirroring[ci_sanity_WIP,quick_sanity,sanity]Success175.491
test_vdns_ping_same_vn[ci_sanity,sanity,suite1]Success200.472
test_sctp_traffic_between_vm[sanity]Success216.060
test_generic_link_local_service[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,dev_sanity_dpdk,sanity,suite1]Success20.028
test_metadata_service[cb_sanity,ci_sanity,sanity,suite1]Success26.172
test_ping_within_vn_two_vms_two_different_subnets[ci_contrail_go_kolla_ocata_sanity,ci_sanity,sanity,suite1]Success41.170
test_ecmp_with_static_routes[cb_sanity,dev_reg,sanity]Success292.990
test_bond_lacp_config[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.586
test_dpdk_bond_status[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.561
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.625
test_mtu_config[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.605
test_vifdump_on_interface[dev_reg,sanity]SkippedSkipped as test is not supported if dpdk_cluster=False 2.595
test_fat_flow_aggr_dest_icmp_intra_vn_inter_node[dev_reg,sanity]Success298.199
test_rt_table_scenario_1[dev_reg,sanity]Success46.597
test_vlan_interface_2[cb_sanity,dev_reg,dev_sanity_dpdk,sanity]Success181.104
test_mtu_probe_intra_node[dev_reg,sanity]Success167.790
test_vif_statistics[dev_reg,sanity]Success139.153
Properties »

Back to top