2025-08-07 16:38:02,120 - INFO - Domain Default found not creating
2025-08-07 16:38:02,455 - INFO - Project ctest-FloatingipBasicTestSanity-66313629 not found, creating it
2025-08-07 16:38:03,137 - INFO - Created Project:ctest-FloatingipBasicTestSanity-66313629, ID : 6799bd3d-0fbb-4f8f-8e62-aa90e17e4f67
2025-08-07 16:38:04,888 - INFO - Using existing project ['default-domain', 'admin'](b892b91b-c603-4e7e-81b6-a044b4b1a53e)
2025-08-07 16:38:06,087 - INFO - Adding rules to the default security group in Project admin
2025-08-07 16:38:06,528 - INFO - ================================================================================
2025-08-07 16:38:06,529 - INFO - STARTING TEST : test_floating_ip
2025-08-07 16:38:06,529 - INFO - TEST DESCRIPTION : Test to validate floating-ip Assignment to a VM. It creates a VM, assigns a FIP to it and pings to a IP in the FIP VN.
2025-08-07 16:38:06,723 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-08-07 16:38:06,724 - INFO - Initial checks done. Running the testcase now
2025-08-07 16:38:06,724 - INFO -
2025-08-07 16:38:06,778 - DEBUG - Services list from nova: [, , ]
2025-08-07 16:38:06,778 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3773-1']}
2025-08-07 16:38:07,625 - DEBUG - Response for create_network : {'network': {'id': '0eb514b6-be44-4f5c-9ee7-6389285b544f', 'name': 'ctest-fvn-57944734', 'tenant_id': '6799bd3d0fbb4f8f8e62aa90e17e4f67', 'project_id': '6799bd3d0fbb4f8f8e62aa90e17e4f67', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-FloatingipBasicTestSanity-66313629', 'ctest-fvn-57944734'], 'port_security_enabled': True, 'description': ''}}
2025-08-07 16:38:07,857 - ERROR - Neutron Exception while creating subnet for vn with id 0eb514b6-be44-4f5c-9ee7-6389285b544f
Traceback (most recent call last):
File "/contrail-test/fixtures/quantum_test.py", line 128, in create_subnet
subnet_rsp = self.obj.create_subnet({'subnet': subnet_req})
File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 848, in create_subnet
return self.post(self.subnets_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.InternalServerError: The server has either erred or is incapable of performing the requested operation.
Neutron server returns request_ids: ['req-8df9fec4-c4f9-47e0-b559-d5b2fc18f998']
2025-08-07 16:38:07,889 - INFO - Created VN ctest-fvn-57944734
2025-08-07 16:38:07,951 - DEBUG - VN ctest-fvn-57944734 UUID is 0eb514b6-be44-4f5c-9ee7-6389285b544f
2025-08-07 16:38:08,063 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-08-07 16:38:08,434 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-08-07 16:38:08,476 - DEBUG - Requesting: http://10.0.0.249:8082/domain/18d875f7-79a7-4d7d-b759-3a18e081cd7a
2025-08-07 16:38:08,498 - DEBUG - Requesting: http://10.0.0.249:8082/project/6799bd3d-0fbb-4f8f-8e62-aa90e17e4f67
2025-08-07 16:38:08,610 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0eb514b6-be44-4f5c-9ee7-6389285b544f
2025-08-07 16:38:08,642 - INFO - Deleting VN ctest-fvn-57944734
2025-08-07 16:38:08,828 - DEBUG - Response for deleting network ()
2025-08-07 16:38:08,982 - ERROR - KeyError
Python 3.6.8: /usr/bin/python3
Thu Aug 7 16:38:08 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/floatingip/test_floatingip_basic.py in test_floating_ip(self=)
56 subnets=fvn_subnets))
57
58 assert fvn_fixture.verify_on_setup()
59
60 vn1_fixture = self.useFixture(
fvn_fixture =
fvn_fixture.verify_on_setup = >
/contrail-test/fixtures/vn_test.py in verify_on_setup(self=)
574 def verify_on_setup(self):
575 result = True
576 if not self.verify_vn_in_api_server():
577 result = result and False
578 self.logger.error(
self =
self.verify_vn_in_api_server = .deco_retry..f_retry of >
/contrail-test/tcutils/util.py in f_retry(*args=(,), **kwargs={})
82 mtries, mdelay = tries, delay # make mutable
83
84 result = f(*args, **kwargs) # first attempt
85 rv = result
86 final = False
result undefined
f =
args = (,)
kwargs = {}
/contrail-test/fixtures/vn_test.py in verify_vn_in_api_server(self=)
638
639 subnets = list()
640 for ipam in self.api_s_vn_obj['virtual-network']['network_ipam_refs']:
641 subnets.extend(ipam['attr']['ipam_subnets'])
642 for vn_subnet in self.vn_subnets:
ipam undefined
self =
self.api_s_vn_obj = {'virtual-network': {'uuid': '0eb514b6-be44-4f5c...2/project/6799bd3d-0fbb-4f8f-8e62-aa90e17e4f67'}}
KeyError: 'network_ipam_refs'
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Mapping key not found.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ('network_ipam_refs',)
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/floatingip/test_floatingip_basic.py", line 58, in test_floating_ip
assert fvn_fixture.verify_on_setup()
File "/contrail-test/fixtures/vn_test.py", line 576, in verify_on_setup
if not self.verify_vn_in_api_server():
File "/contrail-test/tcutils/util.py", line 84, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/vn_test.py", line 640, in verify_vn_in_api_server
for ipam in self.api_s_vn_obj['virtual-network']['network_ipam_refs']:
KeyError: 'network_ipam_refs'
2025-08-07 16:38:08,997 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 16:38:08,997 - INFO -
2025-08-07 16:38:08,997 - INFO - END TEST : test_floating_ip : FAILED[0:00:02]
2025-08-07 16:38:08,997 - INFO - --------------------------------------------------------------------------------
2025-08-07 16:38:09,915 - INFO - Deleted project: ctest-FloatingipBasicTestSanity-66313629, ID : 6799bd3d-0fbb-4f8f-8e62-aa90e17e4f67