2025-08-13 14:57:40,700 - INFO - Domain Default found not creating 2025-08-13 14:57:40,848 - INFO - Project ctest-TestSvcRegr-03837538 not found, creating it 2025-08-13 14:57:41,296 - INFO - Created Project:ctest-TestSvcRegr-03837538, ID : 567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:57:42,710 - INFO - ================================================================================ 2025-08-13 14:57:42,710 - INFO - STARTING TEST : test_svc_in_network_datapath 2025-08-13 14:57:42,965 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-08-13 14:57:42,965 - INFO - Initial checks done. Running the testcase now 2025-08-13 14:57:42,965 - INFO - 2025-08-13 14:57:43,522 - DEBUG - Response for create_network : {'network': {'id': 'dc9d1a81-44cd-4459-8432-6f613199fdcf', 'name': 'ctest-mgmt_vn-29001547', 'tenant_id': '567b2cebdec84ac5962f7f2b9d82cae7', 'project_id': '567b2cebdec84ac5962f7f2b9d82cae7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestSvcRegr-03837538', 'ctest-mgmt_vn-29001547'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 14:57:43,688 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcdbeca6-422c-4fe3-a148-c170cf1ff701', 'name': '', 'tenant_id': '567b2cebdec84ac5962f7f2b9d82cae7', 'network_id': 'dc9d1a81-44cd-4459-8432-6f613199fdcf', 'ip_version': 4, 'cidr': '31.116.178.0/26', 'allocation_pools': [{'start': '31.116.178.2', 'end': '31.116.178.62'}], 'gateway_ip': '31.116.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.116.178.2', 'tags': [], 'project_id': '567b2cebdec84ac5962f7f2b9d82cae7'}} 2025-08-13 14:57:43,707 - INFO - Created VN ctest-mgmt_vn-29001547 2025-08-13 14:57:43,762 - DEBUG - VN ctest-mgmt_vn-29001547 UUID is dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:57:43,874 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:57:44,170 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:57:44,199 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f3f7903d-7ed4-4776-b147-e6e40853bf2f 2025-08-13 14:57:44,215 - DEBUG - Requesting: http://10.0.0.27:8082/project/567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:57:44,291 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:57:44,303 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:57:44,313 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:57:44,320 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:57:44,327 - DEBUG - Route Targets: [] 2025-08-13 14:57:44,327 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-29001547 2025-08-13 14:57:49,328 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:57:49,335 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f3f7903d-7ed4-4776-b147-e6e40853bf2f 2025-08-13 14:57:49,349 - DEBUG - Requesting: http://10.0.0.27:8082/project/567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:57:49,424 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:57:49,435 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:57:49,447 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:57:49,455 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:57:49,462 - DEBUG - Route Targets: [] 2025-08-13 14:57:49,462 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-29001547 2025-08-13 14:57:54,463 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:57:54,469 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f3f7903d-7ed4-4776-b147-e6e40853bf2f 2025-08-13 14:57:54,481 - DEBUG - Requesting: http://10.0.0.27:8082/project/567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:57:54,558 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:57:54,569 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:57:54,579 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:57:54,586 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:57:54,605 - DEBUG - Route Targets: [] 2025-08-13 14:57:54,605 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-29001547 2025-08-13 14:57:59,606 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:57:59,613 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f3f7903d-7ed4-4776-b147-e6e40853bf2f 2025-08-13 14:57:59,628 - DEBUG - Requesting: http://10.0.0.27:8082/project/567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:57:59,709 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:57:59,721 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:57:59,734 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:57:59,743 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:57:59,751 - DEBUG - Route Targets: [] 2025-08-13 14:57:59,752 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-29001547 2025-08-13 14:58:04,752 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:58:04,759 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f3f7903d-7ed4-4776-b147-e6e40853bf2f 2025-08-13 14:58:04,771 - DEBUG - Requesting: http://10.0.0.27:8082/project/567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:58:04,838 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:04,849 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:04,859 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:04,866 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:04,873 - DEBUG - Route Targets: [] 2025-08-13 14:58:04,873 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-29001547 2025-08-13 14:58:09,874 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:58:09,880 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f3f7903d-7ed4-4776-b147-e6e40853bf2f 2025-08-13 14:58:09,893 - DEBUG - Requesting: http://10.0.0.27:8082/project/567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:58:09,975 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:09,987 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:09,997 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:10,005 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:10,013 - DEBUG - Route Targets: [] 2025-08-13 14:58:10,013 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-29001547 2025-08-13 14:58:15,014 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:58:15,021 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f3f7903d-7ed4-4776-b147-e6e40853bf2f 2025-08-13 14:58:15,034 - DEBUG - Requesting: http://10.0.0.27:8082/project/567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:58:15,107 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:15,119 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:15,130 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:15,139 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:15,146 - DEBUG - Route Targets: [] 2025-08-13 14:58:15,146 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-29001547 2025-08-13 14:58:20,147 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:58:20,155 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f3f7903d-7ed4-4776-b147-e6e40853bf2f 2025-08-13 14:58:20,166 - DEBUG - Requesting: http://10.0.0.27:8082/project/567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:58:20,235 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:20,244 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:20,255 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:20,263 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:20,269 - DEBUG - Route Targets: [] 2025-08-13 14:58:20,270 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-29001547 2025-08-13 14:58:25,270 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:58:25,278 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f3f7903d-7ed4-4776-b147-e6e40853bf2f 2025-08-13 14:58:25,289 - DEBUG - Requesting: http://10.0.0.27:8082/project/567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:58:25,361 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:25,371 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:25,380 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:25,387 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:25,393 - DEBUG - Route Targets: [] 2025-08-13 14:58:25,393 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-29001547 2025-08-13 14:58:30,393 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:58:30,403 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f3f7903d-7ed4-4776-b147-e6e40853bf2f 2025-08-13 14:58:30,418 - DEBUG - Requesting: http://10.0.0.27:8082/project/567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:58:30,490 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:30,501 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:30,514 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:30,522 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:30,528 - DEBUG - Route Targets: [] 2025-08-13 14:58:30,528 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-29001547 2025-08-13 14:58:35,530 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-13 14:58:35,537 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f3f7903d-7ed4-4776-b147-e6e40853bf2f 2025-08-13 14:58:35,549 - DEBUG - Requesting: http://10.0.0.27:8082/project/567b2ceb-dec8-4ac5-962f-7f2b9d82cae7 2025-08-13 14:58:35,622 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:35,633 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc9d1a81-44cd-4459-8432-6f613199fdcf 2025-08-13 14:58:35,644 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:35,651 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/668ef1b6-e83c-4da0-83f5-ce9912d693dd 2025-08-13 14:58:35,658 - DEBUG - Route Targets: [] 2025-08-13 14:58:35,658 - DEBUG - RT names not yet present for VN ctest-mgmt_vn-29001547 2025-08-13 14:58:35,658 - ERROR - One or more verifications in API Server for VN ctest-mgmt_vn-29001547 failed 2025-08-13 14:58:35,661 - INFO - Deleting VN ctest-mgmt_vn-29001547 2025-08-13 14:58:35,768 - DEBUG - Response for deleting network () 2025-08-13 14:58:36,026 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Wed Aug 13 14:58:35 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-29001547', vn_subnets=['31.116.178.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-29001547' vn_subnets = ['31.116.178.0/26'] kwargs = {} /contrail-test/common/servicechain/config.py in config_vn(self=, vn_name='ctest-mgmt_vn-29001547', vn_net=['31.116.178.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-08-13 14:58:36,032 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 14:58:36,032 - INFO -
2025-08-13 14:58:36,032 - INFO - END TEST : test_svc_in_network_datapath : FAILED[0:00:54]
2025-08-13 14:58:36,033 - INFO - -------------------------------------------------------------------------------- 2025-08-13 14:58:36,726 - INFO - Deleted project: ctest-TestSvcRegr-03837538, ID : 567b2ceb-dec8-4ac5-962f-7f2b9d82cae7