2025-10-15 16:50:32,193 - INFO - Domain Default found not creating 2025-10-15 16:50:32,355 - INFO - Project ctest-TestvDNSBasic0-55812819 not found, creating it 2025-10-15 16:50:32,847 - INFO - Created Project:ctest-TestvDNSBasic0-55812819, ID : 2001dc80-ba36-4b47-9202-44bb9f7230a5 2025-10-15 16:50:34,263 - INFO - ================================================================================ 2025-10-15 16:50:34,263 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-10-15 16:50:34,263 - INFO - TEST DESCRIPTION : Test:- Test vdns functionality. On VM launch agent should dynamically update dns records to dns agent 1. Create vDNS server 2. Create IPAM using above vDNS data 3. Create VN using above IPAM and launch 2 VM's within it 4. Ping between these 2 VM's using dns name 5. Try to delete vDNS server which has IPAM back-reference[Negative case] 6. Add CNAME VDNS record for vm1-test and verify we able to ping by alias name Pass criteria: Step 4,5 and 6 should pass Maintainer: cf-test@juniper.net 2025-10-15 16:50:35,551 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.5': '0', '10.20.0.18': '0'}, '10.0.0.33': {'10.20.0.18': '0', '10.20.0.252': '0'}} with 2025-10-15 16:50:35,551 - INFO - Initial checks done. Running the testcase now 2025-10-15 16:50:35,551 - INFO - 2025-10-15 16:50:36,255 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-55812819'](2001dc80-ba36-4b47-9202-44bb9f7230a5) 2025-10-15 16:50:36,309 - DEBUG - Creating VDNS : ctest-vdns1-01222649 2025-10-15 16:50:36,533 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-01222649'] created succesfully 2025-10-15 16:50:36,533 - DEBUG - Verify VDNS entry is shown in control node 2025-10-15 16:50:36,551 - DEBUG - Verify VDNS entry is shown in the API server 2025-10-15 16:50:36,551 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-15 16:50:36,842 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-15 16:50:36,872 - DEBUG - Requesting: http://10.0.0.130:8082/domain/424b027d-9a59-4bc3-a9ea-fd1131d532cb 2025-10-15 16:50:36,891 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-DNS/f0c98b9a-92b0-4a7f-9828-53d4968c241c 2025-10-15 16:50:37,582 - DEBUG - Response for create_network : {'network': {'id': '52d1e1ac-9f84-4c16-84ed-8fc5b325f365', 'name': 'ctest-vn1-vdns-80085351', 'tenant_id': '2001dc80ba364b47920244bb9f7230a5', 'project_id': '2001dc80ba364b47920244bb9f7230a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-55812819', 'ctest-vn1-vdns-80085351'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 16:50:37,797 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aab87a33-2b3e-4392-b88a-a3ae7f07e31f', 'name': '', 'tenant_id': '2001dc80ba364b47920244bb9f7230a5', 'network_id': '52d1e1ac-9f84-4c16-84ed-8fc5b325f365', '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': '2001dc80ba364b47920244bb9f7230a5'}} 2025-10-15 16:50:37,820 - INFO - Created VN ctest-vn1-vdns-80085351 2025-10-15 16:50:37,835 - DEBUG - VN ctest-vn1-vdns-80085351 UUID is 52d1e1ac-9f84-4c16-84ed-8fc5b325f365 2025-10-15 16:50:38,024 - DEBUG - Services list from nova: [, , , ] 2025-10-15 16:50:39,066 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4330-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4330-1) 2025-10-15 16:50:39,066 - INFO - Waiting for VM ctest-vm1-test-35196345 to be up.. 2025-10-15 16:50:39,111 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 16:50:44,192 - DEBUG - VM is in ACTIVE state now 2025-10-15 16:50:44,192 - INFO - VM name : ctest-vm1-test-35196345 2025-10-15 16:50:44,286 - DEBUG - VM ctest-vm1-test-35196345 ID is 29de17a6-7587-4a7a-9cdd-73e4bf708030 2025-10-15 16:50:44,286 - DEBUG - VM ctest-vm1-test-35196345 launched on Node an-jenkins-deploy-platform-ansible-os-4330-1 2025-10-15 16:50:44,372 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/29de17a6-7587-4a7a-9cdd-73e4bf708030 2025-10-15 16:50:44,664 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/29de17a6-7587-4a7a-9cdd-73e4bf708030 2025-10-15 16:50:44,697 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/990192f2-0700-44ec-882c-199be552c329 2025-10-15 16:50:47,885 - 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-10-15 16:50:47,885 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-35196345 failed! 2025-10-15 16:50:47,902 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:50:51,983 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2025-10-15 16:50:51,984 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-35196345 failed! 2025-10-15 16:50:52,000 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:50:56,076 - 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-10-15 16:50:56,076 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-35196345 failed! 2025-10-15 16:50:56,092 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:51:00,175 - 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-10-15 16:51:00,175 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-35196345 failed! 2025-10-15 16:51:00,195 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:51:04,272 - 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-10-15 16:51:04,272 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-35196345 failed! 2025-10-15 16:51:04,287 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:51:08,372 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-10-15 16:51:08,372 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-35196345 failed! 2025-10-15 16:51:08,387 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:51:12,462 - 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-10-15 16:51:12,463 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-35196345 failed! 2025-10-15 16:51:12,482 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:51:16,556 - 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-10-15 16:51:16,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-35196345 failed! 2025-10-15 16:51:16,571 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:51:18,639 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.97 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 = 2.972/6.412/9.853/3.440 ms') 2025-10-15 16:51:18,639 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-35196345 passed 2025-10-15 16:51:18,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:51:18,716 - DEBUG - Waiting to SSH to VM ctest-vm1-test-35196345, IP 10.10.10.3, Port 22 2025-10-15 16:51:18,784 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-15 16:51:18,869 - DEBUG - VM ctest-vm1-test-35196345 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 16:51:23,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:51:23,870 - DEBUG - Waiting to SSH to VM ctest-vm1-test-35196345, IP 10.10.10.3, Port 22 2025-10-15 16:51:23,936 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-15 16:51:24,032 - DEBUG - VM ctest-vm1-test-35196345 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 16:51:29,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:51:29,033 - DEBUG - Waiting to SSH to VM ctest-vm1-test-35196345, IP 10.10.10.3, Port 22 2025-10-15 16:51:29,103 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-15 16:51:29,213 - DEBUG - VM ctest-vm1-test-35196345 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 16:51:34,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:51:34,213 - DEBUG - Waiting to SSH to VM ctest-vm1-test-35196345, IP 10.10.10.3, Port 22 2025-10-15 16:51:34,279 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-15 16:51:34,374 - DEBUG - VM ctest-vm1-test-35196345 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 16:51:39,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:51:39,374 - DEBUG - Waiting to SSH to VM ctest-vm1-test-35196345, IP 10.10.10.3, Port 22 2025-10-15 16:51:39,538 - DEBUG - VM ctest-vm1-test-35196345 is ready for SSH connections 2025-10-15 16:51:39,538 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-15 16:51:39,539 - DEBUG - ifconfig | grep 10.10.10.3 2025-10-15 16:51:59,222 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-15 16:51:59,223 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-35196345", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-15 16:51:59,223 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-35196345", None, socket.AF_INET6)' 2025-10-15 16:52:00,475 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-35196345, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-15 16:52:00,475 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-35196345 2025-10-15 16:52:03,005 - DEBUG - PING ctest-vm1-test-35196345.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-35196345.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.76 ms 64 bytes from ctest-vm1-test-35196345.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.52 ms 64 bytes from ctest-vm1-test-35196345.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.254 ms --- ctest-vm1-test-35196345.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.254/2.179/3.761/1.452 ms 2025-10-15 16:52:03,005 - INFO - Ping to IP ctest-vm1-test-35196345 from VM ctest-vm1-test-35196345 passed 2025-10-15 16:52:03,027 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-15 16:52:03,032 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01222649@0%20AllEntriesVdnsRecordsReq 2025-10-15 16:52:03,042 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-15 16:52:03,047 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01222649@0%20AllEntriesVdnsRecordsReq 2025-10-15 16:52:03,052 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-15 16:52:03,056 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01222649@0%20AllEntriesVdnsRecordsReq 2025-10-15 16:52:03,061 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01222649:1:ctest-vm1-test-35196345:10.10.10.3', 'rec_name': 'ctest-vm1-test-35196345', '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-4330-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-35196345.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-15 16:52:03,061 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01222649:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-35196345', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-35196345', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4330-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-35196345.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '3.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'} 2025-10-15 16:52:04,294 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4330-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4330-2) 2025-10-15 16:52:04,294 - INFO - Waiting for VM ctest-vm2-test-99136421 to be up.. 2025-10-15 16:52:04,342 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 16:52:09,424 - DEBUG - VM is in ACTIVE state now 2025-10-15 16:52:09,425 - INFO - VM name : ctest-vm2-test-99136421 2025-10-15 16:52:09,512 - DEBUG - VM ctest-vm2-test-99136421 ID is 20d71c07-a814-4760-8737-7229f1657d1a 2025-10-15 16:52:09,512 - DEBUG - VM ctest-vm2-test-99136421 launched on Node an-jenkins-deploy-platform-ansible-os-4330-2 2025-10-15 16:52:09,601 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/20d71c07-a814-4760-8737-7229f1657d1a 2025-10-15 16:52:09,613 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/faf54ee7-3c9c-49a1-a395-5c110adfd43d 2025-10-15 16:52:12,780 - 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-10-15 16:52:12,780 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99136421 failed! 2025-10-15 16:52:12,798 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:52:16,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 1015ms') 2025-10-15 16:52:16,876 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99136421 failed! 2025-10-15 16:52:16,893 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:52:20,975 - 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-10-15 16:52:20,975 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99136421 failed! 2025-10-15 16:52:20,989 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:52:25,071 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-15 16:52:25,071 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99136421 failed! 2025-10-15 16:52:25,088 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:52:29,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-10-15 16:52:29,165 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99136421 failed! 2025-10-15 16:52:29,182 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:52:33,257 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-10-15 16:52:33,257 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99136421 failed! 2025-10-15 16:52:33,276 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:52:37,357 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-10-15 16:52:37,358 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99136421 failed! 2025-10-15 16:52:37,376 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:52:41,454 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-10-15 16:52:41,455 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99136421 failed! 2025-10-15 16:52:41,471 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-55812819:ctest-vn1-vdns-80085351 is 10.10.10.1 and allocation pool is NOT set 2025-10-15 16:52:43,539 - 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=7.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 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 = 1.027/4.227/7.428/3.200 ms') 2025-10-15 16:52:43,539 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99136421 passed 2025-10-15 16:52:43,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:52:43,615 - DEBUG - Waiting to SSH to VM ctest-vm2-test-99136421, IP 10.10.10.4, Port 22 2025-10-15 16:52:43,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': ''} 2025-10-15 16:52:43,753 - DEBUG - VM ctest-vm2-test-99136421 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 16:52:48,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:52:48,753 - DEBUG - Waiting to SSH to VM ctest-vm2-test-99136421, IP 10.10.10.4, Port 22 2025-10-15 16:52:48,812 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-15 16:52:48,913 - DEBUG - VM ctest-vm2-test-99136421 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 16:52:53,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:52:53,915 - DEBUG - Waiting to SSH to VM ctest-vm2-test-99136421, IP 10.10.10.4, Port 22 2025-10-15 16:52:53,983 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-15 16:52:54,066 - DEBUG - VM ctest-vm2-test-99136421 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 16:52:59,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:52:59,067 - DEBUG - Waiting to SSH to VM ctest-vm2-test-99136421, IP 10.10.10.4, Port 22 2025-10-15 16:52:59,134 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-15 16:52:59,222 - DEBUG - VM ctest-vm2-test-99136421 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 16:53:04,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:53:04,223 - DEBUG - Waiting to SSH to VM ctest-vm2-test-99136421, IP 10.10.10.4, Port 22 2025-10-15 16:53:04,390 - DEBUG - VM ctest-vm2-test-99136421 is ready for SSH connections 2025-10-15 16:53:04,390 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-15 16:53:04,390 - DEBUG - ifconfig | grep 10.10.10.4 2025-10-15 16:53:24,390 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-15 16:53:24,390 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-99136421", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-15 16:53:24,391 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-99136421", None, socket.AF_INET6)' 2025-10-15 16:53:25,681 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-99136421, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-15 16:53:25,681 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-99136421 2025-10-15 16:53:28,219 - DEBUG - PING ctest-vm2-test-99136421.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-99136421.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.85 ms 64 bytes from ctest-vm2-test-99136421.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.66 ms 64 bytes from ctest-vm2-test-99136421.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.370 ms --- ctest-vm2-test-99136421.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.370/2.962/5.850/2.247 ms 2025-10-15 16:53:28,219 - INFO - Ping to IP ctest-vm2-test-99136421 from VM ctest-vm2-test-99136421 passed 2025-10-15 16:53:28,239 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-15 16:53:28,244 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01222649@0%20AllEntriesVdnsRecordsReq 2025-10-15 16:53:28,248 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-15 16:53:28,252 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01222649@0%20AllEntriesVdnsRecordsReq 2025-10-15 16:53:28,256 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-15 16:53:28,260 - DEBUG - Requesting: http://10.0.0.130:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01222649@0%20AllEntriesVdnsRecordsReq 2025-10-15 16:53:28,265 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01222649:1:ctest-vm2-test-99136421:10.10.10.4', 'rec_name': 'ctest-vm2-test-99136421', '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-4330-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-99136421.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-15 16:53:28,265 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01222649:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-99136421', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-99136421', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4330-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-99136421.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '4.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'} 2025-10-15 16:53:28,265 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-99136421", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-15 16:53:28,265 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-99136421", None, socket.AF_INET6)' 2025-10-15 16:53:29,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-99136421, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-15 16:53:29,524 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-99136421 2025-10-15 16:53:32,040 - DEBUG - PING ctest-vm2-test-99136421.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-99136421.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.12 ms 64 bytes from ctest-vm2-test-99136421.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.16 ms 64 bytes from ctest-vm2-test-99136421.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.13 ms --- ctest-vm2-test-99136421.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.132/3.807/9.123/3.759 ms 2025-10-15 16:53:32,040 - INFO - Ping to IP ctest-vm2-test-99136421 from VM ctest-vm1-test-35196345 passed 2025-10-15 16:53:32,040 - INFO - Try deleting the VDNS entry ctest-vdns1-01222649 with back ref of ipam. 2025-10-15 16:53:32,101 - DEBUG - Delete when resource still referred: ['http://10.0.0.137:8082/network-ipam/2621520a-f180-4ce4-b9f2-c83faa7bf974'] 2025-10-15 16:53:32,101 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-10-15 16:53:32,101 - INFO - Add CNAME VDNS record for ctest-vm1-test-35196345 and verify we able to ping by alias name 2025-10-15 16:53:32,149 - DEBUG - Creating VDNS record data : test-rec 2025-10-15 16:53:32,289 - INFO - In verify_on_setup 2025-10-15 16:53:32,389 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-01222649', 'test-rec'] created succesfully 2025-10-15 16:53:32,390 - INFO - Verify VDNS record is shown in the API server 2025-10-15 16:53:32,390 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-15 16:53:32,398 - DEBUG - Requesting: http://10.0.0.130:8082/domain/424b027d-9a59-4bc3-a9ea-fd1131d532cb 2025-10-15 16:53:32,414 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-DNS/f0c98b9a-92b0-4a7f-9828-53d4968c241c 2025-10-15 16:53:32,425 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-DNS-record/8f4f3c4d-e1ce-4620-96f0-f07aa232fe36 2025-10-15 16:53:32,431 - INFO - Verify VDNS record is shown in the control node 2025-10-15 16:53:32,449 - 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.141, gateway password: c0ntrail123 2025-10-15 16:53:32,449 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-15 16:53:33,627 - 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.141, gateway password: c0ntrail123 2025-10-15 16:53:33,627 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-15 16:53:34,197 - DEBUG - ping: unknown host vm1-test-alias 2025-10-15 16:53:34,198 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-35196345 failed 2025-10-15 16:53:35,198 - 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.141, gateway password: c0ntrail123 2025-10-15 16:53:35,198 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-15 16:53:36,391 - 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.141, gateway password: c0ntrail123 2025-10-15 16:53:36,391 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-15 16:53:38,951 - DEBUG - PING ctest-vm1-test-35196345.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-35196345.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.221 ms 64 bytes from ctest-vm1-test-35196345.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.309 ms 64 bytes from ctest-vm1-test-35196345.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.243 ms --- ctest-vm1-test-35196345.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.221/0.257/0.309/0.041 ms 2025-10-15 16:53:38,951 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-35196345 passed 2025-10-15 16:53:38,952 - DEBUG - Deleting VDNS record data: test-rec 2025-10-15 16:53:39,037 - INFO - VDNS record info: default-domain:ctest-vdns1-01222649:test-rec deleted successfully. 2025-10-15 16:53:39,037 - INFO - Deleting VM ctest-vm2-test-99136421 2025-10-15 16:53:39,113 - INFO - Deleting VM ctest-vm1-test-35196345 2025-10-15 16:53:39,186 - INFO - Deleting VN ctest-vn1-vdns-80085351 2025-10-15 16:53:39,229 - DEBUG - VN 52d1e1ac-9f84-4c16-84ed-8fc5b325f365 still in use: Unable to complete operation on network 52d1e1ac-9f84-4c16-84ed-8fc5b325f365. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-68824afb-dd68-4bf9-8068-471a18549361'] 2025-10-15 16:53:39,229 - WARNING - Deleting VN ctest-vn1-vdns-80085351 failed..Will retry 2025-10-15 16:53:41,409 - DEBUG - Response for deleting network () 2025-10-15 16:53:41,450 - DEBUG - Deleting VDNS Entry: ctest-vdns1-01222649 2025-10-15 16:53:41,537 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-01222649'] deleted successfully. 2025-10-15 16:53:41,538 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-15 16:53:41,546 - DEBUG - Requesting: http://10.0.0.130:8082/domain/424b027d-9a59-4bc3-a9ea-fd1131d532cb 2025-10-15 16:53:41,562 - DEBUG - VDNS information not found in API server 2025-10-15 16:53:41,562 - INFO - VDNS information ctest-vdns1-01222649 removed from the API Server 2025-10-15 16:53:41,568 - INFO - VDNS information ctest-vdns1-01222649 removed in the Control node 2025-10-15 16:53:41,568 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-55812819'] 2025-10-15 16:53:42,849 - DEBUG - No XMPP flaps were noticed during the test 2025-10-15 16:53:42,849 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:08] 2025-10-15 16:53:42,849 - INFO - -------------------------------------------------------------------------------- 2025-10-15 16:53:43,578 - INFO - Deleted project: ctest-TestvDNSBasic0-55812819, ID : 2001dc80-ba36-4b47-9202-44bb9f7230a5