2025-07-22 15:45:44,497 - INFO - Domain Default found not creating 2025-07-22 15:45:44,646 - INFO - Project ctest-TestLBaaSV2-44581055 not found, creating it 2025-07-22 15:45:45,178 - INFO - Created Project:ctest-TestLBaaSV2-44581055, ID : 8c5fa08e-2f5d-4d24-9ed6-7f36cbc362f6 2025-07-22 15:45:46,682 - INFO - ================================================================================ 2025-07-22 15:45:46,682 - INFO - STARTING TEST : test_lbaas_client_pool_in_same_net 2025-07-22 15:45:46,682 - 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-07-22 15:45:47,953 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-07-22 15:45:47,953 - INFO - Initial checks done. Running the testcase now 2025-07-22 15:45:47,953 - INFO - 2025-07-22 15:45:48,601 - DEBUG - Response for create_network : {'network': {'id': '201c4e5b-f82b-4ad8-a328-c909056b7160', 'name': 'ctest-vn-81540653', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-44581055', 'ctest-vn-81540653'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:45:48,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d478283-059a-4e22-ac74-7af73dadc854', 'name': '', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'network_id': '201c4e5b-f82b-4ad8-a328-c909056b7160', 'ip_version': 4, 'cidr': '48.238.10.192/26', 'allocation_pools': [{'start': '48.238.10.194', 'end': '48.238.10.254'}], 'gateway_ip': '48.238.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.238.10.194', 'tags': [], 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6'}} 2025-07-22 15:45:48,909 - INFO - Created VN ctest-vn-81540653 2025-07-22 15:45:48,925 - DEBUG - VN ctest-vn-81540653 UUID is 201c4e5b-f82b-4ad8-a328-c909056b7160 2025-07-22 15:45:49,076 - DEBUG - Services list from nova: [, , , ] 2025-07-22 15:45:50,242 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2) 2025-07-22 15:45:51,655 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-1) 2025-07-22 15:45:53,111 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2) 2025-07-22 15:45:53,111 - INFO - VM name : ctest-TestLBaaSV2-44581055-39790133 2025-07-22 15:45:53,204 - DEBUG - VM ctest-TestLBaaSV2-44581055-39790133 : Status=BUILD, Addresses : {} 2025-07-22 15:45:58,305 - DEBUG - VM ctest-TestLBaaSV2-44581055-39790133 ID is 580f16b3-4511-46a8-8c5b-9e01a5438701 2025-07-22 15:45:58,388 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:45:58,414 - DEBUG - VM ctest-TestLBaaSV2-44581055-39790133 launched on Node an-jenkins-deploy-platform-ansible-os-3693-1 2025-07-22 15:45:58,497 - INFO - VM name : ctest-TestLBaaSV2-44581055-28919376 2025-07-22 15:45:58,575 - DEBUG - VM ctest-TestLBaaSV2-44581055-28919376 ID is 6329c68e-b2bc-437c-aaa5-1fd95db31bbf 2025-07-22 15:45:58,660 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:45:58,660 - DEBUG - VM ctest-TestLBaaSV2-44581055-28919376 launched on Node an-jenkins-deploy-platform-ansible-os-3693-2 2025-07-22 15:45:58,751 - ERROR - List load balancers failed 2025-07-22 15:45:58,788 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-28919376 2025-07-22 15:45:58,858 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-39790133 2025-07-22 15:45:58,941 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-44581055-13891577 in state BUILD 2025-07-22 15:45:58,941 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-13891577 2025-07-22 15:45:58,941 - ERROR - VM ctest-TestLBaaSV2-44581055-13891577 has failed to come up 2025-07-22 15:45:58,942 - ERROR - Nova failed to get host of the VM 2025-07-22 15:45:58,942 - ERROR - VM ctest-TestLBaaSV2-44581055-13891577 has failed to come up 2025-07-22 15:45:58,942 - ERROR - Nova failed to get host of the VM 2025-07-22 15:45:59,030 - INFO - Deleting VN ctest-vn-81540653 2025-07-22 15:45:59,081 - DEBUG - VN 201c4e5b-f82b-4ad8-a328-c909056b7160 still in use: Unable to complete operation on network 201c4e5b-f82b-4ad8-a328-c909056b7160. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b723fd90-ddb0-4ec4-aed0-52469ebe1e45'] 2025-07-22 15:45:59,081 - WARNING - Deleting VN ctest-vn-81540653 failed..Will retry 2025-07-22 15:46:01,246 - DEBUG - Response for deleting network () 2025-07-22 15:46:02,508 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Tue Jul 22 15:45:58 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-19042535', network_id='201c4e5b-f82b-4ad8-a328-c909056b7160', cleanup=True, **kwargs={'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-HTTP-50371675', 'members': {'address': ['48.238.10.196', '48.238.10.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-86467014', '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-50371675', 'members': {'address': ['48.238.10.196', '48.238.10.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-86467014', '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-44581055' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-19042535', network_id='201c4e5b-f82b-4ad8-a328-c909056b7160', subnet_id='2d478283-059a-4e22-ac74-7af73dadc854', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-44581055'}) 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-19042535', 'vip_address': None, 'vip_subnet_id': '2d478283-059a-4e22-ac74-7af73dadc854'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-19042535', 'vip_address': None, 'vip_subnet_id': '2d478283-059a-4e22-ac74-7af73dadc854'}}) 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-19042535', 'vip_address': None, 'vip_subnet_id': '2d478283-059a-4e22-ac74-7af73dadc854'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-19042535', 'vip_address': None, 'vip_subnet_id': '2d478283-059a-4e22-ac74-7af73dadc854'}}, 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-19042535"...9a-4e22-ac74-7af73dadc854", "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-3fa3a6bd-f802-42aa-9bcc-45994016eeb4'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-3fa3a6bd-f802-42aa-9bcc-45994016eeb4'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-3fa3a6bd-f802-42aa-9bcc-45994016eeb4']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-3fa3a6bd-f802-42aa-9bcc-45994016eeb4']", 'request_ids': ['req-3fa3a6bd-f802-42aa-9bcc-45994016eeb4'], '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-3fa3a6bd-f802-42aa-9bcc-45994016eeb4']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-3fa3a6bd-f802-42aa-9bcc-45994016eeb4']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-3fa3a6bd-f802-42aa-9bcc-45994016eeb4'] 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-3fa3a6bd-f802-42aa-9bcc-45994016eeb4'] 2025-07-22 15:46:02,524 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 15:46:02,524 - INFO - 2025-07-22 15:46:02,525 - INFO - END TEST : test_lbaas_client_pool_in_same_net : FAILED[0:00:16] 2025-07-22 15:46:02,525 - INFO - -------------------------------------------------------------------------------- 2025-07-22 15:46:02,528 - INFO - ================================================================================ 2025-07-22 15:46:02,528 - INFO - STARTING TEST : test_lbaas_with_different_fip 2025-07-22 15:46:02,528 - 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-07-22 15:46:03,799 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-07-22 15:46:03,799 - INFO - Initial checks done. Running the testcase now 2025-07-22 15:46:03,799 - INFO - 2025-07-22 15:46:04,178 - DEBUG - Response for create_network : {'network': {'id': '1150a517-f397-4bba-ac80-e9305d786a0d', 'name': 'ctest-TestLBaaSV2-44581055-33872742', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-44581055', 'ctest-TestLBaaSV2-44581055-33872742'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:46:04,444 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e43e3b6-3045-42de-99bd-d3ba76c66d18', 'name': '', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'network_id': '1150a517-f397-4bba-ac80-e9305d786a0d', 'ip_version': 4, 'cidr': '203.90.118.0/26', 'allocation_pools': [{'start': '203.90.118.2', 'end': '203.90.118.62'}], 'gateway_ip': '203.90.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.90.118.2', 'tags': [], 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6'}} 2025-07-22 15:46:04,474 - INFO - Created VN ctest-TestLBaaSV2-44581055-33872742 2025-07-22 15:46:04,492 - DEBUG - VN ctest-TestLBaaSV2-44581055-33872742 UUID is 1150a517-f397-4bba-ac80-e9305d786a0d 2025-07-22 15:46:05,030 - DEBUG - Response for create_network : {'network': {'id': 'f0b79829-db18-4667-a521-1747770cba77', 'name': 'ctest-TestLBaaSV2-44581055-02738734', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-44581055', 'ctest-TestLBaaSV2-44581055-02738734'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:46:05,291 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e06401ce-8693-4e9c-8c4c-fa4cae445a96', 'name': '', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'network_id': 'f0b79829-db18-4667-a521-1747770cba77', 'ip_version': 4, 'cidr': '160.173.24.128/26', 'allocation_pools': [{'start': '160.173.24.130', 'end': '160.173.24.190'}], 'gateway_ip': '160.173.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.173.24.130', 'tags': [], 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6'}} 2025-07-22 15:46:05,316 - INFO - Created VN ctest-TestLBaaSV2-44581055-02738734 2025-07-22 15:46:05,330 - DEBUG - VN ctest-TestLBaaSV2-44581055-02738734 UUID is f0b79829-db18-4667-a521-1747770cba77 2025-07-22 15:46:05,726 - DEBUG - Response for create_network : {'network': {'id': 'ee593d1f-dd53-4662-a65f-80b8b4be0aa8', 'name': 'ctest-vn-92235002', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-44581055', 'ctest-vn-92235002'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:46:06,006 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f797a3d-ded3-400a-820b-9d7ff1cc9850', 'name': '', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'network_id': 'ee593d1f-dd53-4662-a65f-80b8b4be0aa8', 'ip_version': 4, 'cidr': '19.82.101.192/26', 'allocation_pools': [{'start': '19.82.101.194', 'end': '19.82.101.254'}], 'gateway_ip': '19.82.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.82.101.194', 'tags': [], 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6'}} 2025-07-22 15:46:06,030 - INFO - Created VN ctest-vn-92235002 2025-07-22 15:46:06,044 - DEBUG - VN ctest-vn-92235002 UUID is ee593d1f-dd53-4662-a65f-80b8b4be0aa8 2025-07-22 15:46:07,226 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-1) 2025-07-22 15:46:08,536 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2) 2025-07-22 15:46:10,011 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-1) 2025-07-22 15:46:10,196 - DEBUG - Image by name cirros-0.4.0 not found 2025-07-22 15:46:10,196 - DEBUG - Installing image cirros-0.4.0 2025-07-22 15:46:10,196 - 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-07-22 15:46:10,196 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img 2025-07-22 15:46:10,197 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img 2025-07-22 15:46:10,214 - 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-07-22 15:46:10,319 - DEBUG - Image has been downloaded to /contrail-test/images/cirros-0.4.0-x86_64-disk.img 2025-07-22 15:46:10,319 - DEBUG - Try to create image in user context 2025-07-22 15:46:10,682 - DEBUG - Image has been created in user context 2025-07-22 15:46:10,682 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/cirros-0.4.0-x86_64-disk.img 2025-07-22 15:46:10,698 - DEBUG - Downloaded image has been removed 2025-07-22 15:46:10,720 - DEBUG - Uploaded image status = active 2025-07-22 15:46:11,875 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2) 2025-07-22 15:46:13,258 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-1) 2025-07-22 15:46:13,258 - INFO - VM name : ctest-TestLBaaSV2-44581055-46263777 2025-07-22 15:46:13,348 - DEBUG - VM ctest-TestLBaaSV2-44581055-46263777 ID is 42681d62-1786-488f-b58c-cb7c8ef44cb8 2025-07-22 15:46:13,442 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:46:13,442 - DEBUG - VM ctest-TestLBaaSV2-44581055-46263777 launched on Node an-jenkins-deploy-platform-ansible-os-3693-1 2025-07-22 15:46:13,542 - INFO - VM name : ctest-TestLBaaSV2-44581055-86687330 2025-07-22 15:46:13,700 - DEBUG - VM ctest-TestLBaaSV2-44581055-86687330 ID is de8d9de5-64d5-4b29-b81b-5d247665f9e5 2025-07-22 15:46:13,875 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:46:13,876 - DEBUG - VM ctest-TestLBaaSV2-44581055-86687330 launched on Node an-jenkins-deploy-platform-ansible-os-3693-2 2025-07-22 15:46:14,008 - INFO - VM name : ctest-TestLBaaSV2-44581055-80792042 2025-07-22 15:46:14,105 - DEBUG - VM ctest-TestLBaaSV2-44581055-80792042 ID is 00da8652-47d6-47e0-a9fa-e0f5d5579bd5 2025-07-22 15:46:14,251 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:46:14,251 - DEBUG - VM ctest-TestLBaaSV2-44581055-80792042 launched on Node an-jenkins-deploy-platform-ansible-os-3693-1 2025-07-22 15:46:14,343 - INFO - Verify Round Robin Method 2025-07-22 15:46:14,350 - ERROR - List load balancers failed 2025-07-22 15:46:14,387 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-44581055-30377897 in state BUILD 2025-07-22 15:46:14,387 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-30377897 2025-07-22 15:46:14,387 - ERROR - VM ctest-TestLBaaSV2-44581055-30377897 has failed to come up 2025-07-22 15:46:14,387 - ERROR - Nova failed to get host of the VM 2025-07-22 15:46:14,388 - ERROR - VM ctest-TestLBaaSV2-44581055-30377897 has failed to come up 2025-07-22 15:46:14,388 - ERROR - Nova failed to get host of the VM 2025-07-22 15:46:14,447 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-44581055-48986801 in state BUILD 2025-07-22 15:46:14,448 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-48986801 2025-07-22 15:46:14,448 - ERROR - VM ctest-TestLBaaSV2-44581055-48986801 has failed to come up 2025-07-22 15:46:14,448 - ERROR - Nova failed to get host of the VM 2025-07-22 15:46:14,448 - ERROR - VM ctest-TestLBaaSV2-44581055-48986801 has failed to come up 2025-07-22 15:46:14,448 - ERROR - Nova failed to get host of the VM 2025-07-22 15:46:14,530 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-80792042 2025-07-22 15:46:14,634 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-86687330 2025-07-22 15:46:14,717 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-46263777 2025-07-22 15:46:14,802 - INFO - Deleting VN ctest-vn-92235002 2025-07-22 15:46:14,851 - DEBUG - VN ee593d1f-dd53-4662-a65f-80b8b4be0aa8 still in use: Unable to complete operation on network ee593d1f-dd53-4662-a65f-80b8b4be0aa8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8fb40d47-1644-4703-b830-d11f674df30d'] 2025-07-22 15:46:14,852 - WARNING - Deleting VN ctest-vn-92235002 failed..Will retry 2025-07-22 15:46:17,071 - DEBUG - Response for deleting network () 2025-07-22 15:46:17,071 - INFO - Deleting VN ctest-TestLBaaSV2-44581055-02738734 2025-07-22 15:46:17,280 - DEBUG - Response for deleting network () 2025-07-22 15:46:17,280 - INFO - Deleting VN ctest-TestLBaaSV2-44581055-33872742 2025-07-22 15:46:17,520 - DEBUG - Response for deleting network () 2025-07-22 15:46:18,775 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Tue Jul 22 15:46:14 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-09595114', network_id='ee593d1f-dd53-4662-a65f-80b8b4be0aa8', cleanup=True, **kwargs={'fip_net_id': '1150a517-f397-4bba-ac80-e9305d786a0d', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-88943747', 'members': {'address': ['19.82.101.195', '19.82.101.196', '19.82.101.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-86147713', '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': '1150a517-f397-4bba-ac80-e9305d786a0d', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-88943747', 'members': {'address': ['19.82.101.195', '19.82.101.196', '19.82.101.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-86147713', '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-44581055' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-09595114', network_id='ee593d1f-dd53-4662-a65f-80b8b4be0aa8', subnet_id='3f797a3d-ded3-400a-820b-9d7ff1cc9850', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-44581055'}) 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-09595114', 'vip_address': None, 'vip_subnet_id': '3f797a3d-ded3-400a-820b-9d7ff1cc9850'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-09595114', 'vip_address': None, 'vip_subnet_id': '3f797a3d-ded3-400a-820b-9d7ff1cc9850'}}) 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-09595114', 'vip_address': None, 'vip_subnet_id': '3f797a3d-ded3-400a-820b-9d7ff1cc9850'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-09595114', 'vip_address': None, 'vip_subnet_id': '3f797a3d-ded3-400a-820b-9d7ff1cc9850'}}, 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-09595114"...d3-400a-820b-9d7ff1cc9850", "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-307a2299-eb08-414a-9ce4-2504be594c62'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-307a2299-eb08-414a-9ce4-2504be594c62'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-307a2299-eb08-414a-9ce4-2504be594c62']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-307a2299-eb08-414a-9ce4-2504be594c62']", 'request_ids': ['req-307a2299-eb08-414a-9ce4-2504be594c62'], '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-307a2299-eb08-414a-9ce4-2504be594c62']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-307a2299-eb08-414a-9ce4-2504be594c62']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-307a2299-eb08-414a-9ce4-2504be594c62'] 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-307a2299-eb08-414a-9ce4-2504be594c62'] 2025-07-22 15:46:18,792 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 15:46:18,792 - INFO - 2025-07-22 15:46:18,792 - INFO - END TEST : test_lbaas_with_different_fip : FAILED[0:00:16] 2025-07-22 15:46:18,792 - INFO - -------------------------------------------------------------------------------- 2025-07-22 15:46:18,797 - INFO - ================================================================================ 2025-07-22 15:46:18,797 - INFO - STARTING TEST : test_lbaas_with_sg_vip 2025-07-22 15:46:18,797 - 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-07-22 15:46:20,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-07-22 15:46:20,078 - INFO - Initial checks done. Running the testcase now 2025-07-22 15:46:20,078 - INFO - 2025-07-22 15:46:20,422 - DEBUG - Response for create_network : {'network': {'id': '2b93082f-79dc-45a8-b972-66ae200f3133', 'name': 'ctest-TestLBaaSV2-44581055-73824777', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-44581055', 'ctest-TestLBaaSV2-44581055-73824777'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:46:20,692 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbd86b0a-e3e2-4e74-892b-387b98b4a77a', 'name': '', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'network_id': '2b93082f-79dc-45a8-b972-66ae200f3133', 'ip_version': 4, 'cidr': '88.145.143.0/26', 'allocation_pools': [{'start': '88.145.143.2', 'end': '88.145.143.62'}], 'gateway_ip': '88.145.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.145.143.2', 'tags': [], 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6'}} 2025-07-22 15:46:20,721 - INFO - Created VN ctest-TestLBaaSV2-44581055-73824777 2025-07-22 15:46:20,740 - DEBUG - VN ctest-TestLBaaSV2-44581055-73824777 UUID is 2b93082f-79dc-45a8-b972-66ae200f3133 2025-07-22 15:46:21,158 - DEBUG - Response for create_network : {'network': {'id': 'b923fd05-728b-4ce5-bf1b-78d6bace253a', 'name': 'ctest-vn-94821857', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-44581055', 'ctest-vn-94821857'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:46:21,371 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3754a55-5589-43f6-8ed6-b164acd330a3', 'name': '', 'tenant_id': '8c5fa08e2f5d4d249ed67f36cbc362f6', 'network_id': 'b923fd05-728b-4ce5-bf1b-78d6bace253a', 'ip_version': 4, 'cidr': '61.118.4.192/26', 'allocation_pools': [{'start': '61.118.4.194', 'end': '61.118.4.254'}], 'gateway_ip': '61.118.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.118.4.194', 'tags': [], 'project_id': '8c5fa08e2f5d4d249ed67f36cbc362f6'}} 2025-07-22 15:46:21,403 - INFO - Created VN ctest-vn-94821857 2025-07-22 15:46:21,416 - DEBUG - VN ctest-vn-94821857 UUID is b923fd05-728b-4ce5-bf1b-78d6bace253a 2025-07-22 15:46:22,565 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2) 2025-07-22 15:46:23,898 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-1) 2025-07-22 15:46:25,562 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2) 2025-07-22 15:46:27,321 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-1) 2025-07-22 15:46:27,321 - INFO - VM name : ctest-TestLBaaSV2-44581055-01767373 2025-07-22 15:46:27,461 - DEBUG - VM ctest-TestLBaaSV2-44581055-01767373 ID is 6f7bf406-4ea4-4e3d-b188-726035542474 2025-07-22 15:46:27,623 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:46:27,623 - DEBUG - VM ctest-TestLBaaSV2-44581055-01767373 launched on Node an-jenkins-deploy-platform-ansible-os-3693-2 2025-07-22 15:46:27,786 - INFO - VM name : ctest-TestLBaaSV2-44581055-79398994 2025-07-22 15:46:27,949 - DEBUG - VM ctest-TestLBaaSV2-44581055-79398994 ID is 9bf84f23-65e9-4cdd-8808-5ed9dfc42653 2025-07-22 15:46:28,122 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:46:28,122 - DEBUG - VM ctest-TestLBaaSV2-44581055-79398994 launched on Node an-jenkins-deploy-platform-ansible-os-3693-1 2025-07-22 15:46:28,301 - INFO - VM name : ctest-TestLBaaSV2-44581055-74264578 2025-07-22 15:46:28,460 - DEBUG - VM ctest-TestLBaaSV2-44581055-74264578 ID is 2f489daf-b18d-4800-b338-be1d10440d80 2025-07-22 15:46:28,568 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:46:28,568 - DEBUG - VM ctest-TestLBaaSV2-44581055-74264578 launched on Node an-jenkins-deploy-platform-ansible-os-3693-2 2025-07-22 15:46:28,689 - INFO - Verify Round Robin Method 2025-07-22 15:46:28,704 - ERROR - List load balancers failed 2025-07-22 15:46:28,765 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-44581055-15889542 in state BUILD 2025-07-22 15:46:28,766 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-15889542 2025-07-22 15:46:28,766 - ERROR - VM ctest-TestLBaaSV2-44581055-15889542 has failed to come up 2025-07-22 15:46:28,766 - ERROR - Nova failed to get host of the VM 2025-07-22 15:46:28,767 - ERROR - VM ctest-TestLBaaSV2-44581055-15889542 has failed to come up 2025-07-22 15:46:28,767 - ERROR - Nova failed to get host of the VM 2025-07-22 15:46:28,883 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-74264578 2025-07-22 15:46:29,003 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-79398994 2025-07-22 15:46:29,079 - INFO - Deleting VM ctest-TestLBaaSV2-44581055-01767373 2025-07-22 15:46:29,163 - INFO - Deleting VN ctest-vn-94821857 2025-07-22 15:46:29,222 - DEBUG - VN b923fd05-728b-4ce5-bf1b-78d6bace253a still in use: Unable to complete operation on network b923fd05-728b-4ce5-bf1b-78d6bace253a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0bd7f06-ac3a-48fc-ae5c-a85c55f4d869'] 2025-07-22 15:46:29,222 - WARNING - Deleting VN ctest-vn-94821857 failed..Will retry 2025-07-22 15:46:31,378 - DEBUG - Response for deleting network () 2025-07-22 15:46:31,378 - INFO - Deleting VN ctest-TestLBaaSV2-44581055-73824777 2025-07-22 15:46:31,644 - DEBUG - Response for deleting network () 2025-07-22 15:46:32,912 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Tue Jul 22 15:46:28 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-83288696', network_id='b923fd05-728b-4ce5-bf1b-78d6bace253a', cleanup=True, **kwargs={'fip_net_id': '2b93082f-79dc-45a8-b972-66ae200f3133', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-05875841', 'members': {'address': ['61.118.4.195', '61.118.4.196', '61.118.4.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-50576321', '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': '2b93082f-79dc-45a8-b972-66ae200f3133', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-05875841', 'members': {'address': ['61.118.4.195', '61.118.4.196', '61.118.4.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-50576321', '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-44581055' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-83288696', network_id='b923fd05-728b-4ce5-bf1b-78d6bace253a', subnet_id='c3754a55-5589-43f6-8ed6-b164acd330a3', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-44581055'}) 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-83288696', 'vip_address': None, 'vip_subnet_id': 'c3754a55-5589-43f6-8ed6-b164acd330a3'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-83288696', 'vip_address': None, 'vip_subnet_id': 'c3754a55-5589-43f6-8ed6-b164acd330a3'}}) 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-83288696', 'vip_address': None, 'vip_subnet_id': 'c3754a55-5589-43f6-8ed6-b164acd330a3'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-83288696', 'vip_address': None, 'vip_subnet_id': 'c3754a55-5589-43f6-8ed6-b164acd330a3'}}, 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-83288696"...89-43f6-8ed6-b164acd330a3", "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-4770ab8b-1853-4fcf-a5f1-6ccb4a995d10'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-4770ab8b-1853-4fcf-a5f1-6ccb4a995d10'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-4770ab8b-1853-4fcf-a5f1-6ccb4a995d10']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-4770ab8b-1853-4fcf-a5f1-6ccb4a995d10']", 'request_ids': ['req-4770ab8b-1853-4fcf-a5f1-6ccb4a995d10'], '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-4770ab8b-1853-4fcf-a5f1-6ccb4a995d10']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-4770ab8b-1853-4fcf-a5f1-6ccb4a995d10']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-4770ab8b-1853-4fcf-a5f1-6ccb4a995d10'] 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-4770ab8b-1853-4fcf-a5f1-6ccb4a995d10'] 2025-07-22 15:46:32,928 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 15:46:32,928 - INFO - 2025-07-22 15:46:32,928 - INFO - END TEST : test_lbaas_with_sg_vip : FAILED[0:00:14] 2025-07-22 15:46:32,928 - INFO - -------------------------------------------------------------------------------- 2025-07-22 15:46:34,049 - INFO - Deleted project: ctest-TestLBaaSV2-44581055, ID : 8c5fa08e-2f5d-4d24-9ed6-7f36cbc362f6