2025-11-06 03:16:46,294 - INFO - Domain Default found not creating 2025-11-06 03:16:46,448 - INFO - Project ctest-TestvDNSBasic0-48959187 not found, creating it 2025-11-06 03:16:47,122 - INFO - Created Project:ctest-TestvDNSBasic0-48959187, ID : 78ec0edf-2d22-400d-9c88-77f0aac95d01 2025-11-06 03:16:48,650 - INFO - ================================================================================ 2025-11-06 03:16:48,650 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-11-06 03:16:48,650 - 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-11-06 03:16:49,970 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.133': {'10.20.0.252': '0', '10.20.0.249': '0'}} with 2025-11-06 03:16:49,970 - INFO - Initial checks done. Running the testcase now 2025-11-06 03:16:49,970 - INFO - 2025-11-06 03:16:50,707 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-48959187'](78ec0edf-2d22-400d-9c88-77f0aac95d01) 2025-11-06 03:16:50,762 - DEBUG - Creating VDNS : ctest-vdns1-92388323 2025-11-06 03:16:51,006 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-92388323'] created succesfully 2025-11-06 03:16:51,006 - DEBUG - Verify VDNS entry is shown in control node 2025-11-06 03:16:51,026 - DEBUG - Verify VDNS entry is shown in the API server 2025-11-06 03:16:51,026 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-06 03:16:51,334 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-06 03:16:51,366 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dd557474-6eee-442f-acdf-559f4d754f9d 2025-11-06 03:16:51,384 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/45d9e40e-5fa3-4c09-8947-bf5ebfb5245a 2025-11-06 03:16:52,157 - DEBUG - Response for create_network : {'network': {'id': '80ca1f72-6b0b-4c78-910a-98074839f4ed', 'name': 'ctest-vn1-vdns-30899443', 'tenant_id': '78ec0edf2d22400d9c8877f0aac95d01', 'project_id': '78ec0edf2d22400d9c8877f0aac95d01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-48959187', 'ctest-vn1-vdns-30899443'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 03:16:52,500 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8172cd9-38ee-4d52-a630-7be245b98a82', 'name': '', 'tenant_id': '78ec0edf2d22400d9c8877f0aac95d01', 'network_id': '80ca1f72-6b0b-4c78-910a-98074839f4ed', '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': '78ec0edf2d22400d9c8877f0aac95d01'}} 2025-11-06 03:16:52,530 - INFO - Created VN ctest-vn1-vdns-30899443 2025-11-06 03:16:52,542 - DEBUG - VN ctest-vn1-vdns-30899443 UUID is 80ca1f72-6b0b-4c78-910a-98074839f4ed 2025-11-06 03:16:52,734 - DEBUG - Services list from nova: [, , , ] 2025-11-06 03:16:53,816 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-2) 2025-11-06 03:16:53,817 - INFO - Waiting for VM ctest-vm1-test-37714999 to be up.. 2025-11-06 03:16:53,871 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 03:16:58,958 - DEBUG - VM is in ACTIVE state now 2025-11-06 03:16:58,958 - INFO - VM name : ctest-vm1-test-37714999 2025-11-06 03:16:59,043 - DEBUG - VM ctest-vm1-test-37714999 ID is b49619e3-8577-4f41-958d-92aafce543a9 2025-11-06 03:16:59,043 - DEBUG - VM ctest-vm1-test-37714999 launched on Node an-jenkins-deploy-platform-ansible-os-4662-2 2025-11-06 03:16:59,123 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/b49619e3-8577-4f41-958d-92aafce543a9 2025-11-06 03:16:59,421 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/b49619e3-8577-4f41-958d-92aafce543a9 2025-11-06 03:16:59,456 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/4e931519-14fa-4cc2-9dda-a2b74db09f31 2025-11-06 03:17:02,639 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2025-11-06 03:17:02,640 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37714999 failed! 2025-11-06 03:17:02,659 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:17:06,741 - 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-11-06 03:17:06,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37714999 failed! 2025-11-06 03:17:06,756 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:17:10,836 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2025-11-06 03:17:10,836 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37714999 failed! 2025-11-06 03:17:10,854 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:17:14,927 - 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-11-06 03:17:14,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37714999 failed! 2025-11-06 03:17:14,946 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:17:19,025 - 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-11-06 03:17:19,025 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37714999 failed! 2025-11-06 03:17:19,043 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:17:23,121 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2025-11-06 03:17:23,121 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37714999 failed! 2025-11-06 03:17:23,137 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:17:27,215 - 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-11-06 03:17:27,215 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37714999 failed! 2025-11-06 03:17:27,231 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:17:31,311 - 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-11-06 03:17:31,311 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37714999 failed! 2025-11-06 03:17:31,326 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:17:35,413 - 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-11-06 03:17:35,413 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37714999 failed! 2025-11-06 03:17:35,430 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:17:37,494 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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.518/4.200/6.882/2.682 ms') 2025-11-06 03:17:37,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-37714999 passed 2025-11-06 03:17:37,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:17:37,568 - DEBUG - Waiting to SSH to VM ctest-vm1-test-37714999, IP 10.10.10.3, Port 22 2025-11-06 03:17:37,633 - 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-11-06 03:17:37,711 - DEBUG - VM ctest-vm1-test-37714999 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:17:42,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:17:42,712 - DEBUG - Waiting to SSH to VM ctest-vm1-test-37714999, IP 10.10.10.3, Port 22 2025-11-06 03:17:42,778 - 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-11-06 03:17:42,877 - DEBUG - VM ctest-vm1-test-37714999 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:17:47,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:17:47,878 - DEBUG - Waiting to SSH to VM ctest-vm1-test-37714999, IP 10.10.10.3, Port 22 2025-11-06 03:17:47,945 - 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-11-06 03:17:48,035 - DEBUG - VM ctest-vm1-test-37714999 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:17:53,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:17:53,036 - DEBUG - Waiting to SSH to VM ctest-vm1-test-37714999, IP 10.10.10.3, Port 22 2025-11-06 03:17:53,104 - 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-11-06 03:17:53,186 - DEBUG - VM ctest-vm1-test-37714999 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:17:58,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:17:58,187 - DEBUG - Waiting to SSH to VM ctest-vm1-test-37714999, IP 10.10.10.3, Port 22 2025-11-06 03:17:58,353 - DEBUG - VM ctest-vm1-test-37714999 is ready for SSH connections 2025-11-06 03:17:58,353 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-11-06 03:17:58,353 - DEBUG - ifconfig | grep 10.10.10.3 2025-11-06 03:18:20,699 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-11-06 03:18:20,699 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-37714999", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-11-06 03:18:20,699 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-37714999", None, socket.AF_INET6)' 2025-11-06 03:18:23,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-37714999, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-11-06 03:18:23,279 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-37714999 2025-11-06 03:18:25,824 - DEBUG - PING ctest-vm1-test-37714999.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-37714999.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.67 ms 64 bytes from ctest-vm1-test-37714999.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.55 ms 64 bytes from ctest-vm1-test-37714999.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.185 ms --- ctest-vm1-test-37714999.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.185/2.472/4.679/1.836 ms 2025-11-06 03:18:25,824 - INFO - Ping to IP ctest-vm1-test-37714999 from VM ctest-vm1-test-37714999 passed 2025-11-06 03:18:25,855 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-06 03:18:25,863 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-92388323@0%20AllEntriesVdnsRecordsReq 2025-11-06 03:18:25,870 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-06 03:18:25,882 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-92388323@0%20AllEntriesVdnsRecordsReq 2025-11-06 03:18:25,897 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-06 03:18:25,909 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-92388323@0%20AllEntriesVdnsRecordsReq 2025-11-06 03:18:25,920 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-92388323:1:ctest-vm1-test-37714999:10.10.10.3', 'rec_name': 'ctest-vm1-test-37714999', '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-4662-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-37714999.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-11-06 03:18:25,920 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-92388323:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-37714999', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-37714999', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4662-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-37714999.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-11-06 03:18:27,320 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-1) 2025-11-06 03:18:27,320 - INFO - Waiting for VM ctest-vm2-test-90091271 to be up.. 2025-11-06 03:18:27,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 03:18:32,458 - DEBUG - VM is in ACTIVE state now 2025-11-06 03:18:32,458 - INFO - VM name : ctest-vm2-test-90091271 2025-11-06 03:18:32,534 - DEBUG - VM ctest-vm2-test-90091271 ID is 75ae6cbd-963f-4daa-bc8a-6eaa192d3cd4 2025-11-06 03:18:32,535 - DEBUG - VM ctest-vm2-test-90091271 launched on Node an-jenkins-deploy-platform-ansible-os-4662-1 2025-11-06 03:18:32,618 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/75ae6cbd-963f-4daa-bc8a-6eaa192d3cd4 2025-11-06 03:18:32,631 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/ac4db322-f54c-47c1-8d82-9e0e634f307c 2025-11-06 03:18:35,799 - 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-11-06 03:18:35,799 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-90091271 failed! 2025-11-06 03:18:35,815 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:18:39,899 - 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-11-06 03:18:39,899 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-90091271 failed! 2025-11-06 03:18:39,914 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:18:43,991 - 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-11-06 03:18:43,991 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-90091271 failed! 2025-11-06 03:18:44,011 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:18:48,082 - 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-11-06 03:18:48,082 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-90091271 failed! 2025-11-06 03:18:48,102 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:18:52,188 - 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-11-06 03:18:52,189 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-90091271 failed! 2025-11-06 03:18:52,205 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:18:56,280 - 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-11-06 03:18:56,280 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-90091271 failed! 2025-11-06 03:18:56,295 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:19:00,371 - 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-11-06 03:19:00,372 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-90091271 failed! 2025-11-06 03:19:00,388 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:19:04,472 - 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-11-06 03:19:04,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-90091271 failed! 2025-11-06 03:19:04,488 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:19:08,566 - 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-11-06 03:19:08,566 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-90091271 failed! 2025-11-06 03:19:08,583 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-48959187:ctest-vn1-vdns-30899443 is 10.10.10.1 and allocation pool is NOT set 2025-11-06 03:19:10,648 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 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 = 0.496/2.805/5.114/2.309 ms') 2025-11-06 03:19:10,648 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-90091271 passed 2025-11-06 03:19:10,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:19:10,726 - DEBUG - Waiting to SSH to VM ctest-vm2-test-90091271, IP 10.10.10.4, Port 22 2025-11-06 03:19:10,794 - 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-11-06 03:19:10,881 - DEBUG - VM ctest-vm2-test-90091271 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:19:15,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:19:15,882 - DEBUG - Waiting to SSH to VM ctest-vm2-test-90091271, IP 10.10.10.4, Port 22 2025-11-06 03:19:15,951 - 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-11-06 03:19:16,042 - DEBUG - VM ctest-vm2-test-90091271 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:19:21,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:19:21,042 - DEBUG - Waiting to SSH to VM ctest-vm2-test-90091271, IP 10.10.10.4, Port 22 2025-11-06 03:19:21,111 - 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-11-06 03:19:21,210 - DEBUG - VM ctest-vm2-test-90091271 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:19:26,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:19:26,211 - DEBUG - Waiting to SSH to VM ctest-vm2-test-90091271, IP 10.10.10.4, Port 22 2025-11-06 03:19:26,279 - 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-11-06 03:19:26,381 - DEBUG - VM ctest-vm2-test-90091271 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:19:31,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:19:31,383 - DEBUG - Waiting to SSH to VM ctest-vm2-test-90091271, IP 10.10.10.4, Port 22 2025-11-06 03:19:31,554 - DEBUG - VM ctest-vm2-test-90091271 is ready for SSH connections 2025-11-06 03:19:31,555 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-11-06 03:19:31,555 - DEBUG - ifconfig | grep 10.10.10.4 2025-11-06 03:19:52,599 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-11-06 03:19:52,599 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-90091271", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-11-06 03:19:52,599 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-90091271", None, socket.AF_INET6)' 2025-11-06 03:19:54,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-90091271, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-11-06 03:19:54,665 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-90091271 2025-11-06 03:19:57,239 - DEBUG - PING ctest-vm2-test-90091271.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-90091271.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.65 ms 64 bytes from ctest-vm2-test-90091271.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.219 ms 64 bytes from ctest-vm2-test-90091271.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.184 ms --- ctest-vm2-test-90091271.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.184/2.018/5.651/2.568 ms 2025-11-06 03:19:57,240 - INFO - Ping to IP ctest-vm2-test-90091271 from VM ctest-vm2-test-90091271 passed 2025-11-06 03:19:57,269 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-06 03:19:57,280 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-92388323@0%20AllEntriesVdnsRecordsReq 2025-11-06 03:19:57,287 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-06 03:19:57,294 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-92388323@0%20AllEntriesVdnsRecordsReq 2025-11-06 03:19:57,300 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-06 03:19:57,307 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-92388323@0%20AllEntriesVdnsRecordsReq 2025-11-06 03:19:57,312 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-92388323:1:ctest-vm2-test-90091271:10.10.10.4', 'rec_name': 'ctest-vm2-test-90091271', '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-4662-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-90091271.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-11-06 03:19:57,312 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-92388323:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-90091271', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-90091271', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4662-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-90091271.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-11-06 03:19:57,312 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-90091271", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-11-06 03:19:57,312 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-90091271", None, socket.AF_INET6)' 2025-11-06 03:19:58,690 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-90091271, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-11-06 03:19:58,691 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-90091271 2025-11-06 03:20:01,297 - DEBUG - PING ctest-vm2-test-90091271.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-90091271.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.37 ms 64 bytes from ctest-vm2-test-90091271.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.77 ms 64 bytes from ctest-vm2-test-90091271.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.49 ms --- ctest-vm2-test-90091271.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2006ms rtt min/avg/max/mdev = 1.491/4.212/9.371/3.649 ms 2025-11-06 03:20:01,297 - INFO - Ping to IP ctest-vm2-test-90091271 from VM ctest-vm1-test-37714999 passed 2025-11-06 03:20:01,297 - INFO - Try deleting the VDNS entry ctest-vdns1-92388323 with back ref of ipam. 2025-11-06 03:20:01,362 - DEBUG - Delete when resource still referred: ['http://10.0.0.131:8082/network-ipam/133693e1-b789-4626-b794-28c37a874363'] 2025-11-06 03:20:01,362 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-11-06 03:20:01,362 - INFO - Add CNAME VDNS record for ctest-vm1-test-37714999 and verify we able to ping by alias name 2025-11-06 03:20:01,410 - DEBUG - Creating VDNS record data : test-rec 2025-11-06 03:20:01,546 - INFO - In verify_on_setup 2025-11-06 03:20:01,650 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-92388323', 'test-rec'] created succesfully 2025-11-06 03:20:01,650 - INFO - Verify VDNS record is shown in the API server 2025-11-06 03:20:01,651 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-06 03:20:01,658 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dd557474-6eee-442f-acdf-559f4d754f9d 2025-11-06 03:20:01,675 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/45d9e40e-5fa3-4c09-8947-bf5ebfb5245a 2025-11-06 03:20:01,690 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS-record/308a4ada-eab6-4eb3-b4a2-ebfc88c47d18 2025-11-06 03:20:01,702 - INFO - Verify VDNS record is shown in the control node 2025-11-06 03:20:01,727 - 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.133, gateway password: c0ntrail123 2025-11-06 03:20:01,727 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-11-06 03:20:03,120 - 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.133, gateway password: c0ntrail123 2025-11-06 03:20:03,120 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-11-06 03:20:03,666 - DEBUG - ping: unknown host vm1-test-alias 2025-11-06 03:20:03,666 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-37714999 failed 2025-11-06 03:20:04,667 - 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.133, gateway password: c0ntrail123 2025-11-06 03:20:04,667 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-11-06 03:20:06,076 - 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.133, gateway password: c0ntrail123 2025-11-06 03:20:06,076 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-11-06 03:20:08,734 - DEBUG - PING ctest-vm1-test-37714999.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-37714999.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.301 ms 64 bytes from ctest-vm1-test-37714999.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.274 ms 64 bytes from ctest-vm1-test-37714999.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.409 ms --- ctest-vm1-test-37714999.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.274/0.328/0.409/0.058 ms 2025-11-06 03:20:08,735 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-37714999 passed 2025-11-06 03:20:08,735 - DEBUG - Deleting VDNS record data: test-rec 2025-11-06 03:20:08,830 - INFO - VDNS record info: default-domain:ctest-vdns1-92388323:test-rec deleted successfully. 2025-11-06 03:20:08,830 - INFO - Deleting VM ctest-vm2-test-90091271 2025-11-06 03:20:08,922 - INFO - Deleting VM ctest-vm1-test-37714999 2025-11-06 03:20:09,006 - INFO - Deleting VN ctest-vn1-vdns-30899443 2025-11-06 03:20:09,066 - DEBUG - VN 80ca1f72-6b0b-4c78-910a-98074839f4ed still in use: Unable to complete operation on network 80ca1f72-6b0b-4c78-910a-98074839f4ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d82f0af8-e44d-4d84-9384-ef291aa23411'] 2025-11-06 03:20:09,066 - WARNING - Deleting VN ctest-vn1-vdns-30899443 failed..Will retry 2025-11-06 03:20:11,294 - DEBUG - Response for deleting network () 2025-11-06 03:20:11,349 - DEBUG - Deleting VDNS Entry: ctest-vdns1-92388323 2025-11-06 03:20:11,446 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-92388323'] deleted successfully. 2025-11-06 03:20:11,446 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-06 03:20:11,454 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dd557474-6eee-442f-acdf-559f4d754f9d 2025-11-06 03:20:11,471 - DEBUG - VDNS information not found in API server 2025-11-06 03:20:11,472 - INFO - VDNS information ctest-vdns1-92388323 removed from the API Server 2025-11-06 03:20:11,480 - INFO - VDNS information ctest-vdns1-92388323 removed in the Control node 2025-11-06 03:20:11,480 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-48959187'] 2025-11-06 03:20:12,784 - DEBUG - No XMPP flaps were noticed during the test 2025-11-06 03:20:12,784 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:24] 2025-11-06 03:20:12,784 - INFO - -------------------------------------------------------------------------------- 2025-11-06 03:20:13,547 - INFO - Deleted project: ctest-TestvDNSBasic0-48959187, ID : 78ec0edf-2d22-400d-9c88-77f0aac95d01