2025-09-22 03:06:13,923 - INFO - Domain Default found not creating 2025-09-22 03:06:14,070 - INFO - Project ctest-TestvDNSBasic0-23017793 not found, creating it 2025-09-22 03:06:14,611 - INFO - Created Project:ctest-TestvDNSBasic0-23017793, ID : 32c3a739-9e68-4e60-9e42-2fe7222c352e 2025-09-22 03:06:16,079 - INFO - ================================================================================ 2025-09-22 03:06:16,079 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-09-22 03:06:16,079 - 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-22 03:06:17,343 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.23': {'10.20.0.254': '0', '10.20.0.193': '0'}} with 2025-09-22 03:06:17,343 - INFO - Initial checks done. Running the testcase now 2025-09-22 03:06:17,343 - INFO - 2025-09-22 03:06:18,068 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-23017793'](32c3a739-9e68-4e60-9e42-2fe7222c352e) 2025-09-22 03:06:18,124 - DEBUG - Creating VDNS : ctest-vdns1-72372706 2025-09-22 03:06:18,360 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-72372706'] created succesfully 2025-09-22 03:06:18,360 - DEBUG - Verify VDNS entry is shown in control node 2025-09-22 03:06:18,378 - DEBUG - Verify VDNS entry is shown in the API server 2025-09-22 03:06:18,378 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-09-22 03:06:18,669 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-09-22 03:06:18,702 - DEBUG - Requesting: http://10.0.0.56:8082/domain/ccce3d88-d117-4380-892c-193ef8fcc90d 2025-09-22 03:06:18,718 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/f4d60deb-d7be-4be2-a4d9-13814091547e 2025-09-22 03:06:19,432 - DEBUG - Response for create_network : {'network': {'id': 'dcd58266-6d30-4b32-8d83-f5da0eb60da9', 'name': 'ctest-vn1-vdns-34604392', 'tenant_id': '32c3a7399e684e609e422fe7222c352e', 'project_id': '32c3a7399e684e609e422fe7222c352e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-23017793', 'ctest-vn1-vdns-34604392'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 03:06:19,730 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5b3779e-d311-4697-a294-58395483b3e3', 'name': '', 'tenant_id': '32c3a7399e684e609e422fe7222c352e', 'network_id': 'dcd58266-6d30-4b32-8d83-f5da0eb60da9', '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': '32c3a7399e684e609e422fe7222c352e'}} 2025-09-22 03:06:19,764 - INFO - Created VN ctest-vn1-vdns-34604392 2025-09-22 03:06:19,779 - DEBUG - VN ctest-vn1-vdns-34604392 UUID is dcd58266-6d30-4b32-8d83-f5da0eb60da9 2025-09-22 03:06:19,960 - DEBUG - Services list from nova: [, , , ] 2025-09-22 03:06:21,027 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4159-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4159-2) 2025-09-22 03:06:21,027 - INFO - Waiting for VM ctest-vm1-test-96950843 to be up.. 2025-09-22 03:06:21,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 03:06:26,169 - DEBUG - VM is in ACTIVE state now 2025-09-22 03:06:26,169 - INFO - VM name : ctest-vm1-test-96950843 2025-09-22 03:06:26,256 - DEBUG - VM ctest-vm1-test-96950843 ID is 52cbf668-ba51-490f-ba0b-03d2aa64efb9 2025-09-22 03:06:26,256 - DEBUG - VM ctest-vm1-test-96950843 launched on Node an-jenkins-deploy-platform-ansible-os-4159-2 2025-09-22 03:06:26,337 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/52cbf668-ba51-490f-ba0b-03d2aa64efb9 2025-09-22 03:06:26,630 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/52cbf668-ba51-490f-ba0b-03d2aa64efb9 2025-09-22 03:06:26,662 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/d0424270-51ac-4d1f-88aa-493b62eb509f 2025-09-22 03:06:29,816 - 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') 2025-09-22 03:06:29,816 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96950843 failed! 2025-09-22 03:06:29,831 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:06:33,924 - 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') 2025-09-22 03:06:33,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96950843 failed! 2025-09-22 03:06:33,939 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:06:38,013 - 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-22 03:06:38,013 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96950843 failed! 2025-09-22 03:06:38,027 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:06:42,108 - 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-22 03:06:42,108 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96950843 failed! 2025-09-22 03:06:42,124 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:06:46,207 - 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 1016ms') 2025-09-22 03:06:46,207 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96950843 failed! 2025-09-22 03:06:46,221 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:06:50,306 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2025-09-22 03:06:50,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96950843 failed! 2025-09-22 03:06:50,322 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:06:54,393 - 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-09-22 03:06:54,393 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96950843 failed! 2025-09-22 03:06:54,408 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:06:56,477 - 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=4.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.690 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 = 0.690/2.753/4.816/2.063 ms') 2025-09-22 03:06:56,477 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96950843 passed 2025-09-22 03:06:56,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:06:56,550 - DEBUG - Waiting to SSH to VM ctest-vm1-test-96950843, IP 10.10.10.3, Port 22 2025-09-22 03:06:56,621 - 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-22 03:06:56,702 - DEBUG - VM ctest-vm1-test-96950843 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:07:01,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:07:01,703 - DEBUG - Waiting to SSH to VM ctest-vm1-test-96950843, IP 10.10.10.3, Port 22 2025-09-22 03:07:01,769 - 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-22 03:07:01,850 - DEBUG - VM ctest-vm1-test-96950843 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:07:06,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:07:06,851 - DEBUG - Waiting to SSH to VM ctest-vm1-test-96950843, IP 10.10.10.3, Port 22 2025-09-22 03:07:06,910 - 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-22 03:07:07,001 - DEBUG - VM ctest-vm1-test-96950843 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:07:12,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:07:12,002 - DEBUG - Waiting to SSH to VM ctest-vm1-test-96950843, IP 10.10.10.3, Port 22 2025-09-22 03:07:12,154 - DEBUG - VM ctest-vm1-test-96950843 is ready for SSH connections 2025-09-22 03:07:12,155 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-09-22 03:07:12,155 - DEBUG - ifconfig | grep 10.10.10.3 2025-09-22 03:07:29,387 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-09-22 03:07:29,387 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96950843", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-09-22 03:07:29,387 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96950843", None, socket.AF_INET6)' 2025-09-22 03:07:31,656 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96950843, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-09-22 03:07:31,656 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96950843 2025-09-22 03:07:34,355 - DEBUG - PING ctest-vm1-test-96950843.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-96950843.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.77 ms 64 bytes from ctest-vm1-test-96950843.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.277 ms 64 bytes from ctest-vm1-test-96950843.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.218 ms --- ctest-vm1-test-96950843.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.218/1.422/3.772/1.661 ms 2025-09-22 03:07:34,355 - INFO - Ping to IP ctest-vm1-test-96950843 from VM ctest-vm1-test-96950843 passed 2025-09-22 03:07:34,377 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-22 03:07:34,388 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72372706@0%20AllEntriesVdnsRecordsReq 2025-09-22 03:07:34,393 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-22 03:07:34,397 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72372706@0%20AllEntriesVdnsRecordsReq 2025-09-22 03:07:34,402 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-22 03:07:34,405 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72372706@0%20AllEntriesVdnsRecordsReq 2025-09-22 03:07:34,409 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-72372706:1:ctest-vm1-test-96950843:10.10.10.3', 'rec_name': 'ctest-vm1-test-96950843', '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-4159-2/dns'} , Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-96950843.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-09-22 03:07:34,410 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-72372706:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-96950843', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-96950843', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4159-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-96950843.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-22 03:07:35,959 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4159-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4159-1) 2025-09-22 03:07:35,960 - INFO - Waiting for VM ctest-vm2-test-28938394 to be up.. 2025-09-22 03:07:36,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 03:07:41,108 - DEBUG - VM is in ACTIVE state now 2025-09-22 03:07:41,108 - INFO - VM name : ctest-vm2-test-28938394 2025-09-22 03:07:41,193 - DEBUG - VM ctest-vm2-test-28938394 ID is 99a2237a-0d87-48b3-b63e-7e036ee7f5ef 2025-09-22 03:07:41,194 - DEBUG - VM ctest-vm2-test-28938394 launched on Node an-jenkins-deploy-platform-ansible-os-4159-1 2025-09-22 03:07:41,274 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/99a2237a-0d87-48b3-b63e-7e036ee7f5ef 2025-09-22 03:07:41,286 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/911f648d-7fde-4a2b-a091-8428d5eb1ad9 2025-09-22 03:07:44,483 - 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') 2025-09-22 03:07:44,483 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28938394 failed! 2025-09-22 03:07:44,498 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:07:48,572 - 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-09-22 03:07:48,572 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28938394 failed! 2025-09-22 03:07:48,587 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:07:52,670 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2025-09-22 03:07:52,670 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28938394 failed! 2025-09-22 03:07:52,685 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:07:56,769 - 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-22 03:07:56,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28938394 failed! 2025-09-22 03:07:56,784 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:08:00,865 - 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-09-22 03:08:00,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28938394 failed! 2025-09-22 03:08:00,883 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:08:04,959 - 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-22 03:08:04,960 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28938394 failed! 2025-09-22 03:08:04,978 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:08:09,058 - 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 1016ms') 2025-09-22 03:08:09,058 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28938394 failed! 2025-09-22 03:08:09,075 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:08:13,148 - 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-09-22 03:08:13,148 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28938394 failed! 2025-09-22 03:08:13,165 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:08:17,246 - 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-22 03:08:17,246 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28938394 failed! 2025-09-22 03:08:17,262 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:08:21,343 - 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 1016ms') 2025-09-22 03:08:21,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28938394 failed! 2025-09-22 03:08:21,358 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-23017793:ctest-vn1-vdns-34604392 is 10.10.10.1 and allocation pool is NOT set 2025-09-22 03:08:23,426 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.621 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 = 0.621/5.537/10.454/4.916 ms') 2025-09-22 03:08:23,426 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-28938394 passed 2025-09-22 03:08:23,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:08:23,497 - DEBUG - Waiting to SSH to VM ctest-vm2-test-28938394, IP 10.10.10.4, Port 22 2025-09-22 03:08:23,566 - 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-22 03:08:23,646 - DEBUG - VM ctest-vm2-test-28938394 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:08:28,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:08:28,647 - DEBUG - Waiting to SSH to VM ctest-vm2-test-28938394, IP 10.10.10.4, Port 22 2025-09-22 03:08:28,713 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-22 03:08:28,796 - DEBUG - VM ctest-vm2-test-28938394 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:08:33,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:08:33,798 - DEBUG - Waiting to SSH to VM ctest-vm2-test-28938394, IP 10.10.10.4, Port 22 2025-09-22 03:08:33,866 - 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-22 03:08:33,952 - DEBUG - VM ctest-vm2-test-28938394 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:08:38,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:08:38,953 - DEBUG - Waiting to SSH to VM ctest-vm2-test-28938394, IP 10.10.10.4, Port 22 2025-09-22 03:08:39,025 - 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-22 03:08:39,106 - DEBUG - VM ctest-vm2-test-28938394 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:08:44,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:08:44,106 - DEBUG - Waiting to SSH to VM ctest-vm2-test-28938394, IP 10.10.10.4, Port 22 2025-09-22 03:08:44,174 - 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-22 03:08:44,260 - DEBUG - VM ctest-vm2-test-28938394 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:08:49,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:08:49,261 - DEBUG - Waiting to SSH to VM ctest-vm2-test-28938394, IP 10.10.10.4, Port 22 2025-09-22 03:08:49,429 - DEBUG - VM ctest-vm2-test-28938394 is ready for SSH connections 2025-09-22 03:08:49,430 - 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-09-22 03:08:49,430 - DEBUG - ifconfig | grep 10.10.10.4 2025-09-22 03:09:13,706 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-09-22 03:09:13,706 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28938394", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-22 03:09:13,707 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28938394", None, socket.AF_INET6)' 2025-09-22 03:09:16,339 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-28938394, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-22 03:09:16,339 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-28938394 2025-09-22 03:09:18,967 - DEBUG - PING ctest-vm2-test-28938394.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-28938394.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.19 ms 64 bytes from ctest-vm2-test-28938394.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=3.36 ms 64 bytes from ctest-vm2-test-28938394.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.279 ms --- ctest-vm2-test-28938394.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.279/2.612/4.194/1.684 ms 2025-09-22 03:09:18,967 - INFO - Ping to IP ctest-vm2-test-28938394 from VM ctest-vm2-test-28938394 passed 2025-09-22 03:09:18,992 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-22 03:09:18,999 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72372706@0%20AllEntriesVdnsRecordsReq 2025-09-22 03:09:19,003 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-22 03:09:19,007 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72372706@0%20AllEntriesVdnsRecordsReq 2025-09-22 03:09:19,012 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-22 03:09:19,016 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-72372706@0%20AllEntriesVdnsRecordsReq 2025-09-22 03:09:19,020 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-72372706:1:ctest-vm2-test-28938394:10.10.10.4', 'rec_name': 'ctest-vm2-test-28938394', '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-4159-1/dns'} , Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-28938394.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-09-22 03:09:19,020 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-72372706:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-28938394', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-28938394', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4159-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-28938394.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-22 03:09:19,020 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28938394", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-09-22 03:09:19,020 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-28938394", None, socket.AF_INET6)' 2025-09-22 03:09:20,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-28938394, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-09-22 03:09:20,015 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-28938394 2025-09-22 03:09:22,481 - DEBUG - PING ctest-vm2-test-28938394.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-28938394.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.50 ms 64 bytes from ctest-vm2-test-28938394.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.11 ms 64 bytes from ctest-vm2-test-28938394.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.06 ms --- ctest-vm2-test-28938394.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.061/3.226/7.502/3.023 ms 2025-09-22 03:09:22,481 - INFO - Ping to IP ctest-vm2-test-28938394 from VM ctest-vm1-test-96950843 passed 2025-09-22 03:09:22,481 - INFO - Try deleting the VDNS entry ctest-vdns1-72372706 with back ref of ipam. 2025-09-22 03:09:22,548 - DEBUG - Delete when resource still referred: ['http://10.0.0.27:8082/network-ipam/e5193891-782f-4d4c-8439-c5fe97f88aa1'] 2025-09-22 03:09:22,548 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-09-22 03:09:22,548 - INFO - Add CNAME VDNS record for ctest-vm1-test-96950843 and verify we able to ping by alias name 2025-09-22 03:09:22,596 - DEBUG - Creating VDNS record data : test-rec 2025-09-22 03:09:22,732 - INFO - In verify_on_setup 2025-09-22 03:09:22,828 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-72372706', 'test-rec'] created succesfully 2025-09-22 03:09:22,828 - INFO - Verify VDNS record is shown in the API server 2025-09-22 03:09:22,828 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-09-22 03:09:22,843 - DEBUG - Requesting: http://10.0.0.56:8082/domain/ccce3d88-d117-4380-892c-193ef8fcc90d 2025-09-22 03:09:22,857 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/f4d60deb-d7be-4be2-a4d9-13814091547e 2025-09-22 03:09:22,868 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS-record/b26b1650-50db-4c21-9d67-fd17ec9609d8 2025-09-22 03:09:22,874 - INFO - Verify VDNS record is shown in the control node 2025-09-22 03:09:22,890 - 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.23, gateway password: c0ntrail123 2025-09-22 03:09:22,890 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-09-22 03:09:23,948 - 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.23, gateway password: c0ntrail123 2025-09-22 03:09:23,949 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-09-22 03:09:24,401 - DEBUG - ping: unknown host vm1-test-alias 2025-09-22 03:09:24,401 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-96950843 failed 2025-09-22 03:09:25,402 - 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.23, gateway password: c0ntrail123 2025-09-22 03:09:25,403 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-09-22 03:09:26,386 - 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.23, gateway password: c0ntrail123 2025-09-22 03:09:26,386 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-09-22 03:09:28,861 - DEBUG - PING ctest-vm1-test-96950843.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-96950843.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.37 ms 64 bytes from ctest-vm1-test-96950843.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.228 ms 64 bytes from ctest-vm1-test-96950843.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.202 ms --- ctest-vm1-test-96950843.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.202/0.935/2.375/1.018 ms 2025-09-22 03:09:28,862 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-96950843 passed 2025-09-22 03:09:28,862 - DEBUG - Deleting VDNS record data: test-rec 2025-09-22 03:09:28,944 - INFO - VDNS record info: default-domain:ctest-vdns1-72372706:test-rec deleted successfully. 2025-09-22 03:09:28,944 - INFO - Deleting VM ctest-vm2-test-28938394 2025-09-22 03:09:29,013 - INFO - Deleting VM ctest-vm1-test-96950843 2025-09-22 03:09:29,100 - INFO - Deleting VN ctest-vn1-vdns-34604392 2025-09-22 03:09:29,150 - DEBUG - VN dcd58266-6d30-4b32-8d83-f5da0eb60da9 still in use: Unable to complete operation on network dcd58266-6d30-4b32-8d83-f5da0eb60da9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5c26a287-24d0-4d6f-b38d-4e3eb5a9c5ad'] 2025-09-22 03:09:29,150 - WARNING - Deleting VN ctest-vn1-vdns-34604392 failed..Will retry 2025-09-22 03:09:31,408 - DEBUG - Response for deleting network () 2025-09-22 03:09:31,453 - DEBUG - Deleting VDNS Entry: ctest-vdns1-72372706 2025-09-22 03:09:31,556 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-72372706'] deleted successfully. 2025-09-22 03:09:31,556 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-09-22 03:09:31,564 - DEBUG - Requesting: http://10.0.0.56:8082/domain/ccce3d88-d117-4380-892c-193ef8fcc90d 2025-09-22 03:09:31,582 - DEBUG - VDNS information not found in API server 2025-09-22 03:09:31,582 - INFO - VDNS information ctest-vdns1-72372706 removed from the API Server 2025-09-22 03:09:31,589 - INFO - VDNS information ctest-vdns1-72372706 removed in the Control node 2025-09-22 03:09:31,589 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-23017793'] 2025-09-22 03:09:32,876 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 03:09:32,876 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:16] 2025-09-22 03:09:32,876 - INFO - -------------------------------------------------------------------------------- 2025-09-22 03:09:33,709 - INFO - Deleted project: ctest-TestvDNSBasic0-23017793, ID : 32c3a739-9e68-4e60-9e42-2fe7222c352e