2026-03-12 03:13:03,122 - INFO - Domain Default found not creating 2026-03-12 03:13:03,285 - INFO - Project ctest-TestvDNSBasic0-30539784 not found, creating it 2026-03-12 03:13:03,895 - INFO - Created Project:ctest-TestvDNSBasic0-30539784, ID : 93a9a4e9-2bed-44d0-affe-11cf067ec5c4 2026-03-12 03:13:05,505 - INFO - ================================================================================ 2026-03-12 03:13:05,505 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-03-12 03:13:05,505 - 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-03-12 03:13:06,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0', '10.20.0.129': '0'}, '10.0.0.133': {'10.20.0.17': '0', '10.20.0.129': '0'}} with 2026-03-12 03:13:06,804 - INFO - Initial checks done. Running the testcase now 2026-03-12 03:13:06,804 - INFO - 2026-03-12 03:13:07,510 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-30539784'](93a9a4e9-2bed-44d0-affe-11cf067ec5c4) 2026-03-12 03:13:07,564 - DEBUG - Creating VDNS : ctest-vdns1-44448888 2026-03-12 03:13:07,804 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-44448888'] created succesfully 2026-03-12 03:13:07,804 - DEBUG - Verify VDNS entry is shown in control node 2026-03-12 03:13:07,829 - DEBUG - Verify VDNS entry is shown in the API server 2026-03-12 03:13:07,829 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-12 03:13:08,128 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-12 03:13:08,180 - DEBUG - Requesting: http://10.0.0.27:8082/domain/816a5ced-493e-44a0-a931-7e59b7e8c6c2 2026-03-12 03:13:08,198 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/afbbfe5d-be5d-4f32-ae5f-cdac4399e013 2026-03-12 03:13:08,943 - DEBUG - Response for create_network : {'network': {'id': 'f7e93200-1fd8-4c98-9f2e-4c13e8046184', 'name': 'ctest-vn1-vdns-27223611', 'tenant_id': '93a9a4e92bed44d0affe11cf067ec5c4', 'project_id': '93a9a4e92bed44d0affe11cf067ec5c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-30539784', 'ctest-vn1-vdns-27223611'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 03:13:09,256 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b2983b9-aa04-40e4-be30-2d74efd0f683', 'name': '', 'tenant_id': '93a9a4e92bed44d0affe11cf067ec5c4', 'network_id': 'f7e93200-1fd8-4c98-9f2e-4c13e8046184', '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': '93a9a4e92bed44d0affe11cf067ec5c4'}} 2026-03-12 03:13:09,293 - INFO - Created VN ctest-vn1-vdns-27223611 2026-03-12 03:13:09,306 - DEBUG - VN ctest-vn1-vdns-27223611 UUID is f7e93200-1fd8-4c98-9f2e-4c13e8046184 2026-03-12 03:13:09,501 - DEBUG - Services list from nova: [, , , ] 2026-03-12 03:13:10,530 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5460-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5460-2) 2026-03-12 03:13:10,530 - INFO - Waiting for VM ctest-vm1-test-13813722 to be up.. 2026-03-12 03:13:10,570 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-12 03:13:15,672 - DEBUG - VM is in ACTIVE state now 2026-03-12 03:13:15,672 - INFO - VM name : ctest-vm1-test-13813722 2026-03-12 03:13:15,764 - DEBUG - VM ctest-vm1-test-13813722 ID is ca228046-7877-486c-92b6-560e8a995c07 2026-03-12 03:13:15,764 - DEBUG - VM ctest-vm1-test-13813722 launched on Node an-jenkins-deploy-platform-ansible-os-5460-2 2026-03-12 03:13:15,840 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ca228046-7877-486c-92b6-560e8a995c07 2026-03-12 03:13:16,132 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ca228046-7877-486c-92b6-560e8a995c07 2026-03-12 03:13:16,167 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/db15e18e-d4ee-4661-9552-bdd24402a4ad 2026-03-12 03:13:19,339 - 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-03-12 03:13:19,339 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-13813722 failed! 2026-03-12 03:13:19,353 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:13:23,436 - 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-03-12 03:13:23,436 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-13813722 failed! 2026-03-12 03:13:23,451 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:13:27,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 1026ms') 2026-03-12 03:13:27,542 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-13813722 failed! 2026-03-12 03:13:27,558 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:13:31,632 - 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-03-12 03:13:31,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-13813722 failed! 2026-03-12 03:13:31,645 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:13:35,726 - 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-03-12 03:13:35,726 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-13813722 failed! 2026-03-12 03:13:35,740 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:13:39,824 - 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-03-12 03:13:39,824 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-13813722 failed! 2026-03-12 03:13:39,839 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:13:43,922 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2026-03-12 03:13:43,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-13813722 failed! 2026-03-12 03:13:43,937 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:13:48,015 - 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-03-12 03:13:48,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-13813722 failed! 2026-03-12 03:13:48,029 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:13:52,105 - 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=4.99 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 4.989/4.989/4.989/0.000 ms') 2026-03-12 03:13:52,105 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-13813722 passed 2026-03-12 03:13:52,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 03:13:52,177 - DEBUG - Waiting to SSH to VM ctest-vm1-test-13813722, IP 10.10.10.3, Port 22 2026-03-12 03:13:52,241 - 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-03-12 03:13:52,339 - DEBUG - VM ctest-vm1-test-13813722 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-12 03:13:57,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 03:13:57,340 - DEBUG - Waiting to SSH to VM ctest-vm1-test-13813722, IP 10.10.10.3, Port 22 2026-03-12 03:13:57,406 - 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-03-12 03:13:57,482 - DEBUG - VM ctest-vm1-test-13813722 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-12 03:14:02,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 03:14:02,483 - DEBUG - Waiting to SSH to VM ctest-vm1-test-13813722, IP 10.10.10.3, Port 22 2026-03-12 03:14:02,550 - 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-03-12 03:14:02,644 - DEBUG - VM ctest-vm1-test-13813722 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-12 03:14:07,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 03:14:07,646 - DEBUG - Waiting to SSH to VM ctest-vm1-test-13813722, IP 10.10.10.3, Port 22 2026-03-12 03:14:07,714 - 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-03-12 03:14:07,798 - DEBUG - VM ctest-vm1-test-13813722 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-12 03:14:12,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 03:14:12,799 - DEBUG - Waiting to SSH to VM ctest-vm1-test-13813722, IP 10.10.10.3, Port 22 2026-03-12 03:14:12,966 - DEBUG - VM ctest-vm1-test-13813722 is ready for SSH connections 2026-03-12 03:14:12,966 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-03-12 03:14:12,966 - DEBUG - ifconfig | grep 10.10.10.3 2026-03-12 03:14:33,055 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-03-12 03:14:33,056 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-13813722", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-03-12 03:14:33,056 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-13813722", None, socket.AF_INET6)' 2026-03-12 03:14:34,794 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-13813722, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-03-12 03:14:34,795 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-13813722 2026-03-12 03:14:37,328 - DEBUG - PING ctest-vm1-test-13813722.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-13813722.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.54 ms 64 bytes from ctest-vm1-test-13813722.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.39 ms 64 bytes from ctest-vm1-test-13813722.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.277 ms --- ctest-vm1-test-13813722.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.277/2.073/3.546/1.354 ms 2026-03-12 03:14:37,328 - INFO - Ping to IP ctest-vm1-test-13813722 from VM ctest-vm1-test-13813722 passed 2026-03-12 03:14:37,351 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-12 03:14:37,356 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44448888@0%20AllEntriesVdnsRecordsReq 2026-03-12 03:14:37,363 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-12 03:14:37,369 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44448888@0%20AllEntriesVdnsRecordsReq 2026-03-12 03:14:37,373 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-12 03:14:37,379 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44448888@0%20AllEntriesVdnsRecordsReq 2026-03-12 03:14:37,385 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-44448888:1:ctest-vm1-test-13813722:10.10.10.3', 'rec_name': 'ctest-vm1-test-13813722', '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-5460-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-13813722.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-03-12 03:14:37,385 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-44448888:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-13813722', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-13813722', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5460-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-13813722.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-03-12 03:14:38,724 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5460-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5460-1) 2026-03-12 03:14:38,724 - INFO - Waiting for VM ctest-vm2-test-29827904 to be up.. 2026-03-12 03:14:38,776 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-12 03:14:43,863 - DEBUG - VM is in ACTIVE state now 2026-03-12 03:14:43,863 - INFO - VM name : ctest-vm2-test-29827904 2026-03-12 03:14:43,941 - DEBUG - VM ctest-vm2-test-29827904 ID is 77a3dcb7-682d-4bc3-8725-6776a7b7e509 2026-03-12 03:14:43,941 - DEBUG - VM ctest-vm2-test-29827904 launched on Node an-jenkins-deploy-platform-ansible-os-5460-1 2026-03-12 03:14:44,020 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/77a3dcb7-682d-4bc3-8725-6776a7b7e509 2026-03-12 03:14:44,031 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/bf0e140e-0024-4fcf-8b3a-4d49d6da5fbd 2026-03-12 03:14:47,203 - 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-03-12 03:14:47,203 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-29827904 failed! 2026-03-12 03:14:47,218 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:14:51,300 - 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') 2026-03-12 03:14:51,300 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-29827904 failed! 2026-03-12 03:14:51,321 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:14:55,401 - 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-03-12 03:14:55,401 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-29827904 failed! 2026-03-12 03:14:55,425 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:14:59,496 - 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 1004ms') 2026-03-12 03:14:59,496 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-29827904 failed! 2026-03-12 03:14:59,512 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:15:03,592 - 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') 2026-03-12 03:15:03,592 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-29827904 failed! 2026-03-12 03:15:03,606 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:15:07,693 - 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-03-12 03:15:07,693 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-29827904 failed! 2026-03-12 03:15:07,709 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:15:11,777 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2026-03-12 03:15:11,777 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-29827904 failed! 2026-03-12 03:15:11,790 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:15:15,881 - 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 1025ms') 2026-03-12 03:15:15,881 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-29827904 failed! 2026-03-12 03:15:15,895 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:15:19,973 - 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-03-12 03:15:19,973 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-29827904 failed! 2026-03-12 03:15:19,990 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-30539784:ctest-vn1-vdns-27223611 is 10.10.10.1 and allocation pool is NOT set 2026-03-12 03:15:24,073 - 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=5.30 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 5.297/5.297/5.297/0.000 ms') 2026-03-12 03:15:24,073 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-29827904 passed 2026-03-12 03:15:24,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 03:15:24,149 - DEBUG - Waiting to SSH to VM ctest-vm2-test-29827904, IP 10.10.10.4, Port 22 2026-03-12 03:15:24,217 - 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-03-12 03:15:24,298 - DEBUG - VM ctest-vm2-test-29827904 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-12 03:15:29,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 03:15:29,299 - DEBUG - Waiting to SSH to VM ctest-vm2-test-29827904, IP 10.10.10.4, Port 22 2026-03-12 03:15:29,366 - 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-03-12 03:15:29,452 - DEBUG - VM ctest-vm2-test-29827904 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-12 03:15:34,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 03:15:34,453 - DEBUG - Waiting to SSH to VM ctest-vm2-test-29827904, IP 10.10.10.4, Port 22 2026-03-12 03:15:34,643 - 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-03-12 03:15:34,727 - DEBUG - VM ctest-vm2-test-29827904 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-12 03:15:39,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 03:15:39,727 - DEBUG - Waiting to SSH to VM ctest-vm2-test-29827904, IP 10.10.10.4, Port 22 2026-03-12 03:15:39,798 - 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-03-12 03:15:39,902 - DEBUG - VM ctest-vm2-test-29827904 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-12 03:15:44,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 03:15:44,903 - DEBUG - Waiting to SSH to VM ctest-vm2-test-29827904, IP 10.10.10.4, Port 22 2026-03-12 03:15:45,077 - DEBUG - VM ctest-vm2-test-29827904 is ready for SSH connections 2026-03-12 03:15:45,077 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-03-12 03:15:45,077 - DEBUG - ifconfig | grep 10.10.10.4 2026-03-12 03:16:09,078 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-03-12 03:16:09,078 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-29827904", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-03-12 03:16:09,078 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-29827904", None, socket.AF_INET6)' 2026-03-12 03:16:12,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-29827904, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-03-12 03:16:12,011 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-29827904 2026-03-12 03:16:15,167 - DEBUG - PING ctest-vm2-test-29827904.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-29827904.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.90 ms 64 bytes from ctest-vm2-test-29827904.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.257 ms 64 bytes from ctest-vm2-test-29827904.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.244 ms --- ctest-vm2-test-29827904.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.244/1.135/2.904/1.250 ms 2026-03-12 03:16:15,167 - INFO - Ping to IP ctest-vm2-test-29827904 from VM ctest-vm2-test-29827904 passed 2026-03-12 03:16:15,194 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-12 03:16:15,201 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44448888@0%20AllEntriesVdnsRecordsReq 2026-03-12 03:16:15,206 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-12 03:16:15,211 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44448888@0%20AllEntriesVdnsRecordsReq 2026-03-12 03:16:15,216 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-12 03:16:15,221 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44448888@0%20AllEntriesVdnsRecordsReq 2026-03-12 03:16:15,226 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-44448888:1:ctest-vm2-test-29827904:10.10.10.4', 'rec_name': 'ctest-vm2-test-29827904', '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-5460-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-29827904.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-03-12 03:16:15,226 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-44448888:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-29827904', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-29827904', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5460-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-29827904.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-03-12 03:16:15,227 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-29827904", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-03-12 03:16:15,227 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-29827904", None, socket.AF_INET6)' 2026-03-12 03:16:16,444 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-29827904, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-03-12 03:16:16,444 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-29827904 2026-03-12 03:16:19,003 - DEBUG - PING ctest-vm2-test-29827904.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-29827904.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.1 ms 64 bytes from ctest-vm2-test-29827904.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.32 ms 64 bytes from ctest-vm2-test-29827904.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.43 ms --- ctest-vm2-test-29827904.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.327/4.308/10.159/4.137 ms 2026-03-12 03:16:19,004 - INFO - Ping to IP ctest-vm2-test-29827904 from VM ctest-vm1-test-13813722 passed 2026-03-12 03:16:19,004 - INFO - Try deleting the VDNS entry ctest-vdns1-44448888 with back ref of ipam. 2026-03-12 03:16:19,064 - DEBUG - Delete when resource still referred: ['http://10.0.0.131:8082/network-ipam/8354fb30-3449-41e7-9fa8-bbc0dcb1d3c8'] 2026-03-12 03:16:19,064 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-03-12 03:16:19,064 - INFO - Add CNAME VDNS record for ctest-vm1-test-13813722 and verify we able to ping by alias name 2026-03-12 03:16:19,112 - DEBUG - Creating VDNS record data : test-rec 2026-03-12 03:16:19,244 - INFO - In verify_on_setup 2026-03-12 03:16:19,340 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-44448888', 'test-rec'] created succesfully 2026-03-12 03:16:19,340 - INFO - Verify VDNS record is shown in the API server 2026-03-12 03:16:19,341 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-12 03:16:19,347 - DEBUG - Requesting: http://10.0.0.27:8082/domain/816a5ced-493e-44a0-a931-7e59b7e8c6c2 2026-03-12 03:16:19,358 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/afbbfe5d-be5d-4f32-ae5f-cdac4399e013 2026-03-12 03:16:19,368 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/4457bc49-a9a2-4096-82ff-4e16ad0e5b05 2026-03-12 03:16:19,374 - INFO - Verify VDNS record is shown in the control node 2026-03-12 03:16:19,390 - 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.133, gateway password: c0ntrail123 2026-03-12 03:16:19,390 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-03-12 03:16:20,569 - 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.133, gateway password: c0ntrail123 2026-03-12 03:16:20,569 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-03-12 03:16:21,113 - DEBUG - ping: unknown host vm1-test-alias 2026-03-12 03:16:21,113 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-13813722 failed 2026-03-12 03:16:22,115 - 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.133, gateway password: c0ntrail123 2026-03-12 03:16:22,115 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-03-12 03:16:23,400 - 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.133, gateway password: c0ntrail123 2026-03-12 03:16:23,400 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-03-12 03:16:25,996 - DEBUG - PING ctest-vm1-test-13813722.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-13813722.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.218 ms 64 bytes from ctest-vm1-test-13813722.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.190 ms 64 bytes from ctest-vm1-test-13813722.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.216 ms --- ctest-vm1-test-13813722.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.190/0.208/0.218/0.012 ms 2026-03-12 03:16:25,997 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-13813722 passed 2026-03-12 03:16:25,997 - DEBUG - Deleting VDNS record data: test-rec 2026-03-12 03:16:26,080 - INFO - VDNS record info: default-domain:ctest-vdns1-44448888:test-rec deleted successfully. 2026-03-12 03:16:26,080 - INFO - Deleting VM ctest-vm2-test-29827904 2026-03-12 03:16:26,148 - INFO - Deleting VM ctest-vm1-test-13813722 2026-03-12 03:16:26,216 - INFO - Deleting VN ctest-vn1-vdns-27223611 2026-03-12 03:16:26,259 - DEBUG - VN f7e93200-1fd8-4c98-9f2e-4c13e8046184 still in use: Unable to complete operation on network f7e93200-1fd8-4c98-9f2e-4c13e8046184. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab8097bd-47a5-4acb-9ec7-49f357c3887e'] 2026-03-12 03:16:26,259 - WARNING - Deleting VN ctest-vn1-vdns-27223611 failed..Will retry 2026-03-12 03:16:28,435 - DEBUG - Response for deleting network () 2026-03-12 03:16:28,496 - DEBUG - Deleting VDNS Entry: ctest-vdns1-44448888 2026-03-12 03:16:28,588 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-44448888'] deleted successfully. 2026-03-12 03:16:28,588 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-03-12 03:16:28,596 - DEBUG - Requesting: http://10.0.0.27:8082/domain/816a5ced-493e-44a0-a931-7e59b7e8c6c2 2026-03-12 03:16:28,609 - DEBUG - VDNS information not found in API server 2026-03-12 03:16:28,609 - INFO - VDNS information ctest-vdns1-44448888 removed from the API Server 2026-03-12 03:16:28,615 - INFO - VDNS information ctest-vdns1-44448888 removed in the Control node 2026-03-12 03:16:28,615 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-30539784'] 2026-03-12 03:16:29,909 - DEBUG - No XMPP flaps were noticed during the test 2026-03-12 03:16:29,909 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:24] 2026-03-12 03:16:29,909 - INFO - -------------------------------------------------------------------------------- 2026-03-12 03:16:30,704 - INFO - Deleted project: ctest-TestvDNSBasic0-30539784, ID : 93a9a4e9-2bed-44d0-affe-11cf067ec5c4