2025-07-23 15:36:16,792 - INFO - Domain Default found not creating
2025-07-23 15:36:16,933 - INFO - Project ctest-TestLBaaSV2-24490695 not found, creating it
2025-07-23 15:36:17,440 - INFO - Created Project:ctest-TestLBaaSV2-24490695, ID : a7ec3f56-039c-48a4-a79f-f53c546646d4
2025-07-23 15:36:18,861 - INFO - ================================================================================
2025-07-23 15:36:18,862 - INFO - STARTING TEST : test_lbaas_client_pool_in_same_net
2025-07-23 15:36:18,862 - INFO - TEST DESCRIPTION : Create Lbaas pool, member and vip
Member, VIP and client all in same VN
verify: pool, member and vip gets created
create HMON and verify the association
verify the HTTP traffic getting loadbalanced using the standby netns
2025-07-23 15:36:20,208 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.130': {'10.20.0.17': '0', '10.20.0.254': '0'}} with
2025-07-23 15:36:20,209 - INFO - Initial checks done. Running the testcase now
2025-07-23 15:36:20,209 - INFO -
2025-07-23 15:36:20,938 - DEBUG - Response for create_network : {'network': {'id': 'b7172a8f-b3e1-4d00-a089-3dee50afd782', 'name': 'ctest-vn-65467441', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-24490695', 'ctest-vn-65467441'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:36:21,266 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9c91969-b28a-4823-8e10-64b8ad098e64', 'name': '', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'network_id': 'b7172a8f-b3e1-4d00-a089-3dee50afd782', 'ip_version': 4, 'cidr': '179.87.42.192/26', 'allocation_pools': [{'start': '179.87.42.194', 'end': '179.87.42.254'}], 'gateway_ip': '179.87.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.87.42.194', 'tags': [], 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4'}}
2025-07-23 15:36:21,290 - INFO - Created VN ctest-vn-65467441
2025-07-23 15:36:21,303 - DEBUG - VN ctest-vn-65467441 UUID is b7172a8f-b3e1-4d00-a089-3dee50afd782
2025-07-23 15:36:21,448 - DEBUG - Services list from nova: [, , , ]
2025-07-23 15:36:22,926 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2)
2025-07-23 15:36:24,363 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1)
2025-07-23 15:36:25,892 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2)
2025-07-23 15:36:25,892 - INFO - VM name : ctest-TestLBaaSV2-24490695-31847491
2025-07-23 15:36:25,974 - DEBUG - VM ctest-TestLBaaSV2-24490695-31847491 : Status=BUILD, Addresses : {}
2025-07-23 15:36:31,070 - DEBUG - VM ctest-TestLBaaSV2-24490695-31847491 ID is 6cd0ecbb-072f-4259-8079-f0ae92e92ad1
2025-07-23 15:36:31,151 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:36:31,175 - DEBUG - VM ctest-TestLBaaSV2-24490695-31847491 launched on Node an-jenkins-deploy-platform-ansible-os-3704-1
2025-07-23 15:36:31,272 - INFO - VM name : ctest-TestLBaaSV2-24490695-01992758
2025-07-23 15:36:31,359 - DEBUG - VM ctest-TestLBaaSV2-24490695-01992758 ID is bffd5d94-c6c6-4a72-9b54-62d9089c1a04
2025-07-23 15:36:31,457 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:36:31,457 - DEBUG - VM ctest-TestLBaaSV2-24490695-01992758 launched on Node an-jenkins-deploy-platform-ansible-os-3704-2
2025-07-23 15:36:31,549 - ERROR - List load balancers failed
2025-07-23 15:36:31,583 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-01992758
2025-07-23 15:36:31,654 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-31847491
2025-07-23 15:36:31,721 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-24490695-13646506 in state BUILD
2025-07-23 15:36:31,721 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-13646506
2025-07-23 15:36:31,721 - ERROR - VM ctest-TestLBaaSV2-24490695-13646506 has failed to come up
2025-07-23 15:36:31,722 - ERROR - Nova failed to get host of the VM
2025-07-23 15:36:31,722 - ERROR - VM ctest-TestLBaaSV2-24490695-13646506 has failed to come up
2025-07-23 15:36:31,722 - ERROR - Nova failed to get host of the VM
2025-07-23 15:36:31,795 - INFO - Deleting VN ctest-vn-65467441
2025-07-23 15:36:31,842 - DEBUG - VN b7172a8f-b3e1-4d00-a089-3dee50afd782 still in use: Unable to complete operation on network b7172a8f-b3e1-4d00-a089-3dee50afd782. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cee3e034-6182-40f7-a332-89e69cead161']
2025-07-23 15:36:31,842 - WARNING - Deleting VN ctest-vn-65467441 failed..Will retry
2025-07-23 15:36:34,016 - DEBUG - Response for deleting network ()
2025-07-23 15:36:35,324 - ERROR - NotFound
Python 3.6.8: /usr/bin/python3
Wed Jul 23 15:36:31 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-51928765', network_id='b7172a8f-b3e1-4d00-a089-3dee50afd782', cleanup=True, **kwargs={'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-HTTP-13659047', 'members': {'address': ['179.87.42.196', '179.87.42.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-91565030', '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-13659047', 'members': {'address': ['179.87.42.196', '179.87.42.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-91565030', '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-24490695'
/contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-51928765', network_id='b7172a8f-b3e1-4d00-a089-3dee50afd782', subnet_id='a9c91969-b28a-4823-8e10-64b8ad098e64', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-24490695'})
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-51928765', 'vip_address': None, 'vip_subnet_id': 'a9c91969-b28a-4823-8e10-64b8ad098e64'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-51928765', 'vip_address': None, 'vip_subnet_id': 'a9c91969-b28a-4823-8e10-64b8ad098e64'}})
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-51928765', 'vip_address': None, 'vip_subnet_id': 'a9c91969-b28a-4823-8e10-64b8ad098e64'}}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-51928765', 'vip_address': None, 'vip_subnet_id': 'a9c91969-b28a-4823-8e10-64b8ad098e64'}}, 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-51928765"...8a-4823-8e10-64b8ad098e64", "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-056e7add-f1b9-427a-8ab7-83bbc0f4bede']
NotFound: The resource could not be found.
Neutron server returns request_ids: ['req-056e7add-f1b9-427a-8ab7-83bbc0f4bede']
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-056e7add-f1b9-427a-8ab7-83bbc0f4bede']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-056e7add-f1b9-427a-8ab7-83bbc0f4bede']", 'request_ids': ['req-056e7add-f1b9-427a-8ab7-83bbc0f4bede'], '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-056e7add-f1b9-427a-8ab7-83bbc0f4bede']"
args = ()
message = "The resource could not be found.\nNeutron server ...ids: ['req-056e7add-f1b9-427a-8ab7-83bbc0f4bede']"
req_ids_msg = 'Neutron server returns request_ids: %s'
request_ids = ['req-056e7add-f1b9-427a-8ab7-83bbc0f4bede']
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-056e7add-f1b9-427a-8ab7-83bbc0f4bede']
2025-07-23 15:36:35,347 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:36:35,348 - INFO -
2025-07-23 15:36:35,348 - INFO - END TEST : test_lbaas_client_pool_in_same_net : FAILED[0:00:17]
2025-07-23 15:36:35,348 - INFO - --------------------------------------------------------------------------------
2025-07-23 15:36:35,351 - INFO - ================================================================================
2025-07-23 15:36:35,351 - INFO - STARTING TEST : test_lbaas_with_different_fip
2025-07-23 15:36:35,351 - INFO - TEST DESCRIPTION : Create LB, LISTENER, POOL and MEMBER
create FIP and associate it to VIP, create a VM in the FIP network
verify: pool, member and vip gets created
after vip creation nets ns is created in compute node and haproxy
process starts , fail otherwise
Verify different LB Method
2025-07-23 15:36:36,671 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.130': {'10.20.0.17': '0', '10.20.0.254': '0'}} with
2025-07-23 15:36:36,671 - INFO - Initial checks done. Running the testcase now
2025-07-23 15:36:36,671 - INFO -
2025-07-23 15:36:37,012 - DEBUG - Response for create_network : {'network': {'id': 'd3d63ef5-0b91-44cb-b287-90179bc2a106', 'name': 'ctest-TestLBaaSV2-24490695-77159957', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-24490695', 'ctest-TestLBaaSV2-24490695-77159957'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:36:37,296 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcdf7eff-3d19-4130-9f43-b5b981cbb495', 'name': '', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'network_id': 'd3d63ef5-0b91-44cb-b287-90179bc2a106', 'ip_version': 4, 'cidr': '58.83.169.0/26', 'allocation_pools': [{'start': '58.83.169.2', 'end': '58.83.169.62'}], 'gateway_ip': '58.83.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.83.169.2', 'tags': [], 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4'}}
2025-07-23 15:36:37,321 - INFO - Created VN ctest-TestLBaaSV2-24490695-77159957
2025-07-23 15:36:37,336 - DEBUG - VN ctest-TestLBaaSV2-24490695-77159957 UUID is d3d63ef5-0b91-44cb-b287-90179bc2a106
2025-07-23 15:36:37,806 - DEBUG - Response for create_network : {'network': {'id': '3330ad37-0ecf-47a1-80f1-e7ce1450cc25', 'name': 'ctest-TestLBaaSV2-24490695-78714702', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-24490695', 'ctest-TestLBaaSV2-24490695-78714702'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:36:38,107 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdaf5203-e5bc-4449-8450-aac1cc0f579b', 'name': '', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'network_id': '3330ad37-0ecf-47a1-80f1-e7ce1450cc25', 'ip_version': 4, 'cidr': '115.33.219.192/26', 'allocation_pools': [{'start': '115.33.219.194', 'end': '115.33.219.254'}], 'gateway_ip': '115.33.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.33.219.194', 'tags': [], 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4'}}
2025-07-23 15:36:38,133 - INFO - Created VN ctest-TestLBaaSV2-24490695-78714702
2025-07-23 15:36:38,148 - DEBUG - VN ctest-TestLBaaSV2-24490695-78714702 UUID is 3330ad37-0ecf-47a1-80f1-e7ce1450cc25
2025-07-23 15:36:38,510 - DEBUG - Response for create_network : {'network': {'id': '775675f1-9819-4767-8aa8-e67595e2a4c2', 'name': 'ctest-vn-53366878', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-24490695', 'ctest-vn-53366878'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:36:38,769 - DEBUG - Response for create_subnet : {'subnet': {'id': '693fa8aa-4a27-4a91-9026-0613901487b5', 'name': '', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'network_id': '775675f1-9819-4767-8aa8-e67595e2a4c2', 'ip_version': 4, 'cidr': '207.12.61.192/26', 'allocation_pools': [{'start': '207.12.61.194', 'end': '207.12.61.254'}], 'gateway_ip': '207.12.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.12.61.194', 'tags': [], 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4'}}
2025-07-23 15:36:38,792 - INFO - Created VN ctest-vn-53366878
2025-07-23 15:36:38,805 - DEBUG - VN ctest-vn-53366878 UUID is 775675f1-9819-4767-8aa8-e67595e2a4c2
2025-07-23 15:36:39,979 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1)
2025-07-23 15:36:41,290 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2)
2025-07-23 15:36:42,863 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1)
2025-07-23 15:36:43,053 - DEBUG - Image by name cirros-0.4.0 not found
2025-07-23 15:36:43,054 - DEBUG - Installing image cirros-0.4.0
2025-07-23 15:36:43,054 - DEBUG - Image info {'name': 'cirros-0.4.0-x86_64-disk.img', 'webserver': '', 'location': '/images/converts/', 'username': 'cirros', 'password': 'gocubsgo', 'type': 'os', 'flavor': 'contrail_flavor_tiny', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd'}
2025-07-23 15:36:43,054 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img
2025-07-23 15:36:43,054 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img
2025-07-23 15:36:43,067 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: wget -nv http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img -O /contrail-test/images/cirros-0.4.0-x86_64-disk.img
2025-07-23 15:36:43,179 - DEBUG - Image has been downloaded to /contrail-test/images/cirros-0.4.0-x86_64-disk.img
2025-07-23 15:36:43,179 - DEBUG - Try to create image in user context
2025-07-23 15:36:43,445 - DEBUG - Image has been created in user context
2025-07-23 15:36:43,445 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/cirros-0.4.0-x86_64-disk.img
2025-07-23 15:36:43,478 - DEBUG - Downloaded image has been removed
2025-07-23 15:36:43,499 - DEBUG - Uploaded image status = active
2025-07-23 15:36:44,783 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2)
2025-07-23 15:36:46,543 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1)
2025-07-23 15:36:46,543 - INFO - VM name : ctest-TestLBaaSV2-24490695-74286844
2025-07-23 15:36:46,648 - DEBUG - VM ctest-TestLBaaSV2-24490695-74286844 ID is b729622a-b2d8-48c1-b6e6-f1b1a6296f4d
2025-07-23 15:36:46,744 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:36:46,744 - DEBUG - VM ctest-TestLBaaSV2-24490695-74286844 launched on Node an-jenkins-deploy-platform-ansible-os-3704-1
2025-07-23 15:36:46,860 - INFO - VM name : ctest-TestLBaaSV2-24490695-35260382
2025-07-23 15:36:47,006 - DEBUG - VM ctest-TestLBaaSV2-24490695-35260382 ID is 794ba796-32cd-4ac5-b86b-95991865bb60
2025-07-23 15:36:47,124 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:36:47,124 - DEBUG - VM ctest-TestLBaaSV2-24490695-35260382 launched on Node an-jenkins-deploy-platform-ansible-os-3704-2
2025-07-23 15:36:47,268 - INFO - VM name : ctest-TestLBaaSV2-24490695-76665406
2025-07-23 15:36:47,372 - DEBUG - VM ctest-TestLBaaSV2-24490695-76665406 ID is 7d3cb3b6-322d-4e2f-acd8-279b6525bcf2
2025-07-23 15:36:47,470 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:36:47,470 - DEBUG - VM ctest-TestLBaaSV2-24490695-76665406 launched on Node an-jenkins-deploy-platform-ansible-os-3704-1
2025-07-23 15:36:47,587 - INFO - Verify Round Robin Method
2025-07-23 15:36:47,594 - ERROR - List load balancers failed
2025-07-23 15:36:47,626 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-24490695-61994030 in state BUILD
2025-07-23 15:36:47,626 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-61994030
2025-07-23 15:36:47,626 - ERROR - VM ctest-TestLBaaSV2-24490695-61994030 has failed to come up
2025-07-23 15:36:47,626 - ERROR - Nova failed to get host of the VM
2025-07-23 15:36:47,626 - ERROR - VM ctest-TestLBaaSV2-24490695-61994030 has failed to come up
2025-07-23 15:36:47,626 - ERROR - Nova failed to get host of the VM
2025-07-23 15:36:47,703 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-24490695-01353442 in state BUILD
2025-07-23 15:36:47,703 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-01353442
2025-07-23 15:36:47,703 - ERROR - VM ctest-TestLBaaSV2-24490695-01353442 has failed to come up
2025-07-23 15:36:47,703 - ERROR - Nova failed to get host of the VM
2025-07-23 15:36:47,703 - ERROR - VM ctest-TestLBaaSV2-24490695-01353442 has failed to come up
2025-07-23 15:36:47,703 - ERROR - Nova failed to get host of the VM
2025-07-23 15:36:47,789 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-76665406
2025-07-23 15:36:47,859 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-35260382
2025-07-23 15:36:47,923 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-74286844
2025-07-23 15:36:47,993 - INFO - Deleting VN ctest-vn-53366878
2025-07-23 15:36:48,037 - DEBUG - VN 775675f1-9819-4767-8aa8-e67595e2a4c2 still in use: Unable to complete operation on network 775675f1-9819-4767-8aa8-e67595e2a4c2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-81442f91-f326-40a5-b4f0-4522d1255b2c']
2025-07-23 15:36:48,037 - WARNING - Deleting VN ctest-vn-53366878 failed..Will retry
2025-07-23 15:36:50,212 - DEBUG - Response for deleting network ()
2025-07-23 15:36:50,213 - INFO - Deleting VN ctest-TestLBaaSV2-24490695-78714702
2025-07-23 15:36:50,459 - DEBUG - Response for deleting network ()
2025-07-23 15:36:50,459 - INFO - Deleting VN ctest-TestLBaaSV2-24490695-77159957
2025-07-23 15:36:50,679 - DEBUG - Response for deleting network ()
2025-07-23 15:36:51,976 - ERROR - NotFound
Python 3.6.8: /usr/bin/python3
Wed Jul 23 15:36:47 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-23979784', network_id='775675f1-9819-4767-8aa8-e67595e2a4c2', cleanup=True, **kwargs={'fip_net_id': 'd3d63ef5-0b91-44cb-b287-90179bc2a106', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-75889979', 'members': {'address': ['207.12.61.195', '207.12.61.196', '207.12.61.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-19071707', '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': 'd3d63ef5-0b91-44cb-b287-90179bc2a106', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-75889979', 'members': {'address': ['207.12.61.195', '207.12.61.196', '207.12.61.197']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-19071707', '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-24490695'
/contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-23979784', network_id='775675f1-9819-4767-8aa8-e67595e2a4c2', subnet_id='693fa8aa-4a27-4a91-9026-0613901487b5', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-24490695'})
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-23979784', 'vip_address': None, 'vip_subnet_id': '693fa8aa-4a27-4a91-9026-0613901487b5'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-23979784', 'vip_address': None, 'vip_subnet_id': '693fa8aa-4a27-4a91-9026-0613901487b5'}})
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-23979784', 'vip_address': None, 'vip_subnet_id': '693fa8aa-4a27-4a91-9026-0613901487b5'}}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-23979784', 'vip_address': None, 'vip_subnet_id': '693fa8aa-4a27-4a91-9026-0613901487b5'}}, 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-23979784"...27-4a91-9026-0613901487b5", "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-77336878-281e-4443-bc4a-e9e977505b7d']
NotFound: The resource could not be found.
Neutron server returns request_ids: ['req-77336878-281e-4443-bc4a-e9e977505b7d']
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-77336878-281e-4443-bc4a-e9e977505b7d']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-77336878-281e-4443-bc4a-e9e977505b7d']", 'request_ids': ['req-77336878-281e-4443-bc4a-e9e977505b7d'], '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-77336878-281e-4443-bc4a-e9e977505b7d']"
args = ()
message = "The resource could not be found.\nNeutron server ...ids: ['req-77336878-281e-4443-bc4a-e9e977505b7d']"
req_ids_msg = 'Neutron server returns request_ids: %s'
request_ids = ['req-77336878-281e-4443-bc4a-e9e977505b7d']
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-77336878-281e-4443-bc4a-e9e977505b7d']
2025-07-23 15:36:52,019 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:36:52,019 - INFO -
2025-07-23 15:36:52,019 - INFO - END TEST : test_lbaas_with_different_fip : FAILED[0:00:17]
2025-07-23 15:36:52,019 - INFO - --------------------------------------------------------------------------------
2025-07-23 15:36:52,023 - INFO - ================================================================================
2025-07-23 15:36:52,023 - INFO - STARTING TEST : test_lbaas_with_sg_vip
2025-07-23 15:36:52,023 - INFO - TEST DESCRIPTION : Create LB, LISTENER, POOL and MEMBER
create FIP and associate it to VIP, create a VM in the FIP network
verify: pool, member and vip gets created
after vip creation nets ns is created in compute node and haproxy
process starts , fail otherwise
Verify different LB Method
2025-07-23 15:36:53,408 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.130': {'10.20.0.17': '0', '10.20.0.254': '0'}} with
2025-07-23 15:36:53,409 - INFO - Initial checks done. Running the testcase now
2025-07-23 15:36:53,409 - INFO -
2025-07-23 15:36:53,784 - DEBUG - Response for create_network : {'network': {'id': '7749ac75-04a6-4e5a-b519-cec69631d5bd', 'name': 'ctest-TestLBaaSV2-24490695-09142079', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-24490695', 'ctest-TestLBaaSV2-24490695-09142079'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:36:54,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ca4eec0-148a-4cf8-9473-0c616c7f8b8f', 'name': '', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'network_id': '7749ac75-04a6-4e5a-b519-cec69631d5bd', 'ip_version': 4, 'cidr': '154.96.143.128/26', 'allocation_pools': [{'start': '154.96.143.130', 'end': '154.96.143.190'}], 'gateway_ip': '154.96.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.96.143.130', 'tags': [], 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4'}}
2025-07-23 15:36:54,073 - INFO - Created VN ctest-TestLBaaSV2-24490695-09142079
2025-07-23 15:36:54,088 - DEBUG - VN ctest-TestLBaaSV2-24490695-09142079 UUID is 7749ac75-04a6-4e5a-b519-cec69631d5bd
2025-07-23 15:36:54,522 - DEBUG - Response for create_network : {'network': {'id': 'dce55a3d-2f11-4e9b-879d-902a1f5a139e', 'name': 'ctest-vn-24716746', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-24490695', 'ctest-vn-24716746'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:36:54,785 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6fbd35f-10aa-4640-9207-d5a94c369913', 'name': '', 'tenant_id': 'a7ec3f56039c48a4a79ff53c546646d4', 'network_id': 'dce55a3d-2f11-4e9b-879d-902a1f5a139e', 'ip_version': 4, 'cidr': '124.181.37.64/26', 'allocation_pools': [{'start': '124.181.37.66', 'end': '124.181.37.126'}], 'gateway_ip': '124.181.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.181.37.66', 'tags': [], 'project_id': 'a7ec3f56039c48a4a79ff53c546646d4'}}
2025-07-23 15:36:54,806 - INFO - Created VN ctest-vn-24716746
2025-07-23 15:36:54,820 - DEBUG - VN ctest-vn-24716746 UUID is dce55a3d-2f11-4e9b-879d-902a1f5a139e
2025-07-23 15:36:56,134 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2)
2025-07-23 15:36:57,447 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1)
2025-07-23 15:36:58,854 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2)
2025-07-23 15:37:00,407 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1)
2025-07-23 15:37:00,407 - INFO - VM name : ctest-TestLBaaSV2-24490695-14908738
2025-07-23 15:37:00,496 - DEBUG - VM ctest-TestLBaaSV2-24490695-14908738 ID is 3e9ffd12-2e2c-4945-b1d2-82ec7cc823bc
2025-07-23 15:37:00,575 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:37:00,576 - DEBUG - VM ctest-TestLBaaSV2-24490695-14908738 launched on Node an-jenkins-deploy-platform-ansible-os-3704-2
2025-07-23 15:37:00,671 - INFO - VM name : ctest-TestLBaaSV2-24490695-75809266
2025-07-23 15:37:00,760 - DEBUG - VM ctest-TestLBaaSV2-24490695-75809266 ID is e12c8300-943d-4252-9444-bf61b86f460a
2025-07-23 15:37:00,880 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:37:00,880 - DEBUG - VM ctest-TestLBaaSV2-24490695-75809266 launched on Node an-jenkins-deploy-platform-ansible-os-3704-1
2025-07-23 15:37:01,069 - INFO - VM name : ctest-TestLBaaSV2-24490695-93396115
2025-07-23 15:37:01,187 - DEBUG - VM ctest-TestLBaaSV2-24490695-93396115 : Status=BUILD, Addresses : {}
2025-07-23 15:37:06,286 - DEBUG - VM ctest-TestLBaaSV2-24490695-93396115 ID is b8074f12-f2cd-4827-a602-21e1c0a59b87
2025-07-23 15:37:06,374 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:37:06,374 - DEBUG - VM ctest-TestLBaaSV2-24490695-93396115 launched on Node an-jenkins-deploy-platform-ansible-os-3704-2
2025-07-23 15:37:06,475 - INFO - Verify Round Robin Method
2025-07-23 15:37:06,488 - ERROR - List load balancers failed
2025-07-23 15:37:06,526 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-24490695-66862691 in state BUILD
2025-07-23 15:37:06,526 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-66862691
2025-07-23 15:37:06,526 - ERROR - VM ctest-TestLBaaSV2-24490695-66862691 has failed to come up
2025-07-23 15:37:06,526 - ERROR - Nova failed to get host of the VM
2025-07-23 15:37:06,526 - ERROR - VM ctest-TestLBaaSV2-24490695-66862691 has failed to come up
2025-07-23 15:37:06,526 - ERROR - Nova failed to get host of the VM
2025-07-23 15:37:06,600 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-93396115
2025-07-23 15:37:06,695 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-75809266
2025-07-23 15:37:06,761 - INFO - Deleting VM ctest-TestLBaaSV2-24490695-14908738
2025-07-23 15:37:06,828 - INFO - Deleting VN ctest-vn-24716746
2025-07-23 15:37:06,881 - DEBUG - VN dce55a3d-2f11-4e9b-879d-902a1f5a139e still in use: Unable to complete operation on network dce55a3d-2f11-4e9b-879d-902a1f5a139e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5c428945-b388-4eb5-b252-8aed55980b13']
2025-07-23 15:37:06,881 - WARNING - Deleting VN ctest-vn-24716746 failed..Will retry
2025-07-23 15:37:09,091 - DEBUG - Response for deleting network ()
2025-07-23 15:37:09,091 - INFO - Deleting VN ctest-TestLBaaSV2-24490695-09142079
2025-07-23 15:37:09,346 - DEBUG - Response for deleting network ()
2025-07-23 15:37:10,677 - ERROR - NotFound
Python 3.6.8: /usr/bin/python3
Wed Jul 23 15:37:06 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-29092936', network_id='dce55a3d-2f11-4e9b-879d-902a1f5a139e', cleanup=True, **kwargs={'fip_net_id': '7749ac75-04a6-4e5a-b519-cec69631d5bd', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-86422129', 'members': {'address': ['124.181.37.67', '124.181.37.68', '124.181.37.69']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-33217326', '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': '7749ac75-04a6-4e5a-b519-cec69631d5bd', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-86422129', 'members': {'address': ['124.181.37.67', '124.181.37.68', '124.181.37.69']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-33217326', '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-24490695'
/contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-29092936', network_id='dce55a3d-2f11-4e9b-879d-902a1f5a139e', subnet_id='d6fbd35f-10aa-4640-9207-d5a94c369913', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-24490695'})
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-29092936', 'vip_address': None, 'vip_subnet_id': 'd6fbd35f-10aa-4640-9207-d5a94c369913'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-29092936', 'vip_address': None, 'vip_subnet_id': 'd6fbd35f-10aa-4640-9207-d5a94c369913'}})
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-29092936', 'vip_address': None, 'vip_subnet_id': 'd6fbd35f-10aa-4640-9207-d5a94c369913'}}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-29092936', 'vip_address': None, 'vip_subnet_id': 'd6fbd35f-10aa-4640-9207-d5a94c369913'}}, 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-29092936"...aa-4640-9207-d5a94c369913", "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-c3c5344d-07d6-4804-94c7-17eae909adf0']
NotFound: The resource could not be found.
Neutron server returns request_ids: ['req-c3c5344d-07d6-4804-94c7-17eae909adf0']
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-c3c5344d-07d6-4804-94c7-17eae909adf0']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-c3c5344d-07d6-4804-94c7-17eae909adf0']", 'request_ids': ['req-c3c5344d-07d6-4804-94c7-17eae909adf0'], '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-c3c5344d-07d6-4804-94c7-17eae909adf0']"
args = ()
message = "The resource could not be found.\nNeutron server ...ids: ['req-c3c5344d-07d6-4804-94c7-17eae909adf0']"
req_ids_msg = 'Neutron server returns request_ids: %s'
request_ids = ['req-c3c5344d-07d6-4804-94c7-17eae909adf0']
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-c3c5344d-07d6-4804-94c7-17eae909adf0']
2025-07-23 15:37:10,705 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:37:10,705 - INFO -
2025-07-23 15:37:10,706 - INFO - END TEST : test_lbaas_with_sg_vip : FAILED[0:00:18]
2025-07-23 15:37:10,706 - INFO - --------------------------------------------------------------------------------
2025-07-23 15:37:11,495 - INFO - Deleted project: ctest-TestLBaaSV2-24490695, ID : a7ec3f56-039c-48a4-a79f-f53c546646d4