2026-06-03 18:33:43,999 - INFO - Domain Default found not creating 2026-06-03 18:33:44,260 - INFO - Project ctest-TestvDNSBasic0-84562551 not found, creating it 2026-06-03 18:33:44,877 - INFO - Created Project:ctest-TestvDNSBasic0-84562551, ID : 9af0ffac-013c-4079-ae85-69b684c6badd 2026-06-03 18:33:46,557 - INFO - ================================================================================ 2026-06-03 18:33:46,557 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-06-03 18:33:46,557 - 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-03 18:33:47,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.19': {'10.20.0.25': '0', '10.20.0.17': '0'}} with 2026-06-03 18:33:47,839 - INFO - Initial checks done. Running the testcase now 2026-06-03 18:33:47,839 - INFO - 2026-06-03 18:33:48,652 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-84562551'](9af0ffac-013c-4079-ae85-69b684c6badd) 2026-06-03 18:33:48,705 - DEBUG - Creating VDNS : ctest-vdns1-50716379 2026-06-03 18:33:48,953 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-50716379'] created succesfully 2026-06-03 18:33:48,953 - DEBUG - Verify VDNS entry is shown in control node 2026-06-03 18:33:48,973 - DEBUG - Verify VDNS entry is shown in the API server 2026-06-03 18:33:48,973 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-03 18:33:49,310 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-03 18:33:49,375 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cfce58c2-bdea-4e41-80d8-e31e3dad5e9f 2026-06-03 18:33:49,414 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/6beb62ed-db8e-4e42-b510-a44f21d5cc80 2026-06-03 18:33:50,251 - DEBUG - Response for create_network : {'network': {'id': '3faf0155-5b3f-4b09-9842-76db8ca59220', 'name': 'ctest-vn1-vdns-99770621', 'tenant_id': '9af0ffac013c4079ae8569b684c6badd', 'project_id': '9af0ffac013c4079ae8569b684c6badd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-84562551', 'ctest-vn1-vdns-99770621'], 'port_security_enabled': True, 'description': ''}} 2026-06-03 18:33:50,584 - DEBUG - Response for create_subnet : {'subnet': {'id': '2dfe9877-e880-4c2e-add5-0022a6c84a73', 'name': '', 'tenant_id': '9af0ffac013c4079ae8569b684c6badd', 'network_id': '3faf0155-5b3f-4b09-9842-76db8ca59220', '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': '9af0ffac013c4079ae8569b684c6badd'}} 2026-06-03 18:33:50,607 - INFO - Created VN ctest-vn1-vdns-99770621 2026-06-03 18:33:50,623 - DEBUG - VN ctest-vn1-vdns-99770621 UUID is 3faf0155-5b3f-4b09-9842-76db8ca59220 2026-06-03 18:33:50,991 - DEBUG - Services list from nova: [, , , ] 2026-06-03 18:33:52,618 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5883-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5883-1) 2026-06-03 18:33:52,619 - INFO - Waiting for VM ctest-vm1-test-40561865 to be up.. 2026-06-03 18:33:52,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-03 18:33:57,781 - DEBUG - VM is in ACTIVE state now 2026-06-03 18:33:57,782 - INFO - VM name : ctest-vm1-test-40561865 2026-06-03 18:33:57,873 - DEBUG - VM ctest-vm1-test-40561865 ID is ce8f4f11-f315-4ce0-930b-afeb699a8e83 2026-06-03 18:33:57,873 - DEBUG - VM ctest-vm1-test-40561865 launched on Node an-jenkins-deploy-platform-ansible-os-5883-1 2026-06-03 18:33:58,014 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ce8f4f11-f315-4ce0-930b-afeb699a8e83 2026-06-03 18:33:58,321 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ce8f4f11-f315-4ce0-930b-afeb699a8e83 2026-06-03 18:33:58,362 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3789143d-b764-4355-a93c-def7b3f1d88d 2026-06-03 18:34:01,552 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-06-03 18:34:01,552 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-40561865 failed! 2026-06-03 18:34:01,574 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:34:05,650 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-03 18:34:05,650 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-40561865 failed! 2026-06-03 18:34:05,668 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:34:09,743 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2026-06-03 18:34:09,743 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-40561865 failed! 2026-06-03 18:34:09,761 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:34:13,834 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-06-03 18:34:13,834 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-40561865 failed! 2026-06-03 18:34:13,849 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:34:17,934 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-06-03 18:34:17,935 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-40561865 failed! 2026-06-03 18:34:17,953 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:34:22,023 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2026-06-03 18:34:22,024 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-40561865 failed! 2026-06-03 18:34:22,041 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:34:26,126 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2026-06-03 18:34:26,126 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-40561865 failed! 2026-06-03 18:34:26,143 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:34:30,222 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-06-03 18:34:30,222 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-40561865 failed! 2026-06-03 18:34:30,237 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:34:34,319 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-06-03 18:34:34,320 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-40561865 failed! 2026-06-03 18:34:34,335 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:34:36,407 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=6.21 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=3.00 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.003/4.605/6.208/1.602 ms') 2026-06-03 18:34:36,407 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-40561865 passed 2026-06-03 18:34:36,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 18:34:36,488 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40561865, IP 10.10.10.3, Port 22 2026-06-03 18:34:36,546 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-03 18:34:36,665 - DEBUG - VM ctest-vm1-test-40561865 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-03 18:34:41,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 18:34:41,667 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40561865, IP 10.10.10.3, Port 22 2026-06-03 18:34:41,735 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-03 18:34:41,842 - DEBUG - VM ctest-vm1-test-40561865 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-03 18:34:46,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 18:34:46,843 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40561865, IP 10.10.10.3, Port 22 2026-06-03 18:34:46,916 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-03 18:34:47,054 - DEBUG - VM ctest-vm1-test-40561865 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-03 18:34:52,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 18:34:52,055 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40561865, IP 10.10.10.3, Port 22 2026-06-03 18:34:52,124 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-03 18:34:52,257 - DEBUG - VM ctest-vm1-test-40561865 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-03 18:34:57,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 18:34:57,258 - DEBUG - Waiting to SSH to VM ctest-vm1-test-40561865, IP 10.10.10.3, Port 22 2026-06-03 18:34:57,435 - DEBUG - VM ctest-vm1-test-40561865 is ready for SSH connections 2026-06-03 18:34:57,435 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-03 18:34:57,435 - DEBUG - ifconfig | grep 10.10.10.3 2026-06-03 18:35:18,011 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-06-03 18:35:18,012 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-40561865", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-03 18:35:18,012 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-40561865", None, socket.AF_INET6)' 2026-06-03 18:35:21,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-40561865, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-03 18:35:21,037 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-40561865 2026-06-03 18:35:24,332 - DEBUG - PING ctest-vm1-test-40561865.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-40561865.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.17 ms 64 bytes from ctest-vm1-test-40561865.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.444 ms 64 bytes from ctest-vm1-test-40561865.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.186 ms --- ctest-vm1-test-40561865.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.186/1.266/3.170/1.350 ms 2026-06-03 18:35:24,332 - INFO - Ping to IP ctest-vm1-test-40561865 from VM ctest-vm1-test-40561865 passed 2026-06-03 18:35:24,378 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-03 18:35:24,391 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50716379@0%20AllEntriesVdnsRecordsReq 2026-06-03 18:35:24,401 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-03 18:35:24,409 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50716379@0%20AllEntriesVdnsRecordsReq 2026-06-03 18:35:24,416 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-03 18:35:24,424 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50716379@0%20AllEntriesVdnsRecordsReq 2026-06-03 18:35:24,432 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-50716379:1:ctest-vm1-test-40561865:10.10.10.3', 'rec_name': 'ctest-vm1-test-40561865', '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-5883-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-40561865.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-06-03 18:35:24,432 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-50716379:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-40561865', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-40561865', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5883-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-40561865.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-03 18:35:26,116 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5883-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5883-2) 2026-06-03 18:35:26,116 - INFO - Waiting for VM ctest-vm2-test-72436515 to be up.. 2026-06-03 18:35:26,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-03 18:35:31,270 - DEBUG - VM is in ACTIVE state now 2026-06-03 18:35:31,270 - INFO - VM name : ctest-vm2-test-72436515 2026-06-03 18:35:31,370 - DEBUG - VM ctest-vm2-test-72436515 ID is 5ea17d72-6586-42cd-a707-c2a72b2959a1 2026-06-03 18:35:31,370 - DEBUG - VM ctest-vm2-test-72436515 launched on Node an-jenkins-deploy-platform-ansible-os-5883-2 2026-06-03 18:35:31,468 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5ea17d72-6586-42cd-a707-c2a72b2959a1 2026-06-03 18:35:31,480 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/85c7b5ec-85e7-4cb6-bb9e-41c086f0f8ec 2026-06-03 18:35:34,681 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2026-06-03 18:35:34,681 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-72436515 failed! 2026-06-03 18:35:34,698 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:35:38,776 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-03 18:35:38,776 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-72436515 failed! 2026-06-03 18:35:38,795 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:35:42,872 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-03 18:35:42,872 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-72436515 failed! 2026-06-03 18:35:42,888 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:35:46,961 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2026-06-03 18:35:46,961 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-72436515 failed! 2026-06-03 18:35:46,979 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:35:51,064 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-06-03 18:35:51,064 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-72436515 failed! 2026-06-03 18:35:51,082 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:35:55,157 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-06-03 18:35:55,157 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-72436515 failed! 2026-06-03 18:35:55,173 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:35:59,252 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-06-03 18:35:59,252 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-72436515 failed! 2026-06-03 18:35:59,270 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:36:03,381 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2026-06-03 18:36:03,381 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-72436515 failed! 2026-06-03 18:36:03,404 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:36:07,476 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2026-06-03 18:36:07,476 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-72436515 failed! 2026-06-03 18:36:07,491 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:36:11,602 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2026-06-03 18:36:11,602 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-72436515 failed! 2026-06-03 18:36:11,617 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-84562551:ctest-vn1-vdns-99770621 is 10.10.10.1 and allocation pool is NOT set 2026-06-03 18:36:13,697 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=6.16 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.25 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.250/4.207/6.164/1.957 ms') 2026-06-03 18:36:13,697 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-72436515 passed 2026-06-03 18:36:13,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 18:36:13,774 - DEBUG - Waiting to SSH to VM ctest-vm2-test-72436515, IP 10.10.10.4, Port 22 2026-06-03 18:36:13,840 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-03 18:36:13,965 - DEBUG - VM ctest-vm2-test-72436515 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-03 18:36:18,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 18:36:18,966 - DEBUG - Waiting to SSH to VM ctest-vm2-test-72436515, IP 10.10.10.4, Port 22 2026-06-03 18:36:19,036 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-03 18:36:19,139 - DEBUG - VM ctest-vm2-test-72436515 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-03 18:36:24,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 18:36:24,140 - DEBUG - Waiting to SSH to VM ctest-vm2-test-72436515, IP 10.10.10.4, Port 22 2026-06-03 18:36:24,219 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-03 18:36:24,338 - DEBUG - VM ctest-vm2-test-72436515 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-03 18:36:29,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 18:36:29,339 - DEBUG - Waiting to SSH to VM ctest-vm2-test-72436515, IP 10.10.10.4, Port 22 2026-06-03 18:36:29,400 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-03 18:36:29,521 - DEBUG - VM ctest-vm2-test-72436515 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-03 18:36:34,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 18:36:34,522 - DEBUG - Waiting to SSH to VM ctest-vm2-test-72436515, IP 10.10.10.4, Port 22 2026-06-03 18:36:34,593 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-03 18:36:34,710 - DEBUG - VM ctest-vm2-test-72436515 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-03 18:36:39,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 18:36:39,711 - DEBUG - Waiting to SSH to VM ctest-vm2-test-72436515, IP 10.10.10.4, Port 22 2026-06-03 18:36:39,903 - DEBUG - VM ctest-vm2-test-72436515 is ready for SSH connections 2026-06-03 18:36:39,903 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-03 18:36:39,904 - DEBUG - ifconfig | grep 10.10.10.4 2026-06-03 18:37:02,120 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-06-03 18:37:02,121 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-72436515", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-03 18:37:02,121 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-72436515", None, socket.AF_INET6)' 2026-06-03 18:37:04,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-72436515, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-03 18:37:04,259 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-72436515 2026-06-03 18:37:06,844 - DEBUG - PING ctest-vm2-test-72436515.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-72436515.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.37 ms 64 bytes from ctest-vm2-test-72436515.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.243 ms 64 bytes from ctest-vm2-test-72436515.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.265 ms --- ctest-vm2-test-72436515.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 0.243/1.627/4.373/1.941 ms 2026-06-03 18:37:06,844 - INFO - Ping to IP ctest-vm2-test-72436515 from VM ctest-vm2-test-72436515 passed 2026-06-03 18:37:06,897 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-03 18:37:06,909 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50716379@0%20AllEntriesVdnsRecordsReq 2026-06-03 18:37:06,918 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-03 18:37:06,933 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50716379@0%20AllEntriesVdnsRecordsReq 2026-06-03 18:37:06,943 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-03 18:37:06,951 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50716379@0%20AllEntriesVdnsRecordsReq 2026-06-03 18:37:06,958 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-50716379:1:ctest-vm2-test-72436515:10.10.10.4', 'rec_name': 'ctest-vm2-test-72436515', '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-5883-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-72436515.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-06-03 18:37:06,958 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-50716379:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-72436515', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-72436515', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5883-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-72436515.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-03 18:37:06,959 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-72436515", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-03 18:37:06,959 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-72436515", None, socket.AF_INET6)' 2026-06-03 18:37:08,345 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-72436515, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-03 18:37:08,345 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-72436515 2026-06-03 18:37:10,939 - DEBUG - PING ctest-vm2-test-72436515.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-72436515.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.3 ms 64 bytes from ctest-vm2-test-72436515.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.44 ms 64 bytes from ctest-vm2-test-72436515.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.44 ms --- ctest-vm2-test-72436515.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.443/4.424/10.380/4.211 ms 2026-06-03 18:37:10,939 - INFO - Ping to IP ctest-vm2-test-72436515 from VM ctest-vm1-test-40561865 passed 2026-06-03 18:37:10,940 - INFO - Try deleting the VDNS entry ctest-vdns1-50716379 with back ref of ipam. 2026-06-03 18:37:11,001 - DEBUG - Delete when resource still referred: ['http://10.0.0.249:8082/network-ipam/1d35d86b-a08a-4aa3-a9dc-246f65490c6d'] 2026-06-03 18:37:11,001 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-06-03 18:37:11,001 - INFO - Add CNAME VDNS record for ctest-vm1-test-40561865 and verify we able to ping by alias name 2026-06-03 18:37:11,049 - DEBUG - Creating VDNS record data : test-rec 2026-06-03 18:37:11,181 - INFO - In verify_on_setup 2026-06-03 18:37:11,277 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-50716379', 'test-rec'] created succesfully 2026-06-03 18:37:11,278 - INFO - Verify VDNS record is shown in the API server 2026-06-03 18:37:11,278 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-03 18:37:11,285 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cfce58c2-bdea-4e41-80d8-e31e3dad5e9f 2026-06-03 18:37:11,299 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/6beb62ed-db8e-4e42-b510-a44f21d5cc80 2026-06-03 18:37:11,310 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS-record/52ce6c1c-1423-4cfc-b44b-6daaa5fbaf16 2026-06-03 18:37:11,316 - INFO - Verify VDNS record is shown in the control node 2026-06-03 18:37:11,334 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-03 18:37:11,334 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-06-03 18:37:12,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-03 18:37:12,559 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-06-03 18:37:13,246 - DEBUG - ping: unknown host vm1-test-alias 2026-06-03 18:37:13,246 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-40561865 failed 2026-06-03 18:37:14,247 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-03 18:37:14,247 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-06-03 18:37:15,389 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-03 18:37:15,389 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-06-03 18:37:17,933 - DEBUG - PING ctest-vm1-test-40561865.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-40561865.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.429 ms 64 bytes from ctest-vm1-test-40561865.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.192 ms 64 bytes from ctest-vm1-test-40561865.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.200 ms --- ctest-vm1-test-40561865.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.192/0.273/0.429/0.111 ms 2026-06-03 18:37:17,933 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-40561865 passed 2026-06-03 18:37:17,934 - DEBUG - Deleting VDNS record data: test-rec 2026-06-03 18:37:18,037 - INFO - VDNS record info: default-domain:ctest-vdns1-50716379:test-rec deleted successfully. 2026-06-03 18:37:18,037 - INFO - Deleting VM ctest-vm2-test-72436515 2026-06-03 18:37:18,138 - INFO - Deleting VM ctest-vm1-test-40561865 2026-06-03 18:37:18,223 - INFO - Deleting VN ctest-vn1-vdns-99770621 2026-06-03 18:37:18,289 - DEBUG - VN 3faf0155-5b3f-4b09-9842-76db8ca59220 still in use: Unable to complete operation on network 3faf0155-5b3f-4b09-9842-76db8ca59220. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d1e44ff-51f2-49bd-9adf-1670d298c476'] 2026-06-03 18:37:18,289 - WARNING - Deleting VN ctest-vn1-vdns-99770621 failed..Will retry 2026-06-03 18:37:20,474 - DEBUG - Response for deleting network () 2026-06-03 18:37:20,537 - DEBUG - Deleting VDNS Entry: ctest-vdns1-50716379 2026-06-03 18:37:20,629 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-50716379'] deleted successfully. 2026-06-03 18:37:20,629 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-03 18:37:20,636 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cfce58c2-bdea-4e41-80d8-e31e3dad5e9f 2026-06-03 18:37:20,655 - DEBUG - VDNS information not found in API server 2026-06-03 18:37:20,655 - INFO - VDNS information ctest-vdns1-50716379 removed from the API Server 2026-06-03 18:37:20,661 - INFO - VDNS information ctest-vdns1-50716379 removed in the Control node 2026-06-03 18:37:20,661 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-84562551'] 2026-06-03 18:37:22,015 - DEBUG - No XMPP flaps were noticed during the test
2026-06-03 18:37:22,015 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:36]
2026-06-03 18:37:22,015 - INFO - -------------------------------------------------------------------------------- 2026-06-03 18:37:22,840 - INFO - Deleted project: ctest-TestvDNSBasic0-84562551, ID : 9af0ffac-013c-4079-ae85-69b684c6badd