2026-05-04 03:37:03,900 - INFO - Domain Default found not creating 2026-05-04 03:37:04,087 - INFO - Project ctest-TestvDNSBasic0-25135555 not found, creating it 2026-05-04 03:37:04,738 - INFO - Created Project:ctest-TestvDNSBasic0-25135555, ID : b7b14e9f-fc2d-44bc-a903-d2bdbcefd10d 2026-05-04 03:37:06,366 - INFO - ================================================================================ 2026-05-04 03:37:06,366 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-05-04 03:37:06,366 - 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-05-04 03:37:07,680 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.141': {'10.20.0.18': '0', '10.20.0.193': '0'}} with 2026-05-04 03:37:07,680 - INFO - Initial checks done. Running the testcase now 2026-05-04 03:37:07,680 - INFO - 2026-05-04 03:37:08,448 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-25135555'](b7b14e9f-fc2d-44bc-a903-d2bdbcefd10d) 2026-05-04 03:37:08,505 - DEBUG - Creating VDNS : ctest-vdns1-12266448 2026-05-04 03:37:08,737 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-12266448'] created succesfully 2026-05-04 03:37:08,737 - DEBUG - Verify VDNS entry is shown in control node 2026-05-04 03:37:08,757 - DEBUG - Verify VDNS entry is shown in the API server 2026-05-04 03:37:08,757 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-05-04 03:37:09,064 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-05-04 03:37:09,108 - DEBUG - Requesting: http://10.0.0.129:8082/domain/de444c91-1c2e-4590-9dad-cf698cd9c62c 2026-05-04 03:37:09,126 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-DNS/40ac45bc-d0ab-4341-b374-56bee03313b9 2026-05-04 03:37:09,885 - DEBUG - Response for create_network : {'network': {'id': 'fb845fc4-fb48-4c97-843a-b0d6449fb90b', 'name': 'ctest-vn1-vdns-13815621', 'tenant_id': 'b7b14e9ffc2d44bca903d2bdbcefd10d', 'project_id': 'b7b14e9ffc2d44bca903d2bdbcefd10d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-25135555', 'ctest-vn1-vdns-13815621'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 03:37:10,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e23baad-917e-4645-992e-72241535afa8', 'name': '', 'tenant_id': 'b7b14e9ffc2d44bca903d2bdbcefd10d', 'network_id': 'fb845fc4-fb48-4c97-843a-b0d6449fb90b', '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': 'b7b14e9ffc2d44bca903d2bdbcefd10d'}} 2026-05-04 03:37:10,266 - INFO - Created VN ctest-vn1-vdns-13815621 2026-05-04 03:37:10,279 - DEBUG - VN ctest-vn1-vdns-13815621 UUID is fb845fc4-fb48-4c97-843a-b0d6449fb90b 2026-05-04 03:37:10,668 - DEBUG - Services list from nova: [, , , ] 2026-05-04 03:37:11,774 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5740-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5740-1) 2026-05-04 03:37:11,774 - INFO - Waiting for VM ctest-vm1-test-21985744 to be up.. 2026-05-04 03:37:11,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-04 03:37:16,915 - DEBUG - VM is in ACTIVE state now 2026-05-04 03:37:16,915 - INFO - VM name : ctest-vm1-test-21985744 2026-05-04 03:37:17,010 - DEBUG - VM ctest-vm1-test-21985744 ID is f7529c96-ca57-44eb-bbbb-2b45860c195d 2026-05-04 03:37:17,010 - DEBUG - VM ctest-vm1-test-21985744 launched on Node an-jenkins-deploy-platform-ansible-os-5740-1 2026-05-04 03:37:17,097 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f7529c96-ca57-44eb-bbbb-2b45860c195d 2026-05-04 03:37:17,410 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f7529c96-ca57-44eb-bbbb-2b45860c195d 2026-05-04 03:37:17,452 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/200b5530-b75d-4a3e-bf16-cd80da25af6e 2026-05-04 03:37:20,650 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2026-05-04 03:37:20,650 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-21985744 failed! 2026-05-04 03:37:20,665 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:37:24,752 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-05-04 03:37:24,753 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-21985744 failed! 2026-05-04 03:37:24,770 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:37:28,851 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-05-04 03:37:28,851 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-21985744 failed! 2026-05-04 03:37:28,868 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:37:32,947 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-05-04 03:37:32,947 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-21985744 failed! 2026-05-04 03:37:32,963 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:37:37,046 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-05-04 03:37:37,046 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-21985744 failed! 2026-05-04 03:37:37,061 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:37:41,128 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2026-05-04 03:37:41,128 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-21985744 failed! 2026-05-04 03:37:41,147 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:37:45,226 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-05-04 03:37:45,226 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-21985744 failed! 2026-05-04 03:37:45,243 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:37:49,329 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-05-04 03:37:49,329 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-21985744 failed! 2026-05-04 03:37:49,345 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:37:51,415 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=5.97 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.80 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.799/3.883/5.968/2.084 ms') 2026-05-04 03:37:51,415 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-21985744 passed 2026-05-04 03:37:51,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 03:37:51,489 - DEBUG - Waiting to SSH to VM ctest-vm1-test-21985744, IP 10.10.10.3, Port 22 2026-05-04 03:37:51,547 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-04 03:37:51,636 - DEBUG - VM ctest-vm1-test-21985744 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 03:37:56,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 03:37:56,638 - DEBUG - Waiting to SSH to VM ctest-vm1-test-21985744, IP 10.10.10.3, Port 22 2026-05-04 03:37:56,695 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-04 03:37:56,783 - DEBUG - VM ctest-vm1-test-21985744 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 03:38:01,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 03:38:01,784 - DEBUG - Waiting to SSH to VM ctest-vm1-test-21985744, IP 10.10.10.3, Port 22 2026-05-04 03:38:01,853 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-04 03:38:01,951 - DEBUG - VM ctest-vm1-test-21985744 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 03:38:06,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 03:38:06,952 - DEBUG - Waiting to SSH to VM ctest-vm1-test-21985744, IP 10.10.10.3, Port 22 2026-05-04 03:38:07,018 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-04 03:38:07,105 - DEBUG - VM ctest-vm1-test-21985744 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 03:38:12,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 03:38:12,106 - DEBUG - Waiting to SSH to VM ctest-vm1-test-21985744, IP 10.10.10.3, Port 22 2026-05-04 03:38:12,267 - DEBUG - VM ctest-vm1-test-21985744 is ready for SSH connections 2026-05-04 03:38:12,267 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-04 03:38:12,267 - DEBUG - ifconfig | grep 10.10.10.3 2026-05-04 03:38:31,403 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-05-04 03:38:31,404 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-21985744", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-04 03:38:31,404 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-21985744", None, socket.AF_INET6)' 2026-05-04 03:38:32,788 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-21985744, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-04 03:38:32,788 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-21985744 2026-05-04 03:38:35,340 - DEBUG - PING ctest-vm1-test-21985744.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-21985744.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.31 ms 64 bytes from ctest-vm1-test-21985744.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.53 ms 64 bytes from ctest-vm1-test-21985744.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.234 ms --- ctest-vm1-test-21985744.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.234/2.360/4.310/1.668 ms 2026-05-04 03:38:35,340 - INFO - Ping to IP ctest-vm1-test-21985744 from VM ctest-vm1-test-21985744 passed 2026-05-04 03:38:35,370 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-04 03:38:35,378 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-12266448@0%20AllEntriesVdnsRecordsReq 2026-05-04 03:38:35,382 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-04 03:38:35,388 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-12266448@0%20AllEntriesVdnsRecordsReq 2026-05-04 03:38:35,393 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-04 03:38:35,399 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-12266448@0%20AllEntriesVdnsRecordsReq 2026-05-04 03:38:35,404 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-12266448:1:ctest-vm1-test-21985744:10.10.10.3', 'rec_name': 'ctest-vm1-test-21985744', '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-5740-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-21985744.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-05-04 03:38:35,405 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-12266448:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-21985744', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-21985744', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5740-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-21985744.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-05-04 03:38:36,819 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5740-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5740-2) 2026-05-04 03:38:36,819 - INFO - Waiting for VM ctest-vm2-test-83084163 to be up.. 2026-05-04 03:38:36,864 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-04 03:38:41,957 - DEBUG - VM is in ACTIVE state now 2026-05-04 03:38:41,957 - INFO - VM name : ctest-vm2-test-83084163 2026-05-04 03:38:42,044 - DEBUG - VM ctest-vm2-test-83084163 ID is b95affe4-5935-4131-9cbe-89ae7c7126b9 2026-05-04 03:38:42,045 - DEBUG - VM ctest-vm2-test-83084163 launched on Node an-jenkins-deploy-platform-ansible-os-5740-2 2026-05-04 03:38:42,136 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b95affe4-5935-4131-9cbe-89ae7c7126b9 2026-05-04 03:38:42,149 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8ebcde12-46ba-43cc-bc89-c314cbffbc6a 2026-05-04 03:38:45,361 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2026-05-04 03:38:45,361 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-83084163 failed! 2026-05-04 03:38:45,382 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:38:49,457 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2026-05-04 03:38:49,457 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-83084163 failed! 2026-05-04 03:38:49,473 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:38:53,552 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-05-04 03:38:53,552 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-83084163 failed! 2026-05-04 03:38:53,569 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:38:57,648 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2026-05-04 03:38:57,648 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-83084163 failed! 2026-05-04 03:38:57,666 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:39:01,741 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-05-04 03:39:01,741 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-83084163 failed! 2026-05-04 03:39:01,758 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:39:05,844 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-05-04 03:39:05,844 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-83084163 failed! 2026-05-04 03:39:05,861 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:39:09,931 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2026-05-04 03:39:09,931 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-83084163 failed! 2026-05-04 03:39:09,951 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:39:14,030 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-05-04 03:39:14,030 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-83084163 failed! 2026-05-04 03:39:14,052 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:39:18,130 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-05-04 03:39:18,130 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-83084163 failed! 2026-05-04 03:39:18,146 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:39:22,220 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2026-05-04 03:39:22,220 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-83084163 failed! 2026-05-04 03:39:22,238 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25135555:ctest-vn1-vdns-13815621 is 10.10.10.1 and allocation pool is NOT set 2026-05-04 03:39:24,309 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=6.35 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.32 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.324/4.334/6.345/2.010 ms') 2026-05-04 03:39:24,309 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-83084163 passed 2026-05-04 03:39:24,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 03:39:24,382 - DEBUG - Waiting to SSH to VM ctest-vm2-test-83084163, IP 10.10.10.4, Port 22 2026-05-04 03:39:24,451 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-04 03:39:24,555 - DEBUG - VM ctest-vm2-test-83084163 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 03:39:29,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 03:39:29,556 - DEBUG - Waiting to SSH to VM ctest-vm2-test-83084163, IP 10.10.10.4, Port 22 2026-05-04 03:39:29,623 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-04 03:39:29,713 - DEBUG - VM ctest-vm2-test-83084163 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 03:39:34,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 03:39:34,713 - DEBUG - Waiting to SSH to VM ctest-vm2-test-83084163, IP 10.10.10.4, Port 22 2026-05-04 03:39:34,783 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-04 03:39:34,886 - DEBUG - VM ctest-vm2-test-83084163 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 03:39:39,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 03:39:39,887 - DEBUG - Waiting to SSH to VM ctest-vm2-test-83084163, IP 10.10.10.4, Port 22 2026-05-04 03:39:39,956 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-04 03:39:40,045 - DEBUG - VM ctest-vm2-test-83084163 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 03:39:45,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 03:39:45,046 - DEBUG - Waiting to SSH to VM ctest-vm2-test-83084163, IP 10.10.10.4, Port 22 2026-05-04 03:39:45,116 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-04 03:39:45,203 - DEBUG - VM ctest-vm2-test-83084163 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 03:39:50,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 03:39:50,204 - DEBUG - Waiting to SSH to VM ctest-vm2-test-83084163, IP 10.10.10.4, Port 22 2026-05-04 03:39:50,369 - DEBUG - VM ctest-vm2-test-83084163 is ready for SSH connections 2026-05-04 03:39:50,369 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-05-04 03:39:50,369 - DEBUG - ifconfig | grep 10.10.10.4 2026-05-04 03:40:12,546 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-05-04 03:40:12,546 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-83084163", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-05-04 03:40:12,546 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-83084163", None, socket.AF_INET6)' 2026-05-04 03:40:14,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-83084163, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-05-04 03:40:14,800 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-83084163 2026-05-04 03:40:17,413 - DEBUG - PING ctest-vm2-test-83084163.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-83084163.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.75 ms 64 bytes from ctest-vm2-test-83084163.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.64 ms 64 bytes from ctest-vm2-test-83084163.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.234 ms --- ctest-vm2-test-83084163.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.234/2.544/4.751/1.845 ms 2026-05-04 03:40:17,414 - INFO - Ping to IP ctest-vm2-test-83084163 from VM ctest-vm2-test-83084163 passed 2026-05-04 03:40:17,444 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-04 03:40:17,464 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-12266448@0%20AllEntriesVdnsRecordsReq 2026-05-04 03:40:17,484 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-04 03:40:17,492 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-12266448@0%20AllEntriesVdnsRecordsReq 2026-05-04 03:40:17,502 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-04 03:40:17,517 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-12266448@0%20AllEntriesVdnsRecordsReq 2026-05-04 03:40:17,529 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-12266448:1:ctest-vm2-test-83084163:10.10.10.4', 'rec_name': 'ctest-vm2-test-83084163', '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-5740-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-83084163.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-05-04 03:40:17,529 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-12266448:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-83084163', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-83084163', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5740-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-83084163.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-05-04 03:40:17,530 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-83084163", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-04 03:40:17,530 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-83084163", None, socket.AF_INET6)' 2026-05-04 03:40:18,699 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-83084163, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-04 03:40:18,699 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-83084163 2026-05-04 03:40:21,250 - DEBUG - PING ctest-vm2-test-83084163.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-83084163.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.29 ms 64 bytes from ctest-vm2-test-83084163.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.54 ms 64 bytes from ctest-vm2-test-83084163.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.38 ms --- ctest-vm2-test-83084163.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 1.389/3.407/7.294/2.749 ms 2026-05-04 03:40:21,250 - INFO - Ping to IP ctest-vm2-test-83084163 from VM ctest-vm1-test-21985744 passed 2026-05-04 03:40:21,250 - INFO - Try deleting the VDNS entry ctest-vdns1-12266448 with back ref of ipam. 2026-05-04 03:40:21,313 - DEBUG - Delete when resource still referred: ['http://10.0.0.249:8082/network-ipam/d968e01d-af03-42c0-8edd-328e882b597a'] 2026-05-04 03:40:21,313 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-05-04 03:40:21,313 - INFO - Add CNAME VDNS record for ctest-vm1-test-21985744 and verify we able to ping by alias name 2026-05-04 03:40:21,365 - DEBUG - Creating VDNS record data : test-rec 2026-05-04 03:40:21,501 - INFO - In verify_on_setup 2026-05-04 03:40:21,601 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-12266448', 'test-rec'] created succesfully 2026-05-04 03:40:21,601 - INFO - Verify VDNS record is shown in the API server 2026-05-04 03:40:21,602 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-05-04 03:40:21,610 - DEBUG - Requesting: http://10.0.0.129:8082/domain/de444c91-1c2e-4590-9dad-cf698cd9c62c 2026-05-04 03:40:21,656 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-DNS/40ac45bc-d0ab-4341-b374-56bee03313b9 2026-05-04 03:40:21,667 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-DNS-record/0a9d7f50-cd84-474d-af90-46d5a09e8dc2 2026-05-04 03:40:21,673 - INFO - Verify VDNS record is shown in the control node 2026-05-04 03:40:21,693 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-04 03:40:21,693 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-05-04 03:40:22,828 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-04 03:40:22,828 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-05-04 03:40:23,348 - DEBUG - ping: unknown host vm1-test-alias 2026-05-04 03:40:23,348 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-21985744 failed 2026-05-04 03:40:24,350 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-04 03:40:24,350 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-05-04 03:40:25,505 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-04 03:40:25,506 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-05-04 03:40:28,021 - DEBUG - PING ctest-vm1-test-21985744.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-21985744.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.257 ms 64 bytes from ctest-vm1-test-21985744.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.314 ms 64 bytes from ctest-vm1-test-21985744.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.257 ms --- ctest-vm1-test-21985744.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.257/0.276/0.314/0.026 ms 2026-05-04 03:40:28,021 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-21985744 passed 2026-05-04 03:40:28,022 - DEBUG - Deleting VDNS record data: test-rec 2026-05-04 03:40:28,109 - INFO - VDNS record info: default-domain:ctest-vdns1-12266448:test-rec deleted successfully. 2026-05-04 03:40:28,110 - INFO - Deleting VM ctest-vm2-test-83084163 2026-05-04 03:40:28,187 - INFO - Deleting VM ctest-vm1-test-21985744 2026-05-04 03:40:28,272 - INFO - Deleting VN ctest-vn1-vdns-13815621 2026-05-04 03:40:28,316 - DEBUG - VN fb845fc4-fb48-4c97-843a-b0d6449fb90b still in use: Unable to complete operation on network fb845fc4-fb48-4c97-843a-b0d6449fb90b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f8c63ec-66ef-446f-8939-10689b019f98'] 2026-05-04 03:40:28,316 - WARNING - Deleting VN ctest-vn1-vdns-13815621 failed..Will retry 2026-05-04 03:40:30,523 - DEBUG - Response for deleting network () 2026-05-04 03:40:30,597 - DEBUG - Deleting VDNS Entry: ctest-vdns1-12266448 2026-05-04 03:40:30,698 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-12266448'] deleted successfully. 2026-05-04 03:40:30,698 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-05-04 03:40:30,705 - DEBUG - Requesting: http://10.0.0.129:8082/domain/de444c91-1c2e-4590-9dad-cf698cd9c62c 2026-05-04 03:40:30,720 - DEBUG - VDNS information not found in API server 2026-05-04 03:40:30,720 - INFO - VDNS information ctest-vdns1-12266448 removed from the API Server 2026-05-04 03:40:30,725 - INFO - VDNS information ctest-vdns1-12266448 removed in the Control node 2026-05-04 03:40:30,726 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-25135555'] 2026-05-04 03:40:32,002 - DEBUG - No XMPP flaps were noticed during the test 2026-05-04 03:40:32,002 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:26] 2026-05-04 03:40:32,002 - INFO - -------------------------------------------------------------------------------- 2026-05-04 03:40:32,773 - INFO - Deleted project: ctest-TestvDNSBasic0-25135555, ID : b7b14e9f-fc2d-44bc-a903-d2bdbcefd10d