2025-10-09 03:10:23,974 - INFO - Domain Default found not creating 2025-10-09 03:10:24,124 - INFO - Project ctest-TestvDNSBasic0-45515440 not found, creating it 2025-10-09 03:10:24,661 - INFO - Created Project:ctest-TestvDNSBasic0-45515440, ID : 9db4f58b-a0eb-49b3-9256-cd51c1d2edb0 2025-10-09 03:10:26,206 - INFO - ================================================================================ 2025-10-09 03:10:26,206 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-10-09 03:10:26,206 - 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-09 03:10:27,475 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.27': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2025-10-09 03:10:27,475 - INFO - Initial checks done. Running the testcase now 2025-10-09 03:10:27,475 - INFO - 2025-10-09 03:10:28,231 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-45515440'](9db4f58b-a0eb-49b3-9256-cd51c1d2edb0) 2025-10-09 03:10:28,293 - DEBUG - Creating VDNS : ctest-vdns1-56162167 2025-10-09 03:10:28,526 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-56162167'] created succesfully 2025-10-09 03:10:28,526 - DEBUG - Verify VDNS entry is shown in control node 2025-10-09 03:10:28,543 - DEBUG - Verify VDNS entry is shown in the API server 2025-10-09 03:10:28,543 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-09 03:10:28,851 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-09 03:10:28,882 - DEBUG - Requesting: http://10.0.0.56:8082/domain/7ed77c0b-e642-4c13-a404-7756503cf17d 2025-10-09 03:10:28,900 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/4c2e657d-a5fe-4aeb-82cb-e748e73269d8 2025-10-09 03:10:29,580 - DEBUG - Response for create_network : {'network': {'id': 'a09220fb-846f-4098-b347-fc0c5b7df048', 'name': 'ctest-vn1-vdns-19134573', 'tenant_id': '9db4f58ba0eb49b39256cd51c1d2edb0', 'project_id': '9db4f58ba0eb49b39256cd51c1d2edb0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-45515440', 'ctest-vn1-vdns-19134573'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 03:10:29,854 - DEBUG - Response for create_subnet : {'subnet': {'id': '34a9d4cb-0a52-43dc-8f71-6618008a2a06', 'name': '', 'tenant_id': '9db4f58ba0eb49b39256cd51c1d2edb0', 'network_id': 'a09220fb-846f-4098-b347-fc0c5b7df048', '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': '9db4f58ba0eb49b39256cd51c1d2edb0'}} 2025-10-09 03:10:29,880 - INFO - Created VN ctest-vn1-vdns-19134573 2025-10-09 03:10:29,891 - DEBUG - VN ctest-vn1-vdns-19134573 UUID is a09220fb-846f-4098-b347-fc0c5b7df048 2025-10-09 03:10:30,065 - DEBUG - Services list from nova: [, , , ] 2025-10-09 03:10:31,238 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4252-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4252-2) 2025-10-09 03:10:31,238 - INFO - Waiting for VM ctest-vm1-test-14458493 to be up.. 2025-10-09 03:10:31,291 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 03:10:36,392 - DEBUG - VM is in ACTIVE state now 2025-10-09 03:10:36,392 - INFO - VM name : ctest-vm1-test-14458493 2025-10-09 03:10:36,486 - DEBUG - VM ctest-vm1-test-14458493 ID is 981e3b7e-cf6d-4ea4-8bf7-9c881f3cf41d 2025-10-09 03:10:36,486 - DEBUG - VM ctest-vm1-test-14458493 launched on Node an-jenkins-deploy-platform-ansible-os-4252-2 2025-10-09 03:10:36,581 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/981e3b7e-cf6d-4ea4-8bf7-9c881f3cf41d 2025-10-09 03:10:36,884 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/981e3b7e-cf6d-4ea4-8bf7-9c881f3cf41d 2025-10-09 03:10:36,920 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/fd559e4c-46de-44f4-817d-5a1b7925b2b9 2025-10-09 03:10:40,121 - 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-09 03:10:40,121 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-14458493 failed! 2025-10-09 03:10:40,135 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:10:44,216 - 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-09 03:10:44,217 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-14458493 failed! 2025-10-09 03:10:44,234 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:10:48,310 - 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-09 03:10:48,310 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-14458493 failed! 2025-10-09 03:10:48,327 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:10:52,406 - 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-09 03:10:52,406 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-14458493 failed! 2025-10-09 03:10:52,420 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:10:56,503 - 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-09 03:10:56,503 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-14458493 failed! 2025-10-09 03:10:56,517 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:11:00,599 - 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-09 03:11:00,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-14458493 failed! 2025-10-09 03:11:00,614 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:11:04,696 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-09 03:11:04,696 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-14458493 failed! 2025-10-09 03:11:04,710 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:11:08,789 - 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-09 03:11:08,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-14458493 failed! 2025-10-09 03:11:08,805 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:11:10,873 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.71 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 = 3.707/4.146/4.586/0.439 ms') 2025-10-09 03:11:10,874 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-14458493 passed 2025-10-09 03:11:10,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 03:11:10,947 - DEBUG - Waiting to SSH to VM ctest-vm1-test-14458493, IP 10.10.10.3, Port 22 2025-10-09 03:11:11,016 - 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-09 03:11:11,173 - DEBUG - VM ctest-vm1-test-14458493 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 03:11:16,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 03:11:16,174 - DEBUG - Waiting to SSH to VM ctest-vm1-test-14458493, IP 10.10.10.3, Port 22 2025-10-09 03:11:16,240 - 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-09 03:11:16,318 - DEBUG - VM ctest-vm1-test-14458493 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 03:11:21,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 03:11:21,319 - DEBUG - Waiting to SSH to VM ctest-vm1-test-14458493, IP 10.10.10.3, Port 22 2025-10-09 03:11:21,387 - 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-09 03:11:21,473 - DEBUG - VM ctest-vm1-test-14458493 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 03:11:26,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 03:11:26,474 - DEBUG - Waiting to SSH to VM ctest-vm1-test-14458493, IP 10.10.10.3, Port 22 2025-10-09 03:11:26,644 - DEBUG - VM ctest-vm1-test-14458493 is ready for SSH connections 2025-10-09 03:11:26,644 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-09 03:11:26,644 - DEBUG - ifconfig | grep 10.10.10.3 2025-10-09 03:11:46,163 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-09 03:11:46,163 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-14458493", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-09 03:11:46,163 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-14458493", None, socket.AF_INET6)' 2025-10-09 03:11:48,866 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-14458493, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-09 03:11:48,866 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-14458493 2025-10-09 03:11:51,817 - DEBUG - PING ctest-vm1-test-14458493.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-14458493.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.99 ms 64 bytes from ctest-vm1-test-14458493.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.232 ms 64 bytes from ctest-vm1-test-14458493.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.202 ms --- ctest-vm1-test-14458493.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.202/1.142/2.993/1.308 ms 2025-10-09 03:11:51,817 - INFO - Ping to IP ctest-vm1-test-14458493 from VM ctest-vm1-test-14458493 passed 2025-10-09 03:11:51,843 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-09 03:11:51,850 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56162167@0%20AllEntriesVdnsRecordsReq 2025-10-09 03:11:51,855 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-09 03:11:51,859 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56162167@0%20AllEntriesVdnsRecordsReq 2025-10-09 03:11:51,863 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-09 03:11:51,869 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56162167@0%20AllEntriesVdnsRecordsReq 2025-10-09 03:11:51,874 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56162167:1:ctest-vm1-test-14458493:10.10.10.3', 'rec_name': 'ctest-vm1-test-14458493', '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-4252-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-14458493.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-09 03:11:51,874 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56162167:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-14458493', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-14458493', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4252-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-14458493.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-09 03:11:53,182 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4252-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4252-1) 2025-10-09 03:11:53,182 - INFO - Waiting for VM ctest-vm2-test-89520366 to be up.. 2025-10-09 03:11:53,234 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 03:11:58,320 - DEBUG - VM is in ACTIVE state now 2025-10-09 03:11:58,320 - INFO - VM name : ctest-vm2-test-89520366 2025-10-09 03:11:58,399 - DEBUG - VM ctest-vm2-test-89520366 ID is eb1fcb2d-031c-4838-a1d0-cb8206a2a7ae 2025-10-09 03:11:58,399 - DEBUG - VM ctest-vm2-test-89520366 launched on Node an-jenkins-deploy-platform-ansible-os-4252-1 2025-10-09 03:11:58,479 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/eb1fcb2d-031c-4838-a1d0-cb8206a2a7ae 2025-10-09 03:11:58,489 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/eb2304e4-85e6-44dc-8340-186afc52845b 2025-10-09 03:12:01,677 - 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-10-09 03:12:01,677 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89520366 failed! 2025-10-09 03:12:01,694 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:12:05,768 - 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-09 03:12:05,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89520366 failed! 2025-10-09 03:12:05,785 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:12:09,869 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-10-09 03:12:09,869 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89520366 failed! 2025-10-09 03:12:09,882 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:12:13,966 - 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-09 03:12:13,966 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89520366 failed! 2025-10-09 03:12:13,983 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:12:18,056 - 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-09 03:12:18,057 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89520366 failed! 2025-10-09 03:12:18,072 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:12:22,159 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-10-09 03:12:22,159 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89520366 failed! 2025-10-09 03:12:22,174 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:12:26,250 - 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-09 03:12:26,250 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89520366 failed! 2025-10-09 03:12:26,264 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:12:30,352 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-10-09 03:12:30,353 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89520366 failed! 2025-10-09 03:12:30,368 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45515440:ctest-vn1-vdns-19134573 is 10.10.10.1 and allocation pool is NOT set 2025-10-09 03:12:34,446 - 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=11.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 11.095/11.095/11.095/0.000 ms') 2025-10-09 03:12:34,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89520366 passed 2025-10-09 03:12:34,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 03:12:34,515 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89520366, IP 10.10.10.4, Port 22 2025-10-09 03:12:34,579 - 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-09 03:12:34,695 - DEBUG - VM ctest-vm2-test-89520366 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 03:12:39,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 03:12:39,696 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89520366, IP 10.10.10.4, Port 22 2025-10-09 03:12:39,753 - 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-09 03:12:39,837 - DEBUG - VM ctest-vm2-test-89520366 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 03:12:44,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 03:12:44,838 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89520366, IP 10.10.10.4, Port 22 2025-10-09 03:12:44,904 - 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-09 03:12:44,989 - DEBUG - VM ctest-vm2-test-89520366 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 03:12:49,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 03:12:49,990 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89520366, IP 10.10.10.4, Port 22 2025-10-09 03:12:50,045 - 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-09 03:12:50,147 - DEBUG - VM ctest-vm2-test-89520366 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 03:12:55,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 03:12:55,147 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89520366, IP 10.10.10.4, Port 22 2025-10-09 03:12:55,319 - DEBUG - VM ctest-vm2-test-89520366 is ready for SSH connections 2025-10-09 03:12:55,319 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-09 03:12:55,319 - DEBUG - ifconfig | grep 10.10.10.4 2025-10-09 03:13:15,103 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-09 03:13:15,104 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89520366", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-09 03:13:15,104 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89520366", None, socket.AF_INET6)' 2025-10-09 03:13:16,446 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89520366, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-09 03:13:16,446 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89520366 2025-10-09 03:13:19,000 - DEBUG - PING ctest-vm2-test-89520366.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-89520366.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.39 ms 64 bytes from ctest-vm2-test-89520366.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=3.15 ms 64 bytes from ctest-vm2-test-89520366.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.206 ms --- ctest-vm2-test-89520366.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.206/2.583/4.390/1.755 ms 2025-10-09 03:13:19,000 - INFO - Ping to IP ctest-vm2-test-89520366 from VM ctest-vm2-test-89520366 passed 2025-10-09 03:13:19,021 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-09 03:13:19,028 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56162167@0%20AllEntriesVdnsRecordsReq 2025-10-09 03:13:19,033 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-09 03:13:19,037 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56162167@0%20AllEntriesVdnsRecordsReq 2025-10-09 03:13:19,044 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-09 03:13:19,049 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56162167@0%20AllEntriesVdnsRecordsReq 2025-10-09 03:13:19,056 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56162167:1:ctest-vm2-test-89520366:10.10.10.4', 'rec_name': 'ctest-vm2-test-89520366', '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-4252-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-89520366.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-09 03:13:19,056 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56162167:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-89520366', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-89520366', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4252-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-89520366.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-09 03:13:19,056 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89520366", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-09 03:13:19,056 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89520366", None, socket.AF_INET6)' 2025-10-09 03:13:20,185 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89520366, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-09 03:13:20,185 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89520366 2025-10-09 03:13:22,700 - DEBUG - PING ctest-vm2-test-89520366.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-89520366.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.23 ms 64 bytes from ctest-vm2-test-89520366.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.16 ms 64 bytes from ctest-vm2-test-89520366.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.25 ms --- ctest-vm2-test-89520366.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.167/3.552/8.238/3.313 ms 2025-10-09 03:13:22,700 - INFO - Ping to IP ctest-vm2-test-89520366 from VM ctest-vm1-test-14458493 passed 2025-10-09 03:13:22,700 - INFO - Try deleting the VDNS entry ctest-vdns1-56162167 with back ref of ipam. 2025-10-09 03:13:22,757 - DEBUG - Delete when resource still referred: ['http://10.0.0.41:8082/network-ipam/4f46a597-78d2-4da7-bfe7-b6d8a2eb9827'] 2025-10-09 03:13:22,758 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-10-09 03:13:22,758 - INFO - Add CNAME VDNS record for ctest-vm1-test-14458493 and verify we able to ping by alias name 2025-10-09 03:13:22,805 - DEBUG - Creating VDNS record data : test-rec 2025-10-09 03:13:22,930 - INFO - In verify_on_setup 2025-10-09 03:13:23,030 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-56162167', 'test-rec'] created succesfully 2025-10-09 03:13:23,030 - INFO - Verify VDNS record is shown in the API server 2025-10-09 03:13:23,030 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-09 03:13:23,042 - DEBUG - Requesting: http://10.0.0.56:8082/domain/7ed77c0b-e642-4c13-a404-7756503cf17d 2025-10-09 03:13:23,057 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/4c2e657d-a5fe-4aeb-82cb-e748e73269d8 2025-10-09 03:13:23,068 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS-record/fd3c3254-03ba-4569-84b7-d032ee959c22 2025-10-09 03:13:23,075 - INFO - Verify VDNS record is shown in the control node 2025-10-09 03:13:23,092 - 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.27, gateway password: c0ntrail123 2025-10-09 03:13:23,092 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-09 03:13:24,204 - 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.27, gateway password: c0ntrail123 2025-10-09 03:13:24,204 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-09 03:13:24,707 - DEBUG - ping: unknown host vm1-test-alias 2025-10-09 03:13:24,708 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-14458493 failed 2025-10-09 03:13:25,708 - 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.27, gateway password: c0ntrail123 2025-10-09 03:13:25,708 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-09 03:13:26,798 - 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.27, gateway password: c0ntrail123 2025-10-09 03:13:26,798 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-09 03:13:29,346 - DEBUG - PING ctest-vm1-test-14458493.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-14458493.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.282 ms 64 bytes from ctest-vm1-test-14458493.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.345 ms 64 bytes from ctest-vm1-test-14458493.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.198 ms --- ctest-vm1-test-14458493.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.198/0.275/0.345/0.060 ms 2025-10-09 03:13:29,346 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-14458493 passed 2025-10-09 03:13:29,346 - DEBUG - Deleting VDNS record data: test-rec 2025-10-09 03:13:29,425 - INFO - VDNS record info: default-domain:ctest-vdns1-56162167:test-rec deleted successfully. 2025-10-09 03:13:29,426 - INFO - Deleting VM ctest-vm2-test-89520366 2025-10-09 03:13:29,506 - INFO - Deleting VM ctest-vm1-test-14458493 2025-10-09 03:13:29,581 - INFO - Deleting VN ctest-vn1-vdns-19134573 2025-10-09 03:13:29,625 - DEBUG - VN a09220fb-846f-4098-b347-fc0c5b7df048 still in use: Unable to complete operation on network a09220fb-846f-4098-b347-fc0c5b7df048. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9173ba7b-ea29-4ed3-bd07-41272a571bc1'] 2025-10-09 03:13:29,626 - WARNING - Deleting VN ctest-vn1-vdns-19134573 failed..Will retry 2025-10-09 03:13:31,798 - DEBUG - Response for deleting network () 2025-10-09 03:13:31,861 - DEBUG - Deleting VDNS Entry: ctest-vdns1-56162167 2025-10-09 03:13:31,969 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-56162167'] deleted successfully. 2025-10-09 03:13:31,970 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-09 03:13:31,977 - DEBUG - Requesting: http://10.0.0.56:8082/domain/7ed77c0b-e642-4c13-a404-7756503cf17d 2025-10-09 03:13:31,992 - DEBUG - VDNS information not found in API server 2025-10-09 03:13:31,992 - INFO - VDNS information ctest-vdns1-56162167 removed from the API Server 2025-10-09 03:13:31,998 - INFO - VDNS information ctest-vdns1-56162167 removed in the Control node 2025-10-09 03:13:31,998 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-45515440'] 2025-10-09 03:13:33,266 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 03:13:33,266 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:07]
2025-10-09 03:13:33,267 - INFO - -------------------------------------------------------------------------------- 2025-10-09 03:13:34,041 - INFO - Deleted project: ctest-TestvDNSBasic0-45515440, ID : 9db4f58b-a0eb-49b3-9256-cd51c1d2edb0