2025-11-17 03:16:55,120 - INFO - Domain Default found not creating 2025-11-17 03:16:55,434 - INFO - Project ctest-TestvDNSBasic0-85229341 not found, creating it 2025-11-17 03:16:56,057 - INFO - Created Project:ctest-TestvDNSBasic0-85229341, ID : ed0e080d-9663-451f-abf4-08adb28328f1 2025-11-17 03:16:57,835 - INFO - ================================================================================ 2025-11-17 03:16:57,835 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-11-17 03:16:57,835 - 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-17 03:16:59,124 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.73': {'10.20.0.25': '0', '10.20.0.17': '0'}} with 2025-11-17 03:16:59,124 - INFO - Initial checks done. Running the testcase now 2025-11-17 03:16:59,124 - INFO - 2025-11-17 03:17:00,008 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-85229341'](ed0e080d-9663-451f-abf4-08adb28328f1) 2025-11-17 03:17:00,073 - DEBUG - Creating VDNS : ctest-vdns1-57807895 2025-11-17 03:17:00,309 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-57807895'] created succesfully 2025-11-17 03:17:00,309 - DEBUG - Verify VDNS entry is shown in control node 2025-11-17 03:17:00,332 - DEBUG - Verify VDNS entry is shown in the API server 2025-11-17 03:17:00,333 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-17 03:17:00,685 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-17 03:17:00,722 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b575f39c-ab2e-404a-877c-00e9b4192b03 2025-11-17 03:17:00,743 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/06a58260-6b14-4066-b41d-eeebf31b27cb 2025-11-17 03:17:01,474 - DEBUG - Response for create_network : {'network': {'id': 'db229850-e27e-4116-8dba-efcc350380f6', 'name': 'ctest-vn1-vdns-59294984', 'tenant_id': 'ed0e080d9663451fabf408adb28328f1', 'project_id': 'ed0e080d9663451fabf408adb28328f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-85229341', 'ctest-vn1-vdns-59294984'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 03:17:01,789 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4e163ff-c695-493a-a642-becb201c571a', 'name': '', 'tenant_id': 'ed0e080d9663451fabf408adb28328f1', 'network_id': 'db229850-e27e-4116-8dba-efcc350380f6', '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': 'ed0e080d9663451fabf408adb28328f1'}} 2025-11-17 03:17:01,820 - INFO - Created VN ctest-vn1-vdns-59294984 2025-11-17 03:17:01,833 - DEBUG - VN ctest-vn1-vdns-59294984 UUID is db229850-e27e-4116-8dba-efcc350380f6 2025-11-17 03:17:02,039 - DEBUG - Services list from nova: [, , , ] 2025-11-17 03:17:03,370 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4736-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4736-1) 2025-11-17 03:17:03,371 - INFO - Waiting for VM ctest-vm1-test-55862085 to be up.. 2025-11-17 03:17:03,426 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 03:17:08,526 - DEBUG - VM is in ACTIVE state now 2025-11-17 03:17:08,526 - INFO - VM name : ctest-vm1-test-55862085 2025-11-17 03:17:08,632 - DEBUG - VM ctest-vm1-test-55862085 ID is b0c4067a-e9d3-4719-8490-2eb09367889b 2025-11-17 03:17:08,633 - DEBUG - VM ctest-vm1-test-55862085 launched on Node an-jenkins-deploy-platform-ansible-os-4736-1 2025-11-17 03:17:08,722 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b0c4067a-e9d3-4719-8490-2eb09367889b 2025-11-17 03:17:09,118 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b0c4067a-e9d3-4719-8490-2eb09367889b 2025-11-17 03:17:09,156 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b409f662-023f-486f-b998-17b84fb0c140 2025-11-17 03:17:12,342 - 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-17 03:17:12,342 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55862085 failed! 2025-11-17 03:17:12,357 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:17:16,435 - 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-17 03:17:16,435 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55862085 failed! 2025-11-17 03:17:16,451 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:17:20,533 - 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-17 03:17:20,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55862085 failed! 2025-11-17 03:17:20,550 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:17:24,626 - 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-17 03:17:24,626 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55862085 failed! 2025-11-17 03:17:24,641 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:17:28,733 - 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-17 03:17:28,733 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55862085 failed! 2025-11-17 03:17:28,748 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:17:32,826 - 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-17 03:17:32,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55862085 failed! 2025-11-17 03:17:32,841 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:17:36,922 - 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-17 03:17:36,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55862085 failed! 2025-11-17 03:17:36,938 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:17:41,014 - 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-17 03:17:41,014 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55862085 failed! 2025-11-17 03:17:41,029 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:17:45,119 - 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-17 03:17:45,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55862085 failed! 2025-11-17 03:17:45,135 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:17:47,203 - 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=9.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.08 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.082/6.333/9.585/3.251 ms') 2025-11-17 03:17:47,204 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-55862085 passed 2025-11-17 03:17:47,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 03:17:47,278 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55862085, IP 10.10.10.3, Port 22 2025-11-17 03:17:47,347 - 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-17 03:17:47,484 - DEBUG - VM ctest-vm1-test-55862085 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 03:17:52,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 03:17:52,485 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55862085, IP 10.10.10.3, Port 22 2025-11-17 03:17:52,554 - 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-17 03:17:52,643 - DEBUG - VM ctest-vm1-test-55862085 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 03:17:57,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 03:17:57,644 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55862085, IP 10.10.10.3, Port 22 2025-11-17 03:17:57,714 - 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-17 03:17:57,800 - DEBUG - VM ctest-vm1-test-55862085 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 03:18:02,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 03:18:02,801 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55862085, IP 10.10.10.3, Port 22 2025-11-17 03:18:02,866 - 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-17 03:18:02,973 - DEBUG - VM ctest-vm1-test-55862085 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 03:18:07,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 03:18:07,974 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55862085, IP 10.10.10.3, Port 22 2025-11-17 03:18:08,141 - DEBUG - VM ctest-vm1-test-55862085 is ready for SSH connections 2025-11-17 03:18:08,141 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 03:18:08,142 - DEBUG - ifconfig | grep 10.10.10.3 2025-11-17 03:18:30,616 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-11-17 03:18:30,617 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-55862085", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 03:18:30,617 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-55862085", None, socket.AF_INET6)' 2025-11-17 03:18:33,443 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-55862085, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 03:18:33,443 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-55862085 2025-11-17 03:18:36,010 - DEBUG - PING ctest-vm1-test-55862085.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-55862085.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=7.50 ms 64 bytes from ctest-vm1-test-55862085.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.312 ms 64 bytes from ctest-vm1-test-55862085.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.235 ms --- ctest-vm1-test-55862085.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.235/2.684/7.505/3.409 ms 2025-11-17 03:18:36,010 - INFO - Ping to IP ctest-vm1-test-55862085 from VM ctest-vm1-test-55862085 passed 2025-11-17 03:18:36,036 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-17 03:18:36,043 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-57807895@0%20AllEntriesVdnsRecordsReq 2025-11-17 03:18:36,048 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-17 03:18:36,054 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-57807895@0%20AllEntriesVdnsRecordsReq 2025-11-17 03:18:36,060 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-17 03:18:36,069 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-57807895@0%20AllEntriesVdnsRecordsReq 2025-11-17 03:18:36,080 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-57807895:1:ctest-vm1-test-55862085:10.10.10.3', 'rec_name': 'ctest-vm1-test-55862085', '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-4736-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-55862085.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-11-17 03:18:36,080 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-57807895:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-55862085', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-55862085', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4736-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-55862085.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-17 03:18:37,513 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4736-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4736-2) 2025-11-17 03:18:37,514 - INFO - Waiting for VM ctest-vm2-test-41697081 to be up.. 2025-11-17 03:18:37,559 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 03:18:42,690 - DEBUG - VM is in ACTIVE state now 2025-11-17 03:18:42,690 - INFO - VM name : ctest-vm2-test-41697081 2025-11-17 03:18:42,790 - DEBUG - VM ctest-vm2-test-41697081 ID is f9277848-54ce-484d-9562-b86e495b43cb 2025-11-17 03:18:42,790 - DEBUG - VM ctest-vm2-test-41697081 launched on Node an-jenkins-deploy-platform-ansible-os-4736-2 2025-11-17 03:18:42,880 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f9277848-54ce-484d-9562-b86e495b43cb 2025-11-17 03:18:42,891 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b152ef69-49fb-4df9-afab-9479785f1069 2025-11-17 03:18:46,059 - 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-11-17 03:18:46,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41697081 failed! 2025-11-17 03:18:46,077 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:18:50,152 - 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-17 03:18:50,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41697081 failed! 2025-11-17 03:18:50,167 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:18:54,247 - 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-17 03:18:54,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41697081 failed! 2025-11-17 03:18:54,262 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:18:58,347 - 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-17 03:18:58,347 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41697081 failed! 2025-11-17 03:18:58,362 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:19:02,444 - 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-17 03:19:02,444 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41697081 failed! 2025-11-17 03:19:02,458 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:19:06,537 - 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-17 03:19:06,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41697081 failed! 2025-11-17 03:19:06,553 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:19:10,632 - 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-17 03:19:10,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41697081 failed! 2025-11-17 03:19:10,646 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:19:14,730 - 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-17 03:19:14,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41697081 failed! 2025-11-17 03:19:14,746 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-85229341:ctest-vn1-vdns-59294984 is 10.10.10.1 and allocation pool is NOT set 2025-11-17 03:19:16,806 - 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=4.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.91 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.908/3.911/4.914/1.003 ms') 2025-11-17 03:19:16,806 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-41697081 passed 2025-11-17 03:19:16,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 03:19:16,878 - DEBUG - Waiting to SSH to VM ctest-vm2-test-41697081, IP 10.10.10.4, Port 22 2025-11-17 03:19:16,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-17 03:19:17,039 - DEBUG - VM ctest-vm2-test-41697081 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 03:19:22,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 03:19:22,040 - DEBUG - Waiting to SSH to VM ctest-vm2-test-41697081, IP 10.10.10.4, Port 22 2025-11-17 03:19:22,099 - 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-17 03:19:22,182 - DEBUG - VM ctest-vm2-test-41697081 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 03:19:27,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 03:19:27,183 - DEBUG - Waiting to SSH to VM ctest-vm2-test-41697081, IP 10.10.10.4, Port 22 2025-11-17 03:19:27,250 - 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-17 03:19:27,370 - DEBUG - VM ctest-vm2-test-41697081 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 03:19:32,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 03:19:32,371 - DEBUG - Waiting to SSH to VM ctest-vm2-test-41697081, IP 10.10.10.4, Port 22 2025-11-17 03:19:32,427 - 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-17 03:19:32,516 - DEBUG - VM ctest-vm2-test-41697081 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 03:19:37,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 03:19:37,517 - DEBUG - Waiting to SSH to VM ctest-vm2-test-41697081, IP 10.10.10.4, Port 22 2025-11-17 03:19:37,686 - DEBUG - VM ctest-vm2-test-41697081 is ready for SSH connections 2025-11-17 03:19:37,686 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-11-17 03:19:37,686 - DEBUG - ifconfig | grep 10.10.10.4 2025-11-17 03:19:54,815 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-11-17 03:19:54,816 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-41697081", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-11-17 03:19:54,816 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-41697081", None, socket.AF_INET6)' 2025-11-17 03:19:56,069 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-41697081, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-11-17 03:19:56,069 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-41697081 2025-11-17 03:19:58,595 - DEBUG - PING ctest-vm2-test-41697081.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-41697081.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.78 ms 64 bytes from ctest-vm2-test-41697081.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.229 ms 64 bytes from ctest-vm2-test-41697081.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.206 ms --- ctest-vm2-test-41697081.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.206/1.738/4.780/2.151 ms 2025-11-17 03:19:58,595 - INFO - Ping to IP ctest-vm2-test-41697081 from VM ctest-vm2-test-41697081 passed 2025-11-17 03:19:58,621 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-17 03:19:58,627 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-57807895@0%20AllEntriesVdnsRecordsReq 2025-11-17 03:19:58,632 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-17 03:19:58,637 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-57807895@0%20AllEntriesVdnsRecordsReq 2025-11-17 03:19:58,643 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-17 03:19:58,649 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-57807895@0%20AllEntriesVdnsRecordsReq 2025-11-17 03:19:58,655 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-57807895:1:ctest-vm2-test-41697081:10.10.10.4', 'rec_name': 'ctest-vm2-test-41697081', '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-4736-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-41697081.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-11-17 03:19:58,655 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-57807895:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-41697081', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-41697081', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4736-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-41697081.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-17 03:19:58,655 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-41697081", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 03:19:58,656 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-41697081", None, socket.AF_INET6)' 2025-11-17 03:19:59,958 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-41697081, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 03:19:59,958 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-41697081 2025-11-17 03:20:02,577 - DEBUG - PING ctest-vm2-test-41697081.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-41697081.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.2 ms 64 bytes from ctest-vm2-test-41697081.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.29 ms 64 bytes from ctest-vm2-test-41697081.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.38 ms --- ctest-vm2-test-41697081.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.292/4.294/10.205/4.180 ms 2025-11-17 03:20:02,577 - INFO - Ping to IP ctest-vm2-test-41697081 from VM ctest-vm1-test-55862085 passed 2025-11-17 03:20:02,577 - INFO - Try deleting the VDNS entry ctest-vdns1-57807895 with back ref of ipam. 2025-11-17 03:20:02,637 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/58ac38ed-6904-4889-b04e-1426b2db64f6'] 2025-11-17 03:20:02,637 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-11-17 03:20:02,637 - INFO - Add CNAME VDNS record for ctest-vm1-test-55862085 and verify we able to ping by alias name 2025-11-17 03:20:02,685 - DEBUG - Creating VDNS record data : test-rec 2025-11-17 03:20:02,805 - INFO - In verify_on_setup 2025-11-17 03:20:02,905 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-57807895', 'test-rec'] created succesfully 2025-11-17 03:20:02,905 - INFO - Verify VDNS record is shown in the API server 2025-11-17 03:20:02,905 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-17 03:20:02,912 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b575f39c-ab2e-404a-877c-00e9b4192b03 2025-11-17 03:20:02,925 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/06a58260-6b14-4066-b41d-eeebf31b27cb 2025-11-17 03:20:02,937 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS-record/33719099-ff52-4583-8d37-6da2867039f1 2025-11-17 03:20:02,945 - INFO - Verify VDNS record is shown in the control node 2025-11-17 03:20:02,963 - 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.50, gateway password: c0ntrail123 2025-11-17 03:20:02,963 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-11-17 03:20:04,213 - 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.50, gateway password: c0ntrail123 2025-11-17 03:20:04,213 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-11-17 03:20:04,790 - DEBUG - ping: unknown host vm1-test-alias 2025-11-17 03:20:04,790 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-55862085 failed 2025-11-17 03:20:05,791 - 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.50, gateway password: c0ntrail123 2025-11-17 03:20:05,791 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-11-17 03:20:07,098 - 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.50, gateway password: c0ntrail123 2025-11-17 03:20:07,098 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-11-17 03:20:09,690 - DEBUG - PING ctest-vm1-test-55862085.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-55862085.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.91 ms 64 bytes from ctest-vm1-test-55862085.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.219 ms 64 bytes from ctest-vm1-test-55862085.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.234 ms --- ctest-vm1-test-55862085.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.219/0.789/1.914/0.795 ms 2025-11-17 03:20:09,690 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-55862085 passed 2025-11-17 03:20:09,690 - DEBUG - Deleting VDNS record data: test-rec 2025-11-17 03:20:09,773 - INFO - VDNS record info: default-domain:ctest-vdns1-57807895:test-rec deleted successfully. 2025-11-17 03:20:09,773 - INFO - Deleting VM ctest-vm2-test-41697081 2025-11-17 03:20:09,864 - INFO - Deleting VM ctest-vm1-test-55862085 2025-11-17 03:20:09,959 - INFO - Deleting VN ctest-vn1-vdns-59294984 2025-11-17 03:20:10,014 - DEBUG - VN db229850-e27e-4116-8dba-efcc350380f6 still in use: Unable to complete operation on network db229850-e27e-4116-8dba-efcc350380f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca77fc54-ae7b-43db-9d62-d3d02c5e6e83'] 2025-11-17 03:20:10,015 - WARNING - Deleting VN ctest-vn1-vdns-59294984 failed..Will retry 2025-11-17 03:20:12,197 - DEBUG - Response for deleting network () 2025-11-17 03:20:12,253 - DEBUG - Deleting VDNS Entry: ctest-vdns1-57807895 2025-11-17 03:20:12,353 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-57807895'] deleted successfully. 2025-11-17 03:20:12,353 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-17 03:20:12,363 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b575f39c-ab2e-404a-877c-00e9b4192b03 2025-11-17 03:20:12,389 - DEBUG - VDNS information not found in API server 2025-11-17 03:20:12,389 - INFO - VDNS information ctest-vdns1-57807895 removed from the API Server 2025-11-17 03:20:12,401 - INFO - VDNS information ctest-vdns1-57807895 removed in the Control node 2025-11-17 03:20:12,401 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-85229341'] 2025-11-17 03:20:13,727 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 03:20:13,727 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:16] 2025-11-17 03:20:13,727 - INFO - -------------------------------------------------------------------------------- 2025-11-17 03:20:14,594 - INFO - Deleted project: ctest-TestvDNSBasic0-85229341, ID : ed0e080d-9663-451f-abf4-08adb28328f1