2025-12-19 16:22:33,938 - INFO - Domain Default found not creating 2025-12-19 16:22:34,287 - INFO - Project ctest-TestvDNSBasic0-13956827 not found, creating it 2025-12-19 16:22:34,942 - INFO - Created Project:ctest-TestvDNSBasic0-13956827, ID : e1faebde-ee45-453a-a626-a9da2cc99305 2025-12-19 16:22:37,872 - INFO - ================================================================================ 2025-12-19 16:22:37,872 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-12-19 16:22:37,873 - 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-12-19 16:22:38,200 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-19 16:22:38,200 - INFO - Initial checks done. Running the testcase now 2025-12-19 16:22:38,200 - INFO - 2025-12-19 16:22:39,209 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-13956827'](e1faebde-ee45-453a-a626-a9da2cc99305) 2025-12-19 16:22:39,271 - DEBUG - Creating VDNS : ctest-vdns1-81749011 2025-12-19 16:22:39,507 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-81749011'] created succesfully 2025-12-19 16:22:39,508 - DEBUG - Verify VDNS entry is shown in control node 2025-12-19 16:22:39,518 - DEBUG - Verify VDNS entry is shown in the API server 2025-12-19 16:22:39,518 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-19 16:22:39,878 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-19 16:22:39,929 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e51db401-bbc5-49a2-84d3-da17407b2094 2025-12-19 16:22:39,951 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-DNS/12755532-8d78-4062-af3e-bce9d937836d 2025-12-19 16:22:40,604 - DEBUG - Response for create_network : {'network': {'id': '520a5064-64e5-4096-bf93-a24fad162ca1', 'name': 'ctest-vn1-vdns-06141687', 'tenant_id': 'e1faebdeee45453aa626a9da2cc99305', 'project_id': 'e1faebdeee45453aa626a9da2cc99305', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-13956827', 'ctest-vn1-vdns-06141687'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 16:22:40,824 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e97429f0-f15d-4636-a87b-ecee7b3cd8ed', 'name': '', 'tenant_id': 'e1faebdeee45453aa626a9da2cc99305', 'network_id': '520a5064-64e5-4096-bf93-a24fad162ca1', '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': 'e1faebdeee45453aa626a9da2cc99305'}} 2025-12-19 16:22:40,847 - INFO - Created VN ctest-vn1-vdns-06141687 2025-12-19 16:22:40,900 - DEBUG - VN ctest-vn1-vdns-06141687 UUID is 520a5064-64e5-4096-bf93-a24fad162ca1 2025-12-19 16:22:41,226 - DEBUG - Services list from nova: [, , ] 2025-12-19 16:22:42,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4910-1) 2025-12-19 16:22:42,550 - INFO - Waiting for VM ctest-vm1-test-78429420 to be up.. 2025-12-19 16:22:42,606 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-19 16:22:47,744 - DEBUG - VM is in ERROR state now 2025-12-19 16:22:47,745 - ERROR - VM in error state. 2025-12-19 16:22:47,745 - ERROR - VM is not in ACTIVE state 2025-12-19 16:22:47,906 - ERROR - Fatal Nova Exception while getting VM detail 2025-12-19 16:22:47,906 - DEBUG - None 2025-12-19 16:22:47,907 - INFO - Skip interface_detach for VM ctest-vm1-test-78429420 in state ERROR 2025-12-19 16:22:47,908 - INFO - Deleting VM ctest-vm1-test-78429420 2025-12-19 16:22:47,908 - ERROR - VM ctest-vm1-test-78429420 has failed to come up 2025-12-19 16:22:47,908 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-12-19T16:22:42Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} 2025-12-19 16:22:47,908 - INFO - Deleting VN ctest-vn1-vdns-06141687 2025-12-19 16:22:48,187 - DEBUG - Response for deleting network () 2025-12-19 16:22:48,221 - DEBUG - Deleting VDNS Entry: ctest-vdns1-81749011 2025-12-19 16:22:48,295 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-81749011'] deleted successfully. 2025-12-19 16:22:48,295 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-19 16:22:48,302 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e51db401-bbc5-49a2-84d3-da17407b2094 2025-12-19 16:22:48,317 - DEBUG - VDNS information not found in API server 2025-12-19 16:22:48,317 - INFO - VDNS information ctest-vdns1-81749011 removed from the API Server 2025-12-19 16:22:48,326 - INFO - VDNS information ctest-vdns1-81749011 removed in the Control node 2025-12-19 16:22:48,326 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-13956827'] 2025-12-19 16:22:48,610 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Fri Dec 19 16:22:47 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=) 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' 97 ' failed to come up' % (vm_name)) 98 vm_ip = vm_fixture[vm_name].get_vm_ip_from_vm( vm_fixture = {'ctest-vm1-test-78429420': } vm_name = 'ctest-vm1-test-78429420' ].wait_till_vm_is_up undefined AssertionError: VM ctest-vm1-test-78429420 failed to come up __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Assertion failed.' __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 = ('VM ctest-vm1-test-78429420 failed to come up',) 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/vdns/test_vdns_basic.py", line 96, in test_vdns_ping_same_vn assert vm_fixture[vm_name].wait_till_vm_is_up(), ('VM %s' AssertionError: VM ctest-vm1-test-78429420 failed to come up 2025-12-19 16:22:48,624 - DEBUG - No XMPP flaps were noticed during the test 2025-12-19 16:22:48,625 - INFO -
2025-12-19 16:22:48,625 - INFO - END TEST : test_vdns_ping_same_vn : FAILED[0:00:11]
2025-12-19 16:22:48,625 - INFO - -------------------------------------------------------------------------------- 2025-12-19 16:22:49,569 - INFO - Deleted project: ctest-TestvDNSBasic0-13956827, ID : e1faebde-ee45-453a-a626-a9da2cc99305