2026-08-03 03:55:40,881 - INFO - Domain Default found not creating
2026-08-03 03:55:41,072 - INFO - Project ctest-TestvDNSBasic0-56439536 not found, creating it
2026-08-03 03:55:41,715 - INFO - Created Project:ctest-TestvDNSBasic0-56439536, ID : 336624ee-42fe-4500-ac3a-b5145b9dd466
2026-08-03 03:55:43,837 - INFO - ================================================================================
2026-08-03 03:55:43,837 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-08-03 03:55:43,837 - 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-08-03 03:55:45,186 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0', '10.20.0.29': '0'}, '10.0.0.19': {'10.20.0.25': '0', '10.20.0.29': '0'}} with
2026-08-03 03:55:45,186 - INFO - Initial checks done. Running the testcase now
2026-08-03 03:55:45,186 - INFO -
2026-08-03 03:55:46,160 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-56439536'](336624ee-42fe-4500-ac3a-b5145b9dd466)
2026-08-03 03:55:46,219 - DEBUG - Creating VDNS : ctest-vdns1-56709634
2026-08-03 03:55:46,471 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-56709634'] created succesfully
2026-08-03 03:55:46,471 - DEBUG - Verify VDNS entry is shown in control node
2026-08-03 03:55:46,497 - DEBUG - Verify VDNS entry is shown in the API server
2026-08-03 03:55:46,497 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-08-03 03:55:46,910 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-08-03 03:55:46,944 - DEBUG - Requesting: http://10.0.0.249:8082/domain/724de60e-9f87-4d23-867c-6bd9a9880f5b
2026-08-03 03:55:46,968 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/971c4c4b-c200-459b-85fe-22718dd3c6cf
2026-08-03 03:55:47,813 - DEBUG - Response for create_network : {'network': {'id': '4b3625b1-c255-4c76-9759-2014963b289c', 'name': 'ctest-vn1-vdns-00716525', 'tenant_id': '336624ee42fe4500ac3ab5145b9dd466', 'project_id': '336624ee42fe4500ac3ab5145b9dd466', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-56439536', 'ctest-vn1-vdns-00716525'], 'port_security_enabled': True, 'description': ''}}
2026-08-03 03:55:48,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '26ef520f-00f5-45ef-816c-e78db525dfa9', 'name': '', 'tenant_id': '336624ee42fe4500ac3ab5145b9dd466', 'network_id': '4b3625b1-c255-4c76-9759-2014963b289c', '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': '336624ee42fe4500ac3ab5145b9dd466'}}
2026-08-03 03:55:48,174 - INFO - Created VN ctest-vn1-vdns-00716525
2026-08-03 03:55:48,190 - DEBUG - VN ctest-vn1-vdns-00716525 UUID is 4b3625b1-c255-4c76-9759-2014963b289c
2026-08-03 03:55:48,400 - DEBUG - Services list from nova: [, , , ]
2026-08-03 03:55:49,046 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6129-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6129-2)
2026-08-03 03:55:49,046 - INFO - Waiting for VM ctest-vm1-test-47562228 to be up..
2026-08-03 03:55:49,109 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:55:54,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:55:59,319 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:56:04,413 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:56:09,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:56:14,644 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:56:19,810 - DEBUG - VM is in ACTIVE state now
2026-08-03 03:56:19,810 - INFO - VM name : ctest-vm1-test-47562228
2026-08-03 03:56:19,941 - DEBUG - VM ctest-vm1-test-47562228 ID is 963c762f-a622-4a45-bb5e-3e6d28d7d810
2026-08-03 03:56:19,942 - DEBUG - VM ctest-vm1-test-47562228 launched on Node an-jenkins-deploy-platform-ansible-os-6129-2
2026-08-03 03:56:20,107 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/963c762f-a622-4a45-bb5e-3e6d28d7d810
2026-08-03 03:56:20,714 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/963c762f-a622-4a45-bb5e-3e6d28d7d810
2026-08-03 03:56:20,755 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/578cf692-0617-4e8d-b6f8-ce6c2dd9f81f
2026-08-03 03:56:23,943 - 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-08-03 03:56:23,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-47562228 failed!
2026-08-03 03:56:23,960 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:56:28,041 - 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-08-03 03:56:28,041 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-47562228 failed!
2026-08-03 03:56:28,059 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:56:32,131 - 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 1013ms')
2026-08-03 03:56:32,131 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-47562228 failed!
2026-08-03 03:56:32,151 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:56:36,235 - 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 1019ms')
2026-08-03 03:56:36,235 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-47562228 failed!
2026-08-03 03:56:36,252 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:56:40,327 - 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 1009ms')
2026-08-03 03:56:40,328 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-47562228 failed!
2026-08-03 03:56:40,345 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:56:44,419 - 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 1012ms')
2026-08-03 03:56:44,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-47562228 failed!
2026-08-03 03:56:44,437 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:56:48,518 - 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 1017ms')
2026-08-03 03:56:48,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-47562228 failed!
2026-08-03 03:56:48,543 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:56:50,610 - 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=14.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.268/7.834/14.400/6.566 ms')
2026-08-03 03:56:50,611 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-47562228 passed
2026-08-03 03:56:50,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-03 03:56:50,691 - DEBUG - Waiting to SSH to VM ctest-vm1-test-47562228, IP 10.10.10.3, Port 22
2026-08-03 03:56:50,759 - DEBUG - Error on ssh to ubuntu@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-08-03 03:56:50,880 - DEBUG - VM ctest-vm1-test-47562228 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-03 03:56:55,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-03 03:56:55,881 - DEBUG - Waiting to SSH to VM ctest-vm1-test-47562228, IP 10.10.10.3, Port 22
2026-08-03 03:56:55,950 - DEBUG - Error on ssh to ubuntu@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-08-03 03:56:56,073 - DEBUG - VM ctest-vm1-test-47562228 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-03 03:57:01,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-03 03:57:01,074 - DEBUG - Waiting to SSH to VM ctest-vm1-test-47562228, IP 10.10.10.3, Port 22
2026-08-03 03:57:01,143 - DEBUG - Error on ssh to ubuntu@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-08-03 03:57:01,245 - DEBUG - VM ctest-vm1-test-47562228 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-03 03:57:06,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-03 03:57:06,246 - DEBUG - Waiting to SSH to VM ctest-vm1-test-47562228, IP 10.10.10.3, Port 22
2026-08-03 03:57:06,431 - DEBUG - VM ctest-vm1-test-47562228 is ready for SSH connections
2026-08-03 03:57:06,431 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-08-03 03:57:06,432 - DEBUG - ifconfig | grep 10.10.10.3
2026-08-03 03:57:21,534 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-08-03 03:57:21,535 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-47562228", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-08-03 03:57:21,535 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-47562228", None, socket.AF_INET6)'
2026-08-03 03:57:23,934 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-47562228, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-08-03 03:57:23,934 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-47562228
2026-08-03 03:57:26,558 - DEBUG - PING ctest-vm1-test-47562228.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-47562228.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.65 ms
64 bytes from ctest-vm1-test-47562228.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.302 ms
64 bytes from ctest-vm1-test-47562228.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.232 ms
--- ctest-vm1-test-47562228.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.232/1.729/4.654/2.068 ms
2026-08-03 03:57:26,558 - INFO - Ping to IP ctest-vm1-test-47562228 from VM ctest-vm1-test-47562228 passed
2026-08-03 03:57:26,597 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-03 03:57:26,610 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56709634@0%20AllEntriesVdnsRecordsReq
2026-08-03 03:57:26,638 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-03 03:57:26,645 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56709634@0%20AllEntriesVdnsRecordsReq
2026-08-03 03:57:26,665 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-03 03:57:26,674 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56709634@0%20AllEntriesVdnsRecordsReq
2026-08-03 03:57:26,681 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56709634:1:ctest-vm1-test-47562228:10.10.10.3', 'rec_name': 'ctest-vm1-test-47562228', '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-6129-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-47562228.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-08-03 03:57:26,681 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56709634:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-47562228', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-47562228', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6129-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-47562228.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-08-03 03:57:27,495 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6129-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6129-1)
2026-08-03 03:57:27,495 - INFO - Waiting for VM ctest-vm2-test-63872377 to be up..
2026-08-03 03:57:27,545 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:57:32,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:57:37,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:57:42,847 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:57:47,946 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:57:53,038 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-03 03:57:58,128 - DEBUG - VM is in ACTIVE state now
2026-08-03 03:57:58,128 - INFO - VM name : ctest-vm2-test-63872377
2026-08-03 03:57:58,224 - DEBUG - VM ctest-vm2-test-63872377 ID is ee732dff-2e7c-40f8-911b-e1b0bfccc77c
2026-08-03 03:57:58,224 - DEBUG - VM ctest-vm2-test-63872377 launched on Node an-jenkins-deploy-platform-ansible-os-6129-1
2026-08-03 03:57:58,314 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/ee732dff-2e7c-40f8-911b-e1b0bfccc77c
2026-08-03 03:57:58,327 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/7e6f8a6e-9d75-4a73-8527-7014302220f6
2026-08-03 03:58:01,519 - 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 1011ms')
2026-08-03 03:58:01,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-63872377 failed!
2026-08-03 03:58:01,545 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:58:05,641 - 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 1032ms')
2026-08-03 03:58:05,642 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-63872377 failed!
2026-08-03 03:58:05,661 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:58:09,749 - 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 1019ms')
2026-08-03 03:58:09,749 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-63872377 failed!
2026-08-03 03:58:09,777 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:58:13,866 - 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 1029ms')
2026-08-03 03:58:13,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-63872377 failed!
2026-08-03 03:58:13,886 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:58:17,968 - 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 1015ms')
2026-08-03 03:58:17,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-63872377 failed!
2026-08-03 03:58:17,987 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:58:22,059 - 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 1010ms')
2026-08-03 03:58:22,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-63872377 failed!
2026-08-03 03:58:22,080 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:58:26,162 - 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 1011ms')
2026-08-03 03:58:26,162 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-63872377 failed!
2026-08-03 03:58:26,179 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:58:30,251 - 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 1014ms')
2026-08-03 03:58:30,251 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-63872377 failed!
2026-08-03 03:58:30,271 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56439536:ctest-vn1-vdns-00716525 is 10.10.10.1 and allocation pool is NOT set
2026-08-03 03:58:32,342 - 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=7.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=6.40 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 6.402/7.098/7.794/0.696 ms')
2026-08-03 03:58:32,343 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-63872377 passed
2026-08-03 03:58:32,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-03 03:58:32,417 - DEBUG - Waiting to SSH to VM ctest-vm2-test-63872377, IP 10.10.10.4, Port 22
2026-08-03 03:58:32,486 - DEBUG - Error on ssh to ubuntu@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-08-03 03:58:32,593 - DEBUG - VM ctest-vm2-test-63872377 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-03 03:58:37,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-03 03:58:37,594 - DEBUG - Waiting to SSH to VM ctest-vm2-test-63872377, IP 10.10.10.4, Port 22
2026-08-03 03:58:37,661 - DEBUG - Error on ssh to ubuntu@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-08-03 03:58:37,752 - DEBUG - VM ctest-vm2-test-63872377 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-03 03:58:42,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-03 03:58:42,754 - DEBUG - Waiting to SSH to VM ctest-vm2-test-63872377, IP 10.10.10.4, Port 22
2026-08-03 03:58:42,821 - DEBUG - Error on ssh to ubuntu@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-08-03 03:58:42,928 - DEBUG - VM ctest-vm2-test-63872377 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-03 03:58:47,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-03 03:58:47,929 - DEBUG - Waiting to SSH to VM ctest-vm2-test-63872377, IP 10.10.10.4, Port 22
2026-08-03 03:58:48,097 - DEBUG - VM ctest-vm2-test-63872377 is ready for SSH connections
2026-08-03 03:58:48,097 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-08-03 03:58:48,097 - DEBUG - ifconfig | grep 10.10.10.4
2026-08-03 03:58:57,521 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-08-03 03:58:57,521 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-63872377", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-08-03 03:58:57,521 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-63872377", None, socket.AF_INET6)'
2026-08-03 03:58:59,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-63872377, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-08-03 03:58:59,778 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-63872377
2026-08-03 03:59:02,345 - DEBUG - PING ctest-vm2-test-63872377.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-63872377.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.14 ms
64 bytes from ctest-vm2-test-63872377.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.269 ms
64 bytes from ctest-vm2-test-63872377.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.251 ms
--- ctest-vm2-test-63872377.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.251/0.888/2.145/0.888 ms
2026-08-03 03:59:02,346 - INFO - Ping to IP ctest-vm2-test-63872377 from VM ctest-vm2-test-63872377 passed
2026-08-03 03:59:02,383 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-03 03:59:02,394 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56709634@0%20AllEntriesVdnsRecordsReq
2026-08-03 03:59:02,403 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-03 03:59:02,412 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56709634@0%20AllEntriesVdnsRecordsReq
2026-08-03 03:59:02,426 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-03 03:59:02,439 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56709634@0%20AllEntriesVdnsRecordsReq
2026-08-03 03:59:02,447 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56709634:1:ctest-vm2-test-63872377:10.10.10.4', 'rec_name': 'ctest-vm2-test-63872377', '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-6129-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-63872377.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-08-03 03:59:02,448 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56709634:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-63872377', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-63872377', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6129-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-63872377.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-08-03 03:59:02,448 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-63872377", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-08-03 03:59:02,448 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-63872377", None, socket.AF_INET6)'
2026-08-03 03:59:03,452 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-63872377, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-08-03 03:59:03,452 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-63872377
2026-08-03 03:59:05,832 - DEBUG - PING ctest-vm2-test-63872377.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-63872377.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=12.0 ms
64 bytes from ctest-vm2-test-63872377.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.77 ms
64 bytes from ctest-vm2-test-63872377.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.72 ms
--- ctest-vm2-test-63872377.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.729/5.175/12.020/4.840 ms
2026-08-03 03:59:05,832 - INFO - Ping to IP ctest-vm2-test-63872377 from VM ctest-vm1-test-47562228 passed
2026-08-03 03:59:05,832 - INFO - Try deleting the VDNS entry ctest-vdns1-56709634 with back ref of ipam.
2026-08-03 03:59:05,899 - DEBUG - Delete when resource still referred: ['http://10.0.0.161:8082/network-ipam/c9e39224-934e-4a45-b12a-56672056d9ba']
2026-08-03 03:59:05,899 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-08-03 03:59:05,899 - INFO - Add CNAME VDNS record for ctest-vm1-test-47562228 and verify we able to ping by alias name
2026-08-03 03:59:05,947 - DEBUG - Creating VDNS record data : test-rec
2026-08-03 03:59:06,079 - INFO - In verify_on_setup
2026-08-03 03:59:06,179 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-56709634', 'test-rec'] created succesfully
2026-08-03 03:59:06,179 - INFO - Verify VDNS record is shown in the API server
2026-08-03 03:59:06,179 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-08-03 03:59:06,188 - DEBUG - Requesting: http://10.0.0.249:8082/domain/724de60e-9f87-4d23-867c-6bd9a9880f5b
2026-08-03 03:59:06,207 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/971c4c4b-c200-459b-85fe-22718dd3c6cf
2026-08-03 03:59:06,220 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS-record/985f9d6c-77ab-46c8-b9df-ce5220d81ee6
2026-08-03 03:59:06,229 - INFO - Verify VDNS record is shown in the control node
2026-08-03 03:59:06,256 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-08-03 03:59:06,256 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-08-03 03:59:07,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-08-03 03:59:07,223 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-08-03 03:59:07,587 - DEBUG - ping: unknown host vm1-test-alias
2026-08-03 03:59:07,588 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-47562228 failed
2026-08-03 03:59:08,589 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-08-03 03:59:08,589 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-08-03 03:59:09,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-08-03 03:59:09,579 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-08-03 03:59:11,920 - DEBUG - PING ctest-vm1-test-47562228.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-47562228.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.360 ms
64 bytes from ctest-vm1-test-47562228.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.50 ms
64 bytes from ctest-vm1-test-47562228.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.250 ms
--- ctest-vm1-test-47562228.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.250/1.039/2.507/1.039 ms
2026-08-03 03:59:11,920 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-47562228 passed
2026-08-03 03:59:11,920 - DEBUG - Deleting VDNS record data: test-rec
2026-08-03 03:59:12,023 - INFO - VDNS record info: default-domain:ctest-vdns1-56709634:test-rec deleted successfully.
2026-08-03 03:59:12,023 - INFO - Deleting VM ctest-vm2-test-63872377
2026-08-03 03:59:12,106 - INFO - Deleting VM ctest-vm1-test-47562228
2026-08-03 03:59:12,180 - INFO - Deleting VN ctest-vn1-vdns-00716525
2026-08-03 03:59:12,256 - DEBUG - VN 4b3625b1-c255-4c76-9759-2014963b289c still in use: Unable to complete operation on network 4b3625b1-c255-4c76-9759-2014963b289c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-957c8411-fb24-45cb-ae91-5221fe9a8710']
2026-08-03 03:59:12,256 - WARNING - Deleting VN ctest-vn1-vdns-00716525 failed..Will retry
2026-08-03 03:59:14,330 - DEBUG - VN 4b3625b1-c255-4c76-9759-2014963b289c still in use: Unable to complete operation on network 4b3625b1-c255-4c76-9759-2014963b289c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4694d087-da3c-47db-8b76-1977a987930d']
2026-08-03 03:59:14,331 - WARNING - Deleting VN ctest-vn1-vdns-00716525 failed..Will retry
2026-08-03 03:59:16,549 - DEBUG - Response for deleting network ()
2026-08-03 03:59:16,649 - DEBUG - Deleting VDNS Entry: ctest-vdns1-56709634
2026-08-03 03:59:16,747 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-56709634'] deleted successfully.
2026-08-03 03:59:16,747 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-08-03 03:59:16,756 - DEBUG - Requesting: http://10.0.0.249:8082/domain/724de60e-9f87-4d23-867c-6bd9a9880f5b
2026-08-03 03:59:16,774 - DEBUG - VDNS information not found in API server
2026-08-03 03:59:16,774 - INFO - VDNS information ctest-vdns1-56709634 removed from the API Server
2026-08-03 03:59:16,780 - INFO - VDNS information ctest-vdns1-56709634 removed in the Control node
2026-08-03 03:59:16,780 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-56439536']
2026-08-03 03:59:18,108 - DEBUG - No XMPP flaps were noticed during the test
2026-08-03 03:59:18,108 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:35]
2026-08-03 03:59:18,109 - INFO - --------------------------------------------------------------------------------
2026-08-03 03:59:19,122 - INFO - Deleted project: ctest-TestvDNSBasic0-56439536, ID : 336624ee-42fe-4500-ac3a-b5145b9dd466