2025-10-02 02:54:43,077 - INFO - Domain Default found not creating 2025-10-02 02:54:43,236 - INFO - Project ctest-TestvDNSBasic0-37351150 not found, creating it 2025-10-02 02:54:43,762 - INFO - Created Project:ctest-TestvDNSBasic0-37351150, ID : f44adcad-7385-4135-baba-91d52fe9f78e 2025-10-02 02:54:45,182 - INFO - ================================================================================ 2025-10-02 02:54:45,182 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-10-02 02:54:45,182 - 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-02 02:54:46,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.130': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2025-10-02 02:54:46,443 - INFO - Initial checks done. Running the testcase now 2025-10-02 02:54:46,444 - INFO - 2025-10-02 02:54:47,174 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-37351150'](f44adcad-7385-4135-baba-91d52fe9f78e) 2025-10-02 02:54:47,234 - DEBUG - Creating VDNS : ctest-vdns1-75602159 2025-10-02 02:54:47,462 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-75602159'] created succesfully 2025-10-02 02:54:47,462 - DEBUG - Verify VDNS entry is shown in control node 2025-10-02 02:54:47,479 - DEBUG - Verify VDNS entry is shown in the API server 2025-10-02 02:54:47,479 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-02 02:54:47,789 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-02 02:54:47,816 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b0543e69-2184-4be1-8e23-ac5840233bc6 2025-10-02 02:54:47,831 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/e4f53240-1cc9-4b5e-bbc1-9e6c6a9c628d 2025-10-02 02:54:48,487 - DEBUG - Response for create_network : {'network': {'id': '06625eec-d320-43c4-b2a3-4b8779d07e94', 'name': 'ctest-vn1-vdns-79786111', 'tenant_id': 'f44adcad73854135baba91d52fe9f78e', 'project_id': 'f44adcad73854135baba91d52fe9f78e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-37351150', 'ctest-vn1-vdns-79786111'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 02:54:48,798 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd21c32d1-74c8-4bdc-87a3-711d4b32294a', 'name': '', 'tenant_id': 'f44adcad73854135baba91d52fe9f78e', 'network_id': '06625eec-d320-43c4-b2a3-4b8779d07e94', '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': 'f44adcad73854135baba91d52fe9f78e'}} 2025-10-02 02:54:48,829 - INFO - Created VN ctest-vn1-vdns-79786111 2025-10-02 02:54:48,841 - DEBUG - VN ctest-vn1-vdns-79786111 UUID is 06625eec-d320-43c4-b2a3-4b8779d07e94 2025-10-02 02:54:49,011 - DEBUG - Services list from nova: [, , , ] 2025-10-02 02:54:50,023 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4210-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4210-2) 2025-10-02 02:54:50,023 - INFO - Waiting for VM ctest-vm1-test-30976286 to be up.. 2025-10-02 02:54:50,061 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 02:54:55,134 - DEBUG - VM is in ACTIVE state now 2025-10-02 02:54:55,134 - INFO - VM name : ctest-vm1-test-30976286 2025-10-02 02:54:55,207 - DEBUG - VM ctest-vm1-test-30976286 ID is 3da4e46c-081a-4054-ba92-9b3e4ee722ab 2025-10-02 02:54:55,207 - DEBUG - VM ctest-vm1-test-30976286 launched on Node an-jenkins-deploy-platform-ansible-os-4210-2 2025-10-02 02:54:55,292 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/3da4e46c-081a-4054-ba92-9b3e4ee722ab 2025-10-02 02:54:55,596 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/3da4e46c-081a-4054-ba92-9b3e4ee722ab 2025-10-02 02:54:55,624 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/99c55278-5983-4582-b5d1-b09b47abedd5 2025-10-02 02:54:58,793 - 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 1007ms') 2025-10-02 02:54:58,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30976286 failed! 2025-10-02 02:54:58,809 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:55:02,889 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2025-10-02 02:55:02,889 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30976286 failed! 2025-10-02 02:55:02,901 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:55:06,987 - 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-10-02 02:55:06,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30976286 failed! 2025-10-02 02:55:07,004 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:55:11,079 - 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-02 02:55:11,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30976286 failed! 2025-10-02 02:55:11,096 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:55:15,168 - 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-02 02:55:15,168 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30976286 failed! 2025-10-02 02:55:15,182 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:55:19,267 - 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 1026ms') 2025-10-02 02:55:19,267 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30976286 failed! 2025-10-02 02:55:19,282 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:55:23,362 - 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 1023ms') 2025-10-02 02:55:23,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30976286 failed! 2025-10-02 02:55:23,378 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:55:27,462 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-10-02 02:55:27,462 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30976286 failed! 2025-10-02 02:55:27,474 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:55:31,562 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.78 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 3.778/3.778/3.778/0.000 ms') 2025-10-02 02:55:31,562 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30976286 passed 2025-10-02 02:55:31,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:55:31,636 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30976286, IP 10.10.10.3, Port 22 2025-10-02 02:55:31,704 - 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-02 02:55:31,788 - DEBUG - VM ctest-vm1-test-30976286 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-02 02:55:36,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:55:36,789 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30976286, IP 10.10.10.3, Port 22 2025-10-02 02:55:36,847 - 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-02 02:55:36,947 - DEBUG - VM ctest-vm1-test-30976286 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-02 02:55:41,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:55:41,948 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30976286, IP 10.10.10.3, Port 22 2025-10-02 02:55:42,014 - 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-02 02:55:42,089 - DEBUG - VM ctest-vm1-test-30976286 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-02 02:55:47,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:55:47,090 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30976286, IP 10.10.10.3, Port 22 2025-10-02 02:55:47,157 - 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-02 02:55:47,257 - DEBUG - VM ctest-vm1-test-30976286 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-02 02:55:52,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:55:52,258 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30976286, IP 10.10.10.3, Port 22 2025-10-02 02:55:52,425 - DEBUG - VM ctest-vm1-test-30976286 is ready for SSH connections 2025-10-02 02:55:52,425 - 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-10-02 02:55:52,426 - DEBUG - ifconfig | grep 10.10.10.3 2025-10-02 02:56:12,356 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-02 02:56:12,356 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-30976286", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-02 02:56:12,356 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-30976286", None, socket.AF_INET6)' 2025-10-02 02:56:13,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-30976286, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-02 02:56:13,759 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-30976286 2025-10-02 02:56:16,276 - DEBUG - PING ctest-vm1-test-30976286.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-30976286.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.38 ms 64 bytes from ctest-vm1-test-30976286.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.328 ms 64 bytes from ctest-vm1-test-30976286.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.352 ms --- ctest-vm1-test-30976286.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.328/1.022/2.388/0.966 ms 2025-10-02 02:56:16,276 - INFO - Ping to IP ctest-vm1-test-30976286 from VM ctest-vm1-test-30976286 passed 2025-10-02 02:56:16,300 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-02 02:56:16,306 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75602159@0%20AllEntriesVdnsRecordsReq 2025-10-02 02:56:16,310 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-02 02:56:16,315 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75602159@0%20AllEntriesVdnsRecordsReq 2025-10-02 02:56:16,322 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-02 02:56:16,326 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75602159@0%20AllEntriesVdnsRecordsReq 2025-10-02 02:56:16,332 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-75602159:1:ctest-vm1-test-30976286:10.10.10.3', 'rec_name': 'ctest-vm1-test-30976286', '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-4210-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-30976286.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-02 02:56:16,332 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-75602159:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-30976286', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-30976286', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4210-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-30976286.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-02 02:56:17,517 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4210-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4210-1) 2025-10-02 02:56:17,517 - INFO - Waiting for VM ctest-vm2-test-00474508 to be up.. 2025-10-02 02:56:17,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 02:56:22,641 - DEBUG - VM is in ACTIVE state now 2025-10-02 02:56:22,641 - INFO - VM name : ctest-vm2-test-00474508 2025-10-02 02:56:22,717 - DEBUG - VM ctest-vm2-test-00474508 ID is e81a1ecb-a322-4f97-b86d-3894743b3089 2025-10-02 02:56:22,717 - DEBUG - VM ctest-vm2-test-00474508 launched on Node an-jenkins-deploy-platform-ansible-os-4210-1 2025-10-02 02:56:22,796 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e81a1ecb-a322-4f97-b86d-3894743b3089 2025-10-02 02:56:22,806 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/b8bc09c4-a15f-4f9b-8373-7e7dcc073802 2025-10-02 02:56:25,979 - 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 1024ms') 2025-10-02 02:56:25,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00474508 failed! 2025-10-02 02:56:25,993 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:56:30,077 - 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 1027ms') 2025-10-02 02:56:30,077 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00474508 failed! 2025-10-02 02:56:30,093 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:56:34,178 - 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 1024ms') 2025-10-02 02:56:34,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00474508 failed! 2025-10-02 02:56:34,197 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:56:38,270 - 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-02 02:56:38,270 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00474508 failed! 2025-10-02 02:56:38,283 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:56:42,372 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-10-02 02:56:42,372 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00474508 failed! 2025-10-02 02:56:42,385 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:56:46,464 - 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-02 02:56:46,465 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00474508 failed! 2025-10-02 02:56:46,477 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:56:50,561 - 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 1023ms') 2025-10-02 02:56:50,561 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00474508 failed! 2025-10-02 02:56:50,574 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:56:54,659 - 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 1023ms') 2025-10-02 02:56:54,659 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00474508 failed! 2025-10-02 02:56:54,672 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-37351150:ctest-vn1-vdns-79786111 is 10.10.10.1 and allocation pool is NOT set 2025-10-02 02:56:56,733 - 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=5.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.840/3.757/5.675/1.917 ms') 2025-10-02 02:56:56,733 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-00474508 passed 2025-10-02 02:56:56,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:56:56,804 - DEBUG - Waiting to SSH to VM ctest-vm2-test-00474508, IP 10.10.10.4, Port 22 2025-10-02 02:56:56,872 - 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-02 02:56:56,964 - DEBUG - VM ctest-vm2-test-00474508 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-02 02:57:01,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:57:01,965 - DEBUG - Waiting to SSH to VM ctest-vm2-test-00474508, IP 10.10.10.4, Port 22 2025-10-02 02:57:02,031 - 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-02 02:57:02,110 - DEBUG - VM ctest-vm2-test-00474508 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-02 02:57:07,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:57:07,111 - DEBUG - Waiting to SSH to VM ctest-vm2-test-00474508, IP 10.10.10.4, Port 22 2025-10-02 02:57:07,179 - 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-02 02:57:07,266 - DEBUG - VM ctest-vm2-test-00474508 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-02 02:57:12,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 02:57:12,267 - DEBUG - Waiting to SSH to VM ctest-vm2-test-00474508, IP 10.10.10.4, Port 22 2025-10-02 02:57:12,431 - DEBUG - VM ctest-vm2-test-00474508 is ready for SSH connections 2025-10-02 02:57:12,431 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-02 02:57:12,431 - DEBUG - ifconfig | grep 10.10.10.4 2025-10-02 02:57:31,305 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-02 02:57:31,306 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-00474508", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-02 02:57:31,306 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-00474508", None, socket.AF_INET6)' 2025-10-02 02:57:33,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-00474508, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-02 02:57:33,899 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-00474508 2025-10-02 02:57:36,406 - DEBUG - PING ctest-vm2-test-00474508.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-00474508.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.07 ms 64 bytes from ctest-vm2-test-00474508.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.223 ms 64 bytes from ctest-vm2-test-00474508.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.284 ms --- ctest-vm2-test-00474508.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.223/1.527/4.074/1.801 ms 2025-10-02 02:57:36,406 - INFO - Ping to IP ctest-vm2-test-00474508 from VM ctest-vm2-test-00474508 passed 2025-10-02 02:57:36,437 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-02 02:57:36,445 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75602159@0%20AllEntriesVdnsRecordsReq 2025-10-02 02:57:36,450 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-02 02:57:36,461 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75602159@0%20AllEntriesVdnsRecordsReq 2025-10-02 02:57:36,469 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-02 02:57:36,478 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-75602159@0%20AllEntriesVdnsRecordsReq 2025-10-02 02:57:36,487 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-75602159:1:ctest-vm2-test-00474508:10.10.10.4', 'rec_name': 'ctest-vm2-test-00474508', '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-4210-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-00474508.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-02 02:57:36,487 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-75602159:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-00474508', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-00474508', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4210-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-00474508.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-02 02:57:36,487 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-00474508", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-02 02:57:36,487 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-00474508", None, socket.AF_INET6)' 2025-10-02 02:57:37,677 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-00474508, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-02 02:57:37,677 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-00474508 2025-10-02 02:57:40,204 - DEBUG - PING ctest-vm2-test-00474508.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-00474508.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.47 ms 64 bytes from ctest-vm2-test-00474508.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.84 ms 64 bytes from ctest-vm2-test-00474508.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.63 ms --- ctest-vm2-test-00474508.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.635/3.652/7.473/2.703 ms 2025-10-02 02:57:40,205 - INFO - Ping to IP ctest-vm2-test-00474508 from VM ctest-vm1-test-30976286 passed 2025-10-02 02:57:40,205 - INFO - Try deleting the VDNS entry ctest-vdns1-75602159 with back ref of ipam. 2025-10-02 02:57:40,262 - DEBUG - Delete when resource still referred: ['http://10.0.0.49:8082/network-ipam/8fcb6077-e9a4-4d86-9a8e-f6f9607392e1'] 2025-10-02 02:57:40,262 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-10-02 02:57:40,263 - INFO - Add CNAME VDNS record for ctest-vm1-test-30976286 and verify we able to ping by alias name 2025-10-02 02:57:40,310 - DEBUG - Creating VDNS record data : test-rec 2025-10-02 02:57:40,426 - INFO - In verify_on_setup 2025-10-02 02:57:40,522 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-75602159', 'test-rec'] created succesfully 2025-10-02 02:57:40,523 - INFO - Verify VDNS record is shown in the API server 2025-10-02 02:57:40,523 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-02 02:57:40,529 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b0543e69-2184-4be1-8e23-ac5840233bc6 2025-10-02 02:57:40,544 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/e4f53240-1cc9-4b5e-bbc1-9e6c6a9c628d 2025-10-02 02:57:40,555 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS-record/3fc00fa8-dbf9-47c0-be8d-5d7913a8d8a0 2025-10-02 02:57:40,561 - INFO - Verify VDNS record is shown in the control node 2025-10-02 02:57:40,577 - 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-10-02 02:57:40,577 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-02 02:57:41,740 - 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-10-02 02:57:41,741 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-02 02:57:42,247 - DEBUG - ping: unknown host vm1-test-alias 2025-10-02 02:57:42,247 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-30976286 failed 2025-10-02 02:57:43,248 - 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-10-02 02:57:43,248 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-02 02:57:44,422 - 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-10-02 02:57:44,422 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-02 02:57:46,979 - DEBUG - PING ctest-vm1-test-30976286.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-30976286.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.87 ms 64 bytes from ctest-vm1-test-30976286.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.292 ms 64 bytes from ctest-vm1-test-30976286.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.307 ms --- ctest-vm1-test-30976286.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.292/1.157/2.873/1.213 ms 2025-10-02 02:57:46,979 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-30976286 passed 2025-10-02 02:57:46,979 - DEBUG - Deleting VDNS record data: test-rec 2025-10-02 02:57:47,066 - INFO - VDNS record info: default-domain:ctest-vdns1-75602159:test-rec deleted successfully. 2025-10-02 02:57:47,067 - INFO - Deleting VM ctest-vm2-test-00474508 2025-10-02 02:57:47,129 - INFO - Deleting VM ctest-vm1-test-30976286 2025-10-02 02:57:47,196 - INFO - Deleting VN ctest-vn1-vdns-79786111 2025-10-02 02:57:47,236 - DEBUG - VN 06625eec-d320-43c4-b2a3-4b8779d07e94 still in use: Unable to complete operation on network 06625eec-d320-43c4-b2a3-4b8779d07e94. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec7ff4dc-fdb7-45e7-9a50-cad85aecc461'] 2025-10-02 02:57:47,236 - WARNING - Deleting VN ctest-vn1-vdns-79786111 failed..Will retry 2025-10-02 02:57:49,404 - DEBUG - Response for deleting network () 2025-10-02 02:57:49,471 - DEBUG - Deleting VDNS Entry: ctest-vdns1-75602159 2025-10-02 02:57:49,566 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-75602159'] deleted successfully. 2025-10-02 02:57:49,567 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-02 02:57:49,577 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b0543e69-2184-4be1-8e23-ac5840233bc6 2025-10-02 02:57:49,595 - DEBUG - VDNS information not found in API server 2025-10-02 02:57:49,595 - INFO - VDNS information ctest-vdns1-75602159 removed from the API Server 2025-10-02 02:57:49,601 - INFO - VDNS information ctest-vdns1-75602159 removed in the Control node 2025-10-02 02:57:49,601 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-37351150'] 2025-10-02 02:57:50,861 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 02:57:50,861 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:05]
2025-10-02 02:57:50,861 - INFO - -------------------------------------------------------------------------------- 2025-10-02 02:57:51,611 - INFO - Deleted project: ctest-TestvDNSBasic0-37351150, ID : f44adcad-7385-4135-baba-91d52fe9f78e