2026-03-16 03:09:43,311 - INFO - Domain Default found not creating
2026-03-16 03:09:43,488 - INFO - Project ctest-TestvDNSBasic0-45087911 not found, creating it
2026-03-16 03:09:44,127 - INFO - Created Project:ctest-TestvDNSBasic0-45087911, ID : be1f59ae-6cbd-4a6a-a7df-a8fa28d14c8e
2026-03-16 03:09:45,907 - INFO - ================================================================================
2026-03-16 03:09:45,907 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-03-16 03:09:45,908 - INFO - TEST DESCRIPTION :
Test:- Test vdns functionality. On VM launch agent should dynamically update dns records to dns agent
1. Create vDNS server
2. Create IPAM using above vDNS data
3. Create VN using above IPAM and launch 2 VM's within it
4. Ping between these 2 VM's using dns name
5. Try to delete vDNS server which has IPAM back-reference[Negative case]
6. Add CNAME VDNS record for vm1-test and verify we able to ping by alias name
Pass criteria: Step 4,5 and 6 should pass
Maintainer: cf-test@juniper.net
2026-03-16 03:09:47,218 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.240': {'10.20.0.193': '0', '10.20.0.129': '0'}} with
2026-03-16 03:09:47,218 - INFO - Initial checks done. Running the testcase now
2026-03-16 03:09:47,218 - INFO -
2026-03-16 03:09:47,989 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-45087911'](be1f59ae-6cbd-4a6a-a7df-a8fa28d14c8e)
2026-03-16 03:09:48,049 - DEBUG - Creating VDNS : ctest-vdns1-05059082
2026-03-16 03:09:48,278 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-05059082'] created succesfully
2026-03-16 03:09:48,278 - DEBUG - Verify VDNS entry is shown in control node
2026-03-16 03:09:48,309 - DEBUG - Verify VDNS entry is shown in the API server
2026-03-16 03:09:48,309 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-16 03:09:48,631 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-16 03:09:48,665 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1af4696-a589-4518-a8ed-3c39c5e9266b
2026-03-16 03:09:48,684 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/65246e9a-25ee-4d91-ac17-39b3fb864336
2026-03-16 03:09:49,452 - DEBUG - Response for create_network : {'network': {'id': 'a83fd5d4-a573-45cd-9c6e-f96a16cb1c47', 'name': 'ctest-vn1-vdns-54097810', 'tenant_id': 'be1f59ae6cbd4a6aa7dfa8fa28d14c8e', 'project_id': 'be1f59ae6cbd4a6aa7dfa8fa28d14c8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-45087911', 'ctest-vn1-vdns-54097810'], 'port_security_enabled': True, 'description': ''}}
2026-03-16 03:09:49,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c8da1f5-272b-4b5c-85b3-c2ca25b24ea0', 'name': '', 'tenant_id': 'be1f59ae6cbd4a6aa7dfa8fa28d14c8e', 'network_id': 'a83fd5d4-a573-45cd-9c6e-f96a16cb1c47', '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': 'be1f59ae6cbd4a6aa7dfa8fa28d14c8e'}}
2026-03-16 03:09:49,776 - INFO - Created VN ctest-vn1-vdns-54097810
2026-03-16 03:09:49,795 - DEBUG - VN ctest-vn1-vdns-54097810 UUID is a83fd5d4-a573-45cd-9c6e-f96a16cb1c47
2026-03-16 03:09:50,010 - DEBUG - Services list from nova: [, , , ]
2026-03-16 03:09:51,161 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5469-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5469-1)
2026-03-16 03:09:51,162 - INFO - Waiting for VM ctest-vm1-test-15047094 to be up..
2026-03-16 03:09:51,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-16 03:09:56,317 - DEBUG - VM is in ACTIVE state now
2026-03-16 03:09:56,318 - INFO - VM name : ctest-vm1-test-15047094
2026-03-16 03:09:56,419 - DEBUG - VM ctest-vm1-test-15047094 ID is 30d78748-f08a-4ad8-9024-0130ee11e5df
2026-03-16 03:09:56,419 - DEBUG - VM ctest-vm1-test-15047094 launched on Node an-jenkins-deploy-platform-ansible-os-5469-1
2026-03-16 03:09:56,516 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/30d78748-f08a-4ad8-9024-0130ee11e5df
2026-03-16 03:09:56,841 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/30d78748-f08a-4ad8-9024-0130ee11e5df
2026-03-16 03:09:56,889 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/318a58ae-4289-4eb5-8760-fe289dad1ebb
2026-03-16 03:10:00,078 - 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 1021ms')
2026-03-16 03:10:00,078 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15047094 failed!
2026-03-16 03:10:00,096 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:10:04,170 - 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-03-16 03:10:04,170 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15047094 failed!
2026-03-16 03:10:04,188 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:10:08,268 - 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-03-16 03:10:08,268 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15047094 failed!
2026-03-16 03:10:08,285 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:10:12,368 - 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-03-16 03:10:12,368 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15047094 failed!
2026-03-16 03:10:12,384 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:10:16,460 - 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-03-16 03:10:16,460 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15047094 failed!
2026-03-16 03:10:16,477 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:10:20,558 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-03-16 03:10:20,558 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15047094 failed!
2026-03-16 03:10:20,575 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:10:24,651 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-03-16 03:10:24,652 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15047094 failed!
2026-03-16 03:10:24,670 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:10:28,743 - 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-03-16 03:10:28,743 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15047094 failed!
2026-03-16 03:10:28,760 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:10:32,846 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-03-16 03:10:32,846 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15047094 failed!
2026-03-16 03:10:32,863 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:10:34,930 - 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=5.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.884 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.884/3.300/5.716/2.416 ms')
2026-03-16 03:10:34,930 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-15047094 passed
2026-03-16 03:10:35,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 03:10:35,003 - DEBUG - Waiting to SSH to VM ctest-vm1-test-15047094, IP 10.10.10.3, Port 22
2026-03-16 03:10:35,072 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-16 03:10:35,172 - DEBUG - VM ctest-vm1-test-15047094 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-16 03:10:40,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 03:10:40,173 - DEBUG - Waiting to SSH to VM ctest-vm1-test-15047094, IP 10.10.10.3, Port 22
2026-03-16 03:10:40,229 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-16 03:10:40,335 - DEBUG - VM ctest-vm1-test-15047094 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-16 03:10:45,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 03:10:45,336 - DEBUG - Waiting to SSH to VM ctest-vm1-test-15047094, IP 10.10.10.3, Port 22
2026-03-16 03:10:45,402 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-16 03:10:45,515 - DEBUG - VM ctest-vm1-test-15047094 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-16 03:10:50,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 03:10:50,516 - DEBUG - Waiting to SSH to VM ctest-vm1-test-15047094, IP 10.10.10.3, Port 22
2026-03-16 03:10:50,583 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-16 03:10:50,695 - DEBUG - VM ctest-vm1-test-15047094 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-16 03:10:55,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 03:10:55,696 - DEBUG - Waiting to SSH to VM ctest-vm1-test-15047094, IP 10.10.10.3, Port 22
2026-03-16 03:10:55,866 - DEBUG - VM ctest-vm1-test-15047094 is ready for SSH connections
2026-03-16 03:10:55,867 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-16 03:10:55,867 - DEBUG - ifconfig | grep 10.10.10.3
2026-03-16 03:11:16,600 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-03-16 03:11:16,600 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-15047094", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-16 03:11:16,601 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-15047094", None, socket.AF_INET6)'
2026-03-16 03:11:18,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-15047094, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-16 03:11:18,799 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-15047094
2026-03-16 03:11:21,404 - DEBUG - PING ctest-vm1-test-15047094.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-15047094.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.31 ms
64 bytes from ctest-vm1-test-15047094.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.261 ms
64 bytes from ctest-vm1-test-15047094.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.178 ms
--- ctest-vm1-test-15047094.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.178/1.584/4.313/1.929 ms
2026-03-16 03:11:21,404 - INFO - Ping to IP ctest-vm1-test-15047094 from VM ctest-vm1-test-15047094 passed
2026-03-16 03:11:21,432 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-16 03:11:21,438 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05059082@0%20AllEntriesVdnsRecordsReq
2026-03-16 03:11:21,445 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-16 03:11:21,450 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05059082@0%20AllEntriesVdnsRecordsReq
2026-03-16 03:11:21,455 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-16 03:11:21,460 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05059082@0%20AllEntriesVdnsRecordsReq
2026-03-16 03:11:21,465 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-05059082:1:ctest-vm1-test-15047094:10.10.10.3', 'rec_name': 'ctest-vm1-test-15047094', '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-5469-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-15047094.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-03-16 03:11:21,465 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-05059082:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-15047094', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-15047094', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5469-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-15047094.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '3.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'}
2026-03-16 03:11:22,868 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5469-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5469-2)
2026-03-16 03:11:22,869 - INFO - Waiting for VM ctest-vm2-test-14716793 to be up..
2026-03-16 03:11:22,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-16 03:11:28,015 - DEBUG - VM is in ACTIVE state now
2026-03-16 03:11:28,015 - INFO - VM name : ctest-vm2-test-14716793
2026-03-16 03:11:28,117 - DEBUG - VM ctest-vm2-test-14716793 ID is 92feb633-e1ec-4a3f-a96b-a46a0d588b56
2026-03-16 03:11:28,117 - DEBUG - VM ctest-vm2-test-14716793 launched on Node an-jenkins-deploy-platform-ansible-os-5469-2
2026-03-16 03:11:28,200 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/92feb633-e1ec-4a3f-a96b-a46a0d588b56
2026-03-16 03:11:28,215 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/2d400384-2156-41bf-94d8-a831655dba40
2026-03-16 03:11:31,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 1019ms')
2026-03-16 03:11:31,402 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-14716793 failed!
2026-03-16 03:11:31,418 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:11:35,500 - 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-03-16 03:11:35,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-14716793 failed!
2026-03-16 03:11:35,519 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:11:39,596 - 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-03-16 03:11:39,596 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-14716793 failed!
2026-03-16 03:11:39,615 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:11:43,685 - 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-03-16 03:11:43,685 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-14716793 failed!
2026-03-16 03:11:43,702 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:11:47,788 - 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-03-16 03:11:47,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-14716793 failed!
2026-03-16 03:11:47,806 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:11:51,881 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-03-16 03:11:51,881 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-14716793 failed!
2026-03-16 03:11:51,897 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:11:55,980 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms')
2026-03-16 03:11:55,981 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-14716793 failed!
2026-03-16 03:11:55,999 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:12:00,072 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2026-03-16 03:12:00,072 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-14716793 failed!
2026-03-16 03:12:00,093 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45087911:ctest-vn1-vdns-54097810 is 10.10.10.1 and allocation pool is NOT set
2026-03-16 03:12:02,160 - 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=8.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=7.73 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 7.734/8.268/8.802/0.534 ms')
2026-03-16 03:12:02,160 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-14716793 passed
2026-03-16 03:12:02,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 03:12:02,236 - DEBUG - Waiting to SSH to VM ctest-vm2-test-14716793, IP 10.10.10.4, Port 22
2026-03-16 03:12:02,304 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-16 03:12:02,454 - DEBUG - VM ctest-vm2-test-14716793 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-16 03:12:07,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 03:12:07,455 - DEBUG - Waiting to SSH to VM ctest-vm2-test-14716793, IP 10.10.10.4, Port 22
2026-03-16 03:12:07,510 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-16 03:12:07,617 - DEBUG - VM ctest-vm2-test-14716793 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-16 03:12:12,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 03:12:12,618 - DEBUG - Waiting to SSH to VM ctest-vm2-test-14716793, IP 10.10.10.4, Port 22
2026-03-16 03:12:12,674 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-16 03:12:12,781 - DEBUG - VM ctest-vm2-test-14716793 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-16 03:12:17,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 03:12:17,782 - DEBUG - Waiting to SSH to VM ctest-vm2-test-14716793, IP 10.10.10.4, Port 22
2026-03-16 03:12:17,838 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-16 03:12:17,941 - DEBUG - VM ctest-vm2-test-14716793 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-16 03:12:22,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-16 03:12:22,942 - DEBUG - Waiting to SSH to VM ctest-vm2-test-14716793, IP 10.10.10.4, Port 22
2026-03-16 03:12:23,113 - DEBUG - VM ctest-vm2-test-14716793 is ready for SSH connections
2026-03-16 03:12:23,114 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-03-16 03:12:23,114 - DEBUG - ifconfig | grep 10.10.10.4
2026-03-16 03:12:44,092 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-03-16 03:12:44,092 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-14716793", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-03-16 03:12:44,092 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-14716793", None, socket.AF_INET6)'
2026-03-16 03:12:46,793 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-14716793, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-03-16 03:12:46,793 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-14716793
2026-03-16 03:12:49,572 - DEBUG - PING ctest-vm2-test-14716793.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-14716793.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.92 ms
64 bytes from ctest-vm2-test-14716793.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.40 ms
64 bytes from ctest-vm2-test-14716793.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.211 ms
--- ctest-vm2-test-14716793.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.211/2.515/4.927/1.927 ms
2026-03-16 03:12:49,572 - INFO - Ping to IP ctest-vm2-test-14716793 from VM ctest-vm2-test-14716793 passed
2026-03-16 03:12:49,603 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-16 03:12:49,613 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05059082@0%20AllEntriesVdnsRecordsReq
2026-03-16 03:12:49,619 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-16 03:12:49,624 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05059082@0%20AllEntriesVdnsRecordsReq
2026-03-16 03:12:49,630 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-16 03:12:49,636 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05059082@0%20AllEntriesVdnsRecordsReq
2026-03-16 03:12:49,643 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-05059082:1:ctest-vm2-test-14716793:10.10.10.4', 'rec_name': 'ctest-vm2-test-14716793', '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-5469-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-14716793.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-03-16 03:12:49,643 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-05059082:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-14716793', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-14716793', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5469-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-14716793.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '4.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'}
2026-03-16 03:12:49,643 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-14716793", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-16 03:12:49,643 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-14716793", None, socket.AF_INET6)'
2026-03-16 03:12:50,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-14716793, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2026-03-16 03:12:50,861 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-14716793
2026-03-16 03:12:53,470 - DEBUG - PING ctest-vm2-test-14716793.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-14716793.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.55 ms
64 bytes from ctest-vm2-test-14716793.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.37 ms
64 bytes from ctest-vm2-test-14716793.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.31 ms
--- ctest-vm2-test-14716793.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.312/3.747/8.555/3.399 ms
2026-03-16 03:12:53,471 - INFO - Ping to IP ctest-vm2-test-14716793 from VM ctest-vm1-test-15047094 passed
2026-03-16 03:12:53,471 - INFO - Try deleting the VDNS entry ctest-vdns1-05059082 with back ref of ipam.
2026-03-16 03:12:53,534 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/21565de5-e08f-48fb-b4ef-5a58817b407a']
2026-03-16 03:12:53,534 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-03-16 03:12:53,534 - INFO - Add CNAME VDNS record for ctest-vm1-test-15047094 and verify we able to ping by alias name
2026-03-16 03:12:53,585 - DEBUG - Creating VDNS record data : test-rec
2026-03-16 03:12:53,715 - INFO - In verify_on_setup
2026-03-16 03:12:53,814 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-05059082', 'test-rec'] created succesfully
2026-03-16 03:12:53,814 - INFO - Verify VDNS record is shown in the API server
2026-03-16 03:12:53,814 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-16 03:12:53,822 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1af4696-a589-4518-a8ed-3c39c5e9266b
2026-03-16 03:12:53,838 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/65246e9a-25ee-4d91-ac17-39b3fb864336
2026-03-16 03:12:53,851 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/5eb6eda8-3a8d-4380-b745-3053b006cbea
2026-03-16 03:12:53,873 - INFO - Verify VDNS record is shown in the control node
2026-03-16 03:12:53,891 - 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.41, gateway password: c0ntrail123
2026-03-16 03:12:53,892 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-03-16 03:12:55,224 - 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.41, gateway password: c0ntrail123
2026-03-16 03:12:55,224 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-03-16 03:12:55,761 - DEBUG - ping: unknown host vm1-test-alias
2026-03-16 03:12:55,761 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-15047094 failed
2026-03-16 03:12:56,762 - 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.41, gateway password: c0ntrail123
2026-03-16 03:12:56,763 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-03-16 03:12:58,098 - 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.41, gateway password: c0ntrail123
2026-03-16 03:12:58,098 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-03-16 03:13:00,647 - DEBUG - PING ctest-vm1-test-15047094.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-15047094.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.244 ms
64 bytes from ctest-vm1-test-15047094.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.74 ms
64 bytes from ctest-vm1-test-15047094.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.293 ms
--- ctest-vm1-test-15047094.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.244/1.095/2.748/1.169 ms
2026-03-16 03:13:00,647 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-15047094 passed
2026-03-16 03:13:00,647 - DEBUG - Deleting VDNS record data: test-rec
2026-03-16 03:13:00,733 - INFO - VDNS record info: default-domain:ctest-vdns1-05059082:test-rec deleted successfully.
2026-03-16 03:13:00,733 - INFO - Deleting VM ctest-vm2-test-14716793
2026-03-16 03:13:00,824 - INFO - Deleting VM ctest-vm1-test-15047094
2026-03-16 03:13:00,933 - INFO - Deleting VN ctest-vn1-vdns-54097810
2026-03-16 03:13:00,982 - DEBUG - VN a83fd5d4-a573-45cd-9c6e-f96a16cb1c47 still in use: Unable to complete operation on network a83fd5d4-a573-45cd-9c6e-f96a16cb1c47. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-97841dee-3f0e-44b1-a619-0cacb34f4115']
2026-03-16 03:13:00,983 - WARNING - Deleting VN ctest-vn1-vdns-54097810 failed..Will retry
2026-03-16 03:13:03,179 - DEBUG - Response for deleting network ()
2026-03-16 03:13:03,268 - DEBUG - Deleting VDNS Entry: ctest-vdns1-05059082
2026-03-16 03:13:03,389 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-05059082'] deleted successfully.
2026-03-16 03:13:03,389 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-16 03:13:03,397 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1af4696-a589-4518-a8ed-3c39c5e9266b
2026-03-16 03:13:03,413 - DEBUG - VDNS information not found in API server
2026-03-16 03:13:03,413 - INFO - VDNS information ctest-vdns1-05059082 removed from the API Server
2026-03-16 03:13:03,418 - INFO - VDNS information ctest-vdns1-05059082 removed in the Control node
2026-03-16 03:13:03,418 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-45087911']
2026-03-16 03:13:04,702 - DEBUG - No XMPP flaps were noticed during the test
2026-03-16 03:13:04,702 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:19]
2026-03-16 03:13:04,702 - INFO - --------------------------------------------------------------------------------
2026-03-16 03:13:05,470 - INFO - Deleted project: ctest-TestvDNSBasic0-45087911, ID : be1f59ae-6cbd-4a6a-a7df-a8fa28d14c8e