2025-08-10 11:53:54,465 - INFO - Domain Default found not creating 2025-08-10 11:53:54,589 - INFO - Project ctest-TestvDNSBasic0-86978061 not found, creating it 2025-08-10 11:53:55,088 - INFO - Created Project:ctest-TestvDNSBasic0-86978061, ID : 8a45d075-244b-4952-8068-92ffdd2fda9d 2025-08-10 11:53:56,773 - INFO - ================================================================================ 2025-08-10 11:53:56,773 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-10 11:53:56,773 - 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 2025-08-10 11:53:58,047 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.56': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2025-08-10 11:53:58,047 - INFO - Initial checks done. Running the testcase now 2025-08-10 11:53:58,047 - INFO - 2025-08-10 11:53:58,731 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-86978061'](8a45d075-244b-4952-8068-92ffdd2fda9d) 2025-08-10 11:53:58,788 - DEBUG - Creating VDNS : ctest-vdns1-75132785 2025-08-10 11:53:59,000 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-75132785'] created succesfully 2025-08-10 11:53:59,000 - DEBUG - Verify VDNS entry is shown in control node 2025-08-10 11:53:59,017 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-10 11:53:59,017 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-10 11:53:59,303 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-10 11:53:59,328 - DEBUG - Requesting: http://10.0.0.49:8082/domain/506b9682-8eb9-488e-ab69-24d332f4d228 2025-08-10 11:53:59,344 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-DNS/8d1f483d-0b76-4a67-b112-c90cc4d6514e 2025-08-10 11:54:00,020 - DEBUG - Response for create_network : {'network': {'id': '11d87ba8-b26f-4702-9f1f-4991802b8095', 'name': 'ctest-vn1-vdns-89744759', 'tenant_id': '8a45d075244b4952806892ffdd2fda9d', 'project_id': '8a45d075244b4952806892ffdd2fda9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-86978061', 'ctest-vn1-vdns-89744759'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 11:54:00,343 - DEBUG - Response for create_subnet : {'subnet': {'id': '520060f3-aa3e-4558-a582-4ff5334086d0', 'name': '', 'tenant_id': '8a45d075244b4952806892ffdd2fda9d', 'network_id': '11d87ba8-b26f-4702-9f1f-4991802b8095', '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': '8a45d075244b4952806892ffdd2fda9d'}} 2025-08-10 11:54:00,362 - INFO - Created VN ctest-vn1-vdns-89744759 2025-08-10 11:54:00,372 - DEBUG - VN ctest-vn1-vdns-89744759 UUID is 11d87ba8-b26f-4702-9f1f-4991802b8095 2025-08-10 11:54:00,511 - DEBUG - Services list from nova: [, , , ] 2025-08-10 11:54:01,454 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3786-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3786-1) 2025-08-10 11:54:01,454 - INFO - Waiting for VM ctest-vm1-test-16268933 to be up.. 2025-08-10 11:54:01,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 11:54:06,587 - DEBUG - VM is in ACTIVE state now 2025-08-10 11:54:06,588 - INFO - VM name : ctest-vm1-test-16268933 2025-08-10 11:54:06,656 - DEBUG - VM ctest-vm1-test-16268933 ID is 6f263413-9b94-455f-868c-b6d7afd12690 2025-08-10 11:54:06,656 - DEBUG - VM ctest-vm1-test-16268933 launched on Node an-jenkins-deploy-platform-ansible-os-3786-1 2025-08-10 11:54:06,718 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/6f263413-9b94-455f-868c-b6d7afd12690 2025-08-10 11:54:07,019 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/6f263413-9b94-455f-868c-b6d7afd12690 2025-08-10 11:54:07,048 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/397f2ae5-5316-42fe-973f-cd25b0da374d 2025-08-10 11:54:10,303 - 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 1030ms') 2025-08-10 11:54:10,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-16268933 failed! 2025-08-10 11:54:10,318 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:54:14,398 - 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') 2025-08-10 11:54:14,398 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-16268933 failed! 2025-08-10 11:54:14,412 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:54:18,499 - 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 1024ms') 2025-08-10 11:54:18,499 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-16268933 failed! 2025-08-10 11:54:18,512 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:54:22,591 - 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') 2025-08-10 11:54:22,592 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-16268933 failed! 2025-08-10 11:54:22,604 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:54:26,687 - 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') 2025-08-10 11:54:26,688 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-16268933 failed! 2025-08-10 11:54:26,711 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:54:30,774 - 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') 2025-08-10 11:54:30,774 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-16268933 failed! 2025-08-10 11:54:30,787 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:54:34,878 - 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 1026ms') 2025-08-10 11:54:34,878 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-16268933 failed! 2025-08-10 11:54:34,892 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:54:36,953 - 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=7.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.87 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 = 2.873/5.330/7.788/2.457 ms') 2025-08-10 11:54:36,954 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-16268933 passed 2025-08-10 11:54:37,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:54:37,063 - DEBUG - Waiting to SSH to VM ctest-vm1-test-16268933, IP 10.10.10.3, Port 22 2025-08-10 11:54:37,117 - 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': ''} 2025-08-10 11:54:37,190 - DEBUG - VM ctest-vm1-test-16268933 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 11:54:42,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:54:42,192 - DEBUG - Waiting to SSH to VM ctest-vm1-test-16268933, IP 10.10.10.3, Port 22 2025-08-10 11:54:42,248 - 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': ''} 2025-08-10 11:54:42,334 - DEBUG - VM ctest-vm1-test-16268933 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 11:54:47,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:54:47,335 - DEBUG - Waiting to SSH to VM ctest-vm1-test-16268933, IP 10.10.10.3, Port 22 2025-08-10 11:54:47,392 - 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': ''} 2025-08-10 11:54:47,467 - DEBUG - VM ctest-vm1-test-16268933 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 11:54:52,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:54:52,469 - DEBUG - Waiting to SSH to VM ctest-vm1-test-16268933, IP 10.10.10.3, Port 22 2025-08-10 11:54:52,628 - DEBUG - VM ctest-vm1-test-16268933 is ready for SSH connections 2025-08-10 11:54:52,629 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-10 11:54:52,629 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-10 11:55:11,137 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-10 11:55:11,137 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-16268933", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-10 11:55:11,137 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-16268933", None, socket.AF_INET6)' 2025-08-10 11:55:13,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-16268933, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-10 11:55:13,405 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-16268933 2025-08-10 11:55:16,269 - DEBUG - PING ctest-vm1-test-16268933.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-16268933.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.80 ms 64 bytes from ctest-vm1-test-16268933.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.205 ms 64 bytes from ctest-vm1-test-16268933.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.175 ms --- ctest-vm1-test-16268933.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 0.175/1.060/2.800/1.230 ms 2025-08-10 11:55:16,270 - INFO - Ping to IP ctest-vm1-test-16268933 from VM ctest-vm1-test-16268933 passed 2025-08-10 11:55:16,294 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-10 11:55:16,302 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75132785@0%20AllEntriesVdnsRecordsReq 2025-08-10 11:55:16,308 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-10 11:55:16,313 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75132785@0%20AllEntriesVdnsRecordsReq 2025-08-10 11:55:16,319 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-10 11:55:16,325 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75132785@0%20AllEntriesVdnsRecordsReq 2025-08-10 11:55:16,330 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-75132785:1:ctest-vm1-test-16268933:10.10.10.3', 'rec_name': 'ctest-vm1-test-16268933', '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-3786-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-16268933.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-10 11:55:16,330 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-75132785:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-16268933', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-16268933', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3786-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-16268933.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'} 2025-08-10 11:55:17,493 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3786-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3786-2) 2025-08-10 11:55:17,493 - INFO - Waiting for VM ctest-vm2-test-26844213 to be up.. 2025-08-10 11:55:17,534 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 11:55:22,604 - DEBUG - VM is in ACTIVE state now 2025-08-10 11:55:22,604 - INFO - VM name : ctest-vm2-test-26844213 2025-08-10 11:55:22,668 - DEBUG - VM ctest-vm2-test-26844213 ID is 45eabc4b-138c-4ed5-86be-b6a28a3df159 2025-08-10 11:55:22,668 - DEBUG - VM ctest-vm2-test-26844213 launched on Node an-jenkins-deploy-platform-ansible-os-3786-2 2025-08-10 11:55:22,728 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/45eabc4b-138c-4ed5-86be-b6a28a3df159 2025-08-10 11:55:22,736 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/14df52ed-c1de-476e-bb6a-b9cd8efbd1f3 2025-08-10 11:55:25,941 - 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') 2025-08-10 11:55:25,941 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-26844213 failed! 2025-08-10 11:55:25,957 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:55:30,039 - 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') 2025-08-10 11:55:30,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-26844213 failed! 2025-08-10 11:55:30,052 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:55:34,130 - 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') 2025-08-10 11:55:34,130 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-26844213 failed! 2025-08-10 11:55:34,144 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:55:38,234 - 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 1028ms') 2025-08-10 11:55:38,234 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-26844213 failed! 2025-08-10 11:55:38,255 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:55:42,327 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2025-08-10 11:55:42,327 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-26844213 failed! 2025-08-10 11:55:42,340 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:55:46,425 - 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') 2025-08-10 11:55:46,425 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-26844213 failed! 2025-08-10 11:55:46,440 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:55:50,516 - 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') 2025-08-10 11:55:50,516 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-26844213 failed! 2025-08-10 11:55:50,530 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86978061:ctest-vn1-vdns-89744759 is 10.10.10.1 and allocation pool is NOT set 2025-08-10 11:55:52,593 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.219/3.705/5.192/1.486 ms') 2025-08-10 11:55:52,593 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-26844213 passed 2025-08-10 11:55:52,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:55:52,703 - DEBUG - Waiting to SSH to VM ctest-vm2-test-26844213, IP 10.10.10.4, Port 22 2025-08-10 11:55:52,759 - 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': ''} 2025-08-10 11:55:52,829 - DEBUG - VM ctest-vm2-test-26844213 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 11:55:57,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:55:57,830 - DEBUG - Waiting to SSH to VM ctest-vm2-test-26844213, IP 10.10.10.4, Port 22 2025-08-10 11:55:57,887 - 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': ''} 2025-08-10 11:55:57,973 - DEBUG - VM ctest-vm2-test-26844213 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 11:56:02,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:56:02,974 - DEBUG - Waiting to SSH to VM ctest-vm2-test-26844213, IP 10.10.10.4, Port 22 2025-08-10 11:56:03,031 - 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': ''} 2025-08-10 11:56:03,097 - DEBUG - VM ctest-vm2-test-26844213 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 11:56:08,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:56:08,098 - DEBUG - Waiting to SSH to VM ctest-vm2-test-26844213, IP 10.10.10.4, Port 22 2025-08-10 11:56:08,265 - DEBUG - VM ctest-vm2-test-26844213 is ready for SSH connections 2025-08-10 11:56:08,265 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-08-10 11:56:08,266 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-10 11:56:26,272 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-10 11:56:26,273 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-26844213", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-08-10 11:56:26,273 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-26844213", None, socket.AF_INET6)' 2025-08-10 11:56:28,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-26844213, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-08-10 11:56:28,474 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-26844213 2025-08-10 11:56:31,336 - DEBUG - PING ctest-vm2-test-26844213.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-26844213.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.61 ms 64 bytes from ctest-vm2-test-26844213.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.201 ms 64 bytes from ctest-vm2-test-26844213.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.245 ms --- ctest-vm2-test-26844213.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 0.201/1.019/2.613/1.127 ms 2025-08-10 11:56:31,336 - INFO - Ping to IP ctest-vm2-test-26844213 from VM ctest-vm2-test-26844213 passed 2025-08-10 11:56:31,357 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-10 11:56:31,362 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75132785@0%20AllEntriesVdnsRecordsReq 2025-08-10 11:56:31,367 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-10 11:56:31,372 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75132785@0%20AllEntriesVdnsRecordsReq 2025-08-10 11:56:31,377 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-10 11:56:31,382 - DEBUG - Requesting: http://10.0.0.49:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75132785@0%20AllEntriesVdnsRecordsReq 2025-08-10 11:56:31,390 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-75132785:1:ctest-vm2-test-26844213:10.10.10.4', 'rec_name': 'ctest-vm2-test-26844213', '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-3786-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-26844213.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-10 11:56:31,390 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-75132785:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-26844213', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-26844213', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3786-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-26844213.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'} 2025-08-10 11:56:31,390 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-26844213", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-10 11:56:31,390 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-26844213", None, socket.AF_INET6)' 2025-08-10 11:56:32,424 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-26844213, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-10 11:56:32,424 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-26844213 2025-08-10 11:56:34,910 - DEBUG - PING ctest-vm2-test-26844213.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-26844213.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.58 ms 64 bytes from ctest-vm2-test-26844213.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.855 ms 64 bytes from ctest-vm2-test-26844213.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.754 ms --- ctest-vm2-test-26844213.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.754/3.064/7.585/3.197 ms 2025-08-10 11:56:34,910 - INFO - Ping to IP ctest-vm2-test-26844213 from VM ctest-vm1-test-16268933 passed 2025-08-10 11:56:34,910 - INFO - Try deleting the VDNS entry ctest-vdns1-75132785 with back ref of ipam. 2025-08-10 11:56:34,968 - DEBUG - Delete when resource still referred: ['http://10.0.0.57:8082/network-ipam/67258b62-100e-41fa-a095-aa85e36d44c9'] 2025-08-10 11:56:34,968 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-10 11:56:34,968 - INFO - Add CNAME VDNS record for ctest-vm1-test-16268933 and verify we able to ping by alias name 2025-08-10 11:56:35,016 - DEBUG - Creating VDNS record data : test-rec 2025-08-10 11:56:35,136 - INFO - In verify_on_setup 2025-08-10 11:56:35,232 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-75132785', 'test-rec'] created succesfully 2025-08-10 11:56:35,232 - INFO - Verify VDNS record is shown in the API server 2025-08-10 11:56:35,232 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-10 11:56:35,238 - DEBUG - Requesting: http://10.0.0.49:8082/domain/506b9682-8eb9-488e-ab69-24d332f4d228 2025-08-10 11:56:35,272 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-DNS/8d1f483d-0b76-4a67-b112-c90cc4d6514e 2025-08-10 11:56:35,281 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-DNS-record/2a237f7f-0a01-4bda-8f71-a5bf758908e5 2025-08-10 11:56:35,287 - INFO - Verify VDNS record is shown in the control node 2025-08-10 11:56:35,304 - 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.65, gateway password: c0ntrail123 2025-08-10 11:56:35,304 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-10 11:56:36,338 - 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.65, gateway password: c0ntrail123 2025-08-10 11:56:36,338 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-10 11:56:36,810 - DEBUG - ping: unknown host vm1-test-alias 2025-08-10 11:56:36,811 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-16268933 failed 2025-08-10 11:56:37,812 - 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.65, gateway password: c0ntrail123 2025-08-10 11:56:37,812 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-10 11:56:38,851 - 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.65, gateway password: c0ntrail123 2025-08-10 11:56:38,852 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-10 11:56:41,324 - DEBUG - PING ctest-vm1-test-16268933.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-16268933.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.41 ms 64 bytes from ctest-vm1-test-16268933.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.210 ms 64 bytes from ctest-vm1-test-16268933.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.182 ms --- ctest-vm1-test-16268933.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.182/0.936/2.417/1.047 ms 2025-08-10 11:56:41,324 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-16268933 passed 2025-08-10 11:56:41,324 - DEBUG - Deleting VDNS record data: test-rec 2025-08-10 11:56:41,404 - INFO - VDNS record info: default-domain:ctest-vdns1-75132785:test-rec deleted successfully. 2025-08-10 11:56:41,404 - INFO - Deleting VM ctest-vm2-test-26844213 2025-08-10 11:56:41,462 - INFO - Deleting VM ctest-vm1-test-16268933 2025-08-10 11:56:41,517 - INFO - Deleting VN ctest-vn1-vdns-89744759 2025-08-10 11:56:41,549 - DEBUG - VN 11d87ba8-b26f-4702-9f1f-4991802b8095 still in use: Unable to complete operation on network 11d87ba8-b26f-4702-9f1f-4991802b8095. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-330efb71-ebcf-4e82-944c-85c032c48975'] 2025-08-10 11:56:41,549 - WARNING - Deleting VN ctest-vn1-vdns-89744759 failed..Will retry 2025-08-10 11:56:43,747 - DEBUG - Response for deleting network () 2025-08-10 11:56:43,805 - DEBUG - Deleting VDNS Entry: ctest-vdns1-75132785 2025-08-10 11:56:43,892 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-75132785'] deleted successfully. 2025-08-10 11:56:43,892 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-10 11:56:43,898 - DEBUG - Requesting: http://10.0.0.49:8082/domain/506b9682-8eb9-488e-ab69-24d332f4d228 2025-08-10 11:56:43,911 - DEBUG - VDNS information not found in API server 2025-08-10 11:56:43,912 - INFO - VDNS information ctest-vdns1-75132785 removed from the API Server 2025-08-10 11:56:43,917 - INFO - VDNS information ctest-vdns1-75132785 removed in the Control node 2025-08-10 11:56:43,917 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-86978061'] 2025-08-10 11:56:45,154 - DEBUG - No XMPP flaps were noticed during the test 2025-08-10 11:56:45,154 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:49] 2025-08-10 11:56:45,154 - INFO - -------------------------------------------------------------------------------- 2025-08-10 11:56:45,891 - INFO - Deleted project: ctest-TestvDNSBasic0-86978061, ID : 8a45d075-244b-4952-8068-92ffdd2fda9d