2026-03-09 03:03:27,186 - INFO - Domain Default found not creating 2026-03-09 03:03:27,664 - INFO - Project ctest-TestvDNSBasic0-73322274 not found, creating it 2026-03-09 03:03:28,161 - INFO - Created Project:ctest-TestvDNSBasic0-73322274, ID : d9c9ebd9-0646-4645-85e7-2c52d6e18983 2026-03-09 03:03:29,730 - INFO - ================================================================================ 2026-03-09 03:03:29,730 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-03-09 03:03:29,731 - 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-09 03:03:31,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.27': {'10.20.0.25': '0', '10.20.0.17': '0'}} with 2026-03-09 03:03:31,008 - INFO - Initial checks done. Running the testcase now 2026-03-09 03:03:31,009 - INFO - 2026-03-09 03:03:31,723 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-73322274'](d9c9ebd9-0646-4645-85e7-2c52d6e18983) 2026-03-09 03:03:31,780 - DEBUG - Creating VDNS : ctest-vdns1-82223302 2026-03-09 03:03:32,008 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-82223302'] created succesfully 2026-03-09 03:03:32,008 - DEBUG - Verify VDNS entry is shown in control node 2026-03-09 03:03:32,028 - DEBUG - Verify VDNS entry is shown in the API server 2026-03-09 03:03:32,028 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-09 03:03:32,327 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-09 03:03:32,359 - DEBUG - Requesting: http://10.0.0.22:8082/domain/65872af6-2901-4194-bbe6-c1dbc9d32dc7 2026-03-09 03:03:32,377 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/0de10135-25c9-41dc-9799-32556eeb3a17 2026-03-09 03:03:33,067 - DEBUG - Response for create_network : {'network': {'id': '136baa98-5954-492e-8141-2ceac6804cc6', 'name': 'ctest-vn1-vdns-23175710', 'tenant_id': 'd9c9ebd90646464585e72c52d6e18983', 'project_id': 'd9c9ebd90646464585e72c52d6e18983', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-73322274', 'ctest-vn1-vdns-23175710'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 03:03:33,378 - DEBUG - Response for create_subnet : {'subnet': {'id': '2255f2b0-a912-4f2d-b274-c3bd6fff91f9', 'name': '', 'tenant_id': 'd9c9ebd90646464585e72c52d6e18983', 'network_id': '136baa98-5954-492e-8141-2ceac6804cc6', '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': 'd9c9ebd90646464585e72c52d6e18983'}} 2026-03-09 03:03:33,400 - INFO - Created VN ctest-vn1-vdns-23175710 2026-03-09 03:03:33,415 - DEBUG - VN ctest-vn1-vdns-23175710 UUID is 136baa98-5954-492e-8141-2ceac6804cc6 2026-03-09 03:03:33,596 - DEBUG - Services list from nova: [, , , ] 2026-03-09 03:03:34,683 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5454-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5454-1) 2026-03-09 03:03:34,684 - INFO - Waiting for VM ctest-vm1-test-57217268 to be up.. 2026-03-09 03:03:34,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-09 03:03:39,827 - DEBUG - VM is in ACTIVE state now 2026-03-09 03:03:39,827 - INFO - VM name : ctest-vm1-test-57217268 2026-03-09 03:03:39,911 - DEBUG - VM ctest-vm1-test-57217268 ID is 664f7110-b4c3-4093-9125-48ed444fa97b 2026-03-09 03:03:39,911 - DEBUG - VM ctest-vm1-test-57217268 launched on Node an-jenkins-deploy-platform-ansible-os-5454-1 2026-03-09 03:03:40,006 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/664f7110-b4c3-4093-9125-48ed444fa97b 2026-03-09 03:03:40,315 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/664f7110-b4c3-4093-9125-48ed444fa97b 2026-03-09 03:03:40,349 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/0cb182dd-2def-44cc-b523-cbd70b6869c0 2026-03-09 03:03:43,505 - 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-09 03:03:43,506 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57217268 failed! 2026-03-09 03:03:43,520 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:03:47,609 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-03-09 03:03:47,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57217268 failed! 2026-03-09 03:03:47,626 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:03:51,696 - 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-09 03:03:51,696 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57217268 failed! 2026-03-09 03:03:51,710 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:03:55,797 - 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 1031ms') 2026-03-09 03:03:55,798 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57217268 failed! 2026-03-09 03:03:55,811 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:03:59,891 - 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-09 03:03:59,891 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57217268 failed! 2026-03-09 03:03:59,906 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:04:03,997 - 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 1028ms') 2026-03-09 03:04:03,997 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57217268 failed! 2026-03-09 03:04:04,014 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:04:08,083 - 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 1004ms') 2026-03-09 03:04:08,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57217268 failed! 2026-03-09 03:04:08,097 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:04:12,184 - 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-09 03:04:12,184 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57217268 failed! 2026-03-09 03:04:12,198 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:04:14,260 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.837 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 = 0.837/3.232/5.628/2.395 ms') 2026-03-09 03:04:14,260 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57217268 passed 2026-03-09 03:04:14,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 03:04:14,336 - DEBUG - Waiting to SSH to VM ctest-vm1-test-57217268, IP 10.10.10.3, Port 22 2026-03-09 03:04:14,392 - 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-09 03:04:14,483 - DEBUG - VM ctest-vm1-test-57217268 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 03:04:19,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 03:04:19,484 - DEBUG - Waiting to SSH to VM ctest-vm1-test-57217268, IP 10.10.10.3, Port 22 2026-03-09 03:04:19,554 - 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-09 03:04:19,636 - DEBUG - VM ctest-vm1-test-57217268 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 03:04:24,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 03:04:24,637 - DEBUG - Waiting to SSH to VM ctest-vm1-test-57217268, IP 10.10.10.3, Port 22 2026-03-09 03:04:24,705 - 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-09 03:04:24,804 - DEBUG - VM ctest-vm1-test-57217268 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 03:04:29,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 03:04:29,806 - DEBUG - Waiting to SSH to VM ctest-vm1-test-57217268, IP 10.10.10.3, Port 22 2026-03-09 03:04:29,873 - 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-09 03:04:29,949 - DEBUG - VM ctest-vm1-test-57217268 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 03:04:34,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 03:04:34,950 - DEBUG - Waiting to SSH to VM ctest-vm1-test-57217268, IP 10.10.10.3, Port 22 2026-03-09 03:04:35,118 - DEBUG - VM ctest-vm1-test-57217268 is ready for SSH connections 2026-03-09 03:04:35,118 - 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-09 03:04:35,118 - DEBUG - ifconfig | grep 10.10.10.3 2026-03-09 03:04:53,712 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-03-09 03:04:53,712 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-57217268", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-09 03:04:53,713 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-57217268", None, socket.AF_INET6)' 2026-03-09 03:04:55,032 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-57217268, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-09 03:04:55,032 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-57217268 2026-03-09 03:04:57,607 - DEBUG - PING ctest-vm1-test-57217268.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-57217268.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.64 ms 64 bytes from ctest-vm1-test-57217268.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.223 ms 64 bytes from ctest-vm1-test-57217268.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.208 ms --- ctest-vm1-test-57217268.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.208/1.358/3.643/1.615 ms 2026-03-09 03:04:57,607 - INFO - Ping to IP ctest-vm1-test-57217268 from VM ctest-vm1-test-57217268 passed 2026-03-09 03:04:57,637 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-09 03:04:57,643 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-82223302@0%20AllEntriesVdnsRecordsReq 2026-03-09 03:04:57,652 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-09 03:04:57,659 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-82223302@0%20AllEntriesVdnsRecordsReq 2026-03-09 03:04:57,664 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-09 03:04:57,670 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-82223302@0%20AllEntriesVdnsRecordsReq 2026-03-09 03:04:57,675 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-82223302:1:ctest-vm1-test-57217268:10.10.10.3', 'rec_name': 'ctest-vm1-test-57217268', '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-5454-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-57217268.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-03-09 03:04:57,675 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-82223302:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-57217268', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-57217268', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5454-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-57217268.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-09 03:04:58,907 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5454-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5454-2) 2026-03-09 03:04:58,907 - INFO - Waiting for VM ctest-vm2-test-00380375 to be up.. 2026-03-09 03:04:58,954 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-09 03:05:04,073 - DEBUG - VM is in ACTIVE state now 2026-03-09 03:05:04,073 - INFO - VM name : ctest-vm2-test-00380375 2026-03-09 03:05:04,186 - DEBUG - VM ctest-vm2-test-00380375 ID is b6f4f5aa-5d54-4a16-a337-db31c02387fc 2026-03-09 03:05:04,186 - DEBUG - VM ctest-vm2-test-00380375 launched on Node an-jenkins-deploy-platform-ansible-os-5454-2 2026-03-09 03:05:04,268 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b6f4f5aa-5d54-4a16-a337-db31c02387fc 2026-03-09 03:05:04,278 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/4370bc95-6228-4cb2-97c5-8a34b48a27ee 2026-03-09 03:05:07,451 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-03-09 03:05:07,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00380375 failed! 2026-03-09 03:05:07,465 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:05:11,552 - 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 1025ms') 2026-03-09 03:05:11,552 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00380375 failed! 2026-03-09 03:05:11,568 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:05:15,653 - 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-09 03:05:15,653 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00380375 failed! 2026-03-09 03:05:15,666 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:05:19,746 - 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-09 03:05:19,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00380375 failed! 2026-03-09 03:05:19,759 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:05:23,843 - 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-09 03:05:23,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00380375 failed! 2026-03-09 03:05:23,858 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:05:27,940 - 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-09 03:05:27,940 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00380375 failed! 2026-03-09 03:05:27,955 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:05:32,038 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-03-09 03:05:32,038 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00380375 failed! 2026-03-09 03:05:32,056 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:05:36,130 - 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-09 03:05:36,131 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00380375 failed! 2026-03-09 03:05:36,148 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73322274:ctest-vn1-vdns-23175710 is 10.10.10.1 and allocation pool is NOT set 2026-03-09 03:05:38,217 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.27 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 = 3.271/5.111/6.951/1.840 ms') 2026-03-09 03:05:38,217 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00380375 passed 2026-03-09 03:05:38,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 03:05:38,294 - DEBUG - Waiting to SSH to VM ctest-vm2-test-00380375, IP 10.10.10.4, Port 22 2026-03-09 03:05:38,361 - 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-09 03:05:38,452 - DEBUG - VM ctest-vm2-test-00380375 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 03:05:43,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 03:05:43,453 - DEBUG - Waiting to SSH to VM ctest-vm2-test-00380375, IP 10.10.10.4, Port 22 2026-03-09 03:05:43,521 - 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-09 03:05:43,605 - DEBUG - VM ctest-vm2-test-00380375 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 03:05:48,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 03:05:48,606 - DEBUG - Waiting to SSH to VM ctest-vm2-test-00380375, IP 10.10.10.4, Port 22 2026-03-09 03:05:48,672 - 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-09 03:05:48,751 - DEBUG - VM ctest-vm2-test-00380375 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 03:05:53,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 03:05:53,752 - DEBUG - Waiting to SSH to VM ctest-vm2-test-00380375, IP 10.10.10.4, Port 22 2026-03-09 03:05:53,810 - 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-09 03:05:53,892 - DEBUG - VM ctest-vm2-test-00380375 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 03:05:58,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 03:05:58,893 - DEBUG - Waiting to SSH to VM ctest-vm2-test-00380375, IP 10.10.10.4, Port 22 2026-03-09 03:05:59,059 - DEBUG - VM ctest-vm2-test-00380375 is ready for SSH connections 2026-03-09 03:05:59,060 - 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 2026-03-09 03:05:59,060 - DEBUG - ifconfig | grep 10.10.10.4 2026-03-09 03:06:17,440 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-03-09 03:06:17,441 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-00380375", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-03-09 03:06:17,441 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-00380375", None, socket.AF_INET6)' 2026-03-09 03:06:18,833 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-00380375, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-03-09 03:06:18,833 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-00380375 2026-03-09 03:06:21,340 - DEBUG - PING ctest-vm2-test-00380375.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-00380375.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.10 ms 64 bytes from ctest-vm2-test-00380375.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.216 ms 64 bytes from ctest-vm2-test-00380375.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.208 ms --- ctest-vm2-test-00380375.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.208/1.509/4.103/1.834 ms 2026-03-09 03:06:21,340 - INFO - Ping to IP ctest-vm2-test-00380375 from VM ctest-vm2-test-00380375 passed 2026-03-09 03:06:21,362 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-09 03:06:21,369 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-82223302@0%20AllEntriesVdnsRecordsReq 2026-03-09 03:06:21,375 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-09 03:06:21,380 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-82223302@0%20AllEntriesVdnsRecordsReq 2026-03-09 03:06:21,384 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-03-09 03:06:21,388 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-82223302@0%20AllEntriesVdnsRecordsReq 2026-03-09 03:06:21,394 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-82223302:1:ctest-vm2-test-00380375:10.10.10.4', 'rec_name': 'ctest-vm2-test-00380375', '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-5454-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-00380375.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-03-09 03:06:21,394 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-82223302:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-00380375', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-00380375', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5454-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-00380375.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-09 03:06:21,395 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-00380375", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-09 03:06:21,395 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-00380375", None, socket.AF_INET6)' 2026-03-09 03:06:22,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-00380375, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-09 03:06:22,580 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-00380375 2026-03-09 03:06:25,165 - DEBUG - PING ctest-vm2-test-00380375.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-00380375.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.00 ms 64 bytes from ctest-vm2-test-00380375.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.27 ms 64 bytes from ctest-vm2-test-00380375.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.20 ms --- ctest-vm2-test-00380375.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.204/3.494/8.003/3.188 ms 2026-03-09 03:06:25,165 - INFO - Ping to IP ctest-vm2-test-00380375 from VM ctest-vm1-test-57217268 passed 2026-03-09 03:06:25,166 - INFO - Try deleting the VDNS entry ctest-vdns1-82223302 with back ref of ipam. 2026-03-09 03:06:25,223 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/7bc22684-cd8a-42d6-8f43-1c2d3db5413b'] 2026-03-09 03:06:25,224 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-03-09 03:06:25,224 - INFO - Add CNAME VDNS record for ctest-vm1-test-57217268 and verify we able to ping by alias name 2026-03-09 03:06:25,272 - DEBUG - Creating VDNS record data : test-rec 2026-03-09 03:06:25,392 - INFO - In verify_on_setup 2026-03-09 03:06:25,492 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-82223302', 'test-rec'] created succesfully 2026-03-09 03:06:25,492 - INFO - Verify VDNS record is shown in the API server 2026-03-09 03:06:25,492 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-09 03:06:25,498 - DEBUG - Requesting: http://10.0.0.22:8082/domain/65872af6-2901-4194-bbe6-c1dbc9d32dc7 2026-03-09 03:06:25,539 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/0de10135-25c9-41dc-9799-32556eeb3a17 2026-03-09 03:06:25,551 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS-record/18d98b28-e200-4c34-a2dd-4b8878ef6c08 2026-03-09 03:06:25,559 - INFO - Verify VDNS record is shown in the control node 2026-03-09 03:06:25,580 - 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-09 03:06:25,580 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-03-09 03:06:26,739 - 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-09 03:06:26,739 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-03-09 03:06:27,320 - DEBUG - ping: unknown host vm1-test-alias 2026-03-09 03:06:27,320 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-57217268 failed 2026-03-09 03:06:28,321 - 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-09 03:06:28,321 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-03-09 03:06:29,493 - 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-09 03:06:29,493 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-03-09 03:06:32,033 - DEBUG - PING ctest-vm1-test-57217268.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-57217268.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.241 ms 64 bytes from ctest-vm1-test-57217268.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.234 ms 64 bytes from ctest-vm1-test-57217268.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.208 ms --- ctest-vm1-test-57217268.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.208/0.227/0.241/0.022 ms 2026-03-09 03:06:32,033 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-57217268 passed 2026-03-09 03:06:32,033 - DEBUG - Deleting VDNS record data: test-rec 2026-03-09 03:06:32,119 - INFO - VDNS record info: default-domain:ctest-vdns1-82223302:test-rec deleted successfully. 2026-03-09 03:06:32,120 - INFO - Deleting VM ctest-vm2-test-00380375 2026-03-09 03:06:32,195 - INFO - Deleting VM ctest-vm1-test-57217268 2026-03-09 03:06:32,263 - INFO - Deleting VN ctest-vn1-vdns-23175710 2026-03-09 03:06:32,302 - DEBUG - VN 136baa98-5954-492e-8141-2ceac6804cc6 still in use: Unable to complete operation on network 136baa98-5954-492e-8141-2ceac6804cc6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-373a8033-ca1e-4c7d-b9c4-f627b906f26e'] 2026-03-09 03:06:32,302 - WARNING - Deleting VN ctest-vn1-vdns-23175710 failed..Will retry 2026-03-09 03:06:34,484 - DEBUG - Response for deleting network () 2026-03-09 03:06:34,556 - DEBUG - Deleting VDNS Entry: ctest-vdns1-82223302 2026-03-09 03:06:34,663 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-82223302'] deleted successfully. 2026-03-09 03:06:34,664 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-09 03:06:34,670 - DEBUG - Requesting: http://10.0.0.22:8082/domain/65872af6-2901-4194-bbe6-c1dbc9d32dc7 2026-03-09 03:06:34,683 - DEBUG - VDNS information not found in API server 2026-03-09 03:06:34,683 - INFO - VDNS information ctest-vdns1-82223302 removed from the API Server 2026-03-09 03:06:34,688 - INFO - VDNS information ctest-vdns1-82223302 removed in the Control node 2026-03-09 03:06:34,689 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-73322274'] 2026-03-09 03:06:35,950 - DEBUG - No XMPP flaps were noticed during the test
2026-03-09 03:06:35,950 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:06]
2026-03-09 03:06:35,950 - INFO - -------------------------------------------------------------------------------- 2026-03-09 03:06:36,763 - INFO - Deleted project: ctest-TestvDNSBasic0-73322274, ID : d9c9ebd9-0646-4645-85e7-2c52d6e18983