2026-08-24 03:40:29,355 - INFO - Domain Default found not creating 2026-08-24 03:40:29,549 - INFO - Project ctest-TestvDNSBasic0-59703834 not found, creating it 2026-08-24 03:40:30,225 - INFO - Created Project:ctest-TestvDNSBasic0-59703834, ID : a251c93c-e477-4eda-b2ff-207436ed642b 2026-08-24 03:40:32,055 - INFO - ================================================================================ 2026-08-24 03:40:32,055 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-08-24 03:40:32,055 - 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-24 03:40:33,420 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.254': '0', '10.20.0.14': '0'}, '10.0.0.185': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2026-08-24 03:40:33,420 - INFO - Initial checks done. Running the testcase now 2026-08-24 03:40:33,420 - INFO - 2026-08-24 03:40:34,228 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-59703834'](a251c93c-e477-4eda-b2ff-207436ed642b) 2026-08-24 03:40:34,291 - DEBUG - Creating VDNS : ctest-vdns1-42596099 2026-08-24 03:40:34,539 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-42596099'] created succesfully 2026-08-24 03:40:34,540 - DEBUG - Verify VDNS entry is shown in control node 2026-08-24 03:40:34,563 - DEBUG - Verify VDNS entry is shown in the API server 2026-08-24 03:40:34,563 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-24 03:40:34,917 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-24 03:40:34,962 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b 2026-08-24 03:40:34,988 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-DNS/622b0257-7992-4d06-a859-9e4b2e6830df 2026-08-24 03:40:35,877 - DEBUG - Response for create_network : {'network': {'id': '8dda8589-f89c-4f29-a332-4ee99e02efd6', 'name': 'ctest-vn1-vdns-16950995', 'tenant_id': 'a251c93ce4774edab2ff207436ed642b', 'project_id': 'a251c93ce4774edab2ff207436ed642b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-59703834', 'ctest-vn1-vdns-16950995'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 03:40:36,204 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6c85616-a1e5-4b28-b052-3065c0ea0275', 'name': '', 'tenant_id': 'a251c93ce4774edab2ff207436ed642b', 'network_id': '8dda8589-f89c-4f29-a332-4ee99e02efd6', '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': 'a251c93ce4774edab2ff207436ed642b'}} 2026-08-24 03:40:36,250 - INFO - Created VN ctest-vn1-vdns-16950995 2026-08-24 03:40:36,264 - DEBUG - VN ctest-vn1-vdns-16950995 UUID is 8dda8589-f89c-4f29-a332-4ee99e02efd6 2026-08-24 03:40:36,504 - DEBUG - Services list from nova: [, , , ] 2026-08-24 03:40:37,164 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6211-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6211-1) 2026-08-24 03:40:37,164 - INFO - Waiting for VM ctest-vm1-test-00052678 to be up.. 2026-08-24 03:40:37,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:40:42,330 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:40:47,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:40:52,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:40:57,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:41:02,800 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:41:07,894 - DEBUG - VM is in ACTIVE state now 2026-08-24 03:41:07,894 - INFO - VM name : ctest-vm1-test-00052678 2026-08-24 03:41:07,986 - DEBUG - VM ctest-vm1-test-00052678 ID is ac770c10-a9f3-457b-8968-646dda6c3728 2026-08-24 03:41:07,986 - DEBUG - VM ctest-vm1-test-00052678 launched on Node an-jenkins-deploy-platform-ansible-os-6211-1 2026-08-24 03:41:08,082 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/ac770c10-a9f3-457b-8968-646dda6c3728 2026-08-24 03:41:08,408 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/ac770c10-a9f3-457b-8968-646dda6c3728 2026-08-24 03:41:08,442 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/3b297025-8b77-4bf9-9043-ce90cd08eefe 2026-08-24 03:41:11,642 - 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-08-24 03:41:11,642 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-00052678 failed! 2026-08-24 03:41:11,657 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:41:15,739 - 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-24 03:41:15,739 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-00052678 failed! 2026-08-24 03:41:15,756 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:41:19,830 - 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-24 03:41:19,830 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-00052678 failed! 2026-08-24 03:41:19,848 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:41:23,930 - 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-24 03:41:23,930 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-00052678 failed! 2026-08-24 03:41:23,946 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:41:28,018 - 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-24 03:41:28,019 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-00052678 failed! 2026-08-24 03:41:28,037 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:41:32,121 - 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-24 03:41:32,121 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-00052678 failed! 2026-08-24 03:41:32,137 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:41:34,205 - 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=6.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.864 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.864/3.735/6.606/2.871 ms') 2026-08-24 03:41:34,205 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-00052678 passed 2026-08-24 03:41:34,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:41:34,277 - DEBUG - Waiting to SSH to VM ctest-vm1-test-00052678, IP 10.10.10.3, Port 22 2026-08-24 03:41:34,343 - 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-24 03:41:34,441 - DEBUG - VM ctest-vm1-test-00052678 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 03:41:39,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:41:39,442 - DEBUG - Waiting to SSH to VM ctest-vm1-test-00052678, IP 10.10.10.3, Port 22 2026-08-24 03:41:39,511 - 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-24 03:41:39,603 - DEBUG - VM ctest-vm1-test-00052678 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 03:41:44,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:41:44,605 - DEBUG - Waiting to SSH to VM ctest-vm1-test-00052678, IP 10.10.10.3, Port 22 2026-08-24 03:41:44,670 - 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-24 03:41:44,761 - DEBUG - VM ctest-vm1-test-00052678 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 03:41:49,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:41:49,762 - DEBUG - Waiting to SSH to VM ctest-vm1-test-00052678, IP 10.10.10.3, Port 22 2026-08-24 03:41:49,939 - DEBUG - VM ctest-vm1-test-00052678 is ready for SSH connections 2026-08-24 03:41:49,939 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-24 03:41:49,939 - DEBUG - ifconfig | grep 10.10.10.3 2026-08-24 03:41:58,665 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-08-24 03:41:58,666 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-00052678", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-24 03:41:58,666 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-00052678", None, socket.AF_INET6)' 2026-08-24 03:42:01,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-00052678, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-24 03:42:01,486 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-00052678 2026-08-24 03:42:04,027 - DEBUG - PING ctest-vm1-test-00052678.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-00052678.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.48 ms 64 bytes from ctest-vm1-test-00052678.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.274 ms 64 bytes from ctest-vm1-test-00052678.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.310 ms --- ctest-vm1-test-00052678.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.274/1.024/2.489/1.036 ms 2026-08-24 03:42:04,027 - INFO - Ping to IP ctest-vm1-test-00052678 from VM ctest-vm1-test-00052678 passed 2026-08-24 03:42:04,057 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-08-24 03:42:04,069 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=default-domain:ctest-vdns1-42596099@0%20AllEntriesVdnsRecordsReq 2026-08-24 03:42:04,078 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-08-24 03:42:04,090 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=default-domain:ctest-vdns1-42596099@0%20AllEntriesVdnsRecordsReq 2026-08-24 03:42:04,097 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-08-24 03:42:04,103 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=default-domain:ctest-vdns1-42596099@0%20AllEntriesVdnsRecordsReq 2026-08-24 03:42:04,126 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-42596099:1:ctest-vm1-test-00052678:10.10.10.3', 'rec_name': 'ctest-vm1-test-00052678', '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-6211-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-00052678.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-08-24 03:42:04,126 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-42596099:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-00052678', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-00052678', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6211-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-00052678.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-24 03:42:04,918 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6211-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6211-2) 2026-08-24 03:42:04,918 - INFO - Waiting for VM ctest-vm2-test-25471099 to be up.. 2026-08-24 03:42:04,976 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:42:10,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:42:15,182 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:42:20,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:42:25,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 03:42:30,469 - DEBUG - VM is in ACTIVE state now 2026-08-24 03:42:30,469 - INFO - VM name : ctest-vm2-test-25471099 2026-08-24 03:42:30,577 - DEBUG - VM ctest-vm2-test-25471099 ID is c26a8456-5f14-40de-b303-b7fbbda046f6 2026-08-24 03:42:30,577 - DEBUG - VM ctest-vm2-test-25471099 launched on Node an-jenkins-deploy-platform-ansible-os-6211-2 2026-08-24 03:42:30,659 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/c26a8456-5f14-40de-b303-b7fbbda046f6 2026-08-24 03:42:30,670 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/bd966a28-ef61-4089-8e97-d5b0c78588d2 2026-08-24 03:42:33,849 - 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-08-24 03:42:33,850 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-25471099 failed! 2026-08-24 03:42:33,864 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:42:37,954 - 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 1023ms') 2026-08-24 03:42:37,954 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-25471099 failed! 2026-08-24 03:42:37,970 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:42:42,052 - 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-08-24 03:42:42,052 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-25471099 failed! 2026-08-24 03:42:42,067 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:42:46,151 - 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-24 03:42:46,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-25471099 failed! 2026-08-24 03:42:46,167 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:42:50,236 - 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-24 03:42:50,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-25471099 failed! 2026-08-24 03:42:50,251 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:42:54,332 - 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-24 03:42:54,332 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-25471099 failed! 2026-08-24 03:42:54,348 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:42:58,433 - 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 1020ms') 2026-08-24 03:42:58,433 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-25471099 failed! 2026-08-24 03:42:58,448 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-59703834:ctest-vn1-vdns-16950995 is 10.10.10.1 and allocation pool is NOT set 2026-08-24 03:43:02,526 - 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=5.43 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 5.426/5.426/5.426/0.000 ms') 2026-08-24 03:43:02,527 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-25471099 passed 2026-08-24 03:43:02,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:43:02,597 - DEBUG - Waiting to SSH to VM ctest-vm2-test-25471099, IP 10.10.10.4, Port 22 2026-08-24 03:43:02,667 - 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-24 03:43:02,809 - DEBUG - VM ctest-vm2-test-25471099 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 03:43:07,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:43:07,810 - DEBUG - Waiting to SSH to VM ctest-vm2-test-25471099, IP 10.10.10.4, Port 22 2026-08-24 03:43:07,878 - 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-24 03:43:08,156 - DEBUG - VM ctest-vm2-test-25471099 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 03:43:13,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 03:43:13,158 - DEBUG - Waiting to SSH to VM ctest-vm2-test-25471099, IP 10.10.10.4, Port 22 2026-08-24 03:43:13,334 - DEBUG - VM ctest-vm2-test-25471099 is ready for SSH connections 2026-08-24 03:43:13,334 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-08-24 03:43:13,334 - DEBUG - ifconfig | grep 10.10.10.4 2026-08-24 03:43:23,288 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-08-24 03:43:23,289 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25471099", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-08-24 03:43:23,289 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25471099", None, socket.AF_INET6)' 2026-08-24 03:43:25,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-25471099, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-08-24 03:43:25,469 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-25471099 2026-08-24 03:43:27,950 - DEBUG - PING ctest-vm2-test-25471099.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-25471099.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.12 ms 64 bytes from ctest-vm2-test-25471099.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.267 ms 64 bytes from ctest-vm2-test-25471099.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.255 ms --- ctest-vm2-test-25471099.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.255/1.882/5.126/2.293 ms 2026-08-24 03:43:27,950 - INFO - Ping to IP ctest-vm2-test-25471099 from VM ctest-vm2-test-25471099 passed 2026-08-24 03:43:27,975 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-08-24 03:43:27,984 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=default-domain:ctest-vdns1-42596099@0%20AllEntriesVdnsRecordsReq 2026-08-24 03:43:27,990 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-08-24 03:43:27,997 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=default-domain:ctest-vdns1-42596099@0%20AllEntriesVdnsRecordsReq 2026-08-24 03:43:28,004 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-08-24 03:43:28,011 - DEBUG - Requesting: http://10.0.0.190:8092/Snh_PageReq?x=default-domain:ctest-vdns1-42596099@0%20AllEntriesVdnsRecordsReq 2026-08-24 03:43:28,018 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-42596099:1:ctest-vm2-test-25471099:10.10.10.4', 'rec_name': 'ctest-vm2-test-25471099', '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-6211-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-25471099.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-08-24 03:43:28,018 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-42596099:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-25471099', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-25471099', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6211-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-25471099.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-24 03:43:28,019 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25471099", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-24 03:43:28,019 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-25471099", None, socket.AF_INET6)' 2026-08-24 03:43:29,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-25471099, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-24 03:43:29,066 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-25471099 2026-08-24 03:43:31,382 - DEBUG - PING ctest-vm2-test-25471099.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-25471099.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.34 ms 64 bytes from ctest-vm2-test-25471099.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.88 ms 64 bytes from ctest-vm2-test-25471099.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.48 ms --- ctest-vm2-test-25471099.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.480/3.903/8.348/3.147 ms 2026-08-24 03:43:31,382 - INFO - Ping to IP ctest-vm2-test-25471099 from VM ctest-vm1-test-00052678 passed 2026-08-24 03:43:31,382 - INFO - Try deleting the VDNS entry ctest-vdns1-42596099 with back ref of ipam. 2026-08-24 03:43:31,443 - DEBUG - Delete when resource still referred: ['http://10.0.0.191:8082/network-ipam/cb29a307-27b8-40ca-b7d7-ea229637b1a5'] 2026-08-24 03:43:31,443 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-08-24 03:43:31,443 - INFO - Add CNAME VDNS record for ctest-vm1-test-00052678 and verify we able to ping by alias name 2026-08-24 03:43:31,495 - DEBUG - Creating VDNS record data : test-rec 2026-08-24 03:43:31,623 - INFO - In verify_on_setup 2026-08-24 03:43:31,735 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-42596099', 'test-rec'] created succesfully 2026-08-24 03:43:31,735 - INFO - Verify VDNS record is shown in the API server 2026-08-24 03:43:31,736 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-24 03:43:31,744 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b 2026-08-24 03:43:31,790 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-DNS/622b0257-7992-4d06-a859-9e4b2e6830df 2026-08-24 03:43:31,804 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-DNS-record/4215af58-6b86-430a-807f-d7e426e8aeca 2026-08-24 03:43:31,814 - INFO - Verify VDNS record is shown in the control node 2026-08-24 03:43:31,837 - 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.162, gateway password: c0ntrail123 2026-08-24 03:43:31,837 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-08-24 03:43:32,815 - 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.162, gateway password: c0ntrail123 2026-08-24 03:43:32,816 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-08-24 03:43:33,112 - DEBUG - ping: unknown host vm1-test-alias 2026-08-24 03:43:33,112 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-00052678 failed 2026-08-24 03:43:34,113 - 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.162, gateway password: c0ntrail123 2026-08-24 03:43:34,114 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-08-24 03:43:35,127 - 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.162, gateway password: c0ntrail123 2026-08-24 03:43:35,127 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-08-24 03:43:37,446 - DEBUG - PING ctest-vm1-test-00052678.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-00052678.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.04 ms 64 bytes from ctest-vm1-test-00052678.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.341 ms 64 bytes from ctest-vm1-test-00052678.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.317 ms --- ctest-vm1-test-00052678.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.317/0.902/2.048/0.810 ms 2026-08-24 03:43:37,446 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-00052678 passed 2026-08-24 03:43:37,447 - DEBUG - Deleting VDNS record data: test-rec 2026-08-24 03:43:37,535 - INFO - VDNS record info: default-domain:ctest-vdns1-42596099:test-rec deleted successfully. 2026-08-24 03:43:37,535 - INFO - Deleting VM ctest-vm2-test-25471099 2026-08-24 03:43:37,618 - INFO - Deleting VM ctest-vm1-test-00052678 2026-08-24 03:43:37,697 - INFO - Deleting VN ctest-vn1-vdns-16950995 2026-08-24 03:43:37,744 - DEBUG - VN 8dda8589-f89c-4f29-a332-4ee99e02efd6 still in use: Unable to complete operation on network 8dda8589-f89c-4f29-a332-4ee99e02efd6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-424d531d-1b3c-4d42-a011-d3fb322eb615'] 2026-08-24 03:43:37,744 - WARNING - Deleting VN ctest-vn1-vdns-16950995 failed..Will retry 2026-08-24 03:43:39,856 - DEBUG - VN 8dda8589-f89c-4f29-a332-4ee99e02efd6 still in use: Unable to complete operation on network 8dda8589-f89c-4f29-a332-4ee99e02efd6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a7b58a58-9efc-4746-b5af-0586d1eeadc8'] 2026-08-24 03:43:39,856 - WARNING - Deleting VN ctest-vn1-vdns-16950995 failed..Will retry 2026-08-24 03:43:42,048 - DEBUG - Response for deleting network () 2026-08-24 03:43:42,119 - DEBUG - Deleting VDNS Entry: ctest-vdns1-42596099 2026-08-24 03:43:42,207 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-42596099'] deleted successfully. 2026-08-24 03:43:42,207 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-08-24 03:43:42,216 - DEBUG - Requesting: http://10.0.0.190:8082/domain/a2bfd9a2-e8fd-4333-9d61-3cfdf889946b 2026-08-24 03:43:42,243 - DEBUG - VDNS information not found in API server 2026-08-24 03:43:42,243 - INFO - VDNS information ctest-vdns1-42596099 removed from the API Server 2026-08-24 03:43:42,250 - INFO - VDNS information ctest-vdns1-42596099 removed in the Control node 2026-08-24 03:43:42,250 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-59703834'] 2026-08-24 03:43:43,576 - DEBUG - No XMPP flaps were noticed during the test 2026-08-24 03:43:43,577 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:11] 2026-08-24 03:43:43,577 - INFO - -------------------------------------------------------------------------------- 2026-08-24 03:43:44,397 - INFO - Deleted project: ctest-TestvDNSBasic0-59703834, ID : a251c93c-e477-4eda-b2ff-207436ed642b