2026-01-01 03:03:13,684 - INFO - Domain Default found not creating 2026-01-01 03:03:13,887 - INFO - Project ctest-TestvDNSBasic0-58397994 not found, creating it 2026-01-01 03:03:14,473 - INFO - Created Project:ctest-TestvDNSBasic0-58397994, ID : 17065b73-1d86-4408-910c-95977f32056e 2026-01-01 03:03:16,135 - INFO - ================================================================================ 2026-01-01 03:03:16,135 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-01-01 03:03:16,135 - 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-01-01 03:03:17,427 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0', '10.20.0.18': '0'}, '10.0.0.23': {'10.20.0.14': '0', '10.20.0.18': '0'}} with 2026-01-01 03:03:17,427 - INFO - Initial checks done. Running the testcase now 2026-01-01 03:03:17,427 - INFO - 2026-01-01 03:03:18,200 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-58397994'](17065b73-1d86-4408-910c-95977f32056e) 2026-01-01 03:03:18,254 - DEBUG - Creating VDNS : ctest-vdns1-51594558 2026-01-01 03:03:18,478 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-51594558'] created succesfully 2026-01-01 03:03:18,478 - DEBUG - Verify VDNS entry is shown in control node 2026-01-01 03:03:18,500 - DEBUG - Verify VDNS entry is shown in the API server 2026-01-01 03:03:18,501 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-01 03:03:18,805 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-01 03:03:18,845 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b5800509-dc40-4626-b491-badce4b95394 2026-01-01 03:03:18,869 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/2206f22f-019c-4c48-881c-b0e7b1f017c0 2026-01-01 03:03:19,667 - DEBUG - Response for create_network : {'network': {'id': '8b4cd0bd-58c5-46d7-9def-f163c253dcfc', 'name': 'ctest-vn1-vdns-10944490', 'tenant_id': '17065b731d864408910c95977f32056e', 'project_id': '17065b731d864408910c95977f32056e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-58397994', 'ctest-vn1-vdns-10944490'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 03:03:20,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '643af3b9-0c5d-467e-851e-ce9bf9ea0739', 'name': '', 'tenant_id': '17065b731d864408910c95977f32056e', 'network_id': '8b4cd0bd-58c5-46d7-9def-f163c253dcfc', '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': '17065b731d864408910c95977f32056e'}} 2026-01-01 03:03:20,094 - INFO - Created VN ctest-vn1-vdns-10944490 2026-01-01 03:03:20,111 - DEBUG - VN ctest-vn1-vdns-10944490 UUID is 8b4cd0bd-58c5-46d7-9def-f163c253dcfc 2026-01-01 03:03:20,335 - DEBUG - Services list from nova: [, , , ] 2026-01-01 03:03:21,758 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4945-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4945-1) 2026-01-01 03:03:21,758 - INFO - Waiting for VM ctest-vm1-test-55038921 to be up.. 2026-01-01 03:03:21,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-01 03:03:26,923 - DEBUG - VM is in ACTIVE state now 2026-01-01 03:03:26,923 - INFO - VM name : ctest-vm1-test-55038921 2026-01-01 03:03:27,024 - DEBUG - VM ctest-vm1-test-55038921 ID is c0448935-929a-47fb-a4f9-527c683e0dbd 2026-01-01 03:03:27,024 - DEBUG - VM ctest-vm1-test-55038921 launched on Node an-jenkins-deploy-platform-ansible-os-4945-1 2026-01-01 03:03:27,117 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c0448935-929a-47fb-a4f9-527c683e0dbd 2026-01-01 03:03:27,428 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c0448935-929a-47fb-a4f9-527c683e0dbd 2026-01-01 03:03:27,477 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/34a8fdd0-f056-4d11-baa8-6947ef548dc2 2026-01-01 03:03:30,637 - 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 1006ms') 2026-01-01 03:03:30,637 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55038921 failed! 2026-01-01 03:03:30,655 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:03:34,735 - 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-01-01 03:03:34,735 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55038921 failed! 2026-01-01 03:03:34,751 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:03:38,834 - 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-01-01 03:03:38,834 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55038921 failed! 2026-01-01 03:03:38,850 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:03:42,937 - 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-01-01 03:03:42,937 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55038921 failed! 2026-01-01 03:03:42,953 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:03:47,026 - 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 1011ms') 2026-01-01 03:03:47,027 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55038921 failed! 2026-01-01 03:03:47,041 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:03:51,127 - 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-01-01 03:03:51,127 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55038921 failed! 2026-01-01 03:03:51,143 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:03:55,226 - 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-01-01 03:03:55,226 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55038921 failed! 2026-01-01 03:03:55,242 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:03:59,318 - 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=6.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 6.170/6.170/6.170/0.000 ms') 2026-01-01 03:03:59,319 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55038921 passed 2026-01-01 03:03:59,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 03:03:59,387 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55038921, IP 10.10.10.3, Port 22 2026-01-01 03:03:59,443 - 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-01-01 03:03:59,537 - DEBUG - VM ctest-vm1-test-55038921 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-01 03:04:04,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 03:04:04,538 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55038921, IP 10.10.10.3, Port 22 2026-01-01 03:04:04,606 - 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-01-01 03:04:04,705 - DEBUG - VM ctest-vm1-test-55038921 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-01 03:04:09,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 03:04:09,705 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55038921, IP 10.10.10.3, Port 22 2026-01-01 03:04:09,773 - 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-01-01 03:04:09,894 - DEBUG - VM ctest-vm1-test-55038921 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-01 03:04:14,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 03:04:14,895 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55038921, IP 10.10.10.3, Port 22 2026-01-01 03:04:14,951 - 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-01-01 03:04:15,040 - DEBUG - VM ctest-vm1-test-55038921 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-01 03:04:20,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 03:04:20,042 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55038921, IP 10.10.10.3, Port 22 2026-01-01 03:04:20,210 - DEBUG - VM ctest-vm1-test-55038921 is ready for SSH connections 2026-01-01 03:04:20,211 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-01 03:04:20,211 - DEBUG - ifconfig | grep 10.10.10.3 2026-01-01 03:04:37,166 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-01-01 03:04:37,167 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-55038921", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-01 03:04:37,167 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-55038921", None, socket.AF_INET6)' 2026-01-01 03:04:38,444 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-55038921, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-01 03:04:38,444 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-55038921 2026-01-01 03:04:40,942 - DEBUG - PING ctest-vm1-test-55038921.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-55038921.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.32 ms 64 bytes from ctest-vm1-test-55038921.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.25 ms 64 bytes from ctest-vm1-test-55038921.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.217 ms --- ctest-vm1-test-55038921.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.217/2.264/4.325/1.678 ms 2026-01-01 03:04:40,942 - INFO - Ping to IP ctest-vm1-test-55038921 from VM ctest-vm1-test-55038921 passed 2026-01-01 03:04:40,965 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-01-01 03:04:40,973 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51594558@0%20AllEntriesVdnsRecordsReq 2026-01-01 03:04:40,979 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-01-01 03:04:40,984 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51594558@0%20AllEntriesVdnsRecordsReq 2026-01-01 03:04:40,990 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-01-01 03:04:40,994 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51594558@0%20AllEntriesVdnsRecordsReq 2026-01-01 03:04:40,999 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-51594558:1:ctest-vm1-test-55038921:10.10.10.3', 'rec_name': 'ctest-vm1-test-55038921', '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-4945-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-55038921.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-01-01 03:04:41,000 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-51594558:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-55038921', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-55038921', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4945-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-55038921.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-01-01 03:04:42,425 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4945-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4945-2) 2026-01-01 03:04:42,425 - INFO - Waiting for VM ctest-vm2-test-23342001 to be up.. 2026-01-01 03:04:42,475 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-01 03:04:47,568 - DEBUG - VM is in ACTIVE state now 2026-01-01 03:04:47,568 - INFO - VM name : ctest-vm2-test-23342001 2026-01-01 03:04:47,657 - DEBUG - VM ctest-vm2-test-23342001 ID is 268359a7-9a02-4b7b-99eb-d1a3562500f1 2026-01-01 03:04:47,657 - DEBUG - VM ctest-vm2-test-23342001 launched on Node an-jenkins-deploy-platform-ansible-os-4945-2 2026-01-01 03:04:47,741 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/268359a7-9a02-4b7b-99eb-d1a3562500f1 2026-01-01 03:04:47,752 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/665c5bf8-f35e-414e-8d3d-bc625d04da53 2026-01-01 03:04:50,938 - 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-01-01 03:04:50,938 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23342001 failed! 2026-01-01 03:04:50,953 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:04:55,039 - 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-01-01 03:04:55,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23342001 failed! 2026-01-01 03:04:55,056 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:04:59,133 - 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-01-01 03:04:59,134 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23342001 failed! 2026-01-01 03:04:59,150 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:05:03,222 - 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-01-01 03:05:03,222 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23342001 failed! 2026-01-01 03:05:03,238 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:05:07,323 - 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-01-01 03:05:07,323 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23342001 failed! 2026-01-01 03:05:07,338 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:05:11,418 - 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-01-01 03:05:11,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23342001 failed! 2026-01-01 03:05:11,443 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:05:15,515 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2026-01-01 03:05:15,515 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23342001 failed! 2026-01-01 03:05:15,533 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:05:19,608 - 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-01-01 03:05:19,608 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23342001 failed! 2026-01-01 03:05:19,631 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58397994:ctest-vn1-vdns-10944490 is 10.10.10.1 and allocation pool is NOT set 2026-01-01 03:05:23,707 - 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.79 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.794/5.794/5.794/0.000 ms') 2026-01-01 03:05:23,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-23342001 passed 2026-01-01 03:05:23,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 03:05:23,781 - DEBUG - Waiting to SSH to VM ctest-vm2-test-23342001, IP 10.10.10.4, Port 22 2026-01-01 03:05:23,847 - 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-01-01 03:05:23,960 - DEBUG - VM ctest-vm2-test-23342001 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-01 03:05:28,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 03:05:28,960 - DEBUG - Waiting to SSH to VM ctest-vm2-test-23342001, IP 10.10.10.4, Port 22 2026-01-01 03:05:29,027 - 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-01-01 03:05:29,139 - DEBUG - VM ctest-vm2-test-23342001 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-01 03:05:34,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 03:05:34,140 - DEBUG - Waiting to SSH to VM ctest-vm2-test-23342001, IP 10.10.10.4, Port 22 2026-01-01 03:05:34,207 - 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-01-01 03:05:34,319 - DEBUG - VM ctest-vm2-test-23342001 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-01 03:05:39,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 03:05:39,319 - DEBUG - Waiting to SSH to VM ctest-vm2-test-23342001, IP 10.10.10.4, Port 22 2026-01-01 03:05:39,377 - 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-01-01 03:05:39,465 - DEBUG - VM ctest-vm2-test-23342001 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-01 03:05:44,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 03:05:44,466 - DEBUG - Waiting to SSH to VM ctest-vm2-test-23342001, IP 10.10.10.4, Port 22 2026-01-01 03:05:44,640 - DEBUG - VM ctest-vm2-test-23342001 is ready for SSH connections 2026-01-01 03:05:44,640 - 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-01-01 03:05:44,640 - DEBUG - ifconfig | grep 10.10.10.4 2026-01-01 03:06:02,901 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-01-01 03:06:02,901 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-23342001", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-01 03:06:02,901 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-23342001", None, socket.AF_INET6)' 2026-01-01 03:06:04,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-23342001, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-01 03:06:04,175 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-23342001 2026-01-01 03:06:06,711 - DEBUG - PING ctest-vm2-test-23342001.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-23342001.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.73 ms 64 bytes from ctest-vm2-test-23342001.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.42 ms 64 bytes from ctest-vm2-test-23342001.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.207 ms --- ctest-vm2-test-23342001.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.207/2.123/3.737/1.457 ms 2026-01-01 03:06:06,711 - INFO - Ping to IP ctest-vm2-test-23342001 from VM ctest-vm2-test-23342001 passed 2026-01-01 03:06:06,734 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-01-01 03:06:06,742 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51594558@0%20AllEntriesVdnsRecordsReq 2026-01-01 03:06:06,750 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-01-01 03:06:06,760 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51594558@0%20AllEntriesVdnsRecordsReq 2026-01-01 03:06:06,769 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-01-01 03:06:06,778 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-51594558@0%20AllEntriesVdnsRecordsReq 2026-01-01 03:06:06,785 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-51594558:1:ctest-vm2-test-23342001:10.10.10.4', 'rec_name': 'ctest-vm2-test-23342001', '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-4945-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-23342001.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-01-01 03:06:06,785 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-51594558:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-23342001', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-23342001', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4945-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-23342001.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-01-01 03:06:06,785 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-23342001", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-01 03:06:06,785 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-23342001", None, socket.AF_INET6)' 2026-01-01 03:06:07,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-23342001, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-01 03:06:07,930 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-23342001 2026-01-01 03:06:10,435 - DEBUG - PING ctest-vm2-test-23342001.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-23342001.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.47 ms 64 bytes from ctest-vm2-test-23342001.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.73 ms 64 bytes from ctest-vm2-test-23342001.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.18 ms --- ctest-vm2-test-23342001.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.184/3.798/8.477/3.316 ms 2026-01-01 03:06:10,435 - INFO - Ping to IP ctest-vm2-test-23342001 from VM ctest-vm1-test-55038921 passed 2026-01-01 03:06:10,435 - INFO - Try deleting the VDNS entry ctest-vdns1-51594558 with back ref of ipam. 2026-01-01 03:06:10,494 - DEBUG - Delete when resource still referred: ['http://10.0.0.27:8082/network-ipam/9269038e-ba67-4126-b434-d3d2a3d4328c'] 2026-01-01 03:06:10,494 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-01-01 03:06:10,494 - INFO - Add CNAME VDNS record for ctest-vm1-test-55038921 and verify we able to ping by alias name 2026-01-01 03:06:10,542 - DEBUG - Creating VDNS record data : test-rec 2026-01-01 03:06:10,670 - INFO - In verify_on_setup 2026-01-01 03:06:10,766 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-51594558', 'test-rec'] created succesfully 2026-01-01 03:06:10,766 - INFO - Verify VDNS record is shown in the API server 2026-01-01 03:06:10,766 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-01 03:06:10,774 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b5800509-dc40-4626-b491-badce4b95394 2026-01-01 03:06:10,820 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/2206f22f-019c-4c48-881c-b0e7b1f017c0 2026-01-01 03:06:10,833 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/544949e7-621a-4b78-b1d6-264df21c8b7d 2026-01-01 03:06:10,842 - INFO - Verify VDNS record is shown in the control node 2026-01-01 03:06:10,863 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-01 03:06:10,864 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-01-01 03:06:12,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-01 03:06:12,036 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-01-01 03:06:12,515 - DEBUG - ping: unknown host vm1-test-alias 2026-01-01 03:06:12,515 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-55038921 failed 2026-01-01 03:06:13,517 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-01 03:06:13,517 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-01-01 03:06:14,677 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-01 03:06:14,677 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-01-01 03:06:17,183 - DEBUG - PING ctest-vm1-test-55038921.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-55038921.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.215 ms 64 bytes from ctest-vm1-test-55038921.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.193 ms 64 bytes from ctest-vm1-test-55038921.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.189 ms --- ctest-vm1-test-55038921.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.189/0.199/0.215/0.011 ms 2026-01-01 03:06:17,183 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-55038921 passed 2026-01-01 03:06:17,183 - DEBUG - Deleting VDNS record data: test-rec 2026-01-01 03:06:17,274 - INFO - VDNS record info: default-domain:ctest-vdns1-51594558:test-rec deleted successfully. 2026-01-01 03:06:17,274 - INFO - Deleting VM ctest-vm2-test-23342001 2026-01-01 03:06:17,368 - INFO - Deleting VM ctest-vm1-test-55038921 2026-01-01 03:06:17,453 - INFO - Deleting VN ctest-vn1-vdns-10944490 2026-01-01 03:06:17,496 - DEBUG - VN 8b4cd0bd-58c5-46d7-9def-f163c253dcfc still in use: Unable to complete operation on network 8b4cd0bd-58c5-46d7-9def-f163c253dcfc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-31cdddcc-424e-4c28-9c26-91c46d604bf2'] 2026-01-01 03:06:17,496 - WARNING - Deleting VN ctest-vn1-vdns-10944490 failed..Will retry 2026-01-01 03:06:19,719 - DEBUG - Response for deleting network () 2026-01-01 03:06:19,793 - DEBUG - Deleting VDNS Entry: ctest-vdns1-51594558 2026-01-01 03:06:19,898 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-51594558'] deleted successfully. 2026-01-01 03:06:19,898 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-01 03:06:19,906 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b5800509-dc40-4626-b491-badce4b95394 2026-01-01 03:06:19,922 - DEBUG - VDNS information not found in API server 2026-01-01 03:06:19,922 - INFO - VDNS information ctest-vdns1-51594558 removed from the API Server 2026-01-01 03:06:19,929 - INFO - VDNS information ctest-vdns1-51594558 removed in the Control node 2026-01-01 03:06:19,930 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-58397994'] 2026-01-01 03:06:21,226 - DEBUG - No XMPP flaps were noticed during the test 2026-01-01 03:06:21,226 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:05] 2026-01-01 03:06:21,226 - INFO - -------------------------------------------------------------------------------- 2026-01-01 03:06:22,108 - INFO - Deleted project: ctest-TestvDNSBasic0-58397994, ID : 17065b73-1d86-4408-910c-95977f32056e