2025-08-07 19:22:27,108 - INFO - Domain Default found not creating 2025-08-07 19:22:27,283 - INFO - Project ctest-TestvDNSBasic0-01750907 not found, creating it 2025-08-07 19:22:27,891 - INFO - Created Project:ctest-TestvDNSBasic0-01750907, ID : f16db167-c55c-4d92-90fa-8a7576bcb418 2025-08-07 19:22:29,500 - INFO - ================================================================================ 2025-08-07 19:22:29,500 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-07 19:22:29,501 - 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-08-07 19:22:30,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0', '10.20.0.193': '0'}, '10.0.0.242': {'10.20.0.14': '0', '10.20.0.193': '0'}} with 2025-08-07 19:22:30,839 - INFO - Initial checks done. Running the testcase now 2025-08-07 19:22:30,839 - INFO - 2025-08-07 19:22:31,588 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-01750907'](f16db167-c55c-4d92-90fa-8a7576bcb418) 2025-08-07 19:22:31,655 - DEBUG - Creating VDNS : ctest-vdns1-38317363 2025-08-07 19:22:31,891 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-38317363'] created succesfully 2025-08-07 19:22:31,891 - DEBUG - Verify VDNS entry is shown in control node 2025-08-07 19:22:31,915 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-07 19:22:31,916 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-08-07 19:22:32,243 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-08-07 19:22:32,277 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e058ca0e-02ca-4506-8888-1a040ca13521 2025-08-07 19:22:32,302 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS/855d3042-2e0c-4cab-aa4b-b99f62a5d4c9 2025-08-07 19:22:33,115 - DEBUG - Response for create_network : {'network': {'id': '3333d8c3-9495-4c50-9cac-32423e7d7ea3', 'name': 'ctest-vn1-vdns-13880012', 'tenant_id': 'f16db167c55c4d9290fa8a7576bcb418', 'project_id': 'f16db167c55c4d9290fa8a7576bcb418', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-01750907', 'ctest-vn1-vdns-13880012'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 19:22:33,528 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e7e8cee-6c46-4958-a39a-25691ed61c4f', 'name': '', 'tenant_id': 'f16db167c55c4d9290fa8a7576bcb418', 'network_id': '3333d8c3-9495-4c50-9cac-32423e7d7ea3', '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': 'f16db167c55c4d9290fa8a7576bcb418'}} 2025-08-07 19:22:33,590 - INFO - Created VN ctest-vn1-vdns-13880012 2025-08-07 19:22:33,624 - DEBUG - VN ctest-vn1-vdns-13880012 UUID is 3333d8c3-9495-4c50-9cac-32423e7d7ea3 2025-08-07 19:22:33,949 - DEBUG - Services list from nova: [, , , ] 2025-08-07 19:22:35,094 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3775-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3775-2) 2025-08-07 19:22:35,094 - INFO - Waiting for VM ctest-vm1-test-43824377 to be up.. 2025-08-07 19:22:35,148 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 19:22:40,235 - DEBUG - VM is in ACTIVE state now 2025-08-07 19:22:40,235 - INFO - VM name : ctest-vm1-test-43824377 2025-08-07 19:22:40,322 - DEBUG - VM ctest-vm1-test-43824377 ID is 22af3449-0561-4320-acbb-7ff360cf4c3e 2025-08-07 19:22:40,322 - DEBUG - VM ctest-vm1-test-43824377 launched on Node an-jenkins-deploy-platform-ansible-os-3775-2 2025-08-07 19:22:40,419 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/22af3449-0561-4320-acbb-7ff360cf4c3e 2025-08-07 19:22:40,720 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/22af3449-0561-4320-acbb-7ff360cf4c3e 2025-08-07 19:22:40,759 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/b1c28e12-c473-49ca-94e9-2bd54fe17fb7 2025-08-07 19:22:44,010 - 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-08-07 19:22:44,010 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-43824377 failed! 2025-08-07 19:22:44,029 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:22:48,097 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2025-08-07 19:22:48,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-43824377 failed! 2025-08-07 19:22:48,117 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:22:52,200 - 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-08-07 19:22:52,200 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-43824377 failed! 2025-08-07 19:22:52,217 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:22:56,297 - 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-08-07 19:22:56,297 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-43824377 failed! 2025-08-07 19:22:56,313 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:23:00,395 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-08-07 19:23:00,395 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-43824377 failed! 2025-08-07 19:23:00,413 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:23:04,482 - 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 1006ms') 2025-08-07 19:23:04,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-43824377 failed! 2025-08-07 19:23:04,506 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:23:08,580 - 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 1009ms') 2025-08-07 19:23:08,580 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-43824377 failed! 2025-08-07 19:23:08,598 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:23:12,678 - 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-08-07 19:23:12,678 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-43824377 failed! 2025-08-07 19:23:12,694 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:23:16,771 - 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-08-07 19:23:16,771 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-43824377 failed! 2025-08-07 19:23:16,788 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:23:18,862 - 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=17.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.01 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.013/10.284/17.556/7.271 ms') 2025-08-07 19:23:18,862 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-43824377 passed 2025-08-07 19:23:18,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:23:18,986 - DEBUG - Waiting to SSH to VM ctest-vm1-test-43824377, IP 10.10.10.3, Port 22 2025-08-07 19:23:19,054 - 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-08-07 19:23:19,155 - DEBUG - VM ctest-vm1-test-43824377 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 19:23:24,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:23:24,156 - DEBUG - Waiting to SSH to VM ctest-vm1-test-43824377, IP 10.10.10.3, Port 22 2025-08-07 19:23:24,222 - 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-08-07 19:23:24,312 - DEBUG - VM ctest-vm1-test-43824377 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 19:23:29,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:23:29,314 - DEBUG - Waiting to SSH to VM ctest-vm1-test-43824377, IP 10.10.10.3, Port 22 2025-08-07 19:23:29,382 - 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-08-07 19:23:29,471 - DEBUG - VM ctest-vm1-test-43824377 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 19:23:34,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:23:34,471 - DEBUG - Waiting to SSH to VM ctest-vm1-test-43824377, IP 10.10.10.3, Port 22 2025-08-07 19:23:34,538 - 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-08-07 19:23:34,637 - DEBUG - VM ctest-vm1-test-43824377 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 19:23:39,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:23:39,639 - DEBUG - Waiting to SSH to VM ctest-vm1-test-43824377, IP 10.10.10.3, Port 22 2025-08-07 19:23:39,815 - DEBUG - VM ctest-vm1-test-43824377 is ready for SSH connections 2025-08-07 19:23:39,815 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-07 19:23:39,815 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-07 19:24:04,534 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-07 19:24:04,534 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-43824377", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-07 19:24:04,534 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-43824377", None, socket.AF_INET6)' 2025-08-07 19:24:07,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-43824377, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-07 19:24:07,697 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-43824377 2025-08-07 19:24:10,903 - DEBUG - PING ctest-vm1-test-43824377.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-43824377.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.08 ms 64 bytes from ctest-vm1-test-43824377.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.228 ms 64 bytes from ctest-vm1-test-43824377.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.203 ms --- ctest-vm1-test-43824377.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.203/1.506/4.088/1.825 ms 2025-08-07 19:24:10,904 - INFO - Ping to IP ctest-vm1-test-43824377 from VM ctest-vm1-test-43824377 passed 2025-08-07 19:24:10,932 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 19:24:10,941 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-38317363@0%20AllEntriesVdnsRecordsReq 2025-08-07 19:24:10,948 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 19:24:10,956 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-38317363@0%20AllEntriesVdnsRecordsReq 2025-08-07 19:24:10,963 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 19:24:10,969 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-38317363@0%20AllEntriesVdnsRecordsReq 2025-08-07 19:24:10,977 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-38317363:1:ctest-vm1-test-43824377:10.10.10.3', 'rec_name': 'ctest-vm1-test-43824377', '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-3775-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-43824377.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-07 19:24:10,977 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-38317363:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-43824377', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-43824377', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3775-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-43824377.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-08-07 19:24:12,364 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3775-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3775-1) 2025-08-07 19:24:12,364 - INFO - Waiting for VM ctest-vm2-test-98116150 to be up.. 2025-08-07 19:24:12,436 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 19:24:17,535 - DEBUG - VM is in ACTIVE state now 2025-08-07 19:24:17,535 - INFO - VM name : ctest-vm2-test-98116150 2025-08-07 19:24:17,623 - DEBUG - VM ctest-vm2-test-98116150 ID is 67de34a3-29e7-46f9-9258-45ecd7eb10a3 2025-08-07 19:24:17,623 - DEBUG - VM ctest-vm2-test-98116150 launched on Node an-jenkins-deploy-platform-ansible-os-3775-1 2025-08-07 19:24:17,718 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/67de34a3-29e7-46f9-9258-45ecd7eb10a3 2025-08-07 19:24:17,732 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/02b14e68-ec1b-4211-bbd2-6b1f2cf7db18 2025-08-07 19:24:21,001 - 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-08-07 19:24:21,002 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-98116150 failed! 2025-08-07 19:24:21,024 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:24:25,098 - 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-08-07 19:24:25,098 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-98116150 failed! 2025-08-07 19:24:25,114 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:24:29,221 - 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-08-07 19:24:29,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-98116150 failed! 2025-08-07 19:24:29,245 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:24:33,319 - 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-08-07 19:24:33,319 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-98116150 failed! 2025-08-07 19:24:33,342 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:24:37,449 - 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 1033ms') 2025-08-07 19:24:37,449 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-98116150 failed! 2025-08-07 19:24:37,465 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:24:41,579 - 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-08-07 19:24:41,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-98116150 failed! 2025-08-07 19:24:41,596 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:24:45,671 - 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-08-07 19:24:45,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-98116150 failed! 2025-08-07 19:24:45,690 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:24:49,801 - 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-08-07 19:24:49,801 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-98116150 failed! 2025-08-07 19:24:49,819 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01750907:ctest-vn1-vdns-13880012 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 19:24:51,891 - 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=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.61 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.607/6.820/11.034/4.213 ms') 2025-08-07 19:24:51,892 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-98116150 passed 2025-08-07 19:24:52,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:24:52,004 - DEBUG - Waiting to SSH to VM ctest-vm2-test-98116150, IP 10.10.10.4, Port 22 2025-08-07 19:24:52,103 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-07 19:24:52,198 - DEBUG - VM ctest-vm2-test-98116150 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 19:24:57,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:24:57,200 - DEBUG - Waiting to SSH to VM ctest-vm2-test-98116150, IP 10.10.10.4, Port 22 2025-08-07 19:24:57,267 - 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-08-07 19:24:57,359 - DEBUG - VM ctest-vm2-test-98116150 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 19:25:02,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:25:02,360 - DEBUG - Waiting to SSH to VM ctest-vm2-test-98116150, IP 10.10.10.4, Port 22 2025-08-07 19:25:02,434 - 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-08-07 19:25:02,571 - DEBUG - VM ctest-vm2-test-98116150 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 19:25:07,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:25:07,572 - DEBUG - Waiting to SSH to VM ctest-vm2-test-98116150, IP 10.10.10.4, Port 22 2025-08-07 19:25:07,638 - 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-08-07 19:25:07,730 - DEBUG - VM ctest-vm2-test-98116150 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 19:25:12,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:25:12,731 - DEBUG - Waiting to SSH to VM ctest-vm2-test-98116150, IP 10.10.10.4, Port 22 2025-08-07 19:25:12,912 - DEBUG - VM ctest-vm2-test-98116150 is ready for SSH connections 2025-08-07 19:25:12,913 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-07 19:25:12,913 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-07 19:25:33,772 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-07 19:25:33,772 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-98116150", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-07 19:25:33,772 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-98116150", None, socket.AF_INET6)' 2025-08-07 19:25:36,605 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-98116150, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-07 19:25:36,606 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-98116150 2025-08-07 19:25:39,554 - DEBUG - PING ctest-vm2-test-98116150.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-98116150.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.96 ms 64 bytes from ctest-vm2-test-98116150.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.204 ms 64 bytes from ctest-vm2-test-98116150.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.184 ms --- ctest-vm2-test-98116150.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.184/1.117/2.965/1.306 ms 2025-08-07 19:25:39,554 - INFO - Ping to IP ctest-vm2-test-98116150 from VM ctest-vm2-test-98116150 passed 2025-08-07 19:25:39,587 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 19:25:39,596 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-38317363@0%20AllEntriesVdnsRecordsReq 2025-08-07 19:25:39,604 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 19:25:39,611 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-38317363@0%20AllEntriesVdnsRecordsReq 2025-08-07 19:25:39,617 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 19:25:39,622 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-38317363@0%20AllEntriesVdnsRecordsReq 2025-08-07 19:25:39,629 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-38317363:1:ctest-vm2-test-98116150:10.10.10.4', 'rec_name': 'ctest-vm2-test-98116150', '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-3775-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-98116150.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-07 19:25:39,629 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-38317363:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-98116150', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-98116150', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3775-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-98116150.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-08-07 19:25:39,629 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-98116150", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-07 19:25:39,629 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-98116150", None, socket.AF_INET6)' 2025-08-07 19:25:41,009 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-98116150, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-07 19:25:41,009 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-98116150 2025-08-07 19:25:43,629 - DEBUG - PING ctest-vm2-test-98116150.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-98116150.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=28.7 ms 64 bytes from ctest-vm2-test-98116150.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.19 ms 64 bytes from ctest-vm2-test-98116150.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=2.03 ms --- ctest-vm2-test-98116150.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 2.031/10.981/28.716/12.540 ms 2025-08-07 19:25:43,630 - INFO - Ping to IP ctest-vm2-test-98116150 from VM ctest-vm1-test-43824377 passed 2025-08-07 19:25:43,630 - INFO - Try deleting the VDNS entry ctest-vdns1-38317363 with back ref of ipam. 2025-08-07 19:25:43,695 - DEBUG - Delete when resource still referred: ['http://10.0.0.241:8082/network-ipam/988994a3-0ec4-4ed8-beb7-ba36d1bb8065'] 2025-08-07 19:25:43,695 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-07 19:25:43,695 - INFO - Add CNAME VDNS record for ctest-vm1-test-43824377 and verify we able to ping by alias name 2025-08-07 19:25:43,747 - DEBUG - Creating VDNS record data : test-rec 2025-08-07 19:25:43,879 - INFO - In verify_on_setup 2025-08-07 19:25:43,979 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-38317363', 'test-rec'] created succesfully 2025-08-07 19:25:43,979 - INFO - Verify VDNS record is shown in the API server 2025-08-07 19:25:43,979 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-08-07 19:25:43,986 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e058ca0e-02ca-4506-8888-1a040ca13521 2025-08-07 19:25:44,010 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS/855d3042-2e0c-4cab-aa4b-b99f62a5d4c9 2025-08-07 19:25:44,024 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS-record/081ac43b-be69-4183-abb0-d97ef2424eb9 2025-08-07 19:25:44,033 - INFO - Verify VDNS record is shown in the control node 2025-08-07 19:25:44,055 - 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.242, gateway password: c0ntrail123 2025-08-07 19:25:44,055 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-07 19:25:45,353 - 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.242, gateway password: c0ntrail123 2025-08-07 19:25:45,354 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-07 19:25:45,941 - DEBUG - ping: unknown host vm1-test-alias 2025-08-07 19:25:45,941 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-43824377 failed 2025-08-07 19:25:46,942 - 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.242, gateway password: c0ntrail123 2025-08-07 19:25:46,943 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-07 19:25:48,283 - 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.242, gateway password: c0ntrail123 2025-08-07 19:25:48,284 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-07 19:25:50,912 - DEBUG - PING ctest-vm1-test-43824377.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-43824377.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.237 ms 64 bytes from ctest-vm1-test-43824377.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.293 ms 64 bytes from ctest-vm1-test-43824377.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.249 ms --- ctest-vm1-test-43824377.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.237/0.259/0.293/0.030 ms 2025-08-07 19:25:50,912 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-43824377 passed 2025-08-07 19:25:50,912 - DEBUG - Deleting VDNS record data: test-rec 2025-08-07 19:25:51,003 - INFO - VDNS record info: default-domain:ctest-vdns1-38317363:test-rec deleted successfully. 2025-08-07 19:25:51,003 - INFO - Deleting VM ctest-vm2-test-98116150 2025-08-07 19:25:51,085 - INFO - Deleting VM ctest-vm1-test-43824377 2025-08-07 19:25:51,168 - INFO - Deleting VN ctest-vn1-vdns-13880012 2025-08-07 19:25:51,217 - DEBUG - VN 3333d8c3-9495-4c50-9cac-32423e7d7ea3 still in use: Unable to complete operation on network 3333d8c3-9495-4c50-9cac-32423e7d7ea3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34328136-291c-433f-b533-92782611022e'] 2025-08-07 19:25:51,217 - WARNING - Deleting VN ctest-vn1-vdns-13880012 failed..Will retry 2025-08-07 19:25:53,446 - DEBUG - Response for deleting network () 2025-08-07 19:25:53,524 - DEBUG - Deleting VDNS Entry: ctest-vdns1-38317363 2025-08-07 19:25:53,619 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-38317363'] deleted successfully. 2025-08-07 19:25:53,620 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-08-07 19:25:53,629 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e058ca0e-02ca-4506-8888-1a040ca13521 2025-08-07 19:25:53,649 - DEBUG - VDNS information not found in API server 2025-08-07 19:25:53,649 - INFO - VDNS information ctest-vdns1-38317363 removed from the API Server 2025-08-07 19:25:53,655 - INFO - VDNS information ctest-vdns1-38317363 removed in the Control node 2025-08-07 19:25:53,655 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-01750907'] 2025-08-07 19:25:54,984 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 19:25:54,985 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:25] 2025-08-07 19:25:54,985 - INFO - -------------------------------------------------------------------------------- 2025-08-07 19:25:55,742 - INFO - Deleted project: ctest-TestvDNSBasic0-01750907, ID : f16db167-c55c-4d92-90fa-8a7576bcb418