2025-08-11 02:28:55,335 - INFO - Domain Default found not creating 2025-08-11 02:28:55,459 - INFO - Project ctest-TestLBaaSV2-40914132 not found, creating it 2025-08-11 02:28:55,963 - INFO - Created Project:ctest-TestLBaaSV2-40914132, ID : 97de1811-2b09-4eca-9d6b-bfabf964174a 2025-08-11 02:28:57,278 - INFO - ================================================================================ 2025-08-11 02:28:57,278 - INFO - STARTING TEST : test_lbaas_client_pool_in_same_net 2025-08-11 02:28:57,279 - 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-11 02:28:58,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with 2025-08-11 02:28:58,663 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:28:58,663 - INFO - 2025-08-11 02:28:59,489 - DEBUG - Response for create_network : {'network': {'id': '2d189547-4889-489a-9b3c-17bd8a9afcaf', 'name': 'ctest-vn-67748398', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'project_id': '97de18112b094eca9d6bbfabf964174a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40914132', 'ctest-vn-67748398'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:28:59,762 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0b2b6e1-f68f-496f-bf6a-a379dadcbcad', 'name': '', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'network_id': '2d189547-4889-489a-9b3c-17bd8a9afcaf', 'ip_version': 4, 'cidr': '118.33.87.128/26', 'allocation_pools': [{'start': '118.33.87.130', 'end': '118.33.87.190'}], 'gateway_ip': '118.33.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.33.87.130', 'tags': [], 'project_id': '97de18112b094eca9d6bbfabf964174a'}} 2025-08-11 02:28:59,781 - INFO - Created VN ctest-vn-67748398 2025-08-11 02:28:59,796 - DEBUG - VN ctest-vn-67748398 UUID is 2d189547-4889-489a-9b3c-17bd8a9afcaf 2025-08-11 02:28:59,927 - DEBUG - Services list from nova: [, , , ] 2025-08-11 02:29:00,985 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2) 2025-08-11 02:29:02,225 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1) 2025-08-11 02:29:03,569 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2) 2025-08-11 02:29:03,569 - INFO - VM name : ctest-TestLBaaSV2-40914132-89937865 2025-08-11 02:29:03,642 - DEBUG - VM ctest-TestLBaaSV2-40914132-89937865 : Status=BUILD, Addresses : {} 2025-08-11 02:29:08,712 - DEBUG - VM ctest-TestLBaaSV2-40914132-89937865 ID is 30496e70-c4ee-4679-9686-bdf58a78c4b7 2025-08-11 02:29:08,780 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:29:08,801 - DEBUG - VM ctest-TestLBaaSV2-40914132-89937865 launched on Node an-jenkins-deploy-platform-ansible-os-3794-1 2025-08-11 02:29:08,875 - INFO - VM name : ctest-TestLBaaSV2-40914132-62896135 2025-08-11 02:29:08,963 - DEBUG - VM ctest-TestLBaaSV2-40914132-62896135 ID is efdccbb5-d1cc-446c-be0d-66761bffa543 2025-08-11 02:29:09,056 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:29:09,056 - DEBUG - VM ctest-TestLBaaSV2-40914132-62896135 launched on Node an-jenkins-deploy-platform-ansible-os-3794-2 2025-08-11 02:29:09,152 - ERROR - List load balancers failed 2025-08-11 02:29:09,181 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-62896135 2025-08-11 02:29:09,241 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-89937865 2025-08-11 02:29:09,304 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-40914132-01948588 in state BUILD 2025-08-11 02:29:09,304 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-01948588 2025-08-11 02:29:09,304 - ERROR - VM ctest-TestLBaaSV2-40914132-01948588 has failed to come up 2025-08-11 02:29:09,304 - ERROR - Nova failed to get host of the VM 2025-08-11 02:29:09,304 - ERROR - VM ctest-TestLBaaSV2-40914132-01948588 has failed to come up 2025-08-11 02:29:09,304 - ERROR - Nova failed to get host of the VM 2025-08-11 02:29:09,366 - INFO - Deleting VN ctest-vn-67748398 2025-08-11 02:29:09,407 - DEBUG - VN 2d189547-4889-489a-9b3c-17bd8a9afcaf still in use: Unable to complete operation on network 2d189547-4889-489a-9b3c-17bd8a9afcaf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c7930fe-c6b7-4ae0-9d11-fe39ff99d916'] 2025-08-11 02:29:09,407 - WARNING - Deleting VN ctest-vn-67748398 failed..Will retry 2025-08-11 02:29:11,544 - DEBUG - Response for deleting network () 2025-08-11 02:29:12,981 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Mon Aug 11 02:29:09 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-85899452', network_id='2d189547-4889-489a-9b3c-17bd8a9afcaf', cleanup=True, **kwargs={'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-HTTP-63183898', 'members': {'address': ['118.33.87.132', '118.33.87.133']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-19345715', '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-63183898', 'members': {'address': ['118.33.87.132', '118.33.87.133']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-19345715', '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-40914132' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-85899452', network_id='2d189547-4889-489a-9b3c-17bd8a9afcaf', subnet_id='f0b2b6e1-f68f-496f-bf6a-a379dadcbcad', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-40914132'}) 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-85899452', 'vip_address': None, 'vip_subnet_id': 'f0b2b6e1-f68f-496f-bf6a-a379dadcbcad'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-85899452', 'vip_address': None, 'vip_subnet_id': 'f0b2b6e1-f68f-496f-bf6a-a379dadcbcad'}}) 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-85899452', 'vip_address': None, 'vip_subnet_id': 'f0b2b6e1-f68f-496f-bf6a-a379dadcbcad'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-85899452', 'vip_address': None, 'vip_subnet_id': 'f0b2b6e1-f68f-496f-bf6a-a379dadcbcad'}}, 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-85899452"...8f-496f-bf6a-a379dadcbcad", "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-e178d6de-3724-4ec8-a0f6-9bc3fe99cca4'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-e178d6de-3724-4ec8-a0f6-9bc3fe99cca4'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-e178d6de-3724-4ec8-a0f6-9bc3fe99cca4']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-e178d6de-3724-4ec8-a0f6-9bc3fe99cca4']", 'request_ids': ['req-e178d6de-3724-4ec8-a0f6-9bc3fe99cca4'], '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-e178d6de-3724-4ec8-a0f6-9bc3fe99cca4']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-e178d6de-3724-4ec8-a0f6-9bc3fe99cca4']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-e178d6de-3724-4ec8-a0f6-9bc3fe99cca4'] 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-e178d6de-3724-4ec8-a0f6-9bc3fe99cca4'] 2025-08-11 02:29:12,994 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:29:12,994 - INFO -
2025-08-11 02:29:12,994 - INFO - END TEST : test_lbaas_client_pool_in_same_net : FAILED[0:00:15]
2025-08-11 02:29:12,994 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:29:12,998 - INFO - ================================================================================ 2025-08-11 02:29:12,998 - INFO - STARTING TEST : test_lbaas_with_different_fip 2025-08-11 02:29:12,998 - 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-11 02:29:14,251 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with 2025-08-11 02:29:14,251 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:29:14,251 - INFO - 2025-08-11 02:29:14,543 - DEBUG - Response for create_network : {'network': {'id': 'e439bd0c-c154-4809-8eeb-72b08db057e6', 'name': 'ctest-TestLBaaSV2-40914132-44614826', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'project_id': '97de18112b094eca9d6bbfabf964174a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40914132', 'ctest-TestLBaaSV2-40914132-44614826'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:29:14,780 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7dfa52d-8aa7-409b-8556-eaa948aaa0fb', 'name': '', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'network_id': 'e439bd0c-c154-4809-8eeb-72b08db057e6', 'ip_version': 4, 'cidr': '189.24.51.0/26', 'allocation_pools': [{'start': '189.24.51.2', 'end': '189.24.51.62'}], 'gateway_ip': '189.24.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.24.51.2', 'tags': [], 'project_id': '97de18112b094eca9d6bbfabf964174a'}} 2025-08-11 02:29:14,799 - INFO - Created VN ctest-TestLBaaSV2-40914132-44614826 2025-08-11 02:29:14,809 - DEBUG - VN ctest-TestLBaaSV2-40914132-44614826 UUID is e439bd0c-c154-4809-8eeb-72b08db057e6 2025-08-11 02:29:15,199 - DEBUG - Response for create_network : {'network': {'id': 'ddc96c8b-d755-443a-a4a4-4cee0a343be8', 'name': 'ctest-TestLBaaSV2-40914132-69186601', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'project_id': '97de18112b094eca9d6bbfabf964174a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40914132', 'ctest-TestLBaaSV2-40914132-69186601'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:29:15,457 - DEBUG - Response for create_subnet : {'subnet': {'id': '53284d39-7641-4565-926c-fa0c260a408c', 'name': '', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'network_id': 'ddc96c8b-d755-443a-a4a4-4cee0a343be8', 'ip_version': 4, 'cidr': '69.233.199.128/26', 'allocation_pools': [{'start': '69.233.199.130', 'end': '69.233.199.190'}], 'gateway_ip': '69.233.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.233.199.130', 'tags': [], 'project_id': '97de18112b094eca9d6bbfabf964174a'}} 2025-08-11 02:29:15,477 - INFO - Created VN ctest-TestLBaaSV2-40914132-69186601 2025-08-11 02:29:15,488 - DEBUG - VN ctest-TestLBaaSV2-40914132-69186601 UUID is ddc96c8b-d755-443a-a4a4-4cee0a343be8 2025-08-11 02:29:15,806 - DEBUG - Response for create_network : {'network': {'id': '5c15c062-4120-4f5d-991f-e9cb21f19da1', 'name': 'ctest-vn-64941736', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'project_id': '97de18112b094eca9d6bbfabf964174a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40914132', 'ctest-vn-64941736'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:29:16,012 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ac293b4-6bb1-4a46-93a9-dfe15d3c3946', 'name': '', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'network_id': '5c15c062-4120-4f5d-991f-e9cb21f19da1', 'ip_version': 4, 'cidr': '132.16.45.64/26', 'allocation_pools': [{'start': '132.16.45.66', 'end': '132.16.45.126'}], 'gateway_ip': '132.16.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.16.45.66', 'tags': [], 'project_id': '97de18112b094eca9d6bbfabf964174a'}} 2025-08-11 02:29:16,031 - INFO - Created VN ctest-vn-64941736 2025-08-11 02:29:16,046 - DEBUG - VN ctest-vn-64941736 UUID is 5c15c062-4120-4f5d-991f-e9cb21f19da1 2025-08-11 02:29:17,351 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1) 2025-08-11 02:29:18,711 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2) 2025-08-11 02:29:20,150 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1) 2025-08-11 02:29:20,298 - DEBUG - Image by name cirros-0.4.0 not found 2025-08-11 02:29:20,299 - DEBUG - Installing image cirros-0.4.0 2025-08-11 02:29:20,299 - 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-11 02:29:20,299 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img 2025-08-11 02:29:20,299 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img 2025-08-11 02:29:20,312 - 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-11 02:29:20,409 - DEBUG - Image has been downloaded to /contrail-test/images/cirros-0.4.0-x86_64-disk.img 2025-08-11 02:29:20,410 - DEBUG - Try to create image in user context 2025-08-11 02:29:20,611 - DEBUG - Image has been created in user context 2025-08-11 02:29:20,611 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/cirros-0.4.0-x86_64-disk.img 2025-08-11 02:29:20,628 - DEBUG - Downloaded image has been removed 2025-08-11 02:29:20,645 - DEBUG - Uploaded image status = active 2025-08-11 02:29:21,892 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2) 2025-08-11 02:29:23,359 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1) 2025-08-11 02:29:23,360 - INFO - VM name : ctest-TestLBaaSV2-40914132-27054774 2025-08-11 02:29:23,435 - DEBUG - VM ctest-TestLBaaSV2-40914132-27054774 ID is 9486c681-4176-477f-b92e-2363809c6628 2025-08-11 02:29:23,523 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:29:23,523 - DEBUG - VM ctest-TestLBaaSV2-40914132-27054774 launched on Node an-jenkins-deploy-platform-ansible-os-3794-1 2025-08-11 02:29:23,625 - INFO - VM name : ctest-TestLBaaSV2-40914132-66598925 2025-08-11 02:29:23,736 - DEBUG - VM ctest-TestLBaaSV2-40914132-66598925 ID is a5ade121-73b3-4aaf-a9cd-7e28cffcd425 2025-08-11 02:29:23,875 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:29:23,875 - DEBUG - VM ctest-TestLBaaSV2-40914132-66598925 launched on Node an-jenkins-deploy-platform-ansible-os-3794-2 2025-08-11 02:29:24,016 - INFO - VM name : ctest-TestLBaaSV2-40914132-92943544 2025-08-11 02:29:24,141 - DEBUG - VM ctest-TestLBaaSV2-40914132-92943544 ID is c69c011d-88d3-4dcf-85d6-b4af71ff8e29 2025-08-11 02:29:24,246 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:29:24,247 - DEBUG - VM ctest-TestLBaaSV2-40914132-92943544 launched on Node an-jenkins-deploy-platform-ansible-os-3794-1 2025-08-11 02:29:24,370 - INFO - Verify Round Robin Method 2025-08-11 02:29:24,392 - ERROR - List load balancers failed 2025-08-11 02:29:24,453 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-40914132-18094068 in state BUILD 2025-08-11 02:29:24,454 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-18094068 2025-08-11 02:29:24,454 - ERROR - VM ctest-TestLBaaSV2-40914132-18094068 has failed to come up 2025-08-11 02:29:24,454 - ERROR - Nova failed to get host of the VM 2025-08-11 02:29:24,454 - ERROR - VM ctest-TestLBaaSV2-40914132-18094068 has failed to come up 2025-08-11 02:29:24,454 - ERROR - Nova failed to get host of the VM 2025-08-11 02:29:24,573 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-40914132-53769843 in state BUILD 2025-08-11 02:29:24,573 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-53769843 2025-08-11 02:29:24,573 - ERROR - VM ctest-TestLBaaSV2-40914132-53769843 has failed to come up 2025-08-11 02:29:24,573 - ERROR - Nova failed to get host of the VM 2025-08-11 02:29:24,573 - ERROR - VM ctest-TestLBaaSV2-40914132-53769843 has failed to come up 2025-08-11 02:29:24,574 - ERROR - Nova failed to get host of the VM 2025-08-11 02:29:24,709 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-92943544 2025-08-11 02:29:24,835 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-66598925 2025-08-11 02:29:24,933 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-27054774 2025-08-11 02:29:25,008 - INFO - Deleting VN ctest-vn-64941736 2025-08-11 02:29:25,050 - DEBUG - VN 5c15c062-4120-4f5d-991f-e9cb21f19da1 still in use: Unable to complete operation on network 5c15c062-4120-4f5d-991f-e9cb21f19da1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33f4062e-4864-4be0-a6e2-f0856edcbe65'] 2025-08-11 02:29:25,050 - WARNING - Deleting VN ctest-vn-64941736 failed..Will retry 2025-08-11 02:29:27,807 - DEBUG - Response for deleting network () 2025-08-11 02:29:27,808 - INFO - Deleting VN ctest-TestLBaaSV2-40914132-69186601 2025-08-11 02:29:28,049 - DEBUG - Response for deleting network () 2025-08-11 02:29:28,049 - INFO - Deleting VN ctest-TestLBaaSV2-40914132-44614826 2025-08-11 02:29:28,281 - DEBUG - Response for deleting network () 2025-08-11 02:29:29,529 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Mon Aug 11 02:29:24 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-91029143', network_id='5c15c062-4120-4f5d-991f-e9cb21f19da1', cleanup=True, **kwargs={'fip_net_id': 'e439bd0c-c154-4809-8eeb-72b08db057e6', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-77516674', 'members': {'address': ['132.16.45.67', '132.16.45.68', '132.16.45.69']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-94449164', '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': 'e439bd0c-c154-4809-8eeb-72b08db057e6', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-77516674', 'members': {'address': ['132.16.45.67', '132.16.45.68', '132.16.45.69']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-94449164', '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-40914132' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-91029143', network_id='5c15c062-4120-4f5d-991f-e9cb21f19da1', subnet_id='9ac293b4-6bb1-4a46-93a9-dfe15d3c3946', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-40914132'}) 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-91029143', 'vip_address': None, 'vip_subnet_id': '9ac293b4-6bb1-4a46-93a9-dfe15d3c3946'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-91029143', 'vip_address': None, 'vip_subnet_id': '9ac293b4-6bb1-4a46-93a9-dfe15d3c3946'}}) 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-91029143', 'vip_address': None, 'vip_subnet_id': '9ac293b4-6bb1-4a46-93a9-dfe15d3c3946'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-91029143', 'vip_address': None, 'vip_subnet_id': '9ac293b4-6bb1-4a46-93a9-dfe15d3c3946'}}, 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-91029143"...b1-4a46-93a9-dfe15d3c3946", "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-4c150f1d-1682-4896-a683-bd60ca95b59a'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-4c150f1d-1682-4896-a683-bd60ca95b59a'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-4c150f1d-1682-4896-a683-bd60ca95b59a']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-4c150f1d-1682-4896-a683-bd60ca95b59a']", 'request_ids': ['req-4c150f1d-1682-4896-a683-bd60ca95b59a'], '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-4c150f1d-1682-4896-a683-bd60ca95b59a']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-4c150f1d-1682-4896-a683-bd60ca95b59a']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-4c150f1d-1682-4896-a683-bd60ca95b59a'] 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-4c150f1d-1682-4896-a683-bd60ca95b59a'] 2025-08-11 02:29:29,547 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:29:29,547 - INFO -
2025-08-11 02:29:29,547 - INFO - END TEST : test_lbaas_with_different_fip : FAILED[0:00:17]
2025-08-11 02:29:29,547 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:29:29,551 - INFO - ================================================================================ 2025-08-11 02:29:29,551 - INFO - STARTING TEST : test_lbaas_with_sg_vip 2025-08-11 02:29:29,551 - 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-11 02:29:30,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with 2025-08-11 02:29:30,808 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:29:30,808 - INFO - 2025-08-11 02:29:31,107 - DEBUG - Response for create_network : {'network': {'id': '77eb6f75-37ae-42e9-ba2a-900200778568', 'name': 'ctest-TestLBaaSV2-40914132-60622951', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'project_id': '97de18112b094eca9d6bbfabf964174a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40914132', 'ctest-TestLBaaSV2-40914132-60622951'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:29:31,374 - DEBUG - Response for create_subnet : {'subnet': {'id': '6137b242-0e24-4963-bfc2-cfddc5d9350d', 'name': '', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'network_id': '77eb6f75-37ae-42e9-ba2a-900200778568', 'ip_version': 4, 'cidr': '20.29.51.0/26', 'allocation_pools': [{'start': '20.29.51.2', 'end': '20.29.51.62'}], 'gateway_ip': '20.29.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.29.51.2', 'tags': [], 'project_id': '97de18112b094eca9d6bbfabf964174a'}} 2025-08-11 02:29:31,397 - INFO - Created VN ctest-TestLBaaSV2-40914132-60622951 2025-08-11 02:29:31,412 - DEBUG - VN ctest-TestLBaaSV2-40914132-60622951 UUID is 77eb6f75-37ae-42e9-ba2a-900200778568 2025-08-11 02:29:31,776 - DEBUG - Response for create_network : {'network': {'id': 'b953c27a-7361-4a92-981b-f1516a4df62e', 'name': 'ctest-vn-79310688', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'project_id': '97de18112b094eca9d6bbfabf964174a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-40914132', 'ctest-vn-79310688'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:29:32,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8ec4ec6-9f94-4227-8d62-af239a1d88f1', 'name': '', 'tenant_id': '97de18112b094eca9d6bbfabf964174a', 'network_id': 'b953c27a-7361-4a92-981b-f1516a4df62e', 'ip_version': 4, 'cidr': '144.96.156.192/26', 'allocation_pools': [{'start': '144.96.156.194', 'end': '144.96.156.254'}], 'gateway_ip': '144.96.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.96.156.194', 'tags': [], 'project_id': '97de18112b094eca9d6bbfabf964174a'}} 2025-08-11 02:29:32,073 - INFO - Created VN ctest-vn-79310688 2025-08-11 02:29:32,092 - DEBUG - VN ctest-vn-79310688 UUID is b953c27a-7361-4a92-981b-f1516a4df62e 2025-08-11 02:29:33,219 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2) 2025-08-11 02:29:34,534 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1) 2025-08-11 02:29:35,883 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2) 2025-08-11 02:29:37,188 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1) 2025-08-11 02:29:37,189 - INFO - VM name : ctest-TestLBaaSV2-40914132-35207876 2025-08-11 02:29:37,291 - DEBUG - VM ctest-TestLBaaSV2-40914132-35207876 ID is d184f7d7-2ee0-4804-8d9b-1fe97336a0ae 2025-08-11 02:29:37,401 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:29:37,401 - DEBUG - VM ctest-TestLBaaSV2-40914132-35207876 launched on Node an-jenkins-deploy-platform-ansible-os-3794-2 2025-08-11 02:29:37,522 - INFO - VM name : ctest-TestLBaaSV2-40914132-51446473 2025-08-11 02:29:37,615 - DEBUG - VM ctest-TestLBaaSV2-40914132-51446473 ID is 50c2c609-b80c-41eb-8547-593e2dde8072 2025-08-11 02:29:37,781 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:29:37,781 - DEBUG - VM ctest-TestLBaaSV2-40914132-51446473 launched on Node an-jenkins-deploy-platform-ansible-os-3794-1 2025-08-11 02:29:37,915 - INFO - VM name : ctest-TestLBaaSV2-40914132-35042770 2025-08-11 02:29:38,034 - DEBUG - VM ctest-TestLBaaSV2-40914132-35042770 : Status=BUILD, Addresses : {} 2025-08-11 02:29:43,144 - DEBUG - VM ctest-TestLBaaSV2-40914132-35042770 ID is 76d4a8e8-99dc-42a6-bc33-3a3956ec353c 2025-08-11 02:29:43,261 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:29:43,262 - DEBUG - VM ctest-TestLBaaSV2-40914132-35042770 launched on Node an-jenkins-deploy-platform-ansible-os-3794-2 2025-08-11 02:29:43,375 - INFO - Verify Round Robin Method 2025-08-11 02:29:43,386 - ERROR - List load balancers failed 2025-08-11 02:29:43,424 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-40914132-13637158 in state BUILD 2025-08-11 02:29:43,424 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-13637158 2025-08-11 02:29:43,424 - ERROR - VM ctest-TestLBaaSV2-40914132-13637158 has failed to come up 2025-08-11 02:29:43,424 - ERROR - Nova failed to get host of the VM 2025-08-11 02:29:43,425 - ERROR - VM ctest-TestLBaaSV2-40914132-13637158 has failed to come up 2025-08-11 02:29:43,425 - ERROR - Nova failed to get host of the VM 2025-08-11 02:29:43,514 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-35042770 2025-08-11 02:29:43,608 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-51446473 2025-08-11 02:29:43,699 - INFO - Deleting VM ctest-TestLBaaSV2-40914132-35207876 2025-08-11 02:29:43,810 - INFO - Deleting VN ctest-vn-79310688 2025-08-11 02:29:43,862 - DEBUG - VN b953c27a-7361-4a92-981b-f1516a4df62e still in use: Unable to complete operation on network b953c27a-7361-4a92-981b-f1516a4df62e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-649bffe9-c80c-44e9-a4c4-d948ee6eb30b'] 2025-08-11 02:29:43,862 - WARNING - Deleting VN ctest-vn-79310688 failed..Will retry 2025-08-11 02:29:46,048 - DEBUG - Response for deleting network () 2025-08-11 02:29:46,048 - INFO - Deleting VN ctest-TestLBaaSV2-40914132-60622951 2025-08-11 02:29:46,285 - DEBUG - Response for deleting network () 2025-08-11 02:29:47,569 - ERROR - NotFound Python 3.6.8: /usr/bin/python3 Mon Aug 11 02:29:43 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-62445821', network_id='b953c27a-7361-4a92-981b-f1516a4df62e', cleanup=True, **kwargs={'fip_net_id': '77eb6f75-37ae-42e9-ba2a-900200778568', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-68660476', 'members': {'address': ['144.96.156.195', '144.96.156.196', '144.96.156.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-29848958', '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': '77eb6f75-37ae-42e9-ba2a-900200778568', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-68660476', 'members': {'address': ['144.96.156.195', '144.96.156.196', '144.96.156.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-29848958', '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-40914132' /contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-62445821', network_id='b953c27a-7361-4a92-981b-f1516a4df62e', subnet_id='f8ec4ec6-9f94-4227-8d62-af239a1d88f1', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-40914132'}) 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-62445821', 'vip_address': None, 'vip_subnet_id': 'f8ec4ec6-9f94-4227-8d62-af239a1d88f1'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-62445821', 'vip_address': None, 'vip_subnet_id': 'f8ec4ec6-9f94-4227-8d62-af239a1d88f1'}}) 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-62445821', 'vip_address': None, 'vip_subnet_id': 'f8ec4ec6-9f94-4227-8d62-af239a1d88f1'}} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-62445821', 'vip_address': None, 'vip_subnet_id': 'f8ec4ec6-9f94-4227-8d62-af239a1d88f1'}}, 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-62445821"...94-4227-8d62-af239a1d88f1", "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-f3be25af-9fcf-4cd5-9dd2-fd5bf6a89778'] NotFound: The resource could not be found. Neutron server returns request_ids: ['req-f3be25af-9fcf-4cd5-9dd2-fd5bf6a89778'] __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-f3be25af-9fcf-4cd5-9dd2-fd5bf6a89778']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-f3be25af-9fcf-4cd5-9dd2-fd5bf6a89778']", 'request_ids': ['req-f3be25af-9fcf-4cd5-9dd2-fd5bf6a89778'], '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-f3be25af-9fcf-4cd5-9dd2-fd5bf6a89778']" args = () message = "The resource could not be found.\nNeutron server ...ids: ['req-f3be25af-9fcf-4cd5-9dd2-fd5bf6a89778']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = ['req-f3be25af-9fcf-4cd5-9dd2-fd5bf6a89778'] 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-f3be25af-9fcf-4cd5-9dd2-fd5bf6a89778'] 2025-08-11 02:29:47,584 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:29:47,584 - INFO -
2025-08-11 02:29:47,584 - INFO - END TEST : test_lbaas_with_sg_vip : FAILED[0:00:18]
2025-08-11 02:29:47,584 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:29:48,364 - INFO - Deleted project: ctest-TestLBaaSV2-40914132, ID : 97de1811-2b09-4eca-9d6b-bfabf964174a