2026-02-23 03:03:38,216 - INFO - Domain Default found not creating 2026-02-23 03:03:38,435 - INFO - Project ctest-TestvDNSBasic0-81697947 not found, creating it 2026-02-23 03:03:38,961 - INFO - Created Project:ctest-TestvDNSBasic0-81697947, ID : 990f91d8-9856-40be-96be-0fcc889f8e2a 2026-02-23 03:03:40,634 - INFO - ================================================================================ 2026-02-23 03:03:40,634 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-02-23 03:03:40,634 - 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-02-23 03:03:41,924 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0', '10.20.0.25': '0'}, '10.0.0.65': {'10.20.0.254': '0', '10.20.0.193': '0'}} with 2026-02-23 03:03:41,924 - INFO - Initial checks done. Running the testcase now 2026-02-23 03:03:41,924 - INFO - 2026-02-23 03:03:42,719 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-81697947'](990f91d8-9856-40be-96be-0fcc889f8e2a) 2026-02-23 03:03:42,772 - DEBUG - Creating VDNS : ctest-vdns1-79985571 2026-02-23 03:03:42,992 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-79985571'] created succesfully 2026-02-23 03:03:42,992 - DEBUG - Verify VDNS entry is shown in control node 2026-02-23 03:03:43,014 - DEBUG - Verify VDNS entry is shown in the API server 2026-02-23 03:03:43,015 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-23 03:03:43,339 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-23 03:03:43,383 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e1cc6957-1fd1-4e0a-8f60-be32b1950cd6 2026-02-23 03:03:43,402 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS/fec740cc-48ce-46ae-9265-7c9f953493e6 2026-02-23 03:03:44,121 - DEBUG - Response for create_network : {'network': {'id': '9702c47e-b059-4ad2-bdff-01d12bb6dd50', 'name': 'ctest-vn1-vdns-84159452', 'tenant_id': '990f91d8985640be96be0fcc889f8e2a', 'project_id': '990f91d8985640be96be0fcc889f8e2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-81697947', 'ctest-vn1-vdns-84159452'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 03:03:44,363 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c2d6cc7-86a6-4979-8f44-39f8be6a5a00', 'name': '', 'tenant_id': '990f91d8985640be96be0fcc889f8e2a', 'network_id': '9702c47e-b059-4ad2-bdff-01d12bb6dd50', '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': '990f91d8985640be96be0fcc889f8e2a'}} 2026-02-23 03:03:44,392 - INFO - Created VN ctest-vn1-vdns-84159452 2026-02-23 03:03:44,404 - DEBUG - VN ctest-vn1-vdns-84159452 UUID is 9702c47e-b059-4ad2-bdff-01d12bb6dd50 2026-02-23 03:03:44,636 - DEBUG - Services list from nova: [, , , ] 2026-02-23 03:03:45,907 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5383-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5383-2) 2026-02-23 03:03:45,907 - INFO - Waiting for VM ctest-vm1-test-04252491 to be up.. 2026-02-23 03:03:45,963 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 03:03:51,051 - DEBUG - VM is in ACTIVE state now 2026-02-23 03:03:51,052 - INFO - VM name : ctest-vm1-test-04252491 2026-02-23 03:03:51,147 - DEBUG - VM ctest-vm1-test-04252491 ID is 4c324c0f-dcfc-42b9-84ba-963d98621437 2026-02-23 03:03:51,147 - DEBUG - VM ctest-vm1-test-04252491 launched on Node an-jenkins-deploy-platform-ansible-os-5383-2 2026-02-23 03:03:51,238 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4c324c0f-dcfc-42b9-84ba-963d98621437 2026-02-23 03:03:51,554 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4c324c0f-dcfc-42b9-84ba-963d98621437 2026-02-23 03:03:51,590 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f84d6a23-9ac2-4010-8679-f775b7b72778 2026-02-23 03:03:54,761 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-02-23 03:03:54,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-04252491 failed! 2026-02-23 03:03:54,775 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:03:58,859 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-02-23 03:03:58,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-04252491 failed! 2026-02-23 03:03:58,876 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:04:02,950 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-02-23 03:04:02,950 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-04252491 failed! 2026-02-23 03:04:02,964 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:04:07,047 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-02-23 03:04:07,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-04252491 failed! 2026-02-23 03:04:07,065 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:04:11,140 - 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') 2026-02-23 03:04:11,140 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-04252491 failed! 2026-02-23 03:04:11,153 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:04:15,241 - 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-02-23 03:04:15,241 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-04252491 failed! 2026-02-23 03:04:15,258 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:04:19,332 - 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-02-23 03:04:19,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-04252491 failed! 2026-02-23 03:04:19,346 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:04:23,438 - 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') 2026-02-23 03:04:23,438 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-04252491 failed! 2026-02-23 03:04:23,452 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:04:25,515 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.09 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.087/6.797/10.508/3.710 ms') 2026-02-23 03:04:25,515 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-04252491 passed 2026-02-23 03:04:25,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 03:04:25,584 - DEBUG - Waiting to SSH to VM ctest-vm1-test-04252491, IP 10.10.10.3, Port 22 2026-02-23 03:04:25,654 - 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-02-23 03:04:25,761 - DEBUG - VM ctest-vm1-test-04252491 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 03:04:30,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 03:04:30,762 - DEBUG - Waiting to SSH to VM ctest-vm1-test-04252491, IP 10.10.10.3, Port 22 2026-02-23 03:04:30,829 - 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-02-23 03:04:30,934 - DEBUG - VM ctest-vm1-test-04252491 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 03:04:35,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 03:04:35,935 - DEBUG - Waiting to SSH to VM ctest-vm1-test-04252491, IP 10.10.10.3, Port 22 2026-02-23 03:04:36,001 - 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-02-23 03:04:36,099 - DEBUG - VM ctest-vm1-test-04252491 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 03:04:41,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 03:04:41,100 - DEBUG - Waiting to SSH to VM ctest-vm1-test-04252491, IP 10.10.10.3, Port 22 2026-02-23 03:04:41,270 - DEBUG - VM ctest-vm1-test-04252491 is ready for SSH connections 2026-02-23 03:04:41,270 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-23 03:04:41,270 - DEBUG - ifconfig | grep 10.10.10.3 2026-02-23 03:05:01,510 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-02-23 03:05:01,511 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-04252491", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-23 03:05:01,511 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-04252491", None, socket.AF_INET6)' 2026-02-23 03:05:04,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-04252491, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-23 03:05:04,234 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-04252491 2026-02-23 03:05:07,191 - DEBUG - PING ctest-vm1-test-04252491.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-04252491.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.57 ms 64 bytes from ctest-vm1-test-04252491.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.269 ms 64 bytes from ctest-vm1-test-04252491.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.235 ms --- ctest-vm1-test-04252491.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.235/1.025/2.571/1.093 ms 2026-02-23 03:05:07,191 - INFO - Ping to IP ctest-vm1-test-04252491 from VM ctest-vm1-test-04252491 passed 2026-02-23 03:05:07,221 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-23 03:05:07,233 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79985571@0%20AllEntriesVdnsRecordsReq 2026-02-23 03:05:07,245 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-23 03:05:07,257 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79985571@0%20AllEntriesVdnsRecordsReq 2026-02-23 03:05:07,267 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-23 03:05:07,273 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79985571@0%20AllEntriesVdnsRecordsReq 2026-02-23 03:05:07,283 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79985571:1:ctest-vm1-test-04252491:10.10.10.3', 'rec_name': 'ctest-vm1-test-04252491', '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-5383-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-04252491.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-02-23 03:05:07,283 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79985571:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-04252491', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-04252491', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5383-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-04252491.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-02-23 03:05:08,701 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5383-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5383-1) 2026-02-23 03:05:08,701 - INFO - Waiting for VM ctest-vm2-test-30159704 to be up.. 2026-02-23 03:05:08,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 03:05:13,839 - DEBUG - VM is in ACTIVE state now 2026-02-23 03:05:13,839 - INFO - VM name : ctest-vm2-test-30159704 2026-02-23 03:05:13,929 - DEBUG - VM ctest-vm2-test-30159704 ID is e06757b4-816e-42b1-8d6f-bf7485b42432 2026-02-23 03:05:13,930 - DEBUG - VM ctest-vm2-test-30159704 launched on Node an-jenkins-deploy-platform-ansible-os-5383-1 2026-02-23 03:05:14,016 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e06757b4-816e-42b1-8d6f-bf7485b42432 2026-02-23 03:05:14,026 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/696bee6e-937c-4466-933b-aa31bde1f7bc 2026-02-23 03:05:17,206 - 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-02-23 03:05:17,206 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30159704 failed! 2026-02-23 03:05:17,220 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:05:21,301 - 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-02-23 03:05:21,301 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30159704 failed! 2026-02-23 03:05:21,316 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:05:25,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 1018ms') 2026-02-23 03:05:25,398 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30159704 failed! 2026-02-23 03:05:25,413 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:05:29,487 - 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-02-23 03:05:29,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30159704 failed! 2026-02-23 03:05:29,501 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:05:33,591 - 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') 2026-02-23 03:05:33,591 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30159704 failed! 2026-02-23 03:05:33,605 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:05:37,688 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-02-23 03:05:37,688 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30159704 failed! 2026-02-23 03:05:37,702 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:05:41,784 - 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-02-23 03:05:41,784 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30159704 failed! 2026-02-23 03:05:41,798 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:05:45,873 - 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-02-23 03:05:45,873 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30159704 failed! 2026-02-23 03:05:45,886 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:05:49,976 - 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-02-23 03:05:49,976 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30159704 failed! 2026-02-23 03:05:49,990 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-81697947:ctest-vn1-vdns-84159452 is 10.10.10.1 and allocation pool is NOT set 2026-02-23 03:05:52,055 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.16 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.155/4.711/6.267/1.556 ms') 2026-02-23 03:05:52,055 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-30159704 passed 2026-02-23 03:05:52,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 03:05:52,126 - DEBUG - Waiting to SSH to VM ctest-vm2-test-30159704, IP 10.10.10.4, Port 22 2026-02-23 03:05:52,181 - 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-02-23 03:05:52,269 - DEBUG - VM ctest-vm2-test-30159704 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 03:05:57,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 03:05:57,270 - DEBUG - Waiting to SSH to VM ctest-vm2-test-30159704, IP 10.10.10.4, Port 22 2026-02-23 03:05:57,335 - 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-02-23 03:05:57,428 - DEBUG - VM ctest-vm2-test-30159704 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 03:06:02,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 03:06:02,429 - DEBUG - Waiting to SSH to VM ctest-vm2-test-30159704, IP 10.10.10.4, Port 22 2026-02-23 03:06:02,496 - 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-02-23 03:06:02,631 - DEBUG - VM ctest-vm2-test-30159704 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 03:06:07,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 03:06:07,633 - DEBUG - Waiting to SSH to VM ctest-vm2-test-30159704, IP 10.10.10.4, Port 22 2026-02-23 03:06:07,699 - 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-02-23 03:06:07,797 - DEBUG - VM ctest-vm2-test-30159704 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 03:06:12,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 03:06:12,799 - DEBUG - Waiting to SSH to VM ctest-vm2-test-30159704, IP 10.10.10.4, Port 22 2026-02-23 03:06:12,967 - DEBUG - VM ctest-vm2-test-30159704 is ready for SSH connections 2026-02-23 03:06:12,968 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-23 03:06:12,968 - DEBUG - ifconfig | grep 10.10.10.4 2026-02-23 03:06:33,824 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-02-23 03:06:33,825 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-30159704", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-23 03:06:33,825 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-30159704", None, socket.AF_INET6)' 2026-02-23 03:06:35,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-30159704, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-23 03:06:35,700 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-30159704 2026-02-23 03:06:38,244 - DEBUG - PING ctest-vm2-test-30159704.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-30159704.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.96 ms 64 bytes from ctest-vm2-test-30159704.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.255 ms 64 bytes from ctest-vm2-test-30159704.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.190 ms --- ctest-vm2-test-30159704.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.190/1.802/4.962/2.234 ms 2026-02-23 03:06:38,244 - INFO - Ping to IP ctest-vm2-test-30159704 from VM ctest-vm2-test-30159704 passed 2026-02-23 03:06:38,266 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-23 03:06:38,275 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79985571@0%20AllEntriesVdnsRecordsReq 2026-02-23 03:06:38,282 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-23 03:06:38,289 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79985571@0%20AllEntriesVdnsRecordsReq 2026-02-23 03:06:38,294 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-23 03:06:38,299 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-79985571@0%20AllEntriesVdnsRecordsReq 2026-02-23 03:06:38,306 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79985571:1:ctest-vm2-test-30159704:10.10.10.4', 'rec_name': 'ctest-vm2-test-30159704', '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-5383-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-30159704.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-02-23 03:06:38,306 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-79985571:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-30159704', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-30159704', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5383-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-30159704.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-02-23 03:06:38,306 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-30159704", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-23 03:06:38,306 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-30159704", None, socket.AF_INET6)' 2026-02-23 03:06:39,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-30159704, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-23 03:06:39,430 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-30159704 2026-02-23 03:06:41,977 - DEBUG - PING ctest-vm2-test-30159704.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-30159704.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.39 ms 64 bytes from ctest-vm2-test-30159704.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.63 ms 64 bytes from ctest-vm2-test-30159704.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.50 ms --- ctest-vm2-test-30159704.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.507/4.513/9.399/3.485 ms 2026-02-23 03:06:41,977 - INFO - Ping to IP ctest-vm2-test-30159704 from VM ctest-vm1-test-04252491 passed 2026-02-23 03:06:41,978 - INFO - Try deleting the VDNS entry ctest-vdns1-79985571 with back ref of ipam. 2026-02-23 03:06:42,036 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/f50c3613-4cac-47b3-90c2-840140ddfb1a'] 2026-02-23 03:06:42,036 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-02-23 03:06:42,036 - INFO - Add CNAME VDNS record for ctest-vm1-test-04252491 and verify we able to ping by alias name 2026-02-23 03:06:42,084 - DEBUG - Creating VDNS record data : test-rec 2026-02-23 03:06:42,200 - INFO - In verify_on_setup 2026-02-23 03:06:42,296 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-79985571', 'test-rec'] created succesfully 2026-02-23 03:06:42,297 - INFO - Verify VDNS record is shown in the API server 2026-02-23 03:06:42,297 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-23 03:06:42,304 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e1cc6957-1fd1-4e0a-8f60-be32b1950cd6 2026-02-23 03:06:42,352 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS/fec740cc-48ce-46ae-9265-7c9f953493e6 2026-02-23 03:06:42,362 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS-record/86674388-0ceb-4771-99c4-d3d22df31233 2026-02-23 03:06:42,372 - INFO - Verify VDNS record is shown in the control node 2026-02-23 03:06:42,389 - 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.65, gateway password: c0ntrail123 2026-02-23 03:06:42,389 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-02-23 03:06:43,589 - 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.65, gateway password: c0ntrail123 2026-02-23 03:06:43,589 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-02-23 03:06:44,076 - DEBUG - ping: unknown host vm1-test-alias 2026-02-23 03:06:44,076 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-04252491 failed 2026-02-23 03:06:45,077 - 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.65, gateway password: c0ntrail123 2026-02-23 03:06:45,077 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-02-23 03:06:46,196 - 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.65, gateway password: c0ntrail123 2026-02-23 03:06:46,196 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-02-23 03:06:48,704 - DEBUG - PING ctest-vm1-test-04252491.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-04252491.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.66 ms 64 bytes from ctest-vm1-test-04252491.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.471 ms 64 bytes from ctest-vm1-test-04252491.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.256 ms --- ctest-vm1-test-04252491.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.256/0.797/1.665/0.620 ms 2026-02-23 03:06:48,704 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-04252491 passed 2026-02-23 03:06:48,704 - DEBUG - Deleting VDNS record data: test-rec 2026-02-23 03:06:48,788 - INFO - VDNS record info: default-domain:ctest-vdns1-79985571:test-rec deleted successfully. 2026-02-23 03:06:48,789 - INFO - Deleting VM ctest-vm2-test-30159704 2026-02-23 03:06:48,874 - INFO - Deleting VM ctest-vm1-test-04252491 2026-02-23 03:06:48,955 - INFO - Deleting VN ctest-vn1-vdns-84159452 2026-02-23 03:06:49,000 - DEBUG - VN 9702c47e-b059-4ad2-bdff-01d12bb6dd50 still in use: Unable to complete operation on network 9702c47e-b059-4ad2-bdff-01d12bb6dd50. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f7736c63-7526-4b18-ba33-419a61b1f3e2'] 2026-02-23 03:06:49,001 - WARNING - Deleting VN ctest-vn1-vdns-84159452 failed..Will retry 2026-02-23 03:06:51,168 - DEBUG - Response for deleting network () 2026-02-23 03:06:51,229 - DEBUG - Deleting VDNS Entry: ctest-vdns1-79985571 2026-02-23 03:06:51,320 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-79985571'] deleted successfully. 2026-02-23 03:06:51,320 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-23 03:06:51,327 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e1cc6957-1fd1-4e0a-8f60-be32b1950cd6 2026-02-23 03:06:51,341 - DEBUG - VDNS information not found in API server 2026-02-23 03:06:51,341 - INFO - VDNS information ctest-vdns1-79985571 removed from the API Server 2026-02-23 03:06:51,350 - INFO - VDNS information ctest-vdns1-79985571 removed in the Control node 2026-02-23 03:06:51,353 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-81697947'] 2026-02-23 03:06:52,633 - DEBUG - No XMPP flaps were noticed during the test 2026-02-23 03:06:52,633 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:12] 2026-02-23 03:06:52,633 - INFO - -------------------------------------------------------------------------------- 2026-02-23 03:06:53,437 - INFO - Deleted project: ctest-TestvDNSBasic0-81697947, ID : 990f91d8-9856-40be-96be-0fcc889f8e2a