2025-10-30 00:06:38,872 - INFO - Domain Default found not creating 2025-10-30 00:06:39,041 - INFO - Project ctest-TestvDNSBasic0-50742282 not found, creating it 2025-10-30 00:06:39,546 - INFO - Created Project:ctest-TestvDNSBasic0-50742282, ID : d400ae5f-5158-4d00-a132-ef3c31e72442 2025-10-30 00:06:41,102 - INFO - ================================================================================ 2025-10-30 00:06:41,102 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-10-30 00:06:41,102 - 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-30 00:06:42,427 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0', '10.20.0.5': '0'}, '10.0.0.33': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-10-30 00:06:42,427 - INFO - Initial checks done. Running the testcase now 2025-10-30 00:06:42,427 - INFO - 2025-10-30 00:06:43,137 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-50742282'](d400ae5f-5158-4d00-a132-ef3c31e72442) 2025-10-30 00:06:43,194 - DEBUG - Creating VDNS : ctest-vdns1-86137804 2025-10-30 00:06:43,422 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-86137804'] created succesfully 2025-10-30 00:06:43,423 - DEBUG - Verify VDNS entry is shown in control node 2025-10-30 00:06:43,443 - DEBUG - Verify VDNS entry is shown in the API server 2025-10-30 00:06:43,443 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 00:06:43,739 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 00:06:43,772 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0f965a2d-727a-40b2-a2d7-c44e752d08a7 2025-10-30 00:06:43,812 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/71cea9bf-8b7e-48dd-a522-b7fd4e780d4d 2025-10-30 00:06:44,479 - DEBUG - Response for create_network : {'network': {'id': 'd4099263-2893-4341-8bf4-3528188b147f', 'name': 'ctest-vn1-vdns-00133965', 'tenant_id': 'd400ae5f51584d00a132ef3c31e72442', 'project_id': 'd400ae5f51584d00a132ef3c31e72442', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-50742282', 'ctest-vn1-vdns-00133965'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 00:06:44,774 - DEBUG - Response for create_subnet : {'subnet': {'id': '51df4642-ce74-425a-a892-e25f7f4a79d0', 'name': '', 'tenant_id': 'd400ae5f51584d00a132ef3c31e72442', 'network_id': 'd4099263-2893-4341-8bf4-3528188b147f', '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': 'd400ae5f51584d00a132ef3c31e72442'}} 2025-10-30 00:06:44,795 - INFO - Created VN ctest-vn1-vdns-00133965 2025-10-30 00:06:44,810 - DEBUG - VN ctest-vn1-vdns-00133965 UUID is d4099263-2893-4341-8bf4-3528188b147f 2025-10-30 00:06:44,979 - DEBUG - Services list from nova: [, , , ] 2025-10-30 00:06:46,039 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4529-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4529-1) 2025-10-30 00:06:46,039 - INFO - Waiting for VM ctest-vm1-test-38320768 to be up.. 2025-10-30 00:06:46,093 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 00:06:51,214 - DEBUG - VM is in ACTIVE state now 2025-10-30 00:06:51,215 - INFO - VM name : ctest-vm1-test-38320768 2025-10-30 00:06:51,294 - DEBUG - VM ctest-vm1-test-38320768 ID is c3303ac3-0b23-4ade-85cd-4bb9732159d2 2025-10-30 00:06:51,294 - DEBUG - VM ctest-vm1-test-38320768 launched on Node an-jenkins-deploy-platform-ansible-os-4529-1 2025-10-30 00:06:51,374 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c3303ac3-0b23-4ade-85cd-4bb9732159d2 2025-10-30 00:06:51,682 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c3303ac3-0b23-4ade-85cd-4bb9732159d2 2025-10-30 00:06:51,717 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b97f48d5-24a8-4d1a-b05f-c4b71f856556 2025-10-30 00:06:54,902 - 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-30 00:06:54,902 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38320768 failed! 2025-10-30 00:06:54,916 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:06:59,001 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2025-10-30 00:06:59,001 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38320768 failed! 2025-10-30 00:06:59,015 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:07:03,099 - 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-30 00:07:03,099 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38320768 failed! 2025-10-30 00:07:03,112 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:07:07,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 1015ms') 2025-10-30 00:07:07,194 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38320768 failed! 2025-10-30 00:07:07,209 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:07:11,288 - 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-30 00:07:11,288 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38320768 failed! 2025-10-30 00:07:11,302 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:07:15,377 - 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-30 00:07:15,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38320768 failed! 2025-10-30 00:07:15,397 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:07:19,475 - 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-30 00:07:19,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38320768 failed! 2025-10-30 00:07:19,491 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:07:23,568 - 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-30 00:07:23,568 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38320768 failed! 2025-10-30 00:07:23,582 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:07:25,650 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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.223/3.359/5.496/2.136 ms') 2025-10-30 00:07:25,650 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38320768 passed 2025-10-30 00:07:25,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 00:07:25,715 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38320768, IP 10.10.10.3, Port 22 2025-10-30 00:07:25,783 - 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-30 00:07:25,872 - DEBUG - VM ctest-vm1-test-38320768 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 00:07:30,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 00:07:30,873 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38320768, IP 10.10.10.3, Port 22 2025-10-30 00:07:30,938 - 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-30 00:07:31,024 - DEBUG - VM ctest-vm1-test-38320768 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 00:07:36,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 00:07:36,025 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38320768, IP 10.10.10.3, Port 22 2025-10-30 00:07:36,091 - 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-30 00:07:36,183 - DEBUG - VM ctest-vm1-test-38320768 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 00:07:41,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 00:07:41,184 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38320768, IP 10.10.10.3, Port 22 2025-10-30 00:07:41,250 - 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-30 00:07:41,335 - DEBUG - VM ctest-vm1-test-38320768 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 00:07:46,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 00:07:46,336 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38320768, IP 10.10.10.3, Port 22 2025-10-30 00:07:46,496 - DEBUG - VM ctest-vm1-test-38320768 is ready for SSH connections 2025-10-30 00:07:46,496 - 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-10-30 00:07:46,496 - DEBUG - ifconfig | grep 10.10.10.3 2025-10-30 00:08:04,319 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-30 00:08:04,320 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-38320768", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 00:08:04,320 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-38320768", None, socket.AF_INET6)' 2025-10-30 00:08:05,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-38320768, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 00:08:05,557 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-38320768 2025-10-30 00:08:08,047 - DEBUG - PING ctest-vm1-test-38320768.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-38320768.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.28 ms 64 bytes from ctest-vm1-test-38320768.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.37 ms 64 bytes from ctest-vm1-test-38320768.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.194 ms --- ctest-vm1-test-38320768.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.194/2.287/4.289/1.673 ms 2025-10-30 00:08:08,047 - INFO - Ping to IP ctest-vm1-test-38320768 from VM ctest-vm1-test-38320768 passed 2025-10-30 00:08:08,069 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-30 00:08:08,076 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-86137804@0%20AllEntriesVdnsRecordsReq 2025-10-30 00:08:08,082 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-30 00:08:08,087 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-86137804@0%20AllEntriesVdnsRecordsReq 2025-10-30 00:08:08,092 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-30 00:08:08,097 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-86137804@0%20AllEntriesVdnsRecordsReq 2025-10-30 00:08:08,103 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-86137804:1:ctest-vm1-test-38320768:10.10.10.3', 'rec_name': 'ctest-vm1-test-38320768', '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-4529-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-38320768.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-30 00:08:08,103 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-86137804:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-38320768', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-38320768', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4529-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-38320768.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-30 00:08:09,404 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4529-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4529-2) 2025-10-30 00:08:09,404 - INFO - Waiting for VM ctest-vm2-test-40377822 to be up.. 2025-10-30 00:08:09,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 00:08:14,543 - DEBUG - VM is in ACTIVE state now 2025-10-30 00:08:14,543 - INFO - VM name : ctest-vm2-test-40377822 2025-10-30 00:08:14,649 - DEBUG - VM ctest-vm2-test-40377822 ID is 01848e86-1fe6-48b2-978c-f3751c93293f 2025-10-30 00:08:14,649 - DEBUG - VM ctest-vm2-test-40377822 launched on Node an-jenkins-deploy-platform-ansible-os-4529-2 2025-10-30 00:08:14,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/01848e86-1fe6-48b2-978c-f3751c93293f 2025-10-30 00:08:14,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c1ad5345-abcd-47f2-a046-c8b15691d725 2025-10-30 00:08:17,971 - 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-30 00:08:17,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40377822 failed! 2025-10-30 00:08:17,987 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:08:22,066 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-10-30 00:08:22,066 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40377822 failed! 2025-10-30 00:08:22,079 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:08:26,161 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2025-10-30 00:08:26,161 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40377822 failed! 2025-10-30 00:08:26,175 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:08:30,264 - 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-10-30 00:08:30,264 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40377822 failed! 2025-10-30 00:08:30,279 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:08:34,388 - 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-30 00:08:34,388 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40377822 failed! 2025-10-30 00:08:34,400 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:08:38,486 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-10-30 00:08:38,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40377822 failed! 2025-10-30 00:08:38,499 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:08:42,578 - 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 1005ms') 2025-10-30 00:08:42,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40377822 failed! 2025-10-30 00:08:42,593 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:08:46,712 - 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-10-30 00:08:46,712 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40377822 failed! 2025-10-30 00:08:46,727 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:08:50,806 - 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-30 00:08:50,806 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40377822 failed! 2025-10-30 00:08:50,823 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50742282:ctest-vn1-vdns-00133965 is 10.10.10.1 and allocation pool is NOT set 2025-10-30 00:08:52,920 - 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=9.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.24 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.242/5.763/9.284/3.521 ms') 2025-10-30 00:08:52,920 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40377822 passed 2025-10-30 00:08:52,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 00:08:52,986 - DEBUG - Waiting to SSH to VM ctest-vm2-test-40377822, IP 10.10.10.4, Port 22 2025-10-30 00:08:53,064 - 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-30 00:08:53,159 - DEBUG - VM ctest-vm2-test-40377822 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 00:08:58,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 00:08:58,160 - DEBUG - Waiting to SSH to VM ctest-vm2-test-40377822, IP 10.10.10.4, Port 22 2025-10-30 00:08:58,229 - 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-30 00:08:58,323 - DEBUG - VM ctest-vm2-test-40377822 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 00:09:03,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 00:09:03,324 - DEBUG - Waiting to SSH to VM ctest-vm2-test-40377822, IP 10.10.10.4, Port 22 2025-10-30 00:09:03,393 - 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-30 00:09:03,482 - DEBUG - VM ctest-vm2-test-40377822 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 00:09:08,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 00:09:08,483 - DEBUG - Waiting to SSH to VM ctest-vm2-test-40377822, IP 10.10.10.4, Port 22 2025-10-30 00:09:08,576 - 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-30 00:09:08,659 - DEBUG - VM ctest-vm2-test-40377822 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 00:09:13,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 00:09:13,661 - DEBUG - Waiting to SSH to VM ctest-vm2-test-40377822, IP 10.10.10.4, Port 22 2025-10-30 00:09:13,847 - DEBUG - VM ctest-vm2-test-40377822 is ready for SSH connections 2025-10-30 00:09:13,847 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-30 00:09:13,848 - DEBUG - ifconfig | grep 10.10.10.4 2025-10-30 00:09:36,263 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-30 00:09:36,263 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40377822", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-30 00:09:36,263 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40377822", None, socket.AF_INET6)' 2025-10-30 00:09:39,194 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-40377822, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-30 00:09:39,194 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-40377822 2025-10-30 00:09:42,284 - DEBUG - PING ctest-vm2-test-40377822.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-40377822.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.63 ms 64 bytes from ctest-vm2-test-40377822.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.820 ms 64 bytes from ctest-vm2-test-40377822.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.491 ms --- ctest-vm2-test-40377822.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2006ms rtt min/avg/max/mdev = 0.491/1.649/3.638/1.413 ms 2025-10-30 00:09:42,284 - INFO - Ping to IP ctest-vm2-test-40377822 from VM ctest-vm2-test-40377822 passed 2025-10-30 00:09:42,323 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-30 00:09:42,330 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-86137804@0%20AllEntriesVdnsRecordsReq 2025-10-30 00:09:42,336 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-30 00:09:42,341 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-86137804@0%20AllEntriesVdnsRecordsReq 2025-10-30 00:09:42,346 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-30 00:09:42,350 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-86137804@0%20AllEntriesVdnsRecordsReq 2025-10-30 00:09:42,355 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-86137804:1:ctest-vm2-test-40377822:10.10.10.4', 'rec_name': 'ctest-vm2-test-40377822', '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-4529-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-40377822.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-30 00:09:42,355 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-86137804:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-40377822', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-40377822', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4529-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-40377822.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-30 00:09:42,356 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40377822", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 00:09:42,356 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40377822", None, socket.AF_INET6)' 2025-10-30 00:09:43,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-40377822, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 00:09:43,483 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-40377822 2025-10-30 00:09:46,033 - DEBUG - PING ctest-vm2-test-40377822.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-40377822.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=26.6 ms 64 bytes from ctest-vm2-test-40377822.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.40 ms 64 bytes from ctest-vm2-test-40377822.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=2.61 ms --- ctest-vm2-test-40377822.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.406/10.239/26.696/11.647 ms 2025-10-30 00:09:46,033 - INFO - Ping to IP ctest-vm2-test-40377822 from VM ctest-vm1-test-38320768 passed 2025-10-30 00:09:46,033 - INFO - Try deleting the VDNS entry ctest-vdns1-86137804 with back ref of ipam. 2025-10-30 00:09:46,090 - DEBUG - Delete when resource still referred: ['http://10.0.0.38:8082/network-ipam/3ab8175b-2424-400d-b982-a3bc6194c50c'] 2025-10-30 00:09:46,090 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-10-30 00:09:46,090 - INFO - Add CNAME VDNS record for ctest-vm1-test-38320768 and verify we able to ping by alias name 2025-10-30 00:09:46,138 - DEBUG - Creating VDNS record data : test-rec 2025-10-30 00:09:46,262 - INFO - In verify_on_setup 2025-10-30 00:09:46,358 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-86137804', 'test-rec'] created succesfully 2025-10-30 00:09:46,358 - INFO - Verify VDNS record is shown in the API server 2025-10-30 00:09:46,358 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 00:09:46,366 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0f965a2d-727a-40b2-a2d7-c44e752d08a7 2025-10-30 00:09:46,381 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/71cea9bf-8b7e-48dd-a522-b7fd4e780d4d 2025-10-30 00:09:46,391 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS-record/ae37ab0f-35e6-44d6-84e1-c89f26e53621 2025-10-30 00:09:46,397 - INFO - Verify VDNS record is shown in the control node 2025-10-30 00:09:46,415 - 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-10-30 00:09:46,416 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-30 00:09:47,562 - 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-10-30 00:09:47,562 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-30 00:09:48,044 - DEBUG - ping: unknown host vm1-test-alias 2025-10-30 00:09:48,044 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-38320768 failed 2025-10-30 00:09:49,045 - 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-10-30 00:09:49,046 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-30 00:09:50,132 - 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-10-30 00:09:50,132 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-30 00:09:52,658 - DEBUG - PING ctest-vm1-test-38320768.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-38320768.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.245 ms 64 bytes from ctest-vm1-test-38320768.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.188 ms 64 bytes from ctest-vm1-test-38320768.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.199 ms --- ctest-vm1-test-38320768.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.188/0.210/0.245/0.029 ms 2025-10-30 00:09:52,658 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-38320768 passed 2025-10-30 00:09:52,658 - DEBUG - Deleting VDNS record data: test-rec 2025-10-30 00:09:52,738 - INFO - VDNS record info: default-domain:ctest-vdns1-86137804:test-rec deleted successfully. 2025-10-30 00:09:52,739 - INFO - Deleting VM ctest-vm2-test-40377822 2025-10-30 00:09:52,831 - INFO - Deleting VM ctest-vm1-test-38320768 2025-10-30 00:09:52,915 - INFO - Deleting VN ctest-vn1-vdns-00133965 2025-10-30 00:09:52,960 - DEBUG - VN d4099263-2893-4341-8bf4-3528188b147f still in use: Unable to complete operation on network d4099263-2893-4341-8bf4-3528188b147f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-219b3fc6-2ad8-45a2-b449-b39d1f0f4ffb'] 2025-10-30 00:09:52,961 - WARNING - Deleting VN ctest-vn1-vdns-00133965 failed..Will retry 2025-10-30 00:09:55,205 - DEBUG - Response for deleting network () 2025-10-30 00:09:55,254 - DEBUG - Deleting VDNS Entry: ctest-vdns1-86137804 2025-10-30 00:09:55,346 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-86137804'] deleted successfully. 2025-10-30 00:09:55,346 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 00:09:55,356 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0f965a2d-727a-40b2-a2d7-c44e752d08a7 2025-10-30 00:09:55,371 - DEBUG - VDNS information not found in API server 2025-10-30 00:09:55,371 - INFO - VDNS information ctest-vdns1-86137804 removed from the API Server 2025-10-30 00:09:55,378 - INFO - VDNS information ctest-vdns1-86137804 removed in the Control node 2025-10-30 00:09:55,378 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-50742282'] 2025-10-30 00:09:56,697 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 00:09:56,697 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:15] 2025-10-30 00:09:56,697 - INFO - -------------------------------------------------------------------------------- 2025-10-30 00:09:57,438 - INFO - Deleted project: ctest-TestvDNSBasic0-50742282, ID : d400ae5f-5158-4d00-a132-ef3c31e72442