2026-06-04 03:46:47,643 - INFO - Domain Default found not creating 2026-06-04 03:46:47,887 - INFO - Project ctest-TestvDNSBasic0-04399253 not found, creating it 2026-06-04 03:46:48,436 - INFO - Created Project:ctest-TestvDNSBasic0-04399253, ID : 859389ca-876b-4320-b811-db4d979fda04 2026-06-04 03:46:50,267 - INFO - ================================================================================ 2026-06-04 03:46:50,268 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-06-04 03:46:50,268 - 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 2026-06-04 03:46:51,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.23': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2026-06-04 03:46:51,582 - INFO - Initial checks done. Running the testcase now 2026-06-04 03:46:51,582 - INFO - 2026-06-04 03:46:52,417 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-04399253'](859389ca-876b-4320-b811-db4d979fda04) 2026-06-04 03:46:52,481 - DEBUG - Creating VDNS : ctest-vdns1-00248737 2026-06-04 03:46:52,725 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-00248737'] created succesfully 2026-06-04 03:46:52,725 - DEBUG - Verify VDNS entry is shown in control node 2026-06-04 03:46:52,756 - DEBUG - Verify VDNS entry is shown in the API server 2026-06-04 03:46:52,756 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 03:46:53,112 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 03:46:53,167 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8ccfa912-5c7b-4fa2-81f0-7797c9f08308 2026-06-04 03:46:53,188 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS/980daf31-28d0-4a9c-a7a0-147b8a110907 2026-06-04 03:46:53,989 - DEBUG - Response for create_network : {'network': {'id': '0304d714-c683-48fd-ab28-a5cecbfd4abb', 'name': 'ctest-vn1-vdns-60563322', 'tenant_id': '859389ca876b4320b811db4d979fda04', 'project_id': '859389ca876b4320b811db4d979fda04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-04399253', 'ctest-vn1-vdns-60563322'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 03:46:54,360 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c57587bd-1c70-49aa-a909-331700fcbf56', 'name': '', 'tenant_id': '859389ca876b4320b811db4d979fda04', 'network_id': '0304d714-c683-48fd-ab28-a5cecbfd4abb', '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': '859389ca876b4320b811db4d979fda04'}} 2026-06-04 03:46:54,402 - INFO - Created VN ctest-vn1-vdns-60563322 2026-06-04 03:46:54,416 - DEBUG - VN ctest-vn1-vdns-60563322 UUID is 0304d714-c683-48fd-ab28-a5cecbfd4abb 2026-06-04 03:46:54,735 - DEBUG - Services list from nova: [, , , ] 2026-06-04 03:46:56,038 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5884-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5884-2) 2026-06-04 03:46:56,039 - INFO - Waiting for VM ctest-vm1-test-55887881 to be up.. 2026-06-04 03:46:56,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 03:47:01,229 - DEBUG - VM is in ACTIVE state now 2026-06-04 03:47:01,229 - INFO - VM name : ctest-vm1-test-55887881 2026-06-04 03:47:01,341 - DEBUG - VM ctest-vm1-test-55887881 ID is 78b2c590-1341-4ca5-b6ba-9ad0d28baede 2026-06-04 03:47:01,341 - DEBUG - VM ctest-vm1-test-55887881 launched on Node an-jenkins-deploy-platform-ansible-os-5884-2 2026-06-04 03:47:01,450 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/78b2c590-1341-4ca5-b6ba-9ad0d28baede 2026-06-04 03:47:01,772 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/78b2c590-1341-4ca5-b6ba-9ad0d28baede 2026-06-04 03:47:01,822 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b63ffaa6-7376-45f5-9c56-035211e5541b 2026-06-04 03:47:05,031 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-06-04 03:47:05,032 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-55887881 failed! 2026-06-04 03:47:05,047 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:47:09,122 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-06-04 03:47:09,122 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-55887881 failed! 2026-06-04 03:47:09,138 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:47:13,223 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-06-04 03:47:13,224 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-55887881 failed! 2026-06-04 03:47:13,241 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:47:17,322 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-06-04 03:47:17,322 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-55887881 failed! 2026-06-04 03:47:17,338 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:47:21,410 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-06-04 03:47:21,410 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-55887881 failed! 2026-06-04 03:47:21,427 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:47:25,511 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-06-04 03:47:25,511 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-55887881 failed! 2026-06-04 03:47:25,528 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:47:29,603 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-06-04 03:47:29,603 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-55887881 failed! 2026-06-04 03:47:29,622 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:47:33,700 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2026-06-04 03:47:33,700 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-55887881 failed! 2026-06-04 03:47:33,716 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:47:37,803 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2026-06-04 03:47:37,803 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-55887881 failed! 2026-06-04 03:47:37,822 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:47:41,893 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=5.35 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 5.352/5.352/5.352/0.000 ms') 2026-06-04 03:47:41,893 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-55887881 passed 2026-06-04 03:47:41,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:47:41,968 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55887881, IP 10.10.10.3, Port 22 2026-06-04 03:47:42,026 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 03:47:42,173 - DEBUG - VM ctest-vm1-test-55887881 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:47:47,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:47:47,174 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55887881, IP 10.10.10.3, Port 22 2026-06-04 03:47:47,244 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 03:47:47,340 - DEBUG - VM ctest-vm1-test-55887881 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:47:52,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:47:52,341 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55887881, IP 10.10.10.3, Port 22 2026-06-04 03:47:52,417 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 03:47:52,538 - DEBUG - VM ctest-vm1-test-55887881 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:47:57,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:47:57,539 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55887881, IP 10.10.10.3, Port 22 2026-06-04 03:47:57,597 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 03:47:57,700 - DEBUG - VM ctest-vm1-test-55887881 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:48:02,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:48:02,701 - DEBUG - Waiting to SSH to VM ctest-vm1-test-55887881, IP 10.10.10.3, Port 22 2026-06-04 03:48:02,879 - DEBUG - VM ctest-vm1-test-55887881 is ready for SSH connections 2026-06-04 03:48:02,880 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 03:48:02,880 - DEBUG - ifconfig | grep 10.10.10.3 2026-06-04 03:48:25,962 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-06-04 03:48:25,963 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-55887881", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 03:48:25,963 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-55887881", None, socket.AF_INET6)' 2026-06-04 03:48:29,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-55887881, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 03:48:29,236 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-55887881 2026-06-04 03:48:32,283 - DEBUG - PING ctest-vm1-test-55887881.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-55887881.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.96 ms 64 bytes from ctest-vm1-test-55887881.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.252 ms 64 bytes from ctest-vm1-test-55887881.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.201 ms --- ctest-vm1-test-55887881.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.201/1.140/2.967/1.292 ms 2026-06-04 03:48:32,283 - INFO - Ping to IP ctest-vm1-test-55887881 from VM ctest-vm1-test-55887881 passed 2026-06-04 03:48:32,315 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-04 03:48:32,332 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00248737@0%20AllEntriesVdnsRecordsReq 2026-06-04 03:48:32,364 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-04 03:48:32,378 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00248737@0%20AllEntriesVdnsRecordsReq 2026-06-04 03:48:32,393 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-04 03:48:32,411 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00248737@0%20AllEntriesVdnsRecordsReq 2026-06-04 03:48:32,425 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-00248737:1:ctest-vm1-test-55887881:10.10.10.3', 'rec_name': 'ctest-vm1-test-55887881', '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-5884-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-55887881.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-06-04 03:48:32,425 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-00248737:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-55887881', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-55887881', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5884-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-55887881.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'} 2026-06-04 03:48:34,288 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5884-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5884-1) 2026-06-04 03:48:34,288 - INFO - Waiting for VM ctest-vm2-test-84349738 to be up.. 2026-06-04 03:48:34,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 03:48:39,467 - DEBUG - VM is in ACTIVE state now 2026-06-04 03:48:39,467 - INFO - VM name : ctest-vm2-test-84349738 2026-06-04 03:48:39,580 - DEBUG - VM ctest-vm2-test-84349738 ID is f928c29c-fe76-4b8a-938f-64c1c2bd4c94 2026-06-04 03:48:39,580 - DEBUG - VM ctest-vm2-test-84349738 launched on Node an-jenkins-deploy-platform-ansible-os-5884-1 2026-06-04 03:48:39,681 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f928c29c-fe76-4b8a-938f-64c1c2bd4c94 2026-06-04 03:48:39,693 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/47a49763-3e58-42f0-9063-c9f0ab6e3fff 2026-06-04 03:48:42,895 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2026-06-04 03:48:42,895 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-84349738 failed! 2026-06-04 03:48:42,910 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:48:46,995 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-06-04 03:48:46,995 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-84349738 failed! 2026-06-04 03:48:47,013 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:48:51,082 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-04 03:48:51,082 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-84349738 failed! 2026-06-04 03:48:51,100 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:48:55,182 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-06-04 03:48:55,183 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-84349738 failed! 2026-06-04 03:48:55,200 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:48:59,283 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms') 2026-06-04 03:48:59,283 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-84349738 failed! 2026-06-04 03:48:59,303 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:49:03,379 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-04 03:49:03,380 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-84349738 failed! 2026-06-04 03:49:03,400 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:49:07,472 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2026-06-04 03:49:07,472 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-84349738 failed! 2026-06-04 03:49:07,491 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:49:11,569 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-04 03:49:11,569 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-84349738 failed! 2026-06-04 03:49:11,585 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:49:15,663 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-06-04 03:49:15,663 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-84349738 failed! 2026-06-04 03:49:15,680 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:49:19,763 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2026-06-04 03:49:19,763 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-84349738 failed! 2026-06-04 03:49:19,778 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-04399253:ctest-vn1-vdns-60563322 is 10.10.10.1 and allocation pool is NOT set 2026-06-04 03:49:21,845 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=7.06 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.51 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.505/5.284/7.063/1.779 ms') 2026-06-04 03:49:21,845 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-84349738 passed 2026-06-04 03:49:21,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:49:21,924 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84349738, IP 10.10.10.4, Port 22 2026-06-04 03:49:21,990 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 03:49:22,129 - DEBUG - VM ctest-vm2-test-84349738 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:49:27,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:49:27,129 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84349738, IP 10.10.10.4, Port 22 2026-06-04 03:49:27,199 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 03:49:27,303 - DEBUG - VM ctest-vm2-test-84349738 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:49:32,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:49:32,304 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84349738, IP 10.10.10.4, Port 22 2026-06-04 03:49:32,375 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 03:49:32,480 - DEBUG - VM ctest-vm2-test-84349738 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:49:37,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:49:37,481 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84349738, IP 10.10.10.4, Port 22 2026-06-04 03:49:37,550 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 03:49:37,654 - DEBUG - VM ctest-vm2-test-84349738 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:49:42,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:49:42,656 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84349738, IP 10.10.10.4, Port 22 2026-06-04 03:49:42,724 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-04 03:49:42,863 - DEBUG - VM ctest-vm2-test-84349738 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 03:49:47,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 03:49:47,864 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84349738, IP 10.10.10.4, Port 22 2026-06-04 03:49:48,035 - DEBUG - VM ctest-vm2-test-84349738 is ready for SSH connections 2026-06-04 03:49:48,035 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-04 03:49:48,036 - DEBUG - ifconfig | grep 10.10.10.4 2026-06-04 03:50:12,506 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-06-04 03:50:12,506 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84349738", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-04 03:50:12,506 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84349738", None, socket.AF_INET6)' 2026-06-04 03:50:15,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-84349738, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-06-04 03:50:15,678 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-84349738 2026-06-04 03:50:18,348 - DEBUG - PING ctest-vm2-test-84349738.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-84349738.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.65 ms 64 bytes from ctest-vm2-test-84349738.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.257 ms 64 bytes from ctest-vm2-test-84349738.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.309 ms --- ctest-vm2-test-84349738.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.257/1.739/4.653/2.060 ms 2026-06-04 03:50:18,348 - INFO - Ping to IP ctest-vm2-test-84349738 from VM ctest-vm2-test-84349738 passed 2026-06-04 03:50:18,373 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-04 03:50:18,382 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00248737@0%20AllEntriesVdnsRecordsReq 2026-06-04 03:50:18,390 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-04 03:50:18,396 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00248737@0%20AllEntriesVdnsRecordsReq 2026-06-04 03:50:18,403 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-04 03:50:18,410 - DEBUG - Requesting: http://10.0.0.242:8092/Snh_PageReq?x=default-domain:ctest-vdns1-00248737@0%20AllEntriesVdnsRecordsReq 2026-06-04 03:50:18,415 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-00248737:1:ctest-vm2-test-84349738:10.10.10.4', 'rec_name': 'ctest-vm2-test-84349738', '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-5884-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-84349738.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-06-04 03:50:18,415 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-00248737:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-84349738', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-84349738', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5884-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-84349738.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'} 2026-06-04 03:50:18,415 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84349738", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 03:50:18,416 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84349738", None, socket.AF_INET6)' 2026-06-04 03:50:19,753 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-84349738, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 03:50:19,753 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-84349738 2026-06-04 03:50:22,358 - DEBUG - PING ctest-vm2-test-84349738.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-84349738.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.7 ms 64 bytes from ctest-vm2-test-84349738.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.89 ms 64 bytes from ctest-vm2-test-84349738.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.40 ms --- ctest-vm2-test-84349738.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.401/4.682/10.756/4.299 ms 2026-06-04 03:50:22,358 - INFO - Ping to IP ctest-vm2-test-84349738 from VM ctest-vm1-test-55887881 passed 2026-06-04 03:50:22,359 - INFO - Try deleting the VDNS entry ctest-vdns1-00248737 with back ref of ipam. 2026-06-04 03:50:22,417 - DEBUG - Delete when resource still referred: ['http://10.0.0.27:8082/network-ipam/dfcf8d8c-cedc-4d5e-8b40-a9b16fec5ccd'] 2026-06-04 03:50:22,417 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-06-04 03:50:22,417 - INFO - Add CNAME VDNS record for ctest-vm1-test-55887881 and verify we able to ping by alias name 2026-06-04 03:50:22,465 - DEBUG - Creating VDNS record data : test-rec 2026-06-04 03:50:22,609 - INFO - In verify_on_setup 2026-06-04 03:50:22,705 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-00248737', 'test-rec'] created succesfully 2026-06-04 03:50:22,705 - INFO - Verify VDNS record is shown in the API server 2026-06-04 03:50:22,706 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 03:50:22,715 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8ccfa912-5c7b-4fa2-81f0-7797c9f08308 2026-06-04 03:50:22,730 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS/980daf31-28d0-4a9c-a7a0-147b8a110907 2026-06-04 03:50:22,743 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-DNS-record/86b57ea6-a0c3-4424-9a94-12fd8aebbfd9 2026-06-04 03:50:22,750 - INFO - Verify VDNS record is shown in the control node 2026-06-04 03:50:22,772 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 03:50:22,773 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-06-04 03:50:24,164 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 03:50:24,165 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-06-04 03:50:24,810 - DEBUG - ping: unknown host vm1-test-alias 2026-06-04 03:50:24,810 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-55887881 failed 2026-06-04 03:50:25,811 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 03:50:25,811 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-06-04 03:50:27,268 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-06-04 03:50:27,268 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-06-04 03:50:29,868 - DEBUG - PING ctest-vm1-test-55887881.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-55887881.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.33 ms 64 bytes from ctest-vm1-test-55887881.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.425 ms 64 bytes from ctest-vm1-test-55887881.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.317 ms --- ctest-vm1-test-55887881.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.317/1.025/2.333/0.925 ms 2026-06-04 03:50:29,868 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-55887881 passed 2026-06-04 03:50:29,869 - DEBUG - Deleting VDNS record data: test-rec 2026-06-04 03:50:29,957 - INFO - VDNS record info: default-domain:ctest-vdns1-00248737:test-rec deleted successfully. 2026-06-04 03:50:29,957 - INFO - Deleting VM ctest-vm2-test-84349738 2026-06-04 03:50:30,046 - INFO - Deleting VM ctest-vm1-test-55887881 2026-06-04 03:50:30,150 - INFO - Deleting VN ctest-vn1-vdns-60563322 2026-06-04 03:50:30,202 - DEBUG - VN 0304d714-c683-48fd-ab28-a5cecbfd4abb still in use: Unable to complete operation on network 0304d714-c683-48fd-ab28-a5cecbfd4abb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3dc3364c-c59b-4038-8995-37f4825eeeb1'] 2026-06-04 03:50:30,202 - WARNING - Deleting VN ctest-vn1-vdns-60563322 failed..Will retry 2026-06-04 03:50:32,416 - DEBUG - Response for deleting network () 2026-06-04 03:50:32,466 - DEBUG - Deleting VDNS Entry: ctest-vdns1-00248737 2026-06-04 03:50:32,562 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-00248737'] deleted successfully. 2026-06-04 03:50:32,563 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-04 03:50:32,574 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8ccfa912-5c7b-4fa2-81f0-7797c9f08308 2026-06-04 03:50:32,618 - DEBUG - VDNS information not found in API server 2026-06-04 03:50:32,618 - INFO - VDNS information ctest-vdns1-00248737 removed from the API Server 2026-06-04 03:50:32,625 - INFO - VDNS information ctest-vdns1-00248737 removed in the Control node 2026-06-04 03:50:32,625 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-04399253'] 2026-06-04 03:50:33,917 - DEBUG - No XMPP flaps were noticed during the test 2026-06-04 03:50:33,917 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:43] 2026-06-04 03:50:33,917 - INFO - -------------------------------------------------------------------------------- 2026-06-04 03:50:34,710 - INFO - Deleted project: ctest-TestvDNSBasic0-04399253, ID : 859389ca-876b-4320-b811-db4d979fda04