2026-05-28 03:24:00,625 - INFO - Domain Default found not creating
2026-05-28 03:24:00,885 - INFO - Project ctest-TestvDNSBasic0-46790187 not found, creating it
2026-05-28 03:24:01,498 - INFO - Created Project:ctest-TestvDNSBasic0-46790187, ID : d3756efd-cbae-46eb-814c-ce7858752c43
2026-05-28 03:24:03,382 - INFO - ================================================================================
2026-05-28 03:24:03,382 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-05-28 03:24:03,382 - 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-05-28 03:24:04,715 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.252': '1', '10.20.0.249': '0'}, '10.0.0.49': {'10.20.0.249': '0', '10.20.0.19': '0'}} with
2026-05-28 03:24:04,715 - INFO - Initial checks done. Running the testcase now
2026-05-28 03:24:04,715 - INFO -
2026-05-28 03:24:05,529 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-46790187'](d3756efd-cbae-46eb-814c-ce7858752c43)
2026-05-28 03:24:05,585 - DEBUG - Creating VDNS : ctest-vdns1-76502464
2026-05-28 03:24:05,825 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-76502464'] created succesfully
2026-05-28 03:24:05,825 - DEBUG - Verify VDNS entry is shown in control node
2026-05-28 03:24:05,856 - DEBUG - Verify VDNS entry is shown in the API server
2026-05-28 03:24:05,856 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-05-28 03:24:06,169 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-05-28 03:24:06,211 - DEBUG - Requesting: http://10.0.0.133:8082/domain/b78f3d96-9484-4108-bfa1-c06500362770
2026-05-28 03:24:06,232 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-DNS/dcbd0bab-112b-43d4-991f-b890625d590b
2026-05-28 03:24:07,025 - DEBUG - Response for create_network : {'network': {'id': '7376c050-5221-4921-8899-18eddc8a7e89', 'name': 'ctest-vn1-vdns-94668826', 'tenant_id': 'd3756efdcbae46eb814cce7858752c43', 'project_id': 'd3756efdcbae46eb814cce7858752c43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-46790187', 'ctest-vn1-vdns-94668826'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 03:24:07,377 - DEBUG - Response for create_subnet : {'subnet': {'id': '6144906f-9daa-47b7-bc0a-e301e0a2542d', 'name': '', 'tenant_id': 'd3756efdcbae46eb814cce7858752c43', 'network_id': '7376c050-5221-4921-8899-18eddc8a7e89', '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': 'd3756efdcbae46eb814cce7858752c43'}}
2026-05-28 03:24:07,409 - INFO - Created VN ctest-vn1-vdns-94668826
2026-05-28 03:24:07,426 - DEBUG - VN ctest-vn1-vdns-94668826 UUID is 7376c050-5221-4921-8899-18eddc8a7e89
2026-05-28 03:24:07,828 - DEBUG - Services list from nova: [, , , ]
2026-05-28 03:24:09,270 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5841-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5841-1)
2026-05-28 03:24:09,271 - INFO - Waiting for VM ctest-vm1-test-51009775 to be up..
2026-05-28 03:24:09,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-28 03:24:14,460 - DEBUG - VM is in ACTIVE state now
2026-05-28 03:24:14,460 - INFO - VM name : ctest-vm1-test-51009775
2026-05-28 03:24:14,564 - DEBUG - VM ctest-vm1-test-51009775 ID is f3517809-71a8-44a9-b228-b8a6ca0d14bd
2026-05-28 03:24:14,565 - DEBUG - VM ctest-vm1-test-51009775 launched on Node an-jenkins-deploy-platform-ansible-os-5841-1
2026-05-28 03:24:14,667 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/f3517809-71a8-44a9-b228-b8a6ca0d14bd
2026-05-28 03:24:14,993 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/f3517809-71a8-44a9-b228-b8a6ca0d14bd
2026-05-28 03:24:15,044 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/171f7a8e-0350-4ca8-9cf9-74f00631f516
2026-05-28 03:24:18,266 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-05-28 03:24:18,266 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-51009775 failed!
2026-05-28 03:24:18,285 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:24:22,370 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-05-28 03:24:22,370 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-51009775 failed!
2026-05-28 03:24:22,391 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:24:26,462 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-05-28 03:24:26,462 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-51009775 failed!
2026-05-28 03:24:26,478 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:24:30,553 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-05-28 03:24:30,554 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-51009775 failed!
2026-05-28 03:24:30,572 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:24:34,658 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-05-28 03:24:34,659 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-51009775 failed!
2026-05-28 03:24:34,677 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:24:38,755 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-05-28 03:24:38,755 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-51009775 failed!
2026-05-28 03:24:38,778 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:24:42,882 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms')
2026-05-28 03:24:42,883 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-51009775 failed!
2026-05-28 03:24:42,898 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:24:46,976 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2026-05-28 03:24:46,976 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-51009775 failed!
2026-05-28 03:24:46,994 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:24:51,067 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2026-05-28 03:24:51,068 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-51009775 failed!
2026-05-28 03:24:51,085 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:24:53,162 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=11.5 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.77 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.770/7.618/11.467/3.848 ms')
2026-05-28 03:24:53,162 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-51009775 passed
2026-05-28 03:24:53,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 03:24:53,240 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51009775, IP 10.10.10.3, Port 22
2026-05-28 03:24:53,301 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-28 03:24:53,401 - DEBUG - VM ctest-vm1-test-51009775 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-28 03:24:58,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 03:24:58,402 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51009775, IP 10.10.10.3, Port 22
2026-05-28 03:24:58,481 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-28 03:24:58,580 - DEBUG - VM ctest-vm1-test-51009775 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-28 03:25:03,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 03:25:03,581 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51009775, IP 10.10.10.3, Port 22
2026-05-28 03:25:03,651 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-28 03:25:03,777 - DEBUG - VM ctest-vm1-test-51009775 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-28 03:25:08,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 03:25:08,778 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51009775, IP 10.10.10.3, Port 22
2026-05-28 03:25:08,847 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-28 03:25:08,959 - DEBUG - VM ctest-vm1-test-51009775 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-28 03:25:13,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 03:25:13,960 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51009775, IP 10.10.10.3, Port 22
2026-05-28 03:25:14,031 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-28 03:25:14,199 - DEBUG - VM ctest-vm1-test-51009775 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-28 03:25:19,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 03:25:19,199 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51009775, IP 10.10.10.3, Port 22
2026-05-28 03:25:19,357 - DEBUG - VM ctest-vm1-test-51009775 is ready for SSH connections
2026-05-28 03:25:19,358 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2026-05-28 03:25:19,358 - DEBUG - ifconfig | grep 10.10.10.3
2026-05-28 03:25:40,070 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-05-28 03:25:40,071 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-51009775", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2026-05-28 03:25:40,071 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-51009775", None, socket.AF_INET6)'
2026-05-28 03:25:41,534 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-51009775, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2026-05-28 03:25:41,535 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-51009775
2026-05-28 03:25:44,137 - DEBUG - PING ctest-vm1-test-51009775.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-51009775.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.76 ms
64 bytes from ctest-vm1-test-51009775.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.377 ms
64 bytes from ctest-vm1-test-51009775.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.285 ms
--- ctest-vm1-test-51009775.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.285/1.809/4.767/2.092 ms
2026-05-28 03:25:44,137 - INFO - Ping to IP ctest-vm1-test-51009775 from VM ctest-vm1-test-51009775 passed
2026-05-28 03:25:44,175 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-28 03:25:44,184 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-76502464@0%20AllEntriesVdnsRecordsReq
2026-05-28 03:25:44,192 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-28 03:25:44,199 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-76502464@0%20AllEntriesVdnsRecordsReq
2026-05-28 03:25:44,204 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-28 03:25:44,210 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-76502464@0%20AllEntriesVdnsRecordsReq
2026-05-28 03:25:44,218 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-76502464:1:ctest-vm1-test-51009775:10.10.10.3', 'rec_name': 'ctest-vm1-test-51009775', '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-5841-1/dns'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-51009775.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-05-28 03:25:44,218 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-76502464:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-51009775', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-51009775', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5841-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-51009775.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-05-28 03:25:45,903 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5841-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5841-2)
2026-05-28 03:25:45,903 - INFO - Waiting for VM ctest-vm2-test-36547302 to be up..
2026-05-28 03:25:45,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-28 03:25:51,094 - DEBUG - VM is in ACTIVE state now
2026-05-28 03:25:51,094 - INFO - VM name : ctest-vm2-test-36547302
2026-05-28 03:25:51,200 - DEBUG - VM ctest-vm2-test-36547302 ID is d595bad7-74a9-4caf-90d0-3c2dbfac653b
2026-05-28 03:25:51,200 - DEBUG - VM ctest-vm2-test-36547302 launched on Node an-jenkins-deploy-platform-ansible-os-5841-2
2026-05-28 03:25:51,306 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/d595bad7-74a9-4caf-90d0-3c2dbfac653b
2026-05-28 03:25:51,320 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/a3c0ab27-7c6d-43f4-a638-9429d5cc3c29
2026-05-28 03:25:54,506 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-05-28 03:25:54,506 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-36547302 failed!
2026-05-28 03:25:54,523 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:25:58,594 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-05-28 03:25:58,595 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-36547302 failed!
2026-05-28 03:25:58,613 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:26:02,688 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2026-05-28 03:26:02,689 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-36547302 failed!
2026-05-28 03:26:02,706 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:26:06,789 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2026-05-28 03:26:06,790 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-36547302 failed!
2026-05-28 03:26:06,811 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:26:10,884 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-05-28 03:26:10,884 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-36547302 failed!
2026-05-28 03:26:10,903 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:26:14,983 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2026-05-28 03:26:14,983 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-36547302 failed!
2026-05-28 03:26:15,000 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:26:19,078 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms')
2026-05-28 03:26:19,078 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-36547302 failed!
2026-05-28 03:26:19,096 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:26:23,174 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms')
2026-05-28 03:26:23,174 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-36547302 failed!
2026-05-28 03:26:23,191 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:26:27,268 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2026-05-28 03:26:27,268 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-36547302 failed!
2026-05-28 03:26:27,286 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46790187:ctest-vn1-vdns-94668826 is 10.10.10.1 and allocation pool is NOT set
2026-05-28 03:26:29,351 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=15.2 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=4.18 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 4.176/9.666/15.156/5.490 ms')
2026-05-28 03:26:29,351 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-36547302 passed
2026-05-28 03:26:29,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 03:26:29,424 - DEBUG - Waiting to SSH to VM ctest-vm2-test-36547302, IP 10.10.10.4, Port 22
2026-05-28 03:26:29,505 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-28 03:26:29,618 - DEBUG - VM ctest-vm2-test-36547302 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-28 03:26:34,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 03:26:34,618 - DEBUG - Waiting to SSH to VM ctest-vm2-test-36547302, IP 10.10.10.4, Port 22
2026-05-28 03:26:34,686 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-28 03:26:34,789 - DEBUG - VM ctest-vm2-test-36547302 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-28 03:26:39,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 03:26:39,790 - DEBUG - Waiting to SSH to VM ctest-vm2-test-36547302, IP 10.10.10.4, Port 22
2026-05-28 03:26:39,859 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-28 03:26:39,974 - DEBUG - VM ctest-vm2-test-36547302 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-28 03:26:44,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 03:26:44,975 - DEBUG - Waiting to SSH to VM ctest-vm2-test-36547302, IP 10.10.10.4, Port 22
2026-05-28 03:26:45,043 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-28 03:26:45,193 - DEBUG - VM ctest-vm2-test-36547302 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-28 03:26:50,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 03:26:50,194 - DEBUG - Waiting to SSH to VM ctest-vm2-test-36547302, IP 10.10.10.4, Port 22
2026-05-28 03:26:50,368 - DEBUG - VM ctest-vm2-test-36547302 is ready for SSH connections
2026-05-28 03:26:50,368 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2026-05-28 03:26:50,368 - DEBUG - ifconfig | grep 10.10.10.4
2026-05-28 03:27:12,949 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-05-28 03:27:12,949 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-36547302", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2026-05-28 03:27:12,950 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-36547302", None, socket.AF_INET6)'
2026-05-28 03:27:15,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-36547302, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2026-05-28 03:27:15,886 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-36547302
2026-05-28 03:27:18,884 - DEBUG - PING ctest-vm2-test-36547302.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-36547302.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.79 ms
64 bytes from ctest-vm2-test-36547302.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.278 ms
64 bytes from ctest-vm2-test-36547302.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.205 ms
--- ctest-vm2-test-36547302.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.205/1.092/2.793/1.203 ms
2026-05-28 03:27:18,884 - INFO - Ping to IP ctest-vm2-test-36547302 from VM ctest-vm2-test-36547302 passed
2026-05-28 03:27:18,915 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-28 03:27:18,926 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-76502464@0%20AllEntriesVdnsRecordsReq
2026-05-28 03:27:18,935 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-28 03:27:18,942 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-76502464@0%20AllEntriesVdnsRecordsReq
2026-05-28 03:27:18,950 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-28 03:27:18,956 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-76502464@0%20AllEntriesVdnsRecordsReq
2026-05-28 03:27:18,964 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-76502464:1:ctest-vm2-test-36547302:10.10.10.4', 'rec_name': 'ctest-vm2-test-36547302', '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-5841-2/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-36547302.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-05-28 03:27:18,964 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-76502464:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-36547302', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-36547302', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5841-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-36547302.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-05-28 03:27:18,965 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-36547302", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2026-05-28 03:27:18,965 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-36547302", None, socket.AF_INET6)'
2026-05-28 03:27:20,303 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-36547302, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2026-05-28 03:27:20,303 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-36547302
2026-05-28 03:27:22,877 - DEBUG - PING ctest-vm2-test-36547302.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-36547302.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=14.3 ms
64 bytes from ctest-vm2-test-36547302.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.73 ms
64 bytes from ctest-vm2-test-36547302.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.30 ms
--- ctest-vm2-test-36547302.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.302/6.112/14.305/5.822 ms
2026-05-28 03:27:22,877 - INFO - Ping to IP ctest-vm2-test-36547302 from VM ctest-vm1-test-51009775 passed
2026-05-28 03:27:22,878 - INFO - Try deleting the VDNS entry ctest-vdns1-76502464 with back ref of ipam.
2026-05-28 03:27:22,941 - DEBUG - Delete when resource still referred: ['http://10.0.0.131:8082/network-ipam/fad9a282-6856-4f7d-ad4b-e730c7e04ddb']
2026-05-28 03:27:22,941 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-05-28 03:27:22,941 - INFO - Add CNAME VDNS record for ctest-vm1-test-51009775 and verify we able to ping by alias name
2026-05-28 03:27:22,989 - DEBUG - Creating VDNS record data : test-rec
2026-05-28 03:27:23,121 - INFO - In verify_on_setup
2026-05-28 03:27:23,225 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-76502464', 'test-rec'] created succesfully
2026-05-28 03:27:23,225 - INFO - Verify VDNS record is shown in the API server
2026-05-28 03:27:23,226 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-05-28 03:27:23,236 - DEBUG - Requesting: http://10.0.0.133:8082/domain/b78f3d96-9484-4108-bfa1-c06500362770
2026-05-28 03:27:23,295 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-DNS/dcbd0bab-112b-43d4-991f-b890625d590b
2026-05-28 03:27:23,311 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-DNS-record/2f20f17c-6e8a-4750-927c-d0e88f587ff0
2026-05-28 03:27:23,323 - INFO - Verify VDNS record is shown in the control node
2026-05-28 03:27:23,352 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2026-05-28 03:27:23,352 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-05-28 03:27:24,634 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2026-05-28 03:27:24,634 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-05-28 03:27:25,193 - DEBUG - ping: unknown host vm1-test-alias
2026-05-28 03:27:25,193 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-51009775 failed
2026-05-28 03:27:26,194 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2026-05-28 03:27:26,194 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-05-28 03:27:27,445 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2026-05-28 03:27:27,445 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-05-28 03:27:30,002 - DEBUG - PING ctest-vm1-test-51009775.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-51009775.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.281 ms
64 bytes from ctest-vm1-test-51009775.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=3.00 ms
64 bytes from ctest-vm1-test-51009775.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.262 ms
--- ctest-vm1-test-51009775.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.262/1.183/3.006/1.289 ms
2026-05-28 03:27:30,002 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-51009775 passed
2026-05-28 03:27:30,002 - DEBUG - Deleting VDNS record data: test-rec
2026-05-28 03:27:30,093 - INFO - VDNS record info: default-domain:ctest-vdns1-76502464:test-rec deleted successfully.
2026-05-28 03:27:30,093 - INFO - Deleting VM ctest-vm2-test-36547302
2026-05-28 03:27:30,193 - INFO - Deleting VM ctest-vm1-test-51009775
2026-05-28 03:27:30,298 - INFO - Deleting VN ctest-vn1-vdns-94668826
2026-05-28 03:27:30,383 - DEBUG - VN 7376c050-5221-4921-8899-18eddc8a7e89 still in use: Unable to complete operation on network 7376c050-5221-4921-8899-18eddc8a7e89. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-62e09396-7ee8-424e-8a0d-b44167b43376']
2026-05-28 03:27:30,383 - WARNING - Deleting VN ctest-vn1-vdns-94668826 failed..Will retry
2026-05-28 03:27:32,653 - DEBUG - Response for deleting network ()
2026-05-28 03:27:32,719 - DEBUG - Deleting VDNS Entry: ctest-vdns1-76502464
2026-05-28 03:27:32,821 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-76502464'] deleted successfully.
2026-05-28 03:27:32,821 - DEBUG - Requesting: http://10.0.0.133:8082/domains
2026-05-28 03:27:32,846 - DEBUG - Requesting: http://10.0.0.133:8082/domain/b78f3d96-9484-4108-bfa1-c06500362770
2026-05-28 03:27:32,893 - DEBUG - VDNS information not found in API server
2026-05-28 03:27:32,893 - INFO - VDNS information ctest-vdns1-76502464 removed from the API Server
2026-05-28 03:27:32,922 - INFO - VDNS information ctest-vdns1-76502464 removed in the Control node
2026-05-28 03:27:32,922 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-46790187']
2026-05-28 03:27:34,270 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 03:27:34,270 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:31]
2026-05-28 03:27:34,270 - INFO - --------------------------------------------------------------------------------
2026-05-28 03:27:35,118 - INFO - Deleted project: ctest-TestvDNSBasic0-46790187, ID : d3756efd-cbae-46eb-814c-ce7858752c43