2026-06-22 03:36:14,977 - INFO - Domain Default found not creating 2026-06-22 03:36:15,553 - INFO - Project ctest-TestvDNSBasic0-12189526 not found, creating it 2026-06-22 03:36:16,054 - INFO - Created Project:ctest-TestvDNSBasic0-12189526, ID : c45bf7e3-ee7a-445a-a86b-c84c225321a4 2026-06-22 03:36:17,654 - INFO - ================================================================================ 2026-06-22 03:36:17,654 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-06-22 03:36:17,654 - 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 2026-06-22 03:36:18,919 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.22': {'10.20.0.193': '0', '10.20.0.129': '0'}} with 2026-06-22 03:36:18,919 - INFO - Initial checks done. Running the testcase now 2026-06-22 03:36:18,919 - INFO - 2026-06-22 03:36:19,772 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-12189526'](c45bf7e3-ee7a-445a-a86b-c84c225321a4) 2026-06-22 03:36:19,827 - DEBUG - Creating VDNS : ctest-vdns1-06701270 2026-06-22 03:36:20,055 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-06701270'] created succesfully 2026-06-22 03:36:20,056 - DEBUG - Verify VDNS entry is shown in control node 2026-06-22 03:36:20,074 - DEBUG - Verify VDNS entry is shown in the API server 2026-06-22 03:36:20,074 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-22 03:36:20,432 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-22 03:36:20,476 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9d11d15d-7b70-42f4-9c2c-0dcfdbec4a75 2026-06-22 03:36:20,502 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS/3d2b1182-38b4-4d3a-8ed6-c3f5547a4f99 2026-06-22 03:36:21,197 - DEBUG - Response for create_network : {'network': {'id': '344c5406-fe37-4252-a519-b78f10b45a9b', 'name': 'ctest-vn1-vdns-68963915', 'tenant_id': 'c45bf7e3ee7a445aa86bc84c225321a4', 'project_id': 'c45bf7e3ee7a445aa86bc84c225321a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-12189526', 'ctest-vn1-vdns-68963915'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 03:36:21,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '50287048-de90-4d4b-bd17-e2777cdb5089', 'name': '', 'tenant_id': 'c45bf7e3ee7a445aa86bc84c225321a4', 'network_id': '344c5406-fe37-4252-a519-b78f10b45a9b', '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': 'c45bf7e3ee7a445aa86bc84c225321a4'}} 2026-06-22 03:36:21,499 - INFO - Created VN ctest-vn1-vdns-68963915 2026-06-22 03:36:21,513 - DEBUG - VN ctest-vn1-vdns-68963915 UUID is 344c5406-fe37-4252-a519-b78f10b45a9b 2026-06-22 03:36:21,669 - DEBUG - Services list from nova: [, , , ] 2026-06-22 03:36:22,844 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6014-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6014-1) 2026-06-22 03:36:22,844 - INFO - Waiting for VM ctest-vm1-test-03019262 to be up.. 2026-06-22 03:36:22,898 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 03:36:28,006 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 03:36:33,084 - DEBUG - VM is in ACTIVE state now 2026-06-22 03:36:33,084 - INFO - VM name : ctest-vm1-test-03019262 2026-06-22 03:36:33,155 - DEBUG - VM ctest-vm1-test-03019262 ID is 861cefbf-d241-41e0-b57a-8c525914c73d 2026-06-22 03:36:33,155 - DEBUG - VM ctest-vm1-test-03019262 launched on Node an-jenkins-deploy-platform-ansible-os-6014-1 2026-06-22 03:36:33,228 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/861cefbf-d241-41e0-b57a-8c525914c73d 2026-06-22 03:36:33,553 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/861cefbf-d241-41e0-b57a-8c525914c73d 2026-06-22 03:36:33,582 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/ab6b17fb-b376-47d3-bf7e-ff50c00847ef 2026-06-22 03:36:36,739 - 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 1002ms') 2026-06-22 03:36:36,739 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-03019262 failed! 2026-06-22 03:36:36,753 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12189526:ctest-vn1-vdns-68963915 is 10.10.10.1 and allocation pool is NOT set 2026-06-22 03:36:40,840 - 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') 2026-06-22 03:36:40,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-03019262 failed! 2026-06-22 03:36:40,854 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12189526:ctest-vn1-vdns-68963915 is 10.10.10.1 and allocation pool is NOT set 2026-06-22 03:36:44,939 - 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') 2026-06-22 03:36:44,939 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-03019262 failed! 2026-06-22 03:36:44,954 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12189526:ctest-vn1-vdns-68963915 is 10.10.10.1 and allocation pool is NOT set 2026-06-22 03:36:49,031 - 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') 2026-06-22 03:36:49,032 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-03019262 failed! 2026-06-22 03:36:49,049 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12189526:ctest-vn1-vdns-68963915 is 10.10.10.1 and allocation pool is NOT set 2026-06-22 03:36:53,123 - 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') 2026-06-22 03:36:53,123 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-03019262 failed! 2026-06-22 03:36:53,140 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12189526:ctest-vn1-vdns-68963915 is 10.10.10.1 and allocation pool is NOT set 2026-06-22 03:36:57,221 - 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') 2026-06-22 03:36:57,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-03019262 failed! 2026-06-22 03:36:57,237 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12189526:ctest-vn1-vdns-68963915 is 10.10.10.1 and allocation pool is NOT set 2026-06-22 03:36:59,302 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.805 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.805/4.705/8.605/3.900 ms') 2026-06-22 03:36:59,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-03019262 passed 2026-06-22 03:36:59,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:36:59,373 - DEBUG - Waiting to SSH to VM ctest-vm1-test-03019262, IP 10.10.10.3, Port 22 2026-06-22 03:36:59,440 - 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': ''} 2026-06-22 03:36:59,555 - DEBUG - VM ctest-vm1-test-03019262 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 03:37:04,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:37:04,555 - DEBUG - Waiting to SSH to VM ctest-vm1-test-03019262, IP 10.10.10.3, Port 22 2026-06-22 03:37:04,613 - 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': ''} 2026-06-22 03:37:04,703 - DEBUG - VM ctest-vm1-test-03019262 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 03:37:09,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:37:09,704 - DEBUG - Waiting to SSH to VM ctest-vm1-test-03019262, IP 10.10.10.3, Port 22 2026-06-22 03:37:09,765 - 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': ''} 2026-06-22 03:37:09,849 - DEBUG - VM ctest-vm1-test-03019262 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 03:37:14,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:37:14,850 - DEBUG - Waiting to SSH to VM ctest-vm1-test-03019262, IP 10.10.10.3, Port 22 2026-06-22 03:37:14,906 - 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': ''} 2026-06-22 03:37:14,976 - DEBUG - VM ctest-vm1-test-03019262 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 03:37:19,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:37:19,977 - DEBUG - Waiting to SSH to VM ctest-vm1-test-03019262, IP 10.10.10.3, Port 22 2026-06-22 03:37:20,134 - DEBUG - VM ctest-vm1-test-03019262 is ready for SSH connections 2026-06-22 03:37:20,134 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-22 03:37:20,134 - DEBUG - ifconfig | grep 10.10.10.3 2026-06-22 03:37:24,906 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-06-22 03:37:24,907 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-03019262", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-22 03:37:24,907 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-03019262", None, socket.AF_INET6)' 2026-06-22 03:37:26,842 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-03019262, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-22 03:37:26,843 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-03019262 2026-06-22 03:37:29,260 - DEBUG - PING ctest-vm1-test-03019262.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-03019262.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.03 ms 64 bytes from ctest-vm1-test-03019262.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.401 ms 64 bytes from ctest-vm1-test-03019262.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.188 ms --- ctest-vm1-test-03019262.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.188/0.875/2.037/0.826 ms 2026-06-22 03:37:29,260 - INFO - Ping to IP ctest-vm1-test-03019262 from VM ctest-vm1-test-03019262 passed 2026-06-22 03:37:29,294 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-22 03:37:29,308 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06701270@0%20AllEntriesVdnsRecordsReq 2026-06-22 03:37:29,314 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-22 03:37:29,326 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06701270@0%20AllEntriesVdnsRecordsReq 2026-06-22 03:37:29,338 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-22 03:37:29,345 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06701270@0%20AllEntriesVdnsRecordsReq 2026-06-22 03:37:29,352 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-06701270:1:ctest-vm1-test-03019262:10.10.10.3', 'rec_name': 'ctest-vm1-test-03019262', '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-6014-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-03019262.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-06-22 03:37:29,352 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-06701270:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-03019262', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-03019262', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6014-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-03019262.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'} 2026-06-22 03:37:30,632 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6014-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6014-2) 2026-06-22 03:37:30,632 - INFO - Waiting for VM ctest-vm2-test-02920755 to be up.. 2026-06-22 03:37:30,676 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 03:37:35,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 03:37:40,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 03:37:45,919 - DEBUG - VM is in ACTIVE state now 2026-06-22 03:37:45,919 - INFO - VM name : ctest-vm2-test-02920755 2026-06-22 03:37:45,991 - DEBUG - VM ctest-vm2-test-02920755 ID is b4ced5bc-0e5b-4639-8c15-cecdbb8227ef 2026-06-22 03:37:45,991 - DEBUG - VM ctest-vm2-test-02920755 launched on Node an-jenkins-deploy-platform-ansible-os-6014-2 2026-06-22 03:37:46,061 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/b4ced5bc-0e5b-4639-8c15-cecdbb8227ef 2026-06-22 03:37:46,071 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/a8ebf1c6-0820-4b58-a821-09b7e6d4244b 2026-06-22 03:37:49,259 - 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') 2026-06-22 03:37:49,259 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-02920755 failed! 2026-06-22 03:37:49,275 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12189526:ctest-vn1-vdns-68963915 is 10.10.10.1 and allocation pool is NOT set 2026-06-22 03:37:53,358 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-06-22 03:37:53,358 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-02920755 failed! 2026-06-22 03:37:53,372 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12189526:ctest-vn1-vdns-68963915 is 10.10.10.1 and allocation pool is NOT set 2026-06-22 03:37:57,448 - 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') 2026-06-22 03:37:57,448 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-02920755 failed! 2026-06-22 03:37:57,461 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12189526:ctest-vn1-vdns-68963915 is 10.10.10.1 and allocation pool is NOT set 2026-06-22 03:38:01,541 - 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') 2026-06-22 03:38:01,542 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-02920755 failed! 2026-06-22 03:38:01,556 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12189526:ctest-vn1-vdns-68963915 is 10.10.10.1 and allocation pool is NOT set 2026-06-22 03:38:05,639 - 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') 2026-06-22 03:38:05,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-02920755 failed! 2026-06-22 03:38:05,652 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-12189526:ctest-vn1-vdns-68963915 is 10.10.10.1 and allocation pool is NOT set 2026-06-22 03:38:09,739 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=8.01 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 8.014/8.014/8.014/0.000 ms') 2026-06-22 03:38:09,739 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-02920755 passed 2026-06-22 03:38:09,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:38:09,812 - DEBUG - Waiting to SSH to VM ctest-vm2-test-02920755, IP 10.10.10.4, Port 22 2026-06-22 03:38:09,876 - 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': ''} 2026-06-22 03:38:09,949 - DEBUG - VM ctest-vm2-test-02920755 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 03:38:14,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:38:14,950 - DEBUG - Waiting to SSH to VM ctest-vm2-test-02920755, IP 10.10.10.4, Port 22 2026-06-22 03:38:15,017 - 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': ''} 2026-06-22 03:38:15,091 - DEBUG - VM ctest-vm2-test-02920755 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 03:38:20,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 03:38:20,092 - DEBUG - Waiting to SSH to VM ctest-vm2-test-02920755, IP 10.10.10.4, Port 22 2026-06-22 03:38:20,257 - DEBUG - VM ctest-vm2-test-02920755 is ready for SSH connections 2026-06-22 03:38:20,257 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-22 03:38:20,257 - DEBUG - ifconfig | grep 10.10.10.4 2026-06-22 03:38:28,867 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-06-22 03:38:28,867 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-02920755", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-22 03:38:28,867 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-02920755", None, socket.AF_INET6)' 2026-06-22 03:38:30,834 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-02920755, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-22 03:38:30,834 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-02920755 2026-06-22 03:38:33,271 - DEBUG - PING ctest-vm2-test-02920755.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-02920755.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.05 ms 64 bytes from ctest-vm2-test-02920755.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.219 ms 64 bytes from ctest-vm2-test-02920755.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.187 ms --- ctest-vm2-test-02920755.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.187/0.821/2.057/0.874 ms 2026-06-22 03:38:33,271 - INFO - Ping to IP ctest-vm2-test-02920755 from VM ctest-vm2-test-02920755 passed 2026-06-22 03:38:33,293 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-22 03:38:33,299 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06701270@0%20AllEntriesVdnsRecordsReq 2026-06-22 03:38:33,304 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-22 03:38:33,310 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06701270@0%20AllEntriesVdnsRecordsReq 2026-06-22 03:38:33,315 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-22 03:38:33,320 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06701270@0%20AllEntriesVdnsRecordsReq 2026-06-22 03:38:33,325 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-06701270:1:ctest-vm2-test-02920755:10.10.10.4', 'rec_name': 'ctest-vm2-test-02920755', '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-6014-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-02920755.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-06-22 03:38:33,325 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-06701270:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-02920755', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-02920755', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6014-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-02920755.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'} 2026-06-22 03:38:33,325 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-02920755", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-22 03:38:33,325 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-02920755", None, socket.AF_INET6)' 2026-06-22 03:38:34,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-02920755, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-22 03:38:34,122 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-02920755 2026-06-22 03:38:36,401 - DEBUG - PING ctest-vm2-test-02920755.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-02920755.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.88 ms 64 bytes from ctest-vm2-test-02920755.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.41 ms 64 bytes from ctest-vm2-test-02920755.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.25 ms --- ctest-vm2-test-02920755.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.255/4.183/9.882/4.030 ms 2026-06-22 03:38:36,401 - INFO - Ping to IP ctest-vm2-test-02920755 from VM ctest-vm1-test-03019262 passed 2026-06-22 03:38:36,402 - INFO - Try deleting the VDNS entry ctest-vdns1-06701270 with back ref of ipam. 2026-06-22 03:38:36,463 - DEBUG - Delete when resource still referred: ['http://10.0.0.241:8082/network-ipam/354bbd4a-9946-4137-a290-99fff3a6589d'] 2026-06-22 03:38:36,463 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-06-22 03:38:36,463 - INFO - Add CNAME VDNS record for ctest-vm1-test-03019262 and verify we able to ping by alias name 2026-06-22 03:38:36,511 - DEBUG - Creating VDNS record data : test-rec 2026-06-22 03:38:36,635 - INFO - In verify_on_setup 2026-06-22 03:38:36,735 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-06701270', 'test-rec'] created succesfully 2026-06-22 03:38:36,736 - INFO - Verify VDNS record is shown in the API server 2026-06-22 03:38:36,736 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-22 03:38:36,743 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9d11d15d-7b70-42f4-9c2c-0dcfdbec4a75 2026-06-22 03:38:36,759 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS/3d2b1182-38b4-4d3a-8ed6-c3f5547a4f99 2026-06-22 03:38:36,775 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS-record/87f49511-cfd9-431f-b434-5d1543e3acd7 2026-06-22 03:38:36,786 - INFO - Verify VDNS record is shown in the control node 2026-06-22 03:38:36,803 - 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.242, gateway password: c0ntrail123 2026-06-22 03:38:36,803 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-06-22 03:38:37,587 - 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.242, gateway password: c0ntrail123 2026-06-22 03:38:37,587 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-06-22 03:38:37,834 - DEBUG - ping: unknown host vm1-test-alias 2026-06-22 03:38:37,834 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-03019262 failed 2026-06-22 03:38:38,834 - 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.242, gateway password: c0ntrail123 2026-06-22 03:38:38,834 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-06-22 03:38:39,630 - 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.242, gateway password: c0ntrail123 2026-06-22 03:38:39,630 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-06-22 03:38:41,890 - DEBUG - PING ctest-vm1-test-03019262.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-03019262.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.29 ms 64 bytes from ctest-vm1-test-03019262.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.196 ms 64 bytes from ctest-vm1-test-03019262.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.199 ms --- ctest-vm1-test-03019262.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 0.196/0.895/2.292/0.987 ms 2026-06-22 03:38:41,890 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-03019262 passed 2026-06-22 03:38:41,890 - DEBUG - Deleting VDNS record data: test-rec 2026-06-22 03:38:41,975 - INFO - VDNS record info: default-domain:ctest-vdns1-06701270:test-rec deleted successfully. 2026-06-22 03:38:41,975 - INFO - Deleting VM ctest-vm2-test-02920755 2026-06-22 03:38:42,047 - INFO - Deleting VM ctest-vm1-test-03019262 2026-06-22 03:38:42,119 - INFO - Deleting VN ctest-vn1-vdns-68963915 2026-06-22 03:38:42,156 - DEBUG - VN 344c5406-fe37-4252-a519-b78f10b45a9b still in use: Unable to complete operation on network 344c5406-fe37-4252-a519-b78f10b45a9b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa11d96d-9dc1-49e6-9561-3da958bff05b'] 2026-06-22 03:38:42,156 - WARNING - Deleting VN ctest-vn1-vdns-68963915 failed..Will retry 2026-06-22 03:38:44,253 - DEBUG - VN 344c5406-fe37-4252-a519-b78f10b45a9b still in use: Unable to complete operation on network 344c5406-fe37-4252-a519-b78f10b45a9b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af212f92-d162-42dc-8613-27008755f871'] 2026-06-22 03:38:44,254 - WARNING - Deleting VN ctest-vn1-vdns-68963915 failed..Will retry 2026-06-22 03:38:46,579 - DEBUG - Response for deleting network () 2026-06-22 03:38:46,643 - DEBUG - Deleting VDNS Entry: ctest-vdns1-06701270 2026-06-22 03:38:46,735 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-06701270'] deleted successfully. 2026-06-22 03:38:46,735 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-22 03:38:46,742 - DEBUG - Requesting: http://10.0.0.19:8082/domain/9d11d15d-7b70-42f4-9c2c-0dcfdbec4a75 2026-06-22 03:38:46,757 - DEBUG - VDNS information not found in API server 2026-06-22 03:38:46,757 - INFO - VDNS information ctest-vdns1-06701270 removed from the API Server 2026-06-22 03:38:46,762 - INFO - VDNS information ctest-vdns1-06701270 removed in the Control node 2026-06-22 03:38:46,762 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-12189526'] 2026-06-22 03:38:48,058 - DEBUG - No XMPP flaps were noticed during the test
2026-06-22 03:38:48,058 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:31]
2026-06-22 03:38:48,058 - INFO - -------------------------------------------------------------------------------- 2026-06-22 03:38:48,836 - INFO - Deleted project: ctest-TestvDNSBasic0-12189526, ID : c45bf7e3-ee7a-445a-a86b-c84c225321a4