2025-10-06 02:48:15,314 - INFO - Domain Default found not creating 2025-10-06 02:48:15,461 - INFO - Project ctest-TestvDNSBasic0-50388478 not found, creating it 2025-10-06 02:48:15,949 - INFO - Created Project:ctest-TestvDNSBasic0-50388478, ID : 2c904d28-f995-41f0-9675-77219fb55b4f 2025-10-06 02:48:17,324 - INFO - ================================================================================ 2025-10-06 02:48:17,325 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-10-06 02:48:17,325 - 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-06 02:48:18,600 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.193': '0', '10.20.0.25': '0'}, '10.0.0.19': {'10.20.0.25': '0', '10.20.0.17': '0'}} with 2025-10-06 02:48:18,600 - INFO - Initial checks done. Running the testcase now 2025-10-06 02:48:18,600 - INFO - 2025-10-06 02:48:19,897 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-50388478'](2c904d28-f995-41f0-9675-77219fb55b4f) 2025-10-06 02:48:19,949 - DEBUG - Creating VDNS : ctest-vdns1-04318170 2025-10-06 02:48:20,169 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-04318170'] created succesfully 2025-10-06 02:48:20,169 - DEBUG - Verify VDNS entry is shown in control node 2025-10-06 02:48:20,187 - DEBUG - Verify VDNS entry is shown in the API server 2025-10-06 02:48:20,187 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-06 02:48:20,475 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-06 02:48:20,514 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8177ca4a-5181-4745-ae27-f33c0972392c 2025-10-06 02:48:20,533 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-DNS/20968375-19a5-457c-806f-dd6462e4d18c 2025-10-06 02:48:21,238 - DEBUG - Response for create_network : {'network': {'id': '31798677-8fe0-479f-a0fc-4dbbfdfe32a5', 'name': 'ctest-vn1-vdns-14348663', 'tenant_id': '2c904d28f99541f0967577219fb55b4f', 'project_id': '2c904d28f99541f0967577219fb55b4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-50388478', 'ctest-vn1-vdns-14348663'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 02:48:21,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e8444f7-81d6-4de6-b27f-899413a8cc2a', 'name': '', 'tenant_id': '2c904d28f99541f0967577219fb55b4f', 'network_id': '31798677-8fe0-479f-a0fc-4dbbfdfe32a5', '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': '2c904d28f99541f0967577219fb55b4f'}} 2025-10-06 02:48:21,550 - INFO - Created VN ctest-vn1-vdns-14348663 2025-10-06 02:48:21,566 - DEBUG - VN ctest-vn1-vdns-14348663 UUID is 31798677-8fe0-479f-a0fc-4dbbfdfe32a5 2025-10-06 02:48:21,727 - DEBUG - Services list from nova: [, , , ] 2025-10-06 02:48:22,739 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4219-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4219-1) 2025-10-06 02:48:22,739 - INFO - Waiting for VM ctest-vm1-test-31833068 to be up.. 2025-10-06 02:48:22,784 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 02:48:27,859 - DEBUG - VM is in ACTIVE state now 2025-10-06 02:48:27,860 - INFO - VM name : ctest-vm1-test-31833068 2025-10-06 02:48:27,931 - DEBUG - VM ctest-vm1-test-31833068 ID is 26ccb894-6bd8-4905-9395-449ed462c28d 2025-10-06 02:48:27,931 - DEBUG - VM ctest-vm1-test-31833068 launched on Node an-jenkins-deploy-platform-ansible-os-4219-1 2025-10-06 02:48:28,108 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/26ccb894-6bd8-4905-9395-449ed462c28d 2025-10-06 02:48:28,401 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/26ccb894-6bd8-4905-9395-449ed462c28d 2025-10-06 02:48:28,435 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ba837f00-6770-4da9-ac98-f74f9fc5cc4e 2025-10-06 02:48:31,596 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms') 2025-10-06 02:48:31,596 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31833068 failed! 2025-10-06 02:48:31,612 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:48:35,691 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-10-06 02:48:35,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31833068 failed! 2025-10-06 02:48:35,705 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:48:39,789 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-10-06 02:48:39,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31833068 failed! 2025-10-06 02:48:39,802 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:48:43,879 - 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-10-06 02:48:43,880 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31833068 failed! 2025-10-06 02:48:43,894 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:48:47,982 - 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-06 02:48:47,982 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31833068 failed! 2025-10-06 02:48:47,995 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:48:52,082 - 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-06 02:48:52,083 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31833068 failed! 2025-10-06 02:48:52,098 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:48:56,171 - 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-10-06 02:48:56,171 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31833068 failed! 2025-10-06 02:48:56,187 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:49:00,267 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-06 02:49:00,267 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31833068 failed! 2025-10-06 02:49:00,282 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:49:02,354 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.02 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 = 3.023/5.069/7.115/2.046 ms') 2025-10-06 02:49:02,354 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-31833068 passed 2025-10-06 02:49:02,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 02:49:02,426 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31833068, IP 10.10.10.3, Port 22 2025-10-06 02:49:02,484 - 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-06 02:49:02,560 - DEBUG - VM ctest-vm1-test-31833068 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 02:49:07,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 02:49:07,561 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31833068, IP 10.10.10.3, Port 22 2025-10-06 02:49:07,630 - 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-06 02:49:07,711 - DEBUG - VM ctest-vm1-test-31833068 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 02:49:12,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 02:49:12,711 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31833068, IP 10.10.10.3, Port 22 2025-10-06 02:49:12,777 - 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-06 02:49:12,860 - DEBUG - VM ctest-vm1-test-31833068 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 02:49:17,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 02:49:17,862 - DEBUG - Waiting to SSH to VM ctest-vm1-test-31833068, IP 10.10.10.3, Port 22 2025-10-06 02:49:18,030 - DEBUG - VM ctest-vm1-test-31833068 is ready for SSH connections 2025-10-06 02:49:18,030 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-06 02:49:18,030 - DEBUG - ifconfig | grep 10.10.10.3 2025-10-06 02:49:36,912 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-06 02:49:36,913 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-31833068", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-06 02:49:36,913 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-31833068", None, socket.AF_INET6)' 2025-10-06 02:49:39,164 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-31833068, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-06 02:49:39,164 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-31833068 2025-10-06 02:49:41,691 - DEBUG - PING ctest-vm1-test-31833068.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-31833068.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.41 ms 64 bytes from ctest-vm1-test-31833068.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.296 ms 64 bytes from ctest-vm1-test-31833068.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.195 ms --- ctest-vm1-test-31833068.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.195/1.635/4.414/1.965 ms 2025-10-06 02:49:41,691 - INFO - Ping to IP ctest-vm1-test-31833068 from VM ctest-vm1-test-31833068 passed 2025-10-06 02:49:41,715 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-06 02:49:41,722 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04318170@0%20AllEntriesVdnsRecordsReq 2025-10-06 02:49:41,731 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-06 02:49:41,738 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04318170@0%20AllEntriesVdnsRecordsReq 2025-10-06 02:49:41,749 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-06 02:49:41,756 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04318170@0%20AllEntriesVdnsRecordsReq 2025-10-06 02:49:41,767 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04318170:1:ctest-vm1-test-31833068:10.10.10.3', 'rec_name': 'ctest-vm1-test-31833068', '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-4219-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-31833068.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-06 02:49:41,767 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04318170:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-31833068', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-31833068', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4219-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-31833068.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-06 02:49:43,104 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4219-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4219-2) 2025-10-06 02:49:43,105 - INFO - Waiting for VM ctest-vm2-test-82702190 to be up.. 2025-10-06 02:49:43,147 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 02:49:48,219 - DEBUG - VM is in ACTIVE state now 2025-10-06 02:49:48,219 - INFO - VM name : ctest-vm2-test-82702190 2025-10-06 02:49:48,294 - DEBUG - VM ctest-vm2-test-82702190 ID is f0fb9487-0a13-4374-b527-bceabe59bc3f 2025-10-06 02:49:48,294 - DEBUG - VM ctest-vm2-test-82702190 launched on Node an-jenkins-deploy-platform-ansible-os-4219-2 2025-10-06 02:49:48,374 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f0fb9487-0a13-4374-b527-bceabe59bc3f 2025-10-06 02:49:48,384 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/004ee61e-7d3f-432b-a4c4-daf25cc89c86 2025-10-06 02:49:51,558 - 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-06 02:49:51,558 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82702190 failed! 2025-10-06 02:49:51,572 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:49:55,659 - 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-06 02:49:55,659 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82702190 failed! 2025-10-06 02:49:55,673 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:49:59,753 - 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-10-06 02:49:59,754 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82702190 failed! 2025-10-06 02:49:59,767 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:50:03,852 - 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-06 02:50:03,852 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82702190 failed! 2025-10-06 02:50:03,868 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:50:07,942 - 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-06 02:50:07,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82702190 failed! 2025-10-06 02:50:07,957 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:50:12,046 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-10-06 02:50:12,046 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82702190 failed! 2025-10-06 02:50:12,060 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:50:16,139 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-06 02:50:16,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82702190 failed! 2025-10-06 02:50:16,156 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:50:20,237 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-06 02:50:20,238 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82702190 failed! 2025-10-06 02:50:20,255 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50388478:ctest-vn1-vdns-14348663 is 10.10.10.1 and allocation pool is NOT set 2025-10-06 02:50:22,320 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=6.47 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 = 6.473/6.537/6.602/0.064 ms') 2025-10-06 02:50:22,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82702190 passed 2025-10-06 02:50:22,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 02:50:22,392 - DEBUG - Waiting to SSH to VM ctest-vm2-test-82702190, IP 10.10.10.4, Port 22 2025-10-06 02:50:22,456 - 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-06 02:50:22,538 - DEBUG - VM ctest-vm2-test-82702190 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 02:50:27,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 02:50:27,538 - DEBUG - Waiting to SSH to VM ctest-vm2-test-82702190, IP 10.10.10.4, Port 22 2025-10-06 02:50:27,595 - 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-06 02:50:27,674 - DEBUG - VM ctest-vm2-test-82702190 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 02:50:32,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 02:50:32,675 - DEBUG - Waiting to SSH to VM ctest-vm2-test-82702190, IP 10.10.10.4, Port 22 2025-10-06 02:50:32,741 - 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-06 02:50:32,824 - DEBUG - VM ctest-vm2-test-82702190 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 02:50:37,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 02:50:37,825 - DEBUG - Waiting to SSH to VM ctest-vm2-test-82702190, IP 10.10.10.4, Port 22 2025-10-06 02:50:37,893 - 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-06 02:50:37,963 - DEBUG - VM ctest-vm2-test-82702190 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 02:50:42,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 02:50:42,964 - DEBUG - Waiting to SSH to VM ctest-vm2-test-82702190, IP 10.10.10.4, Port 22 2025-10-06 02:50:43,133 - DEBUG - VM ctest-vm2-test-82702190 is ready for SSH connections 2025-10-06 02:50:43,133 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-06 02:50:43,134 - DEBUG - ifconfig | grep 10.10.10.4 2025-10-06 02:51:01,503 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-06 02:51:01,503 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-82702190", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-06 02:51:01,503 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-82702190", None, socket.AF_INET6)' 2025-10-06 02:51:02,784 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-82702190, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-06 02:51:02,784 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-82702190 2025-10-06 02:51:05,306 - DEBUG - PING ctest-vm2-test-82702190.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-82702190.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.05 ms 64 bytes from ctest-vm2-test-82702190.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.30 ms 64 bytes from ctest-vm2-test-82702190.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.202 ms --- ctest-vm2-test-82702190.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.202/2.188/4.059/1.577 ms 2025-10-06 02:51:05,306 - INFO - Ping to IP ctest-vm2-test-82702190 from VM ctest-vm2-test-82702190 passed 2025-10-06 02:51:05,325 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-06 02:51:05,331 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04318170@0%20AllEntriesVdnsRecordsReq 2025-10-06 02:51:05,335 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-06 02:51:05,340 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04318170@0%20AllEntriesVdnsRecordsReq 2025-10-06 02:51:05,345 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-06 02:51:05,349 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04318170@0%20AllEntriesVdnsRecordsReq 2025-10-06 02:51:05,354 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04318170:1:ctest-vm2-test-82702190:10.10.10.4', 'rec_name': 'ctest-vm2-test-82702190', '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-4219-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-82702190.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-06 02:51:05,354 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04318170:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-82702190', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-82702190', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4219-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-82702190.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-06 02:51:05,354 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-82702190", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-06 02:51:05,354 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-82702190", None, socket.AF_INET6)' 2025-10-06 02:51:06,508 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-82702190, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-06 02:51:06,508 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-82702190 2025-10-06 02:51:09,020 - DEBUG - PING ctest-vm2-test-82702190.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-82702190.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.68 ms 64 bytes from ctest-vm2-test-82702190.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.05 ms 64 bytes from ctest-vm2-test-82702190.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.982 ms --- ctest-vm2-test-82702190.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.982/3.240/7.681/3.140 ms 2025-10-06 02:51:09,020 - INFO - Ping to IP ctest-vm2-test-82702190 from VM ctest-vm1-test-31833068 passed 2025-10-06 02:51:09,020 - INFO - Try deleting the VDNS entry ctest-vdns1-04318170 with back ref of ipam. 2025-10-06 02:51:09,077 - DEBUG - Delete when resource still referred: ['http://10.0.0.249:8082/network-ipam/cb153154-bf9c-433d-9415-a3819e7428b5'] 2025-10-06 02:51:09,077 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-10-06 02:51:09,077 - INFO - Add CNAME VDNS record for ctest-vm1-test-31833068 and verify we able to ping by alias name 2025-10-06 02:51:09,129 - DEBUG - Creating VDNS record data : test-rec 2025-10-06 02:51:09,249 - INFO - In verify_on_setup 2025-10-06 02:51:09,345 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-04318170', 'test-rec'] created succesfully 2025-10-06 02:51:09,345 - INFO - Verify VDNS record is shown in the API server 2025-10-06 02:51:09,345 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-06 02:51:09,352 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8177ca4a-5181-4745-ae27-f33c0972392c 2025-10-06 02:51:09,365 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-DNS/20968375-19a5-457c-806f-dd6462e4d18c 2025-10-06 02:51:09,375 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-DNS-record/27a59981-8a9c-41a2-ba04-dddbfc8a43c4 2025-10-06 02:51:09,382 - INFO - Verify VDNS record is shown in the control node 2025-10-06 02:51:09,398 - 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.49, gateway password: c0ntrail123 2025-10-06 02:51:09,398 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-06 02:51:10,560 - 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.49, gateway password: c0ntrail123 2025-10-06 02:51:10,560 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-06 02:51:11,041 - DEBUG - ping: unknown host vm1-test-alias 2025-10-06 02:51:11,041 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-31833068 failed 2025-10-06 02:51:12,042 - 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.49, gateway password: c0ntrail123 2025-10-06 02:51:12,043 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-06 02:51:13,177 - 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.49, gateway password: c0ntrail123 2025-10-06 02:51:13,177 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-06 02:51:15,700 - DEBUG - PING ctest-vm1-test-31833068.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-31833068.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.69 ms 64 bytes from ctest-vm1-test-31833068.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.173 ms 64 bytes from ctest-vm1-test-31833068.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.264 ms --- ctest-vm1-test-31833068.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2012ms rtt min/avg/max/mdev = 0.173/0.712/1.699/0.698 ms 2025-10-06 02:51:15,700 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-31833068 passed 2025-10-06 02:51:15,702 - DEBUG - Deleting VDNS record data: test-rec 2025-10-06 02:51:15,781 - INFO - VDNS record info: default-domain:ctest-vdns1-04318170:test-rec deleted successfully. 2025-10-06 02:51:15,781 - INFO - Deleting VM ctest-vm2-test-82702190 2025-10-06 02:51:15,844 - INFO - Deleting VM ctest-vm1-test-31833068 2025-10-06 02:51:15,905 - INFO - Deleting VN ctest-vn1-vdns-14348663 2025-10-06 02:51:15,943 - DEBUG - VN 31798677-8fe0-479f-a0fc-4dbbfdfe32a5 still in use: Unable to complete operation on network 31798677-8fe0-479f-a0fc-4dbbfdfe32a5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf3d81e4-7602-4a21-b353-387179e76a73'] 2025-10-06 02:51:15,943 - WARNING - Deleting VN ctest-vn1-vdns-14348663 failed..Will retry 2025-10-06 02:51:18,135 - DEBUG - Response for deleting network () 2025-10-06 02:51:18,188 - DEBUG - Deleting VDNS Entry: ctest-vdns1-04318170 2025-10-06 02:51:18,273 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-04318170'] deleted successfully. 2025-10-06 02:51:18,273 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-06 02:51:18,279 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8177ca4a-5181-4745-ae27-f33c0972392c 2025-10-06 02:51:18,293 - DEBUG - VDNS information not found in API server 2025-10-06 02:51:18,293 - INFO - VDNS information ctest-vdns1-04318170 removed from the API Server 2025-10-06 02:51:18,299 - INFO - VDNS information ctest-vdns1-04318170 removed in the Control node 2025-10-06 02:51:18,299 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-50388478'] 2025-10-06 02:51:19,558 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 02:51:19,558 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:02] 2025-10-06 02:51:19,558 - INFO - -------------------------------------------------------------------------------- 2025-10-06 02:51:20,284 - INFO - Deleted project: ctest-TestvDNSBasic0-50388478, ID : 2c904d28-f995-41f0-9675-77219fb55b4f