2025-07-23 16:41:09,579 - INFO - Domain Default found not creating 2025-07-23 16:41:09,736 - INFO - Project ctest-TestvDNSBasic0-16555456 not found, creating it 2025-07-23 16:41:10,304 - INFO - Created Project:ctest-TestvDNSBasic0-16555456, ID : 82a4e961-49af-4e7c-990e-9147c867bad5 2025-07-23 16:41:11,767 - INFO - ================================================================================ 2025-07-23 16:41:11,767 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-07-23 16:41:11,767 - 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-07-23 16:41:13,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.130': {'10.20.0.17': '0', '10.20.0.254': '0'}} with 2025-07-23 16:41:13,112 - INFO - Initial checks done. Running the testcase now 2025-07-23 16:41:13,112 - INFO - 2025-07-23 16:41:14,947 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-16555456'](82a4e961-49af-4e7c-990e-9147c867bad5) 2025-07-23 16:41:15,007 - DEBUG - Creating VDNS : ctest-vdns1-15120245 2025-07-23 16:41:15,243 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-15120245'] created succesfully 2025-07-23 16:41:15,244 - DEBUG - Verify VDNS entry is shown in control node 2025-07-23 16:41:15,262 - DEBUG - Verify VDNS entry is shown in the API server 2025-07-23 16:41:15,262 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-07-23 16:41:15,551 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-07-23 16:41:15,579 - DEBUG - Requesting: http://10.0.0.23:8082/domain/85afe8be-97e7-4e27-9667-ee7272dde692 2025-07-23 16:41:15,598 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/3956967d-0363-4d3b-8a5b-a6a2c61c89c4 2025-07-23 16:41:16,332 - DEBUG - Response for create_network : {'network': {'id': 'd075b31f-c098-45e8-95ff-1bf1a7338360', 'name': 'ctest-vn1-vdns-35486989', 'tenant_id': '82a4e96149af4e7c990e9147c867bad5', 'project_id': '82a4e96149af4e7c990e9147c867bad5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-16555456', 'ctest-vn1-vdns-35486989'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 16:41:16,602 - DEBUG - Response for create_subnet : {'subnet': {'id': '68cb106a-126e-4d8f-b466-1ec1415ab5fd', 'name': '', 'tenant_id': '82a4e96149af4e7c990e9147c867bad5', 'network_id': 'd075b31f-c098-45e8-95ff-1bf1a7338360', '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': '82a4e96149af4e7c990e9147c867bad5'}} 2025-07-23 16:41:16,625 - INFO - Created VN ctest-vn1-vdns-35486989 2025-07-23 16:41:16,640 - DEBUG - VN ctest-vn1-vdns-35486989 UUID is d075b31f-c098-45e8-95ff-1bf1a7338360 2025-07-23 16:41:16,839 - DEBUG - Services list from nova: [, , , ] 2025-07-23 16:41:17,957 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2) 2025-07-23 16:41:17,957 - INFO - Waiting for VM ctest-vm1-test-02910992 to be up.. 2025-07-23 16:41:18,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 16:41:23,100 - DEBUG - VM is in ACTIVE state now 2025-07-23 16:41:23,100 - INFO - VM name : ctest-vm1-test-02910992 2025-07-23 16:41:23,186 - DEBUG - VM ctest-vm1-test-02910992 ID is b7f893f4-d389-4b76-8982-7842b8df7f5f 2025-07-23 16:41:23,186 - DEBUG - VM ctest-vm1-test-02910992 launched on Node an-jenkins-deploy-platform-ansible-os-3704-2 2025-07-23 16:41:23,263 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/b7f893f4-d389-4b76-8982-7842b8df7f5f 2025-07-23 16:41:23,566 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/b7f893f4-d389-4b76-8982-7842b8df7f5f 2025-07-23 16:41:23,604 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/7eff446c-ff00-4df2-ba74-8337f6677df9 2025-07-23 16:41:26,821 - 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 1003ms') 2025-07-23 16:41:26,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-02910992 failed! 2025-07-23 16:41:26,839 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:41:30,919 - 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-07-23 16:41:30,919 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-02910992 failed! 2025-07-23 16:41:30,938 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:41:35,008 - 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-07-23 16:41:35,008 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-02910992 failed! 2025-07-23 16:41:35,028 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:41:39,111 - 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-07-23 16:41:39,112 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-02910992 failed! 2025-07-23 16:41:39,131 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:41:43,205 - 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-07-23 16:41:43,205 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-02910992 failed! 2025-07-23 16:41:43,224 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:41:47,303 - 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-07-23 16:41:47,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-02910992 failed! 2025-07-23 16:41:47,323 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:41:51,403 - 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-07-23 16:41:51,403 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-02910992 failed! 2025-07-23 16:41:51,421 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:41:55,494 - 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 1008ms') 2025-07-23 16:41:55,495 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-02910992 failed! 2025-07-23 16:41:55,510 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:41:57,573 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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 = 2.544/4.380/6.217/1.836 ms') 2025-07-23 16:41:57,573 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-02910992 passed 2025-07-23 16:41:57,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 16:41:57,685 - DEBUG - Waiting to SSH to VM ctest-vm1-test-02910992, IP 10.10.10.3, Port 22 2025-07-23 16:41:57,741 - 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-07-23 16:41:57,839 - DEBUG - VM ctest-vm1-test-02910992 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-23 16:42:02,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 16:42:02,839 - DEBUG - Waiting to SSH to VM ctest-vm1-test-02910992, IP 10.10.10.3, Port 22 2025-07-23 16:42:02,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-07-23 16:42:03,004 - DEBUG - VM ctest-vm1-test-02910992 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-23 16:42:08,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 16:42:08,005 - DEBUG - Waiting to SSH to VM ctest-vm1-test-02910992, IP 10.10.10.3, Port 22 2025-07-23 16:42:08,076 - 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-07-23 16:42:08,163 - DEBUG - VM ctest-vm1-test-02910992 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-23 16:42:13,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 16:42:13,164 - DEBUG - Waiting to SSH to VM ctest-vm1-test-02910992, IP 10.10.10.3, Port 22 2025-07-23 16:42:13,231 - 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-07-23 16:42:13,323 - DEBUG - VM ctest-vm1-test-02910992 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-23 16:42:18,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 16:42:18,325 - DEBUG - Waiting to SSH to VM ctest-vm1-test-02910992, IP 10.10.10.3, Port 22 2025-07-23 16:42:18,491 - DEBUG - VM ctest-vm1-test-02910992 is ready for SSH connections 2025-07-23 16:42:18,491 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-23 16:42:18,491 - DEBUG - ifconfig | grep 10.10.10.3 2025-07-23 16:42:37,591 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-07-23 16:42:37,592 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-02910992", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-23 16:42:37,592 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-02910992", None, socket.AF_INET6)' 2025-07-23 16:42:40,233 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-02910992, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-23 16:42:40,234 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-02910992 2025-07-23 16:42:43,217 - DEBUG - PING ctest-vm1-test-02910992.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-02910992.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.11 ms 64 bytes from ctest-vm1-test-02910992.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.222 ms 64 bytes from ctest-vm1-test-02910992.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.240 ms --- ctest-vm1-test-02910992.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.222/1.192/3.115/1.359 ms 2025-07-23 16:42:43,217 - INFO - Ping to IP ctest-vm1-test-02910992 from VM ctest-vm1-test-02910992 passed 2025-07-23 16:42:43,247 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-07-23 16:42:43,256 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15120245@0%20AllEntriesVdnsRecordsReq 2025-07-23 16:42:43,269 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-07-23 16:42:43,284 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15120245@0%20AllEntriesVdnsRecordsReq 2025-07-23 16:42:43,295 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-07-23 16:42:43,308 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15120245@0%20AllEntriesVdnsRecordsReq 2025-07-23 16:42:43,318 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-15120245:1:ctest-vm1-test-02910992:10.10.10.3', 'rec_name': 'ctest-vm1-test-02910992', '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-3704-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-02910992.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-07-23 16:42:43,318 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-15120245:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-02910992', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-02910992', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3704-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-02910992.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-07-23 16:42:44,624 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-1) 2025-07-23 16:42:44,624 - INFO - Waiting for VM ctest-vm2-test-41668268 to be up.. 2025-07-23 16:42:44,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 16:42:49,767 - DEBUG - VM is in ACTIVE state now 2025-07-23 16:42:49,767 - INFO - VM name : ctest-vm2-test-41668268 2025-07-23 16:42:49,850 - DEBUG - VM ctest-vm2-test-41668268 ID is 9ae2a05c-bad3-4bf3-8905-f69ff5aaf27c 2025-07-23 16:42:49,850 - DEBUG - VM ctest-vm2-test-41668268 launched on Node an-jenkins-deploy-platform-ansible-os-3704-1 2025-07-23 16:42:49,933 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/9ae2a05c-bad3-4bf3-8905-f69ff5aaf27c 2025-07-23 16:42:49,946 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/21a85abd-30b6-4616-a159-fbf66a94ff18 2025-07-23 16:42:53,226 - 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-07-23 16:42:53,226 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41668268 failed! 2025-07-23 16:42:53,242 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:42:57,353 - 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 1034ms') 2025-07-23 16:42:57,353 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41668268 failed! 2025-07-23 16:42:57,369 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:43:01,487 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2025-07-23 16:43:01,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41668268 failed! 2025-07-23 16:43:01,504 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:43:05,615 - 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 1008ms') 2025-07-23 16:43:05,615 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41668268 failed! 2025-07-23 16:43:05,629 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:43:09,738 - 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-07-23 16:43:09,738 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41668268 failed! 2025-07-23 16:43:09,754 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:43:13,872 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2025-07-23 16:43:13,872 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41668268 failed! 2025-07-23 16:43:13,892 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:43:17,964 - 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-07-23 16:43:17,964 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41668268 failed! 2025-07-23 16:43:17,985 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:43:22,087 - 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 1036ms') 2025-07-23 16:43:22,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41668268 failed! 2025-07-23 16:43:22,104 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-16555456:ctest-vn1-vdns-35486989 is 10.10.10.1 and allocation pool is NOT set 2025-07-23 16:43:24,172 - 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=14.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.53 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.530/9.684/14.839/5.154 ms') 2025-07-23 16:43:24,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41668268 passed 2025-07-23 16:43:24,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 16:43:24,287 - DEBUG - Waiting to SSH to VM ctest-vm2-test-41668268, IP 10.10.10.4, Port 22 2025-07-23 16:43:24,355 - 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-07-23 16:43:24,437 - DEBUG - VM ctest-vm2-test-41668268 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-23 16:43:29,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 16:43:29,438 - DEBUG - Waiting to SSH to VM ctest-vm2-test-41668268, IP 10.10.10.4, Port 22 2025-07-23 16:43:29,517 - 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-07-23 16:43:29,601 - DEBUG - VM ctest-vm2-test-41668268 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-23 16:43:34,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 16:43:34,602 - DEBUG - Waiting to SSH to VM ctest-vm2-test-41668268, IP 10.10.10.4, Port 22 2025-07-23 16:43:34,676 - 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-07-23 16:43:34,760 - DEBUG - VM ctest-vm2-test-41668268 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-23 16:43:39,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 16:43:39,760 - DEBUG - Waiting to SSH to VM ctest-vm2-test-41668268, IP 10.10.10.4, Port 22 2025-07-23 16:43:39,850 - 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-07-23 16:43:39,936 - DEBUG - VM ctest-vm2-test-41668268 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-23 16:43:44,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 16:43:44,937 - DEBUG - Waiting to SSH to VM ctest-vm2-test-41668268, IP 10.10.10.4, Port 22 2025-07-23 16:43:45,136 - DEBUG - VM ctest-vm2-test-41668268 is ready for SSH connections 2025-07-23 16:43:45,136 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-23 16:43:45,137 - DEBUG - ifconfig | grep 10.10.10.4 2025-07-23 16:44:05,990 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-07-23 16:44:05,991 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-41668268", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-23 16:44:05,991 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-41668268", None, socket.AF_INET6)' 2025-07-23 16:44:08,940 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-41668268, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-23 16:44:08,941 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-41668268 2025-07-23 16:44:11,970 - DEBUG - PING ctest-vm2-test-41668268.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-41668268.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.52 ms 64 bytes from ctest-vm2-test-41668268.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.219 ms 64 bytes from ctest-vm2-test-41668268.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.331 ms --- ctest-vm2-test-41668268.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.219/1.025/2.525/1.061 ms 2025-07-23 16:44:11,970 - INFO - Ping to IP ctest-vm2-test-41668268 from VM ctest-vm2-test-41668268 passed 2025-07-23 16:44:12,022 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-07-23 16:44:12,029 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15120245@0%20AllEntriesVdnsRecordsReq 2025-07-23 16:44:12,040 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-07-23 16:44:12,045 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15120245@0%20AllEntriesVdnsRecordsReq 2025-07-23 16:44:12,051 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-07-23 16:44:12,062 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-15120245@0%20AllEntriesVdnsRecordsReq 2025-07-23 16:44:12,068 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-15120245:1:ctest-vm2-test-41668268:10.10.10.4', 'rec_name': 'ctest-vm2-test-41668268', '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-3704-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-41668268.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-07-23 16:44:12,068 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-15120245:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-41668268', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-41668268', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3704-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-41668268.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-07-23 16:44:12,069 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-41668268", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-23 16:44:12,069 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-41668268", None, socket.AF_INET6)' 2025-07-23 16:44:13,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-41668268, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-23 16:44:13,259 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-41668268 2025-07-23 16:44:15,839 - DEBUG - PING ctest-vm2-test-41668268.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-41668268.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=39.9 ms 64 bytes from ctest-vm2-test-41668268.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.82 ms 64 bytes from ctest-vm2-test-41668268.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.99 ms --- ctest-vm2-test-41668268.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.823/14.583/39.935/17.926 ms 2025-07-23 16:44:15,839 - INFO - Ping to IP ctest-vm2-test-41668268 from VM ctest-vm1-test-02910992 passed 2025-07-23 16:44:15,840 - INFO - Try deleting the VDNS entry ctest-vdns1-15120245 with back ref of ipam. 2025-07-23 16:44:15,903 - DEBUG - Delete when resource still referred: ['http://10.0.0.73:8082/network-ipam/83f44078-ef11-4f0f-8aa4-4db29b88f01c'] 2025-07-23 16:44:15,903 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-07-23 16:44:15,903 - INFO - Add CNAME VDNS record for ctest-vm1-test-02910992 and verify we able to ping by alias name 2025-07-23 16:44:15,955 - DEBUG - Creating VDNS record data : test-rec 2025-07-23 16:44:16,087 - INFO - In verify_on_setup 2025-07-23 16:44:16,187 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-15120245', 'test-rec'] created succesfully 2025-07-23 16:44:16,187 - INFO - Verify VDNS record is shown in the API server 2025-07-23 16:44:16,188 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-07-23 16:44:16,195 - DEBUG - Requesting: http://10.0.0.23:8082/domain/85afe8be-97e7-4e27-9667-ee7272dde692 2025-07-23 16:44:16,215 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/3956967d-0363-4d3b-8a5b-a6a2c61c89c4 2025-07-23 16:44:16,235 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS-record/70bc0dc1-f4ff-42e0-848d-2822b8c6813b 2025-07-23 16:44:16,244 - INFO - Verify VDNS record is shown in the control node 2025-07-23 16:44:16,267 - 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.130, gateway password: c0ntrail123 2025-07-23 16:44:16,267 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-07-23 16:44:17,482 - 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.130, gateway password: c0ntrail123 2025-07-23 16:44:17,483 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-07-23 16:44:18,087 - DEBUG - ping: unknown host vm1-test-alias 2025-07-23 16:44:18,087 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-02910992 failed 2025-07-23 16:44:19,088 - 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.130, gateway password: c0ntrail123 2025-07-23 16:44:19,088 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-07-23 16:44:20,408 - 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.130, gateway password: c0ntrail123 2025-07-23 16:44:20,408 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-07-23 16:44:22,936 - DEBUG - PING ctest-vm1-test-02910992.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-02910992.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.225 ms 64 bytes from ctest-vm1-test-02910992.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.226 ms 64 bytes from ctest-vm1-test-02910992.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.194 ms --- ctest-vm1-test-02910992.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.194/0.215/0.226/0.014 ms 2025-07-23 16:44:22,936 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-02910992 passed 2025-07-23 16:44:22,937 - DEBUG - Deleting VDNS record data: test-rec 2025-07-23 16:44:23,031 - INFO - VDNS record info: default-domain:ctest-vdns1-15120245:test-rec deleted successfully. 2025-07-23 16:44:23,031 - INFO - Deleting VM ctest-vm2-test-41668268 2025-07-23 16:44:23,106 - INFO - Deleting VM ctest-vm1-test-02910992 2025-07-23 16:44:23,180 - INFO - Deleting VN ctest-vn1-vdns-35486989 2025-07-23 16:44:23,230 - DEBUG - VN d075b31f-c098-45e8-95ff-1bf1a7338360 still in use: Unable to complete operation on network d075b31f-c098-45e8-95ff-1bf1a7338360. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fbe77796-8e6f-417b-b9f9-71d21c176f70'] 2025-07-23 16:44:23,230 - WARNING - Deleting VN ctest-vn1-vdns-35486989 failed..Will retry 2025-07-23 16:44:25,411 - DEBUG - Response for deleting network () 2025-07-23 16:44:25,480 - DEBUG - Deleting VDNS Entry: ctest-vdns1-15120245 2025-07-23 16:44:25,599 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-15120245'] deleted successfully. 2025-07-23 16:44:25,599 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-07-23 16:44:25,607 - DEBUG - Requesting: http://10.0.0.23:8082/domain/85afe8be-97e7-4e27-9667-ee7272dde692 2025-07-23 16:44:25,621 - DEBUG - VDNS information not found in API server 2025-07-23 16:44:25,621 - INFO - VDNS information ctest-vdns1-15120245 removed from the API Server 2025-07-23 16:44:25,626 - INFO - VDNS information ctest-vdns1-15120245 removed in the Control node 2025-07-23 16:44:25,627 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-16555456'] 2025-07-23 16:44:26,981 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 16:44:26,981 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:15]
2025-07-23 16:44:26,981 - INFO - -------------------------------------------------------------------------------- 2025-07-23 16:44:27,721 - INFO - Deleted project: ctest-TestvDNSBasic0-16555456, ID : 82a4e961-49af-4e7c-990e-9147c867bad5