2025-08-04 03:24:04,587 - INFO - Domain Default found not creating 2025-08-04 03:24:04,791 - INFO - Project ctest-TestvDNSBasic0-92297068 not found, creating it 2025-08-04 03:24:05,336 - INFO - Created Project:ctest-TestvDNSBasic0-92297068, ID : 1f95bf16-4350-4642-82d2-043bce55d4c7 2025-08-04 03:24:06,999 - INFO - ================================================================================ 2025-08-04 03:24:07,000 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-04 03:24:07,000 - 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-04 03:24:08,288 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.57': {'10.20.0.193': '0', '10.20.0.18': '0'}} with 2025-08-04 03:24:08,288 - INFO - Initial checks done. Running the testcase now 2025-08-04 03:24:08,288 - INFO - 2025-08-04 03:24:09,041 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-92297068'](1f95bf16-4350-4642-82d2-043bce55d4c7) 2025-08-04 03:24:09,100 - DEBUG - Creating VDNS : ctest-vdns1-55440622 2025-08-04 03:24:09,334 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-55440622'] created succesfully 2025-08-04 03:24:09,334 - DEBUG - Verify VDNS entry is shown in control node 2025-08-04 03:24:09,356 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-04 03:24:09,356 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-04 03:24:09,657 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-04 03:24:09,690 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d00e278-1e00-4abc-a644-cc23d080d5d1 2025-08-04 03:24:09,739 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/bbbfbc35-6695-44a6-bbd6-fe4feb09e4d6 2025-08-04 03:24:10,543 - DEBUG - Response for create_network : {'network': {'id': '6041dd11-4a49-4050-b24e-c411d46043c4', 'name': 'ctest-vn1-vdns-61791190', 'tenant_id': '1f95bf164350464282d2043bce55d4c7', 'project_id': '1f95bf164350464282d2043bce55d4c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-92297068', 'ctest-vn1-vdns-61791190'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 03:24:10,871 - DEBUG - Response for create_subnet : {'subnet': {'id': '44e1cb4c-ce55-4ee8-a0f0-c9d578bba125', 'name': '', 'tenant_id': '1f95bf164350464282d2043bce55d4c7', 'network_id': '6041dd11-4a49-4050-b24e-c411d46043c4', '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': '1f95bf164350464282d2043bce55d4c7'}} 2025-08-04 03:24:10,900 - INFO - Created VN ctest-vn1-vdns-61791190 2025-08-04 03:24:10,919 - DEBUG - VN ctest-vn1-vdns-61791190 UUID is 6041dd11-4a49-4050-b24e-c411d46043c4 2025-08-04 03:24:11,135 - DEBUG - Services list from nova: [, , , ] 2025-08-04 03:24:12,289 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-2) 2025-08-04 03:24:12,289 - INFO - Waiting for VM ctest-vm1-test-79499817 to be up.. 2025-08-04 03:24:12,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 03:24:17,448 - DEBUG - VM is in ACTIVE state now 2025-08-04 03:24:17,449 - INFO - VM name : ctest-vm1-test-79499817 2025-08-04 03:24:17,564 - DEBUG - VM ctest-vm1-test-79499817 ID is d42d665f-52f4-4eb0-a7f7-552c9f95fdfb 2025-08-04 03:24:17,564 - DEBUG - VM ctest-vm1-test-79499817 launched on Node an-jenkins-deploy-platform-ansible-os-3750-2 2025-08-04 03:24:17,652 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/d42d665f-52f4-4eb0-a7f7-552c9f95fdfb 2025-08-04 03:24:17,974 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/d42d665f-52f4-4eb0-a7f7-552c9f95fdfb 2025-08-04 03:24:18,013 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/26f98c95-a42f-4977-9486-038df50a7a96 2025-08-04 03:24:21,253 - 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-04 03:24:21,253 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79499817 failed! 2025-08-04 03:24:21,274 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:24:25,342 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2025-08-04 03:24:25,342 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79499817 failed! 2025-08-04 03:24:25,366 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:24:29,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 1013ms') 2025-08-04 03:24:29,446 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79499817 failed! 2025-08-04 03:24:29,463 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:24:33,540 - 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-04 03:24:33,540 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79499817 failed! 2025-08-04 03:24:33,558 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:24:37,636 - 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-04 03:24:37,636 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79499817 failed! 2025-08-04 03:24:37,655 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:24:41,730 - 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 1010ms') 2025-08-04 03:24:41,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79499817 failed! 2025-08-04 03:24:41,750 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:24:45,820 - 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-04 03:24:45,820 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79499817 failed! 2025-08-04 03:24:45,839 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:24:49,925 - 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-04 03:24:49,926 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79499817 failed! 2025-08-04 03:24:49,947 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:24:52,015 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.65 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.652/5.024/6.397/1.372 ms') 2025-08-04 03:24:52,015 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79499817 passed 2025-08-04 03:24:52,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 03:24:52,130 - DEBUG - Waiting to SSH to VM ctest-vm1-test-79499817, IP 10.10.10.3, Port 22 2025-08-04 03:24:52,194 - 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-04 03:24:52,288 - DEBUG - VM ctest-vm1-test-79499817 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 03:24:57,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 03:24:57,289 - DEBUG - Waiting to SSH to VM ctest-vm1-test-79499817, IP 10.10.10.3, Port 22 2025-08-04 03:24:57,355 - 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-04 03:24:57,469 - DEBUG - VM ctest-vm1-test-79499817 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 03:25:02,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 03:25:02,470 - DEBUG - Waiting to SSH to VM ctest-vm1-test-79499817, IP 10.10.10.3, Port 22 2025-08-04 03:25:02,539 - 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-04 03:25:02,630 - DEBUG - VM ctest-vm1-test-79499817 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 03:25:07,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 03:25:07,631 - DEBUG - Waiting to SSH to VM ctest-vm1-test-79499817, IP 10.10.10.3, Port 22 2025-08-04 03:25:07,798 - DEBUG - VM ctest-vm1-test-79499817 is ready for SSH connections 2025-08-04 03:25:07,798 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-04 03:25:07,799 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-04 03:25:27,106 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-04 03:25:27,106 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-79499817", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-04 03:25:27,106 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-79499817", None, socket.AF_INET6)' 2025-08-04 03:25:29,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-79499817, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-04 03:25:29,697 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-79499817 2025-08-04 03:25:32,682 - DEBUG - PING ctest-vm1-test-79499817.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-79499817.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.72 ms 64 bytes from ctest-vm1-test-79499817.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.219 ms 64 bytes from ctest-vm1-test-79499817.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.193 ms --- ctest-vm1-test-79499817.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.193/1.046/2.726/1.187 ms 2025-08-04 03:25:32,683 - INFO - Ping to IP ctest-vm1-test-79499817 from VM ctest-vm1-test-79499817 passed 2025-08-04 03:25:32,711 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-04 03:25:32,720 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55440622@0%20AllEntriesVdnsRecordsReq 2025-08-04 03:25:32,728 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-04 03:25:32,735 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55440622@0%20AllEntriesVdnsRecordsReq 2025-08-04 03:25:32,742 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-04 03:25:32,754 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55440622@0%20AllEntriesVdnsRecordsReq 2025-08-04 03:25:32,762 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-55440622:1:ctest-vm1-test-79499817:10.10.10.3', 'rec_name': 'ctest-vm1-test-79499817', '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-3750-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-79499817.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-04 03:25:32,762 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-55440622:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-79499817', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-79499817', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3750-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-79499817.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-04 03:25:34,284 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-1) 2025-08-04 03:25:34,284 - INFO - Waiting for VM ctest-vm2-test-35388148 to be up.. 2025-08-04 03:25:34,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 03:25:39,434 - DEBUG - VM is in ACTIVE state now 2025-08-04 03:25:39,435 - INFO - VM name : ctest-vm2-test-35388148 2025-08-04 03:25:39,534 - DEBUG - VM ctest-vm2-test-35388148 ID is 2929e536-6cc4-49e8-b6ef-374e379fd5c5 2025-08-04 03:25:39,535 - DEBUG - VM ctest-vm2-test-35388148 launched on Node an-jenkins-deploy-platform-ansible-os-3750-1 2025-08-04 03:25:39,629 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/2929e536-6cc4-49e8-b6ef-374e379fd5c5 2025-08-04 03:25:39,644 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/ef8df3d2-4f43-4409-9c91-bf55d4cfd178 2025-08-04 03:25:42,895 - 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-08-04 03:25:42,895 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-35388148 failed! 2025-08-04 03:25:42,913 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:25:46,990 - 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 1006ms') 2025-08-04 03:25:46,990 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-35388148 failed! 2025-08-04 03:25:47,013 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:25:51,089 - 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 1006ms') 2025-08-04 03:25:51,089 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-35388148 failed! 2025-08-04 03:25:51,108 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:25:55,178 - 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 1010ms') 2025-08-04 03:25:55,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-35388148 failed! 2025-08-04 03:25:55,199 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:25:59,279 - 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-04 03:25:59,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-35388148 failed! 2025-08-04 03:25:59,295 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:26:03,376 - 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-04 03:26:03,376 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-35388148 failed! 2025-08-04 03:26:03,397 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:26:07,463 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2025-08-04 03:26:07,463 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-35388148 failed! 2025-08-04 03:26:07,481 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:26:11,568 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-08-04 03:26:11,568 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-35388148 failed! 2025-08-04 03:26:11,587 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:26:15,666 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2025-08-04 03:26:15,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-35388148 failed! 2025-08-04 03:26:15,684 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-92297068:ctest-vn1-vdns-61791190 is 10.10.10.1 and allocation pool is NOT set 2025-08-04 03:26:17,746 - 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=7.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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 = 1.743/4.855/7.968/3.112 ms') 2025-08-04 03:26:17,746 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-35388148 passed 2025-08-04 03:26:17,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 03:26:17,868 - DEBUG - Waiting to SSH to VM ctest-vm2-test-35388148, IP 10.10.10.4, Port 22 2025-08-04 03:26:17,936 - 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-04 03:26:18,033 - DEBUG - VM ctest-vm2-test-35388148 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 03:26:23,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 03:26:23,034 - DEBUG - Waiting to SSH to VM ctest-vm2-test-35388148, IP 10.10.10.4, Port 22 2025-08-04 03:26:23,104 - 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-04 03:26:23,194 - DEBUG - VM ctest-vm2-test-35388148 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 03:26:28,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 03:26:28,196 - DEBUG - Waiting to SSH to VM ctest-vm2-test-35388148, IP 10.10.10.4, Port 22 2025-08-04 03:26:28,264 - 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-04 03:26:28,379 - DEBUG - VM ctest-vm2-test-35388148 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 03:26:33,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 03:26:33,380 - DEBUG - Waiting to SSH to VM ctest-vm2-test-35388148, IP 10.10.10.4, Port 22 2025-08-04 03:26:33,449 - 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-04 03:26:33,551 - DEBUG - VM ctest-vm2-test-35388148 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 03:26:38,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 03:26:38,553 - DEBUG - Waiting to SSH to VM ctest-vm2-test-35388148, IP 10.10.10.4, Port 22 2025-08-04 03:26:38,721 - DEBUG - VM ctest-vm2-test-35388148 is ready for SSH connections 2025-08-04 03:26:38,721 - 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-04 03:26:38,721 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-04 03:27:01,392 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-04 03:27:01,393 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-35388148", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-04 03:27:01,393 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-35388148", None, socket.AF_INET6)' 2025-08-04 03:27:04,454 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-35388148, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-04 03:27:04,454 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-35388148 2025-08-04 03:27:07,525 - DEBUG - PING ctest-vm2-test-35388148.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-35388148.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.82 ms 64 bytes from ctest-vm2-test-35388148.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.239 ms 64 bytes from ctest-vm2-test-35388148.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.286 ms --- ctest-vm2-test-35388148.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2006ms rtt min/avg/max/mdev = 0.239/1.115/2.821/1.206 ms 2025-08-04 03:27:07,525 - INFO - Ping to IP ctest-vm2-test-35388148 from VM ctest-vm2-test-35388148 passed 2025-08-04 03:27:07,555 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-04 03:27:07,564 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55440622@0%20AllEntriesVdnsRecordsReq 2025-08-04 03:27:07,575 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-04 03:27:07,580 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55440622@0%20AllEntriesVdnsRecordsReq 2025-08-04 03:27:07,586 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-04 03:27:07,592 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55440622@0%20AllEntriesVdnsRecordsReq 2025-08-04 03:27:07,599 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-55440622:1:ctest-vm2-test-35388148:10.10.10.4', 'rec_name': 'ctest-vm2-test-35388148', '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-3750-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-35388148.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-04 03:27:07,599 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-55440622:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-35388148', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-35388148', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3750-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-35388148.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-04 03:27:07,600 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-35388148", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-04 03:27:07,600 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-35388148", None, socket.AF_INET6)' 2025-08-04 03:27:08,779 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-35388148, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-04 03:27:08,779 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-35388148 2025-08-04 03:27:11,338 - DEBUG - PING ctest-vm2-test-35388148.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-35388148.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=11.6 ms 64 bytes from ctest-vm2-test-35388148.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.77 ms 64 bytes from ctest-vm2-test-35388148.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.07 ms --- ctest-vm2-test-35388148.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.077/5.169/11.656/4.639 ms 2025-08-04 03:27:11,338 - INFO - Ping to IP ctest-vm2-test-35388148 from VM ctest-vm1-test-79499817 passed 2025-08-04 03:27:11,338 - INFO - Try deleting the VDNS entry ctest-vdns1-55440622 with back ref of ipam. 2025-08-04 03:27:11,404 - DEBUG - Delete when resource still referred: ['http://10.0.0.61:8082/network-ipam/e76044fa-5ddb-480a-9d1e-a2fd54794786'] 2025-08-04 03:27:11,404 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-04 03:27:11,405 - INFO - Add CNAME VDNS record for ctest-vm1-test-79499817 and verify we able to ping by alias name 2025-08-04 03:27:11,456 - DEBUG - Creating VDNS record data : test-rec 2025-08-04 03:27:11,588 - INFO - In verify_on_setup 2025-08-04 03:27:11,688 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-55440622', 'test-rec'] created succesfully 2025-08-04 03:27:11,688 - INFO - Verify VDNS record is shown in the API server 2025-08-04 03:27:11,688 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-04 03:27:11,699 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d00e278-1e00-4abc-a644-cc23d080d5d1 2025-08-04 03:27:11,720 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/bbbfbc35-6695-44a6-bbd6-fe4feb09e4d6 2025-08-04 03:27:11,740 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/cf67a843-2eac-4acb-a1a6-7d273b05db23 2025-08-04 03:27:11,753 - INFO - Verify VDNS record is shown in the control node 2025-08-04 03:27:11,780 - 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.57, gateway password: c0ntrail123 2025-08-04 03:27:11,780 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-04 03:27:13,012 - 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.57, gateway password: c0ntrail123 2025-08-04 03:27:13,012 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-04 03:27:13,536 - DEBUG - ping: unknown host vm1-test-alias 2025-08-04 03:27:13,536 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-79499817 failed 2025-08-04 03:27:14,538 - 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.57, gateway password: c0ntrail123 2025-08-04 03:27:14,539 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-04 03:27:15,699 - 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.57, gateway password: c0ntrail123 2025-08-04 03:27:15,699 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-04 03:27:18,255 - DEBUG - PING ctest-vm1-test-79499817.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-79499817.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.220 ms 64 bytes from ctest-vm1-test-79499817.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.200 ms 64 bytes from ctest-vm1-test-79499817.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.211 ms --- ctest-vm1-test-79499817.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.200/0.210/0.220/0.014 ms 2025-08-04 03:27:18,255 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-79499817 passed 2025-08-04 03:27:18,255 - DEBUG - Deleting VDNS record data: test-rec 2025-08-04 03:27:18,351 - INFO - VDNS record info: default-domain:ctest-vdns1-55440622:test-rec deleted successfully. 2025-08-04 03:27:18,352 - INFO - Deleting VM ctest-vm2-test-35388148 2025-08-04 03:27:18,427 - INFO - Deleting VM ctest-vm1-test-79499817 2025-08-04 03:27:18,498 - INFO - Deleting VN ctest-vn1-vdns-61791190 2025-08-04 03:27:18,551 - DEBUG - VN 6041dd11-4a49-4050-b24e-c411d46043c4 still in use: Unable to complete operation on network 6041dd11-4a49-4050-b24e-c411d46043c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6de0b11b-4b7c-411f-a988-d35c6b7057c9'] 2025-08-04 03:27:18,551 - WARNING - Deleting VN ctest-vn1-vdns-61791190 failed..Will retry 2025-08-04 03:27:20,780 - DEBUG - Response for deleting network () 2025-08-04 03:27:20,845 - DEBUG - Deleting VDNS Entry: ctest-vdns1-55440622 2025-08-04 03:27:20,948 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-55440622'] deleted successfully. 2025-08-04 03:27:20,948 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-04 03:27:20,958 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d00e278-1e00-4abc-a644-cc23d080d5d1 2025-08-04 03:27:20,980 - DEBUG - VDNS information not found in API server 2025-08-04 03:27:20,981 - INFO - VDNS information ctest-vdns1-55440622 removed from the API Server 2025-08-04 03:27:20,991 - INFO - VDNS information ctest-vdns1-55440622 removed in the Control node 2025-08-04 03:27:20,992 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-92297068'] 2025-08-04 03:27:22,284 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 03:27:22,284 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:15] 2025-08-04 03:27:22,284 - INFO - -------------------------------------------------------------------------------- 2025-08-04 03:27:23,101 - INFO - Deleted project: ctest-TestvDNSBasic0-92297068, ID : 1f95bf16-4350-4642-82d2-043bce55d4c7