2026-06-02 16:28:24,211 - INFO - Domain Default found not creating 2026-06-02 16:28:24,404 - INFO - Project ctest-TestvDNSBasic0-76695860 not found, creating it 2026-06-02 16:28:24,932 - INFO - Created Project:ctest-TestvDNSBasic0-76695860, ID : f496a3d6-19e8-4453-859a-43afd20fd07b 2026-06-02 16:28:26,519 - INFO - ================================================================================ 2026-06-02 16:28:26,519 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-06-02 16:28:26,519 - 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-06-02 16:28:27,814 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.192': '0', '10.20.0.18': '0'}, '10.0.0.129': {'10.20.0.201': '0', '10.20.0.192': '0'}} with 2026-06-02 16:28:27,814 - INFO - Initial checks done. Running the testcase now 2026-06-02 16:28:27,814 - INFO - 2026-06-02 16:28:28,566 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-76695860'](f496a3d6-19e8-4453-859a-43afd20fd07b) 2026-06-02 16:28:28,622 - DEBUG - Creating VDNS : ctest-vdns1-80382726 2026-06-02 16:28:28,850 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-80382726'] created succesfully 2026-06-02 16:28:28,850 - DEBUG - Verify VDNS entry is shown in control node 2026-06-02 16:28:28,868 - DEBUG - Verify VDNS entry is shown in the API server 2026-06-02 16:28:28,868 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-02 16:28:29,196 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-02 16:28:29,232 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7b3274cd-f8c5-477e-8178-a770ba371c22 2026-06-02 16:28:29,249 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/9266991e-38c5-46ee-8a20-21a96ec85e23 2026-06-02 16:28:30,012 - DEBUG - Response for create_network : {'network': {'id': 'd290b1e4-b0ce-486b-a748-f02a6fb74d55', 'name': 'ctest-vn1-vdns-30646022', 'tenant_id': 'f496a3d619e84453859a43afd20fd07b', 'project_id': 'f496a3d619e84453859a43afd20fd07b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-76695860', 'ctest-vn1-vdns-30646022'], 'port_security_enabled': True, 'description': ''}} 2026-06-02 16:28:30,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '7df518f3-708f-4d6d-9f0e-b9b13d1a6e1f', 'name': '', 'tenant_id': 'f496a3d619e84453859a43afd20fd07b', 'network_id': 'd290b1e4-b0ce-486b-a748-f02a6fb74d55', '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': 'f496a3d619e84453859a43afd20fd07b'}} 2026-06-02 16:28:30,385 - INFO - Created VN ctest-vn1-vdns-30646022 2026-06-02 16:28:30,400 - DEBUG - VN ctest-vn1-vdns-30646022 UUID is d290b1e4-b0ce-486b-a748-f02a6fb74d55 2026-06-02 16:28:30,781 - DEBUG - Services list from nova: [, , , ] 2026-06-02 16:28:32,110 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5877-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5877-2) 2026-06-02 16:28:32,110 - INFO - Waiting for VM ctest-vm1-test-19348243 to be up.. 2026-06-02 16:28:32,196 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-02 16:28:37,289 - DEBUG - VM is in ACTIVE state now 2026-06-02 16:28:37,289 - INFO - VM name : ctest-vm1-test-19348243 2026-06-02 16:28:37,382 - DEBUG - VM ctest-vm1-test-19348243 ID is ec943e1c-294a-48fd-b7b6-6c9a772caa6a 2026-06-02 16:28:37,382 - DEBUG - VM ctest-vm1-test-19348243 launched on Node an-jenkins-deploy-platform-ansible-os-5877-2 2026-06-02 16:28:37,476 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ec943e1c-294a-48fd-b7b6-6c9a772caa6a 2026-06-02 16:28:37,783 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ec943e1c-294a-48fd-b7b6-6c9a772caa6a 2026-06-02 16:28:37,822 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3ddd411e-652c-41ed-9400-1e0817b7e64a 2026-06-02 16:28:41,012 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1025ms') 2026-06-02 16:28:41,012 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-19348243 failed! 2026-06-02 16:28:41,027 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:28:45,114 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2026-06-02 16:28:45,114 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-19348243 failed! 2026-06-02 16:28:45,129 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:28:49,207 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-02 16:28:49,207 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-19348243 failed! 2026-06-02 16:28:49,222 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:28:53,295 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-06-02 16:28:53,295 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-19348243 failed! 2026-06-02 16:28:53,313 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:28:57,398 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2026-06-02 16:28:57,398 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-19348243 failed! 2026-06-02 16:28:57,420 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:29:01,494 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2026-06-02 16:29:01,494 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-19348243 failed! 2026-06-02 16:29:01,512 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:29:05,589 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-02 16:29:05,589 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-19348243 failed! 2026-06-02 16:29:05,604 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:29:09,686 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-06-02 16:29:09,686 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-19348243 failed! 2026-06-02 16:29:09,701 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:29:13,779 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-06-02 16:29:13,779 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-19348243 failed! 2026-06-02 16:29:13,795 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:29:15,885 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=6.08 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=5.93 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 5.932/6.005/6.079/0.073 ms') 2026-06-02 16:29:15,885 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-19348243 passed 2026-06-02 16:29:15,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 16:29:15,956 - DEBUG - Waiting to SSH to VM ctest-vm1-test-19348243, IP 10.10.10.3, Port 22 2026-06-02 16:29:16,026 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 16:29:16,140 - DEBUG - VM ctest-vm1-test-19348243 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 16:29:21,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 16:29:21,141 - DEBUG - Waiting to SSH to VM ctest-vm1-test-19348243, IP 10.10.10.3, Port 22 2026-06-02 16:29:21,210 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 16:29:21,304 - DEBUG - VM ctest-vm1-test-19348243 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 16:29:26,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 16:29:26,306 - DEBUG - Waiting to SSH to VM ctest-vm1-test-19348243, IP 10.10.10.3, Port 22 2026-06-02 16:29:26,374 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 16:29:26,465 - DEBUG - VM ctest-vm1-test-19348243 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 16:29:31,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 16:29:31,467 - DEBUG - Waiting to SSH to VM ctest-vm1-test-19348243, IP 10.10.10.3, Port 22 2026-06-02 16:29:31,534 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 16:29:31,624 - DEBUG - VM ctest-vm1-test-19348243 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 16:29:36,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 16:29:36,625 - DEBUG - Waiting to SSH to VM ctest-vm1-test-19348243, IP 10.10.10.3, Port 22 2026-06-02 16:29:36,794 - DEBUG - VM ctest-vm1-test-19348243 is ready for SSH connections 2026-06-02 16:29:36,794 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-02 16:29:36,794 - DEBUG - ifconfig | grep 10.10.10.3 2026-06-02 16:29:57,383 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-06-02 16:29:57,384 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19348243", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-02 16:29:57,384 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19348243", None, socket.AF_INET6)' 2026-06-02 16:29:59,938 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19348243, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-02 16:29:59,938 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19348243 2026-06-02 16:30:02,457 - DEBUG - PING ctest-vm1-test-19348243.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-19348243.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.20 ms 64 bytes from ctest-vm1-test-19348243.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.289 ms 64 bytes from ctest-vm1-test-19348243.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.211 ms --- ctest-vm1-test-19348243.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.211/1.568/4.206/1.865 ms 2026-06-02 16:30:02,457 - INFO - Ping to IP ctest-vm1-test-19348243 from VM ctest-vm1-test-19348243 passed 2026-06-02 16:30:02,496 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-02 16:30:02,504 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80382726@0%20AllEntriesVdnsRecordsReq 2026-06-02 16:30:02,511 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-02 16:30:02,516 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80382726@0%20AllEntriesVdnsRecordsReq 2026-06-02 16:30:02,521 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-02 16:30:02,526 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80382726@0%20AllEntriesVdnsRecordsReq 2026-06-02 16:30:02,531 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-80382726:1:ctest-vm1-test-19348243:10.10.10.3', 'rec_name': 'ctest-vm1-test-19348243', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.3', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5877-2/dns'} , Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-19348243.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-06-02 16:30:02,531 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-80382726:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-19348243', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-19348243', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5877-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-19348243.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-06-02 16:30:04,073 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5877-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5877-1) 2026-06-02 16:30:04,073 - INFO - Waiting for VM ctest-vm2-test-34864791 to be up.. 2026-06-02 16:30:04,148 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-02 16:30:09,268 - DEBUG - VM is in ACTIVE state now 2026-06-02 16:30:09,268 - INFO - VM name : ctest-vm2-test-34864791 2026-06-02 16:30:09,384 - DEBUG - VM ctest-vm2-test-34864791 ID is 2be01aae-9e3b-4629-bf7d-3196f175bf45 2026-06-02 16:30:09,384 - DEBUG - VM ctest-vm2-test-34864791 launched on Node an-jenkins-deploy-platform-ansible-os-5877-1 2026-06-02 16:30:09,483 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2be01aae-9e3b-4629-bf7d-3196f175bf45 2026-06-02 16:30:09,497 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0cc00f31-6609-4b2f-add5-0ecf82881327 2026-06-02 16:30:12,667 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2026-06-02 16:30:12,667 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-34864791 failed! 2026-06-02 16:30:12,682 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:30:16,767 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2026-06-02 16:30:16,767 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-34864791 failed! 2026-06-02 16:30:16,785 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:30:20,863 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-06-02 16:30:20,863 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-34864791 failed! 2026-06-02 16:30:20,878 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:30:24,958 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2026-06-02 16:30:24,958 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-34864791 failed! 2026-06-02 16:30:24,976 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:30:29,050 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-02 16:30:29,051 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-34864791 failed! 2026-06-02 16:30:29,065 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:30:33,146 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-06-02 16:30:33,146 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-34864791 failed! 2026-06-02 16:30:33,162 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:30:37,245 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-06-02 16:30:37,245 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-34864791 failed! 2026-06-02 16:30:37,264 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:30:41,344 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-06-02 16:30:41,344 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-34864791 failed! 2026-06-02 16:30:41,359 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76695860:ctest-vn1-vdns-30646022 is 10.10.10.1 and allocation pool is NOT set 2026-06-02 16:30:43,418 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=7.46 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.731 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.731/4.095/7.459/3.364 ms') 2026-06-02 16:30:43,418 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-34864791 passed 2026-06-02 16:30:43,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 16:30:43,491 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34864791, IP 10.10.10.4, Port 22 2026-06-02 16:30:43,549 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 16:30:43,641 - DEBUG - VM ctest-vm2-test-34864791 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 16:30:48,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 16:30:48,641 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34864791, IP 10.10.10.4, Port 22 2026-06-02 16:30:48,701 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 16:30:48,831 - DEBUG - VM ctest-vm2-test-34864791 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 16:30:53,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 16:30:53,832 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34864791, IP 10.10.10.4, Port 22 2026-06-02 16:30:53,899 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 16:30:53,990 - DEBUG - VM ctest-vm2-test-34864791 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 16:30:58,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 16:30:58,991 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34864791, IP 10.10.10.4, Port 22 2026-06-02 16:30:59,048 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 16:30:59,185 - DEBUG - VM ctest-vm2-test-34864791 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 16:31:04,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 16:31:04,186 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34864791, IP 10.10.10.4, Port 22 2026-06-02 16:31:04,350 - DEBUG - VM ctest-vm2-test-34864791 is ready for SSH connections 2026-06-02 16:31:04,350 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-02 16:31:04,350 - DEBUG - ifconfig | grep 10.10.10.4 2026-06-02 16:31:24,246 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-06-02 16:31:24,246 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34864791", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-02 16:31:24,246 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34864791", None, socket.AF_INET6)' 2026-06-02 16:31:27,032 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-34864791, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-02 16:31:27,032 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-34864791 2026-06-02 16:31:29,553 - DEBUG - PING ctest-vm2-test-34864791.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-34864791.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.94 ms 64 bytes from ctest-vm2-test-34864791.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.30 ms 64 bytes from ctest-vm2-test-34864791.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.192 ms --- ctest-vm2-test-34864791.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.192/2.812/5.941/2.374 ms 2026-06-02 16:31:29,553 - INFO - Ping to IP ctest-vm2-test-34864791 from VM ctest-vm2-test-34864791 passed 2026-06-02 16:31:29,596 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-02 16:31:29,603 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80382726@0%20AllEntriesVdnsRecordsReq 2026-06-02 16:31:29,610 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-02 16:31:29,615 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80382726@0%20AllEntriesVdnsRecordsReq 2026-06-02 16:31:29,622 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-02 16:31:29,628 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80382726@0%20AllEntriesVdnsRecordsReq 2026-06-02 16:31:29,634 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-80382726:1:ctest-vm2-test-34864791:10.10.10.4', 'rec_name': 'ctest-vm2-test-34864791', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.4', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5877-1/dns'} , Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-34864791.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-06-02 16:31:29,634 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-80382726:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-34864791', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-34864791', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5877-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-34864791.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-06-02 16:31:29,634 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34864791", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-02 16:31:29,634 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34864791", None, socket.AF_INET6)' 2026-06-02 16:31:30,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-34864791, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-02 16:31:30,814 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-34864791 2026-06-02 16:31:33,383 - DEBUG - PING ctest-vm2-test-34864791.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-34864791.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.22 ms 64 bytes from ctest-vm2-test-34864791.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.16 ms 64 bytes from ctest-vm2-test-34864791.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.24 ms --- ctest-vm2-test-34864791.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.167/3.878/9.227/3.782 ms 2026-06-02 16:31:33,383 - INFO - Ping to IP ctest-vm2-test-34864791 from VM ctest-vm1-test-19348243 passed 2026-06-02 16:31:33,383 - INFO - Try deleting the VDNS entry ctest-vdns1-80382726 with back ref of ipam. 2026-06-02 16:31:33,442 - DEBUG - Delete when resource still referred: ['http://10.0.0.33:8082/network-ipam/1b25e54a-b55a-4983-bd93-7520891a7cd2'] 2026-06-02 16:31:33,442 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-06-02 16:31:33,442 - INFO - Add CNAME VDNS record for ctest-vm1-test-19348243 and verify we able to ping by alias name 2026-06-02 16:31:33,490 - DEBUG - Creating VDNS record data : test-rec 2026-06-02 16:31:33,618 - INFO - In verify_on_setup 2026-06-02 16:31:33,722 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-80382726', 'test-rec'] created succesfully 2026-06-02 16:31:33,722 - INFO - Verify VDNS record is shown in the API server 2026-06-02 16:31:33,722 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-02 16:31:33,731 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7b3274cd-f8c5-477e-8178-a770ba371c22 2026-06-02 16:31:33,785 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/9266991e-38c5-46ee-8a20-21a96ec85e23 2026-06-02 16:31:33,800 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS-record/1a38d7b1-2653-47a9-9e20-996e05c11a00 2026-06-02 16:31:33,810 - INFO - Verify VDNS record is shown in the control node 2026-06-02 16:31:33,831 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-02 16:31:33,831 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-06-02 16:31:35,075 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-02 16:31:35,075 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-06-02 16:31:35,625 - DEBUG - ping: unknown host vm1-test-alias 2026-06-02 16:31:35,625 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-19348243 failed 2026-06-02 16:31:36,626 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-02 16:31:36,626 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-06-02 16:31:37,888 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-02 16:31:37,888 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-06-02 16:31:40,436 - DEBUG - PING ctest-vm1-test-19348243.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-19348243.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.33 ms 64 bytes from ctest-vm1-test-19348243.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.360 ms 64 bytes from ctest-vm1-test-19348243.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.310 ms --- ctest-vm1-test-19348243.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.310/1.002/2.336/0.943 ms 2026-06-02 16:31:40,436 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-19348243 passed 2026-06-02 16:31:40,437 - DEBUG - Deleting VDNS record data: test-rec 2026-06-02 16:31:40,530 - INFO - VDNS record info: default-domain:ctest-vdns1-80382726:test-rec deleted successfully. 2026-06-02 16:31:40,530 - INFO - Deleting VM ctest-vm2-test-34864791 2026-06-02 16:31:40,624 - INFO - Deleting VM ctest-vm1-test-19348243 2026-06-02 16:31:40,717 - INFO - Deleting VN ctest-vn1-vdns-30646022 2026-06-02 16:31:40,766 - DEBUG - VN d290b1e4-b0ce-486b-a748-f02a6fb74d55 still in use: Unable to complete operation on network d290b1e4-b0ce-486b-a748-f02a6fb74d55. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-94c15fec-fc8a-43de-90c7-e2dbfbdd65ff'] 2026-06-02 16:31:40,767 - WARNING - Deleting VN ctest-vn1-vdns-30646022 failed..Will retry 2026-06-02 16:31:43,002 - DEBUG - Response for deleting network () 2026-06-02 16:31:43,064 - DEBUG - Deleting VDNS Entry: ctest-vdns1-80382726 2026-06-02 16:31:43,150 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-80382726'] deleted successfully. 2026-06-02 16:31:43,150 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-02 16:31:43,157 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7b3274cd-f8c5-477e-8178-a770ba371c22 2026-06-02 16:31:43,177 - DEBUG - VDNS information not found in API server 2026-06-02 16:31:43,177 - INFO - VDNS information ctest-vdns1-80382726 removed from the API Server 2026-06-02 16:31:43,184 - INFO - VDNS information ctest-vdns1-80382726 removed in the Control node 2026-06-02 16:31:43,184 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-76695860'] 2026-06-02 16:31:44,489 - DEBUG - No XMPP flaps were noticed during the test
2026-06-02 16:31:44,489 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:18]
2026-06-02 16:31:44,490 - INFO - -------------------------------------------------------------------------------- 2026-06-02 16:31:45,334 - INFO - Deleted project: ctest-TestvDNSBasic0-76695860, ID : f496a3d6-19e8-4453-859a-43afd20fd07b