2025-10-16 16:36:59,745 - INFO - Domain Default found not creating 2025-10-16 16:36:59,953 - INFO - Project ctest-TestvDNSBasic0-25463607 not found, creating it 2025-10-16 16:37:00,456 - INFO - Created Project:ctest-TestvDNSBasic0-25463607, ID : 0ee66517-c4d4-451d-b4ed-9bf6e5818e78 2025-10-16 16:37:02,121 - INFO - ================================================================================ 2025-10-16 16:37:02,121 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-10-16 16:37:02,121 - INFO - TEST DESCRIPTION : Test:- Test vdns functionality. On VM launch agent should dynamically update dns records to dns agent 1. Create vDNS server 2. Create IPAM using above vDNS data 3. Create VN using above IPAM and launch 2 VM's within it 4. Ping between these 2 VM's using dns name 5. Try to delete vDNS server which has IPAM back-reference[Negative case] 6. Add CNAME VDNS record for vm1-test and verify we able to ping by alias name Pass criteria: Step 4,5 and 6 should pass Maintainer: cf-test@juniper.net 2025-10-16 16:37:02,386 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-16 16:37:02,386 - INFO - Initial checks done. Running the testcase now 2025-10-16 16:37:02,386 - INFO - 2025-10-16 16:37:03,150 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-25463607'](0ee66517-c4d4-451d-b4ed-9bf6e5818e78) 2025-10-16 16:37:03,215 - DEBUG - Creating VDNS : ctest-vdns1-14541311 2025-10-16 16:37:03,439 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-14541311'] created succesfully 2025-10-16 16:37:03,439 - DEBUG - Verify VDNS entry is shown in control node 2025-10-16 16:37:03,446 - DEBUG - Verify VDNS entry is shown in the API server 2025-10-16 16:37:03,446 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-16 16:37:03,745 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-16 16:37:03,786 - DEBUG - Requesting: http://10.0.0.141:8082/domain/1668739b-5fe2-4541-997a-8b143dd79dd2 2025-10-16 16:37:03,809 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS/500aea49-3fd3-496a-a820-432fa2c98634 2025-10-16 16:37:04,525 - DEBUG - Response for create_network : {'network': {'id': 'accd2f66-a666-42cf-bb07-2c077559a44e', 'name': 'ctest-vn1-vdns-76628278', 'tenant_id': '0ee66517c4d4451db4ed9bf6e5818e78', 'project_id': '0ee66517c4d4451db4ed9bf6e5818e78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-25463607', 'ctest-vn1-vdns-76628278'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 16:37:04,744 - DEBUG - Response for create_subnet : {'subnet': {'id': '45c57c99-6ddf-494e-b53b-fa12c37121dd', 'name': '', 'tenant_id': '0ee66517c4d4451db4ed9bf6e5818e78', 'network_id': 'accd2f66-a666-42cf-bb07-2c077559a44e', 'ip_version': 4, 'cidr': '10.10.10.0/24', 'allocation_pools': [{'start': '10.10.10.2', 'end': '10.10.10.254'}], 'gateway_ip': '10.10.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '10.10.10.2', 'tags': [], 'project_id': '0ee66517c4d4451db4ed9bf6e5818e78'}} 2025-10-16 16:37:04,775 - INFO - Created VN ctest-vn1-vdns-76628278 2025-10-16 16:37:04,839 - DEBUG - VN ctest-vn1-vdns-76628278 UUID is accd2f66-a666-42cf-bb07-2c077559a44e 2025-10-16 16:37:05,026 - ERROR - Some exception while doing Neutron net-list Traceback (most recent call last): File "/contrail-test/fixtures/quantum_test.py", line 276, in get_vn_obj_if_present net_rsp = self.obj.list_networks(**query_dict)['networks'] File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 817, in list_networks return self.list('networks', self.networks_path, retrieve_all, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 369, in list for r in self._pagination(collection, path, **params): File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination res = self.get(path, params=params) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 353, in get return self.retry_request("GET", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 330, in retry_request return self.do_request(method, 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-f0d84c0c-c317-4f7c-9592-06c2d6bac2fd'] 2025-10-16 16:37:05,028 - INFO - Deleting VN ctest-vn1-vdns-76628278 2025-10-16 16:37:05,180 - DEBUG - Response for deleting network () 2025-10-16 16:37:05,237 - DEBUG - Deleting VDNS Entry: ctest-vdns1-14541311 2025-10-16 16:37:05,320 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-14541311'] deleted successfully. 2025-10-16 16:37:05,320 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-16 16:37:05,329 - DEBUG - Requesting: http://10.0.0.141:8082/domain/1668739b-5fe2-4541-997a-8b143dd79dd2 2025-10-16 16:37:05,347 - DEBUG - VDNS information not found in API server 2025-10-16 16:37:05,347 - INFO - VDNS information ctest-vdns1-14541311 removed from the API Server 2025-10-16 16:37:05,354 - INFO - VDNS information ctest-vdns1-14541311 removed in the Control node 2025-10-16 16:37:05,355 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-25463607'] 2025-10-16 16:37:05,611 - ERROR - NetworkClientException Python 3.9.21: /usr/bin/python3 Thu Oct 16 16:37:05 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/vdns/test_vdns_basic.py in test_vdns_ping_same_vn(self=) 90 # with VM name. 91 for vm_name in vm_list: 92 vn_quantum_obj = self.orch.get_vn_obj_if_present( 93 vn_name=vn_fixt.vn_name, project_id=proj_fixt.uuid) 94 vm_fixture[vm_name] = self.useFixture( vn_quantum_obj undefined self = self.orch = self.orch.get_vn_obj_if_present = > vn_name = 'ctest-vn1-vdns-76628278' vn_fixt = vn_fixt.vn_name = 'ctest-vn1-vdns-76628278' project_id undefined proj_fixt = proj_fixt.uuid = '0ee66517-c4d4-451d-b4ed-9bf6e5818e78' /contrail-test/fixtures/openstack.py in get_vn_obj_if_present(self=, vn_name='ctest-vn1-vdns-76628278', option='orch', **kwargs={'project_id': '0ee66517-c4d4-451d-b4ed-9bf6e5818e78'}) 182 183 def get_vn_obj_if_present(self, vn_name, option='orch', **kwargs): 184 return self.quantum_h.get_vn_obj_if_present(vn_name, **kwargs) 185 186 def get_vn_obj_from_id(self, vn_id): self = self.quantum_h = self.quantum_h.get_vn_obj_if_present = > vn_name = 'ctest-vn1-vdns-76628278' kwargs = {'project_id': '0ee66517-c4d4-451d-b4ed-9bf6e5818e78'} /contrail-test/fixtures/quantum_test.py in get_vn_obj_if_present(self=, vn_name='ctest-vn1-vdns-76628278', project_id='0ee66517-c4d4-451d-b4ed-9bf6e5818e78', router_external=True) 280 self.logger.exception( 281 "Some exception while doing Neutron net-list") 282 raise NetworkClientException(message=str(e)) 283 return None 284 # end get_vn_obj_if_present global NetworkClientException = message undefined builtinstr = e undefined NetworkClientException: "The server has either erred or is incapable of performing the requested operation.

\n\n\n\nNeutron server returns request_ids: ['req-f0d84c0c-c317-4f7c-9592-06c2d6bac2fd']" __cause__ = None __class__ = __context__ = InternalServerError() __delattr__ = __dict__ = {'_error_string': "The server has either erred or is incapable of p...ids: ['req-f0d84c0c-c317-4f7c-9592-06c2d6bac2fd']", 'message': "The server has either erred or is incapable of p...ids: ['req-f0d84c0c-c317-4f7c-9592-06c2d6bac2fd']", 'request_ids': None, 'status_code': 0} __dir__ = __doc__ = None __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'quantum_test' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None _error_string = "The server has either erred or is incapable of p...ids: ['req-f0d84c0c-c317-4f7c-9592-06c2d6bac2fd']" args = () message = "The server has either erred or is incapable of p...ids: ['req-f0d84c0c-c317-4f7c-9592-06c2d6bac2fd']" req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = None status_code = 0 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/fixtures/quantum_test.py", line 276, in get_vn_obj_if_present net_rsp = self.obj.list_networks(**query_dict)['networks'] File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 817, in list_networks return self.list('networks', self.networks_path, retrieve_all, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 369, in list for r in self._pagination(collection, path, **params): File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination res = self.get(path, params=params) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 353, in get return self.retry_request("GET", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 330, in retry_request return self.do_request(method, 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-f0d84c0c-c317-4f7c-9592-06c2d6bac2fd'] During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vdns/test_vdns_basic.py", line 92, in test_vdns_ping_same_vn vn_quantum_obj = self.orch.get_vn_obj_if_present( File "/contrail-test/fixtures/openstack.py", line 184, in get_vn_obj_if_present return self.quantum_h.get_vn_obj_if_present(vn_name, **kwargs) File "/contrail-test/fixtures/quantum_test.py", line 282, in get_vn_obj_if_present raise NetworkClientException(message=str(e)) quantum_test.NetworkClientException: "The server has either erred or is incapable of performing the requested operation.

\n\n\n\nNeutron server returns request_ids: ['req-f0d84c0c-c317-4f7c-9592-06c2d6bac2fd']" 2025-10-16 16:37:05,618 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 16:37:05,618 - INFO - 2025-10-16 16:37:05,618 - INFO - END TEST : test_vdns_ping_same_vn : FAILED[0:00:03] 2025-10-16 16:37:05,618 - INFO - -------------------------------------------------------------------------------- 2025-10-16 16:37:06,352 - INFO - Deleted project: ctest-TestvDNSBasic0-25463607, ID : 0ee66517-c4d4-451d-b4ed-9bf6e5818e78