2025-10-13 03:10:01,609 - INFO - Domain Default found not creating
2025-10-13 03:10:01,766 - INFO - Project ctest-TestvDNSBasic0-69831476 not found, creating it
2025-10-13 03:10:02,301 - INFO - Created Project:ctest-TestvDNSBasic0-69831476, ID : 8bbbc636-1306-4223-9884-16274bc85974
2025-10-13 03:10:03,839 - INFO - ================================================================================
2025-10-13 03:10:03,839 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-10-13 03:10:03,839 - 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
2025-10-13 03:10:05,131 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.27': {'10.20.0.18': '0', '10.20.0.129': '0'}} with
2025-10-13 03:10:05,131 - INFO - Initial checks done. Running the testcase now
2025-10-13 03:10:05,131 - INFO -
2025-10-13 03:10:05,856 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-69831476'](8bbbc636-1306-4223-9884-16274bc85974)
2025-10-13 03:10:05,916 - DEBUG - Creating VDNS : ctest-vdns1-05517164
2025-10-13 03:10:06,156 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-05517164'] created succesfully
2025-10-13 03:10:06,156 - DEBUG - Verify VDNS entry is shown in control node
2025-10-13 03:10:06,176 - DEBUG - Verify VDNS entry is shown in the API server
2025-10-13 03:10:06,176 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-13 03:10:06,472 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-13 03:10:06,509 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3f9f083c-1111-458a-a630-ac922d5b730c
2025-10-13 03:10:06,527 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/eb3b5439-7a6a-4808-b069-2f25a3d502f1
2025-10-13 03:10:07,251 - DEBUG - Response for create_network : {'network': {'id': 'b0cdf56e-101b-42d3-9853-c38b11445712', 'name': 'ctest-vn1-vdns-79920530', 'tenant_id': '8bbbc63613064223988416274bc85974', 'project_id': '8bbbc63613064223988416274bc85974', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-69831476', 'ctest-vn1-vdns-79920530'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 03:10:07,480 - DEBUG - Response for create_subnet : {'subnet': {'id': '11964b31-3b4b-4c1c-88e4-50a95c91f23f', 'name': '', 'tenant_id': '8bbbc63613064223988416274bc85974', 'network_id': 'b0cdf56e-101b-42d3-9853-c38b11445712', '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': '8bbbc63613064223988416274bc85974'}}
2025-10-13 03:10:07,503 - INFO - Created VN ctest-vn1-vdns-79920530
2025-10-13 03:10:07,519 - DEBUG - VN ctest-vn1-vdns-79920530 UUID is b0cdf56e-101b-42d3-9853-c38b11445712
2025-10-13 03:10:07,750 - DEBUG - Services list from nova: [, , , ]
2025-10-13 03:10:08,989 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4296-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4296-1)
2025-10-13 03:10:08,989 - INFO - Waiting for VM ctest-vm1-test-46541157 to be up..
2025-10-13 03:10:09,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-13 03:10:14,114 - DEBUG - VM is in ACTIVE state now
2025-10-13 03:10:14,114 - INFO - VM name : ctest-vm1-test-46541157
2025-10-13 03:10:14,203 - DEBUG - VM ctest-vm1-test-46541157 ID is 42eb9aa9-744d-4a72-a54c-329f712561d6
2025-10-13 03:10:14,203 - DEBUG - VM ctest-vm1-test-46541157 launched on Node an-jenkins-deploy-platform-ansible-os-4296-1
2025-10-13 03:10:14,285 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/42eb9aa9-744d-4a72-a54c-329f712561d6
2025-10-13 03:10:14,585 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/42eb9aa9-744d-4a72-a54c-329f712561d6
2025-10-13 03:10:14,618 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e4b34819-c5d6-4aab-997c-24e2a5435a8b
2025-10-13 03:10:17,827 - 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 1039ms')
2025-10-13 03:10:17,827 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46541157 failed!
2025-10-13 03:10:17,843 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:10:21,922 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2025-10-13 03:10:21,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46541157 failed!
2025-10-13 03:10:21,936 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:10:26,014 - 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')
2025-10-13 03:10:26,014 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46541157 failed!
2025-10-13 03:10:26,030 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:10:30,114 - 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')
2025-10-13 03:10:30,114 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46541157 failed!
2025-10-13 03:10:30,129 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:10:34,201 - 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')
2025-10-13 03:10:34,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46541157 failed!
2025-10-13 03:10:34,218 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:10:38,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 1021ms')
2025-10-13 03:10:38,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46541157 failed!
2025-10-13 03:10:38,322 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:10:42,403 - 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')
2025-10-13 03:10:42,403 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46541157 failed!
2025-10-13 03:10:42,418 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:10:46,492 - 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')
2025-10-13 03:10:46,493 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46541157 failed!
2025-10-13 03:10:46,508 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:10:48,576 - 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=6.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.09 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 = 3.093/4.784/6.476/1.691 ms')
2025-10-13 03:10:48,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-46541157 passed
2025-10-13 03:10:48,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:10:48,645 - DEBUG - Waiting to SSH to VM ctest-vm1-test-46541157, IP 10.10.10.3, Port 22
2025-10-13 03:10:48,713 - 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': ''}
2025-10-13 03:10:48,794 - DEBUG - VM ctest-vm1-test-46541157 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 03:10:53,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:10:53,795 - DEBUG - Waiting to SSH to VM ctest-vm1-test-46541157, IP 10.10.10.3, Port 22
2025-10-13 03:10:53,852 - 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': ''}
2025-10-13 03:10:53,934 - DEBUG - VM ctest-vm1-test-46541157 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 03:10:58,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:10:58,934 - DEBUG - Waiting to SSH to VM ctest-vm1-test-46541157, IP 10.10.10.3, Port 22
2025-10-13 03:10:59,002 - 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': ''}
2025-10-13 03:10:59,089 - DEBUG - VM ctest-vm1-test-46541157 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 03:11:04,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:11:04,091 - DEBUG - Waiting to SSH to VM ctest-vm1-test-46541157, IP 10.10.10.3, Port 22
2025-10-13 03:11:04,258 - DEBUG - VM ctest-vm1-test-46541157 is ready for SSH connections
2025-10-13 03:11:04,258 - 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
2025-10-13 03:11:04,258 - DEBUG - ifconfig | grep 10.10.10.3
2025-10-13 03:11:24,459 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-10-13 03:11:24,459 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-46541157", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-13 03:11:24,459 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-46541157", None, socket.AF_INET6)'
2025-10-13 03:11:27,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-46541157, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-13 03:11:27,200 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-46541157
2025-10-13 03:11:30,150 - DEBUG - PING ctest-vm1-test-46541157.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-46541157.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.68 ms
64 bytes from ctest-vm1-test-46541157.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.219 ms
64 bytes from ctest-vm1-test-46541157.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.223 ms
--- ctest-vm1-test-46541157.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.219/1.042/2.684/1.161 ms
2025-10-13 03:11:30,150 - INFO - Ping to IP ctest-vm1-test-46541157 from VM ctest-vm1-test-46541157 passed
2025-10-13 03:11:30,185 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-13 03:11:30,195 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05517164@0%20AllEntriesVdnsRecordsReq
2025-10-13 03:11:30,201 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-13 03:11:30,209 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05517164@0%20AllEntriesVdnsRecordsReq
2025-10-13 03:11:30,218 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-13 03:11:30,226 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05517164@0%20AllEntriesVdnsRecordsReq
2025-10-13 03:11:30,232 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-05517164:1:ctest-vm1-test-46541157:10.10.10.3', 'rec_name': 'ctest-vm1-test-46541157', '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-4296-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-46541157.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-13 03:11:30,232 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-05517164:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-46541157', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-46541157', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4296-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-46541157.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'}
2025-10-13 03:11:31,563 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4296-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4296-2)
2025-10-13 03:11:31,564 - INFO - Waiting for VM ctest-vm2-test-73930893 to be up..
2025-10-13 03:11:31,616 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-13 03:11:36,697 - DEBUG - VM is in ACTIVE state now
2025-10-13 03:11:36,697 - INFO - VM name : ctest-vm2-test-73930893
2025-10-13 03:11:36,787 - DEBUG - VM ctest-vm2-test-73930893 ID is 928f0da8-ecbc-40b7-86a0-b069ad3a8d92
2025-10-13 03:11:36,787 - DEBUG - VM ctest-vm2-test-73930893 launched on Node an-jenkins-deploy-platform-ansible-os-4296-2
2025-10-13 03:11:36,867 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/928f0da8-ecbc-40b7-86a0-b069ad3a8d92
2025-10-13 03:11:36,878 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/7b2c772d-6471-457e-95cf-55f93745c233
2025-10-13 03:11:40,047 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2025-10-13 03:11:40,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-73930893 failed!
2025-10-13 03:11:40,060 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:11:44,143 - 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')
2025-10-13 03:11:44,143 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-73930893 failed!
2025-10-13 03:11:44,159 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:11:48,238 - 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')
2025-10-13 03:11:48,238 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-73930893 failed!
2025-10-13 03:11:48,256 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:11:52,338 - 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')
2025-10-13 03:11:52,338 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-73930893 failed!
2025-10-13 03:11:52,353 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:11:56,432 - 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')
2025-10-13 03:11:56,432 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-73930893 failed!
2025-10-13 03:11:56,446 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:12:00,528 - 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')
2025-10-13 03:12:00,528 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-73930893 failed!
2025-10-13 03:12:00,542 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:12:04,618 - 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')
2025-10-13 03:12:04,618 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-73930893 failed!
2025-10-13 03:12:04,633 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:12:08,723 - 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')
2025-10-13 03:12:08,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-73930893 failed!
2025-10-13 03:12:08,739 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:12:12,812 - 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')
2025-10-13 03:12:12,812 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-73930893 failed!
2025-10-13 03:12:12,828 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69831476:ctest-vn1-vdns-79920530 is 10.10.10.1 and allocation pool is NOT set
2025-10-13 03:12:14,895 - 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=6.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.70 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 = 1.704/4.026/6.348/2.322 ms')
2025-10-13 03:12:14,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-73930893 passed
2025-10-13 03:12:14,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:12:14,965 - DEBUG - Waiting to SSH to VM ctest-vm2-test-73930893, IP 10.10.10.4, Port 22
2025-10-13 03:12:15,031 - 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': ''}
2025-10-13 03:12:15,115 - DEBUG - VM ctest-vm2-test-73930893 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 03:12:20,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:12:20,116 - DEBUG - Waiting to SSH to VM ctest-vm2-test-73930893, IP 10.10.10.4, Port 22
2025-10-13 03:12:20,183 - 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': ''}
2025-10-13 03:12:20,263 - DEBUG - VM ctest-vm2-test-73930893 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 03:12:25,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:12:25,264 - DEBUG - Waiting to SSH to VM ctest-vm2-test-73930893, IP 10.10.10.4, Port 22
2025-10-13 03:12:25,331 - 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': ''}
2025-10-13 03:12:25,418 - DEBUG - VM ctest-vm2-test-73930893 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 03:12:30,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:12:30,419 - DEBUG - Waiting to SSH to VM ctest-vm2-test-73930893, IP 10.10.10.4, Port 22
2025-10-13 03:12:30,487 - 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': ''}
2025-10-13 03:12:30,574 - DEBUG - VM ctest-vm2-test-73930893 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 03:12:35,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:12:35,575 - DEBUG - Waiting to SSH to VM ctest-vm2-test-73930893, IP 10.10.10.4, Port 22
2025-10-13 03:12:35,748 - DEBUG - VM ctest-vm2-test-73930893 is ready for SSH connections
2025-10-13 03:12:35,748 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-13 03:12:35,748 - DEBUG - ifconfig | grep 10.10.10.4
2025-10-13 03:12:56,027 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-10-13 03:12:56,028 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-73930893", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-13 03:12:56,028 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-73930893", None, socket.AF_INET6)'
2025-10-13 03:12:57,432 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-73930893, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-13 03:12:57,433 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-73930893
2025-10-13 03:12:59,940 - DEBUG - PING ctest-vm2-test-73930893.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-73930893.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.21 ms
64 bytes from ctest-vm2-test-73930893.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.251 ms
64 bytes from ctest-vm2-test-73930893.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.234 ms
--- ctest-vm2-test-73930893.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.234/1.566/4.215/1.873 ms
2025-10-13 03:12:59,940 - INFO - Ping to IP ctest-vm2-test-73930893 from VM ctest-vm2-test-73930893 passed
2025-10-13 03:12:59,960 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-13 03:12:59,969 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05517164@0%20AllEntriesVdnsRecordsReq
2025-10-13 03:12:59,974 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-13 03:12:59,980 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05517164@0%20AllEntriesVdnsRecordsReq
2025-10-13 03:12:59,985 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-13 03:12:59,989 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-05517164@0%20AllEntriesVdnsRecordsReq
2025-10-13 03:12:59,994 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-05517164:1:ctest-vm2-test-73930893:10.10.10.4', 'rec_name': 'ctest-vm2-test-73930893', '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-4296-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-73930893.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-13 03:12:59,994 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-05517164:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-73930893', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-73930893', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4296-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-73930893.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'}
2025-10-13 03:12:59,994 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-73930893", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-13 03:12:59,994 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-73930893", None, socket.AF_INET6)'
2025-10-13 03:13:01,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-73930893, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-13 03:13:01,136 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-73930893
2025-10-13 03:13:03,769 - DEBUG - PING ctest-vm2-test-73930893.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-73930893.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.1 ms
64 bytes from ctest-vm2-test-73930893.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.36 ms
64 bytes from ctest-vm2-test-73930893.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.30 ms
--- ctest-vm2-test-73930893.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 1.306/4.280/10.172/4.166 ms
2025-10-13 03:13:03,769 - INFO - Ping to IP ctest-vm2-test-73930893 from VM ctest-vm1-test-46541157 passed
2025-10-13 03:13:03,769 - INFO - Try deleting the VDNS entry ctest-vdns1-05517164 with back ref of ipam.
2025-10-13 03:13:03,828 - DEBUG - Delete when resource still referred: ['http://10.0.0.41:8082/network-ipam/3a480d64-504c-4874-add1-d46e39313e34']
2025-10-13 03:13:03,828 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-10-13 03:13:03,829 - INFO - Add CNAME VDNS record for ctest-vm1-test-46541157 and verify we able to ping by alias name
2025-10-13 03:13:03,880 - DEBUG - Creating VDNS record data : test-rec
2025-10-13 03:13:04,016 - INFO - In verify_on_setup
2025-10-13 03:13:04,120 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-05517164', 'test-rec'] created succesfully
2025-10-13 03:13:04,120 - INFO - Verify VDNS record is shown in the API server
2025-10-13 03:13:04,120 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-13 03:13:04,127 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3f9f083c-1111-458a-a630-ac922d5b730c
2025-10-13 03:13:04,171 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/eb3b5439-7a6a-4808-b069-2f25a3d502f1
2025-10-13 03:13:04,191 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS-record/3b7e3d5a-109a-4169-9302-b7e3a0967bb4
2025-10-13 03:13:04,205 - INFO - Verify VDNS record is shown in the control node
2025-10-13 03:13:04,228 - 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
2025-10-13 03:13:04,228 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-13 03:13:05,359 - 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
2025-10-13 03:13:05,360 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-10-13 03:13:05,869 - DEBUG - ping: unknown host vm1-test-alias
2025-10-13 03:13:05,869 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-46541157 failed
2025-10-13 03:13:06,870 - 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
2025-10-13 03:13:06,870 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-13 03:13:08,010 - 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
2025-10-13 03:13:08,010 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-10-13 03:13:10,536 - DEBUG - PING ctest-vm1-test-46541157.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-46541157.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.79 ms
64 bytes from ctest-vm1-test-46541157.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.317 ms
64 bytes from ctest-vm1-test-46541157.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.217 ms
--- ctest-vm1-test-46541157.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.217/0.777/1.799/0.724 ms
2025-10-13 03:13:10,537 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-46541157 passed
2025-10-13 03:13:10,537 - DEBUG - Deleting VDNS record data: test-rec
2025-10-13 03:13:10,616 - INFO - VDNS record info: default-domain:ctest-vdns1-05517164:test-rec deleted successfully.
2025-10-13 03:13:10,616 - INFO - Deleting VM ctest-vm2-test-73930893
2025-10-13 03:13:10,697 - INFO - Deleting VM ctest-vm1-test-46541157
2025-10-13 03:13:10,767 - INFO - Deleting VN ctest-vn1-vdns-79920530
2025-10-13 03:13:10,809 - DEBUG - VN b0cdf56e-101b-42d3-9853-c38b11445712 still in use: Unable to complete operation on network b0cdf56e-101b-42d3-9853-c38b11445712. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e271d49b-23c9-4519-a510-71e0606e868c']
2025-10-13 03:13:10,810 - WARNING - Deleting VN ctest-vn1-vdns-79920530 failed..Will retry
2025-10-13 03:13:12,968 - DEBUG - Response for deleting network ()
2025-10-13 03:13:13,027 - DEBUG - Deleting VDNS Entry: ctest-vdns1-05517164
2025-10-13 03:13:13,136 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-05517164'] deleted successfully.
2025-10-13 03:13:13,136 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-13 03:13:13,148 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3f9f083c-1111-458a-a630-ac922d5b730c
2025-10-13 03:13:13,163 - DEBUG - VDNS information not found in API server
2025-10-13 03:13:13,164 - INFO - VDNS information ctest-vdns1-05517164 removed from the API Server
2025-10-13 03:13:13,168 - INFO - VDNS information ctest-vdns1-05517164 removed in the Control node
2025-10-13 03:13:13,168 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-69831476']
2025-10-13 03:13:14,442 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 03:13:14,443 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:11]
2025-10-13 03:13:14,443 - INFO - --------------------------------------------------------------------------------
2025-10-13 03:13:15,168 - INFO - Deleted project: ctest-TestvDNSBasic0-69831476, ID : 8bbbc636-1306-4223-9884-16274bc85974