2026-02-05 03:21:07,809 - INFO - Domain Default found not creating 2026-02-05 03:21:08,018 - INFO - Project ctest-TestvDNSBasic0-53976022 not found, creating it 2026-02-05 03:21:08,586 - INFO - Created Project:ctest-TestvDNSBasic0-53976022, ID : a0679fe7-4bb4-49e2-8c4c-9603d66e09d5 2026-02-05 03:21:10,255 - INFO - ================================================================================ 2026-02-05 03:21:10,255 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-02-05 03:21:10,255 - 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-02-05 03:21:11,537 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0', '10.20.0.193': '0'}, '10.0.0.65': {'10.20.0.192': '0', '10.20.0.209': '0'}} with 2026-02-05 03:21:11,537 - INFO - Initial checks done. Running the testcase now 2026-02-05 03:21:11,537 - INFO - 2026-02-05 03:21:12,311 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-53976022'](a0679fe7-4bb4-49e2-8c4c-9603d66e09d5) 2026-02-05 03:21:12,368 - DEBUG - Creating VDNS : ctest-vdns1-60293280 2026-02-05 03:21:12,600 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-60293280'] created succesfully 2026-02-05 03:21:12,600 - DEBUG - Verify VDNS entry is shown in control node 2026-02-05 03:21:12,620 - DEBUG - Verify VDNS entry is shown in the API server 2026-02-05 03:21:12,620 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-05 03:21:12,927 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-05 03:21:12,967 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5920e650-1631-4d47-b92b-5466dc6ae97a 2026-02-05 03:21:12,987 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/9156ca27-8a2d-4fa8-a2b2-207b4b556d91 2026-02-05 03:21:13,769 - DEBUG - Response for create_network : {'network': {'id': 'e0d3997b-583e-444b-83f5-16c9b2a0eddc', 'name': 'ctest-vn1-vdns-18459694', 'tenant_id': 'a0679fe74bb449e28c4c9603d66e09d5', 'project_id': 'a0679fe74bb449e28c4c9603d66e09d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-53976022', 'ctest-vn1-vdns-18459694'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 03:21:14,061 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7189636-e8a0-4b89-ace9-cb2f8ba52082', 'name': '', 'tenant_id': 'a0679fe74bb449e28c4c9603d66e09d5', 'network_id': 'e0d3997b-583e-444b-83f5-16c9b2a0eddc', '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': 'a0679fe74bb449e28c4c9603d66e09d5'}} 2026-02-05 03:21:14,086 - INFO - Created VN ctest-vn1-vdns-18459694 2026-02-05 03:21:14,104 - DEBUG - VN ctest-vn1-vdns-18459694 UUID is e0d3997b-583e-444b-83f5-16c9b2a0eddc 2026-02-05 03:21:14,296 - DEBUG - Services list from nova: [, , , ] 2026-02-05 03:21:15,617 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5215-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5215-1) 2026-02-05 03:21:15,617 - INFO - Waiting for VM ctest-vm1-test-31634536 to be up.. 2026-02-05 03:21:15,682 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 03:21:20,770 - DEBUG - VM is in ACTIVE state now 2026-02-05 03:21:20,770 - INFO - VM name : ctest-vm1-test-31634536 2026-02-05 03:21:20,856 - DEBUG - VM ctest-vm1-test-31634536 ID is a41c8695-419e-49d1-ad02-17027aa3a627 2026-02-05 03:21:20,856 - DEBUG - VM ctest-vm1-test-31634536 launched on Node an-jenkins-deploy-platform-ansible-os-5215-1 2026-02-05 03:21:20,944 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a41c8695-419e-49d1-ad02-17027aa3a627 2026-02-05 03:21:21,244 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a41c8695-419e-49d1-ad02-17027aa3a627 2026-02-05 03:21:21,291 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3eedb568-0259-4be9-9b94-2c975a9a8a9c 2026-02-05 03:21:24,477 - 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 1031ms') 2026-02-05 03:21:24,478 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31634536 failed! 2026-02-05 03:21:24,493 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:21:28,584 - 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 1027ms') 2026-02-05 03:21:28,585 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31634536 failed! 2026-02-05 03:21:28,600 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:21:32,677 - 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-02-05 03:21:32,677 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31634536 failed! 2026-02-05 03:21:32,694 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:21:36,771 - 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-02-05 03:21:36,771 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31634536 failed! 2026-02-05 03:21:36,786 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:21:40,861 - 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-02-05 03:21:40,861 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31634536 failed! 2026-02-05 03:21:40,878 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:21:44,956 - 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 1022ms') 2026-02-05 03:21:44,956 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31634536 failed! 2026-02-05 03:21:44,972 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:21:49,057 - 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 1022ms') 2026-02-05 03:21:49,057 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31634536 failed! 2026-02-05 03:21:49,073 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:21:53,153 - 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 1018ms') 2026-02-05 03:21:53,153 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31634536 failed! 2026-02-05 03:21:53,169 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:21:55,237 - 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=9.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.89 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 = 4.889/7.400/9.912/2.511 ms') 2026-02-05 03:21:55,237 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31634536 passed 2026-02-05 03:21:55,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 03:21:55,309 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31634536, IP 10.10.10.3, Port 22 2026-02-05 03:21:55,378 - 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-02-05 03:21:55,477 - DEBUG - VM ctest-vm1-test-31634536 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 03:22:00,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 03:22:00,477 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31634536, IP 10.10.10.3, Port 22 2026-02-05 03:22:00,545 - 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-02-05 03:22:00,641 - DEBUG - VM ctest-vm1-test-31634536 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 03:22:05,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 03:22:05,643 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31634536, IP 10.10.10.3, Port 22 2026-02-05 03:22:05,700 - 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-02-05 03:22:05,794 - DEBUG - VM ctest-vm1-test-31634536 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 03:22:10,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 03:22:10,795 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31634536, IP 10.10.10.3, Port 22 2026-02-05 03:22:10,862 - 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-02-05 03:22:11,007 - DEBUG - VM ctest-vm1-test-31634536 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 03:22:16,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 03:22:16,008 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31634536, IP 10.10.10.3, Port 22 2026-02-05 03:22:16,170 - DEBUG - VM ctest-vm1-test-31634536 is ready for SSH connections 2026-02-05 03:22:16,171 - 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-02-05 03:22:16,171 - DEBUG - ifconfig | grep 10.10.10.3 2026-02-05 03:22:35,793 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-02-05 03:22:35,794 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-31634536", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-05 03:22:35,794 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-31634536", None, socket.AF_INET6)' 2026-02-05 03:22:37,642 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-31634536, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-05 03:22:37,642 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-31634536 2026-02-05 03:22:40,176 - DEBUG - PING ctest-vm1-test-31634536.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-31634536.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.69 ms 64 bytes from ctest-vm1-test-31634536.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.272 ms 64 bytes from ctest-vm1-test-31634536.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.281 ms --- ctest-vm1-test-31634536.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.272/1.750/4.699/2.085 ms 2026-02-05 03:22:40,176 - INFO - Ping to IP ctest-vm1-test-31634536 from VM ctest-vm1-test-31634536 passed 2026-02-05 03:22:40,200 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-05 03:22:40,207 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-60293280@0%20AllEntriesVdnsRecordsReq 2026-02-05 03:22:40,213 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-05 03:22:40,218 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-60293280@0%20AllEntriesVdnsRecordsReq 2026-02-05 03:22:40,224 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-05 03:22:40,231 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-60293280@0%20AllEntriesVdnsRecordsReq 2026-02-05 03:22:40,236 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-60293280:1:ctest-vm1-test-31634536:10.10.10.3', 'rec_name': 'ctest-vm1-test-31634536', '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-5215-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-31634536.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-02-05 03:22:40,236 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-60293280:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-31634536', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-31634536', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5215-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-31634536.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-02-05 03:22:41,656 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5215-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5215-2) 2026-02-05 03:22:41,657 - INFO - Waiting for VM ctest-vm2-test-54207742 to be up.. 2026-02-05 03:22:41,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 03:22:46,827 - DEBUG - VM is in ACTIVE state now 2026-02-05 03:22:46,828 - INFO - VM name : ctest-vm2-test-54207742 2026-02-05 03:22:46,937 - DEBUG - VM ctest-vm2-test-54207742 ID is f5ad51d3-7c82-465b-b7a4-74f869787e21 2026-02-05 03:22:46,937 - DEBUG - VM ctest-vm2-test-54207742 launched on Node an-jenkins-deploy-platform-ansible-os-5215-2 2026-02-05 03:22:47,041 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f5ad51d3-7c82-465b-b7a4-74f869787e21 2026-02-05 03:22:47,057 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/df11d20b-5e8d-478a-b38e-be47d93f1796 2026-02-05 03:22:50,229 - 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 1002ms') 2026-02-05 03:22:50,229 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54207742 failed! 2026-02-05 03:22:50,247 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:22:54,326 - 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 1018ms') 2026-02-05 03:22:54,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54207742 failed! 2026-02-05 03:22:54,344 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:22:58,429 - 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-02-05 03:22:58,429 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54207742 failed! 2026-02-05 03:22:58,444 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:23:02,520 - 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-02-05 03:23:02,520 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54207742 failed! 2026-02-05 03:23:02,535 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:23:06,610 - 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-02-05 03:23:06,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54207742 failed! 2026-02-05 03:23:06,629 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:23:10,711 - 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-02-05 03:23:10,711 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54207742 failed! 2026-02-05 03:23:10,726 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:23:14,809 - 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 1018ms') 2026-02-05 03:23:14,809 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54207742 failed! 2026-02-05 03:23:14,825 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:23:18,899 - 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-02-05 03:23:18,899 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54207742 failed! 2026-02-05 03:23:18,917 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-53976022:ctest-vn1-vdns-18459694 is 10.10.10.1 and allocation pool is NOT set 2026-02-05 03:23:22,992 - 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=2 ttl=63 time=8.14 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 8.142/8.142/8.142/0.000 ms') 2026-02-05 03:23:22,992 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-54207742 passed 2026-02-05 03:23:23,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 03:23:23,065 - DEBUG - Waiting to SSH to VM ctest-vm2-test-54207742, IP 10.10.10.4, Port 22 2026-02-05 03:23:23,133 - 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-02-05 03:23:23,223 - DEBUG - VM ctest-vm2-test-54207742 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 03:23:28,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 03:23:28,223 - DEBUG - Waiting to SSH to VM ctest-vm2-test-54207742, IP 10.10.10.4, Port 22 2026-02-05 03:23:28,294 - 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-02-05 03:23:28,394 - DEBUG - VM ctest-vm2-test-54207742 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 03:23:33,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 03:23:33,396 - DEBUG - Waiting to SSH to VM ctest-vm2-test-54207742, IP 10.10.10.4, Port 22 2026-02-05 03:23:33,466 - 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-02-05 03:23:33,557 - DEBUG - VM ctest-vm2-test-54207742 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 03:23:38,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 03:23:38,558 - DEBUG - Waiting to SSH to VM ctest-vm2-test-54207742, IP 10.10.10.4, Port 22 2026-02-05 03:23:38,625 - 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-02-05 03:23:38,727 - DEBUG - VM ctest-vm2-test-54207742 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-05 03:23:43,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 03:23:43,728 - DEBUG - Waiting to SSH to VM ctest-vm2-test-54207742, IP 10.10.10.4, Port 22 2026-02-05 03:23:43,901 - DEBUG - VM ctest-vm2-test-54207742 is ready for SSH connections 2026-02-05 03:23:43,902 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-05 03:23:43,902 - DEBUG - ifconfig | grep 10.10.10.4 2026-02-05 03:24:03,486 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-02-05 03:24:03,486 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-54207742", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-05 03:24:03,486 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-54207742", None, socket.AF_INET6)' 2026-02-05 03:24:04,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-54207742, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-05 03:24:04,876 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-54207742 2026-02-05 03:24:07,432 - DEBUG - PING ctest-vm2-test-54207742.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-54207742.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.08 ms 64 bytes from ctest-vm2-test-54207742.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.286 ms 64 bytes from ctest-vm2-test-54207742.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.249 ms --- ctest-vm2-test-54207742.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.249/1.540/4.086/1.800 ms 2026-02-05 03:24:07,432 - INFO - Ping to IP ctest-vm2-test-54207742 from VM ctest-vm2-test-54207742 passed 2026-02-05 03:24:07,456 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-05 03:24:07,463 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-60293280@0%20AllEntriesVdnsRecordsReq 2026-02-05 03:24:07,469 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-05 03:24:07,475 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-60293280@0%20AllEntriesVdnsRecordsReq 2026-02-05 03:24:07,481 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-05 03:24:07,489 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-60293280@0%20AllEntriesVdnsRecordsReq 2026-02-05 03:24:07,495 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-60293280:1:ctest-vm2-test-54207742:10.10.10.4', 'rec_name': 'ctest-vm2-test-54207742', '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-5215-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-54207742.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-02-05 03:24:07,495 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-60293280:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-54207742', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-54207742', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5215-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-54207742.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-02-05 03:24:07,496 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-54207742", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-05 03:24:07,496 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-54207742", None, socket.AF_INET6)' 2026-02-05 03:24:08,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-54207742, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-05 03:24:08,638 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-54207742 2026-02-05 03:24:11,173 - DEBUG - PING ctest-vm2-test-54207742.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-54207742.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=6.76 ms 64 bytes from ctest-vm2-test-54207742.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.09 ms 64 bytes from ctest-vm2-test-54207742.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.34 ms --- ctest-vm2-test-54207742.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.090/3.068/6.765/2.616 ms 2026-02-05 03:24:11,173 - INFO - Ping to IP ctest-vm2-test-54207742 from VM ctest-vm1-test-31634536 passed 2026-02-05 03:24:11,173 - INFO - Try deleting the VDNS entry ctest-vdns1-60293280 with back ref of ipam. 2026-02-05 03:24:11,236 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/45020972-d25a-4170-b964-9f11cce0ba1f'] 2026-02-05 03:24:11,236 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-02-05 03:24:11,236 - INFO - Add CNAME VDNS record for ctest-vm1-test-31634536 and verify we able to ping by alias name 2026-02-05 03:24:11,284 - DEBUG - Creating VDNS record data : test-rec 2026-02-05 03:24:11,412 - INFO - In verify_on_setup 2026-02-05 03:24:11,516 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-60293280', 'test-rec'] created succesfully 2026-02-05 03:24:11,516 - INFO - Verify VDNS record is shown in the API server 2026-02-05 03:24:11,516 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-05 03:24:11,523 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5920e650-1631-4d47-b92b-5466dc6ae97a 2026-02-05 03:24:11,539 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/9156ca27-8a2d-4fa8-a2b2-207b4b556d91 2026-02-05 03:24:11,552 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/45f6465e-4066-4883-a64a-899aeba2a7e3 2026-02-05 03:24:11,559 - INFO - Verify VDNS record is shown in the control node 2026-02-05 03:24:11,579 - 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-02-05 03:24:11,580 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-02-05 03:24:12,842 - 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-02-05 03:24:12,842 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-02-05 03:24:13,384 - DEBUG - ping: unknown host vm1-test-alias 2026-02-05 03:24:13,385 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-31634536 failed 2026-02-05 03:24:14,386 - 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-02-05 03:24:14,386 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-02-05 03:24:15,632 - 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-02-05 03:24:15,632 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-02-05 03:24:18,167 - DEBUG - PING ctest-vm1-test-31634536.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-31634536.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.97 ms 64 bytes from ctest-vm1-test-31634536.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.194 ms 64 bytes from ctest-vm1-test-31634536.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.327 ms --- ctest-vm1-test-31634536.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.194/0.830/1.971/0.808 ms 2026-02-05 03:24:18,167 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-31634536 passed 2026-02-05 03:24:18,167 - DEBUG - Deleting VDNS record data: test-rec 2026-02-05 03:24:18,252 - INFO - VDNS record info: default-domain:ctest-vdns1-60293280:test-rec deleted successfully. 2026-02-05 03:24:18,252 - INFO - Deleting VM ctest-vm2-test-54207742 2026-02-05 03:24:18,330 - INFO - Deleting VM ctest-vm1-test-31634536 2026-02-05 03:24:18,407 - INFO - Deleting VN ctest-vn1-vdns-18459694 2026-02-05 03:24:18,456 - DEBUG - VN e0d3997b-583e-444b-83f5-16c9b2a0eddc still in use: Unable to complete operation on network e0d3997b-583e-444b-83f5-16c9b2a0eddc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9b1265e6-5377-4e02-86ac-5e3b348d2817'] 2026-02-05 03:24:18,456 - WARNING - Deleting VN ctest-vn1-vdns-18459694 failed..Will retry 2026-02-05 03:24:20,657 - DEBUG - Response for deleting network () 2026-02-05 03:24:20,717 - DEBUG - Deleting VDNS Entry: ctest-vdns1-60293280 2026-02-05 03:24:20,812 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-60293280'] deleted successfully. 2026-02-05 03:24:20,812 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-05 03:24:20,820 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5920e650-1631-4d47-b92b-5466dc6ae97a 2026-02-05 03:24:20,841 - DEBUG - VDNS information not found in API server 2026-02-05 03:24:20,841 - INFO - VDNS information ctest-vdns1-60293280 removed from the API Server 2026-02-05 03:24:20,848 - INFO - VDNS information ctest-vdns1-60293280 removed in the Control node 2026-02-05 03:24:20,848 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-53976022'] 2026-02-05 03:24:22,133 - DEBUG - No XMPP flaps were noticed during the test 2026-02-05 03:24:22,133 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:12] 2026-02-05 03:24:22,133 - INFO - -------------------------------------------------------------------------------- 2026-02-05 03:24:22,929 - INFO - Deleted project: ctest-TestvDNSBasic0-53976022, ID : a0679fe7-4bb4-49e2-8c4c-9603d66e09d5