2025-08-07 02:39:51,303 - INFO - Domain Default found not creating 2025-08-07 02:39:51,459 - INFO - Project ctest-TestLBaaSV2-40899576 not found, creating it 2025-08-07 02:39:51,990 - INFO - Created Project:ctest-TestLBaaSV2-40899576, ID : 0cd94bab-1817-4008-b32f-f9d44877229a 2025-08-07 02:39:53,502 - INFO - ================================================================================ 2025-08-07 02:39:53,502 - INFO - STARTING TEST : test_lbaas_client_pool_in_same_net 2025-08-07 02:39:53,502 - 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-07 02:39:54,785 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-07 02:39:54,785 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:39:54,785 - INFO - 2025-08-07 02:39:55,494 - DEBUG - Response for create_network : {'network': {'id': '6e79736f-5bcb-4d84-958a-77c2d635b5c7', 'name': 'ctest-vn-26827014', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'project_id': '0cd94bab18174008b32ff9d44877229a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40899576', 'ctest-vn-26827014'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:39:55,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b9a1dc2-fbaf-4981-acf8-b0f2c45eb89f', 'name': '', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'network_id': '6e79736f-5bcb-4d84-958a-77c2d635b5c7', 'ip_version': 4, 'cidr': '58.177.113.128/26', 'allocation_pools': [{'start': '58.177.113.130', 'end': '58.177.113.190'}], 'gateway_ip': '58.177.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.177.113.130', 'tags': [], 'project_id': '0cd94bab18174008b32ff9d44877229a'}} 2025-08-07 02:39:55,779 - INFO - Created VN ctest-vn-26827014 2025-08-07 02:39:55,794 - DEBUG - VN ctest-vn-26827014 UUID is 6e79736f-5bcb-4d84-958a-77c2d635b5c7 2025-08-07 02:39:55,942 - DEBUG - Services list from nova: [, , , ] 2025-08-07 02:39:57,156 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:39:58,513 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-1) 2025-08-07 02:40:00,026 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:40:00,026 - INFO - VM name : ctest-TestLBaaSV2-40899576-86152816 2025-08-07 02:40:00,123 - DEBUG - VM ctest-TestLBaaSV2-40899576-86152816 : Status=BUILD, Addresses : {} 2025-08-07 02:40:05,234 - DEBUG - VM ctest-TestLBaaSV2-40899576-86152816 ID is 7859049c-720b-4345-a70f-fc4083955993 2025-08-07 02:40:05,330 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:40:05,357 - DEBUG - VM ctest-TestLBaaSV2-40899576-86152816 launched on Node an-jenkins-deploy-platform-ansible-os-3767-1 2025-08-07 02:40:05,453 - INFO - VM name : ctest-TestLBaaSV2-40899576-94011738 2025-08-07 02:40:05,545 - DEBUG - VM ctest-TestLBaaSV2-40899576-94011738 ID is 45ca91d6-fda5-468a-8bac-adc838a0d969 2025-08-07 02:40:05,637 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:40:05,637 - DEBUG - VM ctest-TestLBaaSV2-40899576-94011738 launched on Node an-jenkins-deploy-platform-ansible-os-3767-2 2025-08-07 02:40:05,743 - ERROR - List load balancers failed 2025-08-07 02:40:05,791 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-94011738 2025-08-07 02:40:05,870 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-86152816 2025-08-07 02:40:05,948 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-40899576-72342742 in state BUILD 2025-08-07 02:40:05,948 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-72342742 2025-08-07 02:40:05,948 - ERROR - VM ctest-TestLBaaSV2-40899576-72342742 has failed to come up 2025-08-07 02:40:05,948 - ERROR - Nova failed to get host of the VM 2025-08-07 02:40:05,948 - ERROR - VM ctest-TestLBaaSV2-40899576-72342742 has failed to come up 2025-08-07 02:40:05,948 - ERROR - Nova failed to get host of the VM 2025-08-07 02:40:06,030 - INFO - Deleting VN ctest-vn-26827014 2025-08-07 02:40:06,088 - DEBUG - VN 6e79736f-5bcb-4d84-958a-77c2d635b5c7 still in use: Unable to complete operation on network 6e79736f-5bcb-4d84-958a-77c2d635b5c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85548e3f-28ac-4c4a-97c8-3adf50409a2d'] 2025-08-07 02:40:06,088 - WARNING - Deleting VN ctest-vn-26827014 failed..Will retry 2025-08-07 02:40:08,263 - DEBUG - Response for deleting network () 2025-08-07 02:40:09,549 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Thu Aug 7 02:40:05 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-91279231', network_id='6e79736f-5bcb-4d84-958a-77c2d635b5c7', cleanup=True, **kwargs={'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-HTTP-06326201', 'members': {'address': ['58.177.113.132', '58.177.113.133']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-06412926', '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-06326201', 'members': {'address': ['58.177.113.132', '58.177.113.133']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-06412926', '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-40899576' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-91279231', network_id='6e79736f-5bcb-4d84-958a-77c2d635b5c7', subnet_id='2b9a1dc2-fbaf-4981-acf8-b0f2c45eb89f', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-40899576'}) 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-91279231', 'vip_address': None, 'vip_subnet_id': '2b9a1dc2-fbaf-4981-acf8-b0f2c45eb89f'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-91279231', 'vip_address': None, 'vip_subnet_id': '2b9a1dc2-fbaf-4981-acf8-b0f2c45eb89f'}}) 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-91279231', 'vip_address': None, 'vip_subnet_id': '2b9a1dc2-fbaf-4981-acf8-b0f2c45eb89f'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-91279231', 'vip_address': None, 'vip_subnet_id': '2b9a1dc2-fbaf-4981-acf8-b0f2c45eb89f'}}, 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-91279231"...af-4981-acf8-b0f2c45eb89f", "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-7f22837c-bec1-4823-aca9-403331898fef'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-7f22837c-bec1-4823-aca9-403331898fef'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-7f22837c-bec1-4823-aca9-403331898fef']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-7f22837c-bec1-4823-aca9-403331898fef']", 'request_ids': ['req-7f22837c-bec1-4823-aca9-403331898fef'], '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-7f22837c-bec1-4823-aca9-403331898fef']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-7f22837c-bec1-4823-aca9-403331898fef']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-7f22837c-bec1-4823-aca9-403331898fef'] 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-7f22837c-bec1-4823-aca9-403331898fef'] 2025-08-07 02:40:09,569 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:40:09,569 - INFO -
2025-08-07 02:40:09,569 - INFO - END TEST : test_lbaas_client_pool_in_same_net : FAILED[0:00:16]
2025-08-07 02:40:09,569 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:40:09,574 - INFO - ================================================================================ 2025-08-07 02:40:09,574 - INFO - STARTING TEST : test_lbaas_with_different_fip 2025-08-07 02:40:09,574 - 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-07 02:40:10,874 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-07 02:40:10,874 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:40:10,875 - INFO - 2025-08-07 02:40:11,286 - DEBUG - Response for create_network : {'network': {'id': '9f782253-b290-4705-91f6-8ad8d70804d2', 'name': 'ctest-TestLBaaSV2-40899576-11189698', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'project_id': '0cd94bab18174008b32ff9d44877229a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40899576', 'ctest-TestLBaaSV2-40899576-11189698'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:40:11,554 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fda1fd9f-ebc8-463d-a39a-375987cde53a', 'name': '', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'network_id': '9f782253-b290-4705-91f6-8ad8d70804d2', 'ip_version': 4, 'cidr': '89.235.234.128/26', 'allocation_pools': [{'start': '89.235.234.130', 'end': '89.235.234.190'}], 'gateway_ip': '89.235.234.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.235.234.130', 'tags': [], 'project_id': '0cd94bab18174008b32ff9d44877229a'}} 2025-08-07 02:40:11,579 - INFO - Created VN ctest-TestLBaaSV2-40899576-11189698 2025-08-07 02:40:11,594 - DEBUG - VN ctest-TestLBaaSV2-40899576-11189698 UUID is 9f782253-b290-4705-91f6-8ad8d70804d2 2025-08-07 02:40:12,066 - DEBUG - Response for create_network : {'network': {'id': '6d203657-3bbf-471f-837f-14bd83f905b6', 'name': 'ctest-TestLBaaSV2-40899576-04418719', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'project_id': '0cd94bab18174008b32ff9d44877229a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40899576', 'ctest-TestLBaaSV2-40899576-04418719'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:40:12,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b59d74c-c7d7-4f22-a63f-d0dc296b66c8', 'name': '', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'network_id': '6d203657-3bbf-471f-837f-14bd83f905b6', 'ip_version': 4, 'cidr': '71.254.219.128/26', 'allocation_pools': [{'start': '71.254.219.130', 'end': '71.254.219.190'}], 'gateway_ip': '71.254.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.254.219.130', 'tags': [], 'project_id': '0cd94bab18174008b32ff9d44877229a'}} 2025-08-07 02:40:12,334 - INFO - Created VN ctest-TestLBaaSV2-40899576-04418719 2025-08-07 02:40:12,353 - DEBUG - VN ctest-TestLBaaSV2-40899576-04418719 UUID is 6d203657-3bbf-471f-837f-14bd83f905b6 2025-08-07 02:40:12,785 - DEBUG - Response for create_network : {'network': {'id': 'c0e9d1ee-20d3-4d82-a150-b2f3f5ab0956', 'name': 'ctest-vn-83664136', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'project_id': '0cd94bab18174008b32ff9d44877229a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40899576', 'ctest-vn-83664136'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:40:13,070 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7a19914-d47a-402f-bd6b-794dfa7df4f3', 'name': '', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'network_id': 'c0e9d1ee-20d3-4d82-a150-b2f3f5ab0956', 'ip_version': 4, 'cidr': '158.221.30.192/26', 'allocation_pools': [{'start': '158.221.30.194', 'end': '158.221.30.254'}], 'gateway_ip': '158.221.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.221.30.194', 'tags': [], 'project_id': '0cd94bab18174008b32ff9d44877229a'}} 2025-08-07 02:40:13,095 - INFO - Created VN ctest-vn-83664136 2025-08-07 02:40:13,113 - DEBUG - VN ctest-vn-83664136 UUID is c0e9d1ee-20d3-4d82-a150-b2f3f5ab0956 2025-08-07 02:40:14,245 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-1) 2025-08-07 02:40:15,618 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:40:17,316 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-1) 2025-08-07 02:40:17,471 - DEBUG - Image by name cirros-0.4.0 not found 2025-08-07 02:40:17,471 - DEBUG - Installing image cirros-0.4.0 2025-08-07 02:40:17,471 - 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-07 02:40:17,471 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img 2025-08-07 02:40:17,471 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img 2025-08-07 02:40:17,486 - 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-07 02:40:17,675 - DEBUG - Image has been downloaded to /contrail-test/images/cirros-0.4.0-x86_64-disk.img 2025-08-07 02:40:17,676 - DEBUG - Try to create image in user context 2025-08-07 02:40:17,924 - DEBUG - Image has been created in user context 2025-08-07 02:40:17,924 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/cirros-0.4.0-x86_64-disk.img 2025-08-07 02:40:17,940 - DEBUG - Downloaded image has been removed 2025-08-07 02:40:17,973 - DEBUG - Uploaded image status = active 2025-08-07 02:40:19,267 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:40:20,743 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-1) 2025-08-07 02:40:20,743 - INFO - VM name : ctest-TestLBaaSV2-40899576-19348606 2025-08-07 02:40:20,849 - DEBUG - VM ctest-TestLBaaSV2-40899576-19348606 ID is ddc039bc-b444-4bab-bde4-dddb638985f4 2025-08-07 02:40:20,957 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:40:20,958 - DEBUG - VM ctest-TestLBaaSV2-40899576-19348606 launched on Node an-jenkins-deploy-platform-ansible-os-3767-1 2025-08-07 02:40:21,061 - INFO - VM name : ctest-TestLBaaSV2-40899576-83844774 2025-08-07 02:40:21,209 - DEBUG - VM ctest-TestLBaaSV2-40899576-83844774 ID is 9c7d9786-1997-479e-bd31-f44bd0304069 2025-08-07 02:40:21,365 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:40:21,365 - DEBUG - VM ctest-TestLBaaSV2-40899576-83844774 launched on Node an-jenkins-deploy-platform-ansible-os-3767-2 2025-08-07 02:40:21,490 - INFO - VM name : ctest-TestLBaaSV2-40899576-13787664 2025-08-07 02:40:21,590 - DEBUG - VM ctest-TestLBaaSV2-40899576-13787664 ID is c25c98d5-c988-476a-8624-09d8f1e6e563 2025-08-07 02:40:21,731 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:40:21,731 - DEBUG - VM ctest-TestLBaaSV2-40899576-13787664 launched on Node an-jenkins-deploy-platform-ansible-os-3767-1 2025-08-07 02:40:21,853 - INFO - Verify Round Robin Method 2025-08-07 02:40:21,864 - ERROR - List load balancers failed 2025-08-07 02:40:21,915 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-40899576-57469320 in state BUILD 2025-08-07 02:40:21,916 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-57469320 2025-08-07 02:40:21,916 - ERROR - VM ctest-TestLBaaSV2-40899576-57469320 has failed to come up 2025-08-07 02:40:21,916 - ERROR - Nova failed to get host of the VM 2025-08-07 02:40:21,916 - ERROR - VM ctest-TestLBaaSV2-40899576-57469320 has failed to come up 2025-08-07 02:40:21,917 - ERROR - Nova failed to get host of the VM 2025-08-07 02:40:22,013 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-40899576-34098356 in state BUILD 2025-08-07 02:40:22,013 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-34098356 2025-08-07 02:40:22,013 - ERROR - VM ctest-TestLBaaSV2-40899576-34098356 has failed to come up 2025-08-07 02:40:22,013 - ERROR - Nova failed to get host of the VM 2025-08-07 02:40:22,014 - ERROR - VM ctest-TestLBaaSV2-40899576-34098356 has failed to come up 2025-08-07 02:40:22,014 - ERROR - Nova failed to get host of the VM 2025-08-07 02:40:22,101 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-13787664 2025-08-07 02:40:22,187 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-83844774 2025-08-07 02:40:22,251 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-19348606 2025-08-07 02:40:22,325 - INFO - Deleting VN ctest-vn-83664136 2025-08-07 02:40:22,392 - DEBUG - VN c0e9d1ee-20d3-4d82-a150-b2f3f5ab0956 still in use: Unable to complete operation on network c0e9d1ee-20d3-4d82-a150-b2f3f5ab0956. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-655dd49b-6d3a-4697-a903-2e7dd6b05af4'] 2025-08-07 02:40:22,392 - WARNING - Deleting VN ctest-vn-83664136 failed..Will retry 2025-08-07 02:40:24,635 - DEBUG - Response for deleting network () 2025-08-07 02:40:24,635 - INFO - Deleting VN ctest-TestLBaaSV2-40899576-04418719 2025-08-07 02:40:24,769 - DEBUG - VN 6d203657-3bbf-471f-837f-14bd83f905b6 still in use: Unable to complete operation on network 6d203657-3bbf-471f-837f-14bd83f905b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c7d6804b-f38c-4487-93a3-d0edb129629b'] 2025-08-07 02:40:24,769 - WARNING - Deleting VN ctest-TestLBaaSV2-40899576-04418719 failed..Will retry 2025-08-07 02:40:26,987 - DEBUG - Response for deleting network () 2025-08-07 02:40:26,987 - INFO - Deleting VN ctest-TestLBaaSV2-40899576-11189698 2025-08-07 02:40:27,241 - DEBUG - Response for deleting network () 2025-08-07 02:40:28,537 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Thu Aug 7 02:40:21 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-05231079', network_id='c0e9d1ee-20d3-4d82-a150-b2f3f5ab0956', cleanup=True, **kwargs={'fip_net_id': '9f782253-b290-4705-91f6-8ad8d70804d2', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-48937251', 'members': {'address': ['158.221.30.195', '158.221.30.196', '158.221.30.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-20883240', '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': '9f782253-b290-4705-91f6-8ad8d70804d2', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-48937251', 'members': {'address': ['158.221.30.195', '158.221.30.196', '158.221.30.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-20883240', '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-40899576' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-05231079', network_id='c0e9d1ee-20d3-4d82-a150-b2f3f5ab0956', subnet_id='b7a19914-d47a-402f-bd6b-794dfa7df4f3', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-40899576'}) 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-05231079', 'vip_address': None, 'vip_subnet_id': 'b7a19914-d47a-402f-bd6b-794dfa7df4f3'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-05231079', 'vip_address': None, 'vip_subnet_id': 'b7a19914-d47a-402f-bd6b-794dfa7df4f3'}}) 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-05231079', 'vip_address': None, 'vip_subnet_id': 'b7a19914-d47a-402f-bd6b-794dfa7df4f3'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-05231079', 'vip_address': None, 'vip_subnet_id': 'b7a19914-d47a-402f-bd6b-794dfa7df4f3'}}, 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-05231079"...7a-402f-bd6b-794dfa7df4f3", "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-ee816b4a-b9c5-47a2-9f3b-c321796a5eff'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-ee816b4a-b9c5-47a2-9f3b-c321796a5eff'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-ee816b4a-b9c5-47a2-9f3b-c321796a5eff']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-ee816b4a-b9c5-47a2-9f3b-c321796a5eff']", 'request_ids': ['req-ee816b4a-b9c5-47a2-9f3b-c321796a5eff'], '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-ee816b4a-b9c5-47a2-9f3b-c321796a5eff']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-ee816b4a-b9c5-47a2-9f3b-c321796a5eff']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-ee816b4a-b9c5-47a2-9f3b-c321796a5eff'] 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-ee816b4a-b9c5-47a2-9f3b-c321796a5eff'] 2025-08-07 02:40:28,557 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:40:28,557 - INFO -
2025-08-07 02:40:28,557 - INFO - END TEST : test_lbaas_with_different_fip : FAILED[0:00:19]
2025-08-07 02:40:28,557 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:40:28,563 - INFO - ================================================================================ 2025-08-07 02:40:28,563 - INFO - STARTING TEST : test_lbaas_with_sg_vip 2025-08-07 02:40:28,563 - 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-07 02:40:29,876 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-07 02:40:29,876 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:40:29,877 - INFO - 2025-08-07 02:40:30,227 - DEBUG - Response for create_network : {'network': {'id': 'db640461-7982-4720-82db-f8b424a43278', 'name': 'ctest-TestLBaaSV2-40899576-66053457', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'project_id': '0cd94bab18174008b32ff9d44877229a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40899576', 'ctest-TestLBaaSV2-40899576-66053457'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:40:30,455 - DEBUG - Response for create_subnet : {'subnet': {'id': '753c0152-eab8-45f8-bb3c-891edc4e02dd', 'name': '', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'network_id': 'db640461-7982-4720-82db-f8b424a43278', 'ip_version': 4, 'cidr': '201.20.30.128/26', 'allocation_pools': [{'start': '201.20.30.130', 'end': '201.20.30.190'}], 'gateway_ip': '201.20.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.20.30.130', 'tags': [], 'project_id': '0cd94bab18174008b32ff9d44877229a'}} 2025-08-07 02:40:30,480 - INFO - Created VN ctest-TestLBaaSV2-40899576-66053457 2025-08-07 02:40:30,497 - DEBUG - VN ctest-TestLBaaSV2-40899576-66053457 UUID is db640461-7982-4720-82db-f8b424a43278 2025-08-07 02:40:30,900 - DEBUG - Response for create_network : {'network': {'id': '0c88a416-1e6a-4c24-893b-b9041f221fa6', 'name': 'ctest-vn-60720253', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'project_id': '0cd94bab18174008b32ff9d44877229a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40899576', 'ctest-vn-60720253'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:40:31,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '3759d19a-2414-4041-9378-7c68364e2947', 'name': '', 'tenant_id': '0cd94bab18174008b32ff9d44877229a', 'network_id': '0c88a416-1e6a-4c24-893b-b9041f221fa6', 'ip_version': 4, 'cidr': '103.17.217.192/26', 'allocation_pools': [{'start': '103.17.217.194', 'end': '103.17.217.254'}], 'gateway_ip': '103.17.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.17.217.194', 'tags': [], 'project_id': '0cd94bab18174008b32ff9d44877229a'}} 2025-08-07 02:40:31,175 - INFO - Created VN ctest-vn-60720253 2025-08-07 02:40:31,189 - DEBUG - VN ctest-vn-60720253 UUID is 0c88a416-1e6a-4c24-893b-b9041f221fa6 2025-08-07 02:40:32,355 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:40:33,667 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-1) 2025-08-07 02:40:35,172 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:40:36,617 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-1) 2025-08-07 02:40:36,618 - INFO - VM name : ctest-TestLBaaSV2-40899576-83880999 2025-08-07 02:40:36,713 - DEBUG - VM ctest-TestLBaaSV2-40899576-83880999 ID is 0bf946d0-74e7-49b7-8f9a-be6e593471fe 2025-08-07 02:40:36,803 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:40:36,803 - DEBUG - VM ctest-TestLBaaSV2-40899576-83880999 launched on Node an-jenkins-deploy-platform-ansible-os-3767-2 2025-08-07 02:40:36,896 - INFO - VM name : ctest-TestLBaaSV2-40899576-46091574 2025-08-07 02:40:36,986 - DEBUG - VM ctest-TestLBaaSV2-40899576-46091574 ID is 295a4c03-ddd3-43f0-aa7a-81953cbb5264 2025-08-07 02:40:37,121 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:40:37,121 - DEBUG - VM ctest-TestLBaaSV2-40899576-46091574 launched on Node an-jenkins-deploy-platform-ansible-os-3767-1 2025-08-07 02:40:37,281 - INFO - VM name : ctest-TestLBaaSV2-40899576-84752705 2025-08-07 02:40:37,412 - DEBUG - VM ctest-TestLBaaSV2-40899576-84752705 : Status=BUILD, Addresses : {} 2025-08-07 02:40:42,516 - DEBUG - VM ctest-TestLBaaSV2-40899576-84752705 ID is b1906484-39d3-46ce-8dd7-a8adc4e7eb9b 2025-08-07 02:40:42,618 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:40:42,618 - DEBUG - VM ctest-TestLBaaSV2-40899576-84752705 launched on Node an-jenkins-deploy-platform-ansible-os-3767-2 2025-08-07 02:40:42,746 - INFO - Verify Round Robin Method 2025-08-07 02:40:42,759 - ERROR - List load balancers failed 2025-08-07 02:40:42,822 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-40899576-06354503 in state BUILD 2025-08-07 02:40:42,822 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-06354503 2025-08-07 02:40:42,823 - ERROR - VM ctest-TestLBaaSV2-40899576-06354503 has failed to come up 2025-08-07 02:40:42,823 - ERROR - Nova failed to get host of the VM 2025-08-07 02:40:42,824 - ERROR - VM ctest-TestLBaaSV2-40899576-06354503 has failed to come up 2025-08-07 02:40:42,824 - ERROR - Nova failed to get host of the VM 2025-08-07 02:40:43,015 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-84752705 2025-08-07 02:40:43,093 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-46091574 2025-08-07 02:40:43,160 - INFO - Deleting VM ctest-TestLBaaSV2-40899576-83880999 2025-08-07 02:40:43,224 - INFO - Deleting VN ctest-vn-60720253 2025-08-07 02:40:43,273 - DEBUG - VN 0c88a416-1e6a-4c24-893b-b9041f221fa6 still in use: Unable to complete operation on network 0c88a416-1e6a-4c24-893b-b9041f221fa6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6aebca65-2359-4ea5-ae31-fa9612a6a67d'] 2025-08-07 02:40:43,273 - WARNING - Deleting VN ctest-vn-60720253 failed..Will retry 2025-08-07 02:40:45,485 - DEBUG - Response for deleting network () 2025-08-07 02:40:45,485 - INFO - Deleting VN ctest-TestLBaaSV2-40899576-66053457 2025-08-07 02:40:45,750 - DEBUG - Response for deleting network () 2025-08-07 02:40:47,021 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Thu Aug 7 02:40: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-37775984', network_id='0c88a416-1e6a-4c24-893b-b9041f221fa6', cleanup=True, **kwargs={'fip_net_id': 'db640461-7982-4720-82db-f8b424a43278', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-50129621', 'members': {'address': ['103.17.217.195', '103.17.217.196', '103.17.217.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-16555919', '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': 'db640461-7982-4720-82db-f8b424a43278', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-50129621', 'members': {'address': ['103.17.217.195', '103.17.217.196', '103.17.217.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-16555919', '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-40899576' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-37775984', network_id='0c88a416-1e6a-4c24-893b-b9041f221fa6', subnet_id='3759d19a-2414-4041-9378-7c68364e2947', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-40899576'}) 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-37775984', 'vip_address': None, 'vip_subnet_id': '3759d19a-2414-4041-9378-7c68364e2947'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-37775984', 'vip_address': None, 'vip_subnet_id': '3759d19a-2414-4041-9378-7c68364e2947'}}) 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-37775984', 'vip_address': None, 'vip_subnet_id': '3759d19a-2414-4041-9378-7c68364e2947'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-37775984', 'vip_address': None, 'vip_subnet_id': '3759d19a-2414-4041-9378-7c68364e2947'}}, 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-37775984"...14-4041-9378-7c68364e2947", "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-99c3cb86-9504-4710-a5ec-4fb221b1e16b'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-99c3cb86-9504-4710-a5ec-4fb221b1e16b'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-99c3cb86-9504-4710-a5ec-4fb221b1e16b']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-99c3cb86-9504-4710-a5ec-4fb221b1e16b']", 'request_ids': ['req-99c3cb86-9504-4710-a5ec-4fb221b1e16b'], '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-99c3cb86-9504-4710-a5ec-4fb221b1e16b']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-99c3cb86-9504-4710-a5ec-4fb221b1e16b']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-99c3cb86-9504-4710-a5ec-4fb221b1e16b'] 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-99c3cb86-9504-4710-a5ec-4fb221b1e16b'] 2025-08-07 02:40:47,039 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:40:47,039 - INFO -
2025-08-07 02:40:47,039 - INFO - END TEST : test_lbaas_with_sg_vip : FAILED[0:00:19]
2025-08-07 02:40:47,039 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:40:47,791 - INFO - Deleted project: ctest-TestLBaaSV2-40899576, ID : 0cd94bab-1817-4008-b32f-f9d44877229a