2025-10-08 14:48:15,875 - INFO - Domain Default found not creating 2025-10-08 14:48:16,078 - INFO - Project ctest-TestvDNSBasic0-96457147 not found, creating it 2025-10-08 14:48:16,675 - INFO - Created Project:ctest-TestvDNSBasic0-96457147, ID : 84f46d3c-e2d2-4928-8665-2228a2ca562c 2025-10-08 14:48:18,504 - INFO - ================================================================================ 2025-10-08 14:48:18,505 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-10-08 14:48:18,505 - 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-10-08 14:48:19,805 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.249': '0', '10.20.0.252': '0'}, '10.0.0.241': {'10.20.0.252': '0', '10.20.0.249': '0'}} with 2025-10-08 14:48:19,805 - INFO - Initial checks done. Running the testcase now 2025-10-08 14:48:19,805 - INFO - 2025-10-08 14:48:20,673 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-96457147'](84f46d3c-e2d2-4928-8665-2228a2ca562c) 2025-10-08 14:48:20,728 - DEBUG - Creating VDNS : ctest-vdns1-54492829 2025-10-08 14:48:20,988 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-54492829'] created succesfully 2025-10-08 14:48:20,988 - DEBUG - Verify VDNS entry is shown in control node 2025-10-08 14:48:21,009 - DEBUG - Verify VDNS entry is shown in the API server 2025-10-08 14:48:21,009 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-10-08 14:48:21,375 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-10-08 14:48:21,424 - DEBUG - Requesting: http://10.0.0.133:8082/domain/adc52b80-2ed1-485c-90d4-83e78c8e1400 2025-10-08 14:48:21,449 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-DNS/2f5a6d5e-b4ac-42fc-a46f-1635a27f0ef7 2025-10-08 14:48:22,248 - DEBUG - Response for create_network : {'network': {'id': '997a14ac-969f-456b-952e-7c603d8eb7ed', 'name': 'ctest-vn1-vdns-04539604', 'tenant_id': '84f46d3ce2d2492886652228a2ca562c', 'project_id': '84f46d3ce2d2492886652228a2ca562c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-96457147', 'ctest-vn1-vdns-04539604'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 14:48:22,612 - DEBUG - Response for create_subnet : {'subnet': {'id': '472f93b7-782a-4f49-86c0-cfd8d0bdebc0', 'name': '', 'tenant_id': '84f46d3ce2d2492886652228a2ca562c', 'network_id': '997a14ac-969f-456b-952e-7c603d8eb7ed', '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': '84f46d3ce2d2492886652228a2ca562c'}} 2025-10-08 14:48:22,645 - INFO - Created VN ctest-vn1-vdns-04539604 2025-10-08 14:48:22,659 - DEBUG - VN ctest-vn1-vdns-04539604 UUID is 997a14ac-969f-456b-952e-7c603d8eb7ed 2025-10-08 14:48:22,908 - DEBUG - Services list from nova: [, , , ] 2025-10-08 14:48:24,159 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-2) 2025-10-08 14:48:24,159 - INFO - Waiting for VM ctest-vm1-test-58065854 to be up.. 2025-10-08 14:48:24,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 14:48:29,325 - DEBUG - VM is in ACTIVE state now 2025-10-08 14:48:29,325 - INFO - VM name : ctest-vm1-test-58065854 2025-10-08 14:48:29,424 - DEBUG - VM ctest-vm1-test-58065854 ID is 04cb6a28-8f5b-4e42-b3a8-04409008ab27 2025-10-08 14:48:29,425 - DEBUG - VM ctest-vm1-test-58065854 launched on Node an-jenkins-deploy-platform-ansible-os-4236-2 2025-10-08 14:48:29,531 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/04cb6a28-8f5b-4e42-b3a8-04409008ab27 2025-10-08 14:48:29,846 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/04cb6a28-8f5b-4e42-b3a8-04409008ab27 2025-10-08 14:48:29,888 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c3e40cf6-59c5-49c3-a5f2-2a10afd0550f 2025-10-08 14:48:33,100 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2025-10-08 14:48:33,100 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-58065854 failed! 2025-10-08 14:48:33,118 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:48:37,194 - 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-10-08 14:48:37,194 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-58065854 failed! 2025-10-08 14:48:37,217 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:48:41,285 - 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 1006ms') 2025-10-08 14:48:41,285 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-58065854 failed! 2025-10-08 14:48:41,307 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:48:45,385 - 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-10-08 14:48:45,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-58065854 failed! 2025-10-08 14:48:45,408 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:48:49,511 - 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 1032ms') 2025-10-08 14:48:49,511 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-58065854 failed! 2025-10-08 14:48:49,528 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:48:53,609 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2025-10-08 14:48:53,609 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-58065854 failed! 2025-10-08 14:48:53,625 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:48:57,702 - 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') 2025-10-08 14:48:57,702 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-58065854 failed! 2025-10-08 14:48:57,724 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:49:01,800 - 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') 2025-10-08 14:49:01,800 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-58065854 failed! 2025-10-08 14:49:01,818 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:49:05,900 - 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') 2025-10-08 14:49:05,900 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-58065854 failed! 2025-10-08 14:49:05,916 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:49:07,974 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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 = 1.065/3.730/6.395/2.665 ms') 2025-10-08 14:49:07,974 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-58065854 passed 2025-10-08 14:49:08,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:49:08,045 - DEBUG - Waiting to SSH to VM ctest-vm1-test-58065854, IP 10.10.10.3, Port 22 2025-10-08 14:49:08,115 - 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-10-08 14:49:08,210 - DEBUG - VM ctest-vm1-test-58065854 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 14:49:13,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:49:13,211 - DEBUG - Waiting to SSH to VM ctest-vm1-test-58065854, IP 10.10.10.3, Port 22 2025-10-08 14:49:13,279 - 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-10-08 14:49:13,371 - DEBUG - VM ctest-vm1-test-58065854 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 14:49:18,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:49:18,372 - DEBUG - Waiting to SSH to VM ctest-vm1-test-58065854, IP 10.10.10.3, Port 22 2025-10-08 14:49:18,429 - 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-10-08 14:49:18,547 - DEBUG - VM ctest-vm1-test-58065854 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 14:49:23,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:49:23,548 - DEBUG - Waiting to SSH to VM ctest-vm1-test-58065854, IP 10.10.10.3, Port 22 2025-10-08 14:49:23,606 - 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-10-08 14:49:23,703 - DEBUG - VM ctest-vm1-test-58065854 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 14:49:28,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:49:28,704 - DEBUG - Waiting to SSH to VM ctest-vm1-test-58065854, IP 10.10.10.3, Port 22 2025-10-08 14:49:28,884 - DEBUG - VM ctest-vm1-test-58065854 is ready for SSH connections 2025-10-08 14:49:28,884 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-08 14:49:28,884 - DEBUG - ifconfig | grep 10.10.10.3 2025-10-08 14:49:49,219 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-08 14:49:49,219 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-58065854", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-08 14:49:49,219 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-58065854", None, socket.AF_INET6)' 2025-10-08 14:49:50,906 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-58065854, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-08 14:49:50,906 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-58065854 2025-10-08 14:49:53,431 - DEBUG - PING ctest-vm1-test-58065854.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-58065854.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.68 ms 64 bytes from ctest-vm1-test-58065854.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.209 ms 64 bytes from ctest-vm1-test-58065854.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.211 ms --- ctest-vm1-test-58065854.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.209/1.367/3.681/1.636 ms 2025-10-08 14:49:53,431 - INFO - Ping to IP ctest-vm1-test-58065854 from VM ctest-vm1-test-58065854 passed 2025-10-08 14:49:53,457 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-08 14:49:53,465 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54492829@0%20AllEntriesVdnsRecordsReq 2025-10-08 14:49:53,472 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-08 14:49:53,478 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54492829@0%20AllEntriesVdnsRecordsReq 2025-10-08 14:49:53,485 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-08 14:49:53,491 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54492829@0%20AllEntriesVdnsRecordsReq 2025-10-08 14:49:53,500 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54492829:1:ctest-vm1-test-58065854:10.10.10.3', 'rec_name': 'ctest-vm1-test-58065854', '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-4236-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-58065854.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-08 14:49:53,500 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54492829:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-58065854', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-58065854', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4236-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-58065854.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-10-08 14:49:54,951 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-1) 2025-10-08 14:49:54,951 - INFO - Waiting for VM ctest-vm2-test-19559151 to be up.. 2025-10-08 14:49:55,009 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 14:50:00,100 - DEBUG - VM is in ACTIVE state now 2025-10-08 14:50:00,100 - INFO - VM name : ctest-vm2-test-19559151 2025-10-08 14:50:00,210 - DEBUG - VM ctest-vm2-test-19559151 ID is a86f4b09-b665-412e-b139-a675ac6fa15e 2025-10-08 14:50:00,210 - DEBUG - VM ctest-vm2-test-19559151 launched on Node an-jenkins-deploy-platform-ansible-os-4236-1 2025-10-08 14:50:00,311 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a86f4b09-b665-412e-b139-a675ac6fa15e 2025-10-08 14:50:00,322 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f8b3e3b2-1e2e-47b6-8a7b-9eac22886ea3 2025-10-08 14:50:03,520 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2025-10-08 14:50:03,520 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19559151 failed! 2025-10-08 14:50:03,543 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:50:07,618 - 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 1001ms') 2025-10-08 14:50:07,618 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19559151 failed! 2025-10-08 14:50:07,638 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:50:11,713 - 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-10-08 14:50:11,713 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19559151 failed! 2025-10-08 14:50:11,729 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:50:15,810 - 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') 2025-10-08 14:50:15,810 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19559151 failed! 2025-10-08 14:50:15,832 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:50:19,901 - 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 1007ms') 2025-10-08 14:50:19,901 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19559151 failed! 2025-10-08 14:50:19,918 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:50:23,993 - 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') 2025-10-08 14:50:23,994 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19559151 failed! 2025-10-08 14:50:24,008 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:50:28,096 - 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-10-08 14:50:28,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19559151 failed! 2025-10-08 14:50:28,111 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:50:32,186 - 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') 2025-10-08 14:50:32,186 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19559151 failed! 2025-10-08 14:50:32,201 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96457147:ctest-vn1-vdns-04539604 is 10.10.10.1 and allocation pool is NOT set 2025-10-08 14:50:34,270 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.91 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.912/5.001/7.090/2.089 ms') 2025-10-08 14:50:34,270 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19559151 passed 2025-10-08 14:50:34,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:50:34,344 - DEBUG - Waiting to SSH to VM ctest-vm2-test-19559151, IP 10.10.10.4, Port 22 2025-10-08 14:50:34,399 - 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-10-08 14:50:34,503 - DEBUG - VM ctest-vm2-test-19559151 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 14:50:39,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:50:39,504 - DEBUG - Waiting to SSH to VM ctest-vm2-test-19559151, IP 10.10.10.4, Port 22 2025-10-08 14:50:39,574 - 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-10-08 14:50:39,671 - DEBUG - VM ctest-vm2-test-19559151 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 14:50:44,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:50:44,672 - DEBUG - Waiting to SSH to VM ctest-vm2-test-19559151, IP 10.10.10.4, Port 22 2025-10-08 14:50:44,728 - 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-10-08 14:50:44,822 - DEBUG - VM ctest-vm2-test-19559151 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 14:50:49,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:50:49,823 - DEBUG - Waiting to SSH to VM ctest-vm2-test-19559151, IP 10.10.10.4, Port 22 2025-10-08 14:50:49,879 - 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-10-08 14:50:49,985 - DEBUG - VM ctest-vm2-test-19559151 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 14:50:54,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:50:54,986 - DEBUG - Waiting to SSH to VM ctest-vm2-test-19559151, IP 10.10.10.4, Port 22 2025-10-08 14:50:55,154 - DEBUG - VM ctest-vm2-test-19559151 is ready for SSH connections 2025-10-08 14:50:55,155 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-10-08 14:50:55,155 - DEBUG - ifconfig | grep 10.10.10.4 2025-10-08 14:51:14,086 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-08 14:51:14,087 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19559151", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-10-08 14:51:14,087 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19559151", None, socket.AF_INET6)' 2025-10-08 14:51:15,765 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-19559151, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-10-08 14:51:15,765 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-19559151 2025-10-08 14:51:18,360 - DEBUG - PING ctest-vm2-test-19559151.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-19559151.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.50 ms 64 bytes from ctest-vm2-test-19559151.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=3.22 ms 64 bytes from ctest-vm2-test-19559151.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.183 ms --- ctest-vm2-test-19559151.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.183/2.639/4.508/1.813 ms 2025-10-08 14:51:18,361 - INFO - Ping to IP ctest-vm2-test-19559151 from VM ctest-vm2-test-19559151 passed 2025-10-08 14:51:18,385 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-08 14:51:18,394 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54492829@0%20AllEntriesVdnsRecordsReq 2025-10-08 14:51:18,401 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-08 14:51:18,408 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54492829@0%20AllEntriesVdnsRecordsReq 2025-10-08 14:51:18,414 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-08 14:51:18,422 - DEBUG - Requesting: http://10.0.0.133:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54492829@0%20AllEntriesVdnsRecordsReq 2025-10-08 14:51:18,430 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54492829:1:ctest-vm2-test-19559151:10.10.10.4', 'rec_name': 'ctest-vm2-test-19559151', '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-4236-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-19559151.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-08 14:51:18,430 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54492829:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-19559151', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-19559151', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4236-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-19559151.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-10-08 14:51:18,430 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19559151", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-08 14:51:18,430 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19559151", None, socket.AF_INET6)' 2025-10-08 14:51:19,656 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-19559151, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-08 14:51:19,656 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-19559151 2025-10-08 14:51:22,214 - DEBUG - PING ctest-vm2-test-19559151.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-19559151.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=11.4 ms 64 bytes from ctest-vm2-test-19559151.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.34 ms 64 bytes from ctest-vm2-test-19559151.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=3.27 ms --- ctest-vm2-test-19559151.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.343/5.367/11.487/4.398 ms 2025-10-08 14:51:22,215 - INFO - Ping to IP ctest-vm2-test-19559151 from VM ctest-vm1-test-58065854 passed 2025-10-08 14:51:22,215 - INFO - Try deleting the VDNS entry ctest-vdns1-54492829 with back ref of ipam. 2025-10-08 14:51:22,284 - DEBUG - Delete when resource still referred: ['http://10.0.0.242:8082/network-ipam/d05de955-8df8-4c60-bec8-9d9a96c16e7b'] 2025-10-08 14:51:22,284 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-10-08 14:51:22,285 - INFO - Add CNAME VDNS record for ctest-vm1-test-58065854 and verify we able to ping by alias name 2025-10-08 14:51:22,336 - DEBUG - Creating VDNS record data : test-rec 2025-10-08 14:51:22,468 - INFO - In verify_on_setup 2025-10-08 14:51:22,568 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-54492829', 'test-rec'] created succesfully 2025-10-08 14:51:22,568 - INFO - Verify VDNS record is shown in the API server 2025-10-08 14:51:22,569 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-10-08 14:51:22,579 - DEBUG - Requesting: http://10.0.0.133:8082/domain/adc52b80-2ed1-485c-90d4-83e78c8e1400 2025-10-08 14:51:22,595 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-DNS/2f5a6d5e-b4ac-42fc-a46f-1635a27f0ef7 2025-10-08 14:51:22,609 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-DNS-record/105cbf35-91cb-4378-9106-ebd2fb092f90 2025-10-08 14:51:22,620 - INFO - Verify VDNS record is shown in the control node 2025-10-08 14:51:22,643 - 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.241, gateway password: c0ntrail123 2025-10-08 14:51:22,643 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-08 14:51:23,841 - 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.241, gateway password: c0ntrail123 2025-10-08 14:51:23,841 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-08 14:51:24,340 - DEBUG - ping: unknown host vm1-test-alias 2025-10-08 14:51:24,340 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-58065854 failed 2025-10-08 14:51:25,341 - 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.241, gateway password: c0ntrail123 2025-10-08 14:51:25,342 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-08 14:51:26,548 - 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.241, gateway password: c0ntrail123 2025-10-08 14:51:26,548 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-08 14:51:29,097 - DEBUG - PING ctest-vm1-test-58065854.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-58065854.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.89 ms 64 bytes from ctest-vm1-test-58065854.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.238 ms 64 bytes from ctest-vm1-test-58065854.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.204 ms --- ctest-vm1-test-58065854.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.204/1.112/2.896/1.261 ms 2025-10-08 14:51:29,097 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-58065854 passed 2025-10-08 14:51:29,097 - DEBUG - Deleting VDNS record data: test-rec 2025-10-08 14:51:29,196 - INFO - VDNS record info: default-domain:ctest-vdns1-54492829:test-rec deleted successfully. 2025-10-08 14:51:29,197 - INFO - Deleting VM ctest-vm2-test-19559151 2025-10-08 14:51:29,308 - INFO - Deleting VM ctest-vm1-test-58065854 2025-10-08 14:51:29,415 - INFO - Deleting VN ctest-vn1-vdns-04539604 2025-10-08 14:51:29,470 - DEBUG - VN 997a14ac-969f-456b-952e-7c603d8eb7ed still in use: Unable to complete operation on network 997a14ac-969f-456b-952e-7c603d8eb7ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8aee8ee-0ceb-4eab-bf00-b4803180331f'] 2025-10-08 14:51:29,470 - WARNING - Deleting VN ctest-vn1-vdns-04539604 failed..Will retry 2025-10-08 14:51:31,699 - DEBUG - Response for deleting network () 2025-10-08 14:51:31,778 - DEBUG - Deleting VDNS Entry: ctest-vdns1-54492829 2025-10-08 14:51:31,868 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-54492829'] deleted successfully. 2025-10-08 14:51:31,868 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-10-08 14:51:31,879 - DEBUG - Requesting: http://10.0.0.133:8082/domain/adc52b80-2ed1-485c-90d4-83e78c8e1400 2025-10-08 14:51:31,899 - DEBUG - VDNS information not found in API server 2025-10-08 14:51:31,899 - INFO - VDNS information ctest-vdns1-54492829 removed from the API Server 2025-10-08 14:51:31,904 - INFO - VDNS information ctest-vdns1-54492829 removed in the Control node 2025-10-08 14:51:31,905 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-96457147'] 2025-10-08 14:51:33,199 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 14:51:33,199 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:15]
2025-10-08 14:51:33,199 - INFO - -------------------------------------------------------------------------------- 2025-10-08 14:51:33,996 - INFO - Deleted project: ctest-TestvDNSBasic0-96457147, ID : 84f46d3c-e2d2-4928-8665-2228a2ca562c