2026-04-02 03:23:25,723 - INFO - Domain Default found not creating 2026-04-02 03:23:25,875 - INFO - Project ctest-TestvDNSBasic0-96408477 not found, creating it 2026-04-02 03:23:26,442 - INFO - Created Project:ctest-TestvDNSBasic0-96408477, ID : 4c647334-7fba-4474-93f4-68b2002eebaa 2026-04-02 03:23:27,972 - INFO - ================================================================================ 2026-04-02 03:23:27,972 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-04-02 03:23:27,972 - 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-04-02 03:23:29,256 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.249': '0'}, '10.0.0.128': {'10.20.0.249': '0', '10.20.0.254': '0'}} with 2026-04-02 03:23:29,256 - INFO - Initial checks done. Running the testcase now 2026-04-02 03:23:29,257 - INFO - 2026-04-02 03:23:29,997 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-96408477'](4c647334-7fba-4474-93f4-68b2002eebaa) 2026-04-02 03:23:30,053 - DEBUG - Creating VDNS : ctest-vdns1-47982407 2026-04-02 03:23:30,281 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-47982407'] created succesfully 2026-04-02 03:23:30,281 - DEBUG - Verify VDNS entry is shown in control node 2026-04-02 03:23:30,297 - DEBUG - Verify VDNS entry is shown in the API server 2026-04-02 03:23:30,297 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-04-02 03:23:30,595 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-04-02 03:23:30,625 - DEBUG - Requesting: http://10.0.0.73:8082/domain/2c17115e-1a6e-47b0-9bfc-9e380916d58b 2026-04-02 03:23:30,641 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-DNS/cfc5e5d0-2a39-430d-b617-fea682297941 2026-04-02 03:23:31,624 - DEBUG - Response for create_network : {'network': {'id': 'f6155704-8315-4504-a104-43a42bcc3996', 'name': 'ctest-vn1-vdns-35048429', 'tenant_id': '4c6473347fba447493f468b2002eebaa', 'project_id': '4c6473347fba447493f468b2002eebaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-96408477', 'ctest-vn1-vdns-35048429'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 03:23:31,903 - DEBUG - Response for create_subnet : {'subnet': {'id': '32df30c3-aa26-47dc-b2c0-52a89e0667a2', 'name': '', 'tenant_id': '4c6473347fba447493f468b2002eebaa', 'network_id': 'f6155704-8315-4504-a104-43a42bcc3996', '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': '4c6473347fba447493f468b2002eebaa'}} 2026-04-02 03:23:31,931 - INFO - Created VN ctest-vn1-vdns-35048429 2026-04-02 03:23:31,945 - DEBUG - VN ctest-vn1-vdns-35048429 UUID is f6155704-8315-4504-a104-43a42bcc3996 2026-04-02 03:23:32,200 - DEBUG - Services list from nova: [, , , ] 2026-04-02 03:23:33,377 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5575-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5575-2) 2026-04-02 03:23:33,377 - INFO - Waiting for VM ctest-vm1-test-33958111 to be up.. 2026-04-02 03:23:33,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 03:23:38,524 - DEBUG - VM is in ACTIVE state now 2026-04-02 03:23:38,524 - INFO - VM name : ctest-vm1-test-33958111 2026-04-02 03:23:38,601 - DEBUG - VM ctest-vm1-test-33958111 ID is cea22a30-3d93-4178-944e-15cfd060bc19 2026-04-02 03:23:38,601 - DEBUG - VM ctest-vm1-test-33958111 launched on Node an-jenkins-deploy-platform-ansible-os-5575-2 2026-04-02 03:23:38,679 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/cea22a30-3d93-4178-944e-15cfd060bc19 2026-04-02 03:23:38,972 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/cea22a30-3d93-4178-944e-15cfd060bc19 2026-04-02 03:23:39,013 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/cdb54933-7415-466d-a967-ada784f8ab03 2026-04-02 03:23:42,185 - 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-04-02 03:23:42,185 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-33958111 failed! 2026-04-02 03:23:42,204 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:23:46,286 - 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 1021ms') 2026-04-02 03:23:46,286 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-33958111 failed! 2026-04-02 03:23:46,301 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:23:50,389 - 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-04-02 03:23:50,389 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-33958111 failed! 2026-04-02 03:23:50,402 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:23:54,481 - 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-04-02 03:23:54,481 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-33958111 failed! 2026-04-02 03:23:54,497 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:23:58,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 1011ms') 2026-04-02 03:23:58,569 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-33958111 failed! 2026-04-02 03:23:58,584 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:24:02,676 - 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 1027ms') 2026-04-02 03:24:02,676 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-33958111 failed! 2026-04-02 03:24:02,691 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:24:06,760 - 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-04-02 03:24:06,760 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-33958111 failed! 2026-04-02 03:24:06,774 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:24:10,864 - 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 1020ms') 2026-04-02 03:24:10,864 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-33958111 failed! 2026-04-02 03:24:10,879 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:24:14,958 - 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 1015ms') 2026-04-02 03:24:14,958 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-33958111 failed! 2026-04-02 03:24:14,974 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:24:17,034 - 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=5.67 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.540 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.540/3.106/5.673/2.566 ms') 2026-04-02 03:24:17,034 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-33958111 passed 2026-04-02 03:24:17,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 03:24:17,102 - DEBUG - Waiting to SSH to VM ctest-vm1-test-33958111, IP 10.10.10.3, Port 22 2026-04-02 03:24:17,167 - 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-04-02 03:24:17,249 - DEBUG - VM ctest-vm1-test-33958111 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 03:24:22,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 03:24:22,250 - DEBUG - Waiting to SSH to VM ctest-vm1-test-33958111, IP 10.10.10.3, Port 22 2026-04-02 03:24:22,315 - 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-04-02 03:24:22,400 - DEBUG - VM ctest-vm1-test-33958111 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 03:24:27,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 03:24:27,402 - DEBUG - Waiting to SSH to VM ctest-vm1-test-33958111, IP 10.10.10.3, Port 22 2026-04-02 03:24:27,457 - 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-04-02 03:24:27,561 - DEBUG - VM ctest-vm1-test-33958111 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 03:24:32,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 03:24:32,562 - DEBUG - Waiting to SSH to VM ctest-vm1-test-33958111, IP 10.10.10.3, Port 22 2026-04-02 03:24:32,728 - DEBUG - VM ctest-vm1-test-33958111 is ready for SSH connections 2026-04-02 03:24:32,728 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2026-04-02 03:24:32,728 - DEBUG - ifconfig | grep 10.10.10.3 2026-04-02 03:24:53,106 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-04-02 03:24:53,106 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-33958111", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2026-04-02 03:24:53,106 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-33958111", None, socket.AF_INET6)' 2026-04-02 03:24:55,728 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-33958111, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2026-04-02 03:24:55,729 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-33958111 2026-04-02 03:24:58,263 - DEBUG - PING ctest-vm1-test-33958111.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-33958111.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.39 ms 64 bytes from ctest-vm1-test-33958111.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.68 ms 64 bytes from ctest-vm1-test-33958111.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.196 ms --- ctest-vm1-test-33958111.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.196/2.091/3.397/1.372 ms 2026-04-02 03:24:58,263 - INFO - Ping to IP ctest-vm1-test-33958111 from VM ctest-vm1-test-33958111 passed 2026-04-02 03:24:58,292 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-04-02 03:24:58,298 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47982407@0%20AllEntriesVdnsRecordsReq 2026-04-02 03:24:58,304 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-04-02 03:24:58,309 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47982407@0%20AllEntriesVdnsRecordsReq 2026-04-02 03:24:58,313 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-04-02 03:24:58,318 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47982407@0%20AllEntriesVdnsRecordsReq 2026-04-02 03:24:58,322 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-47982407:1:ctest-vm1-test-33958111:10.10.10.3', 'rec_name': 'ctest-vm1-test-33958111', '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-5575-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-33958111.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-04-02 03:24:58,322 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-47982407:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-33958111', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-33958111', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5575-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-33958111.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-04-02 03:24:59,677 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5575-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5575-1) 2026-04-02 03:24:59,678 - INFO - Waiting for VM ctest-vm2-test-79015216 to be up.. 2026-04-02 03:24:59,717 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 03:25:04,795 - DEBUG - VM is in ACTIVE state now 2026-04-02 03:25:04,795 - INFO - VM name : ctest-vm2-test-79015216 2026-04-02 03:25:04,883 - DEBUG - VM ctest-vm2-test-79015216 ID is 67fc0b31-93ce-4dec-8a1d-cee73090d9fa 2026-04-02 03:25:04,883 - DEBUG - VM ctest-vm2-test-79015216 launched on Node an-jenkins-deploy-platform-ansible-os-5575-1 2026-04-02 03:25:04,964 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/67fc0b31-93ce-4dec-8a1d-cee73090d9fa 2026-04-02 03:25:04,976 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/21f34471-7229-467f-863c-9566519ad63d 2026-04-02 03:25:08,161 - 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-04-02 03:25:08,161 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 failed! 2026-04-02 03:25:08,177 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:25:12,260 - 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 1017ms') 2026-04-02 03:25:12,260 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 failed! 2026-04-02 03:25:12,275 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:25:16,353 - 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-04-02 03:25:16,353 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 failed! 2026-04-02 03:25:16,369 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:25:20,449 - 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 1017ms') 2026-04-02 03:25:20,449 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 failed! 2026-04-02 03:25:20,464 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:25:24,548 - 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-04-02 03:25:24,548 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 failed! 2026-04-02 03:25:24,563 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:25:28,636 - 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-04-02 03:25:28,636 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 failed! 2026-04-02 03:25:28,652 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:25:32,733 - 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 1022ms') 2026-04-02 03:25:32,733 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 failed! 2026-04-02 03:25:32,749 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:25:36,835 - 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 1021ms') 2026-04-02 03:25:36,836 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 failed! 2026-04-02 03:25:36,852 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:25:40,929 - 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-04-02 03:25:40,929 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 failed! 2026-04-02 03:25:40,944 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:25:45,019 - 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-04-02 03:25:45,019 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 failed! 2026-04-02 03:25:45,034 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:25:49,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 1021ms') 2026-04-02 03:25:49,122 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 failed! 2026-04-02 03:25:49,138 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96408477:ctest-vn1-vdns-35048429 is 10.10.10.1 and allocation pool is NOT set 2026-04-02 03:25:53,221 - 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=27.5 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 27.488/27.488/27.488/0.000 ms') 2026-04-02 03:25:53,221 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79015216 passed 2026-04-02 03:25:53,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 03:25:53,295 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79015216, IP 10.10.10.4, Port 22 2026-04-02 03:25:53,364 - 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-04-02 03:25:53,473 - DEBUG - VM ctest-vm2-test-79015216 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 03:25:58,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 03:25:58,475 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79015216, IP 10.10.10.4, Port 22 2026-04-02 03:25:58,540 - 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-04-02 03:25:58,618 - DEBUG - VM ctest-vm2-test-79015216 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 03:26:03,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 03:26:03,619 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79015216, IP 10.10.10.4, Port 22 2026-04-02 03:26:03,688 - 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-04-02 03:26:03,781 - DEBUG - VM ctest-vm2-test-79015216 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 03:26:08,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 03:26:08,781 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79015216, IP 10.10.10.4, Port 22 2026-04-02 03:26:08,848 - 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-04-02 03:26:08,940 - DEBUG - VM ctest-vm2-test-79015216 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 03:26:13,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 03:26:13,941 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79015216, IP 10.10.10.4, Port 22 2026-04-02 03:26:14,008 - 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-04-02 03:26:14,109 - DEBUG - VM ctest-vm2-test-79015216 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 03:26:19,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 03:26:19,110 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79015216, IP 10.10.10.4, Port 22 2026-04-02 03:26:19,281 - DEBUG - VM ctest-vm2-test-79015216 is ready for SSH connections 2026-04-02 03:26:19,281 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-02 03:26:19,281 - DEBUG - ifconfig | grep 10.10.10.4 2026-04-02 03:26:42,789 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-04-02 03:26:42,789 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79015216", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-02 03:26:42,789 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79015216", None, socket.AF_INET6)' 2026-04-02 03:26:45,504 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-79015216, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-02 03:26:45,504 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-79015216 2026-04-02 03:26:48,141 - DEBUG - PING ctest-vm2-test-79015216.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-79015216.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.79 ms 64 bytes from ctest-vm2-test-79015216.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.87 ms 64 bytes from ctest-vm2-test-79015216.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.221 ms --- ctest-vm2-test-79015216.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.221/2.630/4.792/1.874 ms 2026-04-02 03:26:48,141 - INFO - Ping to IP ctest-vm2-test-79015216 from VM ctest-vm2-test-79015216 passed 2026-04-02 03:26:48,165 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-04-02 03:26:48,174 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47982407@0%20AllEntriesVdnsRecordsReq 2026-04-02 03:26:48,179 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-04-02 03:26:48,184 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47982407@0%20AllEntriesVdnsRecordsReq 2026-04-02 03:26:48,189 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-04-02 03:26:48,193 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47982407@0%20AllEntriesVdnsRecordsReq 2026-04-02 03:26:48,198 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-47982407:1:ctest-vm2-test-79015216:10.10.10.4', 'rec_name': 'ctest-vm2-test-79015216', '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-5575-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-79015216.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-04-02 03:26:48,198 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-47982407:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-79015216', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-79015216', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5575-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-79015216.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-04-02 03:26:48,198 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79015216", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2026-04-02 03:26:48,198 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79015216", None, socket.AF_INET6)' 2026-04-02 03:26:49,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-79015216, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2026-04-02 03:26:49,357 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-79015216 2026-04-02 03:26:51,882 - DEBUG - PING ctest-vm2-test-79015216.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-79015216.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.72 ms 64 bytes from ctest-vm2-test-79015216.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.27 ms 64 bytes from ctest-vm2-test-79015216.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.73 ms --- ctest-vm2-test-79015216.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.272/3.576/7.723/2.938 ms 2026-04-02 03:26:51,883 - INFO - Ping to IP ctest-vm2-test-79015216 from VM ctest-vm1-test-33958111 passed 2026-04-02 03:26:51,883 - INFO - Try deleting the VDNS entry ctest-vdns1-47982407 with back ref of ipam. 2026-04-02 03:26:51,941 - DEBUG - Delete when resource still referred: ['http://10.0.0.48:8082/network-ipam/7ad87c45-5f5a-4e4d-ba63-38c075f8c306'] 2026-04-02 03:26:51,941 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-04-02 03:26:51,941 - INFO - Add CNAME VDNS record for ctest-vm1-test-33958111 and verify we able to ping by alias name 2026-04-02 03:26:51,989 - DEBUG - Creating VDNS record data : test-rec 2026-04-02 03:26:52,117 - INFO - In verify_on_setup 2026-04-02 03:26:52,217 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-47982407', 'test-rec'] created succesfully 2026-04-02 03:26:52,217 - INFO - Verify VDNS record is shown in the API server 2026-04-02 03:26:52,218 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-04-02 03:26:52,224 - DEBUG - Requesting: http://10.0.0.73:8082/domain/2c17115e-1a6e-47b0-9bfc-9e380916d58b 2026-04-02 03:26:52,236 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-DNS/cfc5e5d0-2a39-430d-b617-fea682297941 2026-04-02 03:26:52,246 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-DNS-record/502277ed-841c-44bc-bf9b-cea2f3496002 2026-04-02 03:26:52,253 - INFO - Verify VDNS record is shown in the control node 2026-04-02 03:26:52,268 - 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.128, gateway password: c0ntrail123 2026-04-02 03:26:52,268 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-04-02 03:26:53,426 - 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.128, gateway password: c0ntrail123 2026-04-02 03:26:53,426 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-04-02 03:26:53,947 - DEBUG - ping: unknown host vm1-test-alias 2026-04-02 03:26:53,947 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-33958111 failed 2026-04-02 03:26:54,948 - 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.128, gateway password: c0ntrail123 2026-04-02 03:26:54,948 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-04-02 03:26:56,124 - 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.128, gateway password: c0ntrail123 2026-04-02 03:26:56,124 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-04-02 03:26:58,648 - DEBUG - PING ctest-vm1-test-33958111.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-33958111.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.216 ms 64 bytes from ctest-vm1-test-33958111.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.371 ms 64 bytes from ctest-vm1-test-33958111.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.184 ms --- ctest-vm1-test-33958111.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.184/0.257/0.371/0.081 ms 2026-04-02 03:26:58,648 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-33958111 passed 2026-04-02 03:26:58,648 - DEBUG - Deleting VDNS record data: test-rec 2026-04-02 03:26:58,729 - INFO - VDNS record info: default-domain:ctest-vdns1-47982407:test-rec deleted successfully. 2026-04-02 03:26:58,729 - INFO - Deleting VM ctest-vm2-test-79015216 2026-04-02 03:26:58,789 - INFO - Deleting VM ctest-vm1-test-33958111 2026-04-02 03:26:58,863 - INFO - Deleting VN ctest-vn1-vdns-35048429 2026-04-02 03:26:58,904 - DEBUG - VN f6155704-8315-4504-a104-43a42bcc3996 still in use: Unable to complete operation on network f6155704-8315-4504-a104-43a42bcc3996. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9ebca651-90bd-4feb-8a29-e4eb22e37473'] 2026-04-02 03:26:58,905 - WARNING - Deleting VN ctest-vn1-vdns-35048429 failed..Will retry 2026-04-02 03:27:01,075 - DEBUG - Response for deleting network () 2026-04-02 03:27:01,144 - DEBUG - Deleting VDNS Entry: ctest-vdns1-47982407 2026-04-02 03:27:01,245 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-47982407'] deleted successfully. 2026-04-02 03:27:01,245 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-04-02 03:27:01,254 - DEBUG - Requesting: http://10.0.0.73:8082/domain/2c17115e-1a6e-47b0-9bfc-9e380916d58b 2026-04-02 03:27:01,272 - DEBUG - VDNS information not found in API server 2026-04-02 03:27:01,272 - INFO - VDNS information ctest-vdns1-47982407 removed from the API Server 2026-04-02 03:27:01,282 - INFO - VDNS information ctest-vdns1-47982407 removed in the Control node 2026-04-02 03:27:01,282 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-96408477'] 2026-04-02 03:27:02,576 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 03:27:02,576 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:35]
2026-04-02 03:27:02,576 - INFO - -------------------------------------------------------------------------------- 2026-04-02 03:27:03,302 - INFO - Deleted project: ctest-TestvDNSBasic0-96408477, ID : 4c647334-7fba-4474-93f4-68b2002eebaa