2025-08-11 17:09:07,172 - INFO - Domain Default found not creating 2025-08-11 17:09:07,290 - INFO - Project ctest-TestvDNSBasic0-16297253 not found, creating it 2025-08-11 17:09:07,752 - INFO - Created Project:ctest-TestvDNSBasic0-16297253, ID : 232b42b7-74b0-4545-bd89-666a3156a692 2025-08-11 17:09:09,219 - INFO - ================================================================================ 2025-08-11 17:09:09,219 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-11 17:09:09,219 - INFO - TEST DESCRIPTION : Test:- Test vdns functionality. On VM launch agent should dynamically update dns records to dns agent 1. Create vDNS server 2. Create IPAM using above vDNS data 3. Create VN using above IPAM and launch 2 VM's within it 4. Ping between these 2 VM's using dns name 5. Try to delete vDNS server which has IPAM back-reference[Negative case] 6. Add CNAME VDNS record for vm1-test and verify we able to ping by alias name Pass criteria: Step 4,5 and 6 should pass Maintainer: cf-test@juniper.net 2025-08-11 17:09:10,482 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0', '10.20.0.193': '0'}, '10.0.0.249': {'10.20.0.193': '0', '10.20.0.192': '0'}} with 2025-08-11 17:09:10,482 - INFO - Initial checks done. Running the testcase now 2025-08-11 17:09:10,483 - INFO - 2025-08-11 17:09:11,170 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-16297253'](232b42b7-74b0-4545-bd89-666a3156a692) 2025-08-11 17:09:11,226 - DEBUG - Creating VDNS : ctest-vdns1-43286831 2025-08-11 17:09:11,442 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-43286831'] created succesfully 2025-08-11 17:09:11,442 - DEBUG - Verify VDNS entry is shown in control node 2025-08-11 17:09:11,463 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-11 17:09:11,463 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-11 17:09:11,762 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-11 17:09:11,791 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bc87c47-8b22-47dc-8747-cffafaf5f39a 2025-08-11 17:09:11,809 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/9600036b-d4b7-4aee-a174-e553ee308218 2025-08-11 17:09:12,503 - DEBUG - Response for create_network : {'network': {'id': '413a8efc-47e4-4c9d-b7f6-8eaa3c1147c7', 'name': 'ctest-vn1-vdns-79199901', 'tenant_id': '232b42b774b04545bd89666a3156a692', 'project_id': '232b42b774b04545bd89666a3156a692', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-16297253', 'ctest-vn1-vdns-79199901'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 17:09:12,792 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d6cbd9a-d601-4196-9c76-28eb9c5c32c2', 'name': '', 'tenant_id': '232b42b774b04545bd89666a3156a692', 'network_id': '413a8efc-47e4-4c9d-b7f6-8eaa3c1147c7', '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': '232b42b774b04545bd89666a3156a692'}} 2025-08-11 17:09:12,813 - INFO - Created VN ctest-vn1-vdns-79199901 2025-08-11 17:09:12,824 - DEBUG - VN ctest-vn1-vdns-79199901 UUID is 413a8efc-47e4-4c9d-b7f6-8eaa3c1147c7 2025-08-11 17:09:12,977 - DEBUG - Services list from nova: [, , , ] 2025-08-11 17:09:13,965 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3816-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3816-2) 2025-08-11 17:09:13,965 - INFO - Waiting for VM ctest-vm1-test-83012015 to be up.. 2025-08-11 17:09:14,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 17:09:19,075 - DEBUG - VM is in ACTIVE state now 2025-08-11 17:09:19,075 - INFO - VM name : ctest-vm1-test-83012015 2025-08-11 17:09:19,145 - DEBUG - VM ctest-vm1-test-83012015 ID is 86561cac-ce03-479b-9577-cca2a1fcb521 2025-08-11 17:09:19,145 - DEBUG - VM ctest-vm1-test-83012015 launched on Node an-jenkins-deploy-platform-ansible-os-3816-2 2025-08-11 17:09:19,213 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/86561cac-ce03-479b-9577-cca2a1fcb521 2025-08-11 17:09:19,515 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/86561cac-ce03-479b-9577-cca2a1fcb521 2025-08-11 17:09:19,544 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/475e9c01-7ec7-4c58-9f1c-90b251873f48 2025-08-11 17:09:22,744 - 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 1004ms') 2025-08-11 17:09:22,744 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83012015 failed! 2025-08-11 17:09:22,758 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:09:26,835 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2025-08-11 17:09:26,835 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83012015 failed! 2025-08-11 17:09:26,849 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:09:30,936 - 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-08-11 17:09:30,936 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83012015 failed! 2025-08-11 17:09:30,950 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:09:35,032 - 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-08-11 17:09:35,032 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83012015 failed! 2025-08-11 17:09:35,048 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:09:39,122 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-08-11 17:09:39,122 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83012015 failed! 2025-08-11 17:09:39,136 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:09:43,221 - 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-08-11 17:09:43,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83012015 failed! 2025-08-11 17:09:43,234 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:09:47,321 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-08-11 17:09:47,321 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83012015 failed! 2025-08-11 17:09:47,336 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:09:51,414 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 4.567/4.567/4.567/0.000 ms') 2025-08-11 17:09:51,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83012015 passed 2025-08-11 17:09:51,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:09:51,535 - DEBUG - Waiting to SSH to VM ctest-vm1-test-83012015, IP 10.10.10.3, Port 22 2025-08-11 17:09:51,590 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-11 17:09:51,665 - DEBUG - VM ctest-vm1-test-83012015 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 17:09:56,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:09:56,666 - DEBUG - Waiting to SSH to VM ctest-vm1-test-83012015, IP 10.10.10.3, Port 22 2025-08-11 17:09:56,722 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-11 17:09:56,795 - DEBUG - VM ctest-vm1-test-83012015 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 17:10:01,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:10:01,796 - DEBUG - Waiting to SSH to VM ctest-vm1-test-83012015, IP 10.10.10.3, Port 22 2025-08-11 17:10:01,850 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-11 17:10:01,924 - DEBUG - VM ctest-vm1-test-83012015 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 17:10:06,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:10:06,925 - DEBUG - Waiting to SSH to VM ctest-vm1-test-83012015, IP 10.10.10.3, Port 22 2025-08-11 17:10:06,992 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-11 17:10:07,062 - DEBUG - VM ctest-vm1-test-83012015 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 17:10:12,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:10:12,063 - DEBUG - Waiting to SSH to VM ctest-vm1-test-83012015, IP 10.10.10.3, Port 22 2025-08-11 17:10:12,241 - DEBUG - VM ctest-vm1-test-83012015 is ready for SSH connections 2025-08-11 17:10:12,241 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 17:10:12,241 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-11 17:10:29,468 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-11 17:10:29,468 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-83012015", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 17:10:29,469 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-83012015", None, socket.AF_INET6)' 2025-08-11 17:10:31,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-83012015, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 17:10:31,891 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-83012015 2025-08-11 17:10:34,767 - DEBUG - PING ctest-vm1-test-83012015.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-83012015.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.50 ms 64 bytes from ctest-vm1-test-83012015.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.223 ms 64 bytes from ctest-vm1-test-83012015.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.200 ms --- ctest-vm1-test-83012015.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.200/0.975/2.502/1.079 ms 2025-08-11 17:10:34,767 - INFO - Ping to IP ctest-vm1-test-83012015 from VM ctest-vm1-test-83012015 passed 2025-08-11 17:10:34,790 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 17:10:34,796 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43286831@0%20AllEntriesVdnsRecordsReq 2025-08-11 17:10:34,800 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 17:10:34,805 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43286831@0%20AllEntriesVdnsRecordsReq 2025-08-11 17:10:34,810 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 17:10:34,814 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43286831@0%20AllEntriesVdnsRecordsReq 2025-08-11 17:10:34,819 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-43286831:1:ctest-vm1-test-83012015:10.10.10.3', 'rec_name': 'ctest-vm1-test-83012015', '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-3816-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-83012015.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-11 17:10:34,819 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-43286831:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-83012015', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-83012015', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3816-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-83012015.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '3.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'} 2025-08-11 17:10:35,920 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3816-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3816-1) 2025-08-11 17:10:35,920 - INFO - Waiting for VM ctest-vm2-test-51539750 to be up.. 2025-08-11 17:10:35,957 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 17:10:41,027 - DEBUG - VM is in ACTIVE state now 2025-08-11 17:10:41,027 - INFO - VM name : ctest-vm2-test-51539750 2025-08-11 17:10:41,101 - DEBUG - VM ctest-vm2-test-51539750 ID is 29ae314c-f959-4dec-8f10-aaea7e525d46 2025-08-11 17:10:41,101 - DEBUG - VM ctest-vm2-test-51539750 launched on Node an-jenkins-deploy-platform-ansible-os-3816-1 2025-08-11 17:10:41,168 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/29ae314c-f959-4dec-8f10-aaea7e525d46 2025-08-11 17:10:41,177 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/741a4fa2-a924-46b1-ae57-e36f9d495c35 2025-08-11 17:10:44,399 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2025-08-11 17:10:44,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-51539750 failed! 2025-08-11 17:10:44,413 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:10:48,501 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1025ms') 2025-08-11 17:10:48,501 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-51539750 failed! 2025-08-11 17:10:48,514 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:10:52,593 - 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-08-11 17:10:52,593 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-51539750 failed! 2025-08-11 17:10:52,607 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:10:56,691 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-08-11 17:10:56,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-51539750 failed! 2025-08-11 17:10:56,705 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:11:00,789 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-08-11 17:11:00,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-51539750 failed! 2025-08-11 17:11:00,805 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:11:04,883 - 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-08-11 17:11:04,883 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-51539750 failed! 2025-08-11 17:11:04,897 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:11:08,980 - 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-08-11 17:11:08,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-51539750 failed! 2025-08-11 17:11:08,994 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16297253:ctest-vn1-vdns-79199901 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 17:11:13,080 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.91 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 3.911/3.911/3.911/0.000 ms') 2025-08-11 17:11:13,080 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-51539750 passed 2025-08-11 17:11:13,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:11:13,195 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51539750, IP 10.10.10.4, Port 22 2025-08-11 17:11:13,251 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-11 17:11:13,325 - DEBUG - VM ctest-vm2-test-51539750 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 17:11:18,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:11:18,326 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51539750, IP 10.10.10.4, Port 22 2025-08-11 17:11:18,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-08-11 17:11:18,490 - DEBUG - VM ctest-vm2-test-51539750 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 17:11:23,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:11:23,491 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51539750, IP 10.10.10.4, Port 22 2025-08-11 17:11:23,556 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-11 17:11:23,631 - DEBUG - VM ctest-vm2-test-51539750 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 17:11:28,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:11:28,633 - DEBUG - Waiting to SSH to VM ctest-vm2-test-51539750, IP 10.10.10.4, Port 22 2025-08-11 17:11:28,801 - DEBUG - VM ctest-vm2-test-51539750 is ready for SSH connections 2025-08-11 17:11:28,801 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-11 17:11:28,801 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-11 17:11:47,260 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-11 17:11:47,260 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-51539750", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-11 17:11:47,260 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-51539750", None, socket.AF_INET6)' 2025-08-11 17:11:49,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-51539750, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-11 17:11:49,573 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-51539750 2025-08-11 17:11:52,548 - DEBUG - PING ctest-vm2-test-51539750.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-51539750.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.73 ms 64 bytes from ctest-vm2-test-51539750.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.230 ms 64 bytes from ctest-vm2-test-51539750.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.176 ms --- ctest-vm2-test-51539750.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.176/1.048/2.739/1.195 ms 2025-08-11 17:11:52,548 - INFO - Ping to IP ctest-vm2-test-51539750 from VM ctest-vm2-test-51539750 passed 2025-08-11 17:11:52,570 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 17:11:52,576 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43286831@0%20AllEntriesVdnsRecordsReq 2025-08-11 17:11:52,582 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 17:11:52,588 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43286831@0%20AllEntriesVdnsRecordsReq 2025-08-11 17:11:52,593 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 17:11:52,597 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-43286831@0%20AllEntriesVdnsRecordsReq 2025-08-11 17:11:52,602 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-43286831:1:ctest-vm2-test-51539750:10.10.10.4', 'rec_name': 'ctest-vm2-test-51539750', '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-3816-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-51539750.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-11 17:11:52,603 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-43286831:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-51539750', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-51539750', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3816-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-51539750.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '4.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'} 2025-08-11 17:11:52,603 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-51539750", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 17:11:52,603 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-51539750", None, socket.AF_INET6)' 2025-08-11 17:11:53,687 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-51539750, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 17:11:53,687 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-51539750 2025-08-11 17:11:56,175 - DEBUG - PING ctest-vm2-test-51539750.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-51539750.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.54 ms 64 bytes from ctest-vm2-test-51539750.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.971 ms 64 bytes from ctest-vm2-test-51539750.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.825 ms --- ctest-vm2-test-51539750.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.825/3.114/7.546/3.134 ms 2025-08-11 17:11:56,175 - INFO - Ping to IP ctest-vm2-test-51539750 from VM ctest-vm1-test-83012015 passed 2025-08-11 17:11:56,175 - INFO - Try deleting the VDNS entry ctest-vdns1-43286831 with back ref of ipam. 2025-08-11 17:11:56,234 - DEBUG - Delete when resource still referred: ['http://10.0.0.19:8082/network-ipam/e858312b-f147-4eab-9661-9b47a71fc17f'] 2025-08-11 17:11:56,234 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-11 17:11:56,234 - INFO - Add CNAME VDNS record for ctest-vm1-test-83012015 and verify we able to ping by alias name 2025-08-11 17:11:56,286 - DEBUG - Creating VDNS record data : test-rec 2025-08-11 17:11:56,406 - INFO - In verify_on_setup 2025-08-11 17:11:56,502 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-43286831', 'test-rec'] created succesfully 2025-08-11 17:11:56,502 - INFO - Verify VDNS record is shown in the API server 2025-08-11 17:11:56,502 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-11 17:11:56,508 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bc87c47-8b22-47dc-8747-cffafaf5f39a 2025-08-11 17:11:56,543 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/9600036b-d4b7-4aee-a174-e553ee308218 2025-08-11 17:11:56,552 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/17c9216f-1edc-489a-a479-58f54ab15c8b 2025-08-11 17:11:56,558 - INFO - Verify VDNS record is shown in the control node 2025-08-11 17:11:56,575 - 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.249, gateway password: c0ntrail123 2025-08-11 17:11:56,575 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-11 17:11:57,639 - 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.249, gateway password: c0ntrail123 2025-08-11 17:11:57,639 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-11 17:11:58,106 - DEBUG - ping: unknown host vm1-test-alias 2025-08-11 17:11:58,106 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-83012015 failed 2025-08-11 17:11:59,107 - 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.249, gateway password: c0ntrail123 2025-08-11 17:11:59,107 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-11 17:12:00,174 - 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.249, gateway password: c0ntrail123 2025-08-11 17:12:00,174 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-11 17:12:02,666 - DEBUG - PING ctest-vm1-test-83012015.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-83012015.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.195 ms 64 bytes from ctest-vm1-test-83012015.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.298 ms 64 bytes from ctest-vm1-test-83012015.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.177 ms --- ctest-vm1-test-83012015.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 0.177/0.223/0.298/0.054 ms 2025-08-11 17:12:02,667 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-83012015 passed 2025-08-11 17:12:02,667 - DEBUG - Deleting VDNS record data: test-rec 2025-08-11 17:12:02,746 - INFO - VDNS record info: default-domain:ctest-vdns1-43286831:test-rec deleted successfully. 2025-08-11 17:12:02,746 - INFO - Deleting VM ctest-vm2-test-51539750 2025-08-11 17:12:02,807 - INFO - Deleting VM ctest-vm1-test-83012015 2025-08-11 17:12:02,869 - INFO - Deleting VN ctest-vn1-vdns-79199901 2025-08-11 17:12:02,905 - DEBUG - VN 413a8efc-47e4-4c9d-b7f6-8eaa3c1147c7 still in use: Unable to complete operation on network 413a8efc-47e4-4c9d-b7f6-8eaa3c1147c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f66d26d7-c295-4804-afd2-99c7b796aed9'] 2025-08-11 17:12:02,905 - WARNING - Deleting VN ctest-vn1-vdns-79199901 failed..Will retry 2025-08-11 17:12:05,049 - DEBUG - Response for deleting network () 2025-08-11 17:12:05,120 - DEBUG - Deleting VDNS Entry: ctest-vdns1-43286831 2025-08-11 17:12:05,202 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-43286831'] deleted successfully. 2025-08-11 17:12:05,202 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-11 17:12:05,211 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bc87c47-8b22-47dc-8747-cffafaf5f39a 2025-08-11 17:12:05,224 - DEBUG - VDNS information not found in API server 2025-08-11 17:12:05,224 - INFO - VDNS information ctest-vdns1-43286831 removed from the API Server 2025-08-11 17:12:05,229 - INFO - VDNS information ctest-vdns1-43286831 removed in the Control node 2025-08-11 17:12:05,229 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-16297253'] 2025-08-11 17:12:06,482 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 17:12:06,482 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:57]
2025-08-11 17:12:06,482 - INFO - -------------------------------------------------------------------------------- 2025-08-11 17:12:07,190 - INFO - Deleted project: ctest-TestvDNSBasic0-16297253, ID : 232b42b7-74b0-4545-bd89-666a3156a692