2026-10-22 18:15:47,212 - INFO - Domain Default found not creating
2026-10-22 18:15:47,496 - INFO - Project ctest-TestvDNSBasic0-41323173 not found, creating it
2026-10-22 18:15:48,071 - INFO - Created Project:ctest-TestvDNSBasic0-41323173, ID : 8ce99323-0b7c-4b3e-91eb-4391ab9d26f6
2026-10-22 18:15:51,247 - INFO - ================================================================================
2026-10-22 18:15:51,247 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-10-22 18:15:51,247 - 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
2026-10-22 18:15:51,529 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with
2026-10-22 18:15:51,530 - INFO - Initial checks done. Running the testcase now
2026-10-22 18:15:51,530 - INFO -
2026-10-22 18:15:52,571 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-41323173'](8ce99323-0b7c-4b3e-91eb-4391ab9d26f6)
2026-10-22 18:15:52,629 - DEBUG - Creating VDNS : ctest-vdns1-77780271
2026-10-22 18:15:52,862 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-77780271'] created succesfully
2026-10-22 18:15:52,862 - DEBUG - Verify VDNS entry is shown in control node
2026-10-22 18:15:52,869 - DEBUG - Verify VDNS entry is shown in the API server
2026-10-22 18:15:52,869 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-10-22 18:15:53,291 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-10-22 18:15:53,336 - DEBUG - Requesting: http://10.0.0.163:8082/domain/e6ac93aa-8efa-45a0-980a-4eaf19e4bf1b
2026-10-22 18:15:53,355 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-DNS/e5553aec-85be-415b-9a1b-8f733260c8f5
2026-10-22 18:15:54,057 - DEBUG - Response for create_network : {'network': {'id': '2471d3a9-098a-44f8-8eb4-84b2195f1a85', 'name': 'ctest-vn1-vdns-22027579', 'tenant_id': '8ce993230b7c4b3e91eb4391ab9d26f6', 'project_id': '8ce993230b7c4b3e91eb4391ab9d26f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-41323173', 'ctest-vn1-vdns-22027579'], 'port_security_enabled': True, 'description': ''}}
2026-10-22 18:15:54,295 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffd6b2e3-b802-4380-8630-407b9084dff9', 'name': '', 'tenant_id': '8ce993230b7c4b3e91eb4391ab9d26f6', 'network_id': '2471d3a9-098a-44f8-8eb4-84b2195f1a85', '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': '8ce993230b7c4b3e91eb4391ab9d26f6'}}
2026-10-22 18:15:54,324 - INFO - Created VN ctest-vn1-vdns-22027579
2026-10-22 18:15:54,386 - DEBUG - VN ctest-vn1-vdns-22027579 UUID is 2471d3a9-098a-44f8-8eb4-84b2195f1a85
2026-10-22 18:15:54,667 - DEBUG - Services list from nova: [, , ]
2026-10-22 18:15:55,335 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6387-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6387-1)
2026-10-22 18:15:55,335 - INFO - Waiting for VM ctest-vm1-test-85683626 to be up..
2026-10-22 18:15:55,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:16:00,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:16:05,580 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:16:10,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:16:15,745 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:16:20,847 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:16:25,947 - DEBUG - VM is in ACTIVE state now
2026-10-22 18:16:25,947 - INFO - VM name : ctest-vm1-test-85683626
2026-10-22 18:16:26,024 - DEBUG - VM ctest-vm1-test-85683626 ID is 6b81375c-cd22-4f4e-ac0d-07471ea0cee9
2026-10-22 18:16:26,024 - DEBUG - VM ctest-vm1-test-85683626 launched on Node cn-jenkins-deploy-platform-ansible-os-6387-1
2026-10-22 18:16:26,115 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/6b81375c-cd22-4f4e-ac0d-07471ea0cee9
2026-10-22 18:16:26,125 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/ca626711-f9c6-4100-944b-6a493afce04f
2026-10-22 18:16:29,382 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms')
2026-10-22 18:16:29,382 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-85683626 failed!
2026-10-22 18:16:29,450 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-41323173:ctest-vn1-vdns-22027579 is 10.10.10.1 and allocation pool is NOT set
2026-10-22 18:16:31,515 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.693/4.690/5.688/0.997 ms')
2026-10-22 18:16:31,515 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-85683626 passed
2026-10-22 18:16:31,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-22 18:16:31,670 - DEBUG - Waiting to SSH to VM ctest-vm1-test-85683626, IP 10.10.10.3, Port 22
2026-10-22 18:16:31,738 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-22 18:16:31,838 - DEBUG - VM ctest-vm1-test-85683626 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-22 18:16:36,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-22 18:16:36,840 - DEBUG - Waiting to SSH to VM ctest-vm1-test-85683626, IP 10.10.10.3, Port 22
2026-10-22 18:16:37,016 - DEBUG - VM ctest-vm1-test-85683626 is ready for SSH connections
2026-10-22 18:16:37,016 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:16:37,017 - DEBUG - ifconfig | grep 10.10.10.3
2026-10-22 18:16:39,263 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-10-22 18:16:39,264 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-85683626", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:16:39,264 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-85683626", None, socket.AF_INET6)'
2026-10-22 18:16:39,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-85683626, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:16:39,481 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-85683626
2026-10-22 18:16:41,669 - DEBUG - PING ctest-vm1-test-85683626 (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=5.258 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.442 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.700 ms
--- ctest-vm1-test-85683626 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.442/2.133/5.258 ms
2026-10-22 18:16:41,669 - INFO - Ping to IP ctest-vm1-test-85683626 from VM ctest-vm1-test-85683626 passed
2026-10-22 18:16:41,694 - DEBUG - Requesting: http://10.0.0.163:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-22 18:16:41,711 - DEBUG - Requesting: http://10.0.0.163:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77780271@0%20AllEntriesVdnsRecordsReq
2026-10-22 18:16:41,718 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77780271:1:ctest-vm1-test-85683626:10.10.10.3', 'rec_name': 'ctest-vm1-test-85683626', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.3', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6387-1/dns', 'rec_vm_uuid': 'ca626711-f9c6-4100-944b-6a493afce04f'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-85683626.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-10-22 18:16:41,718 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77780271:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-85683626', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-85683626', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6387-1/dns', 'rec_vm_uuid': 'ca626711-f9c6-4100-944b-6a493afce04f'} ,
Expected record data {'rec_data': 'ctest-vm1-test-85683626.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '3.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'}
2026-10-22 18:16:42,395 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6387-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6387-1)
2026-10-22 18:16:42,396 - INFO - Waiting for VM ctest-vm2-test-29128022 to be up..
2026-10-22 18:16:42,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:16:47,510 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:16:52,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:16:57,714 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:17:02,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:17:07,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-22 18:17:13,029 - DEBUG - VM is in ACTIVE state now
2026-10-22 18:17:13,030 - INFO - VM name : ctest-vm2-test-29128022
2026-10-22 18:17:13,132 - DEBUG - VM ctest-vm2-test-29128022 ID is 838936b5-c86f-4be2-a50a-2fe0dae06c48
2026-10-22 18:17:13,133 - DEBUG - VM ctest-vm2-test-29128022 launched on Node cn-jenkins-deploy-platform-ansible-os-6387-1
2026-10-22 18:17:13,241 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/838936b5-c86f-4be2-a50a-2fe0dae06c48
2026-10-22 18:17:13,256 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/76d8fdbe-b2e5-4a2b-96d7-53ecaf27f204
2026-10-22 18:17:16,552 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-10-22 18:17:16,553 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-29128022 failed!
2026-10-22 18:17:16,614 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-41323173:ctest-vn1-vdns-22027579 is 10.10.10.1 and allocation pool is NOT set
2026-10-22 18:17:18,685 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=8.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.008/4.508/8.008/3.500 ms')
2026-10-22 18:17:18,685 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-29128022 passed
2026-10-22 18:17:18,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-22 18:17:18,838 - DEBUG - Waiting to SSH to VM ctest-vm2-test-29128022, IP 10.10.10.4, Port 22
2026-10-22 18:17:19,004 - DEBUG - VM ctest-vm2-test-29128022 is ready for SSH connections
2026-10-22 18:17:19,004 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:17:19,004 - DEBUG - ifconfig | grep 10.10.10.4
2026-10-22 18:17:20,757 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-10-22 18:17:20,758 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-29128022", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:17:20,758 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-29128022", None, socket.AF_INET6)'
2026-10-22 18:17:20,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-29128022, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:17:20,993 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-29128022
2026-10-22 18:17:23,182 - DEBUG - PING ctest-vm2-test-29128022 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.627 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.534 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.647 ms
--- ctest-vm2-test-29128022 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.534/1.602/3.627 ms
2026-10-22 18:17:23,182 - INFO - Ping to IP ctest-vm2-test-29128022 from VM ctest-vm2-test-29128022 passed
2026-10-22 18:17:23,205 - DEBUG - Requesting: http://10.0.0.163:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-22 18:17:23,214 - DEBUG - Requesting: http://10.0.0.163:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77780271@0%20AllEntriesVdnsRecordsReq
2026-10-22 18:17:23,221 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77780271:1:ctest-vm2-test-29128022:10.10.10.4', 'rec_name': 'ctest-vm2-test-29128022', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.4', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6387-1/dns', 'rec_vm_uuid': '76d8fdbe-b2e5-4a2b-96d7-53ecaf27f204'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-29128022.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-10-22 18:17:23,222 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77780271:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-29128022', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-29128022', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-6387-1/dns', 'rec_vm_uuid': '76d8fdbe-b2e5-4a2b-96d7-53ecaf27f204'} ,
Expected record data {'rec_data': 'ctest-vm2-test-29128022.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '4.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'}
2026-10-22 18:17:23,222 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-29128022", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:17:23,222 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-29128022", None, socket.AF_INET6)'
2026-10-22 18:17:23,367 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-29128022, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:17:23,367 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-29128022
2026-10-22 18:17:25,564 - DEBUG - PING ctest-vm2-test-29128022 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=7.230 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.010 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.353 ms
--- ctest-vm2-test-29128022 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.010/3.197/7.230 ms
2026-10-22 18:17:25,564 - INFO - Ping to IP ctest-vm2-test-29128022 from VM ctest-vm1-test-85683626 passed
2026-10-22 18:17:25,564 - INFO - Try deleting the VDNS entry ctest-vdns1-77780271 with back ref of ipam.
2026-10-22 18:17:25,621 - DEBUG - Delete when resource still referred: ['http://10.0.0.163:8082/network-ipam/c01e3140-0323-4ec4-87ac-0036e852a482']
2026-10-22 18:17:25,621 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-10-22 18:17:25,622 - INFO - Add CNAME VDNS record for ctest-vm1-test-85683626 and verify we able to ping by alias name
2026-10-22 18:17:25,669 - DEBUG - Creating VDNS record data : test-rec
2026-10-22 18:17:25,797 - INFO - In verify_on_setup
2026-10-22 18:17:25,894 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-77780271', 'test-rec'] created succesfully
2026-10-22 18:17:25,894 - INFO - Verify VDNS record is shown in the API server
2026-10-22 18:17:25,894 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-10-22 18:17:25,904 - DEBUG - Requesting: http://10.0.0.163:8082/domain/e6ac93aa-8efa-45a0-980a-4eaf19e4bf1b
2026-10-22 18:17:25,921 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-DNS/e5553aec-85be-415b-9a1b-8f733260c8f5
2026-10-22 18:17:25,934 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-DNS-record/8332f98e-2609-4a20-9cb1-ee1ec8025b15
2026-10-22 18:17:25,943 - INFO - Verify VDNS record is shown in the control node
2026-10-22 18:17:25,956 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:17:25,957 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-22 18:17:26,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:17:26,083 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-22 18:17:26,283 - DEBUG - ping: bad address 'vm1-test-alias'
2026-10-22 18:17:26,284 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-85683626 failed
2026-10-22 18:17:27,285 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:17:27,285 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-22 18:17:27,437 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:17:27,437 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-22 18:17:27,602 - DEBUG - ping: bad address 'vm1-test-alias'
2026-10-22 18:17:27,603 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-85683626 failed
2026-10-22 18:17:28,604 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:17:28,604 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-22 18:17:28,731 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-10-22 18:17:28,731 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-22 18:17:30,925 - DEBUG - PING vm1-test-alias (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=0.426 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.561 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.408 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.408/0.465/0.561 ms
2026-10-22 18:17:30,925 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-85683626 passed
2026-10-22 18:17:30,925 - DEBUG - Deleting VDNS record data: test-rec
2026-10-22 18:17:30,997 - INFO - VDNS record info: default-domain:ctest-vdns1-77780271:test-rec deleted successfully.
2026-10-22 18:17:30,998 - INFO - Deleting VM ctest-vm2-test-29128022
2026-10-22 18:17:31,086 - INFO - Deleting VM ctest-vm1-test-85683626
2026-10-22 18:17:31,163 - INFO - Deleting VN ctest-vn1-vdns-22027579
2026-10-22 18:17:31,209 - DEBUG - VN 2471d3a9-098a-44f8-8eb4-84b2195f1a85 still in use: Unable to complete operation on network 2471d3a9-098a-44f8-8eb4-84b2195f1a85. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ff645115-dfd2-43b4-a544-c8cb41ab56ce']
2026-10-22 18:17:31,210 - WARNING - Deleting VN ctest-vn1-vdns-22027579 failed..Will retry
2026-10-22 18:17:33,247 - DEBUG - VN 2471d3a9-098a-44f8-8eb4-84b2195f1a85 still in use: Unable to complete operation on network 2471d3a9-098a-44f8-8eb4-84b2195f1a85. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5a0f1eba-6006-4a45-af46-06a98e55853f']
2026-10-22 18:17:33,247 - WARNING - Deleting VN ctest-vn1-vdns-22027579 failed..Will retry
2026-10-22 18:17:35,430 - DEBUG - Response for deleting network ()
2026-10-22 18:17:35,471 - DEBUG - Deleting VDNS Entry: ctest-vdns1-77780271
2026-10-22 18:17:35,545 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-77780271'] deleted successfully.
2026-10-22 18:17:35,545 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-10-22 18:17:35,551 - DEBUG - Requesting: http://10.0.0.163:8082/domain/e6ac93aa-8efa-45a0-980a-4eaf19e4bf1b
2026-10-22 18:17:35,564 - DEBUG - VDNS information not found in API server
2026-10-22 18:17:35,564 - INFO - VDNS information ctest-vdns1-77780271 removed from the API Server
2026-10-22 18:17:35,570 - INFO - VDNS information ctest-vdns1-77780271 removed in the Control node
2026-10-22 18:17:35,571 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-41323173']
2026-10-22 18:17:35,832 - DEBUG - No XMPP flaps were noticed during the test
2026-10-22 18:17:35,833 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:01:44]
2026-10-22 18:17:35,833 - INFO - --------------------------------------------------------------------------------
2026-10-22 18:17:36,623 - INFO - Deleted project: ctest-TestvDNSBasic0-41323173, ID : 8ce99323-0b7c-4b3e-91eb-4391ab9d26f6