2025-08-27 14:15:22,886 - INFO - Domain Default found not creating 2025-08-27 14:15:23,047 - INFO - Project ctest-AnalyticsBasicTestSanity-38587636 not found, creating it 2025-08-27 14:15:23,497 - INFO - Created Project:ctest-AnalyticsBasicTestSanity-38587636, ID : 87a9a5f3-fd9b-47a4-b79f-f2b6a6d08e6f 2025-08-27 14:15:24,887 - INFO - ================================================================================ 2025-08-27 14:15:24,887 - INFO - STARTING TEST : test_verify_object_logs 2025-08-27 14:15:24,887 - INFO - TEST DESCRIPTION : Description: Test to validate object logs 1.Create vn/vm and verify object log tables updated with those vn, vm and routing-instance - fails otherwise Maintainer: sandipd@juniper.net 2025-08-27 14:15:25,014 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-27 14:15:25,014 - INFO - Initial checks done. Running the testcase now 2025-08-27 14:15:25,014 - INFO - 2025-08-27 14:15:25,812 - DEBUG - Response for create_network : {'network': {'id': 'c50ee066-f396-42c5-a888-8d00c7915f6f', 'name': 'ctest-vn22-54724855', 'tenant_id': '87a9a5f3fd9b47a4b79ff2b6a6d08e6f', 'project_id': '87a9a5f3fd9b47a4b79ff2b6a6d08e6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-AnalyticsBasicTestSanity-38587636', 'ctest-vn22-54724855'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 14:15:26,080 - ERROR - Neutron Exception while creating subnet for vn with id c50ee066-f396-42c5-a888-8d00c7915f6f 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.9/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.9/site-packages/neutronclient/v2_0/client.py", line 358, in post return self.do_request("POST", action, body=body, File "/usr/local/lib/python3.9/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.9/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.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20 raise client_exc(message=error_message, neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-7c802712-f3a9-4288-a402-1896d3df24e2'] 2025-08-27 14:15:26,098 - INFO - Created VN ctest-vn22-54724855 2025-08-27 14:15:26,151 - DEBUG - VN ctest-vn22-54724855 UUID is c50ee066-f396-42c5-a888-8d00c7915f6f 2025-08-27 14:15:26,235 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-27 14:15:26,523 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-27 14:15:26,550 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9130d1c2-5fd5-4a37-8697-96bb219a4e4c 2025-08-27 14:15:26,565 - DEBUG - Requesting: http://10.0.0.38:8082/project/87a9a5f3-fd9b-47a4-b79f-f2b6a6d08e6f 2025-08-27 14:15:26,634 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c50ee066-f396-42c5-a888-8d00c7915f6f 2025-08-27 14:15:26,649 - INFO - Deleting VN ctest-vn22-54724855 2025-08-27 14:15:26,731 - DEBUG - Response for deleting network () 2025-08-27 14:15:26,852 - ERROR - KeyError Python 3.9.21: /usr/bin/python3 Wed Aug 27 14:15:26 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/analytics/test_analytics_basic.py in test_verify_object_logs(self=) 30 vn_fixture= self.useFixture(VNFixture(connections=self.connections, 31 vn_name=vn_name, subnets=vn_subnets)) 32 vn_fixture.verify_on_setup() 33 vm1_fixture = self.create_vm(vn_fixture=vn_fixture, image_name='cirros') 34 assert vm1_fixture.wait_till_vm_is_active() vn_fixture = vn_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': 'c50ee066-f396-42c5...2/project/87a9a5f3-fd9b-47a4-b79f-f2b6a6d08e6f'}} 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/analytics/test_analytics_basic.py", line 32, in test_verify_object_logs vn_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-27 14:15:26,857 - DEBUG - No XMPP flaps were noticed during the test 2025-08-27 14:15:26,857 - INFO - 2025-08-27 14:15:26,857 - INFO - END TEST : test_verify_object_logs : FAILED[0:00:02] 2025-08-27 14:15:26,857 - INFO - -------------------------------------------------------------------------------- 2025-08-27 14:15:27,520 - INFO - Deleted project: ctest-AnalyticsBasicTestSanity-38587636, ID : 87a9a5f3-fd9b-47a4-b79f-f2b6a6d08e6f