2025-11-13 03:15:33,058 - INFO - Domain Default found not creating 2025-11-13 03:15:33,218 - INFO - Project ctest-TestvDNSBasic0-43796341 not found, creating it 2025-11-13 03:15:33,701 - INFO - Created Project:ctest-TestvDNSBasic0-43796341, ID : 4fb2a63f-7efd-45c8-8409-8b631cc9fe04 2025-11-13 03:15:35,420 - INFO - ================================================================================ 2025-11-13 03:15:35,421 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-11-13 03:15:35,421 - 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-13 03:15:36,700 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.23': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2025-11-13 03:15:36,700 - INFO - Initial checks done. Running the testcase now 2025-11-13 03:15:36,701 - INFO - 2025-11-13 03:15:37,518 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-43796341'](4fb2a63f-7efd-45c8-8409-8b631cc9fe04) 2025-11-13 03:15:37,583 - DEBUG - Creating VDNS : ctest-vdns1-98572316 2025-11-13 03:15:37,812 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-98572316'] created succesfully 2025-11-13 03:15:37,812 - DEBUG - Verify VDNS entry is shown in control node 2025-11-13 03:15:37,832 - DEBUG - Verify VDNS entry is shown in the API server 2025-11-13 03:15:37,832 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-13 03:15:38,212 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-13 03:15:38,250 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7e609647-c42c-403c-b0dd-6b1bfaefbd00 2025-11-13 03:15:38,273 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS/27757250-f6db-4725-a8cc-6c639060ad84 2025-11-13 03:15:39,000 - DEBUG - Response for create_network : {'network': {'id': 'e6dfda77-720c-4412-a657-1a94e805d316', 'name': 'ctest-vn1-vdns-77898956', 'tenant_id': '4fb2a63f7efd45c884098b631cc9fe04', 'project_id': '4fb2a63f7efd45c884098b631cc9fe04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-43796341', 'ctest-vn1-vdns-77898956'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 03:15:39,297 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b72e9932-7812-4077-b973-e78f7f68eaad', 'name': '', 'tenant_id': '4fb2a63f7efd45c884098b631cc9fe04', 'network_id': 'e6dfda77-720c-4412-a657-1a94e805d316', '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': '4fb2a63f7efd45c884098b631cc9fe04'}} 2025-11-13 03:15:39,321 - INFO - Created VN ctest-vn1-vdns-77898956 2025-11-13 03:15:39,332 - DEBUG - VN ctest-vn1-vdns-77898956 UUID is e6dfda77-720c-4412-a657-1a94e805d316 2025-11-13 03:15:39,503 - DEBUG - Services list from nova: [, , , ] 2025-11-13 03:15:40,608 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4712-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4712-2) 2025-11-13 03:15:40,609 - INFO - Waiting for VM ctest-vm1-test-30590655 to be up.. 2025-11-13 03:15:40,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 03:15:45,733 - DEBUG - VM is in ACTIVE state now 2025-11-13 03:15:45,733 - INFO - VM name : ctest-vm1-test-30590655 2025-11-13 03:15:45,819 - DEBUG - VM ctest-vm1-test-30590655 ID is e7b27c63-fa93-4678-b28a-f6cac8bbaadd 2025-11-13 03:15:45,819 - DEBUG - VM ctest-vm1-test-30590655 launched on Node an-jenkins-deploy-platform-ansible-os-4712-2 2025-11-13 03:15:45,900 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/e7b27c63-fa93-4678-b28a-f6cac8bbaadd 2025-11-13 03:15:46,233 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/e7b27c63-fa93-4678-b28a-f6cac8bbaadd 2025-11-13 03:15:46,265 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/a823ff87-ff27-4c0c-8305-873b724a6aa3 2025-11-13 03:15:49,420 - 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-13 03:15:49,420 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30590655 failed! 2025-11-13 03:15:49,435 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:15:53,522 - 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-13 03:15:53,522 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30590655 failed! 2025-11-13 03:15:53,535 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:15:57,610 - 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-13 03:15:57,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30590655 failed! 2025-11-13 03:15:57,623 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:16:01,712 - 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-11-13 03:16:01,713 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30590655 failed! 2025-11-13 03:16:01,727 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:16:05,805 - 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-13 03:16:05,805 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30590655 failed! 2025-11-13 03:16:05,820 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:16:09,910 - 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-11-13 03:16:09,910 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30590655 failed! 2025-11-13 03:16:09,923 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:16:14,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 1015ms') 2025-11-13 03:16:14,001 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30590655 failed! 2025-11-13 03:16:14,021 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:16:18,096 - 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-11-13 03:16:18,096 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30590655 failed! 2025-11-13 03:16:18,108 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:16:20,180 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.71 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.705/3.914/6.123/2.209 ms') 2025-11-13 03:16:20,180 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-30590655 passed 2025-11-13 03:16:20,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 03:16:20,252 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30590655, IP 10.10.10.3, Port 22 2025-11-13 03:16:20,319 - 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-13 03:16:20,426 - DEBUG - VM ctest-vm1-test-30590655 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 03:16:25,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 03:16:25,427 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30590655, IP 10.10.10.3, Port 22 2025-11-13 03:16:25,495 - 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-13 03:16:25,573 - DEBUG - VM ctest-vm1-test-30590655 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 03:16:30,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 03:16:30,574 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30590655, IP 10.10.10.3, Port 22 2025-11-13 03:16:30,642 - 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-13 03:16:30,744 - DEBUG - VM ctest-vm1-test-30590655 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 03:16:35,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 03:16:35,745 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30590655, IP 10.10.10.3, Port 22 2025-11-13 03:16:35,917 - DEBUG - VM ctest-vm1-test-30590655 is ready for SSH connections 2025-11-13 03:16:35,917 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-11-13 03:16:35,917 - DEBUG - ifconfig | grep 10.10.10.3 2025-11-13 03:16:55,967 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-11-13 03:16:55,968 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-30590655", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-11-13 03:16:55,968 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-30590655", None, socket.AF_INET6)' 2025-11-13 03:16:58,696 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-30590655, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-11-13 03:16:58,696 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-30590655 2025-11-13 03:17:01,638 - DEBUG - PING ctest-vm1-test-30590655.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-30590655.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.03 ms 64 bytes from ctest-vm1-test-30590655.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.422 ms 64 bytes from ctest-vm1-test-30590655.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.233 ms --- ctest-vm1-test-30590655.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.233/1.230/3.037/1.280 ms 2025-11-13 03:17:01,638 - INFO - Ping to IP ctest-vm1-test-30590655 from VM ctest-vm1-test-30590655 passed 2025-11-13 03:17:01,662 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-13 03:17:01,670 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98572316@0%20AllEntriesVdnsRecordsReq 2025-11-13 03:17:01,676 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-13 03:17:01,682 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98572316@0%20AllEntriesVdnsRecordsReq 2025-11-13 03:17:01,688 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-13 03:17:01,693 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98572316@0%20AllEntriesVdnsRecordsReq 2025-11-13 03:17:01,698 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-98572316:1:ctest-vm1-test-30590655:10.10.10.3', 'rec_name': 'ctest-vm1-test-30590655', '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-4712-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-30590655.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-11-13 03:17:01,698 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-98572316:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-30590655', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-30590655', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4712-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-30590655.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-13 03:17:03,144 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4712-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4712-1) 2025-11-13 03:17:03,144 - INFO - Waiting for VM ctest-vm2-test-89801274 to be up.. 2025-11-13 03:17:03,207 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 03:17:08,289 - DEBUG - VM is in ACTIVE state now 2025-11-13 03:17:08,289 - INFO - VM name : ctest-vm2-test-89801274 2025-11-13 03:17:08,376 - DEBUG - VM ctest-vm2-test-89801274 ID is f993ec92-600d-4f37-a0b0-d30406176d0b 2025-11-13 03:17:08,376 - DEBUG - VM ctest-vm2-test-89801274 launched on Node an-jenkins-deploy-platform-ansible-os-4712-1 2025-11-13 03:17:08,455 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/f993ec92-600d-4f37-a0b0-d30406176d0b 2025-11-13 03:17:08,465 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/c1aea233-be35-4194-9418-b8548946af47 2025-11-13 03:17:11,657 - 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 1032ms') 2025-11-13 03:17:11,658 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89801274 failed! 2025-11-13 03:17:11,684 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:17:15,751 - 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-13 03:17:15,751 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89801274 failed! 2025-11-13 03:17:15,763 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:17:19,844 - 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-13 03:17:19,844 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89801274 failed! 2025-11-13 03:17:19,857 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:17:23,939 - 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 1021ms') 2025-11-13 03:17:23,939 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89801274 failed! 2025-11-13 03:17:23,952 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:17:28,042 - 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-13 03:17:28,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89801274 failed! 2025-11-13 03:17:28,057 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:17:32,136 - 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-11-13 03:17:32,136 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89801274 failed! 2025-11-13 03:17:32,150 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:17:36,230 - 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-13 03:17:36,230 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89801274 failed! 2025-11-13 03:17:36,244 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:17:40,326 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2025-11-13 03:17:40,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89801274 failed! 2025-11-13 03:17:40,339 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:17:44,420 - 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-13 03:17:44,420 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89801274 failed! 2025-11-13 03:17:44,433 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:17:48,516 - 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-11-13 03:17:48,516 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89801274 failed! 2025-11-13 03:17:48,529 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-43796341:ctest-vn1-vdns-77898956 is 10.10.10.1 and allocation pool is NOT set 2025-11-13 03:17:50,598 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.98 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.984/4.305/6.626/2.321 ms') 2025-11-13 03:17:50,598 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89801274 passed 2025-11-13 03:17:50,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 03:17:50,668 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89801274, IP 10.10.10.4, Port 22 2025-11-13 03:17:50,734 - 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-13 03:17:50,815 - DEBUG - VM ctest-vm2-test-89801274 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 03:17:55,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 03:17:55,815 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89801274, IP 10.10.10.4, Port 22 2025-11-13 03:17:55,882 - 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-13 03:17:55,965 - DEBUG - VM ctest-vm2-test-89801274 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 03:18:00,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 03:18:00,965 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89801274, IP 10.10.10.4, Port 22 2025-11-13 03:18:01,034 - 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-13 03:18:01,130 - DEBUG - VM ctest-vm2-test-89801274 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 03:18:06,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 03:18:06,131 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89801274, IP 10.10.10.4, Port 22 2025-11-13 03:18:06,199 - 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-13 03:18:06,281 - DEBUG - VM ctest-vm2-test-89801274 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 03:18:11,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 03:18:11,282 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89801274, IP 10.10.10.4, Port 22 2025-11-13 03:18:11,450 - DEBUG - VM ctest-vm2-test-89801274 is ready for SSH connections 2025-11-13 03:18:11,450 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-13 03:18:11,450 - DEBUG - ifconfig | grep 10.10.10.4 2025-11-13 03:18:35,304 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-11-13 03:18:35,304 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89801274", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-13 03:18:35,304 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89801274", None, socket.AF_INET6)' 2025-11-13 03:18:38,358 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89801274, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-13 03:18:38,358 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89801274 2025-11-13 03:18:40,957 - DEBUG - PING ctest-vm2-test-89801274.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-89801274.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.26 ms 64 bytes from ctest-vm2-test-89801274.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.256 ms 64 bytes from ctest-vm2-test-89801274.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.221 ms --- ctest-vm2-test-89801274.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.221/1.913/5.264/2.369 ms 2025-11-13 03:18:40,957 - INFO - Ping to IP ctest-vm2-test-89801274 from VM ctest-vm2-test-89801274 passed 2025-11-13 03:18:40,983 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-13 03:18:40,992 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98572316@0%20AllEntriesVdnsRecordsReq 2025-11-13 03:18:40,999 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-13 03:18:41,005 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98572316@0%20AllEntriesVdnsRecordsReq 2025-11-13 03:18:41,010 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-13 03:18:41,015 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98572316@0%20AllEntriesVdnsRecordsReq 2025-11-13 03:18:41,020 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-98572316:1:ctest-vm2-test-89801274:10.10.10.4', 'rec_name': 'ctest-vm2-test-89801274', '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-4712-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-89801274.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-11-13 03:18:41,020 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-98572316:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-89801274', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-89801274', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4712-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-89801274.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-13 03:18:41,020 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89801274", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-11-13 03:18:41,021 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89801274", None, socket.AF_INET6)' 2025-11-13 03:18:42,169 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89801274, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-11-13 03:18:42,169 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89801274 2025-11-13 03:18:44,692 - DEBUG - PING ctest-vm2-test-89801274.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-89801274.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.61 ms 64 bytes from ctest-vm2-test-89801274.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.41 ms 64 bytes from ctest-vm2-test-89801274.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.13 ms --- ctest-vm2-test-89801274.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.135/4.053/9.611/3.931 ms 2025-11-13 03:18:44,692 - INFO - Ping to IP ctest-vm2-test-89801274 from VM ctest-vm1-test-30590655 passed 2025-11-13 03:18:44,692 - INFO - Try deleting the VDNS entry ctest-vdns1-98572316 with back ref of ipam. 2025-11-13 03:18:44,751 - DEBUG - Delete when resource still referred: ['http://10.0.0.61:8082/network-ipam/1f64408b-632d-4903-a88c-6dda40fb6b36'] 2025-11-13 03:18:44,751 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-11-13 03:18:44,751 - INFO - Add CNAME VDNS record for ctest-vm1-test-30590655 and verify we able to ping by alias name 2025-11-13 03:18:44,799 - DEBUG - Creating VDNS record data : test-rec 2025-11-13 03:18:44,923 - INFO - In verify_on_setup 2025-11-13 03:18:45,019 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-98572316', 'test-rec'] created succesfully 2025-11-13 03:18:45,020 - INFO - Verify VDNS record is shown in the API server 2025-11-13 03:18:45,020 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-13 03:18:45,026 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7e609647-c42c-403c-b0dd-6b1bfaefbd00 2025-11-13 03:18:45,039 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS/27757250-f6db-4725-a8cc-6c639060ad84 2025-11-13 03:18:45,048 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS-record/f91cd378-1791-4485-8a3b-e28bf27ea691 2025-11-13 03:18:45,054 - INFO - Verify VDNS record is shown in the control node 2025-11-13 03:18:45,069 - 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.23, gateway password: c0ntrail123 2025-11-13 03:18:45,069 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-11-13 03:18:46,177 - 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.23, gateway password: c0ntrail123 2025-11-13 03:18:46,177 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-11-13 03:18:46,697 - DEBUG - ping: unknown host vm1-test-alias 2025-11-13 03:18:46,697 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-30590655 failed 2025-11-13 03:18:47,699 - 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.23, gateway password: c0ntrail123 2025-11-13 03:18:47,699 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-11-13 03:18:48,814 - 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.23, gateway password: c0ntrail123 2025-11-13 03:18:48,814 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-11-13 03:18:51,318 - DEBUG - PING ctest-vm1-test-30590655.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-30590655.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.197 ms 64 bytes from ctest-vm1-test-30590655.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.211 ms 64 bytes from ctest-vm1-test-30590655.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.230 ms --- ctest-vm1-test-30590655.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.197/0.212/0.230/0.021 ms 2025-11-13 03:18:51,319 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-30590655 passed 2025-11-13 03:18:51,319 - DEBUG - Deleting VDNS record data: test-rec 2025-11-13 03:18:51,399 - INFO - VDNS record info: default-domain:ctest-vdns1-98572316:test-rec deleted successfully. 2025-11-13 03:18:51,400 - INFO - Deleting VM ctest-vm2-test-89801274 2025-11-13 03:18:51,470 - INFO - Deleting VM ctest-vm1-test-30590655 2025-11-13 03:18:51,537 - INFO - Deleting VN ctest-vn1-vdns-77898956 2025-11-13 03:18:51,577 - DEBUG - VN e6dfda77-720c-4412-a657-1a94e805d316 still in use: Unable to complete operation on network e6dfda77-720c-4412-a657-1a94e805d316. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-929b6b01-0ae3-47c8-a49f-97a0f1acef31'] 2025-11-13 03:18:51,577 - WARNING - Deleting VN ctest-vn1-vdns-77898956 failed..Will retry 2025-11-13 03:18:53,735 - DEBUG - Response for deleting network () 2025-11-13 03:18:53,791 - DEBUG - Deleting VDNS Entry: ctest-vdns1-98572316 2025-11-13 03:18:53,891 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-98572316'] deleted successfully. 2025-11-13 03:18:53,891 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-13 03:18:53,899 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7e609647-c42c-403c-b0dd-6b1bfaefbd00 2025-11-13 03:18:53,916 - DEBUG - VDNS information not found in API server 2025-11-13 03:18:53,916 - INFO - VDNS information ctest-vdns1-98572316 removed from the API Server 2025-11-13 03:18:53,922 - INFO - VDNS information ctest-vdns1-98572316 removed in the Control node 2025-11-13 03:18:53,922 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-43796341'] 2025-11-13 03:18:55,205 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 03:18:55,205 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:20] 2025-11-13 03:18:55,205 - INFO - -------------------------------------------------------------------------------- 2025-11-13 03:18:55,946 - INFO - Deleted project: ctest-TestvDNSBasic0-43796341, ID : 4fb2a63f-7efd-45c8-8409-8b631cc9fe04