2025-10-27 03:19:37,576 - INFO - Domain Default found not creating 2025-10-27 03:19:37,752 - INFO - Project ctest-TestvDNSBasic0-30187221 not found, creating it 2025-10-27 03:19:38,290 - INFO - Created Project:ctest-TestvDNSBasic0-30187221, ID : 87a24a36-81a9-4b40-996e-67490f6005a3 2025-10-27 03:19:39,994 - INFO - ================================================================================ 2025-10-27 03:19:39,994 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-10-27 03:19:39,994 - 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-27 03:19:41,263 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.131': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-10-27 03:19:41,263 - INFO - Initial checks done. Running the testcase now 2025-10-27 03:19:41,263 - INFO - 2025-10-27 03:19:41,982 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-30187221'](87a24a36-81a9-4b40-996e-67490f6005a3) 2025-10-27 03:19:42,033 - DEBUG - Creating VDNS : ctest-vdns1-43277612 2025-10-27 03:19:42,269 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-43277612'] created succesfully 2025-10-27 03:19:42,269 - DEBUG - Verify VDNS entry is shown in control node 2025-10-27 03:19:42,286 - DEBUG - Verify VDNS entry is shown in the API server 2025-10-27 03:19:42,286 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 03:19:42,583 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 03:19:42,616 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 03:19:42,633 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/3c70d3b1-e846-47b1-99bd-530860dd70e8 2025-10-27 03:19:43,330 - DEBUG - Response for create_network : {'network': {'id': '8b944a79-288d-4e71-aee3-4ee94e1dc1b1', 'name': 'ctest-vn1-vdns-40385235', 'tenant_id': '87a24a3681a94b40996e67490f6005a3', 'project_id': '87a24a3681a94b40996e67490f6005a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-30187221', 'ctest-vn1-vdns-40385235'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 03:19:43,620 - DEBUG - Response for create_subnet : {'subnet': {'id': '497c7e8a-5eb7-41f5-8aa0-d1184a4dfc83', 'name': '', 'tenant_id': '87a24a3681a94b40996e67490f6005a3', 'network_id': '8b944a79-288d-4e71-aee3-4ee94e1dc1b1', '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': '87a24a3681a94b40996e67490f6005a3'}} 2025-10-27 03:19:43,651 - INFO - Created VN ctest-vn1-vdns-40385235 2025-10-27 03:19:43,661 - DEBUG - VN ctest-vn1-vdns-40385235 UUID is 8b944a79-288d-4e71-aee3-4ee94e1dc1b1 2025-10-27 03:19:43,845 - DEBUG - Services list from nova: [, , , ] 2025-10-27 03:19:44,983 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4489-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4489-2) 2025-10-27 03:19:44,983 - INFO - Waiting for VM ctest-vm1-test-79819178 to be up.. 2025-10-27 03:19:45,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 03:19:50,134 - DEBUG - VM is in ACTIVE state now 2025-10-27 03:19:50,134 - INFO - VM name : ctest-vm1-test-79819178 2025-10-27 03:19:50,217 - DEBUG - VM ctest-vm1-test-79819178 ID is 9b97d93f-6832-4d12-a454-81d69cb90127 2025-10-27 03:19:50,217 - DEBUG - VM ctest-vm1-test-79819178 launched on Node an-jenkins-deploy-platform-ansible-os-4489-2 2025-10-27 03:19:50,312 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/9b97d93f-6832-4d12-a454-81d69cb90127 2025-10-27 03:19:50,626 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/9b97d93f-6832-4d12-a454-81d69cb90127 2025-10-27 03:19:50,659 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/8f6505dd-362d-483e-b108-81ac52e85d86 2025-10-27 03:19:53,850 - 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-27 03:19:53,850 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79819178 failed! 2025-10-27 03:19:53,868 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:19:57,949 - 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-27 03:19:57,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79819178 failed! 2025-10-27 03:19:57,964 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:20:02,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 1017ms') 2025-10-27 03:20:02,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79819178 failed! 2025-10-27 03:20:02,053 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:20:06,143 - 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-27 03:20:06,144 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79819178 failed! 2025-10-27 03:20:06,160 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:20:10,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 1012ms') 2025-10-27 03:20:10,234 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79819178 failed! 2025-10-27 03:20:10,248 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:20:14,331 - 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-27 03:20:14,332 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79819178 failed! 2025-10-27 03:20:14,356 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:20:18,430 - 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-27 03:20:18,430 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79819178 failed! 2025-10-27 03:20:18,444 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:20:22,523 - 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-27 03:20:22,523 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79819178 failed! 2025-10-27 03:20:22,537 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:20:26,616 - 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-27 03:20:26,617 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79819178 failed! 2025-10-27 03:20:26,630 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:20:28,697 - 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.74 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.068/3.904/6.740/2.836 ms') 2025-10-27 03:20:28,697 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79819178 passed 2025-10-27 03:20:28,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:20:28,765 - DEBUG - Waiting to SSH to VM ctest-vm1-test-79819178, IP 10.10.10.3, Port 22 2025-10-27 03:20:28,831 - 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-27 03:20:28,938 - DEBUG - VM ctest-vm1-test-79819178 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:20:33,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:20:33,939 - DEBUG - Waiting to SSH to VM ctest-vm1-test-79819178, IP 10.10.10.3, Port 22 2025-10-27 03:20:34,007 - 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-27 03:20:34,110 - DEBUG - VM ctest-vm1-test-79819178 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:20:39,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:20:39,111 - DEBUG - Waiting to SSH to VM ctest-vm1-test-79819178, IP 10.10.10.3, Port 22 2025-10-27 03:20:39,179 - 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-27 03:20:39,274 - DEBUG - VM ctest-vm1-test-79819178 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:20:44,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:20:44,276 - DEBUG - Waiting to SSH to VM ctest-vm1-test-79819178, IP 10.10.10.3, Port 22 2025-10-27 03:20:44,344 - 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-27 03:20:44,423 - DEBUG - VM ctest-vm1-test-79819178 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:20:49,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:20:49,424 - DEBUG - Waiting to SSH to VM ctest-vm1-test-79819178, IP 10.10.10.3, Port 22 2025-10-27 03:20:49,592 - DEBUG - VM ctest-vm1-test-79819178 is ready for SSH connections 2025-10-27 03:20:49,592 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 03:20:49,593 - DEBUG - ifconfig | grep 10.10.10.3 2025-10-27 03:21:11,262 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-27 03:21:11,263 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-79819178", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 03:21:11,263 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-79819178", None, socket.AF_INET6)' 2025-10-27 03:21:13,149 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-79819178, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 03:21:13,149 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-79819178 2025-10-27 03:21:15,670 - DEBUG - PING ctest-vm1-test-79819178.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-79819178.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.32 ms 64 bytes from ctest-vm1-test-79819178.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.81 ms 64 bytes from ctest-vm1-test-79819178.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.230 ms --- ctest-vm1-test-79819178.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.230/2.457/4.324/1.690 ms 2025-10-27 03:21:15,670 - INFO - Ping to IP ctest-vm1-test-79819178 from VM ctest-vm1-test-79819178 passed 2025-10-27 03:21:15,700 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-27 03:21:15,713 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43277612@0%20AllEntriesVdnsRecordsReq 2025-10-27 03:21:15,723 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-27 03:21:15,729 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43277612@0%20AllEntriesVdnsRecordsReq 2025-10-27 03:21:15,738 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-27 03:21:15,745 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43277612@0%20AllEntriesVdnsRecordsReq 2025-10-27 03:21:15,754 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-43277612:1:ctest-vm1-test-79819178:10.10.10.3', 'rec_name': 'ctest-vm1-test-79819178', '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-4489-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-79819178.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-27 03:21:15,754 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-43277612:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-79819178', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-79819178', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4489-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-79819178.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-27 03:21:17,129 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4489-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4489-1) 2025-10-27 03:21:17,130 - INFO - Waiting for VM ctest-vm2-test-21465862 to be up.. 2025-10-27 03:21:17,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 03:21:22,269 - DEBUG - VM is in ACTIVE state now 2025-10-27 03:21:22,269 - INFO - VM name : ctest-vm2-test-21465862 2025-10-27 03:21:22,367 - DEBUG - VM ctest-vm2-test-21465862 ID is 09fba390-0ddd-46af-a39d-43331194b3f8 2025-10-27 03:21:22,367 - DEBUG - VM ctest-vm2-test-21465862 launched on Node an-jenkins-deploy-platform-ansible-os-4489-1 2025-10-27 03:21:22,454 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/09fba390-0ddd-46af-a39d-43331194b3f8 2025-10-27 03:21:22,465 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/a2591d60-6832-46ee-aeeb-057cc5ad8a80 2025-10-27 03:21:25,666 - 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-27 03:21:25,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21465862 failed! 2025-10-27 03:21:25,680 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:21:29,766 - 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-27 03:21:29,766 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21465862 failed! 2025-10-27 03:21:29,780 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:21:33,857 - 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-27 03:21:33,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21465862 failed! 2025-10-27 03:21:33,871 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:21:37,956 - 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-27 03:21:37,956 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21465862 failed! 2025-10-27 03:21:37,978 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:21:42,046 - 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-10-27 03:21:42,046 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21465862 failed! 2025-10-27 03:21:42,062 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:21:46,149 - 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-27 03:21:46,149 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21465862 failed! 2025-10-27 03:21:46,165 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:21:50,244 - 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-27 03:21:50,244 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21465862 failed! 2025-10-27 03:21:50,260 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:21:54,342 - 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-27 03:21:54,342 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21465862 failed! 2025-10-27 03:21:54,355 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:21:58,431 - 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-27 03:21:58,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21465862 failed! 2025-10-27 03:21:58,446 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30187221:ctest-vn1-vdns-40385235 is 10.10.10.1 and allocation pool is NOT set 2025-10-27 03:22:00,511 - 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=8.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.62 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.621/5.076/8.531/3.455 ms') 2025-10-27 03:22:00,511 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21465862 passed 2025-10-27 03:22:00,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:22:00,583 - DEBUG - Waiting to SSH to VM ctest-vm2-test-21465862, IP 10.10.10.4, Port 22 2025-10-27 03:22:00,649 - 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-27 03:22:00,730 - DEBUG - VM ctest-vm2-test-21465862 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:22:05,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:22:05,731 - DEBUG - Waiting to SSH to VM ctest-vm2-test-21465862, IP 10.10.10.4, Port 22 2025-10-27 03:22:05,798 - 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-27 03:22:05,879 - DEBUG - VM ctest-vm2-test-21465862 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:22:10,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:22:10,881 - DEBUG - Waiting to SSH to VM ctest-vm2-test-21465862, IP 10.10.10.4, Port 22 2025-10-27 03:22:10,993 - 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-27 03:22:11,108 - DEBUG - VM ctest-vm2-test-21465862 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:22:16,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:22:16,110 - DEBUG - Waiting to SSH to VM ctest-vm2-test-21465862, IP 10.10.10.4, Port 22 2025-10-27 03:22:16,168 - 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-27 03:22:16,275 - DEBUG - VM ctest-vm2-test-21465862 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:22:21,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:22:21,276 - DEBUG - Waiting to SSH to VM ctest-vm2-test-21465862, IP 10.10.10.4, Port 22 2025-10-27 03:22:21,441 - DEBUG - VM ctest-vm2-test-21465862 is ready for SSH connections 2025-10-27 03:22:21,441 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-27 03:22:21,441 - DEBUG - ifconfig | grep 10.10.10.4 2025-10-27 03:22:44,003 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-27 03:22:44,003 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21465862", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-27 03:22:44,003 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21465862", None, socket.AF_INET6)' 2025-10-27 03:22:47,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-21465862, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-27 03:22:47,122 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-21465862 2025-10-27 03:22:50,202 - DEBUG - PING ctest-vm2-test-21465862.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-21465862.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.86 ms 64 bytes from ctest-vm2-test-21465862.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.429 ms 64 bytes from ctest-vm2-test-21465862.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.205 ms --- ctest-vm2-test-21465862.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.205/1.165/2.862/1.203 ms 2025-10-27 03:22:50,202 - INFO - Ping to IP ctest-vm2-test-21465862 from VM ctest-vm2-test-21465862 passed 2025-10-27 03:22:50,224 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-27 03:22:50,235 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43277612@0%20AllEntriesVdnsRecordsReq 2025-10-27 03:22:50,245 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-27 03:22:50,256 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43277612@0%20AllEntriesVdnsRecordsReq 2025-10-27 03:22:50,263 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-27 03:22:50,268 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43277612@0%20AllEntriesVdnsRecordsReq 2025-10-27 03:22:50,275 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-43277612:1:ctest-vm2-test-21465862:10.10.10.4', 'rec_name': 'ctest-vm2-test-21465862', '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-4489-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-21465862.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-27 03:22:50,275 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-43277612:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-21465862', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-21465862', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4489-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-21465862.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-27 03:22:50,275 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21465862", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 03:22:50,276 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21465862", None, socket.AF_INET6)' 2025-10-27 03:22:51,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-21465862, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 03:22:51,558 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-21465862 2025-10-27 03:22:54,152 - DEBUG - PING ctest-vm2-test-21465862.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-21465862.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.5 ms 64 bytes from ctest-vm2-test-21465862.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.50 ms 64 bytes from ctest-vm2-test-21465862.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.32 ms --- ctest-vm2-test-21465862.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.323/4.449/10.523/4.295 ms 2025-10-27 03:22:54,152 - INFO - Ping to IP ctest-vm2-test-21465862 from VM ctest-vm1-test-79819178 passed 2025-10-27 03:22:54,152 - INFO - Try deleting the VDNS entry ctest-vdns1-43277612 with back ref of ipam. 2025-10-27 03:22:54,213 - DEBUG - Delete when resource still referred: ['http://10.0.0.129:8082/network-ipam/fd7d7d02-01dd-4a4d-a77e-bdbf52baf88b'] 2025-10-27 03:22:54,213 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-10-27 03:22:54,213 - INFO - Add CNAME VDNS record for ctest-vm1-test-79819178 and verify we able to ping by alias name 2025-10-27 03:22:54,265 - DEBUG - Creating VDNS record data : test-rec 2025-10-27 03:22:54,389 - INFO - In verify_on_setup 2025-10-27 03:22:54,489 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-43277612', 'test-rec'] created succesfully 2025-10-27 03:22:54,490 - INFO - Verify VDNS record is shown in the API server 2025-10-27 03:22:54,490 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 03:22:54,497 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 03:22:54,547 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/3c70d3b1-e846-47b1-99bd-530860dd70e8 2025-10-27 03:22:54,567 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS-record/946508b6-c2b3-4e23-b92e-0c53e180da5e 2025-10-27 03:22:54,575 - INFO - Verify VDNS record is shown in the control node 2025-10-27 03:22:54,599 - 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.131, gateway password: c0ntrail123 2025-10-27 03:22:54,600 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-27 03:22:55,905 - 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.131, gateway password: c0ntrail123 2025-10-27 03:22:55,905 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-27 03:22:56,441 - DEBUG - ping: unknown host vm1-test-alias 2025-10-27 03:22:56,441 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-79819178 failed 2025-10-27 03:22:57,442 - 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.131, gateway password: c0ntrail123 2025-10-27 03:22:57,442 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-27 03:22:58,694 - 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.131, gateway password: c0ntrail123 2025-10-27 03:22:58,695 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-27 03:23:01,311 - DEBUG - PING ctest-vm1-test-79819178.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-79819178.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.437 ms 64 bytes from ctest-vm1-test-79819178.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.281 ms 64 bytes from ctest-vm1-test-79819178.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.207 ms --- ctest-vm1-test-79819178.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.207/0.308/0.437/0.096 ms 2025-10-27 03:23:01,311 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-79819178 passed 2025-10-27 03:23:01,311 - DEBUG - Deleting VDNS record data: test-rec 2025-10-27 03:23:01,393 - INFO - VDNS record info: default-domain:ctest-vdns1-43277612:test-rec deleted successfully. 2025-10-27 03:23:01,394 - INFO - Deleting VM ctest-vm2-test-21465862 2025-10-27 03:23:01,481 - INFO - Deleting VM ctest-vm1-test-79819178 2025-10-27 03:23:01,568 - INFO - Deleting VN ctest-vn1-vdns-40385235 2025-10-27 03:23:01,614 - DEBUG - VN 8b944a79-288d-4e71-aee3-4ee94e1dc1b1 still in use: Unable to complete operation on network 8b944a79-288d-4e71-aee3-4ee94e1dc1b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1a082601-25f4-48a6-a000-aa857353750f'] 2025-10-27 03:23:01,614 - WARNING - Deleting VN ctest-vn1-vdns-40385235 failed..Will retry 2025-10-27 03:23:03,799 - DEBUG - Response for deleting network () 2025-10-27 03:23:03,865 - DEBUG - Deleting VDNS Entry: ctest-vdns1-43277612 2025-10-27 03:23:03,965 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-43277612'] deleted successfully. 2025-10-27 03:23:03,965 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 03:23:03,972 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 03:23:03,989 - DEBUG - VDNS information not found in API server 2025-10-27 03:23:03,989 - INFO - VDNS information ctest-vdns1-43277612 removed from the API Server 2025-10-27 03:23:03,995 - INFO - VDNS information ctest-vdns1-43277612 removed in the Control node 2025-10-27 03:23:03,995 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-30187221'] 2025-10-27 03:23:05,274 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 03:23:05,274 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:26] 2025-10-27 03:23:05,274 - INFO - -------------------------------------------------------------------------------- 2025-10-27 03:23:06,078 - INFO - Deleted project: ctest-TestvDNSBasic0-30187221, ID : 87a24a36-81a9-4b40-996e-67490f6005a3