2025-12-08 03:15:25,960 - INFO - Domain Default found not creating
2025-12-08 03:15:26,131 - INFO - Project ctest-TestvDNSBasic0-47539435 not found, creating it
2025-12-08 03:15:26,713 - INFO - Created Project:ctest-TestvDNSBasic0-47539435, ID : 93d3e252-344a-43ea-8bdd-adb20734e7f2
2025-12-08 03:15:28,491 - INFO - ================================================================================
2025-12-08 03:15:28,491 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-12-08 03:15:28,491 - 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-12-08 03:15:29,779 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.145': '0', '10.20.0.18': '0'}, '10.0.0.129': {'10.20.0.145': '0', '10.20.0.14': '0'}} with
2025-12-08 03:15:29,780 - INFO - Initial checks done. Running the testcase now
2025-12-08 03:15:29,780 - INFO -
2025-12-08 03:15:30,651 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-47539435'](93d3e252-344a-43ea-8bdd-adb20734e7f2)
2025-12-08 03:15:30,709 - DEBUG - Creating VDNS : ctest-vdns1-41183779
2025-12-08 03:15:30,937 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-41183779'] created succesfully
2025-12-08 03:15:30,937 - DEBUG - Verify VDNS entry is shown in control node
2025-12-08 03:15:30,956 - DEBUG - Verify VDNS entry is shown in the API server
2025-12-08 03:15:30,956 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-12-08 03:15:31,294 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-12-08 03:15:31,330 - DEBUG - Requesting: http://10.0.0.23:8082/domain/c5befdc1-279e-4ac1-9620-9608231491f8
2025-12-08 03:15:31,372 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/a103e353-1443-4f0e-ae25-1d6eb4d4b102
2025-12-08 03:15:32,107 - DEBUG - Response for create_network : {'network': {'id': '5b1300bb-9c89-4cb7-b809-f7516c7c2877', 'name': 'ctest-vn1-vdns-78451147', 'tenant_id': '93d3e252344a43ea8bddadb20734e7f2', 'project_id': '93d3e252344a43ea8bddadb20734e7f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-47539435', 'ctest-vn1-vdns-78451147'], 'port_security_enabled': True, 'description': ''}}
2025-12-08 03:15:32,381 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffd6d79c-4c26-4f63-8cc6-494e177714c4', 'name': '', 'tenant_id': '93d3e252344a43ea8bddadb20734e7f2', 'network_id': '5b1300bb-9c89-4cb7-b809-f7516c7c2877', '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': '93d3e252344a43ea8bddadb20734e7f2'}}
2025-12-08 03:15:32,412 - INFO - Created VN ctest-vn1-vdns-78451147
2025-12-08 03:15:32,429 - DEBUG - VN ctest-vn1-vdns-78451147 UUID is 5b1300bb-9c89-4cb7-b809-f7516c7c2877
2025-12-08 03:15:32,633 - DEBUG - Services list from nova: [, , , ]
2025-12-08 03:15:33,782 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4854-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4854-2)
2025-12-08 03:15:33,782 - INFO - Waiting for VM ctest-vm1-test-91353751 to be up..
2025-12-08 03:15:33,831 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-08 03:15:38,915 - DEBUG - VM is in ACTIVE state now
2025-12-08 03:15:38,915 - INFO - VM name : ctest-vm1-test-91353751
2025-12-08 03:15:38,999 - DEBUG - VM ctest-vm1-test-91353751 ID is c9c2b651-7ec7-4dd7-9bbe-65441ea420bb
2025-12-08 03:15:38,999 - DEBUG - VM ctest-vm1-test-91353751 launched on Node an-jenkins-deploy-platform-ansible-os-4854-2
2025-12-08 03:15:39,083 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c9c2b651-7ec7-4dd7-9bbe-65441ea420bb
2025-12-08 03:15:39,648 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c9c2b651-7ec7-4dd7-9bbe-65441ea420bb
2025-12-08 03:15:39,696 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/32d89dac-13f8-479f-9b78-5a96098b0d10
2025-12-08 03:15:42,875 - 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 1002ms')
2025-12-08 03:15:42,875 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-91353751 failed!
2025-12-08 03:15:42,888 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:15:46,970 - 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-12-08 03:15:46,970 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-91353751 failed!
2025-12-08 03:15:46,986 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:15:51,069 - 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-12-08 03:15:51,069 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-91353751 failed!
2025-12-08 03:15:51,083 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:15:55,164 - 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-12-08 03:15:55,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-91353751 failed!
2025-12-08 03:15:55,182 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:15:59,262 - 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-12-08 03:15:59,262 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-91353751 failed!
2025-12-08 03:15:59,275 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:16:03,361 - 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-12-08 03:16:03,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-91353751 failed!
2025-12-08 03:16:03,379 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:16:07,459 - 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-12-08 03:16:07,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-91353751 failed!
2025-12-08 03:16:07,472 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:16:11,551 - 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-12-08 03:16:11,552 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-91353751 failed!
2025-12-08 03:16:11,568 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:16:15,649 - 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=4.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 4.351/4.351/4.351/0.000 ms')
2025-12-08 03:16:15,649 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-91353751 passed
2025-12-08 03:16:15,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 03:16:15,717 - DEBUG - Waiting to SSH to VM ctest-vm1-test-91353751, IP 10.10.10.3, Port 22
2025-12-08 03:16:15,778 - 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-12-08 03:16:15,865 - DEBUG - VM ctest-vm1-test-91353751 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-08 03:16:20,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 03:16:20,866 - DEBUG - Waiting to SSH to VM ctest-vm1-test-91353751, IP 10.10.10.3, Port 22
2025-12-08 03:16:20,934 - 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-12-08 03:16:21,017 - DEBUG - VM ctest-vm1-test-91353751 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-08 03:16:26,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 03:16:26,018 - DEBUG - Waiting to SSH to VM ctest-vm1-test-91353751, IP 10.10.10.3, Port 22
2025-12-08 03:16:26,086 - 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-12-08 03:16:26,195 - DEBUG - VM ctest-vm1-test-91353751 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-08 03:16:31,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 03:16:31,196 - DEBUG - Waiting to SSH to VM ctest-vm1-test-91353751, IP 10.10.10.3, Port 22
2025-12-08 03:16:31,262 - 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-12-08 03:16:31,340 - DEBUG - VM ctest-vm1-test-91353751 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-08 03:16:36,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 03:16:36,342 - DEBUG - Waiting to SSH to VM ctest-vm1-test-91353751, IP 10.10.10.3, Port 22
2025-12-08 03:16:36,518 - DEBUG - VM ctest-vm1-test-91353751 is ready for SSH connections
2025-12-08 03:16:36,518 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-12-08 03:16:36,519 - DEBUG - ifconfig | grep 10.10.10.3
2025-12-08 03:16:56,897 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-12-08 03:16:56,898 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-91353751", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-12-08 03:16:56,898 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-91353751", None, socket.AF_INET6)'
2025-12-08 03:16:58,639 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-91353751, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-12-08 03:16:58,639 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-91353751
2025-12-08 03:17:01,158 - DEBUG - PING ctest-vm1-test-91353751.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-91353751.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.82 ms
64 bytes from ctest-vm1-test-91353751.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=3.79 ms
64 bytes from ctest-vm1-test-91353751.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.217 ms
--- ctest-vm1-test-91353751.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.217/2.614/3.827/1.694 ms
2025-12-08 03:17:01,159 - INFO - Ping to IP ctest-vm1-test-91353751 from VM ctest-vm1-test-91353751 passed
2025-12-08 03:17:01,185 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-08 03:17:01,191 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41183779@0%20AllEntriesVdnsRecordsReq
2025-12-08 03:17:01,207 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-08 03:17:01,214 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41183779@0%20AllEntriesVdnsRecordsReq
2025-12-08 03:17:01,220 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-08 03:17:01,228 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41183779@0%20AllEntriesVdnsRecordsReq
2025-12-08 03:17:01,233 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-41183779:1:ctest-vm1-test-91353751:10.10.10.3', 'rec_name': 'ctest-vm1-test-91353751', '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-4854-2/dns'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-91353751.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-12-08 03:17:01,233 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-41183779:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-91353751', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-91353751', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4854-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-91353751.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-12-08 03:17:02,698 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4854-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4854-1)
2025-12-08 03:17:02,698 - INFO - Waiting for VM ctest-vm2-test-28247180 to be up..
2025-12-08 03:17:02,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-08 03:17:07,831 - DEBUG - VM is in ACTIVE state now
2025-12-08 03:17:07,831 - INFO - VM name : ctest-vm2-test-28247180
2025-12-08 03:17:07,914 - DEBUG - VM ctest-vm2-test-28247180 ID is 7f50e78e-a205-4d98-9cb1-b14738092233
2025-12-08 03:17:07,914 - DEBUG - VM ctest-vm2-test-28247180 launched on Node an-jenkins-deploy-platform-ansible-os-4854-1
2025-12-08 03:17:08,003 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7f50e78e-a205-4d98-9cb1-b14738092233
2025-12-08 03:17:08,013 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5db28a20-3a7c-4ea2-b94f-c696f985307b
2025-12-08 03:17:11,181 - 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-12-08 03:17:11,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28247180 failed!
2025-12-08 03:17:11,195 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:17:15,276 - 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-12-08 03:17:15,276 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28247180 failed!
2025-12-08 03:17:15,290 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:17:19,376 - 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-12-08 03:17:19,376 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28247180 failed!
2025-12-08 03:17:19,391 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:17:23,471 - 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-12-08 03:17:23,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28247180 failed!
2025-12-08 03:17:23,488 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:17:27,569 - 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-12-08 03:17:27,569 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28247180 failed!
2025-12-08 03:17:27,583 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:17:31,662 - 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')
2025-12-08 03:17:31,663 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28247180 failed!
2025-12-08 03:17:31,677 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:17:35,762 - 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')
2025-12-08 03:17:35,762 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28247180 failed!
2025-12-08 03:17:35,776 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:17:39,856 - 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')
2025-12-08 03:17:39,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28247180 failed!
2025-12-08 03:17:39,872 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47539435:ctest-vn1-vdns-78451147 is 10.10.10.1 and allocation pool is NOT set
2025-12-08 03:17:41,941 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.50 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 = 1.503/3.696/5.890/2.193 ms')
2025-12-08 03:17:41,941 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28247180 passed
2025-12-08 03:17:42,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 03:17:42,016 - DEBUG - Waiting to SSH to VM ctest-vm2-test-28247180, IP 10.10.10.4, Port 22
2025-12-08 03:17:42,082 - 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-12-08 03:17:42,175 - DEBUG - VM ctest-vm2-test-28247180 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-08 03:17:47,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 03:17:47,176 - DEBUG - Waiting to SSH to VM ctest-vm2-test-28247180, IP 10.10.10.4, Port 22
2025-12-08 03:17:47,235 - 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-12-08 03:17:47,316 - DEBUG - VM ctest-vm2-test-28247180 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-08 03:17:52,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 03:17:52,317 - DEBUG - Waiting to SSH to VM ctest-vm2-test-28247180, IP 10.10.10.4, Port 22
2025-12-08 03:17:52,386 - 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-12-08 03:17:52,476 - DEBUG - VM ctest-vm2-test-28247180 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-08 03:17:57,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 03:17:57,477 - DEBUG - Waiting to SSH to VM ctest-vm2-test-28247180, IP 10.10.10.4, Port 22
2025-12-08 03:17:57,646 - DEBUG - VM ctest-vm2-test-28247180 is ready for SSH connections
2025-12-08 03:17:57,646 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-12-08 03:17:57,646 - DEBUG - ifconfig | grep 10.10.10.4
2025-12-08 03:18:17,249 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-12-08 03:18:17,249 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28247180", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-12-08 03:18:17,249 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28247180", None, socket.AF_INET6)'
2025-12-08 03:18:19,765 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-28247180, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-12-08 03:18:19,765 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-28247180
2025-12-08 03:18:22,734 - DEBUG - PING ctest-vm2-test-28247180.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-28247180.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.49 ms
64 bytes from ctest-vm2-test-28247180.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.219 ms
64 bytes from ctest-vm2-test-28247180.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.242 ms
--- ctest-vm2-test-28247180.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.219/0.983/2.490/1.065 ms
2025-12-08 03:18:22,734 - INFO - Ping to IP ctest-vm2-test-28247180 from VM ctest-vm2-test-28247180 passed
2025-12-08 03:18:22,760 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-08 03:18:22,770 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41183779@0%20AllEntriesVdnsRecordsReq
2025-12-08 03:18:22,782 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-08 03:18:22,797 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41183779@0%20AllEntriesVdnsRecordsReq
2025-12-08 03:18:22,812 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-08 03:18:22,832 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41183779@0%20AllEntriesVdnsRecordsReq
2025-12-08 03:18:22,843 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-41183779:1:ctest-vm2-test-28247180:10.10.10.4', 'rec_name': 'ctest-vm2-test-28247180', '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-4854-1/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-28247180.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-12-08 03:18:22,844 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-41183779:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-28247180', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-28247180', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4854-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-28247180.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-12-08 03:18:22,844 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28247180", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-12-08 03:18:22,844 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28247180", None, socket.AF_INET6)'
2025-12-08 03:18:24,043 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-28247180, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-12-08 03:18:24,043 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-28247180
2025-12-08 03:18:26,586 - DEBUG - PING ctest-vm2-test-28247180.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-28247180.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.23 ms
64 bytes from ctest-vm2-test-28247180.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.42 ms
64 bytes from ctest-vm2-test-28247180.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.25 ms
--- ctest-vm2-test-28247180.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.253/3.637/8.239/3.254 ms
2025-12-08 03:18:26,586 - INFO - Ping to IP ctest-vm2-test-28247180 from VM ctest-vm1-test-91353751 passed
2025-12-08 03:18:26,586 - INFO - Try deleting the VDNS entry ctest-vdns1-41183779 with back ref of ipam.
2025-12-08 03:18:26,645 - DEBUG - Delete when resource still referred: ['http://10.0.0.65:8082/network-ipam/33d89bbc-5bb6-437d-9519-4e13aa3b4e6d']
2025-12-08 03:18:26,645 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-12-08 03:18:26,645 - INFO - Add CNAME VDNS record for ctest-vm1-test-91353751 and verify we able to ping by alias name
2025-12-08 03:18:26,693 - DEBUG - Creating VDNS record data : test-rec
2025-12-08 03:18:26,821 - INFO - In verify_on_setup
2025-12-08 03:18:26,917 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-41183779', 'test-rec'] created succesfully
2025-12-08 03:18:26,917 - INFO - Verify VDNS record is shown in the API server
2025-12-08 03:18:26,917 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-12-08 03:18:26,924 - DEBUG - Requesting: http://10.0.0.23:8082/domain/c5befdc1-279e-4ac1-9620-9608231491f8
2025-12-08 03:18:26,938 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/a103e353-1443-4f0e-ae25-1d6eb4d4b102
2025-12-08 03:18:26,948 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS-record/ecbf86f8-578d-4253-8e58-6c15337fb3e2
2025-12-08 03:18:26,954 - INFO - Verify VDNS record is shown in the control node
2025-12-08 03:18:26,972 - 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.129, gateway password: c0ntrail123
2025-12-08 03:18:26,972 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-12-08 03:18:28,209 - 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.129, gateway password: c0ntrail123
2025-12-08 03:18:28,210 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-12-08 03:18:28,745 - DEBUG - ping: unknown host vm1-test-alias
2025-12-08 03:18:28,745 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-91353751 failed
2025-12-08 03:18:29,747 - 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.129, gateway password: c0ntrail123
2025-12-08 03:18:29,747 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-12-08 03:18:30,959 - 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.129, gateway password: c0ntrail123
2025-12-08 03:18:30,959 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-12-08 03:18:33,532 - DEBUG - PING ctest-vm1-test-91353751.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-91353751.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.250 ms
64 bytes from ctest-vm1-test-91353751.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.316 ms
64 bytes from ctest-vm1-test-91353751.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.222 ms
--- ctest-vm1-test-91353751.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.222/0.262/0.316/0.043 ms
2025-12-08 03:18:33,532 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-91353751 passed
2025-12-08 03:18:33,532 - DEBUG - Deleting VDNS record data: test-rec
2025-12-08 03:18:33,617 - INFO - VDNS record info: default-domain:ctest-vdns1-41183779:test-rec deleted successfully.
2025-12-08 03:18:33,617 - INFO - Deleting VM ctest-vm2-test-28247180
2025-12-08 03:18:33,698 - INFO - Deleting VM ctest-vm1-test-91353751
2025-12-08 03:18:33,793 - INFO - Deleting VN ctest-vn1-vdns-78451147
2025-12-08 03:18:33,847 - DEBUG - VN 5b1300bb-9c89-4cb7-b809-f7516c7c2877 still in use: Unable to complete operation on network 5b1300bb-9c89-4cb7-b809-f7516c7c2877. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-30965158-fd1a-4bcf-80c3-406542b78970']
2025-12-08 03:18:33,847 - WARNING - Deleting VN ctest-vn1-vdns-78451147 failed..Will retry
2025-12-08 03:18:36,050 - DEBUG - Response for deleting network ()
2025-12-08 03:18:36,124 - DEBUG - Deleting VDNS Entry: ctest-vdns1-41183779
2025-12-08 03:18:36,225 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-41183779'] deleted successfully.
2025-12-08 03:18:36,225 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-12-08 03:18:36,232 - DEBUG - Requesting: http://10.0.0.23:8082/domain/c5befdc1-279e-4ac1-9620-9608231491f8
2025-12-08 03:18:36,247 - DEBUG - VDNS information not found in API server
2025-12-08 03:18:36,247 - INFO - VDNS information ctest-vdns1-41183779 removed from the API Server
2025-12-08 03:18:36,253 - INFO - VDNS information ctest-vdns1-41183779 removed in the Control node
2025-12-08 03:18:36,253 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-47539435']
2025-12-08 03:18:37,530 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 03:18:37,530 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:09]
2025-12-08 03:18:37,530 - INFO - --------------------------------------------------------------------------------
2025-12-08 03:18:38,320 - INFO - Deleted project: ctest-TestvDNSBasic0-47539435, ID : 93d3e252-344a-43ea-8bdd-adb20734e7f2