2025-08-27 14:16:40,040 - INFO - Domain Default found not creating
2025-08-27 14:16:40,175 - INFO - Project ctest-TestvDNSBasic0-93321812 not found, creating it
2025-08-27 14:16:40,608 - INFO - Created Project:ctest-TestvDNSBasic0-93321812, ID : a6d48f99-0447-42d4-85d1-dbe40f088188
2025-08-27 14:16:42,015 - INFO - ================================================================================
2025-08-27 14:16:42,015 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-08-27 14:16:42,016 - 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-08-27 14:16:42,138 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-27 14:16:42,138 - INFO - Initial checks done. Running the testcase now
2025-08-27 14:16:42,138 - INFO -
2025-08-27 14:16:42,825 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-93321812'](a6d48f99-0447-42d4-85d1-dbe40f088188)
2025-08-27 14:16:42,879 - DEBUG - Creating VDNS : ctest-vdns1-62683342
2025-08-27 14:16:43,083 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-62683342'] created succesfully
2025-08-27 14:16:43,083 - DEBUG - Verify VDNS entry is shown in control node
2025-08-27 14:16:43,083 - DEBUG - Requesting: http://10.0.0.38:8083/Snh_IFMapTableShowReq?table_name=virtual-DNS&search_string=virtual-DNS:default-domain:ctest-vdns1-62683342
2025-08-27 14:16:43,088 - DEBUG - Verify VDNS entry is shown in the API server
2025-08-27 14:16:43,088 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-08-27 14:16:43,376 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-08-27 14:16:43,403 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9130d1c2-5fd5-4a37-8697-96bb219a4e4c
2025-08-27 14:16:43,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/e7f48e64-b6a1-42f1-be53-bd303a39b5ac
2025-08-27 14:16:43,961 - DEBUG - Response for create_network : {'network': {'id': 'a5ae1f8a-40c5-44fc-878f-7db51b2ae1d0', 'name': 'ctest-vn1-vdns-83810503', 'tenant_id': 'a6d48f99044742d485d1dbe40f088188', 'project_id': 'a6d48f99044742d485d1dbe40f088188', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-93321812', 'ctest-vn1-vdns-83810503'], 'port_security_enabled': True, 'description': ''}}
2025-08-27 14:16:44,129 - ERROR - Neutron Exception while creating subnet for vn with id a5ae1f8a-40c5-44fc-878f-7db51b2ae1d0
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-df635868-f7f4-45b1-b5ab-57485e363e12']
2025-08-27 14:16:44,143 - INFO - Created VN ctest-vn1-vdns-83810503
2025-08-27 14:16:44,195 - DEBUG - VN ctest-vn1-vdns-83810503 UUID is a5ae1f8a-40c5-44fc-878f-7db51b2ae1d0
2025-08-27 14:16:44,354 - DEBUG - Services list from nova: [, , ]
2025-08-27 14:16:44,461 - INFO - Deleting VN ctest-vn1-vdns-83810503
2025-08-27 14:16:44,531 - DEBUG - Response for deleting network ()
2025-08-27 14:16:44,558 - DEBUG - Deleting VDNS Entry: ctest-vdns1-62683342
2025-08-27 14:16:44,631 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-62683342'] deleted successfully.
2025-08-27 14:16:44,631 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-08-27 14:16:44,636 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9130d1c2-5fd5-4a37-8697-96bb219a4e4c
2025-08-27 14:16:44,646 - DEBUG - VDNS information not found in API server
2025-08-27 14:16:44,646 - INFO - VDNS information ctest-vdns1-62683342 removed from the API Server
2025-08-27 14:16:44,646 - DEBUG - Requesting: http://10.0.0.38:8083/Snh_IFMapTableShowReq?table_name=virtual-DNS&search_string=virtual-DNS:default-domain:ctest-vdns1-62683342
2025-08-27 14:16:44,651 - INFO - VDNS information ctest-vdns1-62683342 removed in the Control node
2025-08-27 14:16:44,651 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-93321812']
2025-08-27 14:16:44,767 - ERROR - BadRequest
Python 3.9.21: /usr/bin/python3
Wed Aug 27 14:16:44 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=)
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(
95 VMFixture(project_name=self.inputs.project_name, connections=self.connections, vn_obj=vn_quantum_obj, vm_name=vm_name,image_name='ubuntu-traffic'))
96 assert vm_fixture[vm_name].wait_till_vm_is_up(), ('VM %s'
vm_fixture = {}
vm_name = 'ctest-vm1-test-39417379'
self =
self.useFixture = >
global VMFixture =
project_name undefined
self.inputs =
self.inputs.project_name = 'ctest-TestvDNSBasic0-93321812'
connections undefined
self.connections =
vn_obj undefined
vn_quantum_obj = {'network': {'id': 'a5ae1f8a-40c5-44fc-878f-7db5...port_security_enabled': True, 'description': ''}}
image_name undefined
/usr/local/lib/python3.9/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 = (, BadRequest(), )
/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=BadRequest(), exc_tb=, _marker=