2025-11-27 03:08:13,005 - INFO - Domain Default found not creating
2025-11-27 03:08:13,161 - INFO - Project ctest-TestvDNSBasic0-13392696 not found, creating it
2025-11-27 03:08:13,657 - INFO - Created Project:ctest-TestvDNSBasic0-13392696, ID : 062a2288-c2a9-4a1e-b29c-939ddb882dbf
2025-11-27 03:08:15,155 - INFO - ================================================================================
2025-11-27 03:08:15,155 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-11-27 03:08:15,155 - 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-11-27 03:08:16,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.192': '0'}, '10.0.0.130': {'10.20.0.192': '0', '10.20.0.129': '0'}} with
2025-11-27 03:08:16,449 - INFO - Initial checks done. Running the testcase now
2025-11-27 03:08:16,449 - INFO -
2025-11-27 03:08:17,175 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-13392696'](062a2288-c2a9-4a1e-b29c-939ddb882dbf)
2025-11-27 03:08:17,228 - DEBUG - Creating VDNS : ctest-vdns1-33437191
2025-11-27 03:08:17,440 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-33437191'] created succesfully
2025-11-27 03:08:17,440 - DEBUG - Verify VDNS entry is shown in control node
2025-11-27 03:08:17,457 - DEBUG - Verify VDNS entry is shown in the API server
2025-11-27 03:08:17,457 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-11-27 03:08:17,755 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-11-27 03:08:17,794 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ea95f9c6-3b7f-4f10-9ecb-80826711f59a
2025-11-27 03:08:17,811 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/70fdfc4b-8436-45e1-8d60-5452c2742b72
2025-11-27 03:08:18,520 - DEBUG - Response for create_network : {'network': {'id': '4af82093-666f-434d-a126-433445bfc201', 'name': 'ctest-vn1-vdns-24944017', 'tenant_id': '062a2288c2a94a1eb29c939ddb882dbf', 'project_id': '062a2288c2a94a1eb29c939ddb882dbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-13392696', 'ctest-vn1-vdns-24944017'], 'port_security_enabled': True, 'description': ''}}
2025-11-27 03:08:18,842 - DEBUG - Response for create_subnet : {'subnet': {'id': '1596b398-cf78-4501-9b3c-82f398ae4730', 'name': '', 'tenant_id': '062a2288c2a94a1eb29c939ddb882dbf', 'network_id': '4af82093-666f-434d-a126-433445bfc201', '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': '062a2288c2a94a1eb29c939ddb882dbf'}}
2025-11-27 03:08:18,862 - INFO - Created VN ctest-vn1-vdns-24944017
2025-11-27 03:08:18,871 - DEBUG - VN ctest-vn1-vdns-24944017 UUID is 4af82093-666f-434d-a126-433445bfc201
2025-11-27 03:08:19,047 - DEBUG - Services list from nova: [, , , ]
2025-11-27 03:08:20,119 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4820-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4820-2)
2025-11-27 03:08:20,119 - INFO - Waiting for VM ctest-vm1-test-57022529 to be up..
2025-11-27 03:08:20,169 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-27 03:08:25,242 - DEBUG - VM is in ACTIVE state now
2025-11-27 03:08:25,242 - INFO - VM name : ctest-vm1-test-57022529
2025-11-27 03:08:25,324 - DEBUG - VM ctest-vm1-test-57022529 ID is 66be5cbf-c735-4183-9c7f-5cb196f25ccc
2025-11-27 03:08:25,324 - DEBUG - VM ctest-vm1-test-57022529 launched on Node an-jenkins-deploy-platform-ansible-os-4820-2
2025-11-27 03:08:25,403 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/66be5cbf-c735-4183-9c7f-5cb196f25ccc
2025-11-27 03:08:25,704 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/66be5cbf-c735-4183-9c7f-5cb196f25ccc
2025-11-27 03:08:25,741 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/bbc69b29-4e85-4d19-a51e-a2ebe6dce272
2025-11-27 03:08:28,914 - 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-11-27 03:08:28,914 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57022529 failed!
2025-11-27 03:08:28,926 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:08:33,012 - 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-11-27 03:08:33,012 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57022529 failed!
2025-11-27 03:08:33,026 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:08:37,103 - 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-11-27 03:08:37,103 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57022529 failed!
2025-11-27 03:08:37,116 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:08:41,198 - 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-11-27 03:08:41,198 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57022529 failed!
2025-11-27 03:08:41,211 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:08:45,290 - 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-11-27 03:08:45,291 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57022529 failed!
2025-11-27 03:08:45,304 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:08:49,398 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms')
2025-11-27 03:08:49,398 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57022529 failed!
2025-11-27 03:08:49,413 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:08:53,491 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2025-11-27 03:08:53,491 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57022529 failed!
2025-11-27 03:08:53,503 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:08:57,594 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms')
2025-11-27 03:08:57,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57022529 failed!
2025-11-27 03:08:57,606 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:09:01,683 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2025-11-27 03:09:01,683 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57022529 failed!
2025-11-27 03:09:01,702 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:09:03,763 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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 = 1.140/3.401/5.663/2.261 ms')
2025-11-27 03:09:03,763 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57022529 passed
2025-11-27 03:09:03,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 03:09:03,828 - DEBUG - Waiting to SSH to VM ctest-vm1-test-57022529, IP 10.10.10.3, Port 22
2025-11-27 03:09:03,895 - 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-11-27 03:09:03,978 - DEBUG - VM ctest-vm1-test-57022529 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-27 03:09:08,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 03:09:08,979 - DEBUG - Waiting to SSH to VM ctest-vm1-test-57022529, IP 10.10.10.3, Port 22
2025-11-27 03:09:09,046 - 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-11-27 03:09:09,140 - DEBUG - VM ctest-vm1-test-57022529 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-27 03:09:14,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 03:09:14,141 - DEBUG - Waiting to SSH to VM ctest-vm1-test-57022529, IP 10.10.10.3, Port 22
2025-11-27 03:09:14,215 - 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-11-27 03:09:14,313 - DEBUG - VM ctest-vm1-test-57022529 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-27 03:09:19,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 03:09:19,314 - DEBUG - Waiting to SSH to VM ctest-vm1-test-57022529, IP 10.10.10.3, Port 22
2025-11-27 03:09:19,483 - DEBUG - VM ctest-vm1-test-57022529 is ready for SSH connections
2025-11-27 03:09:19,483 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-27 03:09:19,483 - DEBUG - ifconfig | grep 10.10.10.3
2025-11-27 03:09:39,841 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-11-27 03:09:39,842 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-57022529", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-27 03:09:39,842 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-57022529", None, socket.AF_INET6)'
2025-11-27 03:09:42,549 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-57022529, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-27 03:09:42,549 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-57022529
2025-11-27 03:09:45,268 - DEBUG - PING ctest-vm1-test-57022529.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-57022529.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.72 ms
64 bytes from ctest-vm1-test-57022529.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.256 ms
64 bytes from ctest-vm1-test-57022529.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.183 ms
--- ctest-vm1-test-57022529.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.183/1.387/3.722/1.651 ms
2025-11-27 03:09:45,268 - INFO - Ping to IP ctest-vm1-test-57022529 from VM ctest-vm1-test-57022529 passed
2025-11-27 03:09:45,292 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-11-27 03:09:45,301 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33437191@0%20AllEntriesVdnsRecordsReq
2025-11-27 03:09:45,307 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-11-27 03:09:45,313 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33437191@0%20AllEntriesVdnsRecordsReq
2025-11-27 03:09:45,318 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-11-27 03:09:45,322 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33437191@0%20AllEntriesVdnsRecordsReq
2025-11-27 03:09:45,326 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-33437191:1:ctest-vm1-test-57022529:10.10.10.3', 'rec_name': 'ctest-vm1-test-57022529', '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-4820-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-57022529.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-11-27 03:09:45,326 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-33437191:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-57022529', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-57022529', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4820-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-57022529.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-11-27 03:09:46,508 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4820-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4820-1)
2025-11-27 03:09:46,508 - INFO - Waiting for VM ctest-vm2-test-21346365 to be up..
2025-11-27 03:09:46,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-27 03:09:51,631 - DEBUG - VM is in ACTIVE state now
2025-11-27 03:09:51,631 - INFO - VM name : ctest-vm2-test-21346365
2025-11-27 03:09:51,709 - DEBUG - VM ctest-vm2-test-21346365 ID is ad86b085-6395-426b-b850-5145b3e7ffe8
2025-11-27 03:09:51,709 - DEBUG - VM ctest-vm2-test-21346365 launched on Node an-jenkins-deploy-platform-ansible-os-4820-1
2025-11-27 03:09:51,790 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ad86b085-6395-426b-b850-5145b3e7ffe8
2025-11-27 03:09:51,799 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/e284d3ab-909a-44f7-b700-4aebbe947575
2025-11-27 03:09:54,977 - 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 1028ms')
2025-11-27 03:09:54,977 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21346365 failed!
2025-11-27 03:09:54,992 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:09:59,084 - 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-11-27 03:09:59,085 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21346365 failed!
2025-11-27 03:09:59,098 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:10:03,177 - 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-11-27 03:10:03,177 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21346365 failed!
2025-11-27 03:10:03,191 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:10:07,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 1012ms')
2025-11-27 03:10:07,267 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21346365 failed!
2025-11-27 03:10:07,281 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:10:11,365 - 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-11-27 03:10:11,365 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21346365 failed!
2025-11-27 03:10:11,378 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:10:15,466 - 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-11-27 03:10:15,466 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21346365 failed!
2025-11-27 03:10:15,479 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:10:19,556 - 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-11-27 03:10:19,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21346365 failed!
2025-11-27 03:10:19,569 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:10:23,658 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms')
2025-11-27 03:10:23,658 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21346365 failed!
2025-11-27 03:10:23,670 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-13392696:ctest-vn1-vdns-24944017 is 10.10.10.1 and allocation pool is NOT set
2025-11-27 03:10:25,736 - 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=8.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.60 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 = 2.601/5.589/8.578/2.988 ms')
2025-11-27 03:10:25,736 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-21346365 passed
2025-11-27 03:10:25,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 03:10:25,804 - DEBUG - Waiting to SSH to VM ctest-vm2-test-21346365, IP 10.10.10.4, Port 22
2025-11-27 03:10:25,872 - 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-11-27 03:10:25,971 - DEBUG - VM ctest-vm2-test-21346365 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-27 03:10:30,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 03:10:30,972 - DEBUG - Waiting to SSH to VM ctest-vm2-test-21346365, IP 10.10.10.4, Port 22
2025-11-27 03:10:31,030 - 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-11-27 03:10:31,117 - DEBUG - VM ctest-vm2-test-21346365 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-27 03:10:36,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 03:10:36,118 - DEBUG - Waiting to SSH to VM ctest-vm2-test-21346365, IP 10.10.10.4, Port 22
2025-11-27 03:10:36,184 - 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-11-27 03:10:36,260 - DEBUG - VM ctest-vm2-test-21346365 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-27 03:10:41,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 03:10:41,261 - DEBUG - Waiting to SSH to VM ctest-vm2-test-21346365, IP 10.10.10.4, Port 22
2025-11-27 03:10:41,318 - 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-11-27 03:10:41,394 - DEBUG - VM ctest-vm2-test-21346365 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-27 03:10:46,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 03:10:46,395 - DEBUG - Waiting to SSH to VM ctest-vm2-test-21346365, IP 10.10.10.4, Port 22
2025-11-27 03:10:46,564 - DEBUG - VM ctest-vm2-test-21346365 is ready for SSH connections
2025-11-27 03:10:46,564 - 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-11-27 03:10:46,564 - DEBUG - ifconfig | grep 10.10.10.4
2025-11-27 03:11:05,726 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-11-27 03:11:05,727 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21346365", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-11-27 03:11:05,727 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21346365", None, socket.AF_INET6)'
2025-11-27 03:11:06,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-21346365, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-11-27 03:11:06,977 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-21346365
2025-11-27 03:11:09,511 - DEBUG - PING ctest-vm2-test-21346365.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-21346365.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.33 ms
64 bytes from ctest-vm2-test-21346365.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.213 ms
64 bytes from ctest-vm2-test-21346365.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.203 ms
--- ctest-vm2-test-21346365.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.203/1.584/4.338/1.947 ms
2025-11-27 03:11:09,511 - INFO - Ping to IP ctest-vm2-test-21346365 from VM ctest-vm2-test-21346365 passed
2025-11-27 03:11:09,532 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-11-27 03:11:09,539 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33437191@0%20AllEntriesVdnsRecordsReq
2025-11-27 03:11:09,545 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-11-27 03:11:09,549 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33437191@0%20AllEntriesVdnsRecordsReq
2025-11-27 03:11:09,554 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-11-27 03:11:09,559 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33437191@0%20AllEntriesVdnsRecordsReq
2025-11-27 03:11:09,564 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-33437191:1:ctest-vm2-test-21346365:10.10.10.4', 'rec_name': 'ctest-vm2-test-21346365', '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-4820-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-21346365.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-11-27 03:11:09,564 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-33437191:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-21346365', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-21346365', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4820-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-21346365.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-11-27 03:11:09,564 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21346365", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-27 03:11:09,565 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-21346365", None, socket.AF_INET6)'
2025-11-27 03:11:10,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-21346365, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-27 03:11:10,757 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-21346365
2025-11-27 03:11:13,273 - DEBUG - PING ctest-vm2-test-21346365.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-21346365.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.30 ms
64 bytes from ctest-vm2-test-21346365.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.33 ms
64 bytes from ctest-vm2-test-21346365.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.902 ms
--- ctest-vm2-test-21346365.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.902/2.516/5.308/1.982 ms
2025-11-27 03:11:13,274 - INFO - Ping to IP ctest-vm2-test-21346365 from VM ctest-vm1-test-57022529 passed
2025-11-27 03:11:13,274 - INFO - Try deleting the VDNS entry ctest-vdns1-33437191 with back ref of ipam.
2025-11-27 03:11:13,332 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/fdf6cd1a-25b6-4c58-b73a-f601ad805c44']
2025-11-27 03:11:13,333 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-11-27 03:11:13,333 - INFO - Add CNAME VDNS record for ctest-vm1-test-57022529 and verify we able to ping by alias name
2025-11-27 03:11:13,380 - DEBUG - Creating VDNS record data : test-rec
2025-11-27 03:11:13,508 - INFO - In verify_on_setup
2025-11-27 03:11:13,604 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-33437191', 'test-rec'] created succesfully
2025-11-27 03:11:13,604 - INFO - Verify VDNS record is shown in the API server
2025-11-27 03:11:13,604 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-11-27 03:11:13,611 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ea95f9c6-3b7f-4f10-9ecb-80826711f59a
2025-11-27 03:11:13,650 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/70fdfc4b-8436-45e1-8d60-5452c2742b72
2025-11-27 03:11:13,661 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/a7022ce5-7d5e-40ac-a001-838ea0bbba2f
2025-11-27 03:11:13,671 - INFO - Verify VDNS record is shown in the control node
2025-11-27 03:11:13,688 - 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.130, gateway password: c0ntrail123
2025-11-27 03:11:13,688 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-11-27 03:11:14,833 - 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.130, gateway password: c0ntrail123
2025-11-27 03:11:14,833 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-11-27 03:11:15,336 - DEBUG - ping: unknown host vm1-test-alias
2025-11-27 03:11:15,336 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-57022529 failed
2025-11-27 03:11:16,337 - 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.130, gateway password: c0ntrail123
2025-11-27 03:11:16,337 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-11-27 03:11:17,443 - 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.130, gateway password: c0ntrail123
2025-11-27 03:11:17,443 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-11-27 03:11:20,000 - DEBUG - PING ctest-vm1-test-57022529.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-57022529.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.247 ms
64 bytes from ctest-vm1-test-57022529.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.321 ms
64 bytes from ctest-vm1-test-57022529.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.402 ms
--- ctest-vm1-test-57022529.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.247/0.323/0.402/0.064 ms
2025-11-27 03:11:20,000 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-57022529 passed
2025-11-27 03:11:20,000 - DEBUG - Deleting VDNS record data: test-rec
2025-11-27 03:11:20,088 - INFO - VDNS record info: default-domain:ctest-vdns1-33437191:test-rec deleted successfully.
2025-11-27 03:11:20,088 - INFO - Deleting VM ctest-vm2-test-21346365
2025-11-27 03:11:20,163 - INFO - Deleting VM ctest-vm1-test-57022529
2025-11-27 03:11:20,232 - INFO - Deleting VN ctest-vn1-vdns-24944017
2025-11-27 03:11:20,268 - DEBUG - VN 4af82093-666f-434d-a126-433445bfc201 still in use: Unable to complete operation on network 4af82093-666f-434d-a126-433445bfc201. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0d98e302-5971-4c97-932f-02bcf35d76e6']
2025-11-27 03:11:20,269 - WARNING - Deleting VN ctest-vn1-vdns-24944017 failed..Will retry
2025-11-27 03:11:22,465 - DEBUG - Response for deleting network ()
2025-11-27 03:11:22,508 - DEBUG - Deleting VDNS Entry: ctest-vdns1-33437191
2025-11-27 03:11:22,592 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-33437191'] deleted successfully.
2025-11-27 03:11:22,592 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-11-27 03:11:22,598 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ea95f9c6-3b7f-4f10-9ecb-80826711f59a
2025-11-27 03:11:22,612 - DEBUG - VDNS information not found in API server
2025-11-27 03:11:22,612 - INFO - VDNS information ctest-vdns1-33437191 removed from the API Server
2025-11-27 03:11:22,617 - INFO - VDNS information ctest-vdns1-33437191 removed in the Control node
2025-11-27 03:11:22,617 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-13392696']
2025-11-27 03:11:23,884 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 03:11:23,884 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:08]
2025-11-27 03:11:23,884 - INFO - --------------------------------------------------------------------------------
2025-11-27 03:11:24,644 - INFO - Deleted project: ctest-TestvDNSBasic0-13392696, ID : 062a2288-c2a9-4a1e-b29c-939ddb882dbf