2026-01-19 03:12:20,338 - INFO - Domain Default found not creating
2026-01-19 03:12:20,542 - INFO - Project ctest-TestvDNSBasic0-61173152 not found, creating it
2026-01-19 03:12:21,178 - INFO - Created Project:ctest-TestvDNSBasic0-61173152, ID : a8f0638e-0156-4ffd-affc-94e43eab109e
2026-01-19 03:12:23,116 - INFO - ================================================================================
2026-01-19 03:12:23,116 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-01-19 03:12:23,116 - 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-19 03:12:24,413 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.65': {'10.20.0.17': '0', '10.20.0.25': '0'}} with
2026-01-19 03:12:24,413 - INFO - Initial checks done. Running the testcase now
2026-01-19 03:12:24,413 - INFO -
2026-01-19 03:12:25,173 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-61173152'](a8f0638e-0156-4ffd-affc-94e43eab109e)
2026-01-19 03:12:25,231 - DEBUG - Creating VDNS : ctest-vdns1-44688385
2026-01-19 03:12:25,455 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-44688385'] created succesfully
2026-01-19 03:12:25,455 - DEBUG - Verify VDNS entry is shown in control node
2026-01-19 03:12:25,472 - DEBUG - Verify VDNS entry is shown in the API server
2026-01-19 03:12:25,472 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-19 03:12:25,767 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-19 03:12:25,802 - DEBUG - Requesting: http://10.0.0.27:8082/domain/bc123c74-c45e-4d7a-a955-76f59d7a4cc7
2026-01-19 03:12:25,819 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/7e67bbff-4e89-4ad1-9995-ee7cc2d36f75
2026-01-19 03:12:26,556 - DEBUG - Response for create_network : {'network': {'id': 'd1f702f4-4923-4b39-bdab-15eb0b25fc91', 'name': 'ctest-vn1-vdns-53517922', 'tenant_id': 'a8f0638e01564ffdaffc94e43eab109e', 'project_id': 'a8f0638e01564ffdaffc94e43eab109e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-61173152', 'ctest-vn1-vdns-53517922'], 'port_security_enabled': True, 'description': ''}}
2026-01-19 03:12:26,865 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd6d9132-0981-4e67-868f-ff17aa961cb5', 'name': '', 'tenant_id': 'a8f0638e01564ffdaffc94e43eab109e', 'network_id': 'd1f702f4-4923-4b39-bdab-15eb0b25fc91', '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': 'a8f0638e01564ffdaffc94e43eab109e'}}
2026-01-19 03:12:26,903 - INFO - Created VN ctest-vn1-vdns-53517922
2026-01-19 03:12:26,943 - DEBUG - VN ctest-vn1-vdns-53517922 UUID is d1f702f4-4923-4b39-bdab-15eb0b25fc91
2026-01-19 03:12:27,287 - DEBUG - Services list from nova: [, , , ]
2026-01-19 03:12:28,341 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5040-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5040-1)
2026-01-19 03:12:28,342 - INFO - Waiting for VM ctest-vm1-test-40235057 to be up..
2026-01-19 03:12:28,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-19 03:12:33,473 - DEBUG - VM is in ACTIVE state now
2026-01-19 03:12:33,473 - INFO - VM name : ctest-vm1-test-40235057
2026-01-19 03:12:33,568 - DEBUG - VM ctest-vm1-test-40235057 ID is 932492e2-40bf-4a53-ae8d-a5b707e49e2b
2026-01-19 03:12:33,569 - DEBUG - VM ctest-vm1-test-40235057 launched on Node an-jenkins-deploy-platform-ansible-os-5040-1
2026-01-19 03:12:33,664 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/932492e2-40bf-4a53-ae8d-a5b707e49e2b
2026-01-19 03:12:33,975 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/932492e2-40bf-4a53-ae8d-a5b707e49e2b
2026-01-19 03:12:34,017 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/67b9d3a6-0817-40f9-9bcb-2c93c76982b6
2026-01-19 03:12:37,219 - 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 1033ms')
2026-01-19 03:12:37,219 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40235057 failed!
2026-01-19 03:12:37,233 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:12:41,319 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms')
2026-01-19 03:12:41,319 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40235057 failed!
2026-01-19 03:12:41,335 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:12:45,420 - 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-01-19 03:12:45,420 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40235057 failed!
2026-01-19 03:12:45,434 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:12:49,509 - 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-01-19 03:12:49,509 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40235057 failed!
2026-01-19 03:12:49,525 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:12:53,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 1019ms')
2026-01-19 03:12:53,608 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40235057 failed!
2026-01-19 03:12:53,626 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:12:57,698 - 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-01-19 03:12:57,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40235057 failed!
2026-01-19 03:12:57,714 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:13:01,801 - 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-01-19 03:13:01,801 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40235057 failed!
2026-01-19 03:13:01,815 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:13:05,896 - 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-01-19 03:13:05,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40235057 failed!
2026-01-19 03:13:05,912 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:13:07,975 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=14.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.669 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.669/7.312/13.955/6.643 ms')
2026-01-19 03:13:07,975 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-40235057 passed
2026-01-19 03:13:08,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 03:13:08,043 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40235057, IP 10.10.10.3, Port 22
2026-01-19 03:13:08,109 - 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-19 03:13:08,211 - DEBUG - VM ctest-vm1-test-40235057 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-19 03:13:13,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 03:13:13,211 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40235057, IP 10.10.10.3, Port 22
2026-01-19 03:13:13,266 - 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-19 03:13:13,361 - DEBUG - VM ctest-vm1-test-40235057 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-19 03:13:18,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 03:13:18,363 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40235057, IP 10.10.10.3, Port 22
2026-01-19 03:13:18,429 - 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-19 03:13:18,516 - DEBUG - VM ctest-vm1-test-40235057 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-19 03:13:23,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 03:13:23,517 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40235057, IP 10.10.10.3, Port 22
2026-01-19 03:13:23,574 - 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-19 03:13:23,656 - DEBUG - VM ctest-vm1-test-40235057 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-19 03:13:28,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 03:13:28,657 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40235057, IP 10.10.10.3, Port 22
2026-01-19 03:13:28,824 - DEBUG - VM ctest-vm1-test-40235057 is ready for SSH connections
2026-01-19 03:13:28,824 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-01-19 03:13:28,824 - DEBUG - ifconfig | grep 10.10.10.3
2026-01-19 03:13:47,501 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-01-19 03:13:47,501 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-40235057", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-01-19 03:13:47,501 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-40235057", None, socket.AF_INET6)'
2026-01-19 03:13:48,840 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-40235057, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-01-19 03:13:48,840 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-40235057
2026-01-19 03:13:51,385 - DEBUG - PING ctest-vm1-test-40235057.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-40235057.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.30 ms
64 bytes from ctest-vm1-test-40235057.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.232 ms
64 bytes from ctest-vm1-test-40235057.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.356 ms
--- ctest-vm1-test-40235057.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.232/1.630/4.303/1.890 ms
2026-01-19 03:13:51,385 - INFO - Ping to IP ctest-vm1-test-40235057 from VM ctest-vm1-test-40235057 passed
2026-01-19 03:13:51,415 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-19 03:13:51,421 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44688385@0%20AllEntriesVdnsRecordsReq
2026-01-19 03:13:51,431 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-19 03:13:51,439 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44688385@0%20AllEntriesVdnsRecordsReq
2026-01-19 03:13:51,445 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-19 03:13:51,450 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44688385@0%20AllEntriesVdnsRecordsReq
2026-01-19 03:13:51,455 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-44688385:1:ctest-vm1-test-40235057:10.10.10.3', 'rec_name': 'ctest-vm1-test-40235057', '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-5040-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-40235057.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-01-19 03:13:51,455 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-44688385:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-40235057', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-40235057', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5040-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-40235057.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-19 03:13:52,778 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5040-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5040-2)
2026-01-19 03:13:52,779 - INFO - Waiting for VM ctest-vm2-test-53490588 to be up..
2026-01-19 03:13:52,839 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-19 03:13:57,928 - DEBUG - VM is in ACTIVE state now
2026-01-19 03:13:57,928 - INFO - VM name : ctest-vm2-test-53490588
2026-01-19 03:13:58,025 - DEBUG - VM ctest-vm2-test-53490588 ID is 2651619a-cc21-42f0-a160-e1dfd98fecda
2026-01-19 03:13:58,025 - DEBUG - VM ctest-vm2-test-53490588 launched on Node an-jenkins-deploy-platform-ansible-os-5040-2
2026-01-19 03:13:58,122 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2651619a-cc21-42f0-a160-e1dfd98fecda
2026-01-19 03:13:58,132 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5bfe4a9c-1e13-4409-9ff9-3c6c11f83505
2026-01-19 03:14:01,306 - 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-01-19 03:14:01,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53490588 failed!
2026-01-19 03:14:01,323 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:14:05,402 - 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-01-19 03:14:05,402 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53490588 failed!
2026-01-19 03:14:05,417 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:14:09,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 1015ms')
2026-01-19 03:14:09,496 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53490588 failed!
2026-01-19 03:14:09,511 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:14:13,593 - 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-19 03:14:13,593 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53490588 failed!
2026-01-19 03:14:13,609 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:14:17,691 - 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-19 03:14:17,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53490588 failed!
2026-01-19 03:14:17,706 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:14:21,786 - 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-01-19 03:14:21,787 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53490588 failed!
2026-01-19 03:14:21,801 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:14:25,879 - 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-01-19 03:14:25,879 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53490588 failed!
2026-01-19 03:14:25,894 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-61173152:ctest-vn1-vdns-53517922 is 10.10.10.1 and allocation pool is NOT set
2026-01-19 03:14:29,974 - 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=10.9 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 10.883/10.883/10.883/0.000 ms')
2026-01-19 03:14:29,974 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53490588 passed
2026-01-19 03:14:30,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 03:14:30,043 - DEBUG - Waiting to SSH to VM ctest-vm2-test-53490588, IP 10.10.10.4, Port 22
2026-01-19 03:14:30,110 - 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-19 03:14:30,195 - DEBUG - VM ctest-vm2-test-53490588 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-19 03:14:35,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 03:14:35,195 - DEBUG - Waiting to SSH to VM ctest-vm2-test-53490588, IP 10.10.10.4, Port 22
2026-01-19 03:14:35,264 - 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-19 03:14:35,357 - DEBUG - VM ctest-vm2-test-53490588 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-19 03:14:40,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 03:14:40,358 - DEBUG - Waiting to SSH to VM ctest-vm2-test-53490588, IP 10.10.10.4, Port 22
2026-01-19 03:14:40,419 - 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-19 03:14:40,508 - DEBUG - VM ctest-vm2-test-53490588 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-19 03:14:45,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 03:14:45,508 - DEBUG - Waiting to SSH to VM ctest-vm2-test-53490588, IP 10.10.10.4, Port 22
2026-01-19 03:14:45,574 - 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-19 03:14:45,667 - DEBUG - VM ctest-vm2-test-53490588 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-19 03:14:50,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 03:14:50,668 - DEBUG - Waiting to SSH to VM ctest-vm2-test-53490588, IP 10.10.10.4, Port 22
2026-01-19 03:14:50,838 - DEBUG - VM ctest-vm2-test-53490588 is ready for SSH connections
2026-01-19 03:14:50,838 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-19 03:14:50,838 - DEBUG - ifconfig | grep 10.10.10.4
2026-01-19 03:15:07,513 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-01-19 03:15:07,513 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-53490588", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-19 03:15:07,513 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-53490588", None, socket.AF_INET6)'
2026-01-19 03:15:08,685 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-53490588, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-19 03:15:08,685 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-53490588
2026-01-19 03:15:11,185 - DEBUG - PING ctest-vm2-test-53490588.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-53490588.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.52 ms
64 bytes from ctest-vm2-test-53490588.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.260 ms
64 bytes from ctest-vm2-test-53490588.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.228 ms
--- ctest-vm2-test-53490588.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.228/1.338/3.528/1.548 ms
2026-01-19 03:15:11,185 - INFO - Ping to IP ctest-vm2-test-53490588 from VM ctest-vm2-test-53490588 passed
2026-01-19 03:15:11,208 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-19 03:15:11,214 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44688385@0%20AllEntriesVdnsRecordsReq
2026-01-19 03:15:11,221 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-19 03:15:11,226 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44688385@0%20AllEntriesVdnsRecordsReq
2026-01-19 03:15:11,232 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-19 03:15:11,238 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-44688385@0%20AllEntriesVdnsRecordsReq
2026-01-19 03:15:11,244 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-44688385:1:ctest-vm2-test-53490588:10.10.10.4', 'rec_name': 'ctest-vm2-test-53490588', '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-5040-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-53490588.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-01-19 03:15:11,244 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-44688385:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-53490588', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-53490588', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5040-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-53490588.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-19 03:15:11,244 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-53490588", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-01-19 03:15:11,244 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-53490588", None, socket.AF_INET6)'
2026-01-19 03:15:12,355 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-53490588, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-01-19 03:15:12,355 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-53490588
2026-01-19 03:15:14,870 - DEBUG - PING ctest-vm2-test-53490588.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-53490588.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.82 ms
64 bytes from ctest-vm2-test-53490588.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.29 ms
64 bytes from ctest-vm2-test-53490588.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.71 ms
--- ctest-vm2-test-53490588.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.299/3.614/7.826/2.983 ms
2026-01-19 03:15:14,870 - INFO - Ping to IP ctest-vm2-test-53490588 from VM ctest-vm1-test-40235057 passed
2026-01-19 03:15:14,870 - INFO - Try deleting the VDNS entry ctest-vdns1-44688385 with back ref of ipam.
2026-01-19 03:15:14,931 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/6a12de7d-33f0-4f54-93e2-37fe0400e497']
2026-01-19 03:15:14,931 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-01-19 03:15:14,931 - INFO - Add CNAME VDNS record for ctest-vm1-test-40235057 and verify we able to ping by alias name
2026-01-19 03:15:14,979 - DEBUG - Creating VDNS record data : test-rec
2026-01-19 03:15:15,111 - INFO - In verify_on_setup
2026-01-19 03:15:15,207 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-44688385', 'test-rec'] created succesfully
2026-01-19 03:15:15,207 - INFO - Verify VDNS record is shown in the API server
2026-01-19 03:15:15,207 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-19 03:15:15,215 - DEBUG - Requesting: http://10.0.0.27:8082/domain/bc123c74-c45e-4d7a-a955-76f59d7a4cc7
2026-01-19 03:15:15,255 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/7e67bbff-4e89-4ad1-9995-ee7cc2d36f75
2026-01-19 03:15:15,266 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/27007027-ef3c-429d-a30c-1b9afbd0deaa
2026-01-19 03:15:15,275 - INFO - Verify VDNS record is shown in the control node
2026-01-19 03:15:15,291 - 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.249, gateway password: c0ntrail123
2026-01-19 03:15:15,291 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-01-19 03:15:16,479 - 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.249, gateway password: c0ntrail123
2026-01-19 03:15:16,479 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-01-19 03:15:16,994 - DEBUG - ping: unknown host vm1-test-alias
2026-01-19 03:15:16,994 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-40235057 failed
2026-01-19 03:15:17,995 - 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.249, gateway password: c0ntrail123
2026-01-19 03:15:17,995 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-01-19 03:15:19,166 - 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.249, gateway password: c0ntrail123
2026-01-19 03:15:19,166 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-01-19 03:15:21,704 - DEBUG - PING ctest-vm1-test-40235057.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-40235057.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.50 ms
64 bytes from ctest-vm1-test-40235057.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.260 ms
64 bytes from ctest-vm1-test-40235057.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.238 ms
--- ctest-vm1-test-40235057.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.238/1.001/2.506/1.064 ms
2026-01-19 03:15:21,705 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-40235057 passed
2026-01-19 03:15:21,705 - DEBUG - Deleting VDNS record data: test-rec
2026-01-19 03:15:21,795 - INFO - VDNS record info: default-domain:ctest-vdns1-44688385:test-rec deleted successfully.
2026-01-19 03:15:21,795 - INFO - Deleting VM ctest-vm2-test-53490588
2026-01-19 03:15:21,868 - INFO - Deleting VM ctest-vm1-test-40235057
2026-01-19 03:15:21,953 - INFO - Deleting VN ctest-vn1-vdns-53517922
2026-01-19 03:15:21,995 - DEBUG - VN d1f702f4-4923-4b39-bdab-15eb0b25fc91 still in use: Unable to complete operation on network d1f702f4-4923-4b39-bdab-15eb0b25fc91. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-44a6c931-4020-4575-a8f8-652ad76e480e']
2026-01-19 03:15:21,995 - WARNING - Deleting VN ctest-vn1-vdns-53517922 failed..Will retry
2026-01-19 03:15:24,252 - DEBUG - Response for deleting network ()
2026-01-19 03:15:24,304 - DEBUG - Deleting VDNS Entry: ctest-vdns1-44688385
2026-01-19 03:15:24,419 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-44688385'] deleted successfully.
2026-01-19 03:15:24,420 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-19 03:15:24,426 - DEBUG - Requesting: http://10.0.0.27:8082/domain/bc123c74-c45e-4d7a-a955-76f59d7a4cc7
2026-01-19 03:15:24,440 - DEBUG - VDNS information not found in API server
2026-01-19 03:15:24,440 - INFO - VDNS information ctest-vdns1-44688385 removed from the API Server
2026-01-19 03:15:24,446 - INFO - VDNS information ctest-vdns1-44688385 removed in the Control node
2026-01-19 03:15:24,446 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-61173152']
2026-01-19 03:15:25,772 - DEBUG - No XMPP flaps were noticed during the test
2026-01-19 03:15:25,772 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:02]
2026-01-19 03:15:25,772 - INFO - --------------------------------------------------------------------------------
2026-01-19 03:15:26,570 - INFO - Deleted project: ctest-TestvDNSBasic0-61173152, ID : a8f0638e-0156-4ffd-affc-94e43eab109e