2025-08-04 02:50:26,510 - INFO - Domain Default found not creating
2025-08-04 02:50:26,683 - INFO - Project ctest-TestLBaaSV2-56221819 not found, creating it
2025-08-04 02:50:27,306 - INFO - Created Project:ctest-TestLBaaSV2-56221819, ID : be624f62-2672-42d6-b2a2-7f6c64d65f53
2025-08-04 02:50:28,969 - INFO - ================================================================================
2025-08-04 02:50:28,970 - INFO - STARTING TEST : test_lbaas_client_pool_in_same_net
2025-08-04 02:50:28,970 - 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-04 02:50:30,243 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.57': {'10.20.0.193': '0', '10.20.0.18': '0'}} with
2025-08-04 02:50:30,243 - INFO - Initial checks done. Running the testcase now
2025-08-04 02:50:30,244 - INFO -
2025-08-04 02:50:31,085 - DEBUG - Response for create_network : {'network': {'id': '5337e995-fa2a-4f64-8082-f0005d777a69', 'name': 'ctest-vn-54160030', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'project_id': 'be624f62267242d6b2a27f6c64d65f53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-56221819', 'ctest-vn-54160030'], 'port_security_enabled': True, 'description': ''}}
2025-08-04 02:50:31,459 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b788f8be-c809-492e-838d-81bad01ad59c', 'name': '', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'network_id': '5337e995-fa2a-4f64-8082-f0005d777a69', 'ip_version': 4, 'cidr': '53.81.176.0/26', 'allocation_pools': [{'start': '53.81.176.2', 'end': '53.81.176.62'}], 'gateway_ip': '53.81.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.81.176.2', 'tags': [], 'project_id': 'be624f62267242d6b2a27f6c64d65f53'}}
2025-08-04 02:50:31,485 - INFO - Created VN ctest-vn-54160030
2025-08-04 02:50:31,511 - DEBUG - VN ctest-vn-54160030 UUID is 5337e995-fa2a-4f64-8082-f0005d777a69
2025-08-04 02:50:31,687 - DEBUG - Services list from nova: [, , , ]
2025-08-04 02:50:32,904 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-2)
2025-08-04 02:50:34,578 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-1)
2025-08-04 02:50:36,264 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-2)
2025-08-04 02:50:36,265 - INFO - VM name : ctest-TestLBaaSV2-56221819-78935526
2025-08-04 02:50:36,375 - DEBUG - VM ctest-TestLBaaSV2-56221819-78935526 : Status=BUILD, Addresses : {}
2025-08-04 02:50:41,469 - DEBUG - VM ctest-TestLBaaSV2-56221819-78935526 ID is 49600315-d155-46fc-9130-684f64522a35
2025-08-04 02:50:41,570 - DEBUG - VM is in ACTIVE state now
2025-08-04 02:50:41,599 - DEBUG - VM ctest-TestLBaaSV2-56221819-78935526 launched on Node an-jenkins-deploy-platform-ansible-os-3750-1
2025-08-04 02:50:41,691 - INFO - VM name : ctest-TestLBaaSV2-56221819-88337949
2025-08-04 02:50:41,776 - DEBUG - VM ctest-TestLBaaSV2-56221819-88337949 ID is 465a7171-ee78-4531-a56a-c98b2a26ca19
2025-08-04 02:50:41,866 - DEBUG - VM is in ACTIVE state now
2025-08-04 02:50:41,866 - DEBUG - VM ctest-TestLBaaSV2-56221819-88337949 launched on Node an-jenkins-deploy-platform-ansible-os-3750-2
2025-08-04 02:50:41,965 - ERROR - List load balancers failed
2025-08-04 02:50:42,003 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-88337949
2025-08-04 02:50:42,111 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-78935526
2025-08-04 02:50:42,193 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-56221819-72793850 in state BUILD
2025-08-04 02:50:42,193 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-72793850
2025-08-04 02:50:42,193 - ERROR - VM ctest-TestLBaaSV2-56221819-72793850 has failed to come up
2025-08-04 02:50:42,193 - ERROR - Nova failed to get host of the VM
2025-08-04 02:50:42,193 - ERROR - VM ctest-TestLBaaSV2-56221819-72793850 has failed to come up
2025-08-04 02:50:42,193 - ERROR - Nova failed to get host of the VM
2025-08-04 02:50:42,287 - INFO - Deleting VN ctest-vn-54160030
2025-08-04 02:50:42,336 - DEBUG - VN 5337e995-fa2a-4f64-8082-f0005d777a69 still in use: Unable to complete operation on network 5337e995-fa2a-4f64-8082-f0005d777a69. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-dd263769-5619-4c11-9f6a-e8e1d15d255b']
2025-08-04 02:50:42,337 - WARNING - Deleting VN ctest-vn-54160030 failed..Will retry
2025-08-04 02:50:44,502 - DEBUG - Response for deleting network ()
2025-08-04 02:50:45,772 - ERROR - NotFound
Python 3.6.8: /usr/bin/python3
Mon Aug 4 02:50:41 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-58707291', network_id='5337e995-fa2a-4f64-8082-f0005d777a69', cleanup=True, **kwargs={'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-HTTP-04688656', 'members': {'address': ['53.81.176.4', '53.81.176.5']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-04751510', '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-04688656', 'members': {'address': ['53.81.176.4', '53.81.176.5']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-04751510', '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-56221819'
/contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-58707291', network_id='5337e995-fa2a-4f64-8082-f0005d777a69', subnet_id='b788f8be-c809-492e-838d-81bad01ad59c', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-56221819'})
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-58707291', 'vip_address': None, 'vip_subnet_id': 'b788f8be-c809-492e-838d-81bad01ad59c'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-58707291', 'vip_address': None, 'vip_subnet_id': 'b788f8be-c809-492e-838d-81bad01ad59c'}})
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-58707291', 'vip_address': None, 'vip_subnet_id': 'b788f8be-c809-492e-838d-81bad01ad59c'}}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-58707291', 'vip_address': None, 'vip_subnet_id': 'b788f8be-c809-492e-838d-81bad01ad59c'}}, 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-58707291"...09-492e-838d-81bad01ad59c", "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-7b4bb040-de75-4dbc-8998-71c16720511a']
NotFound: The resource could not be found.
Neutron server returns request_ids: ['req-7b4bb040-de75-4dbc-8998-71c16720511a']
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-7b4bb040-de75-4dbc-8998-71c16720511a']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-7b4bb040-de75-4dbc-8998-71c16720511a']", 'request_ids': ['req-7b4bb040-de75-4dbc-8998-71c16720511a'], '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-7b4bb040-de75-4dbc-8998-71c16720511a']"
args = ()
message = "The resource could not be found.\nNeutron server ...ids: ['req-7b4bb040-de75-4dbc-8998-71c16720511a']"
req_ids_msg = 'Neutron server returns request_ids: %s'
request_ids = ['req-7b4bb040-de75-4dbc-8998-71c16720511a']
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-7b4bb040-de75-4dbc-8998-71c16720511a']
2025-08-04 02:50:45,789 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:50:45,789 - INFO -
2025-08-04 02:50:45,789 - INFO - END TEST : test_lbaas_client_pool_in_same_net : FAILED[0:00:17]
2025-08-04 02:50:45,789 - INFO - --------------------------------------------------------------------------------
2025-08-04 02:50:45,798 - INFO - ================================================================================
2025-08-04 02:50:45,798 - INFO - STARTING TEST : test_lbaas_with_different_fip
2025-08-04 02:50:45,798 - 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-04 02:50:47,073 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.57': {'10.20.0.193': '0', '10.20.0.18': '0'}} with
2025-08-04 02:50:47,073 - INFO - Initial checks done. Running the testcase now
2025-08-04 02:50:47,074 - INFO -
2025-08-04 02:50:47,444 - DEBUG - Response for create_network : {'network': {'id': '07f0724c-efb8-4821-8784-b11231ddfefe', 'name': 'ctest-TestLBaaSV2-56221819-36968759', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'project_id': 'be624f62267242d6b2a27f6c64d65f53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-56221819', 'ctest-TestLBaaSV2-56221819-36968759'], 'port_security_enabled': True, 'description': ''}}
2025-08-04 02:50:47,685 - DEBUG - Response for create_subnet : {'subnet': {'id': '14649fa9-7d7b-4fcd-a531-e0a1b2cf1fb3', 'name': '', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'network_id': '07f0724c-efb8-4821-8784-b11231ddfefe', 'ip_version': 4, 'cidr': '33.177.141.64/26', 'allocation_pools': [{'start': '33.177.141.66', 'end': '33.177.141.126'}], 'gateway_ip': '33.177.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.177.141.66', 'tags': [], 'project_id': 'be624f62267242d6b2a27f6c64d65f53'}}
2025-08-04 02:50:47,709 - INFO - Created VN ctest-TestLBaaSV2-56221819-36968759
2025-08-04 02:50:47,723 - DEBUG - VN ctest-TestLBaaSV2-56221819-36968759 UUID is 07f0724c-efb8-4821-8784-b11231ddfefe
2025-08-04 02:50:48,136 - DEBUG - Response for create_network : {'network': {'id': '3fe8aaac-7093-4662-bafc-dc2729af3882', 'name': 'ctest-TestLBaaSV2-56221819-75027848', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'project_id': 'be624f62267242d6b2a27f6c64d65f53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-56221819', 'ctest-TestLBaaSV2-56221819-75027848'], 'port_security_enabled': True, 'description': ''}}
2025-08-04 02:50:48,393 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b085038-a392-497b-bbcd-a3f13511ea1b', 'name': '', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'network_id': '3fe8aaac-7093-4662-bafc-dc2729af3882', 'ip_version': 4, 'cidr': '85.189.254.64/26', 'allocation_pools': [{'start': '85.189.254.66', 'end': '85.189.254.126'}], 'gateway_ip': '85.189.254.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.189.254.66', 'tags': [], 'project_id': 'be624f62267242d6b2a27f6c64d65f53'}}
2025-08-04 02:50:48,419 - INFO - Created VN ctest-TestLBaaSV2-56221819-75027848
2025-08-04 02:50:48,433 - DEBUG - VN ctest-TestLBaaSV2-56221819-75027848 UUID is 3fe8aaac-7093-4662-bafc-dc2729af3882
2025-08-04 02:50:48,851 - DEBUG - Response for create_network : {'network': {'id': '63483b94-e637-4dda-8f1b-f851ab000c0b', 'name': 'ctest-vn-70570409', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'project_id': 'be624f62267242d6b2a27f6c64d65f53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-56221819', 'ctest-vn-70570409'], 'port_security_enabled': True, 'description': ''}}
2025-08-04 02:50:49,107 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1943a39-e290-49de-9eea-ab9d7b991e52', 'name': '', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'network_id': '63483b94-e637-4dda-8f1b-f851ab000c0b', 'ip_version': 4, 'cidr': '211.24.67.64/26', 'allocation_pools': [{'start': '211.24.67.66', 'end': '211.24.67.126'}], 'gateway_ip': '211.24.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.24.67.66', 'tags': [], 'project_id': 'be624f62267242d6b2a27f6c64d65f53'}}
2025-08-04 02:50:49,130 - INFO - Created VN ctest-vn-70570409
2025-08-04 02:50:49,148 - DEBUG - VN ctest-vn-70570409 UUID is 63483b94-e637-4dda-8f1b-f851ab000c0b
2025-08-04 02:50:50,365 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-1)
2025-08-04 02:50:51,698 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-2)
2025-08-04 02:50:53,332 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-1)
2025-08-04 02:50:53,501 - DEBUG - Image by name cirros-0.4.0 not found
2025-08-04 02:50:53,501 - DEBUG - Installing image cirros-0.4.0
2025-08-04 02:50:53,501 - 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-04 02:50:53,502 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img
2025-08-04 02:50:53,502 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//cirros-0.4.0-x86_64-disk.img
2025-08-04 02:50:53,517 - 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-04 02:50:53,640 - DEBUG - Image has been downloaded to /contrail-test/images/cirros-0.4.0-x86_64-disk.img
2025-08-04 02:50:53,640 - DEBUG - Try to create image in user context
2025-08-04 02:50:53,889 - DEBUG - Image has been created in user context
2025-08-04 02:50:53,890 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/cirros-0.4.0-x86_64-disk.img
2025-08-04 02:50:53,906 - DEBUG - Downloaded image has been removed
2025-08-04 02:50:53,920 - DEBUG - Uploaded image status = active
2025-08-04 02:50:55,314 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-2)
2025-08-04 02:50:56,951 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-1)
2025-08-04 02:50:56,951 - INFO - VM name : ctest-TestLBaaSV2-56221819-83249234
2025-08-04 02:50:57,054 - DEBUG - VM ctest-TestLBaaSV2-56221819-83249234 ID is a16e8407-96e0-4dee-8c4a-c5d344f9c6fe
2025-08-04 02:50:57,155 - DEBUG - VM is in ACTIVE state now
2025-08-04 02:50:57,156 - DEBUG - VM ctest-TestLBaaSV2-56221819-83249234 launched on Node an-jenkins-deploy-platform-ansible-os-3750-1
2025-08-04 02:50:57,267 - INFO - VM name : ctest-TestLBaaSV2-56221819-80480982
2025-08-04 02:50:57,420 - DEBUG - VM ctest-TestLBaaSV2-56221819-80480982 ID is 974adf3e-440d-4170-9dc0-619237d2a484
2025-08-04 02:50:57,535 - DEBUG - VM is in ACTIVE state now
2025-08-04 02:50:57,535 - DEBUG - VM ctest-TestLBaaSV2-56221819-80480982 launched on Node an-jenkins-deploy-platform-ansible-os-3750-2
2025-08-04 02:50:57,673 - INFO - VM name : ctest-TestLBaaSV2-56221819-57255042
2025-08-04 02:50:57,792 - DEBUG - VM ctest-TestLBaaSV2-56221819-57255042 ID is f7567d23-84f7-43de-b1f7-e17b02e1e20f
2025-08-04 02:50:57,926 - DEBUG - VM is in ACTIVE state now
2025-08-04 02:50:57,926 - DEBUG - VM ctest-TestLBaaSV2-56221819-57255042 launched on Node an-jenkins-deploy-platform-ansible-os-3750-1
2025-08-04 02:50:58,031 - INFO - Verify Round Robin Method
2025-08-04 02:50:58,042 - ERROR - List load balancers failed
2025-08-04 02:50:58,088 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-56221819-31632452 in state BUILD
2025-08-04 02:50:58,088 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-31632452
2025-08-04 02:50:58,088 - ERROR - VM ctest-TestLBaaSV2-56221819-31632452 has failed to come up
2025-08-04 02:50:58,089 - ERROR - Nova failed to get host of the VM
2025-08-04 02:50:58,089 - ERROR - VM ctest-TestLBaaSV2-56221819-31632452 has failed to come up
2025-08-04 02:50:58,089 - ERROR - Nova failed to get host of the VM
2025-08-04 02:50:58,191 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-56221819-57710733 in state BUILD
2025-08-04 02:50:58,191 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-57710733
2025-08-04 02:50:58,191 - ERROR - VM ctest-TestLBaaSV2-56221819-57710733 has failed to come up
2025-08-04 02:50:58,191 - ERROR - Nova failed to get host of the VM
2025-08-04 02:50:58,192 - ERROR - VM ctest-TestLBaaSV2-56221819-57710733 has failed to come up
2025-08-04 02:50:58,192 - ERROR - Nova failed to get host of the VM
2025-08-04 02:50:58,277 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-57255042
2025-08-04 02:50:58,355 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-80480982
2025-08-04 02:50:58,457 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-83249234
2025-08-04 02:50:58,569 - INFO - Deleting VN ctest-vn-70570409
2025-08-04 02:50:58,630 - DEBUG - VN 63483b94-e637-4dda-8f1b-f851ab000c0b still in use: Unable to complete operation on network 63483b94-e637-4dda-8f1b-f851ab000c0b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e73077c2-7333-44f6-99a4-20d78a36487e']
2025-08-04 02:50:58,631 - WARNING - Deleting VN ctest-vn-70570409 failed..Will retry
2025-08-04 02:51:00,848 - DEBUG - Response for deleting network ()
2025-08-04 02:51:00,848 - INFO - Deleting VN ctest-TestLBaaSV2-56221819-75027848
2025-08-04 02:51:01,058 - DEBUG - Response for deleting network ()
2025-08-04 02:51:01,058 - INFO - Deleting VN ctest-TestLBaaSV2-56221819-36968759
2025-08-04 02:51:01,270 - DEBUG - Response for deleting network ()
2025-08-04 02:51:02,540 - ERROR - NotFound
Python 3.6.8: /usr/bin/python3
Mon Aug 4 02:50:58 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/lbaasv2/test_lbaasv2.py in test_lbaas_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-96207919', network_id='63483b94-e637-4dda-8f1b-f851ab000c0b', cleanup=True, **kwargs={'fip_net_id': '07f0724c-efb8-4821-8784-b11231ddfefe', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-58238256', 'members': {'address': ['211.24.67.67', '211.24.67.68', '211.24.67.69']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-22963087', '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': '07f0724c-efb8-4821-8784-b11231ddfefe', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-58238256', 'members': {'address': ['211.24.67.67', '211.24.67.68', '211.24.67.69']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-22963087', '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-56221819'
/contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-96207919', network_id='63483b94-e637-4dda-8f1b-f851ab000c0b', subnet_id='f1943a39-e290-49de-9eea-ab9d7b991e52', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-56221819'})
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-96207919', 'vip_address': None, 'vip_subnet_id': 'f1943a39-e290-49de-9eea-ab9d7b991e52'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-96207919', 'vip_address': None, 'vip_subnet_id': 'f1943a39-e290-49de-9eea-ab9d7b991e52'}})
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-96207919', 'vip_address': None, 'vip_subnet_id': 'f1943a39-e290-49de-9eea-ab9d7b991e52'}}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-96207919', 'vip_address': None, 'vip_subnet_id': 'f1943a39-e290-49de-9eea-ab9d7b991e52'}}, 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-96207919"...90-49de-9eea-ab9d7b991e52", "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-bc68a0a5-b8c4-48ee-a501-594f45edbd05']
NotFound: The resource could not be found.
Neutron server returns request_ids: ['req-bc68a0a5-b8c4-48ee-a501-594f45edbd05']
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-bc68a0a5-b8c4-48ee-a501-594f45edbd05']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-bc68a0a5-b8c4-48ee-a501-594f45edbd05']", 'request_ids': ['req-bc68a0a5-b8c4-48ee-a501-594f45edbd05'], '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-bc68a0a5-b8c4-48ee-a501-594f45edbd05']"
args = ()
message = "The resource could not be found.\nNeutron server ...ids: ['req-bc68a0a5-b8c4-48ee-a501-594f45edbd05']"
req_ids_msg = 'Neutron server returns request_ids: %s'
request_ids = ['req-bc68a0a5-b8c4-48ee-a501-594f45edbd05']
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-bc68a0a5-b8c4-48ee-a501-594f45edbd05']
2025-08-04 02:51:02,561 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:51:02,561 - INFO -
2025-08-04 02:51:02,561 - INFO - END TEST : test_lbaas_with_different_fip : FAILED[0:00:17]
2025-08-04 02:51:02,562 - INFO - --------------------------------------------------------------------------------
2025-08-04 02:51:02,570 - INFO - ================================================================================
2025-08-04 02:51:02,571 - INFO - STARTING TEST : test_lbaas_with_sg_vip
2025-08-04 02:51:02,571 - 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-04 02:51:03,856 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.57': {'10.20.0.193': '0', '10.20.0.18': '0'}} with
2025-08-04 02:51:03,856 - INFO - Initial checks done. Running the testcase now
2025-08-04 02:51:03,856 - INFO -
2025-08-04 02:51:04,222 - DEBUG - Response for create_network : {'network': {'id': '9d0e543b-43a9-415b-b13b-8486dfb4b9c0', 'name': 'ctest-TestLBaaSV2-56221819-41809053', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'project_id': 'be624f62267242d6b2a27f6c64d65f53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-56221819', 'ctest-TestLBaaSV2-56221819-41809053'], 'port_security_enabled': True, 'description': ''}}
2025-08-04 02:51:04,494 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6a47774-c936-42e4-a30a-eacc458e5894', 'name': '', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'network_id': '9d0e543b-43a9-415b-b13b-8486dfb4b9c0', 'ip_version': 4, 'cidr': '40.241.27.64/26', 'allocation_pools': [{'start': '40.241.27.66', 'end': '40.241.27.126'}], 'gateway_ip': '40.241.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.241.27.66', 'tags': [], 'project_id': 'be624f62267242d6b2a27f6c64d65f53'}}
2025-08-04 02:51:04,519 - INFO - Created VN ctest-TestLBaaSV2-56221819-41809053
2025-08-04 02:51:04,534 - DEBUG - VN ctest-TestLBaaSV2-56221819-41809053 UUID is 9d0e543b-43a9-415b-b13b-8486dfb4b9c0
2025-08-04 02:51:04,982 - DEBUG - Response for create_network : {'network': {'id': '675a9ed5-290b-4cd2-920f-f4c209d6f7da', 'name': 'ctest-vn-71775778', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'project_id': 'be624f62267242d6b2a27f6c64d65f53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestLBaaSV2-56221819', 'ctest-vn-71775778'], 'port_security_enabled': True, 'description': ''}}
2025-08-04 02:51:05,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '8578d85a-9990-4372-9927-41d794968c9a', 'name': '', 'tenant_id': 'be624f62267242d6b2a27f6c64d65f53', 'network_id': '675a9ed5-290b-4cd2-920f-f4c209d6f7da', 'ip_version': 4, 'cidr': '89.154.13.0/26', 'allocation_pools': [{'start': '89.154.13.2', 'end': '89.154.13.62'}], 'gateway_ip': '89.154.13.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.154.13.2', 'tags': [], 'project_id': 'be624f62267242d6b2a27f6c64d65f53'}}
2025-08-04 02:51:05,252 - INFO - Created VN ctest-vn-71775778
2025-08-04 02:51:05,269 - DEBUG - VN ctest-vn-71775778 UUID is 675a9ed5-290b-4cd2-920f-f4c209d6f7da
2025-08-04 02:51:06,511 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-2)
2025-08-04 02:51:07,851 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-1)
2025-08-04 02:51:09,288 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-2)
2025-08-04 02:51:10,772 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-1)
2025-08-04 02:51:10,773 - INFO - VM name : ctest-TestLBaaSV2-56221819-62985831
2025-08-04 02:51:10,871 - DEBUG - VM ctest-TestLBaaSV2-56221819-62985831 ID is d60b6109-36a8-4986-a32a-9e9e25a523d9
2025-08-04 02:51:10,967 - DEBUG - VM is in ACTIVE state now
2025-08-04 02:51:10,968 - DEBUG - VM ctest-TestLBaaSV2-56221819-62985831 launched on Node an-jenkins-deploy-platform-ansible-os-3750-2
2025-08-04 02:51:11,070 - INFO - VM name : ctest-TestLBaaSV2-56221819-63518815
2025-08-04 02:51:11,192 - DEBUG - VM ctest-TestLBaaSV2-56221819-63518815 ID is 0327e82b-f973-4933-a814-d485deb4651b
2025-08-04 02:51:11,322 - DEBUG - VM is in ACTIVE state now
2025-08-04 02:51:11,323 - DEBUG - VM ctest-TestLBaaSV2-56221819-63518815 launched on Node an-jenkins-deploy-platform-ansible-os-3750-1
2025-08-04 02:51:11,475 - INFO - VM name : ctest-TestLBaaSV2-56221819-98361039
2025-08-04 02:51:11,599 - DEBUG - VM ctest-TestLBaaSV2-56221819-98361039 : Status=BUILD, Addresses : {}
2025-08-04 02:51:16,703 - DEBUG - VM ctest-TestLBaaSV2-56221819-98361039 ID is 08bea4e7-09b9-4e36-8436-6777fee7924c
2025-08-04 02:51:16,794 - DEBUG - VM is in ACTIVE state now
2025-08-04 02:51:16,794 - DEBUG - VM ctest-TestLBaaSV2-56221819-98361039 launched on Node an-jenkins-deploy-platform-ansible-os-3750-2
2025-08-04 02:51:16,894 - INFO - Verify Round Robin Method
2025-08-04 02:51:16,902 - ERROR - List load balancers failed
2025-08-04 02:51:16,936 - INFO - Skip interface_detach for VM ctest-TestLBaaSV2-56221819-45328565 in state BUILD
2025-08-04 02:51:16,937 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-45328565
2025-08-04 02:51:16,937 - ERROR - VM ctest-TestLBaaSV2-56221819-45328565 has failed to come up
2025-08-04 02:51:16,937 - ERROR - Nova failed to get host of the VM
2025-08-04 02:51:16,937 - ERROR - VM ctest-TestLBaaSV2-56221819-45328565 has failed to come up
2025-08-04 02:51:16,937 - ERROR - Nova failed to get host of the VM
2025-08-04 02:51:17,007 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-98361039
2025-08-04 02:51:17,075 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-63518815
2025-08-04 02:51:17,142 - INFO - Deleting VM ctest-TestLBaaSV2-56221819-62985831
2025-08-04 02:51:17,207 - INFO - Deleting VN ctest-vn-71775778
2025-08-04 02:51:17,251 - DEBUG - VN 675a9ed5-290b-4cd2-920f-f4c209d6f7da still in use: Unable to complete operation on network 675a9ed5-290b-4cd2-920f-f4c209d6f7da. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5338b7c5-d6c7-40e6-82f2-cce43e54240c']
2025-08-04 02:51:17,252 - WARNING - Deleting VN ctest-vn-71775778 failed..Will retry
2025-08-04 02:51:19,397 - DEBUG - Response for deleting network ()
2025-08-04 02:51:19,397 - INFO - Deleting VN ctest-TestLBaaSV2-56221819-41809053
2025-08-04 02:51:19,609 - DEBUG - Response for deleting network ()
2025-08-04 02:51:20,872 - ERROR - NotFound
Python 3.6.8: /usr/bin/python3
Mon Aug 4 02:51:16 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-41114379', network_id='675a9ed5-290b-4cd2-920f-f4c209d6f7da', cleanup=True, **kwargs={'fip_net_id': '9d0e543b-43a9-415b-b13b-8486dfb4b9c0', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-57453160', 'members': {'address': ['89.154.13.3', '89.154.13.4', '89.154.13.5']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-68258740', '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': '9d0e543b-43a9-415b-b13b-8486dfb4b9c0', 'hm_delay': 5, 'hm_max_retries': 5, 'hm_probe_type': 'HTTP', 'hm_timeout': 5, 'listener_name': 'ctest-RR-57453160', 'members': {'address': ['89.154.13.3', '89.154.13.4', '89.154.13.5']}, 'pool_algorithm': 'ROUND_ROBIN', 'pool_name': 'ctest-mypool-68258740', '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-56221819'
/contrail-test/fixtures/quantum_test.py in create_loadbalancer(self=, name='ctest-myvip-41114379', network_id='675a9ed5-290b-4cd2-920f-f4c209d6f7da', subnet_id='8578d85a-9990-4372-9927-41d794968c9a', address=None, **kwargs={'project': 'ctest-TestLBaaSV2-56221819'})
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-41114379', 'vip_address': None, 'vip_subnet_id': '8578d85a-9990-4372-9927-41d794968c9a'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in create_loadbalancer(self=, body={'loadbalancer': {'name': 'ctest-myvip-41114379', 'vip_address': None, 'vip_subnet_id': '8578d85a-9990-4372-9927-41d794968c9a'}})
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-41114379', 'vip_address': None, 'vip_subnet_id': '8578d85a-9990-4372-9927-41d794968c9a'}}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in post(self=, action='/lbaas/loadbalancers', body={'loadbalancer': {'name': 'ctest-myvip-41114379', 'vip_address': None, 'vip_subnet_id': '8578d85a-9990-4372-9927-41d794968c9a'}}, 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-41114379"...90-4372-9927-41d794968c9a", "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-a656653c-ee28-4ad7-ab13-0499c069fec6']
NotFound: The resource could not be found.
Neutron server returns request_ids: ['req-a656653c-ee28-4ad7-ab13-0499c069fec6']
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {'_error_string': "The resource could not be found.\nNeutron server ...ids: ['req-a656653c-ee28-4ad7-ab13-0499c069fec6']", 'message': "The resource could not be found.\nNeutron server ...ids: ['req-a656653c-ee28-4ad7-ab13-0499c069fec6']", 'request_ids': ['req-a656653c-ee28-4ad7-ab13-0499c069fec6'], '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-a656653c-ee28-4ad7-ab13-0499c069fec6']"
args = ()
message = "The resource could not be found.\nNeutron server ...ids: ['req-a656653c-ee28-4ad7-ab13-0499c069fec6']"
req_ids_msg = 'Neutron server returns request_ids: %s'
request_ids = ['req-a656653c-ee28-4ad7-ab13-0499c069fec6']
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-a656653c-ee28-4ad7-ab13-0499c069fec6']
2025-08-04 02:51:20,887 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:51:20,887 - INFO -
2025-08-04 02:51:20,887 - INFO - END TEST : test_lbaas_with_sg_vip : FAILED[0:00:18]
2025-08-04 02:51:20,887 - INFO - --------------------------------------------------------------------------------
2025-08-04 02:51:21,648 - INFO - Deleted project: ctest-TestLBaaSV2-56221819, ID : be624f62-2672-42d6-b2a2-7f6c64d65f53