2026-02-09 03:10:37,421 - INFO - Domain Default found not creating 2026-02-09 03:10:37,582 - INFO - Project ctest-TestvDNSBasic0-33803125 not found, creating it 2026-02-09 03:10:38,153 - INFO - Created Project:ctest-TestvDNSBasic0-33803125, ID : 8a61ff03-0f62-4972-9ff0-6a3d065fde40 2026-02-09 03:10:39,609 - INFO - ================================================================================ 2026-02-09 03:10:39,609 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-02-09 03:10:39,609 - 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-09 03:10:40,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.65': {'10.20.0.18': '0', '10.20.0.25': '0'}} with 2026-02-09 03:10:40,885 - INFO - Initial checks done. Running the testcase now 2026-02-09 03:10:40,885 - INFO - 2026-02-09 03:10:41,600 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-33803125'](8a61ff03-0f62-4972-9ff0-6a3d065fde40) 2026-02-09 03:10:41,654 - DEBUG - Creating VDNS : ctest-vdns1-79846049 2026-02-09 03:10:41,879 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-79846049'] created succesfully 2026-02-09 03:10:41,879 - DEBUG - Verify VDNS entry is shown in control node 2026-02-09 03:10:41,894 - DEBUG - Verify VDNS entry is shown in the API server 2026-02-09 03:10:41,894 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 03:10:42,195 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 03:10:42,227 - DEBUG - Requesting: http://10.0.0.19:8082/domain/069df225-a7cb-4796-a8d5-681a22d1bf82 2026-02-09 03:10:42,243 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS/ccbb5cb2-b8ac-4cd5-86e4-79a8aab86643 2026-02-09 03:10:42,957 - DEBUG - Response for create_network : {'network': {'id': '8008c247-146f-4458-8397-f292e7d77e61', 'name': 'ctest-vn1-vdns-60178477', 'tenant_id': '8a61ff030f6249729ff06a3d065fde40', 'project_id': '8a61ff030f6249729ff06a3d065fde40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-33803125', 'ctest-vn1-vdns-60178477'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 03:10:43,260 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd233c9b0-85b6-4d26-a698-05cb019981ad', 'name': '', 'tenant_id': '8a61ff030f6249729ff06a3d065fde40', 'network_id': '8008c247-146f-4458-8397-f292e7d77e61', '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': '8a61ff030f6249729ff06a3d065fde40'}} 2026-02-09 03:10:43,283 - INFO - Created VN ctest-vn1-vdns-60178477 2026-02-09 03:10:43,299 - DEBUG - VN ctest-vn1-vdns-60178477 UUID is 8008c247-146f-4458-8397-f292e7d77e61 2026-02-09 03:10:43,489 - DEBUG - Services list from nova: [, , , ] 2026-02-09 03:10:44,677 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5238-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5238-1) 2026-02-09 03:10:44,678 - INFO - Waiting for VM ctest-vm1-test-64839983 to be up.. 2026-02-09 03:10:44,731 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 03:10:49,824 - DEBUG - VM is in ACTIVE state now 2026-02-09 03:10:49,824 - INFO - VM name : ctest-vm1-test-64839983 2026-02-09 03:10:49,919 - DEBUG - VM ctest-vm1-test-64839983 ID is 415f655f-436d-49d8-856d-283266242af3 2026-02-09 03:10:49,919 - DEBUG - VM ctest-vm1-test-64839983 launched on Node an-jenkins-deploy-platform-ansible-os-5238-1 2026-02-09 03:10:50,014 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/415f655f-436d-49d8-856d-283266242af3 2026-02-09 03:10:50,320 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/415f655f-436d-49d8-856d-283266242af3 2026-02-09 03:10:50,366 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/131368f2-1505-484a-ae78-2f5ac7ab3178 2026-02-09 03:10:53,555 - 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-09 03:10:53,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-64839983 failed! 2026-02-09 03:10:53,571 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:10:57,649 - 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-09 03:10:57,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-64839983 failed! 2026-02-09 03:10:57,664 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:11:01,749 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-02-09 03:11:01,749 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-64839983 failed! 2026-02-09 03:11:01,763 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:11:05,839 - 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-09 03:11:05,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-64839983 failed! 2026-02-09 03:11:05,853 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:11:09,938 - 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-09 03:11:09,938 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-64839983 failed! 2026-02-09 03:11:09,953 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:11:14,037 - 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-09 03:11:14,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-64839983 failed! 2026-02-09 03:11:14,057 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:11:18,137 - 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 1016ms') 2026-02-09 03:11:18,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-64839983 failed! 2026-02-09 03:11:18,153 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:11:22,228 - 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-09 03:11:22,228 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-64839983 failed! 2026-02-09 03:11:22,242 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:11:26,322 - 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-09 03:11:26,322 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-64839983 failed! 2026-02-09 03:11:26,337 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:11:28,403 - 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=5.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.660 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.660/2.950/5.241/2.290 ms') 2026-02-09 03:11:28,403 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-64839983 passed 2026-02-09 03:11:28,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 03:11:28,472 - DEBUG - Waiting to SSH to VM ctest-vm1-test-64839983, IP 10.10.10.3, Port 22 2026-02-09 03:11:28,541 - 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-09 03:11:28,630 - DEBUG - VM ctest-vm1-test-64839983 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 03:11:33,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 03:11:33,631 - DEBUG - Waiting to SSH to VM ctest-vm1-test-64839983, IP 10.10.10.3, Port 22 2026-02-09 03:11:33,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-09 03:11:33,774 - DEBUG - VM ctest-vm1-test-64839983 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 03:11:38,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 03:11:38,775 - DEBUG - Waiting to SSH to VM ctest-vm1-test-64839983, IP 10.10.10.3, Port 22 2026-02-09 03:11:38,833 - 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-09 03:11:38,914 - DEBUG - VM ctest-vm1-test-64839983 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 03:11:43,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 03:11:43,915 - DEBUG - Waiting to SSH to VM ctest-vm1-test-64839983, IP 10.10.10.3, Port 22 2026-02-09 03:11:43,979 - 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-09 03:11:44,053 - DEBUG - VM ctest-vm1-test-64839983 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 03:11:49,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 03:11:49,054 - DEBUG - Waiting to SSH to VM ctest-vm1-test-64839983, IP 10.10.10.3, Port 22 2026-02-09 03:11:49,221 - DEBUG - VM ctest-vm1-test-64839983 is ready for SSH connections 2026-02-09 03:11:49,221 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-09 03:11:49,221 - DEBUG - ifconfig | grep 10.10.10.3 2026-02-09 03:12:08,771 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-02-09 03:12:08,772 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-64839983", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-09 03:12:08,772 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-64839983", None, socket.AF_INET6)' 2026-02-09 03:12:10,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-64839983, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-09 03:12:10,131 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-64839983 2026-02-09 03:12:12,698 - DEBUG - PING ctest-vm1-test-64839983.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-64839983.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.88 ms 64 bytes from ctest-vm1-test-64839983.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.381 ms 64 bytes from ctest-vm1-test-64839983.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.187 ms --- ctest-vm1-test-64839983.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.187/1.817/4.885/2.170 ms 2026-02-09 03:12:12,698 - INFO - Ping to IP ctest-vm1-test-64839983 from VM ctest-vm1-test-64839983 passed 2026-02-09 03:12:12,723 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-09 03:12:12,729 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79846049@0%20AllEntriesVdnsRecordsReq 2026-02-09 03:12:12,735 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-09 03:12:12,740 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79846049@0%20AllEntriesVdnsRecordsReq 2026-02-09 03:12:12,745 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-09 03:12:12,749 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79846049@0%20AllEntriesVdnsRecordsReq 2026-02-09 03:12:12,754 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79846049:1:ctest-vm1-test-64839983:10.10.10.3', 'rec_name': 'ctest-vm1-test-64839983', '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-5238-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-64839983.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-02-09 03:12:12,754 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79846049:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-64839983', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-64839983', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5238-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-64839983.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-09 03:12:14,024 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5238-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5238-2) 2026-02-09 03:12:14,024 - INFO - Waiting for VM ctest-vm2-test-08457171 to be up.. 2026-02-09 03:12:14,063 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 03:12:19,148 - DEBUG - VM is in ACTIVE state now 2026-02-09 03:12:19,148 - INFO - VM name : ctest-vm2-test-08457171 2026-02-09 03:12:19,226 - DEBUG - VM ctest-vm2-test-08457171 ID is c68f7370-f48b-49e4-9034-0bfc4fe03c1a 2026-02-09 03:12:19,226 - DEBUG - VM ctest-vm2-test-08457171 launched on Node an-jenkins-deploy-platform-ansible-os-5238-2 2026-02-09 03:12:19,307 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/c68f7370-f48b-49e4-9034-0bfc4fe03c1a 2026-02-09 03:12:19,316 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d7ded8ea-f8a2-4a7c-8df6-a38c07f30e74 2026-02-09 03:12:22,485 - 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-09 03:12:22,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08457171 failed! 2026-02-09 03:12:22,502 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:12:26,574 - 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-09 03:12:26,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08457171 failed! 2026-02-09 03:12:26,589 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:12:30,672 - 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-09 03:12:30,673 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08457171 failed! 2026-02-09 03:12:30,686 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:12:34,776 - 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-09 03:12:34,777 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08457171 failed! 2026-02-09 03:12:34,790 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:12:38,865 - 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-09 03:12:38,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08457171 failed! 2026-02-09 03:12:38,880 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:12:42,969 - 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 1025ms') 2026-02-09 03:12:42,969 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08457171 failed! 2026-02-09 03:12:42,984 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:12:47,064 - 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-09 03:12:47,064 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08457171 failed! 2026-02-09 03:12:47,083 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:12:51,155 - 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-09 03:12:51,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08457171 failed! 2026-02-09 03:12:51,172 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-33803125:ctest-vn1-vdns-60178477 is 10.10.10.1 and allocation pool is NOT set 2026-02-09 03:12:55,250 - 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=6.61 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 = 6.608/6.608/6.608/0.000 ms') 2026-02-09 03:12:55,250 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-08457171 passed 2026-02-09 03:12:55,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 03:12:55,320 - DEBUG - Waiting to SSH to VM ctest-vm2-test-08457171, IP 10.10.10.4, Port 22 2026-02-09 03:12:55,387 - 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-09 03:12:55,469 - DEBUG - VM ctest-vm2-test-08457171 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 03:13:00,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 03:13:00,469 - DEBUG - Waiting to SSH to VM ctest-vm2-test-08457171, IP 10.10.10.4, Port 22 2026-02-09 03:13:00,526 - 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-09 03:13:00,619 - DEBUG - VM ctest-vm2-test-08457171 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 03:13:05,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 03:13:05,619 - DEBUG - Waiting to SSH to VM ctest-vm2-test-08457171, IP 10.10.10.4, Port 22 2026-02-09 03:13:05,687 - 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-09 03:13:05,766 - DEBUG - VM ctest-vm2-test-08457171 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 03:13:10,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 03:13:10,767 - DEBUG - Waiting to SSH to VM ctest-vm2-test-08457171, IP 10.10.10.4, Port 22 2026-02-09 03:13:10,835 - 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-09 03:13:10,915 - DEBUG - VM ctest-vm2-test-08457171 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 03:13:15,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 03:13:15,916 - DEBUG - Waiting to SSH to VM ctest-vm2-test-08457171, IP 10.10.10.4, Port 22 2026-02-09 03:13:16,084 - DEBUG - VM ctest-vm2-test-08457171 is ready for SSH connections 2026-02-09 03:13:16,084 - 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-09 03:13:16,084 - DEBUG - ifconfig | grep 10.10.10.4 2026-02-09 03:13:35,134 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-02-09 03:13:35,134 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-08457171", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-09 03:13:35,134 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-08457171", None, socket.AF_INET6)' 2026-02-09 03:13:36,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-08457171, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-09 03:13:36,483 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-08457171 2026-02-09 03:13:39,015 - DEBUG - PING ctest-vm2-test-08457171.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-08457171.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.82 ms 64 bytes from ctest-vm2-test-08457171.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.216 ms 64 bytes from ctest-vm2-test-08457171.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.177 ms --- ctest-vm2-test-08457171.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.177/1.407/3.829/1.712 ms 2026-02-09 03:13:39,016 - INFO - Ping to IP ctest-vm2-test-08457171 from VM ctest-vm2-test-08457171 passed 2026-02-09 03:13:39,036 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-09 03:13:39,042 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79846049@0%20AllEntriesVdnsRecordsReq 2026-02-09 03:13:39,046 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-09 03:13:39,051 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79846049@0%20AllEntriesVdnsRecordsReq 2026-02-09 03:13:39,056 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-09 03:13:39,061 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79846049@0%20AllEntriesVdnsRecordsReq 2026-02-09 03:13:39,065 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79846049:1:ctest-vm2-test-08457171:10.10.10.4', 'rec_name': 'ctest-vm2-test-08457171', '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-5238-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-08457171.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-02-09 03:13:39,065 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79846049:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-08457171', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-08457171', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5238-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-08457171.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-09 03:13:39,065 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-08457171", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-09 03:13:39,065 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-08457171", None, socket.AF_INET6)' 2026-02-09 03:13:40,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-08457171, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-09 03:13:40,288 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-08457171 2026-02-09 03:13:42,800 - DEBUG - PING ctest-vm2-test-08457171.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-08457171.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.36 ms 64 bytes from ctest-vm2-test-08457171.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.39 ms 64 bytes from ctest-vm2-test-08457171.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.10 ms --- ctest-vm2-test-08457171.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.106/3.622/8.369/3.358 ms 2026-02-09 03:13:42,800 - INFO - Ping to IP ctest-vm2-test-08457171 from VM ctest-vm1-test-64839983 passed 2026-02-09 03:13:42,801 - INFO - Try deleting the VDNS entry ctest-vdns1-79846049 with back ref of ipam. 2026-02-09 03:13:42,862 - DEBUG - Delete when resource still referred: ['http://10.0.0.41:8082/network-ipam/3431edd8-8d28-429e-b36b-9b3d764c7fa5'] 2026-02-09 03:13:42,863 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-02-09 03:13:42,863 - INFO - Add CNAME VDNS record for ctest-vm1-test-64839983 and verify we able to ping by alias name 2026-02-09 03:13:42,910 - DEBUG - Creating VDNS record data : test-rec 2026-02-09 03:13:43,047 - INFO - In verify_on_setup 2026-02-09 03:13:43,143 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-79846049', 'test-rec'] created succesfully 2026-02-09 03:13:43,143 - INFO - Verify VDNS record is shown in the API server 2026-02-09 03:13:43,143 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 03:13:43,150 - DEBUG - Requesting: http://10.0.0.19:8082/domain/069df225-a7cb-4796-a8d5-681a22d1bf82 2026-02-09 03:13:43,197 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS/ccbb5cb2-b8ac-4cd5-86e4-79a8aab86643 2026-02-09 03:13:43,207 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS-record/1e94e421-a478-48a2-acc0-7b5e17a5237e 2026-02-09 03:13:43,214 - INFO - Verify VDNS record is shown in the control node 2026-02-09 03:13:43,233 - 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.27, gateway password: c0ntrail123 2026-02-09 03:13:43,233 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-02-09 03:13:44,581 - 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.27, gateway password: c0ntrail123 2026-02-09 03:13:44,581 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-02-09 03:13:45,092 - DEBUG - ping: unknown host vm1-test-alias 2026-02-09 03:13:45,092 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-64839983 failed 2026-02-09 03:13:46,093 - 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.27, gateway password: c0ntrail123 2026-02-09 03:13:46,093 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-02-09 03:13:47,335 - 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.27, gateway password: c0ntrail123 2026-02-09 03:13:47,335 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-02-09 03:13:49,854 - DEBUG - PING ctest-vm1-test-64839983.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-64839983.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.92 ms 64 bytes from ctest-vm1-test-64839983.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.192 ms 64 bytes from ctest-vm1-test-64839983.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.182 ms --- ctest-vm1-test-64839983.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.182/0.767/1.929/0.821 ms 2026-02-09 03:13:49,854 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-64839983 passed 2026-02-09 03:13:49,854 - DEBUG - Deleting VDNS record data: test-rec 2026-02-09 03:13:49,938 - INFO - VDNS record info: default-domain:ctest-vdns1-79846049:test-rec deleted successfully. 2026-02-09 03:13:49,939 - INFO - Deleting VM ctest-vm2-test-08457171 2026-02-09 03:13:50,013 - INFO - Deleting VM ctest-vm1-test-64839983 2026-02-09 03:13:50,083 - INFO - Deleting VN ctest-vn1-vdns-60178477 2026-02-09 03:13:50,126 - DEBUG - VN 8008c247-146f-4458-8397-f292e7d77e61 still in use: Unable to complete operation on network 8008c247-146f-4458-8397-f292e7d77e61. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81115f6d-f466-412e-8fb4-84205d2d2317'] 2026-02-09 03:13:50,126 - WARNING - Deleting VN ctest-vn1-vdns-60178477 failed..Will retry 2026-02-09 03:13:52,292 - DEBUG - Response for deleting network () 2026-02-09 03:13:52,346 - DEBUG - Deleting VDNS Entry: ctest-vdns1-79846049 2026-02-09 03:13:52,458 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-79846049'] deleted successfully. 2026-02-09 03:13:52,459 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 03:13:52,465 - DEBUG - Requesting: http://10.0.0.19:8082/domain/069df225-a7cb-4796-a8d5-681a22d1bf82 2026-02-09 03:13:52,479 - DEBUG - VDNS information not found in API server 2026-02-09 03:13:52,480 - INFO - VDNS information ctest-vdns1-79846049 removed from the API Server 2026-02-09 03:13:52,486 - INFO - VDNS information ctest-vdns1-79846049 removed in the Control node 2026-02-09 03:13:52,486 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-33803125'] 2026-02-09 03:13:53,775 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 03:13:53,775 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:14] 2026-02-09 03:13:53,775 - INFO - -------------------------------------------------------------------------------- 2026-02-09 03:13:54,536 - INFO - Deleted project: ctest-TestvDNSBasic0-33803125, ID : 8a61ff03-0f62-4972-9ff0-6a3d065fde40