2026-05-11 03:29:22,745 - INFO - Domain Default found not creating 2026-05-11 03:29:22,904 - INFO - Project ctest-TestvDNSBasic0-56400068 not found, creating it 2026-05-11 03:29:23,451 - INFO - Created Project:ctest-TestvDNSBasic0-56400068, ID : 3daf4716-8ea6-4c94-8684-c9817a475e40 2026-05-11 03:29:25,027 - INFO - ================================================================================ 2026-05-11 03:29:25,027 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-05-11 03:29:25,028 - 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-11 03:29:26,335 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.129': '0', '10.20.0.193': '0'}, '10.0.0.240': {'10.20.0.129': '0', '10.20.0.18': '0'}} with 2026-05-11 03:29:26,335 - INFO - Initial checks done. Running the testcase now 2026-05-11 03:29:26,335 - INFO - 2026-05-11 03:29:27,069 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-56400068'](3daf4716-8ea6-4c94-8684-c9817a475e40) 2026-05-11 03:29:27,129 - DEBUG - Creating VDNS : ctest-vdns1-66725677 2026-05-11 03:29:27,357 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-66725677'] created succesfully 2026-05-11 03:29:27,357 - DEBUG - Verify VDNS entry is shown in control node 2026-05-11 03:29:27,375 - DEBUG - Verify VDNS entry is shown in the API server 2026-05-11 03:29:27,375 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-11 03:29:27,693 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-11 03:29:27,728 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a797b29a-b743-4bb0-b070-a90ae89983d0 2026-05-11 03:29:27,745 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS/783eff95-2635-411a-a5a0-30e342960cc1 2026-05-11 03:29:28,509 - DEBUG - Response for create_network : {'network': {'id': '65afa185-983d-4367-946a-5c2539de9a2f', 'name': 'ctest-vn1-vdns-65759326', 'tenant_id': '3daf47168ea64c948684c9817a475e40', 'project_id': '3daf47168ea64c948684c9817a475e40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-56400068', 'ctest-vn1-vdns-65759326'], 'port_security_enabled': True, 'description': ''}} 2026-05-11 03:29:28,777 - DEBUG - Response for create_subnet : {'subnet': {'id': '83144bd6-b638-4110-8968-2a4214dc3c05', 'name': '', 'tenant_id': '3daf47168ea64c948684c9817a475e40', 'network_id': '65afa185-983d-4367-946a-5c2539de9a2f', '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': '3daf47168ea64c948684c9817a475e40'}} 2026-05-11 03:29:28,814 - INFO - Created VN ctest-vn1-vdns-65759326 2026-05-11 03:29:28,826 - DEBUG - VN ctest-vn1-vdns-65759326 UUID is 65afa185-983d-4367-946a-5c2539de9a2f 2026-05-11 03:29:29,148 - DEBUG - Services list from nova: [, , , ] 2026-05-11 03:29:30,292 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5767-2) 2026-05-11 03:29:30,292 - INFO - Waiting for VM ctest-vm1-test-11628026 to be up.. 2026-05-11 03:29:30,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-11 03:29:35,430 - DEBUG - VM is in ACTIVE state now 2026-05-11 03:29:35,430 - INFO - VM name : ctest-vm1-test-11628026 2026-05-11 03:29:35,521 - DEBUG - VM ctest-vm1-test-11628026 ID is 82b49401-e656-484f-90ae-5acd8c4ee4ed 2026-05-11 03:29:35,522 - DEBUG - VM ctest-vm1-test-11628026 launched on Node an-jenkins-deploy-platform-ansible-os-5767-2 2026-05-11 03:29:35,624 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/82b49401-e656-484f-90ae-5acd8c4ee4ed 2026-05-11 03:29:35,934 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/82b49401-e656-484f-90ae-5acd8c4ee4ed 2026-05-11 03:29:35,971 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/67f7d3a0-9e97-45a2-a070-15ce45d46f12 2026-05-11 03:29:39,164 - 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 1007ms') 2026-05-11 03:29:39,164 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-11628026 failed! 2026-05-11 03:29:39,179 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:29:43,259 - 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 1014ms') 2026-05-11 03:29:43,259 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-11628026 failed! 2026-05-11 03:29:43,272 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:29:47,348 - 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-11 03:29:47,348 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-11628026 failed! 2026-05-11 03:29:47,365 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:29:51,444 - 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 1015ms') 2026-05-11 03:29:51,445 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-11628026 failed! 2026-05-11 03:29:51,465 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:29:55,548 - 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-11 03:29:55,548 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-11628026 failed! 2026-05-11 03:29:55,562 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:29:59,643 - 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-11 03:29:59,643 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-11628026 failed! 2026-05-11 03:29:59,656 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:30:03,735 - 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-11 03:30:03,735 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-11628026 failed! 2026-05-11 03:30:03,751 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:30:07,834 - 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 1015ms') 2026-05-11 03:30:07,834 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-11628026 failed! 2026-05-11 03:30:07,849 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:30:11,932 - 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-11 03:30:11,933 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-11628026 failed! 2026-05-11 03:30:11,948 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:30:14,009 - 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=10.2 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.46 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 = 3.456/6.828/10.201/3.372 ms') 2026-05-11 03:30:14,009 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-11628026 passed 2026-05-11 03:30:14,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 03:30:14,077 - DEBUG - Waiting to SSH to VM ctest-vm1-test-11628026, IP 10.10.10.3, Port 22 2026-05-11 03:30:14,144 - 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-11 03:30:14,230 - DEBUG - VM ctest-vm1-test-11628026 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 03:30:19,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 03:30:19,231 - DEBUG - Waiting to SSH to VM ctest-vm1-test-11628026, IP 10.10.10.3, Port 22 2026-05-11 03:30:19,299 - 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-11 03:30:19,410 - DEBUG - VM ctest-vm1-test-11628026 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 03:30:24,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 03:30:24,411 - DEBUG - Waiting to SSH to VM ctest-vm1-test-11628026, IP 10.10.10.3, Port 22 2026-05-11 03:30:24,480 - 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-11 03:30:24,585 - DEBUG - VM ctest-vm1-test-11628026 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 03:30:29,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 03:30:29,586 - DEBUG - Waiting to SSH to VM ctest-vm1-test-11628026, IP 10.10.10.3, Port 22 2026-05-11 03:30:29,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-11 03:30:29,773 - DEBUG - VM ctest-vm1-test-11628026 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 03:30:34,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 03:30:34,774 - DEBUG - Waiting to SSH to VM ctest-vm1-test-11628026, IP 10.10.10.3, Port 22 2026-05-11 03:30:34,943 - DEBUG - VM ctest-vm1-test-11628026 is ready for SSH connections 2026-05-11 03:30:34,943 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-11 03:30:34,943 - DEBUG - ifconfig | grep 10.10.10.3 2026-05-11 03:30:57,876 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-05-11 03:30:57,877 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-11628026", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-11 03:30:57,877 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-11628026", None, socket.AF_INET6)' 2026-05-11 03:31:01,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-11628026, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-11 03:31:01,027 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-11628026 2026-05-11 03:31:04,119 - DEBUG - PING ctest-vm1-test-11628026.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-11628026.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.48 ms 64 bytes from ctest-vm1-test-11628026.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.296 ms 64 bytes from ctest-vm1-test-11628026.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.245 ms --- ctest-vm1-test-11628026.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.245/1.008/2.483/1.043 ms 2026-05-11 03:31:04,119 - INFO - Ping to IP ctest-vm1-test-11628026 from VM ctest-vm1-test-11628026 passed 2026-05-11 03:31:04,151 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-11 03:31:04,162 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66725677@0%20AllEntriesVdnsRecordsReq 2026-05-11 03:31:04,170 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-11 03:31:04,177 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66725677@0%20AllEntriesVdnsRecordsReq 2026-05-11 03:31:04,184 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-11 03:31:04,193 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66725677@0%20AllEntriesVdnsRecordsReq 2026-05-11 03:31:04,200 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-66725677:1:ctest-vm1-test-11628026:10.10.10.3', 'rec_name': 'ctest-vm1-test-11628026', '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-5767-2/dns'} , Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-11628026.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-05-11 03:31:04,200 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-66725677:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-11628026', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-11628026', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5767-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-11628026.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-11 03:31:05,659 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5767-1) 2026-05-11 03:31:05,659 - INFO - Waiting for VM ctest-vm2-test-18228120 to be up.. 2026-05-11 03:31:05,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-11 03:31:10,808 - DEBUG - VM is in ACTIVE state now 2026-05-11 03:31:10,808 - INFO - VM name : ctest-vm2-test-18228120 2026-05-11 03:31:10,915 - DEBUG - VM ctest-vm2-test-18228120 ID is d8acf5f2-0eca-48e7-9289-8220cc891aac 2026-05-11 03:31:10,915 - DEBUG - VM ctest-vm2-test-18228120 launched on Node an-jenkins-deploy-platform-ansible-os-5767-1 2026-05-11 03:31:11,013 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d8acf5f2-0eca-48e7-9289-8220cc891aac 2026-05-11 03:31:11,037 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/92e827ac-0287-4973-8326-c51be88d93d3 2026-05-11 03:31:14,232 - 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 1028ms') 2026-05-11 03:31:14,233 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-18228120 failed! 2026-05-11 03:31:14,249 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:31:18,333 - 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-11 03:31:18,334 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-18228120 failed! 2026-05-11 03:31:18,349 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:31:22,428 - 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 1016ms') 2026-05-11 03:31:22,428 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-18228120 failed! 2026-05-11 03:31:22,443 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:31:26,528 - 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 1020ms') 2026-05-11 03:31:26,529 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-18228120 failed! 2026-05-11 03:31:26,552 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:31:30,621 - 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-11 03:31:30,621 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-18228120 failed! 2026-05-11 03:31:30,638 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:31:34,722 - 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 1022ms') 2026-05-11 03:31:34,722 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-18228120 failed! 2026-05-11 03:31:34,736 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:31:38,815 - 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 1013ms') 2026-05-11 03:31:38,815 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-18228120 failed! 2026-05-11 03:31:38,830 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:31:42,911 - 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-11 03:31:42,911 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-18228120 failed! 2026-05-11 03:31:42,926 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:31:47,007 - 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-11 03:31:47,007 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-18228120 failed! 2026-05-11 03:31:47,023 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:31:51,100 - 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-11 03:31:51,100 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-18228120 failed! 2026-05-11 03:31:51,115 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-56400068:ctest-vn1-vdns-65759326 is 10.10.10.1 and allocation pool is NOT set 2026-05-11 03:31:53,184 - 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=6.87 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.753 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 = 0.753/3.810/6.867/3.057 ms') 2026-05-11 03:31:53,184 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-18228120 passed 2026-05-11 03:31:53,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 03:31:53,258 - DEBUG - Waiting to SSH to VM ctest-vm2-test-18228120, IP 10.10.10.4, Port 22 2026-05-11 03:31:53,325 - 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-11 03:31:53,445 - DEBUG - VM ctest-vm2-test-18228120 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 03:31:58,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 03:31:58,446 - DEBUG - Waiting to SSH to VM ctest-vm2-test-18228120, IP 10.10.10.4, Port 22 2026-05-11 03:31:58,513 - 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-11 03:31:58,614 - DEBUG - VM ctest-vm2-test-18228120 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 03:32:03,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 03:32:03,615 - DEBUG - Waiting to SSH to VM ctest-vm2-test-18228120, IP 10.10.10.4, Port 22 2026-05-11 03:32:03,819 - 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-11 03:32:03,915 - DEBUG - VM ctest-vm2-test-18228120 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 03:32:08,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 03:32:08,916 - DEBUG - Waiting to SSH to VM ctest-vm2-test-18228120, IP 10.10.10.4, Port 22 2026-05-11 03:32:08,975 - 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-11 03:32:09,086 - DEBUG - VM ctest-vm2-test-18228120 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-11 03:32:14,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-11 03:32:14,087 - DEBUG - Waiting to SSH to VM ctest-vm2-test-18228120, IP 10.10.10.4, Port 22 2026-05-11 03:32:14,253 - DEBUG - VM ctest-vm2-test-18228120 is ready for SSH connections 2026-05-11 03:32:14,253 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-05-11 03:32:14,253 - DEBUG - ifconfig | grep 10.10.10.4 2026-05-11 03:32:37,609 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-05-11 03:32:37,609 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-18228120", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-05-11 03:32:37,609 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-18228120", None, socket.AF_INET6)' 2026-05-11 03:32:40,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-18228120, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-05-11 03:32:40,801 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-18228120 2026-05-11 03:32:43,856 - DEBUG - PING ctest-vm2-test-18228120.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-18228120.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.75 ms 64 bytes from ctest-vm2-test-18228120.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.260 ms 64 bytes from ctest-vm2-test-18228120.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.259 ms --- ctest-vm2-test-18228120.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.259/1.092/2.757/1.177 ms 2026-05-11 03:32:43,856 - INFO - Ping to IP ctest-vm2-test-18228120 from VM ctest-vm2-test-18228120 passed 2026-05-11 03:32:43,880 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-11 03:32:43,890 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66725677@0%20AllEntriesVdnsRecordsReq 2026-05-11 03:32:43,896 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-11 03:32:43,904 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66725677@0%20AllEntriesVdnsRecordsReq 2026-05-11 03:32:43,911 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-11 03:32:43,917 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66725677@0%20AllEntriesVdnsRecordsReq 2026-05-11 03:32:43,923 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-66725677:1:ctest-vm2-test-18228120:10.10.10.4', 'rec_name': 'ctest-vm2-test-18228120', '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-5767-1/dns'} , Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-18228120.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-05-11 03:32:43,923 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-66725677:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-18228120', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-18228120', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5767-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-18228120.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-11 03:32:43,924 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-18228120", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-11 03:32:43,924 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-18228120", None, socket.AF_INET6)' 2026-05-11 03:32:45,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-18228120, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-11 03:32:45,287 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-18228120 2026-05-11 03:32:47,874 - DEBUG - PING ctest-vm2-test-18228120.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-18228120.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=11.4 ms 64 bytes from ctest-vm2-test-18228120.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.28 ms 64 bytes from ctest-vm2-test-18228120.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.40 ms --- ctest-vm2-test-18228120.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.282/4.696/11.408/4.746 ms 2026-05-11 03:32:47,874 - INFO - Ping to IP ctest-vm2-test-18228120 from VM ctest-vm1-test-11628026 passed 2026-05-11 03:32:47,874 - INFO - Try deleting the VDNS entry ctest-vdns1-66725677 with back ref of ipam. 2026-05-11 03:32:47,933 - DEBUG - Delete when resource still referred: ['http://10.0.0.27:8082/network-ipam/19a1ca23-5b11-497c-89d1-3ef6b5e2e2d4'] 2026-05-11 03:32:47,933 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-05-11 03:32:47,933 - INFO - Add CNAME VDNS record for ctest-vm1-test-11628026 and verify we able to ping by alias name 2026-05-11 03:32:47,981 - DEBUG - Creating VDNS record data : test-rec 2026-05-11 03:32:48,109 - INFO - In verify_on_setup 2026-05-11 03:32:48,211 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-66725677', 'test-rec'] created succesfully 2026-05-11 03:32:48,211 - INFO - Verify VDNS record is shown in the API server 2026-05-11 03:32:48,212 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-11 03:32:48,220 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a797b29a-b743-4bb0-b070-a90ae89983d0 2026-05-11 03:32:48,265 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS/783eff95-2635-411a-a5a0-30e342960cc1 2026-05-11 03:32:48,282 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS-record/9bb2e8b7-c236-4bb8-a850-773e3edd1c76 2026-05-11 03:32:48,290 - INFO - Verify VDNS record is shown in the control node 2026-05-11 03:32:48,310 - 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.240, gateway password: c0ntrail123 2026-05-11 03:32:48,310 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-05-11 03:32:49,556 - 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.240, gateway password: c0ntrail123 2026-05-11 03:32:49,556 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-05-11 03:32:50,128 - DEBUG - ping: unknown host vm1-test-alias 2026-05-11 03:32:50,129 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-11628026 failed 2026-05-11 03:32:51,130 - 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.240, gateway password: c0ntrail123 2026-05-11 03:32:51,130 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-05-11 03:32:52,378 - 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.240, gateway password: c0ntrail123 2026-05-11 03:32:52,378 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-05-11 03:32:54,930 - DEBUG - PING ctest-vm1-test-11628026.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-11628026.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.61 ms 64 bytes from ctest-vm1-test-11628026.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.394 ms 64 bytes from ctest-vm1-test-11628026.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.222 ms --- ctest-vm1-test-11628026.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.222/0.743/1.615/0.620 ms 2026-05-11 03:32:54,930 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-11628026 passed 2026-05-11 03:32:54,930 - DEBUG - Deleting VDNS record data: test-rec 2026-05-11 03:32:55,017 - INFO - VDNS record info: default-domain:ctest-vdns1-66725677:test-rec deleted successfully. 2026-05-11 03:32:55,017 - INFO - Deleting VM ctest-vm2-test-18228120 2026-05-11 03:32:55,087 - INFO - Deleting VM ctest-vm1-test-11628026 2026-05-11 03:32:55,162 - INFO - Deleting VN ctest-vn1-vdns-65759326 2026-05-11 03:32:55,206 - DEBUG - VN 65afa185-983d-4367-946a-5c2539de9a2f still in use: Unable to complete operation on network 65afa185-983d-4367-946a-5c2539de9a2f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0d381e55-8fc7-4db0-9e02-d041f9f6c3e0'] 2026-05-11 03:32:55,206 - WARNING - Deleting VN ctest-vn1-vdns-65759326 failed..Will retry 2026-05-11 03:32:57,409 - DEBUG - Response for deleting network () 2026-05-11 03:32:57,476 - DEBUG - Deleting VDNS Entry: ctest-vdns1-66725677 2026-05-11 03:32:57,568 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-66725677'] deleted successfully. 2026-05-11 03:32:57,569 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-11 03:32:57,575 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a797b29a-b743-4bb0-b070-a90ae89983d0 2026-05-11 03:32:57,596 - DEBUG - VDNS information not found in API server 2026-05-11 03:32:57,596 - INFO - VDNS information ctest-vdns1-66725677 removed from the API Server 2026-05-11 03:32:57,601 - INFO - VDNS information ctest-vdns1-66725677 removed in the Control node 2026-05-11 03:32:57,601 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-56400068'] 2026-05-11 03:32:58,921 - DEBUG - No XMPP flaps were noticed during the test
2026-05-11 03:32:58,921 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:33]
2026-05-11 03:32:58,921 - INFO - -------------------------------------------------------------------------------- 2026-05-11 03:32:59,780 - INFO - Deleted project: ctest-TestvDNSBasic0-56400068, ID : 3daf4716-8ea6-4c94-8684-c9817a475e40