2025-10-20 03:11:11,058 - INFO - Domain Default found not creating 2025-10-20 03:11:11,197 - INFO - Project ctest-TestvDNSBasic0-45999114 not found, creating it 2025-10-20 03:11:11,687 - INFO - Created Project:ctest-TestvDNSBasic0-45999114, ID : c6648dff-de6e-4ebc-8b80-1afb20162a1d 2025-10-20 03:11:13,169 - INFO - ================================================================================ 2025-10-20 03:11:13,170 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-10-20 03:11:13,170 - 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-20 03:11:14,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.19': {'10.20.0.193': '0', '10.20.0.14': '0'}} with 2025-10-20 03:11:14,448 - INFO - Initial checks done. Running the testcase now 2025-10-20 03:11:14,448 - INFO - 2025-10-20 03:11:15,182 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-45999114'](c6648dff-de6e-4ebc-8b80-1afb20162a1d) 2025-10-20 03:11:15,237 - DEBUG - Creating VDNS : ctest-vdns1-11152683 2025-10-20 03:11:15,469 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-11152683'] created succesfully 2025-10-20 03:11:15,469 - DEBUG - Verify VDNS entry is shown in control node 2025-10-20 03:11:15,487 - DEBUG - Verify VDNS entry is shown in the API server 2025-10-20 03:11:15,487 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-20 03:11:15,790 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-20 03:11:15,819 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9567af48-d216-4b74-bb40-c5fce52cf633 2025-10-20 03:11:15,835 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/14f63214-4718-4e4c-81be-574f121ec507 2025-10-20 03:11:16,534 - DEBUG - Response for create_network : {'network': {'id': '4bad308e-ceb8-411d-b0b2-72111abfbcaf', 'name': 'ctest-vn1-vdns-46260447', 'tenant_id': 'c6648dffde6e4ebc8b801afb20162a1d', 'project_id': 'c6648dffde6e4ebc8b801afb20162a1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-45999114', 'ctest-vn1-vdns-46260447'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 03:11:16,789 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fc88cad-2368-4c22-84a8-439c8e412584', 'name': '', 'tenant_id': 'c6648dffde6e4ebc8b801afb20162a1d', 'network_id': '4bad308e-ceb8-411d-b0b2-72111abfbcaf', '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': 'c6648dffde6e4ebc8b801afb20162a1d'}} 2025-10-20 03:11:16,815 - INFO - Created VN ctest-vn1-vdns-46260447 2025-10-20 03:11:16,829 - DEBUG - VN ctest-vn1-vdns-46260447 UUID is 4bad308e-ceb8-411d-b0b2-72111abfbcaf 2025-10-20 03:11:17,002 - DEBUG - Services list from nova: [, , , ] 2025-10-20 03:11:17,999 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4370-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4370-2) 2025-10-20 03:11:17,999 - INFO - Waiting for VM ctest-vm1-test-40941516 to be up.. 2025-10-20 03:11:18,047 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 03:11:23,150 - DEBUG - VM is in ACTIVE state now 2025-10-20 03:11:23,150 - INFO - VM name : ctest-vm1-test-40941516 2025-10-20 03:11:23,241 - DEBUG - VM ctest-vm1-test-40941516 ID is dfc5c061-0bac-4893-9020-e3a69a18585f 2025-10-20 03:11:23,241 - DEBUG - VM ctest-vm1-test-40941516 launched on Node an-jenkins-deploy-platform-ansible-os-4370-2 2025-10-20 03:11:23,319 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/dfc5c061-0bac-4893-9020-e3a69a18585f 2025-10-20 03:11:23,623 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/dfc5c061-0bac-4893-9020-e3a69a18585f 2025-10-20 03:11:23,944 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a735b341-bcbb-4f1d-b36f-e2782aa5f991 2025-10-20 03:11:27,108 - 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 1003ms') 2025-10-20 03:11:27,108 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40941516 failed! 2025-10-20 03:11:27,121 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:11:31,203 - 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-20 03:11:31,203 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40941516 failed! 2025-10-20 03:11:31,216 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:11:35,306 - 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-10-20 03:11:35,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40941516 failed! 2025-10-20 03:11:35,319 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:11:39,391 - 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-20 03:11:39,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40941516 failed! 2025-10-20 03:11:39,404 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:11:43,491 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2025-10-20 03:11:43,491 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40941516 failed! 2025-10-20 03:11:43,505 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:11:47,585 - 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-20 03:11:47,585 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40941516 failed! 2025-10-20 03:11:47,598 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:11:51,680 - 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-10-20 03:11:51,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40941516 failed! 2025-10-20 03:11:51,693 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:11:53,757 - 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=4.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.999 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 = 0.999/2.836/4.673/1.837 ms') 2025-10-20 03:11:53,757 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40941516 passed 2025-10-20 03:11:53,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 03:11:53,825 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40941516, IP 10.10.10.3, Port 22 2025-10-20 03:11:53,880 - 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-20 03:11:53,995 - DEBUG - VM ctest-vm1-test-40941516 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 03:11:58,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 03:11:58,996 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40941516, IP 10.10.10.3, Port 22 2025-10-20 03:11:59,053 - 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-20 03:11:59,139 - DEBUG - VM ctest-vm1-test-40941516 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 03:12:04,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 03:12:04,140 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40941516, IP 10.10.10.3, Port 22 2025-10-20 03:12:04,207 - 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-20 03:12:04,296 - DEBUG - VM ctest-vm1-test-40941516 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 03:12:09,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 03:12:09,297 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40941516, IP 10.10.10.3, Port 22 2025-10-20 03:12:09,457 - DEBUG - VM ctest-vm1-test-40941516 is ready for SSH connections 2025-10-20 03:12:09,457 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-20 03:12:09,457 - DEBUG - ifconfig | grep 10.10.10.3 2025-10-20 03:12:27,176 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-20 03:12:27,177 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-40941516", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-20 03:12:27,177 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-40941516", None, socket.AF_INET6)' 2025-10-20 03:12:29,555 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-40941516, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-20 03:12:29,555 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-40941516 2025-10-20 03:12:32,018 - DEBUG - PING ctest-vm1-test-40941516.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-40941516.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.84 ms 64 bytes from ctest-vm1-test-40941516.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.98 ms 64 bytes from ctest-vm1-test-40941516.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.220 ms --- ctest-vm1-test-40941516.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.220/2.351/3.846/1.547 ms 2025-10-20 03:12:32,018 - INFO - Ping to IP ctest-vm1-test-40941516 from VM ctest-vm1-test-40941516 passed 2025-10-20 03:12:32,042 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-20 03:12:32,049 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-11152683@0%20AllEntriesVdnsRecordsReq 2025-10-20 03:12:32,056 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-20 03:12:32,061 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-11152683@0%20AllEntriesVdnsRecordsReq 2025-10-20 03:12:32,066 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-20 03:12:32,071 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-11152683@0%20AllEntriesVdnsRecordsReq 2025-10-20 03:12:32,078 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-11152683:1:ctest-vm1-test-40941516:10.10.10.3', 'rec_name': 'ctest-vm1-test-40941516', '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-4370-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-40941516.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-20 03:12:32,078 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-11152683:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-40941516', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-40941516', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4370-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-40941516.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-20 03:12:33,297 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4370-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4370-1) 2025-10-20 03:12:33,297 - INFO - Waiting for VM ctest-vm2-test-30512697 to be up.. 2025-10-20 03:12:33,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 03:12:38,425 - DEBUG - VM is in ACTIVE state now 2025-10-20 03:12:38,425 - INFO - VM name : ctest-vm2-test-30512697 2025-10-20 03:12:38,509 - DEBUG - VM ctest-vm2-test-30512697 ID is fc0f7aa8-6d24-4036-ae6b-86f02da9bd71 2025-10-20 03:12:38,509 - DEBUG - VM ctest-vm2-test-30512697 launched on Node an-jenkins-deploy-platform-ansible-os-4370-1 2025-10-20 03:12:38,584 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/fc0f7aa8-6d24-4036-ae6b-86f02da9bd71 2025-10-20 03:12:38,594 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a74cf559-b73e-4621-a4d2-f64e56594dbe 2025-10-20 03:12:41,757 - 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-20 03:12:41,757 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30512697 failed! 2025-10-20 03:12:41,769 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:12:45,853 - 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-20 03:12:45,853 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30512697 failed! 2025-10-20 03:12:45,866 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:12:49,948 - 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-10-20 03:12:49,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30512697 failed! 2025-10-20 03:12:49,961 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:12:54,048 - 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 1021ms') 2025-10-20 03:12:54,048 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30512697 failed! 2025-10-20 03:12:54,061 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:12:58,140 - 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-20 03:12:58,140 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30512697 failed! 2025-10-20 03:12:58,154 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:13:02,241 - 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-20 03:13:02,241 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30512697 failed! 2025-10-20 03:13:02,255 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:13:06,329 - 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-20 03:13:06,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30512697 failed! 2025-10-20 03:13:06,341 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:13:10,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 1027ms') 2025-10-20 03:13:10,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30512697 failed! 2025-10-20 03:13:10,445 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45999114:ctest-vn1-vdns-46260447 is 10.10.10.1 and allocation pool is NOT set 2025-10-20 03:13:12,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=5.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.88 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.879/4.410/5.941/1.531 ms') 2025-10-20 03:13:12,511 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30512697 passed 2025-10-20 03:13:12,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 03:13:12,581 - DEBUG - Waiting to SSH to VM ctest-vm2-test-30512697, IP 10.10.10.4, Port 22 2025-10-20 03:13:12,650 - 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-20 03:13:12,737 - DEBUG - VM ctest-vm2-test-30512697 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 03:13:17,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 03:13:17,737 - DEBUG - Waiting to SSH to VM ctest-vm2-test-30512697, IP 10.10.10.4, Port 22 2025-10-20 03:13:17,806 - 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-20 03:13:17,886 - DEBUG - VM ctest-vm2-test-30512697 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 03:13:22,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 03:13:22,887 - DEBUG - Waiting to SSH to VM ctest-vm2-test-30512697, IP 10.10.10.4, Port 22 2025-10-20 03:13:22,954 - 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-20 03:13:23,031 - DEBUG - VM ctest-vm2-test-30512697 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 03:13:28,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 03:13:28,032 - DEBUG - Waiting to SSH to VM ctest-vm2-test-30512697, IP 10.10.10.4, Port 22 2025-10-20 03:13:28,087 - 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-20 03:13:28,168 - DEBUG - VM ctest-vm2-test-30512697 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 03:13:33,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 03:13:33,168 - DEBUG - Waiting to SSH to VM ctest-vm2-test-30512697, IP 10.10.10.4, Port 22 2025-10-20 03:13:33,323 - DEBUG - VM ctest-vm2-test-30512697 is ready for SSH connections 2025-10-20 03:13:33,323 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-20 03:13:33,323 - DEBUG - ifconfig | grep 10.10.10.4 2025-10-20 03:13:51,115 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-20 03:13:51,115 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-30512697", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-20 03:13:51,115 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-30512697", None, socket.AF_INET6)' 2025-10-20 03:13:52,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-30512697, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-20 03:13:52,414 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-30512697 2025-10-20 03:13:54,910 - DEBUG - PING ctest-vm2-test-30512697.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-30512697.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.26 ms 64 bytes from ctest-vm2-test-30512697.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.251 ms 64 bytes from ctest-vm2-test-30512697.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.211 ms --- ctest-vm2-test-30512697.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.211/1.574/4.260/1.899 ms 2025-10-20 03:13:54,910 - INFO - Ping to IP ctest-vm2-test-30512697 from VM ctest-vm2-test-30512697 passed 2025-10-20 03:13:54,931 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-20 03:13:54,937 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-11152683@0%20AllEntriesVdnsRecordsReq 2025-10-20 03:13:54,941 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-20 03:13:54,945 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-11152683@0%20AllEntriesVdnsRecordsReq 2025-10-20 03:13:54,950 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-20 03:13:54,956 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-11152683@0%20AllEntriesVdnsRecordsReq 2025-10-20 03:13:54,961 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-11152683:1:ctest-vm2-test-30512697:10.10.10.4', 'rec_name': 'ctest-vm2-test-30512697', '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-4370-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-30512697.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-20 03:13:54,961 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-11152683:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-30512697', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-30512697', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4370-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-30512697.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-20 03:13:54,961 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-30512697", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-20 03:13:54,961 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-30512697", None, socket.AF_INET6)' 2025-10-20 03:13:55,971 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-30512697, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-20 03:13:55,971 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-30512697 2025-10-20 03:13:58,452 - DEBUG - PING ctest-vm2-test-30512697.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-30512697.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.10 ms 64 bytes from ctest-vm2-test-30512697.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.21 ms 64 bytes from ctest-vm2-test-30512697.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.42 ms --- ctest-vm2-test-30512697.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.211/3.580/8.107/3.202 ms 2025-10-20 03:13:58,452 - INFO - Ping to IP ctest-vm2-test-30512697 from VM ctest-vm1-test-40941516 passed 2025-10-20 03:13:58,452 - INFO - Try deleting the VDNS entry ctest-vdns1-11152683 with back ref of ipam. 2025-10-20 03:13:58,509 - DEBUG - Delete when resource still referred: ['http://10.0.0.27:8082/network-ipam/f098b43a-0f20-45b1-91e2-587095f88547'] 2025-10-20 03:13:58,509 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-10-20 03:13:58,509 - INFO - Add CNAME VDNS record for ctest-vm1-test-40941516 and verify we able to ping by alias name 2025-10-20 03:13:58,557 - DEBUG - Creating VDNS record data : test-rec 2025-10-20 03:13:58,677 - INFO - In verify_on_setup 2025-10-20 03:13:58,773 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-11152683', 'test-rec'] created succesfully 2025-10-20 03:13:58,773 - INFO - Verify VDNS record is shown in the API server 2025-10-20 03:13:58,773 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-20 03:13:58,780 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9567af48-d216-4b74-bb40-c5fce52cf633 2025-10-20 03:13:58,793 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/14f63214-4718-4e4c-81be-574f121ec507 2025-10-20 03:13:58,803 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS-record/c84fcd63-a3e3-4b51-bebb-bef5a2825cc6 2025-10-20 03:13:58,812 - INFO - Verify VDNS record is shown in the control node 2025-10-20 03:13:58,832 - 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.19, gateway password: c0ntrail123 2025-10-20 03:13:58,832 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-20 03:13:59,851 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-20 03:13:59,852 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-20 03:14:00,396 - DEBUG - ping: unknown host vm1-test-alias 2025-10-20 03:14:00,396 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-40941516 failed 2025-10-20 03:14:01,397 - 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.19, gateway password: c0ntrail123 2025-10-20 03:14:01,397 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-20 03:14:02,539 - 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.19, gateway password: c0ntrail123 2025-10-20 03:14:02,539 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-20 03:14:05,005 - DEBUG - PING ctest-vm1-test-40941516.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-40941516.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.259 ms 64 bytes from ctest-vm1-test-40941516.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.300 ms 64 bytes from ctest-vm1-test-40941516.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.240 ms --- ctest-vm1-test-40941516.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.240/0.266/0.300/0.028 ms 2025-10-20 03:14:05,006 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-40941516 passed 2025-10-20 03:14:05,006 - DEBUG - Deleting VDNS record data: test-rec 2025-10-20 03:14:05,097 - INFO - VDNS record info: default-domain:ctest-vdns1-11152683:test-rec deleted successfully. 2025-10-20 03:14:05,098 - INFO - Deleting VM ctest-vm2-test-30512697 2025-10-20 03:14:05,171 - INFO - Deleting VM ctest-vm1-test-40941516 2025-10-20 03:14:05,241 - INFO - Deleting VN ctest-vn1-vdns-46260447 2025-10-20 03:14:05,289 - DEBUG - VN 4bad308e-ceb8-411d-b0b2-72111abfbcaf still in use: Unable to complete operation on network 4bad308e-ceb8-411d-b0b2-72111abfbcaf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-efafe821-ac36-4294-8ef1-48562ebd72c9'] 2025-10-20 03:14:05,289 - WARNING - Deleting VN ctest-vn1-vdns-46260447 failed..Will retry 2025-10-20 03:14:07,534 - DEBUG - Response for deleting network () 2025-10-20 03:14:07,594 - DEBUG - Deleting VDNS Entry: ctest-vdns1-11152683 2025-10-20 03:14:07,681 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-11152683'] deleted successfully. 2025-10-20 03:14:07,681 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-20 03:14:07,687 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9567af48-d216-4b74-bb40-c5fce52cf633 2025-10-20 03:14:07,702 - DEBUG - VDNS information not found in API server 2025-10-20 03:14:07,702 - INFO - VDNS information ctest-vdns1-11152683 removed from the API Server 2025-10-20 03:14:07,709 - INFO - VDNS information ctest-vdns1-11152683 removed in the Control node 2025-10-20 03:14:07,709 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-45999114'] 2025-10-20 03:14:09,010 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 03:14:09,011 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:56] 2025-10-20 03:14:09,011 - INFO - -------------------------------------------------------------------------------- 2025-10-20 03:14:09,735 - INFO - Deleted project: ctest-TestvDNSBasic0-45999114, ID : c6648dff-de6e-4ebc-8b80-1afb20162a1d