2025-06-19 10:16:23,330 - INFO - Domain Default found not creating 2025-06-19 10:16:23,752 - INFO - Project ctest-TestSvcRegr-42765672 not found, creating it 2025-06-19 10:16:24,485 - INFO - Created Project:ctest-TestSvcRegr-42765672, ID : d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:16:25,891 - INFO - ================================================================================ 2025-06-19 10:16:25,891 - INFO - STARTING TEST : test_svc_in_network_datapath 2025-06-19 10:16:26,145 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-06-19 10:16:26,145 - INFO - Initial checks done. Running the testcase now 2025-06-19 10:16:26,145 - INFO - 2025-06-19 10:16:26,721 - DEBUG - Response for create_network : {'network': {'id': 'ecd322f8-f89d-4a70-b950-0bc311b5d7f2', 'name': 'ctest-mgmt_vn-50034010', 'tenant_id': 'd192c2aff32743f4b93872e318a45797', 'project_id': 'd192c2aff32743f4b93872e318a45797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestSvcRegr-42765672', 'ctest-mgmt_vn-50034010'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:16:26,889 - DEBUG - Response for create_subnet : {'subnet': {'id': '31c4da9f-6707-44e4-b0eb-968f56a8d639', 'name': '', 'tenant_id': 'd192c2aff32743f4b93872e318a45797', 'network_id': 'ecd322f8-f89d-4a70-b950-0bc311b5d7f2', 'ip_version': 4, 'cidr': '84.219.186.0/26', 'allocation_pools': [{'start': '84.219.186.2', 'end': '84.219.186.62'}], 'gateway_ip': '84.219.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.219.186.2', 'tags': [], 'project_id': 'd192c2aff32743f4b93872e318a45797'}} 2025-06-19 10:16:26,905 - INFO - Created VN ctest-mgmt_vn-50034010 2025-06-19 10:16:26,959 - DEBUG - VN ctest-mgmt_vn-50034010 UUID is ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:27,066 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:16:27,355 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:16:27,386 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7ed7cd64-483b-4943-a8c2-f99acce4a44b 2025-06-19 10:16:27,402 - DEBUG - Requesting: http://10.0.0.141:8082/project/d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:16:27,475 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:27,486 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:27,497 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:27,506 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:27,513 - DEBUG - Route Targets: [] 2025-06-19 10:16:27,513 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-50034010 2025-06-19 10:16:32,514 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:16:32,522 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7ed7cd64-483b-4943-a8c2-f99acce4a44b 2025-06-19 10:16:32,535 - DEBUG - Requesting: http://10.0.0.141:8082/project/d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:16:32,605 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:32,616 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:32,627 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:32,637 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:32,647 - DEBUG - Route Targets: [] 2025-06-19 10:16:32,647 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-50034010 2025-06-19 10:16:37,648 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:16:37,655 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7ed7cd64-483b-4943-a8c2-f99acce4a44b 2025-06-19 10:16:37,669 - DEBUG - Requesting: http://10.0.0.141:8082/project/d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:16:37,740 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:37,750 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:37,759 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:37,766 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:37,773 - DEBUG - Route Targets: [] 2025-06-19 10:16:37,773 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-50034010 2025-06-19 10:16:42,774 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:16:42,781 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7ed7cd64-483b-4943-a8c2-f99acce4a44b 2025-06-19 10:16:42,792 - DEBUG - Requesting: http://10.0.0.141:8082/project/d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:16:42,858 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:42,868 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:42,877 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:42,885 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:42,892 - DEBUG - Route Targets: [] 2025-06-19 10:16:42,892 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-50034010 2025-06-19 10:16:47,893 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:16:47,899 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7ed7cd64-483b-4943-a8c2-f99acce4a44b 2025-06-19 10:16:47,910 - DEBUG - Requesting: http://10.0.0.141:8082/project/d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:16:47,978 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:47,987 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:47,996 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:48,003 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:48,010 - DEBUG - Route Targets: [] 2025-06-19 10:16:48,010 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-50034010 2025-06-19 10:16:53,011 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:16:53,018 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7ed7cd64-483b-4943-a8c2-f99acce4a44b 2025-06-19 10:16:53,030 - DEBUG - Requesting: http://10.0.0.141:8082/project/d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:16:53,105 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:53,115 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:53,125 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:53,133 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:53,141 - DEBUG - Route Targets: [] 2025-06-19 10:16:53,141 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-50034010 2025-06-19 10:16:58,142 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:16:58,149 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7ed7cd64-483b-4943-a8c2-f99acce4a44b 2025-06-19 10:16:58,160 - DEBUG - Requesting: http://10.0.0.141:8082/project/d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:16:58,235 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:58,246 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:16:58,261 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:58,269 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:16:58,278 - DEBUG - Route Targets: [] 2025-06-19 10:16:58,278 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-50034010 2025-06-19 10:17:03,279 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:17:03,286 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7ed7cd64-483b-4943-a8c2-f99acce4a44b 2025-06-19 10:17:03,298 - DEBUG - Requesting: http://10.0.0.141:8082/project/d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:17:03,371 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:17:03,381 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:17:03,392 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:17:03,400 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:17:03,407 - DEBUG - Route Targets: [] 2025-06-19 10:17:03,407 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-50034010 2025-06-19 10:17:08,408 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:17:08,414 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7ed7cd64-483b-4943-a8c2-f99acce4a44b 2025-06-19 10:17:08,425 - DEBUG - Requesting: http://10.0.0.141:8082/project/d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:17:08,499 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:17:08,508 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:17:08,518 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:17:08,525 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:17:08,532 - DEBUG - Route Targets: [] 2025-06-19 10:17:08,532 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-50034010 2025-06-19 10:17:13,532 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:17:13,538 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7ed7cd64-483b-4943-a8c2-f99acce4a44b 2025-06-19 10:17:13,550 - DEBUG - Requesting: http://10.0.0.141:8082/project/d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:17:13,625 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:17:13,635 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:17:13,645 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:17:13,652 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:17:13,659 - DEBUG - Route Targets: [] 2025-06-19 10:17:13,659 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-50034010 2025-06-19 10:17:18,660 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-19 10:17:18,666 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7ed7cd64-483b-4943-a8c2-f99acce4a44b 2025-06-19 10:17:18,679 - DEBUG - Requesting: http://10.0.0.141:8082/project/d192c2af-f327-43f4-b938-72e318a45797 2025-06-19 10:17:18,746 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:17:18,755 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd322f8-f89d-4a70-b950-0bc311b5d7f2 2025-06-19 10:17:18,765 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:17:18,772 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ddabe2bd-d899-4363-89cd-ed4671511b49 2025-06-19 10:17:18,778 - DEBUG - Route Targets: [] 2025-06-19 10:17:18,778 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-50034010 2025-06-19 10:17:18,778 - ERROR - One or more verifications in API Server for VN ctest-mgmt_vn-50034010 failed 2025-06-19 10:17:18,781 - INFO - Deleting VN ctest-mgmt_vn-50034010 2025-06-19 10:17:18,865 - DEBUG - Response for deleting network () 2025-06-19 10:17:19,114 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Thu Jun 19 10:17:18 2025 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /contrail-test/tcutils/wrappers.py in wrapper(self=, *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 = self = args = () kwargs = {} /contrail-test/scripts/svc_firewall/test_svc_fw.py in test_svc_in_network_datapath(self=) 24 def test_svc_in_network_datapath(self): 25 return self.verify_svc_chain(svc_img_name='cirros_in_net', service_mode='in-network', 26 create_svms=True) 27 28 create_svms undefined /contrail-test/common/servicechain/verify.py in verify_svc_chain(self=, *args=(), **kwargs={'create_svms': True, 'service_mode': 'in-network', 'svc_img_name': 'cirros_in_net'}) 318 def verify_svc_chain(self, *args, **kwargs): 319 svc_chain_info = kwargs.get('svc_chain_info') 320 ret_dict = svc_chain_info or self.config_svc_chain(*args, **kwargs) 321 proto = kwargs.get('proto', 'any') 322 left_vn_fq_name = ret_dict.get('left_vn_fixture').vn_fq_name ret_dict undefined svc_chain_info = None self = self.config_svc_chain = > args = () kwargs = {'create_svms': True, 'service_mode': 'in-network', 'svc_img_name': 'cirros_in_net'} /contrail-test/common/servicechain/config.py in config_svc_chain(self=, service_mode='in-network', service_type='firewall', max_inst=1, proto='any', svc_chain_type='parallel', src_ports=[0, 65535], dst_ports=[0, 65535], svc_img_name='cirros_in_net', st_version=2, mgmt_vn_name=None, mgmt_vn_subnets=[], mgmt_vn_fixture=None, left_vn_name=None, left_vn_subnets=[], left_vn_fixture=None, right_vn_name=None, right_vn_subnets=[], right_vn_fixture=None, left_lr_child_vn_fixture=None, right_lr_child_vn_fixture=None, left_vm_name=None, left_vm_fixture=None, right_vm_name=None, right_vm_fixture=None, image_name='cirros', policy_fixture=None, st_fixture=None, si_fixture=None, port_tuples_props=None, static_route=None, svm_fixtures=[], create_svms=True, evpn=False, modify_rules=False, policy_action='pass', hosts=[], **kwargs={}) 444 mgmt_vn_fixture, 445 'mgmt_vn', 446 **kwargs) 447 448 # Left kwargs = {} /contrail-test/common/servicechain/config.py in _get_vn_for_config(self=, vn_name='ctest-mgmt_vn-50034010', vn_subnets=['84.219.186.0/26'], vn_fixture=None, vn_name_prefix='mgmt_vn', **kwargs={}) 355 vn_subnets = vn_subnets or \ 356 [get_random_cidr(af=self.inputs.get_af())] 357 vn_fixture = vn_fixture or self.config_vn(vn_name, vn_subnets, **kwargs) 358 vn_fq_name = vn_fixture.vn_fq_name 359 return (vn_name, vn_subnets, vn_fixture, vn_fq_name) vn_fixture = None self = self.config_vn = > vn_name = 'ctest-mgmt_vn-50034010' vn_subnets = ['84.219.186.0/26'] kwargs = {} /contrail-test/common/servicechain/config.py in config_vn(self=, vn_name='ctest-mgmt_vn-50034010', vn_net=['84.219.186.0/26'], **kwargs={}) 137 project_name=self.inputs.project_name, connections=self.connections, 138 vn_name=vn_name, inputs=self.inputs, subnets=vn_net, **kwargs)) 139 assert vn_fixture.verify_on_setup() 140 return vn_fixture 141 vn_fixture = vn_fixture.verify_on_setup = > AssertionError: __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Assertion failed.' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = args = () with_traceback = 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/svc_firewall/test_svc_fw.py", line 26, in test_svc_in_network_datapath create_svms=True) File "/contrail-test/common/servicechain/verify.py", line 320, in verify_svc_chain ret_dict = svc_chain_info or self.config_svc_chain(*args, **kwargs) File "/contrail-test/common/servicechain/config.py", line 446, in config_svc_chain **kwargs) File "/contrail-test/common/servicechain/config.py", line 357, in _get_vn_for_config vn_fixture = vn_fixture or self.config_vn(vn_name, vn_subnets, **kwargs) File "/contrail-test/common/servicechain/config.py", line 139, in config_vn assert vn_fixture.verify_on_setup() AssertionError 2025-06-19 10:17:19,121 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 10:17:19,121 - INFO - 2025-06-19 10:17:19,121 - INFO - END TEST : test_svc_in_network_datapath : FAILED[0:00:54] 2025-06-19 10:17:19,121 - INFO - -------------------------------------------------------------------------------- 2025-06-19 10:17:19,780 - INFO - Deleted project: ctest-TestSvcRegr-42765672, ID : d192c2af-f327-43f4-b938-72e318a45797