| Name | Status | Type | Time(s) | LogFile |
| test_run_contrail_flows_cli_cmds[sanity] | Success | | 15.521 | |
| test_run_contrail_logs_cli_cmd_with_multiple_different_optional_args[sanity] | Success | | 22.622 | |
| test_run_contrail_stats_cli_cmds[sanity] | Success | | 30.041 | |
| test_verify_session_sampling_teardown[sanity] | Failure | Details
Traceback (most recent call last):
testtools.testresult.real._StringException: stdout: {{{
[cirros@169.254.0.5] sudo: ping -s 56 -c 3 -W 1 216.156.71.195
[cirros@169.254.0.5] sudo: ping -s 56 -c 3 -W 1 216.156.71.195
[cirros@169.254.0.5] out: PING 216.156.71.195 (216.156.71.195): 56 data bytes
[cirros@169.254.0.5] out: 64 bytes from 216.156.71.195: seq=0 ttl=63 time=4.852 ms
[cirros@169.254.0.5] out: 64 bytes from 216.156.71.195: seq=1 ttl=63 time=1.983 ms
[cirros@169.254.0.5] out: 64 bytes from 216.156.71.195: seq=2 ttl=63 time=1.494 ms
[cirros@169.254.0.5] out:
[cirros@169.254.0.5] out: --- 216.156.71.195 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.494/2.776/4.852 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
Wed May 20 16:31:23 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=0x7fa7dd8bb5b0>, *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=0x7fa7dd8bb5b0>
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=0x7fa7dd8bb5b0>)
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=0x7fa7dd8bb5b0>
self.verify_session_sampling_teardown = <bound method AnalyticsBaseTest.verify_session_s...ion_sampling_teardown[sanity] id=0x7fa7dd8bb5b0>>
start_time = '1779294466208668'
src_vn = 'default-domain:ctest-AnalyticsTestSanityWithResource-76328617:ctest-vn1-59722768'
dst_vn = 'default-domain:ctest-AnalyticsTestSanityWithResource-76328617:ctest-vn2-50834622'
/contrail-test/serial_scripts/analytics/base.py in verify_session_sampling_teardown(self=<serial_scripts.analytics.test_analytics_resourc...sion_sampling_teardown[sanity] id=0x7fa7dd8bb5b0>, start_time='1779294466208668', src_vn='default-domain:ctest-AnalyticsTestSanityWithResource-76328617:ctest-vn1-59722768', dst_vn='default-domain:ctest-AnalyticsTestSanityWithResource-76328617:ctest-vn2-50834622')
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
| 224.228 |
Log File
|
| test_basic_as4_ibgp_sanity[sanity] | Skipped | Skipping Test. At least 1 external router required to run the test | 2.582 | |
| test_basic_bgpaas_local_as[dev_sanity_dpdk,sanity] | Success | | 259.450 | |
| test_bgp_control_node_zone[sanity] | Success | | 277.458 | |
| test_bgp_control_node_zones_from_single_vnf[sanity] | Success | | 242.717 | |
| test_basic_dm[sanity] | Skipped | dm_mx env needs to be set in testbed.py to run this script | 2.569 | |
| test_apply_policy_fip_on_same_vn_gw_mx[sanity,serial] | Skipped | Skipping Test. Env variable MX_TEST is not set. Skipping the test | 2.584 | |
| test_with_vxlan_encap_agent_restart[sanity,serial] | Success | | 307.227 | |
| test_change_of_rt_in_vn[mx_test,sanity,serial] | Skipped | Skipping Test. Env variable MX_GW_TEST is not set | 2.619 | |
| test_gw_less_fwd_single_vn_ip_fab[cb_sanity,sanity] | Skipped | Skipping Test. Fabric gateway is required to run the test | 2.604 | |
| test_check_per_peer_on_control[sanity] | Success | | 56.320 | |
| test_create_md5_on_control[sanity] | Success | | 55.840 | |
| test_perms2_global_share[ci_sanity,sanity] | Success | | 64.641 | |
| test_perms2_owner[ci_sanity,sanity,suite1] | Success | | 20.129 | |
| test_rbac_acl_different_roles[ci_sanity,sanity,suite1] | Success | | 21.576 | |
| test_rbac_create_delete_vm[sanity,suite1] | Success | | 67.395 | |
| test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity] | Success | | 3.587 | |
| test_control_node_switchover[cb_sanity,sanity] | Success | | 237.778 | |
| test_process_restart_in_policy_between_vns[cb_sanity,sanity] | Success | | 426.235 | |
| test_underlay_broadcast_traffic_handling[sanity] | Success | | 27.188 | |
| test_flow_action_drop_stats[dev_reg,sanity] | Success | | 77.922 | |
| test_fat_flow_aggr_dest_udp_inter_vn_inter_node[dev_reg,sanity] | Success | | 390.852 | |
| test_fat_flow_intra_vn_inter_node[cb_sanity,sanity] | Success | | 243.305 | |
| test_precedence_xmpp_auth[sanity] | Skipped | Xmpp auth should be set before running tests | 2.623 | |
| test_undo_xmpp_auth[sanity] | Skipped | Xmpp auth should be set before running tests | 2.563 | |
| Name | Status | Type | Time(s) | LogFile |
| test_basic_RR[sanity] | Skipped | Skipping Test. Env variable MX_GW_TEST is not set. Skipping the test | 1.544 | |
| test_create_vm_after_RR_set[sanity] | Skipped | Skipping Test. Env variable MX_GW_TEST is not set. Skipping the test | 1.390 | |
| test_contrail_status[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity] | Success | | 2.080 | |
| test_db_nodemgr_status[dev_sanity_dpdk,sanity] | Success | | 2.079 | |
| test_verify_generator_collector_connections[dev_sanity_dpdk,sanity] | Success | | 3.755 | |
| test_verify_generator_connections_to_collector_node[dev_sanity_dpdk,sanity] | Success | | 2.382 | |
| test_verify_process_status_agent[cb_sanity,dev_sanity_dpdk,sanity] | Success | | 1.422 | |
| test_verify_process_status_analytics_node[cb_sanity,dev_sanity_dpdk,sanity] | Success | | 1.929 | |
| test_verify_process_status_control_node[cb_sanity,dev_sanity_dpdk,sanity] | Success | | 1.448 | |
| test_verify_object_logs[ci_sanity,dev_sanity_dpdk,sanity,suite1] | Success | | 28.318 | |
| test_db_manage[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity] | Success | | 7.518 | |
| test_analytics_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity] | Success | | 1.372 | |
| test_config_docs[cb_sanity,ci_sanity,dev_sanity_dpdk,sanity] | Success | | 1.372 | |
| test_ecmp_hash_src_ip[sanity] | Skipped | Skipped as test requires at least 3 nodes, but only 2 found | 1.481 | |
| test_ecmp_svc_v2_in_network_nat_with_3_instance[cb_sanity,sanity] | Skipped | Skipped as test requires at least 3 nodes, but only 2 found | 1.398 | |
| test_ecmp_svc_in_network_with_static_route_no_policy[sanity] | Skipped | image /contrail-test/images/tinycore-in-network.qcow2 is not found | 3.016 | |
| test_ecmp_svc_v2_transparent_with_3_instance[cb_sanity,sanity] | Skipped | Skipped as test requires at least 3 nodes, but only 2 found | 1.824 | |
| test_ecmp_svc_in_network_with_static_route_no_policy[sanity] | Skipped | image /contrail-test/images/tinycore-in-network.qcow2 is not found | 2.357 | |
| test_ecmp_svc_v2_transparent_with_3_instance[cb_sanity,sanity] | Skipped | Skipped as test requires at least 3 nodes, but only 2 found | 1.425 | |
| test_ecmp_svc_in_network_with_3_instance[cb_sanity,sanity] | Skipped | Skipped as test requires at least 3 nodes, but only 2 found | 1.473 | |
| test_ecmp_with_svm_deletion[sanity] | Skipped | Skipped as test requires at least 3 nodes, but only 2 found | 1.409 | |
| test_svc_fate_sharing_basic[sanity] | Skipped | image /contrail-test/images/tinycore-in-network.qcow2 is not found | 2.290 | |
| test_three_stage_v2_SC[sanity] | Skipped | Skipped as test requires at least 3 nodes, but only 2 found | 1.383 | |
| test_svc_fate_sharing_basic[sanity] | Skipped | image /contrail-test/images/tinycore-in-network.qcow2 is not found | 3.639 | |
| test_floating_ip[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1,vrouter_gw] | Success | | 248.690 | |
| test_mx_gateway[mx_test,sanity] | Skipped | Skipping Test. Env variable MX_GW_TEST is not set | 2.620 | |
| test_public_access_thru_svc_w_fip[cb_sanity,sanity] | Skipped | Skipped as test requires at least 3 nodes, but only 2 found | 2.706 | |
| test_transit_vn_sym_1_innet[sanity] | Skipped | Skipped as test requires at least 3 nodes, but only 2 found | 2.611 | |
| test_public_access_thru_svc_w_fip[cb_sanity,sanity] | Skipped | Skipped as v6 not supported for this test | 2.644 | |
| test_svc_creation_with_heat[dev_sanity_dpdk,sanity,suite1] | Skipped | Skipped as test requires at least 3 nodes, but only 2 found | 2.799 | |
| test_svc_creation_with_heat[sanity] | Skipped | Skipped as test requires at least 3 nodes, but only 2 found | 2.659 | |
| test_router_crud[ci_sanity,dev_sanity_dpdk,sanity] | Success | | 11.615 | |
| test_ports_bindings[ci_sanity,dev_sanity_dpdk,sanity] | Success | | 5.227 | |
| test_ports_specific_subnet_ip[ci_sanity,dev_sanity_dpdk,sanity] | Success | | 30.946 | |
| test_basic_router_behavior[ci_sanity,dev_sanity_dpdk,sanity] | Success | | 47.613 | |
| test_basic_snat_behavior_without_external_connectivity[ci_sanity,dev_sanity_dpdk,sanity,suite1] | Success | | 34.122 | |
| test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1] | Success | | 161.063 | |
| test_policy[quick_sanity,sanity] | Success | | 265.000 | |
| test_policy_to_deny[quick_sanity,sanity] | Success | | 157.740 | |
| test_policy_modify_vn_policy[sanity] | Success | | 103.619 | |
| test_remove_policy_with_ref[ci_sanity,sanity] | Success | | 11.289 | |
| test_policy_inheritance_src_vn_dst_pol[cb_sanity,sanity,vrouter_gw] | Success | | 218.478 | |
| test_policy_inheritance_src_pol_dst_any[sanity] | Success | | 177.012 | |
| test_basic_policy_allow_deny[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,sanity,suite1] | Success | | 148.938 | |
| test_repeated_policy_modify[sanity] | Success | | 174.232 | |
| test_multi_vn_repeated_policy_update_with_ping[sanity] | Success | | 265.463 | |
| test_multi_vn_repeated_policy_update_with_ping[sanity] | Success | | 236.820 | |
| test_qos_remark_dscp_on_vmi[cb_sanity,sanity] | Success | | 45.337 | |
| test_rp_interface[ci_sanity,sanity] | Success | | 34.222 | |
| test_rp_interface_ext_community[sanity] | Success | | 34.545 | |
| test_rp_interface_static[sanity] | Success | | 33.176 | |
| test_rp_secondary_routes[sanity] | Skipped | Needs MX_GW_TEST to be set | 0.006 | |
| test_rt_CEM_22032[cb_sanity,sanity] | Success | | 88.236 | |
| test_user_def_rt_entry[cb_sanity,sanity] | Success | | 104.993 | |
| test_sec_group_basic[sanity,suite1] | Success | | 339.770 | |
| test_sec_group_basic[sanity,suite1] | Failure | Details
Traceback (most recent call last):
testtools.testresult.real._StringException: stderr: {{{Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 190.90.76.68'!}}}
stdout: {{{
[ubuntu@169.254.0.4] sudo: ping -s 56 -c 3 -W 1 190.90.76.68
[ubuntu@169.254.0.4] out: sudo: unable to resolve host ctest-securitygroupbasicregressiontests1-contrail-69954729-8753
[ubuntu@169.254.0.4] out: PING 190.90.76.68 (190.90.76.68) 56(84) bytes of data.
[ubuntu@169.254.0.4] out:
[ubuntu@169.254.0.4] out: --- 190.90.76.68 ping statistics ---
[ubuntu@169.254.0.4] out: 3 packets transmitted, 0 received, 100% packet loss, time 2001ms
[ubuntu@169.254.0.4] out:
[ubuntu@169.254.0.4] out:
[ubuntu@169.254.0.4] sudo: nohup rm -f testfile;ls -la;nc -ll -p 10000 > testfile &
[ubuntu@169.254.0.4] out: sudo: unable to resolve host ctest-securitygroupbasicregressiontests1-contrail-69954729-2283
[ubuntu@169.254.0.4] out: total 132
[ubuntu@169.254.0.4] out: drwxr-xr-x 11 ubuntu ubuntu 4096 Dec 29 2017 .
[ubuntu@169.254.0.4] out: drwxr-xr-x 3 root root 4096 Jan 4 2013 ..
[ubuntu@169.254.0.4] out: -rw------- 1 ubuntu ubuntu 2689 Dec 29 2017 .bash_history
[ubuntu@169.254.0.4] out: -rw-r--r-- 1 ubuntu ubuntu 220 Apr 3 2012 .bash_logout
[ubuntu@169.254.0.4] out: -rw-r--r-- 1 ubuntu ubuntu 3486 Apr 3 2012 .bashrc
[ubuntu@169.254.0.4] out: drwx------ 2 ubuntu ubuntu 4096 Jan 9 2013 .cache
[ubuntu@169.254.0.4] out: -rwxrwxr-x 1 ubuntu ubuntu 1431 Feb 5 2015 flow_test_pktgen.sh
[ubuntu@169.254.0.4] out: drwxr-xr-x 2 ubuntu ubuntu 4096 Jan 9 2013 .fontconfig
[ubuntu@169.254.0.4] out: drwxrwxr-x 2 ubuntu ubuntu 4096 Jan 9 2013 .fvwm
[ubuntu@169.254.0.4] out: drwxrwxr-x 3 ubuntu ubuntu 4096 Nov 29 2016 .jenkins
[ubuntu@169.254.0.4] out: -rw------- 1 ubuntu ubuntu 52 Jul 2 2014 .lesshst
[ubuntu@169.254.0.4] out: drwx------ 4 ubuntu ubuntu 4096 Jan 9 2013 .mozilla
[ubuntu@169.254.0.4] out: -rwxrwxr-x 1 ubuntu ubuntu 1378 Jun 27 2014 pktgen_new.sh
[ubuntu@169.254.0.4] out: -rw-r--r-- 1 ubuntu ubuntu 675 Apr 3 2012 .profile
[ubuntu@169.254.0.4] out: drwxr-xr-x 2 ubuntu ubuntu 4096 Jun 27 2014 scr
[ubuntu@169.254.0.4] out: drwx------ 2 ubuntu ubuntu 4096 Feb 3 2015 .ssh
[ubuntu@169.254.0.4] out: -rw-r--r-- 1 ubuntu ubuntu 0 Jan 9 2013 .sudo_as_admin_successful
[ubuntu@169.254.0.4] out: drwxr-xr-x 2 ubuntu ubuntu 4096 Jun 27 2014 traffic
[ubuntu@169.254.0.4] out: drwxr-xr-x 4 root root 4096 Jun 27 2014 traffic-1.0
[ubuntu@169.254.0.4] out: -rw-rw-r-- 1 ubuntu ubuntu 16361 Jan 9 2015 traffic-1.0.tar.gz
[ubuntu@169.254.0.4] out: -rw------- 1 root root 4695 Dec 17 2017 .viminfo
[ubuntu@169.254.0.4] out: -rw------- 1 ubuntu ubuntu 152 Jul 2 2014 .Xauthority
[ubuntu@169.254.0.4] out: -rw------- 1 ubuntu ubuntu 29828 Jan 9 2013 .xsession-errors
[ubuntu@169.254.0.4] out:
[ubuntu@169.254.0.4] sudo: nohup nc -ll 10000 > testfile &
[ubuntu@169.254.0.4] out: sudo: unable to resolve host ctest-securitygroupbasicregressiontests1-contrail-69954729-2283
[ubuntu@169.254.0.4] out:
[ubuntu@169.254.0.4] sudo: dd bs=100 count=1 if=/dev/zero of=testfile;nc -p 10001 190.90.76.68 10000 < testfile
[ubuntu@169.254.0.4] out: sudo: unable to resolve host ctest-securitygroupbasicregressiontests1-contrail-69954729-8753
[ubuntu@169.254.0.4] out: 1+0 records in
[ubuntu@169.254.0.4] out: 1+0 records out
[ubuntu@169.254.0.4] out: 100 bytes (100 B) copied, 0.00108136 s, 92.5 kB/s
[ubuntu@169.254.0.4] out:
[ubuntu@169.254.0.4] run: ls -l testfile
[ubuntu@169.254.0.4] out: -rw-r--r-- 1 root root 100 May 20 15:39 testfile
[ubuntu@169.254.0.4] out:
[ubuntu@169.254.0.4] sudo: ping -s 56 -c 3 -W 1 190.90.76.68
[ubuntu@169.254.0.4] out: sudo: unable to resolve host ctest-securitygroupbasicregressiontests1-contrail-69954729-8753
[ubuntu@169.254.0.4] out: PING 190.90.76.68 (190.90.76.68) 56(84) bytes of data.
[ubuntu@169.254.0.4] out: 64 bytes from 190.90.76.68: icmp_req=1 ttl=64 time=3.49 ms
[ubuntu@169.254.0.4] out: 64 bytes from 190.90.76.68: icmp_req=2 ttl=64 time=1.33 ms
[ubuntu@169.254.0.4] out: 64 bytes from 190.90.76.68: icmp_req=3 ttl=64 time=1.27 ms
[ubuntu@169.254.0.4] out:
[ubuntu@169.254.0.4] out: --- 190.90.76.68 ping statistics ---
[ubuntu@169.254.0.4] out: 3 packets transmitted, 3 received, 0% packet loss, time 2004ms
[ubuntu@169.254.0.4] out: rtt min/avg/max/mdev = 1.278/2.037/3.496/1.032 ms
[ubuntu@169.254.0.4] out:
}}}
Traceback (most recent call last):
File "/contrail-test/scripts/securitygroup/test_regression.py", line 2077, in test_sec_group_basic
super(SecurityGroupBasicRegressionTests1_contrail, 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: RefsExistError
Python 3.9.25: /usr/bin/python3
Wed May 20 15:39:55 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=0x7f75be170b50>, *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=0x7f75be170b50>
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=0x7f75be170b50>)
152 sg_fixture.quantum_h.delete_security_group(sg_fixture.secgrp_id)
153 else:
154 sg_fixture.cleanUp()
155 try:
156 self.vnc_lib.security_group_read(fq_name=sg_fixture.secgrp_fq_name)
sg_fixture = <security_group.SecurityGroupFixture object>
sg_fixture.cleanUp = <bound method SecurityGroupFixture.cleanUp of <security_group.SecurityGroupFixture object>>
/contrail-test/fixtures/security_group.py in cleanUp(self=<security_group.SecurityGroupFixture object>)
85
86 def cleanUp(self):
87 self.delete()
88 super(SecurityGroupFixture, self).cleanUp()
89
self = <security_group.SecurityGroupFixture object>
self.delete = <bound method SecurityGroupFixture.delete of <security_group.SecurityGroupFixture object>>
/contrail-test/fixtures/security_group.py in delete(self=<security_group.SecurityGroupFixture object>, verify=False)
100 if self.inputs.is_gui_based_config():
101 self.webui.delete_security_group(self)
102 self.orch.delete_security_group(sg_id=self.secgrp_id, option=self.option)
103 if self.verify_is_run or verify:
104 result, msg = self.verify_on_cleanup()
self = <security_group.SecurityGroupFixture object>
self.orch = <openstack.OpenstackOrchestrator object>
self.orch.delete_security_group = <bound method OpenstackOrchestrator.delete_secur...roup of <openstack.OpenstackOrchestrator object>>
sg_id undefined
self.secgrp_id = 'ad383a5d-6290-426d-b66e-7611fa707784'
option undefined
self.option = 'contrail'
/contrail-test/fixtures/openstack.py in delete_security_group(self=<openstack.OpenstackOrchestrator object>, sg_id='ad383a5d-6290-426d-b66e-7611fa707784', option='contrail', **kwargs={})
267 def delete_security_group(self, sg_id, option='orch', **kwargs):
268 if option == 'contrail':
269 return super(OpenstackOrchestrator, self).delete_security_group(sg_id=sg_id, **kwargs)
270 self.quantum_h.delete_security_group(sg_id)
271
builtinsuper = <class 'super'>
global OpenstackOrchestrator = <class 'openstack.OpenstackOrchestrator'>
self = <openstack.OpenstackOrchestrator object>
).delete_security_group = <bound method OpenstackOrchestrator.delete_secur...roup of <openstack.OpenstackOrchestrator object>>
sg_id = 'ad383a5d-6290-426d-b66e-7611fa707784'
kwargs = {}
/contrail-test/fixtures/orchestrator.py in delete_security_group(self=<openstack.OpenstackOrchestrator object>, sg_id='ad383a5d-6290-426d-b66e-7611fa707784', **kwargs={})
177
178 def delete_security_group(self, sg_id, **kwargs):
179 return self.vnc_h.delete_security_group(sg_id, **kwargs)
180
181 def get_security_group(self, sg_id, **kwargs):
self = <openstack.OpenstackOrchestrator object>
self.vnc_h = <contrailapi.ContrailVncApi object>
self.vnc_h.delete_security_group = <bound method ContrailVncApi.delete_security_group of <contrailapi.ContrailVncApi object>>
sg_id = 'ad383a5d-6290-426d-b66e-7611fa707784'
kwargs = {}
/contrail-test/fixtures/contrailapi.py in delete_security_group(self=<contrailapi.ContrailVncApi object>, sg_id='ad383a5d-6290-426d-b66e-7611fa707784', **kwargs={})
254
255 def delete_security_group(self, sg_id, **kwargs):
256 self._vnc.security_group_delete(id=sg_id)
257
258 def get_security_group(self, sg_id, **kwargs):
self = <contrailapi.ContrailVncApi object>
self._vnc = <vnc_api_test.TestVncApi object>
self._vnc.security_group_delete = functools.partial(<bound method VncApi._object_d...Api object at 0x7f75b67bc400>>, 'security-group')
builtinid = <built-in function id>
sg_id = 'ad383a5d-6290-426d-b66e-7611fa707784'
/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in wrapper(self=<vnc_api_test.TestVncApi object>, *args=('security-group',), **kwargs={'id': 'ad383a5d-6290-426d-b66e-7611fa707784'})
50 retry_on_error=False)
51 self._parse_homepage(homepage)
52 return func(self, *args, **kwargs)
53 return wrapper
54
func = <function VncApi._object_delete>
self = <vnc_api_test.TestVncApi object>
args = ('security-group',)
kwargs = {'id': 'ad383a5d-6290-426d-b66e-7611fa707784'}
/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in _object_delete(self=<vnc_api_test.TestVncApi object>, res_type='security-group', fq_name=None, id='ad383a5d-6290-426d-b66e-7611fa707784', ifmap_id=None)
861 uri = obj_cls.resource_uri_base[res_type] + '/' + id
862
863 self._request_server(OP_DELETE, uri)
864 # end _object_delete
865
self = <vnc_api_test.TestVncApi object>
self._request_server = <bound method VncApi._request_server of <vnc_api_test.TestVncApi object>>
global OP_DELETE = 4
uri = '/security-group/ad383a5d-6290-426d-b66e-7611fa707784'
/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in _request_server(self=<vnc_api_test.TestVncApi object>, op=4, url='/security-group/ad383a5d-6290-426d-b66e-7611fa707784', data=None, retry_on_error=True, retry_after_authn=False, retry_count=30)
1124 raise ConnectionError("Unable to retrive the api server root url.")
1125
1126 return self._request(
1127 op, url, data=data, retry_on_error=retry_on_error,
1128 retry_after_authn=retry_after_authn, retry_count=retry_count)
self = <vnc_api_test.TestVncApi object>
self._request = <bound method VncApi._request of <vnc_api_test.TestVncApi object>>
op = 4
url = '/security-group/ad383a5d-6290-426d-b66e-7611fa707784'
data = None
retry_on_error = True
retry_after_authn = False
retry_count = 30
/usr/local/lib/python3.9/site-packages/vnc_api/vnc_api.py in _request(self=<vnc_api_test.TestVncApi object>, op=4, url='/security-group/ad383a5d-6290-426d-b66e-7611fa707784', data=None, retry_on_error=True, retry_after_authn=False, retry_count=30)
1185 raise OverQuota(content)
1186 elif status == 409:
1187 raise RefsExistError(content)
1188 elif status == 413:
1189 raise RequestSizeError(content)
global RefsExistError = <class 'vnc_api.exceptions.RefsExistError'>
content = "Delete when resource still referred: ['http://10...-interface/faae20c2-3c55-481f-99e5-66d1661ef2b0']"
RefsExistError: Delete when resource still referred: ['http://10.0.0.56:8082/virtual-machine-interface/a5808b4a-5f0e-4518-bfde-80a94cfa5ddd', 'http://10.0.0.56:8082/virtual-machine-interface/faae20c2-3c55-481f-99e5-66d1661ef2b0']
__cause__ = None
__class__ = <class 'vnc_api.exceptions.RefsExistError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of RefsExistError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of RefsExistError object>
__doc__ = None
__eq__ = <method-wrapper '__eq__' of RefsExistError object>
__format__ = <built-in method __format__ of RefsExistError object>
__ge__ = <method-wrapper '__ge__' of RefsExistError object>
__getattribute__ = <method-wrapper '__getattribute__' of RefsExistError object>
__gt__ = <method-wrapper '__gt__' of RefsExistError object>
__hash__ = <method-wrapper '__hash__' of RefsExistError object>
__init__ = <method-wrapper '__init__' of RefsExistError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of RefsExistError object>
__lt__ = <method-wrapper '__lt__' of RefsExistError object>
__module__ = 'vnc_api.exceptions'
__ne__ = <method-wrapper '__ne__' of RefsExistError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of RefsExistError object>
__reduce_ex__ = <built-in method __reduce_ex__ of RefsExistError object>
__repr__ = <method-wrapper '__repr__' of RefsExistError object>
__setattr__ = <method-wrapper '__setattr__' of RefsExistError object>
__setstate__ = <built-in method __setstate__ of RefsExistError object>
__sizeof__ = <built-in method __sizeof__ of RefsExistError object>
__str__ = <method-wrapper '__str__' of RefsExistError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
__weakref__ = None
args = ("Delete when resource still referred: ['http://10...-interface/faae20c2-3c55-481f-99e5-66d1661ef2b0']",)
with_traceback = <built-in method with_traceback of RefsExistError object>
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/securitygroup/test_regression_basic.py", line 154, in test_sec_group_basic
sg_fixture.cleanUp()
File "/contrail-test/fixtures/security_group.py", line 87, in cleanUp
self.delete()
File "/contrail-test/fixtures/security_group.py", line 102, in delete
self.orch.delete_security_group(sg_id=self.secgrp_id, option=self.option)
File "/contrail-test/fixtures/openstack.py", line 269, in delete_security_group
return super(OpenstackOrchestrator, self).delete_security_group(sg_id=sg_id, **kwargs)
File "/contrail-test/fixtures/orchestrator.py", line 179, in delete_security_group
return self.vnc_h.delete_security_group(sg_id, **kwargs)
File "/contrail-test/fixtures/contrailapi.py", line 256, in delete_security_group
self._vnc.security_group_delete(id=sg_id)
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 863, in _object_delete
self._request_server(OP_DELETE, uri)
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 1187, in _request
raise RefsExistError(content)
vnc_api.exceptions.RefsExistError: Delete when resource still referred: ['http://10.0.0.56:8082/virtual-machine-interface/a5808b4a-5f0e-4518-bfde-80a94cfa5ddd', 'http://10.0.0.56:8082/virtual-machine-interface/faae20c2-3c55-481f-99e5-66d1661ef2b0']
| 274.523 |
Log File
|
| test_sec_group_basic[cb_sanity,ci_contrail_go_kolla_ocata_sanity,sanity,suite1] | Success | | 297.808 | |
| test_svc_in_net_nat_with_static_routes[sanity] | Skipped | image /contrail-test/images/tinycore-in-network-nat.qcow2 is not found | 28.830 | |
| test_svc_v2_transparent_datapath[sanity] | Skipped | image /contrail-test/images/tinycore-net-transparent-fw.qcow2 is not found | 18.494 | |
| test_svc_CEM_22032[ci_sanity_WIP,quick_sanity,sanity,suite1] | Skipped | image /contrail-test/images/tinycore-in-network-nat.qcow2 is not found | 18.995 | |
| test_svc_in_network_datapath[ci_sanity_WIP,quick_sanity,sanity,suite1] | Skipped | image /contrail-test/images/tinycore-in-network-nat.qcow2 is not found | 14.978 | |
| test_svc_hc_basic[sanity] | Skipped | image /contrail-test/images/tinycore-in-network-nat.qcow2 is not found | 20.122 | |
| test_svc_trans_segment_right_hc_fail_svm[sanity] | Skipped | image /contrail-test/images/tinycore-net-transparent-fw.qcow2 is not found | 19.719 | |
| test_svc_v2_mirroring[ci_sanity_WIP,quick_sanity,sanity] | Success | | 160.759 | |
| test_vdns_ping_same_vn[ci_sanity,sanity,suite1] | Success | | 230.339 | |
| test_sctp_traffic_between_vm[sanity] | Success | | 253.999 | |
| test_generic_link_local_service[cb_sanity,ci_contrail_go_kolla_ocata_sanity,ci_sanity,dev_sanity_dpdk,sanity,suite1] | Success | | 26.567 | |
| test_metadata_service[cb_sanity,ci_sanity,sanity,suite1] | Success | | 24.009 | |
| test_ping_within_vn_two_vms_two_different_subnets[ci_contrail_go_kolla_ocata_sanity,ci_sanity,sanity,suite1] | Success | | 47.115 | |
| test_ecmp_with_static_routes[cb_sanity,dev_reg,sanity] | Success | | 341.516 | |
| test_bond_lacp_config[dev_reg,sanity] | Skipped | Skipped as test is not supported if dpdk_cluster=False | 2.648 | |
| test_dpdk_bond_status[dev_reg,sanity] | Skipped | Skipped as test is not supported if dpdk_cluster=False | 2.641 | |
| test_fbit_disable_mbuf_dpdk[dev_reg,sanity] | Skipped | Skipped as test is not supported if dpdk_cluster=False | 2.663 | |
| test_dpdk_gro_gso[dev_reg,sanity] | Skipped | Skipped as test is not supported if dpdk_cluster=False | 2.688 | |
| test_mtu_config[dev_reg,sanity] | Skipped | Skipped as test is not supported if dpdk_cluster=False | 2.632 | |
| test_vifdump_on_interface[dev_reg,sanity] | Skipped | Skipped as test is not supported if dpdk_cluster=False | 2.610 | |
| test_fat_flow_aggr_dest_icmp_intra_vn_inter_node[dev_reg,sanity] | Success | | 357.242 | |
| test_rt_table_scenario_1[dev_reg,sanity] | Success | | 57.290 | |
| test_vlan_interface_2[cb_sanity,dev_reg,dev_sanity_dpdk,sanity] | Success | | 177.739 | |
| test_mtu_probe_intra_node[dev_reg,sanity] | Success | | 195.762 | |
| test_vif_statistics[dev_reg,sanity] | Success | | 118.509 | |