2025-08-18 03:09:18,970 - INFO - Domain Default found not creating 2025-08-18 03:09:19,190 - INFO - Project ctest-TestvDNSBasic0-20094575 not found, creating it 2025-08-18 03:09:19,674 - INFO - Created Project:ctest-TestvDNSBasic0-20094575, ID : ce80a316-d130-420b-b290-023f1b6de36e 2025-08-18 03:09:21,216 - INFO - ================================================================================ 2025-08-18 03:09:21,216 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-18 03:09:21,216 - 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-18 03:09:22,490 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.129': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.129': '0', '10.20.0.25': '0'}} with 2025-08-18 03:09:22,490 - INFO - Initial checks done. Running the testcase now 2025-08-18 03:09:22,490 - INFO - 2025-08-18 03:09:23,198 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-20094575'](ce80a316-d130-420b-b290-023f1b6de36e) 2025-08-18 03:09:23,270 - DEBUG - Creating VDNS : ctest-vdns1-80273499 2025-08-18 03:09:23,494 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-80273499'] created succesfully 2025-08-18 03:09:23,494 - DEBUG - Verify VDNS entry is shown in control node 2025-08-18 03:09:23,514 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-18 03:09:23,515 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-18 03:09:23,813 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-18 03:09:23,850 - DEBUG - Requesting: http://10.0.0.27:8082/domain/edf943fc-0622-4564-8821-4de9bd04e8a3 2025-08-18 03:09:23,872 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/31626e2f-eba7-45cc-bd92-870ee7607a20 2025-08-18 03:09:24,577 - DEBUG - Response for create_network : {'network': {'id': '4b115948-0da8-431f-8a37-7147ad199ebd', 'name': 'ctest-vn1-vdns-85785552', 'tenant_id': 'ce80a316d130420bb290023f1b6de36e', 'project_id': 'ce80a316d130420bb290023f1b6de36e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-20094575', 'ctest-vn1-vdns-85785552'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 03:09:24,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '20701853-bd4c-4c6b-b026-354640b5b8f6', 'name': '', 'tenant_id': 'ce80a316d130420bb290023f1b6de36e', 'network_id': '4b115948-0da8-431f-8a37-7147ad199ebd', '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': 'ce80a316d130420bb290023f1b6de36e'}} 2025-08-18 03:09:24,897 - INFO - Created VN ctest-vn1-vdns-85785552 2025-08-18 03:09:24,915 - DEBUG - VN ctest-vn1-vdns-85785552 UUID is 4b115948-0da8-431f-8a37-7147ad199ebd 2025-08-18 03:09:25,088 - DEBUG - Services list from nova: [, , , ] 2025-08-18 03:09:26,264 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3870-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3870-1) 2025-08-18 03:09:26,265 - INFO - Waiting for VM ctest-vm1-test-81446562 to be up.. 2025-08-18 03:09:26,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 03:09:31,384 - DEBUG - VM is in ACTIVE state now 2025-08-18 03:09:31,384 - INFO - VM name : ctest-vm1-test-81446562 2025-08-18 03:09:31,458 - DEBUG - VM ctest-vm1-test-81446562 ID is e14a8d7c-acb8-456c-b490-3ad3c7fb182e 2025-08-18 03:09:31,458 - DEBUG - VM ctest-vm1-test-81446562 launched on Node an-jenkins-deploy-platform-ansible-os-3870-1 2025-08-18 03:09:31,537 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e14a8d7c-acb8-456c-b490-3ad3c7fb182e 2025-08-18 03:09:31,829 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e14a8d7c-acb8-456c-b490-3ad3c7fb182e 2025-08-18 03:09:31,859 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9d483ec9-49c4-42fe-b289-75e0360d61f9 2025-08-18 03:09:35,060 - 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 1031ms') 2025-08-18 03:09:35,060 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-81446562 failed! 2025-08-18 03:09:35,076 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:09:39,155 - 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-08-18 03:09:39,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-81446562 failed! 2025-08-18 03:09:39,169 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:09:43,250 - 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-18 03:09:43,250 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-81446562 failed! 2025-08-18 03:09:43,268 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:09:47,349 - 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-18 03:09:47,349 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-81446562 failed! 2025-08-18 03:09:47,364 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:09:51,446 - 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-18 03:09:51,446 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-81446562 failed! 2025-08-18 03:09:51,460 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:09:55,542 - 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-18 03:09:55,543 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-81446562 failed! 2025-08-18 03:09:55,560 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:09:59,626 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-08-18 03:09:59,626 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-81446562 failed! 2025-08-18 03:09:59,640 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:10:03,729 - 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=5.86 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 = 5.858/5.858/5.858/0.000 ms') 2025-08-18 03:10:03,729 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-81446562 passed 2025-08-18 03:10:03,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 03:10:03,794 - DEBUG - Waiting to SSH to VM ctest-vm1-test-81446562, IP 10.10.10.3, Port 22 2025-08-18 03:10:03,854 - 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-18 03:10:03,967 - DEBUG - VM ctest-vm1-test-81446562 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-18 03:10:08,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 03:10:08,967 - DEBUG - Waiting to SSH to VM ctest-vm1-test-81446562, IP 10.10.10.3, Port 22 2025-08-18 03:10:09,025 - 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-18 03:10:09,102 - DEBUG - VM ctest-vm1-test-81446562 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-18 03:10:14,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 03:10:14,103 - DEBUG - Waiting to SSH to VM ctest-vm1-test-81446562, IP 10.10.10.3, Port 22 2025-08-18 03:10:14,171 - 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-18 03:10:14,248 - DEBUG - VM ctest-vm1-test-81446562 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-18 03:10:19,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 03:10:19,250 - DEBUG - Waiting to SSH to VM ctest-vm1-test-81446562, IP 10.10.10.3, Port 22 2025-08-18 03:10:19,305 - 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-18 03:10:19,376 - DEBUG - VM ctest-vm1-test-81446562 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-18 03:10:24,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 03:10:24,377 - DEBUG - Waiting to SSH to VM ctest-vm1-test-81446562, IP 10.10.10.3, Port 22 2025-08-18 03:10:24,543 - DEBUG - VM ctest-vm1-test-81446562 is ready for SSH connections 2025-08-18 03:10:24,544 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-18 03:10:24,544 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-18 03:10:41,490 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-18 03:10:41,491 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-81446562", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-18 03:10:41,491 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-81446562", None, socket.AF_INET6)' 2025-08-18 03:10:43,824 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-81446562, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-18 03:10:43,824 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-81446562 2025-08-18 03:10:46,739 - DEBUG - PING ctest-vm1-test-81446562.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-81446562.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.61 ms 64 bytes from ctest-vm1-test-81446562.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.238 ms 64 bytes from ctest-vm1-test-81446562.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.205 ms --- ctest-vm1-test-81446562.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.205/1.020/2.619/1.130 ms 2025-08-18 03:10:46,739 - INFO - Ping to IP ctest-vm1-test-81446562 from VM ctest-vm1-test-81446562 passed 2025-08-18 03:10:46,764 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-18 03:10:46,772 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80273499@0%20AllEntriesVdnsRecordsReq 2025-08-18 03:10:46,778 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-18 03:10:46,787 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80273499@0%20AllEntriesVdnsRecordsReq 2025-08-18 03:10:46,794 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-18 03:10:46,801 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80273499@0%20AllEntriesVdnsRecordsReq 2025-08-18 03:10:46,808 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-80273499:1:ctest-vm1-test-81446562:10.10.10.3', 'rec_name': 'ctest-vm1-test-81446562', '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-3870-1/dns'} , Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-81446562.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-18 03:10:46,808 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-80273499:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-81446562', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-81446562', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3870-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-81446562.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-18 03:10:48,058 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3870-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3870-2) 2025-08-18 03:10:48,058 - INFO - Waiting for VM ctest-vm2-test-88828533 to be up.. 2025-08-18 03:10:48,101 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 03:10:53,235 - DEBUG - VM is in ACTIVE state now 2025-08-18 03:10:53,236 - INFO - VM name : ctest-vm2-test-88828533 2025-08-18 03:10:53,314 - DEBUG - VM ctest-vm2-test-88828533 ID is 248d5ed3-29eb-43a1-a694-bbd57494d44c 2025-08-18 03:10:53,314 - DEBUG - VM ctest-vm2-test-88828533 launched on Node an-jenkins-deploy-platform-ansible-os-3870-2 2025-08-18 03:10:53,384 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/248d5ed3-29eb-43a1-a694-bbd57494d44c 2025-08-18 03:10:53,395 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7a8d0445-ced2-4639-85fa-99f7d3fbf91c 2025-08-18 03:10:56,562 - 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-18 03:10:56,562 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-88828533 failed! 2025-08-18 03:10:56,578 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:11:00,665 - 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-08-18 03:11:00,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-88828533 failed! 2025-08-18 03:11:00,680 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:11:04,763 - 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-18 03:11:04,763 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-88828533 failed! 2025-08-18 03:11:04,777 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:11:08,856 - 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-18 03:11:08,856 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-88828533 failed! 2025-08-18 03:11:08,870 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:11:12,954 - 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-18 03:11:12,955 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-88828533 failed! 2025-08-18 03:11:12,972 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:11:17,044 - 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-08-18 03:11:17,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-88828533 failed! 2025-08-18 03:11:17,057 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:11:21,147 - 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-08-18 03:11:21,147 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-88828533 failed! 2025-08-18 03:11:21,163 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-20094575:ctest-vn1-vdns-85785552 is 10.10.10.1 and allocation pool is NOT set 2025-08-18 03:11:25,242 - 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=5.59 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 5.589/5.589/5.589/0.000 ms') 2025-08-18 03:11:25,242 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-88828533 passed 2025-08-18 03:11:25,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 03:11:25,311 - DEBUG - Waiting to SSH to VM ctest-vm2-test-88828533, IP 10.10.10.4, Port 22 2025-08-18 03:11:25,379 - 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-18 03:11:25,474 - DEBUG - VM ctest-vm2-test-88828533 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-18 03:11:30,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 03:11:30,475 - DEBUG - Waiting to SSH to VM ctest-vm2-test-88828533, IP 10.10.10.4, Port 22 2025-08-18 03:11:30,534 - 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-18 03:11:30,628 - DEBUG - VM ctest-vm2-test-88828533 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-18 03:11:35,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 03:11:35,629 - DEBUG - Waiting to SSH to VM ctest-vm2-test-88828533, IP 10.10.10.4, Port 22 2025-08-18 03:11:35,695 - 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-18 03:11:35,814 - DEBUG - VM ctest-vm2-test-88828533 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-18 03:11:40,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 03:11:40,814 - DEBUG - Waiting to SSH to VM ctest-vm2-test-88828533, IP 10.10.10.4, Port 22 2025-08-18 03:11:40,883 - 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-18 03:11:40,953 - DEBUG - VM ctest-vm2-test-88828533 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-18 03:11:45,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 03:11:45,954 - DEBUG - Waiting to SSH to VM ctest-vm2-test-88828533, IP 10.10.10.4, Port 22 2025-08-18 03:11:46,116 - DEBUG - VM ctest-vm2-test-88828533 is ready for SSH connections 2025-08-18 03:11:46,116 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-18 03:11:46,116 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-18 03:12:03,316 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-18 03:12:03,316 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-88828533", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-18 03:12:03,316 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-88828533", None, socket.AF_INET6)' 2025-08-18 03:12:05,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-88828533, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-18 03:12:05,810 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-88828533 2025-08-18 03:12:08,724 - DEBUG - PING ctest-vm2-test-88828533.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-88828533.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.85 ms 64 bytes from ctest-vm2-test-88828533.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.252 ms 64 bytes from ctest-vm2-test-88828533.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.207 ms --- ctest-vm2-test-88828533.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.207/1.104/2.853/1.236 ms 2025-08-18 03:12:08,724 - INFO - Ping to IP ctest-vm2-test-88828533 from VM ctest-vm2-test-88828533 passed 2025-08-18 03:12:08,746 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-18 03:12:08,752 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80273499@0%20AllEntriesVdnsRecordsReq 2025-08-18 03:12:08,759 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-18 03:12:08,764 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80273499@0%20AllEntriesVdnsRecordsReq 2025-08-18 03:12:08,771 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-18 03:12:08,777 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-80273499@0%20AllEntriesVdnsRecordsReq 2025-08-18 03:12:08,783 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-80273499:1:ctest-vm2-test-88828533:10.10.10.4', 'rec_name': 'ctest-vm2-test-88828533', '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-3870-2/dns'} , Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-88828533.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-18 03:12:08,783 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-80273499:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-88828533', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-88828533', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3870-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-88828533.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-18 03:12:08,784 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-88828533", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-18 03:12:08,784 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-88828533", None, socket.AF_INET6)' 2025-08-18 03:12:09,888 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-88828533, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-18 03:12:09,889 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-88828533 2025-08-18 03:12:12,401 - DEBUG - PING ctest-vm2-test-88828533.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-88828533.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.75 ms 64 bytes from ctest-vm2-test-88828533.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.15 ms 64 bytes from ctest-vm2-test-88828533.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.44 ms --- ctest-vm2-test-88828533.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 1.152/3.785/8.758/3.518 ms 2025-08-18 03:12:12,401 - INFO - Ping to IP ctest-vm2-test-88828533 from VM ctest-vm1-test-81446562 passed 2025-08-18 03:12:12,401 - INFO - Try deleting the VDNS entry ctest-vdns1-80273499 with back ref of ipam. 2025-08-18 03:12:12,462 - DEBUG - Delete when resource still referred: ['http://10.0.0.19:8082/network-ipam/cf42eff2-b548-4934-a654-b96c4fda5d9f'] 2025-08-18 03:12:12,462 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-18 03:12:12,462 - INFO - Add CNAME VDNS record for ctest-vm1-test-81446562 and verify we able to ping by alias name 2025-08-18 03:12:12,510 - DEBUG - Creating VDNS record data : test-rec 2025-08-18 03:12:12,630 - INFO - In verify_on_setup 2025-08-18 03:12:12,726 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-80273499', 'test-rec'] created succesfully 2025-08-18 03:12:12,727 - INFO - Verify VDNS record is shown in the API server 2025-08-18 03:12:12,727 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-18 03:12:12,733 - DEBUG - Requesting: http://10.0.0.27:8082/domain/edf943fc-0622-4564-8821-4de9bd04e8a3 2025-08-18 03:12:12,749 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/31626e2f-eba7-45cc-bd92-870ee7607a20 2025-08-18 03:12:12,760 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/c1aa987a-8e6c-48b9-b246-871c8478e1a3 2025-08-18 03:12:12,768 - INFO - Verify VDNS record is shown in the control node 2025-08-18 03:12:12,788 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-18 03:12:12,788 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-18 03:12:13,941 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-18 03:12:13,941 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-18 03:12:14,425 - DEBUG - ping: unknown host vm1-test-alias 2025-08-18 03:12:14,425 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-81446562 failed 2025-08-18 03:12:15,427 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-18 03:12:15,427 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-18 03:12:16,509 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-18 03:12:16,509 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-18 03:12:19,001 - DEBUG - PING ctest-vm1-test-81446562.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-81446562.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.211 ms 64 bytes from ctest-vm1-test-81446562.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.197 ms 64 bytes from ctest-vm1-test-81446562.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.338 ms --- ctest-vm1-test-81446562.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.197/0.248/0.338/0.065 ms 2025-08-18 03:12:19,001 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-81446562 passed 2025-08-18 03:12:19,001 - DEBUG - Deleting VDNS record data: test-rec 2025-08-18 03:12:19,086 - INFO - VDNS record info: default-domain:ctest-vdns1-80273499:test-rec deleted successfully. 2025-08-18 03:12:19,086 - INFO - Deleting VM ctest-vm2-test-88828533 2025-08-18 03:12:19,192 - INFO - Deleting VM ctest-vm1-test-81446562 2025-08-18 03:12:19,255 - INFO - Deleting VN ctest-vn1-vdns-85785552 2025-08-18 03:12:19,297 - DEBUG - VN 4b115948-0da8-431f-8a37-7147ad199ebd still in use: Unable to complete operation on network 4b115948-0da8-431f-8a37-7147ad199ebd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d3056bc-dea6-45c0-ad44-6c663daa1bea'] 2025-08-18 03:12:19,297 - WARNING - Deleting VN ctest-vn1-vdns-85785552 failed..Will retry 2025-08-18 03:12:21,468 - DEBUG - Response for deleting network () 2025-08-18 03:12:21,513 - DEBUG - Deleting VDNS Entry: ctest-vdns1-80273499 2025-08-18 03:12:21,594 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-80273499'] deleted successfully. 2025-08-18 03:12:21,594 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-18 03:12:21,601 - DEBUG - Requesting: http://10.0.0.27:8082/domain/edf943fc-0622-4564-8821-4de9bd04e8a3 2025-08-18 03:12:21,640 - DEBUG - VDNS information not found in API server 2025-08-18 03:12:21,640 - INFO - VDNS information ctest-vdns1-80273499 removed from the API Server 2025-08-18 03:12:21,646 - INFO - VDNS information ctest-vdns1-80273499 removed in the Control node 2025-08-18 03:12:21,646 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-20094575'] 2025-08-18 03:12:22,913 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 03:12:22,913 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:01]
2025-08-18 03:12:22,913 - INFO - -------------------------------------------------------------------------------- 2025-08-18 03:12:23,726 - INFO - Deleted project: ctest-TestvDNSBasic0-20094575, ID : ce80a316-d130-420b-b290-023f1b6de36e