2025-08-28 03:07:55,735 - INFO - Domain Default found not creating 2025-08-28 03:07:55,877 - INFO - Project ctest-TestvDNSBasic0-96582419 not found, creating it 2025-08-28 03:07:56,379 - INFO - Created Project:ctest-TestvDNSBasic0-96582419, ID : b0492a46-d59a-4a40-931a-705c4f106957 2025-08-28 03:07:57,812 - INFO - ================================================================================ 2025-08-28 03:07:57,812 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-28 03:07:57,812 - 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-28 03:07:59,064 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0', '10.20.0.254': '0'}, '10.0.0.27': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-28 03:07:59,065 - INFO - Initial checks done. Running the testcase now 2025-08-28 03:07:59,065 - INFO - 2025-08-28 03:07:59,776 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-96582419'](b0492a46-d59a-4a40-931a-705c4f106957) 2025-08-28 03:07:59,833 - DEBUG - Creating VDNS : ctest-vdns1-96298617 2025-08-28 03:08:00,061 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-96298617'] created succesfully 2025-08-28 03:08:00,061 - DEBUG - Verify VDNS entry is shown in control node 2025-08-28 03:08:00,079 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-28 03:08:00,079 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-08-28 03:08:00,387 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-08-28 03:08:00,415 - DEBUG - Requesting: http://10.0.0.19:8082/domain/692c5a68-a199-4232-a07c-1cd4918de9d4 2025-08-28 03:08:00,432 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS/a39e7c24-78ef-4c60-881a-a3396d4df64d 2025-08-28 03:08:01,126 - DEBUG - Response for create_network : {'network': {'id': 'e0972b72-96b1-4f21-b7ec-01c6cb02d432', 'name': 'ctest-vn1-vdns-75085199', 'tenant_id': 'b0492a46d59a4a40931a705c4f106957', 'project_id': 'b0492a46d59a4a40931a705c4f106957', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-96582419', 'ctest-vn1-vdns-75085199'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 03:08:01,400 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f050bda-d927-41ca-8507-420c1347a3a2', 'name': '', 'tenant_id': 'b0492a46d59a4a40931a705c4f106957', 'network_id': 'e0972b72-96b1-4f21-b7ec-01c6cb02d432', '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': 'b0492a46d59a4a40931a705c4f106957'}} 2025-08-28 03:08:01,420 - INFO - Created VN ctest-vn1-vdns-75085199 2025-08-28 03:08:01,434 - DEBUG - VN ctest-vn1-vdns-75085199 UUID is e0972b72-96b1-4f21-b7ec-01c6cb02d432 2025-08-28 03:08:01,607 - DEBUG - Services list from nova: [, , , ] 2025-08-28 03:08:02,634 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3956-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3956-1) 2025-08-28 03:08:02,634 - INFO - Waiting for VM ctest-vm1-test-27202649 to be up.. 2025-08-28 03:08:02,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 03:08:07,755 - DEBUG - VM is in ACTIVE state now 2025-08-28 03:08:07,755 - INFO - VM name : ctest-vm1-test-27202649 2025-08-28 03:08:07,835 - DEBUG - VM ctest-vm1-test-27202649 ID is a580e46f-2d74-4234-929e-b8a9aa2da679 2025-08-28 03:08:07,835 - DEBUG - VM ctest-vm1-test-27202649 launched on Node an-jenkins-deploy-platform-ansible-os-3956-1 2025-08-28 03:08:07,917 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a580e46f-2d74-4234-929e-b8a9aa2da679 2025-08-28 03:08:08,216 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a580e46f-2d74-4234-929e-b8a9aa2da679 2025-08-28 03:08:08,247 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/23a8dd4e-9c31-44b9-99b4-258c3fd9fb2c 2025-08-28 03:08:11,409 - 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-28 03:08:11,409 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-27202649 failed! 2025-08-28 03:08:11,421 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:08:15,499 - 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-08-28 03:08:15,499 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-27202649 failed! 2025-08-28 03:08:15,513 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:08:19,602 - 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 1028ms') 2025-08-28 03:08:19,602 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-27202649 failed! 2025-08-28 03:08:19,618 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:08:23,698 - 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-08-28 03:08:23,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-27202649 failed! 2025-08-28 03:08:23,710 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:08:27,793 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-08-28 03:08:27,793 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-27202649 failed! 2025-08-28 03:08:27,808 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:08:31,888 - 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-08-28 03:08:31,889 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-27202649 failed! 2025-08-28 03:08:31,913 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:08:35,983 - 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-28 03:08:35,983 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-27202649 failed! 2025-08-28 03:08:36,001 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:08:40,077 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=7.87 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 7.868/7.868/7.868/0.000 ms') 2025-08-28 03:08:40,077 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-27202649 passed 2025-08-28 03:08:40,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 03:08:40,145 - DEBUG - Waiting to SSH to VM ctest-vm1-test-27202649, IP 10.10.10.3, Port 22 2025-08-28 03:08:40,201 - 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-28 03:08:40,283 - DEBUG - VM ctest-vm1-test-27202649 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 03:08:45,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 03:08:45,284 - DEBUG - Waiting to SSH to VM ctest-vm1-test-27202649, IP 10.10.10.3, Port 22 2025-08-28 03:08:45,352 - 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-28 03:08:45,432 - DEBUG - VM ctest-vm1-test-27202649 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 03:08:50,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 03:08:50,434 - DEBUG - Waiting to SSH to VM ctest-vm1-test-27202649, IP 10.10.10.3, Port 22 2025-08-28 03:08:50,500 - 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-28 03:08:50,583 - DEBUG - VM ctest-vm1-test-27202649 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 03:08:55,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 03:08:55,584 - DEBUG - Waiting to SSH to VM ctest-vm1-test-27202649, IP 10.10.10.3, Port 22 2025-08-28 03:08:55,641 - 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-28 03:08:55,713 - DEBUG - VM ctest-vm1-test-27202649 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 03:09:00,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 03:09:00,714 - DEBUG - Waiting to SSH to VM ctest-vm1-test-27202649, IP 10.10.10.3, Port 22 2025-08-28 03:09:00,880 - DEBUG - VM ctest-vm1-test-27202649 is ready for SSH connections 2025-08-28 03:09:00,880 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-28 03:09:00,880 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-28 03:09:18,500 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-28 03:09:18,501 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-27202649", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-28 03:09:18,501 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-27202649", None, socket.AF_INET6)' 2025-08-28 03:09:19,730 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-27202649, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-28 03:09:19,731 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-27202649 2025-08-28 03:09:22,244 - DEBUG - PING ctest-vm1-test-27202649.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-27202649.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.79 ms 64 bytes from ctest-vm1-test-27202649.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.40 ms 64 bytes from ctest-vm1-test-27202649.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.225 ms --- ctest-vm1-test-27202649.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.225/2.143/3.797/1.470 ms 2025-08-28 03:09:22,244 - INFO - Ping to IP ctest-vm1-test-27202649 from VM ctest-vm1-test-27202649 passed 2025-08-28 03:09:22,266 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-28 03:09:22,272 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-96298617@0%20AllEntriesVdnsRecordsReq 2025-08-28 03:09:22,277 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-28 03:09:22,281 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-96298617@0%20AllEntriesVdnsRecordsReq 2025-08-28 03:09:22,285 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-28 03:09:22,289 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-96298617@0%20AllEntriesVdnsRecordsReq 2025-08-28 03:09:22,294 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-96298617:1:ctest-vm1-test-27202649:10.10.10.3', 'rec_name': 'ctest-vm1-test-27202649', '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-3956-1/dns'} , Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-27202649.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-28 03:09:22,294 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-96298617:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-27202649', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-27202649', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3956-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-27202649.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-28 03:09:23,554 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3956-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3956-2) 2025-08-28 03:09:23,555 - INFO - Waiting for VM ctest-vm2-test-99262653 to be up.. 2025-08-28 03:09:23,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 03:09:28,679 - DEBUG - VM is in ACTIVE state now 2025-08-28 03:09:28,679 - INFO - VM name : ctest-vm2-test-99262653 2025-08-28 03:09:28,752 - DEBUG - VM ctest-vm2-test-99262653 ID is 64241d55-75a9-406b-a59c-4ab6b596e41b 2025-08-28 03:09:28,752 - DEBUG - VM ctest-vm2-test-99262653 launched on Node an-jenkins-deploy-platform-ansible-os-3956-2 2025-08-28 03:09:28,832 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/64241d55-75a9-406b-a59c-4ab6b596e41b 2025-08-28 03:09:28,843 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/744b9b05-1584-4b2f-b2fb-d9e25e2adba8 2025-08-28 03:09:32,002 - 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-28 03:09:32,002 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99262653 failed! 2025-08-28 03:09:32,015 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:09:36,104 - 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-08-28 03:09:36,104 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99262653 failed! 2025-08-28 03:09:36,119 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:09:40,198 - 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-08-28 03:09:40,198 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99262653 failed! 2025-08-28 03:09:40,210 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:09:44,295 - 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-28 03:09:44,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99262653 failed! 2025-08-28 03:09:44,307 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:09:48,392 - 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-08-28 03:09:48,392 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99262653 failed! 2025-08-28 03:09:48,405 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:09:52,487 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-08-28 03:09:52,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99262653 failed! 2025-08-28 03:09:52,500 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:09:56,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 1023ms') 2025-08-28 03:09:56,580 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99262653 failed! 2025-08-28 03:09:56,593 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96582419:ctest-vn1-vdns-75085199 is 10.10.10.1 and allocation pool is NOT set 2025-08-28 03:09:58,665 - 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=7.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.70 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 = 2.702/5.122/7.542/2.420 ms') 2025-08-28 03:09:58,665 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-99262653 passed 2025-08-28 03:09:58,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 03:09:58,733 - DEBUG - Waiting to SSH to VM ctest-vm2-test-99262653, IP 10.10.10.4, Port 22 2025-08-28 03:09:58,800 - 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-28 03:09:58,881 - DEBUG - VM ctest-vm2-test-99262653 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 03:10:03,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 03:10:03,882 - DEBUG - Waiting to SSH to VM ctest-vm2-test-99262653, IP 10.10.10.4, Port 22 2025-08-28 03:10:03,937 - 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-28 03:10:04,020 - DEBUG - VM ctest-vm2-test-99262653 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 03:10:09,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 03:10:09,022 - DEBUG - Waiting to SSH to VM ctest-vm2-test-99262653, IP 10.10.10.4, Port 22 2025-08-28 03:10:09,077 - 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-28 03:10:09,156 - DEBUG - VM ctest-vm2-test-99262653 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 03:10:14,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 03:10:14,157 - DEBUG - Waiting to SSH to VM ctest-vm2-test-99262653, IP 10.10.10.4, Port 22 2025-08-28 03:10:14,327 - DEBUG - VM ctest-vm2-test-99262653 is ready for SSH connections 2025-08-28 03:10:14,327 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-28 03:10:14,327 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-28 03:10:31,797 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-28 03:10:31,797 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-99262653", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-28 03:10:31,797 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-99262653", None, socket.AF_INET6)' 2025-08-28 03:10:34,000 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-99262653, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-28 03:10:34,000 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-99262653 2025-08-28 03:10:36,659 - DEBUG - PING ctest-vm2-test-99262653.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-99262653.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.13 ms 64 bytes from ctest-vm2-test-99262653.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.29 ms 64 bytes from ctest-vm2-test-99262653.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.220 ms --- ctest-vm2-test-99262653.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.220/1.885/3.138/1.226 ms 2025-08-28 03:10:36,659 - INFO - Ping to IP ctest-vm2-test-99262653 from VM ctest-vm2-test-99262653 passed 2025-08-28 03:10:36,679 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-28 03:10:36,685 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-96298617@0%20AllEntriesVdnsRecordsReq 2025-08-28 03:10:36,693 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-28 03:10:36,699 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-96298617@0%20AllEntriesVdnsRecordsReq 2025-08-28 03:10:36,705 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-28 03:10:36,711 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-96298617@0%20AllEntriesVdnsRecordsReq 2025-08-28 03:10:36,717 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-96298617:1:ctest-vm2-test-99262653:10.10.10.4', 'rec_name': 'ctest-vm2-test-99262653', '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-3956-2/dns'} , Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-99262653.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-28 03:10:36,717 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-96298617:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-99262653', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-99262653', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3956-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-99262653.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-28 03:10:36,718 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-99262653", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-28 03:10:36,718 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-99262653", None, socket.AF_INET6)' 2025-08-28 03:10:37,937 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-99262653, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-28 03:10:37,937 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-99262653 2025-08-28 03:10:40,445 - DEBUG - PING ctest-vm2-test-99262653.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-99262653.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.67 ms 64 bytes from ctest-vm2-test-99262653.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.25 ms 64 bytes from ctest-vm2-test-99262653.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.20 ms --- ctest-vm2-test-99262653.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.205/2.711/5.677/2.097 ms 2025-08-28 03:10:40,445 - INFO - Ping to IP ctest-vm2-test-99262653 from VM ctest-vm1-test-27202649 passed 2025-08-28 03:10:40,445 - INFO - Try deleting the VDNS entry ctest-vdns1-96298617 with back ref of ipam. 2025-08-28 03:10:40,505 - DEBUG - Delete when resource still referred: ['http://10.0.0.41:8082/network-ipam/7e33b1b3-1c1c-4a9f-a744-ee288ec338c5'] 2025-08-28 03:10:40,505 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-28 03:10:40,505 - INFO - Add CNAME VDNS record for ctest-vm1-test-27202649 and verify we able to ping by alias name 2025-08-28 03:10:40,553 - DEBUG - Creating VDNS record data : test-rec 2025-08-28 03:10:40,677 - INFO - In verify_on_setup 2025-08-28 03:10:40,773 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-96298617', 'test-rec'] created succesfully 2025-08-28 03:10:40,773 - INFO - Verify VDNS record is shown in the API server 2025-08-28 03:10:40,773 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-08-28 03:10:40,780 - DEBUG - Requesting: http://10.0.0.19:8082/domain/692c5a68-a199-4232-a07c-1cd4918de9d4 2025-08-28 03:10:40,826 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS/a39e7c24-78ef-4c60-881a-a3396d4df64d 2025-08-28 03:10:40,836 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS-record/b1e5ffd3-e1aa-4c57-95cc-3bebf63a77ae 2025-08-28 03:10:40,852 - INFO - Verify VDNS record is shown in the control node 2025-08-28 03:10:40,866 - 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.65, gateway password: c0ntrail123 2025-08-28 03:10:40,867 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-28 03:10:41,996 - 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.65, gateway password: c0ntrail123 2025-08-28 03:10:41,996 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-28 03:10:42,480 - DEBUG - ping: unknown host vm1-test-alias 2025-08-28 03:10:42,480 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-27202649 failed 2025-08-28 03:10:43,481 - 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.65, gateway password: c0ntrail123 2025-08-28 03:10:43,481 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-28 03:10:44,582 - 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.65, gateway password: c0ntrail123 2025-08-28 03:10:44,583 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-28 03:10:47,093 - DEBUG - PING ctest-vm1-test-27202649.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-27202649.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.232 ms 64 bytes from ctest-vm1-test-27202649.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.262 ms 64 bytes from ctest-vm1-test-27202649.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.188 ms --- ctest-vm1-test-27202649.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.188/0.227/0.262/0.032 ms 2025-08-28 03:10:47,093 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-27202649 passed 2025-08-28 03:10:47,093 - DEBUG - Deleting VDNS record data: test-rec 2025-08-28 03:10:47,173 - INFO - VDNS record info: default-domain:ctest-vdns1-96298617:test-rec deleted successfully. 2025-08-28 03:10:47,173 - INFO - Deleting VM ctest-vm2-test-99262653 2025-08-28 03:10:47,241 - INFO - Deleting VM ctest-vm1-test-27202649 2025-08-28 03:10:47,310 - INFO - Deleting VN ctest-vn1-vdns-75085199 2025-08-28 03:10:47,346 - DEBUG - VN e0972b72-96b1-4f21-b7ec-01c6cb02d432 still in use: Unable to complete operation on network e0972b72-96b1-4f21-b7ec-01c6cb02d432. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3554d45b-1181-4122-a4cd-c3cac3645dd6'] 2025-08-28 03:10:47,346 - WARNING - Deleting VN ctest-vn1-vdns-75085199 failed..Will retry 2025-08-28 03:10:49,555 - DEBUG - Response for deleting network () 2025-08-28 03:10:49,603 - DEBUG - Deleting VDNS Entry: ctest-vdns1-96298617 2025-08-28 03:10:49,693 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-96298617'] deleted successfully. 2025-08-28 03:10:49,693 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-08-28 03:10:49,700 - DEBUG - Requesting: http://10.0.0.19:8082/domain/692c5a68-a199-4232-a07c-1cd4918de9d4 2025-08-28 03:10:49,715 - DEBUG - VDNS information not found in API server 2025-08-28 03:10:49,715 - INFO - VDNS information ctest-vdns1-96298617 removed from the API Server 2025-08-28 03:10:49,721 - INFO - VDNS information ctest-vdns1-96298617 removed in the Control node 2025-08-28 03:10:49,722 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-96582419'] 2025-08-28 03:10:50,992 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 03:10:50,992 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:53] 2025-08-28 03:10:50,992 - INFO - -------------------------------------------------------------------------------- 2025-08-28 03:10:51,711 - INFO - Deleted project: ctest-TestvDNSBasic0-96582419, ID : b0492a46-d59a-4a40-931a-705c4f106957