2025-08-02 23:27:54,531 - INFO - Domain Default found not creating 2025-08-02 23:27:54,718 - INFO - Project ctest-TestLBaaSV2-11892136 not found, creating it 2025-08-02 23:27:55,435 - INFO - Created Project:ctest-TestLBaaSV2-11892136, ID : d5df1e28-9abf-4cb2-b3dd-82ebfd5efdf6 2025-08-02 23:27:56,985 - INFO - ================================================================================ 2025-08-02 23:27:56,985 - INFO - STARTING TEST : test_lbaas_client_pool_in_same_net 2025-08-02 23:27:56,985 - INFO - TEST DESCRIPTION : Create Lbaas pool, member and vip Member, VIP and client all in same VN verify: pool, member and vip gets created create HMON and verify the association verify the HTTP traffic getting loadbalanced using the standby netns 2025-08-02 23:27:58,369 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-08-02 23:27:58,369 - INFO - Initial checks done. Running the testcase now 2025-08-02 23:27:58,369 - INFO - 2025-08-02 23:27:59,171 - DEBUG - Response for create_network : {'network': {'id': '0166dc65-4dce-42cb-9e31-64e0cf116e09', 'name': 'ctest-vn-90653235', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-11892136', 'ctest-vn-90653235'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:27:59,513 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b254de6-d4f3-4f4e-be5c-0ed0be2e2050', 'name': '', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'network_id': '0166dc65-4dce-42cb-9e31-64e0cf116e09', 'ip_version': 4, 'cidr': '7.61.180.0/26', 'allocation_pools': [{'start': '7.61.180.2', 'end': '7.61.180.62'}], 'gateway_ip': '7.61.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.61.180.2', 'tags': [], 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6'}} 2025-08-02 23:27:59,538 - INFO - Created VN ctest-vn-90653235 2025-08-02 23:27:59,558 - DEBUG - VN ctest-vn-90653235 UUID is 0166dc65-4dce-42cb-9e31-64e0cf116e09 2025-08-02 23:27:59,711 - DEBUG - Services list from nova: [, , , ] 2025-08-02 23:28:01,000 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2) 2025-08-02 23:28:02,644 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1) 2025-08-02 23:28:04,134 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2) 2025-08-02 23:28:04,134 - INFO - VM name : ctest-TestLBaaSV2-11892136-01851810 2025-08-02 23:28:04,256 - DEBUG - VM ctest-TestLBaaSV2-11892136-01851810 : Status=BUILD, Addresses : {} 2025-08-02 23:28:09,396 - DEBUG - VM ctest-TestLBaaSV2-11892136-01851810 ID is 60a126c9-e72e-44eb-86f5-376b14b0be4d 2025-08-02 23:28:09,536 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:28:09,573 - DEBUG - VM ctest-TestLBaaSV2-11892136-01851810 launched on Node an-jenkins-deploy-platform-ansible-os-3743-1 2025-08-02 23:28:09,705 - INFO - VM name : ctest-TestLBaaSV2-11892136-14211497 2025-08-02 23:28:09,807 - DEBUG - VM ctest-TestLBaaSV2-11892136-14211497 ID is 299745a6-713c-49ec-a5a2-0e6749909652 2025-08-02 23:28:09,921 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:28:09,921 - DEBUG - VM ctest-TestLBaaSV2-11892136-14211497 launched on Node an-jenkins-deploy-platform-ansible-os-3743-2 2025-08-02 23:28:10,044 - ERROR - List load balancers failed 2025-08-02 23:28:10,084 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-14211497 2025-08-02 23:28:10,161 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-01851810 2025-08-02 23:28:10,243 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-11892136-28447989 in state BUILD 2025-08-02 23:28:10,243 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-28447989 2025-08-02 23:28:10,243 - ERROR - VM ctest-TestLBaaSV2-11892136-28447989 has failed to come up 2025-08-02 23:28:10,243 - ERROR - Nova failed to get host of the VM 2025-08-02 23:28:10,244 - ERROR - VM ctest-TestLBaaSV2-11892136-28447989 has failed to come up 2025-08-02 23:28:10,244 - ERROR - Nova failed to get host of the VM 2025-08-02 23:28:10,328 - INFO - Deleting VN ctest-vn-90653235 2025-08-02 23:28:10,416 - DEBUG - VN 0166dc65-4dce-42cb-9e31-64e0cf116e09 still in use: Unable to complete operation on network 0166dc65-4dce-42cb-9e31-64e0cf116e09. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3079d057-c6c6-4fd9-9e6a-45fe04d2afd7'] 2025-08-02 23:28:10,417 - WARNING - Deleting VN ctest-vn-90653235 failed..Will retry 2025-08-02 23:28:12,667 - DEBUG - Response for deleting network () 2025-08-02 23:28:14,029 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Sat Aug 2 23:28:10 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/lbaasv2/test_lbaasv2.py in test_lbaas_client_pool_in_same_net(self=) 111 pool_port=HTTP_PORT, members=pool_members, listener_name=listener_name, 112 vip_port=HTTP_PORT, vip_protocol='HTTP', 113 hm_delay=5, hm_timeout=5, hm_max_retries=5, hm_probe_type=HTTP_PROBE) 114 115 #Verify all the creations are success hm_delay undefined hm_timeout undefined hm_max_retries undefined hm_probe_type undefined global HTTP_PROBE = 'HTTP' /contrail-test/common/neutron/lbaasv2/base.py in create_lbaas(self=, lb_name='ctest-myvip-49078578', network_id='0166dc65-4dce-42cb-9e31-64e0cf116e09', cleanup=True, **kwargs={'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-HTTP-01761437', 'members': {'address': ['7.61.180.4', '7.61.180.5']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-85835048', 'pool_port': 80, 'pool_protocol': 'HTTP', ...}) 77 connections=self.connections, 78 orchestrator=self.inputs.orchestrator, 79 **kwargs)) 80 return lbaas_fixture 81 # end create_lbaas method kwargs = {'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-HTTP-01761437', 'members': {'address': ['7.61.180.4', '7.61.180.5']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-85835048', 'pool_port': 80, 'pool_protocol': 'HTTP', ...} /usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=, fixture=) 754 # Gather_details worked, so raise the exception setUp 755 # encountered. 756 reraise(*exc_info) 757 else: 758 self.addCleanup(fixture.cleanUp) global reraise = exc_info = (, NotFound(), ) /usr/local/lib/python3.6/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=NotFound(), exc_tb=, _marker=) 13 14 def reraise(exc_class, exc_obj, exc_tb, _marker=object()): 15 """Re-raise an exception received from sys.exc_info() or similar.""" 16 raise exc_obj.with_traceback(exc_tb) 17 exc_obj = NotFound() exc_obj.with_traceback = exc_tb = /usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=, fixture=) 729 """ 730 try: 731 fixture.setUp() 732 except MultipleExceptions as e: 733 if (fixtures is not None and fixture = fixture.setUp = > /contrail-test/fixtures/lbaasv2_fixture.py in setUp(self=) 824 825 def setUp(self): 826 super(LBaasV2Fixture, self).setUp() 827 self.create() 828 builtinsuper = global LBaasV2Fixture = self = ).setUp = > /contrail-test/fixtures/lbaasv2_fixture.py in setUp(self=) 36 def setUp(self): 37 super(LBBaseFixture, self).setUp() 38 self.lb_create() 39 40 def cleanUp(self): self = self.lb_create = > /contrail-test/fixtures/lbaasv2_fixture.py in lb_create(self=) 96 name=self.lb_name, 97 network_id=self.network_id, 98 address=self.vip_ip,project=self.project_name) 99 self.lb_uuid = obj['id'] 100 self.lb_read() address undefined self = self.vip_ip = None project undefined self.project_name = 'ctest-TestLBaaSV2-11892136' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-49078578', network_id='0166dc65-4dce-42cb-9e31-64e0cf116e09', subnet_id='0b254de6-d4f3-4f4e-be5c-0ed0be2e2050', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-11892136'}) 940 lb_dict = {'name': name, 'vip_subnet_id': subnet_id, 941 'vip_address': address} 942 resp = self.obj.create_loadbalancer({'loadbalancer': lb_dict}) 943 return resp['loadbalancer'] 944 resp undefined self = self.obj = self.obj.create_loadbalancer = > lb_dict = {'name': 'ctest-myvip-49078578', 'vip_address': None, 'vip_subnet_id': '0b254de6-d4f3-4f4e-be5c-0ed0be2e2050'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-49078578', 'vip_address': None, 'vip_subnet_id': '0b254de6-d4f3-4f4e-be5c-0ed0be2e2050'}}) 1150 def create_loadbalancer(self, body=None): 1151 """Creates a new load balancer.""" 1152 return self.post(self.lbaas_loadbalancers_path, body=body) 1153 1154 def update_loadbalancer(self, lbaas_loadbalancer, body=None): self = self.post = > self.lbaas_loadbalancers_path = '/lbaas/loadbalancers' body = {'loadbalancer': {'name': 'ctest-myvip-49078578', 'vip_address': None, 'vip_subnet_id': '0b254de6-d4f3-4f4e-be5c-0ed0be2e2050'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-49078578', 'vip_address': None, 'vip_subnet_id': '0b254de6-d4f3-4f4e-be5c-0ed0be2e2050'}}, headers=None, params=None) 357 # Do not retry POST requests to avoid the orphan objects problem. 358 return self.do_request("POST", action, body=body, 359 headers=headers, params=params) 360 361 def put(self, action, body=None, headers=None, params=None): headers = None params = None /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in do_request(self=, method='POST', action='/v2.0/lbaas/loadbalancers', body='{"loadbalancer": {"name": "ctest-myvip-49078578"...f3-4f4e-be5c-0ed0be2e2050", "vip_address": null}}', headers=None, params=None) 292 if not replybody: 293 replybody = resp.reason 294 self._handle_fault_response(status_code, replybody, resp) 295 296 def get_auth_info(self): self = self._handle_fault_response = > status_code = 404 replybody = '{"NeutronError": {"type": "HTTPNotFound", "messa...The resource could not be found.", "detail": ""}}' resp = /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in _handle_fault_response(self=, status_code=404, response_body='{"NeutronError": {"type": "HTTPNotFound", "messa...The resource could not be found.", "detail": ""}}', resp=) 267 error_body = self._convert_into_with_meta(des_error_body, resp) 268 # Raise the appropriate exception 269 exception_handler_v20(status_code, error_body) 270 271 def do_request(self, method, action, body=None, headers=None, params=None): global exception_handler_v20 = status_code = 404 error_body = {'NeutronError': {'type': 'HTTPNotFound', 'messa...The resource could not be found.', 'detail': ''}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in exception_handler_v20(status_code=404, error_content={'NeutronError': {'type': 'HTTPNotFound', 'messa...The resource could not be found.', 'detail': ''}}) 91 raise client_exc(message=error_message, 92 status_code=status_code, 93 request_ids=request_ids) 94 95 request_ids = ['req-297f25fb-f157-4815-b438-a436bc024e2a'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-297f25fb-f157-4815-b438-a436bc024e2a'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-297f25fb-f157-4815-b438-a436bc024e2a']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-297f25fb-f157-4815-b438-a436bc024e2a']", 'request_ids': ['req-297f25fb-f157-4815-b438-a436bc024e2a'], 'status_code': 404} __dir__ = __doc__ = None __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'neutronclient.common.exceptions' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None _error_string = "The resource could not be found.\nNeutron server ...ids: ['req-297f25fb-f157-4815-b438-a436bc024e2a']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-297f25fb-f157-4815-b438-a436bc024e2a']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-297f25fb-f157-4815-b438-a436bc024e2a'] status_code = 404 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/lbaasv2/test_lbaasv2.py", line 113, in test_lbaas_client_pool_in_same_net hm_delay=5, hm_timeout=5, hm_max_retries=5, hm_probe_type=HTTP_PROBE) File "/contrail-test/common/neutron/lbaasv2/base.py", line 79, in create_lbaas **kwargs)) File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture reraise(*exc_info) File "/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture fixture.setUp() File "/contrail-test/fixtures/lbaasv2_fixture.py", line 826, in setUp super(LBaasV2Fixture, self).setUp() File "/contrail-test/fixtures/lbaasv2_fixture.py", line 38, in setUp self.lb_create() File "/contrail-test/fixtures/lbaasv2_fixture.py", line 98, in lb_create address=self.vip_ip,project=self.project_name) File "/contrail-test/fixtures/quantum_test.py", line 942, in create_loadbalancer resp = self.obj.create_loadbalancer({'loadbalancer': lb_dict}) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 1152, in create_loadbalancer return self.post(self.lbaas_loadbalancers_path, body=body) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 359, in post headers=headers, params=params) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20 request_ids=request_ids) neutronclient.common.exceptions.NotFound: The resource could not be found. Neutron server returns request_ids: ['req-297f25fb-f157-4815-b438-a436bc024e2a'] 2025-08-02 23:28:14,047 - DEBUG - No XMPP flaps were noticed during the test 2025-08-02 23:28:14,047 - INFO -
2025-08-02 23:28:14,047 - INFO - END TEST : test_lbaas_client_pool_in_same_net : FAILED[0:00:18]
2025-08-02 23:28:14,047 - INFO - -------------------------------------------------------------------------------- 2025-08-02 23:28:14,052 - INFO - ================================================================================ 2025-08-02 23:28:14,052 - INFO - STARTING TEST : test_lbaas_with_different_fip 2025-08-02 23:28:14,052 - INFO - TEST DESCRIPTION : Create LB, LISTENER, POOL and MEMBER create FIP and associate it to VIP, create a VM in the FIP network verify: pool, member and vip gets created after vip creation nets ns is created in compute node and haproxy process starts , fail otherwise Verify different LB Method 2025-08-02 23:28:15,420 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-08-02 23:28:15,420 - INFO - Initial checks done. Running the testcase now 2025-08-02 23:28:15,420 - INFO - 2025-08-02 23:28:15,809 - DEBUG - Response for create_network : {'network': {'id': 'c2ded2be-53fa-42a7-8f2a-33eaa05f6bfb', 'name': 'ctest-TestLBaaSV2-11892136-14883403', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-11892136', 'ctest-TestLBaaSV2-11892136-14883403'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:28:16,101 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ad15a2f-5495-44d3-bc01-6cf63b68fddd', 'name': '', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'network_id': 'c2ded2be-53fa-42a7-8f2a-33eaa05f6bfb', 'ip_version': 4, 'cidr': '186.33.219.0/26', 'allocation_pools': [{'start': '186.33.219.2', 'end': '186.33.219.62'}], 'gateway_ip': '186.33.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.33.219.2', 'tags': [], 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6'}} 2025-08-02 23:28:16,127 - INFO - Created VN ctest-TestLBaaSV2-11892136-14883403 2025-08-02 23:28:16,143 - DEBUG - VN ctest-TestLBaaSV2-11892136-14883403 UUID is c2ded2be-53fa-42a7-8f2a-33eaa05f6bfb 2025-08-02 23:28:16,686 - DEBUG - Response for create_network : {'network': {'id': '8869d2fe-2867-47db-ad6a-2a4780a3eaf7', 'name': 'ctest-TestLBaaSV2-11892136-51729571', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-11892136', 'ctest-TestLBaaSV2-11892136-51729571'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:28:17,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '08b64910-c616-4149-affd-de58c04d05fd', 'name': '', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'network_id': '8869d2fe-2867-47db-ad6a-2a4780a3eaf7', 'ip_version': 4, 'cidr': '106.116.235.0/26', 'allocation_pools': [{'start': '106.116.235.2', 'end': '106.116.235.62'}], 'gateway_ip': '106.116.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.116.235.2', 'tags': [], 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6'}} 2025-08-02 23:28:17,035 - INFO - Created VN ctest-TestLBaaSV2-11892136-51729571 2025-08-02 23:28:17,053 - DEBUG - VN ctest-TestLBaaSV2-11892136-51729571 UUID is 8869d2fe-2867-47db-ad6a-2a4780a3eaf7 2025-08-02 23:28:17,577 - DEBUG - Response for create_network : {'network': {'id': '0a80888a-d6c7-45ff-b7f8-9fb1a1f74581', 'name': 'ctest-vn-63956141', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-11892136', 'ctest-vn-63956141'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:28:17,836 - DEBUG - Response for create_subnet : {'subnet': {'id': '643fb88f-5afc-4e4a-b234-9cb5244bd430', 'name': '', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'network_id': '0a80888a-d6c7-45ff-b7f8-9fb1a1f74581', 'ip_version': 4, 'cidr': '106.7.27.64/26', 'allocation_pools': [{'start': '106.7.27.66', 'end': '106.7.27.126'}], 'gateway_ip': '106.7.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.7.27.66', 'tags': [], 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6'}} 2025-08-02 23:28:17,861 - INFO - Created VN ctest-vn-63956141 2025-08-02 23:28:17,876 - DEBUG - VN ctest-vn-63956141 UUID is 0a80888a-d6c7-45ff-b7f8-9fb1a1f74581 2025-08-02 23:28:19,112 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1) 2025-08-02 23:28:20,498 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2) 2025-08-02 23:28:22,755 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1) 2025-08-02 23:28:22,972 - DEBUG - Image by name cirros-0.4.0 not found 2025-08-02 23:28:22,972 - DEBUG - Installing image cirros-0.4.0 2025-08-02 23:28:22,972 - DEBUG - Image info {'name': 'cirros-0.4.0-x86_64-disk.img', 'webserver': '', 'location': '/images/converts/', 'username': 'cirros', 'password': 'gocubsgo', 'type': 'os', 'flavor': 'contrail_flavor_tiny', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd'} 2025-08-02 23:28:22,973 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img 2025-08-02 23:28:22,973 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img 2025-08-02 23:28:22,987 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: wget -nv http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img -O /contrail-test/images/cirros-0.4.0-x86_64-disk.img 2025-08-02 23:28:23,085 - DEBUG - Image has been downloaded to /contrail-test/images/cirros-0.4.0-x86_64-disk.img 2025-08-02 23:28:23,085 - DEBUG - Try to create image in user context 2025-08-02 23:28:23,338 - DEBUG - Image has been created in user context 2025-08-02 23:28:23,339 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/cirros-0.4.0-x86_64-disk.img 2025-08-02 23:28:23,356 - DEBUG - Downloaded image has been removed 2025-08-02 23:28:23,388 - DEBUG - Uploaded image status = active 2025-08-02 23:28:24,736 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2) 2025-08-02 23:28:26,465 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1) 2025-08-02 23:28:26,465 - INFO - VM name : ctest-TestLBaaSV2-11892136-38579943 2025-08-02 23:28:26,595 - DEBUG - VM ctest-TestLBaaSV2-11892136-38579943 ID is 38707bb0-58a6-4b35-8e0d-e138fe38c226 2025-08-02 23:28:26,709 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:28:26,709 - DEBUG - VM ctest-TestLBaaSV2-11892136-38579943 launched on Node an-jenkins-deploy-platform-ansible-os-3743-1 2025-08-02 23:28:26,823 - INFO - VM name : ctest-TestLBaaSV2-11892136-28698975 2025-08-02 23:28:26,961 - DEBUG - VM ctest-TestLBaaSV2-11892136-28698975 ID is 0da42c52-8028-4ffc-8938-82ef181c6f3f 2025-08-02 23:28:27,102 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:28:27,102 - DEBUG - VM ctest-TestLBaaSV2-11892136-28698975 launched on Node an-jenkins-deploy-platform-ansible-os-3743-2 2025-08-02 23:28:27,257 - INFO - VM name : ctest-TestLBaaSV2-11892136-04338155 2025-08-02 23:28:27,350 - DEBUG - VM ctest-TestLBaaSV2-11892136-04338155 ID is 8d0f9727-a4af-4db3-a87d-01874e3f0cb4 2025-08-02 23:28:27,503 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:28:27,504 - DEBUG - VM ctest-TestLBaaSV2-11892136-04338155 launched on Node an-jenkins-deploy-platform-ansible-os-3743-1 2025-08-02 23:28:27,633 - INFO - Verify Round Robin Method 2025-08-02 23:28:27,641 - ERROR - List load balancers failed 2025-08-02 23:28:27,678 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-11892136-53159687 in state BUILD 2025-08-02 23:28:27,679 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-53159687 2025-08-02 23:28:27,679 - ERROR - VM ctest-TestLBaaSV2-11892136-53159687 has failed to come up 2025-08-02 23:28:27,679 - ERROR - Nova failed to get host of the VM 2025-08-02 23:28:27,680 - ERROR - VM ctest-TestLBaaSV2-11892136-53159687 has failed to come up 2025-08-02 23:28:27,680 - ERROR - Nova failed to get host of the VM 2025-08-02 23:28:27,744 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-11892136-25030134 in state BUILD 2025-08-02 23:28:27,744 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-25030134 2025-08-02 23:28:27,744 - ERROR - VM ctest-TestLBaaSV2-11892136-25030134 has failed to come up 2025-08-02 23:28:27,744 - ERROR - Nova failed to get host of the VM 2025-08-02 23:28:27,744 - ERROR - VM ctest-TestLBaaSV2-11892136-25030134 has failed to come up 2025-08-02 23:28:27,745 - ERROR - Nova failed to get host of the VM 2025-08-02 23:28:27,810 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-04338155 2025-08-02 23:28:27,880 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-28698975 2025-08-02 23:28:27,943 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-38579943 2025-08-02 23:28:28,004 - INFO - Deleting VN ctest-vn-63956141 2025-08-02 23:28:28,078 - DEBUG - VN 0a80888a-d6c7-45ff-b7f8-9fb1a1f74581 still in use: Unable to complete operation on network 0a80888a-d6c7-45ff-b7f8-9fb1a1f74581. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-40c0dde9-a9f5-4a62-93ef-ba7d5929ea49'] 2025-08-02 23:28:28,078 - WARNING - Deleting VN ctest-vn-63956141 failed..Will retry 2025-08-02 23:28:30,266 - DEBUG - Response for deleting network () 2025-08-02 23:28:30,266 - INFO - Deleting VN ctest-TestLBaaSV2-11892136-51729571 2025-08-02 23:28:30,497 - DEBUG - Response for deleting network () 2025-08-02 23:28:30,498 - INFO - Deleting VN ctest-TestLBaaSV2-11892136-14883403 2025-08-02 23:28:30,731 - DEBUG - Response for deleting network () 2025-08-02 23:28:32,110 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Sat Aug 2 23:28:27 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/lbaasv2/test_lbaasv2.py in test_lbaas_with_different_fip(self=) 235 pool_port=HTTP_PORT, members=pool_members, listener_name=listener_name, 236 fip_net_id=fip_fix.uuid, vip_port=HTTP_PORT, vip_protocol='HTTP', 237 hm_delay=5, hm_timeout=5, hm_max_retries=5, hm_probe_type=HTTP_PROBE) 238 239 assert rr_listener.verify_on_setup() hm_delay undefined hm_timeout undefined hm_max_retries undefined hm_probe_type undefined global HTTP_PROBE = 'HTTP' /contrail-test/common/neutron/lbaasv2/base.py in create_lbaas(self=, lb_name='ctest-myvip-79748508', network_id='0a80888a-d6c7-45ff-b7f8-9fb1a1f74581', cleanup=True, **kwargs={'fip_net_id': 'c2ded2be-53fa-42a7-8f2a-33eaa05f6bfb', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-96327951', 'members': {'address': ['106.7.27.67', '106.7.27.68', '106.7.27.69']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-94159593', 'pool_port': 80, ...}) 77 connections=self.connections, 78 orchestrator=self.inputs.orchestrator, 79 **kwargs)) 80 return lbaas_fixture 81 # end create_lbaas method kwargs = {'fip_net_id': 'c2ded2be-53fa-42a7-8f2a-33eaa05f6bfb', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-96327951', 'members': {'address': ['106.7.27.67', '106.7.27.68', '106.7.27.69']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-94159593', 'pool_port': 80, ...} /usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=, fixture=) 754 # Gather_details worked, so raise the exception setUp 755 # encountered. 756 reraise(*exc_info) 757 else: 758 self.addCleanup(fixture.cleanUp) global reraise = exc_info = (, NotFound(), ) /usr/local/lib/python3.6/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=NotFound(), exc_tb=, _marker=) 13 14 def reraise(exc_class, exc_obj, exc_tb, _marker=object()): 15 """Re-raise an exception received from sys.exc_info() or similar.""" 16 raise exc_obj.with_traceback(exc_tb) 17 exc_obj = NotFound() exc_obj.with_traceback = exc_tb = /usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=, fixture=) 729 """ 730 try: 731 fixture.setUp() 732 except MultipleExceptions as e: 733 if (fixtures is not None and fixture = fixture.setUp = > /contrail-test/fixtures/lbaasv2_fixture.py in setUp(self=) 824 825 def setUp(self): 826 super(LBaasV2Fixture, self).setUp() 827 self.create() 828 builtinsuper = global LBaasV2Fixture = self = ).setUp = > /contrail-test/fixtures/lbaasv2_fixture.py in setUp(self=) 36 def setUp(self): 37 super(LBBaseFixture, self).setUp() 38 self.lb_create() 39 40 def cleanUp(self): self = self.lb_create = > /contrail-test/fixtures/lbaasv2_fixture.py in lb_create(self=) 96 name=self.lb_name, 97 network_id=self.network_id, 98 address=self.vip_ip,project=self.project_name) 99 self.lb_uuid = obj['id'] 100 self.lb_read() address undefined self = self.vip_ip = None project undefined self.project_name = 'ctest-TestLBaaSV2-11892136' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-79748508', network_id='0a80888a-d6c7-45ff-b7f8-9fb1a1f74581', subnet_id='643fb88f-5afc-4e4a-b234-9cb5244bd430', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-11892136'}) 940 lb_dict = {'name': name, 'vip_subnet_id': subnet_id, 941 'vip_address': address} 942 resp = self.obj.create_loadbalancer({'loadbalancer': lb_dict}) 943 return resp['loadbalancer'] 944 resp undefined self = self.obj = self.obj.create_loadbalancer = > lb_dict = {'name': 'ctest-myvip-79748508', 'vip_address': None, 'vip_subnet_id': '643fb88f-5afc-4e4a-b234-9cb5244bd430'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-79748508', 'vip_address': None, 'vip_subnet_id': '643fb88f-5afc-4e4a-b234-9cb5244bd430'}}) 1150 def create_loadbalancer(self, body=None): 1151 """Creates a new load balancer.""" 1152 return self.post(self.lbaas_loadbalancers_path, body=body) 1153 1154 def update_loadbalancer(self, lbaas_loadbalancer, body=None): self = self.post = > self.lbaas_loadbalancers_path = '/lbaas/loadbalancers' body = {'loadbalancer': {'name': 'ctest-myvip-79748508', 'vip_address': None, 'vip_subnet_id': '643fb88f-5afc-4e4a-b234-9cb5244bd430'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-79748508', 'vip_address': None, 'vip_subnet_id': '643fb88f-5afc-4e4a-b234-9cb5244bd430'}}, headers=None, params=None) 357 # Do not retry POST requests to avoid the orphan objects problem. 358 return self.do_request("POST", action, body=body, 359 headers=headers, params=params) 360 361 def put(self, action, body=None, headers=None, params=None): headers = None params = None /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in do_request(self=, method='POST', action='/v2.0/lbaas/loadbalancers', body='{"loadbalancer": {"name": "ctest-myvip-79748508"...fc-4e4a-b234-9cb5244bd430", "vip_address": null}}', headers=None, params=None) 292 if not replybody: 293 replybody = resp.reason 294 self._handle_fault_response(status_code, replybody, resp) 295 296 def get_auth_info(self): self = self._handle_fault_response = > status_code = 404 replybody = '{"NeutronError": {"type": "HTTPNotFound", "messa...The resource could not be found.", "detail": ""}}' resp = /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in _handle_fault_response(self=, status_code=404, response_body='{"NeutronError": {"type": "HTTPNotFound", "messa...The resource could not be found.", "detail": ""}}', resp=) 267 error_body = self._convert_into_with_meta(des_error_body, resp) 268 # Raise the appropriate exception 269 exception_handler_v20(status_code, error_body) 270 271 def do_request(self, method, action, body=None, headers=None, params=None): global exception_handler_v20 = status_code = 404 error_body = {'NeutronError': {'type': 'HTTPNotFound', 'messa...The resource could not be found.', 'detail': ''}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in exception_handler_v20(status_code=404, error_content={'NeutronError': {'type': 'HTTPNotFound', 'messa...The resource could not be found.', 'detail': ''}}) 91 raise client_exc(message=error_message, 92 status_code=status_code, 93 request_ids=request_ids) 94 95 request_ids = ['req-89d72e01-45fb-4ced-bbac-ca5cf64f5312'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-89d72e01-45fb-4ced-bbac-ca5cf64f5312'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-89d72e01-45fb-4ced-bbac-ca5cf64f5312']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-89d72e01-45fb-4ced-bbac-ca5cf64f5312']", 'request_ids': ['req-89d72e01-45fb-4ced-bbac-ca5cf64f5312'], 'status_code': 404} __dir__ = __doc__ = None __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'neutronclient.common.exceptions' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None _error_string = "The resource could not be found.\nNeutron server ...ids: ['req-89d72e01-45fb-4ced-bbac-ca5cf64f5312']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-89d72e01-45fb-4ced-bbac-ca5cf64f5312']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-89d72e01-45fb-4ced-bbac-ca5cf64f5312'] status_code = 404 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/lbaasv2/test_lbaasv2.py", line 237, in test_lbaas_with_different_fip hm_delay=5, hm_timeout=5, hm_max_retries=5, hm_probe_type=HTTP_PROBE) File "/contrail-test/common/neutron/lbaasv2/base.py", line 79, in create_lbaas **kwargs)) File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture reraise(*exc_info) File "/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture fixture.setUp() File "/contrail-test/fixtures/lbaasv2_fixture.py", line 826, in setUp super(LBaasV2Fixture, self).setUp() File "/contrail-test/fixtures/lbaasv2_fixture.py", line 38, in setUp self.lb_create() File "/contrail-test/fixtures/lbaasv2_fixture.py", line 98, in lb_create address=self.vip_ip,project=self.project_name) File "/contrail-test/fixtures/quantum_test.py", line 942, in create_loadbalancer resp = self.obj.create_loadbalancer({'loadbalancer': lb_dict}) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 1152, in create_loadbalancer return self.post(self.lbaas_loadbalancers_path, body=body) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 359, in post headers=headers, params=params) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20 request_ids=request_ids) neutronclient.common.exceptions.NotFound: The resource could not be found. Neutron server returns request_ids: ['req-89d72e01-45fb-4ced-bbac-ca5cf64f5312'] 2025-08-02 23:28:32,127 - DEBUG - No XMPP flaps were noticed during the test 2025-08-02 23:28:32,127 - INFO -
2025-08-02 23:28:32,127 - INFO - END TEST : test_lbaas_with_different_fip : FAILED[0:00:18]
2025-08-02 23:28:32,127 - INFO - -------------------------------------------------------------------------------- 2025-08-02 23:28:32,136 - INFO - ================================================================================ 2025-08-02 23:28:32,136 - INFO - STARTING TEST : test_lbaas_with_sg_vip 2025-08-02 23:28:32,136 - INFO - TEST DESCRIPTION : Create LB, LISTENER, POOL and MEMBER create FIP and associate it to VIP, create a VM in the FIP network verify: pool, member and vip gets created after vip creation nets ns is created in compute node and haproxy process starts , fail otherwise Verify different LB Method 2025-08-02 23:28:33,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-08-02 23:28:33,519 - INFO - Initial checks done. Running the testcase now 2025-08-02 23:28:33,519 - INFO - 2025-08-02 23:28:34,025 - DEBUG - Response for create_network : {'network': {'id': '86322d5b-d69c-4111-b82c-4729e4035ba4', 'name': 'ctest-TestLBaaSV2-11892136-09054969', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-11892136', 'ctest-TestLBaaSV2-11892136-09054969'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:28:34,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '09df5d7d-c67c-48e7-bb26-d8e6ddc72c25', 'name': '', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'network_id': '86322d5b-d69c-4111-b82c-4729e4035ba4', 'ip_version': 4, 'cidr': '204.20.110.64/26', 'allocation_pools': [{'start': '204.20.110.66', 'end': '204.20.110.126'}], 'gateway_ip': '204.20.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.20.110.66', 'tags': [], 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6'}} 2025-08-02 23:28:34,295 - INFO - Created VN ctest-TestLBaaSV2-11892136-09054969 2025-08-02 23:28:34,322 - DEBUG - VN ctest-TestLBaaSV2-11892136-09054969 UUID is 86322d5b-d69c-4111-b82c-4729e4035ba4 2025-08-02 23:28:34,716 - DEBUG - Response for create_network : {'network': {'id': '8936b6e2-aefb-4c5f-b440-7d6e496fbb0d', 'name': 'ctest-vn-19521051', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-11892136', 'ctest-vn-19521051'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:28:34,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e9995a8-e97f-4fb1-9b3d-2bc39b396892', 'name': '', 'tenant_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6', 'network_id': '8936b6e2-aefb-4c5f-b440-7d6e496fbb0d', 'ip_version': 4, 'cidr': '203.201.249.64/26', 'allocation_pools': [{'start': '203.201.249.66', 'end': '203.201.249.126'}], 'gateway_ip': '203.201.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.201.249.66', 'tags': [], 'project_id': 'd5df1e289abf4cb2b3dd82ebfd5efdf6'}} 2025-08-02 23:28:35,014 - INFO - Created VN ctest-vn-19521051 2025-08-02 23:28:35,031 - DEBUG - VN ctest-vn-19521051 UUID is 8936b6e2-aefb-4c5f-b440-7d6e496fbb0d 2025-08-02 23:28:36,358 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2) 2025-08-02 23:28:37,894 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1) 2025-08-02 23:28:39,500 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2) 2025-08-02 23:28:41,057 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1) 2025-08-02 23:28:41,058 - INFO - VM name : ctest-TestLBaaSV2-11892136-15342230 2025-08-02 23:28:41,167 - DEBUG - VM ctest-TestLBaaSV2-11892136-15342230 ID is e12ab5df-2542-4f42-9ed7-d778f4be194a 2025-08-02 23:28:41,320 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:28:41,320 - DEBUG - VM ctest-TestLBaaSV2-11892136-15342230 launched on Node an-jenkins-deploy-platform-ansible-os-3743-2 2025-08-02 23:28:41,519 - INFO - VM name : ctest-TestLBaaSV2-11892136-05116101 2025-08-02 23:28:41,651 - DEBUG - VM ctest-TestLBaaSV2-11892136-05116101 ID is 7443a527-6319-439f-9963-e6750cce2540 2025-08-02 23:28:41,775 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:28:41,775 - DEBUG - VM ctest-TestLBaaSV2-11892136-05116101 launched on Node an-jenkins-deploy-platform-ansible-os-3743-1 2025-08-02 23:28:41,888 - INFO - VM name : ctest-TestLBaaSV2-11892136-32182637 2025-08-02 23:28:42,031 - DEBUG - VM ctest-TestLBaaSV2-11892136-32182637 ID is ebc5bc86-0191-470a-97bf-a25dc8965567 2025-08-02 23:28:42,155 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:28:42,155 - DEBUG - VM ctest-TestLBaaSV2-11892136-32182637 launched on Node an-jenkins-deploy-platform-ansible-os-3743-2 2025-08-02 23:28:42,282 - INFO - Verify Round Robin Method 2025-08-02 23:28:42,294 - ERROR - List load balancers failed 2025-08-02 23:28:42,349 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-11892136-91178174 in state BUILD 2025-08-02 23:28:42,349 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-91178174 2025-08-02 23:28:42,349 - ERROR - VM ctest-TestLBaaSV2-11892136-91178174 has failed to come up 2025-08-02 23:28:42,349 - ERROR - Nova failed to get host of the VM 2025-08-02 23:28:42,350 - ERROR - VM ctest-TestLBaaSV2-11892136-91178174 has failed to come up 2025-08-02 23:28:42,350 - ERROR - Nova failed to get host of the VM 2025-08-02 23:28:42,437 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-32182637 2025-08-02 23:28:42,529 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-05116101 2025-08-02 23:28:42,616 - INFO - Deleting VM ctest-TestLBaaSV2-11892136-15342230 2025-08-02 23:28:42,722 - INFO - Deleting VN ctest-vn-19521051 2025-08-02 23:28:42,810 - DEBUG - VN 8936b6e2-aefb-4c5f-b440-7d6e496fbb0d still in use: Unable to complete operation on network 8936b6e2-aefb-4c5f-b440-7d6e496fbb0d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5fdedfc5-3b23-406a-9ba5-90ad7a24efa9'] 2025-08-02 23:28:42,810 - WARNING - Deleting VN ctest-vn-19521051 failed..Will retry 2025-08-02 23:28:45,077 - DEBUG - Response for deleting network () 2025-08-02 23:28:45,077 - INFO - Deleting VN ctest-TestLBaaSV2-11892136-09054969 2025-08-02 23:28:45,325 - DEBUG - Response for deleting network () 2025-08-02 23:28:46,589 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Sat Aug 2 23:28:42 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/lbaasv2/test_lbaasv2.py in test_lbaas_with_sg_vip(self=) 161 pool_port=HTTP_PORT, members=pool_members, listener_name=listener_name, 162 fip_net_id=fip_fix.uuid, vip_port=HTTP_PORT, vip_protocol='HTTP', 163 hm_delay=5, hm_timeout=5, hm_max_retries=5, hm_probe_type=HTTP_PROBE) 164 165 assert rr_listener.verify_on_setup(), "Verify on setup failed after new FIP associated" hm_delay undefined hm_timeout undefined hm_max_retries undefined hm_probe_type undefined global HTTP_PROBE = 'HTTP' /contrail-test/common/neutron/lbaasv2/base.py in create_lbaas(self=, lb_name='ctest-myvip-06244422', network_id='8936b6e2-aefb-4c5f-b440-7d6e496fbb0d', cleanup=True, **kwargs={'fip_net_id': '86322d5b-d69c-4111-b82c-4729e4035ba4', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-27269596', 'members': {'address': ['203.201.249.67', '203.201.249.68', '203.201.249.69']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-93071725', 'pool_port': 80, ...}) 77 connections=self.connections, 78 orchestrator=self.inputs.orchestrator, 79 **kwargs)) 80 return lbaas_fixture 81 # end create_lbaas method kwargs = {'fip_net_id': '86322d5b-d69c-4111-b82c-4729e4035ba4', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-27269596', 'members': {'address': ['203.201.249.67', '203.201.249.68', '203.201.249.69']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-93071725', 'pool_port': 80, ...} /usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=, fixture=) 754 # Gather_details worked, so raise the exception setUp 755 # encountered. 756 reraise(*exc_info) 757 else: 758 self.addCleanup(fixture.cleanUp) global reraise = exc_info = (, NotFound(), ) /usr/local/lib/python3.6/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=NotFound(), exc_tb=, _marker=) 13 14 def reraise(exc_class, exc_obj, exc_tb, _marker=object()): 15 """Re-raise an exception received from sys.exc_info() or similar.""" 16 raise exc_obj.with_traceback(exc_tb) 17 exc_obj = NotFound() exc_obj.with_traceback = exc_tb = /usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=, fixture=) 729 """ 730 try: 731 fixture.setUp() 732 except MultipleExceptions as e: 733 if (fixtures is not None and fixture = fixture.setUp = > /contrail-test/fixtures/lbaasv2_fixture.py in setUp(self=) 824 825 def setUp(self): 826 super(LBaasV2Fixture, self).setUp() 827 self.create() 828 builtinsuper = global LBaasV2Fixture = self = ).setUp = > /contrail-test/fixtures/lbaasv2_fixture.py in setUp(self=) 36 def setUp(self): 37 super(LBBaseFixture, self).setUp() 38 self.lb_create() 39 40 def cleanUp(self): self = self.lb_create = > /contrail-test/fixtures/lbaasv2_fixture.py in lb_create(self=) 96 name=self.lb_name, 97 network_id=self.network_id, 98 address=self.vip_ip,project=self.project_name) 99 self.lb_uuid = obj['id'] 100 self.lb_read() address undefined self = self.vip_ip = None project undefined self.project_name = 'ctest-TestLBaaSV2-11892136' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-06244422', network_id='8936b6e2-aefb-4c5f-b440-7d6e496fbb0d', subnet_id='1e9995a8-e97f-4fb1-9b3d-2bc39b396892', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-11892136'}) 940 lb_dict = {'name': name, 'vip_subnet_id': subnet_id, 941 'vip_address': address} 942 resp = self.obj.create_loadbalancer({'loadbalancer': lb_dict}) 943 return resp['loadbalancer'] 944 resp undefined self = self.obj = self.obj.create_loadbalancer = > lb_dict = {'name': 'ctest-myvip-06244422', 'vip_address': None, 'vip_subnet_id': '1e9995a8-e97f-4fb1-9b3d-2bc39b396892'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-06244422', 'vip_address': None, 'vip_subnet_id': '1e9995a8-e97f-4fb1-9b3d-2bc39b396892'}}) 1150 def create_loadbalancer(self, body=None): 1151 """Creates a new load balancer.""" 1152 return self.post(self.lbaas_loadbalancers_path, body=body) 1153 1154 def update_loadbalancer(self, lbaas_loadbalancer, body=None): self = self.post = > self.lbaas_loadbalancers_path = '/lbaas/loadbalancers' body = {'loadbalancer': {'name': 'ctest-myvip-06244422', 'vip_address': None, 'vip_subnet_id': '1e9995a8-e97f-4fb1-9b3d-2bc39b396892'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-06244422', 'vip_address': None, 'vip_subnet_id': '1e9995a8-e97f-4fb1-9b3d-2bc39b396892'}}, headers=None, params=None) 357 # Do not retry POST requests to avoid the orphan objects problem. 358 return self.do_request("POST", action, body=body, 359 headers=headers, params=params) 360 361 def put(self, action, body=None, headers=None, params=None): headers = None params = None /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in do_request(self=, method='POST', action='/v2.0/lbaas/loadbalancers', body='{"loadbalancer": {"name": "ctest-myvip-06244422"...7f-4fb1-9b3d-2bc39b396892", "vip_address": null}}', headers=None, params=None) 292 if not replybody: 293 replybody = resp.reason 294 self._handle_fault_response(status_code, replybody, resp) 295 296 def get_auth_info(self): self = self._handle_fault_response = > status_code = 404 replybody = '{"NeutronError": {"type": "HTTPNotFound", "messa...The resource could not be found.", "detail": ""}}' resp = /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in _handle_fault_response(self=, status_code=404, response_body='{"NeutronError": {"type": "HTTPNotFound", "messa...The resource could not be found.", "detail": ""}}', resp=) 267 error_body = self._convert_into_with_meta(des_error_body, resp) 268 # Raise the appropriate exception 269 exception_handler_v20(status_code, error_body) 270 271 def do_request(self, method, action, body=None, headers=None, params=None): global exception_handler_v20 = status_code = 404 error_body = {'NeutronError': {'type': 'HTTPNotFound', 'messa...The resource could not be found.', 'detail': ''}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in exception_handler_v20(status_code=404, error_content={'NeutronError': {'type': 'HTTPNotFound', 'messa...The resource could not be found.', 'detail': ''}}) 91 raise client_exc(message=error_message, 92 status_code=status_code, 93 request_ids=request_ids) 94 95 request_ids = ['req-1c07bbed-e78b-4453-a58c-39ce3417bbb6'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-1c07bbed-e78b-4453-a58c-39ce3417bbb6'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-1c07bbed-e78b-4453-a58c-39ce3417bbb6']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-1c07bbed-e78b-4453-a58c-39ce3417bbb6']", 'request_ids': ['req-1c07bbed-e78b-4453-a58c-39ce3417bbb6'], 'status_code': 404} __dir__ = __doc__ = None __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'neutronclient.common.exceptions' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None _error_string = "The resource could not be found.\nNeutron server ...ids: ['req-1c07bbed-e78b-4453-a58c-39ce3417bbb6']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-1c07bbed-e78b-4453-a58c-39ce3417bbb6']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-1c07bbed-e78b-4453-a58c-39ce3417bbb6'] status_code = 404 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/lbaasv2/test_lbaasv2.py", line 163, in test_lbaas_with_sg_vip hm_delay=5, hm_timeout=5, hm_max_retries=5, hm_probe_type=HTTP_PROBE) File "/contrail-test/common/neutron/lbaasv2/base.py", line 79, in create_lbaas **kwargs)) File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture reraise(*exc_info) File "/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture fixture.setUp() File "/contrail-test/fixtures/lbaasv2_fixture.py", line 826, in setUp super(LBaasV2Fixture, self).setUp() File "/contrail-test/fixtures/lbaasv2_fixture.py", line 38, in setUp self.lb_create() File "/contrail-test/fixtures/lbaasv2_fixture.py", line 98, in lb_create address=self.vip_ip,project=self.project_name) File "/contrail-test/fixtures/quantum_test.py", line 942, in create_loadbalancer resp = self.obj.create_loadbalancer({'loadbalancer': lb_dict}) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 1152, in create_loadbalancer return self.post(self.lbaas_loadbalancers_path, body=body) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 359, in post headers=headers, params=params) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20 request_ids=request_ids) neutronclient.common.exceptions.NotFound: The resource could not be found. Neutron server returns request_ids: ['req-1c07bbed-e78b-4453-a58c-39ce3417bbb6'] 2025-08-02 23:28:46,605 - DEBUG - No XMPP flaps were noticed during the test 2025-08-02 23:28:46,605 - INFO -
2025-08-02 23:28:46,605 - INFO - END TEST : test_lbaas_with_sg_vip : FAILED[0:00:14]
2025-08-02 23:28:46,605 - INFO - -------------------------------------------------------------------------------- 2025-08-02 23:28:47,570 - INFO - Deleted project: ctest-TestLBaaSV2-11892136, ID : d5df1e28-9abf-4cb2-b3dd-82ebfd5efdf6