2025-09-04 03:12:58,954 - INFO - Domain Default found not creating 2025-09-04 03:12:59,094 - INFO - Project ctest-TestvDNSBasic0-85191010 not found, creating it 2025-09-04 03:12:59,587 - INFO - Created Project:ctest-TestvDNSBasic0-85191010, ID : e38f80bd-7339-4f1b-94de-1f74fd9d7b2a 2025-09-04 03:13:01,081 - INFO - ================================================================================ 2025-09-04 03:13:01,081 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-09-04 03:13:01,081 - 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-09-04 03:13:02,350 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.242': {'10.20.0.25': '0', '10.20.0.254': '0'}} with 2025-09-04 03:13:02,351 - INFO - Initial checks done. Running the testcase now 2025-09-04 03:13:02,351 - INFO - 2025-09-04 03:13:03,069 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-85191010'](e38f80bd-7339-4f1b-94de-1f74fd9d7b2a) 2025-09-04 03:13:03,124 - DEBUG - Creating VDNS : ctest-vdns1-58929043 2025-09-04 03:13:03,344 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-58929043'] created succesfully 2025-09-04 03:13:03,345 - DEBUG - Verify VDNS entry is shown in control node 2025-09-04 03:13:03,363 - DEBUG - Verify VDNS entry is shown in the API server 2025-09-04 03:13:03,363 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-04 03:13:03,654 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-04 03:13:03,687 - DEBUG - Requesting: http://10.0.0.57:8082/domain/e0173f19-70be-4782-8849-f3657660486c 2025-09-04 03:13:03,703 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-DNS/b31961da-d001-44a4-816e-c89d1af33f5f 2025-09-04 03:13:04,408 - DEBUG - Response for create_network : {'network': {'id': 'ca73d0b7-3bbf-4e42-a3ec-4fd7828e0ba5', 'name': 'ctest-vn1-vdns-63512381', 'tenant_id': 'e38f80bd73394f1b94de1f74fd9d7b2a', 'project_id': 'e38f80bd73394f1b94de1f74fd9d7b2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-85191010', 'ctest-vn1-vdns-63512381'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 03:13:04,707 - DEBUG - Response for create_subnet : {'subnet': {'id': '0597e580-832d-4b82-ac6d-154b43951402', 'name': '', 'tenant_id': 'e38f80bd73394f1b94de1f74fd9d7b2a', 'network_id': 'ca73d0b7-3bbf-4e42-a3ec-4fd7828e0ba5', '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': 'e38f80bd73394f1b94de1f74fd9d7b2a'}} 2025-09-04 03:13:04,740 - INFO - Created VN ctest-vn1-vdns-63512381 2025-09-04 03:13:04,753 - DEBUG - VN ctest-vn1-vdns-63512381 UUID is ca73d0b7-3bbf-4e42-a3ec-4fd7828e0ba5 2025-09-04 03:13:04,942 - DEBUG - Services list from nova: [, , , ] 2025-09-04 03:13:05,994 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4012-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4012-1) 2025-09-04 03:13:05,994 - INFO - Waiting for VM ctest-vm1-test-56215973 to be up.. 2025-09-04 03:13:06,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 03:13:11,120 - DEBUG - VM is in ACTIVE state now 2025-09-04 03:13:11,120 - INFO - VM name : ctest-vm1-test-56215973 2025-09-04 03:13:11,201 - DEBUG - VM ctest-vm1-test-56215973 ID is 03b65238-9d49-4141-909c-ae3cd3a4cdfc 2025-09-04 03:13:11,202 - DEBUG - VM ctest-vm1-test-56215973 launched on Node an-jenkins-deploy-platform-ansible-os-4012-1 2025-09-04 03:13:11,289 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/03b65238-9d49-4141-909c-ae3cd3a4cdfc 2025-09-04 03:13:11,595 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/03b65238-9d49-4141-909c-ae3cd3a4cdfc 2025-09-04 03:13:11,629 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/20ef3320-c204-4564-8a07-683ae30aca03 2025-09-04 03:13:14,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 1011ms') 2025-09-04 03:13:14,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-56215973 failed! 2025-09-04 03:13:14,810 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:13:18,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 1017ms') 2025-09-04 03:13:18,892 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-56215973 failed! 2025-09-04 03:13:18,921 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:13:22,995 - 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-09-04 03:13:22,995 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-56215973 failed! 2025-09-04 03:13:23,009 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:13:27,084 - 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') 2025-09-04 03:13:27,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-56215973 failed! 2025-09-04 03:13:27,097 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:13:31,183 - 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-09-04 03:13:31,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-56215973 failed! 2025-09-04 03:13:31,197 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:13:35,279 - 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-09-04 03:13:35,280 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-56215973 failed! 2025-09-04 03:13:35,293 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:13:39,375 - 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-09-04 03:13:39,375 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-56215973 failed! 2025-09-04 03:13:39,390 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:13:43,467 - 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-09-04 03:13:43,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-56215973 failed! 2025-09-04 03:13:43,484 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:13:47,562 - 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.62 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 4.619/4.619/4.619/0.000 ms') 2025-09-04 03:13:47,562 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-56215973 passed 2025-09-04 03:13:47,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 03:13:47,629 - DEBUG - Waiting to SSH to VM ctest-vm1-test-56215973, IP 10.10.10.3, Port 22 2025-09-04 03:13:47,694 - 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-09-04 03:13:47,779 - DEBUG - VM ctest-vm1-test-56215973 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 03:13:52,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 03:13:52,781 - DEBUG - Waiting to SSH to VM ctest-vm1-test-56215973, IP 10.10.10.3, Port 22 2025-09-04 03:13:52,836 - 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-09-04 03:13:52,922 - DEBUG - VM ctest-vm1-test-56215973 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 03:13:57,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 03:13:57,923 - DEBUG - Waiting to SSH to VM ctest-vm1-test-56215973, IP 10.10.10.3, Port 22 2025-09-04 03:13:57,991 - 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-09-04 03:13:58,087 - DEBUG - VM ctest-vm1-test-56215973 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 03:14:03,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 03:14:03,088 - DEBUG - Waiting to SSH to VM ctest-vm1-test-56215973, IP 10.10.10.3, Port 22 2025-09-04 03:14:03,154 - 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-09-04 03:14:03,244 - DEBUG - VM ctest-vm1-test-56215973 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 03:14:08,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 03:14:08,246 - DEBUG - Waiting to SSH to VM ctest-vm1-test-56215973, IP 10.10.10.3, Port 22 2025-09-04 03:14:08,415 - DEBUG - VM ctest-vm1-test-56215973 is ready for SSH connections 2025-09-04 03:14:08,415 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-09-04 03:14:08,415 - DEBUG - ifconfig | grep 10.10.10.3 2025-09-04 03:14:28,041 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-09-04 03:14:28,042 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-56215973", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-09-04 03:14:28,042 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-56215973", None, socket.AF_INET6)' 2025-09-04 03:14:29,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-56215973, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-09-04 03:14:29,469 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-56215973 2025-09-04 03:14:31,992 - DEBUG - PING ctest-vm1-test-56215973.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-56215973.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.24 ms 64 bytes from ctest-vm1-test-56215973.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.234 ms 64 bytes from ctest-vm1-test-56215973.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.216 ms --- ctest-vm1-test-56215973.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.216/1.565/4.246/1.895 ms 2025-09-04 03:14:31,992 - INFO - Ping to IP ctest-vm1-test-56215973 from VM ctest-vm1-test-56215973 passed 2025-09-04 03:14:32,017 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-04 03:14:32,025 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58929043@0%20AllEntriesVdnsRecordsReq 2025-09-04 03:14:32,031 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-04 03:14:32,036 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58929043@0%20AllEntriesVdnsRecordsReq 2025-09-04 03:14:32,041 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-04 03:14:32,046 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58929043@0%20AllEntriesVdnsRecordsReq 2025-09-04 03:14:32,051 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-58929043:1:ctest-vm1-test-56215973:10.10.10.3', 'rec_name': 'ctest-vm1-test-56215973', '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-4012-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-56215973.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-09-04 03:14:32,051 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-58929043:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-56215973', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-56215973', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4012-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-56215973.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-09-04 03:14:33,330 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4012-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4012-2) 2025-09-04 03:14:33,331 - INFO - Waiting for VM ctest-vm2-test-61009441 to be up.. 2025-09-04 03:14:33,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 03:14:38,469 - DEBUG - VM is in ACTIVE state now 2025-09-04 03:14:38,469 - INFO - VM name : ctest-vm2-test-61009441 2025-09-04 03:14:38,561 - DEBUG - VM ctest-vm2-test-61009441 ID is 2e781ffe-1c64-4444-9b42-429a8693df92 2025-09-04 03:14:38,562 - DEBUG - VM ctest-vm2-test-61009441 launched on Node an-jenkins-deploy-platform-ansible-os-4012-2 2025-09-04 03:14:38,696 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/2e781ffe-1c64-4444-9b42-429a8693df92 2025-09-04 03:14:38,709 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/c9e6b0c3-e0a3-4d33-9592-11d28647d49b 2025-09-04 03:14:41,882 - 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 1010ms') 2025-09-04 03:14:41,882 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-61009441 failed! 2025-09-04 03:14:41,896 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:14:45,978 - 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-09-04 03:14:45,978 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-61009441 failed! 2025-09-04 03:14:45,992 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:14:50,072 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-09-04 03:14:50,072 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-61009441 failed! 2025-09-04 03:14:50,087 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:14:54,165 - 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-09-04 03:14:54,165 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-61009441 failed! 2025-09-04 03:14:54,179 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:14:58,263 - 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-09-04 03:14:58,263 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-61009441 failed! 2025-09-04 03:14:58,276 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:15:02,364 - 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-09-04 03:15:02,364 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-61009441 failed! 2025-09-04 03:15:02,380 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:15:06,461 - 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-09-04 03:15:06,461 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-61009441 failed! 2025-09-04 03:15:06,478 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:15:10,555 - 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 1006ms') 2025-09-04 03:15:10,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-61009441 failed! 2025-09-04 03:15:10,569 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:15:14,649 - 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-09-04 03:15:14,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-61009441 failed! 2025-09-04 03:15:14,663 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85191010:ctest-vn1-vdns-63512381 is 10.10.10.1 and allocation pool is NOT set 2025-09-04 03:15:16,730 - 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=9.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.76 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 = 4.761/7.205/9.649/2.444 ms') 2025-09-04 03:15:16,730 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-61009441 passed 2025-09-04 03:15:16,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 03:15:16,797 - DEBUG - Waiting to SSH to VM ctest-vm2-test-61009441, IP 10.10.10.4, Port 22 2025-09-04 03:15:16,863 - 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-09-04 03:15:17,003 - DEBUG - VM ctest-vm2-test-61009441 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 03:15:22,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 03:15:22,003 - DEBUG - Waiting to SSH to VM ctest-vm2-test-61009441, IP 10.10.10.4, Port 22 2025-09-04 03:15:22,072 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-04 03:15:22,149 - DEBUG - VM ctest-vm2-test-61009441 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 03:15:27,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 03:15:27,150 - DEBUG - Waiting to SSH to VM ctest-vm2-test-61009441, IP 10.10.10.4, Port 22 2025-09-04 03:15:27,226 - 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-09-04 03:15:27,312 - DEBUG - VM ctest-vm2-test-61009441 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 03:15:32,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 03:15:32,313 - DEBUG - Waiting to SSH to VM ctest-vm2-test-61009441, IP 10.10.10.4, Port 22 2025-09-04 03:15:32,379 - 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-09-04 03:15:32,464 - DEBUG - VM ctest-vm2-test-61009441 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 03:15:37,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 03:15:37,465 - DEBUG - Waiting to SSH to VM ctest-vm2-test-61009441, IP 10.10.10.4, Port 22 2025-09-04 03:15:37,632 - DEBUG - VM ctest-vm2-test-61009441 is ready for SSH connections 2025-09-04 03:15:37,632 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-04 03:15:37,632 - DEBUG - ifconfig | grep 10.10.10.4 2025-09-04 03:15:59,846 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-09-04 03:15:59,846 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-61009441", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-04 03:15:59,847 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-61009441", None, socket.AF_INET6)' 2025-09-04 03:16:02,793 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-61009441, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-04 03:16:02,793 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-61009441 2025-09-04 03:16:05,590 - DEBUG - PING ctest-vm2-test-61009441.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-61009441.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.81 ms 64 bytes from ctest-vm2-test-61009441.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=3.80 ms 64 bytes from ctest-vm2-test-61009441.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.229 ms --- ctest-vm2-test-61009441.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.229/2.950/4.812/1.967 ms 2025-09-04 03:16:05,591 - INFO - Ping to IP ctest-vm2-test-61009441 from VM ctest-vm2-test-61009441 passed 2025-09-04 03:16:05,613 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-04 03:16:05,620 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58929043@0%20AllEntriesVdnsRecordsReq 2025-09-04 03:16:05,625 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-04 03:16:05,631 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58929043@0%20AllEntriesVdnsRecordsReq 2025-09-04 03:16:05,638 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-04 03:16:05,643 - DEBUG - Requesting: http://10.0.0.57:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58929043@0%20AllEntriesVdnsRecordsReq 2025-09-04 03:16:05,649 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-58929043:1:ctest-vm2-test-61009441:10.10.10.4', 'rec_name': 'ctest-vm2-test-61009441', '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-4012-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-61009441.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-09-04 03:16:05,649 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-58929043:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-61009441', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-61009441', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4012-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-61009441.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-09-04 03:16:05,649 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-61009441", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-09-04 03:16:05,649 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-61009441", None, socket.AF_INET6)' 2025-09-04 03:16:06,946 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-61009441, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-09-04 03:16:06,946 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-61009441 2025-09-04 03:16:09,495 - DEBUG - PING ctest-vm2-test-61009441.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-61009441.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.58 ms 64 bytes from ctest-vm2-test-61009441.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.45 ms 64 bytes from ctest-vm2-test-61009441.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.14 ms --- ctest-vm2-test-61009441.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.142/3.729/8.589/3.439 ms 2025-09-04 03:16:09,496 - INFO - Ping to IP ctest-vm2-test-61009441 from VM ctest-vm1-test-56215973 passed 2025-09-04 03:16:09,496 - INFO - Try deleting the VDNS entry ctest-vdns1-58929043 with back ref of ipam. 2025-09-04 03:16:09,556 - DEBUG - Delete when resource still referred: ['http://10.0.0.131:8082/network-ipam/982d7074-1996-4d46-9ae8-a0daf6671f3a'] 2025-09-04 03:16:09,556 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-09-04 03:16:09,556 - INFO - Add CNAME VDNS record for ctest-vm1-test-56215973 and verify we able to ping by alias name 2025-09-04 03:16:09,604 - DEBUG - Creating VDNS record data : test-rec 2025-09-04 03:16:09,728 - INFO - In verify_on_setup 2025-09-04 03:16:09,824 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-58929043', 'test-rec'] created succesfully 2025-09-04 03:16:09,825 - INFO - Verify VDNS record is shown in the API server 2025-09-04 03:16:09,825 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-04 03:16:09,831 - DEBUG - Requesting: http://10.0.0.57:8082/domain/e0173f19-70be-4782-8849-f3657660486c 2025-09-04 03:16:09,845 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-DNS/b31961da-d001-44a4-816e-c89d1af33f5f 2025-09-04 03:16:09,860 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-DNS-record/be1b0023-a216-4526-9201-0d7dbc1f10df 2025-09-04 03:16:09,870 - INFO - Verify VDNS record is shown in the control node 2025-09-04 03:16:09,891 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-09-04 03:16:09,891 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-09-04 03:16:11,116 - 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.241, gateway password: c0ntrail123 2025-09-04 03:16:11,116 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-09-04 03:16:11,658 - DEBUG - ping: unknown host vm1-test-alias 2025-09-04 03:16:11,658 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-56215973 failed 2025-09-04 03:16:12,658 - 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.241, gateway password: c0ntrail123 2025-09-04 03:16:12,659 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-09-04 03:16:13,922 - 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.241, gateway password: c0ntrail123 2025-09-04 03:16:13,922 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-09-04 03:16:16,471 - DEBUG - PING ctest-vm1-test-56215973.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-56215973.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.76 ms 64 bytes from ctest-vm1-test-56215973.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.189 ms 64 bytes from ctest-vm1-test-56215973.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.260 ms --- ctest-vm1-test-56215973.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.189/0.739/1.769/0.728 ms 2025-09-04 03:16:16,471 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-56215973 passed 2025-09-04 03:16:16,472 - DEBUG - Deleting VDNS record data: test-rec 2025-09-04 03:16:16,552 - INFO - VDNS record info: default-domain:ctest-vdns1-58929043:test-rec deleted successfully. 2025-09-04 03:16:16,552 - INFO - Deleting VM ctest-vm2-test-61009441 2025-09-04 03:16:16,638 - INFO - Deleting VM ctest-vm1-test-56215973 2025-09-04 03:16:16,720 - INFO - Deleting VN ctest-vn1-vdns-63512381 2025-09-04 03:16:16,766 - DEBUG - VN ca73d0b7-3bbf-4e42-a3ec-4fd7828e0ba5 still in use: Unable to complete operation on network ca73d0b7-3bbf-4e42-a3ec-4fd7828e0ba5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a49d8a7f-b16e-4355-8746-a88c15c667e1'] 2025-09-04 03:16:16,766 - WARNING - Deleting VN ctest-vn1-vdns-63512381 failed..Will retry 2025-09-04 03:16:18,932 - DEBUG - Response for deleting network () 2025-09-04 03:16:18,986 - DEBUG - Deleting VDNS Entry: ctest-vdns1-58929043 2025-09-04 03:16:19,076 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-58929043'] deleted successfully. 2025-09-04 03:16:19,077 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-04 03:16:19,083 - DEBUG - Requesting: http://10.0.0.57:8082/domain/e0173f19-70be-4782-8849-f3657660486c 2025-09-04 03:16:19,102 - DEBUG - VDNS information not found in API server 2025-09-04 03:16:19,102 - INFO - VDNS information ctest-vdns1-58929043 removed from the API Server 2025-09-04 03:16:19,106 - INFO - VDNS information ctest-vdns1-58929043 removed in the Control node 2025-09-04 03:16:19,106 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-85191010'] 2025-09-04 03:16:20,378 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 03:16:20,378 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:19]
2025-09-04 03:16:20,378 - INFO - -------------------------------------------------------------------------------- 2025-09-04 03:16:21,118 - INFO - Deleted project: ctest-TestvDNSBasic0-85191010, ID : e38f80bd-7339-4f1b-94de-1f74fd9d7b2a