2026-02-19 03:12:07,369 - INFO - Domain Default found not creating 2026-02-19 03:12:07,562 - INFO - Project ctest-TestvDNSBasic0-27463731 not found, creating it 2026-02-19 03:12:08,106 - INFO - Created Project:ctest-TestvDNSBasic0-27463731, ID : 68abd359-d7c3-4c15-8641-9d06f0c69da2 2026-02-19 03:12:10,058 - INFO - ================================================================================ 2026-02-19 03:12:10,058 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-02-19 03:12:10,058 - 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-02-19 03:12:11,335 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0', '10.20.0.18': '0'}, '10.0.0.133': {'10.20.0.17': '0', '10.20.0.18': '0'}} with 2026-02-19 03:12:11,335 - INFO - Initial checks done. Running the testcase now 2026-02-19 03:12:11,335 - INFO - 2026-02-19 03:12:12,096 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-27463731'](68abd359-d7c3-4c15-8641-9d06f0c69da2) 2026-02-19 03:12:12,157 - DEBUG - Creating VDNS : ctest-vdns1-87017472 2026-02-19 03:12:12,389 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-87017472'] created succesfully 2026-02-19 03:12:12,389 - DEBUG - Verify VDNS entry is shown in control node 2026-02-19 03:12:12,408 - DEBUG - Verify VDNS entry is shown in the API server 2026-02-19 03:12:12,408 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 03:12:12,707 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 03:12:12,745 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0d96b699-7b7b-4313-9fa1-bd6ec91582e3 2026-02-19 03:12:12,764 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-DNS/7f5831d7-e2b1-4dc2-a1c0-9b4e733a95f2 2026-02-19 03:12:13,507 - DEBUG - Response for create_network : {'network': {'id': '8fd3b421-96a6-47f9-83e9-bf9999f5304f', 'name': 'ctest-vn1-vdns-69618585', 'tenant_id': '68abd359d7c34c1586419d06f0c69da2', 'project_id': '68abd359d7c34c1586419d06f0c69da2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-27463731', 'ctest-vn1-vdns-69618585'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 03:12:13,834 - DEBUG - Response for create_subnet : {'subnet': {'id': '33d1b0b0-5ea7-49f8-b010-9b18cddb84d0', 'name': '', 'tenant_id': '68abd359d7c34c1586419d06f0c69da2', 'network_id': '8fd3b421-96a6-47f9-83e9-bf9999f5304f', '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': '68abd359d7c34c1586419d06f0c69da2'}} 2026-02-19 03:12:13,863 - INFO - Created VN ctest-vn1-vdns-69618585 2026-02-19 03:12:13,881 - DEBUG - VN ctest-vn1-vdns-69618585 UUID is 8fd3b421-96a6-47f9-83e9-bf9999f5304f 2026-02-19 03:12:14,084 - DEBUG - Services list from nova: [, , , ] 2026-02-19 03:12:15,120 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5351-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5351-2) 2026-02-19 03:12:15,120 - INFO - Waiting for VM ctest-vm1-test-95307604 to be up.. 2026-02-19 03:12:15,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 03:12:20,253 - DEBUG - VM is in ACTIVE state now 2026-02-19 03:12:20,254 - INFO - VM name : ctest-vm1-test-95307604 2026-02-19 03:12:20,337 - DEBUG - VM ctest-vm1-test-95307604 ID is 460ccefc-89d1-472a-98d6-4cddd2a19841 2026-02-19 03:12:20,337 - DEBUG - VM ctest-vm1-test-95307604 launched on Node an-jenkins-deploy-platform-ansible-os-5351-2 2026-02-19 03:12:20,420 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/460ccefc-89d1-472a-98d6-4cddd2a19841 2026-02-19 03:12:20,717 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/460ccefc-89d1-472a-98d6-4cddd2a19841 2026-02-19 03:12:20,753 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/9f720572-7012-4e40-a57f-3517ad63fc22 2026-02-19 03:12:23,952 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2026-02-19 03:12:23,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95307604 failed! 2026-02-19 03:12:23,969 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:12:28,047 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-02-19 03:12:28,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95307604 failed! 2026-02-19 03:12:28,062 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:12:32,150 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2026-02-19 03:12:32,150 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95307604 failed! 2026-02-19 03:12:32,165 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:12:36,245 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2026-02-19 03:12:36,245 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95307604 failed! 2026-02-19 03:12:36,262 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:12:40,338 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2026-02-19 03:12:40,338 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95307604 failed! 2026-02-19 03:12:40,353 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:12:44,433 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-02-19 03:12:44,433 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95307604 failed! 2026-02-19 03:12:44,449 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:12:48,521 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2026-02-19 03:12:48,521 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95307604 failed! 2026-02-19 03:12:48,537 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:12:52,626 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-02-19 03:12:52,626 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95307604 failed! 2026-02-19 03:12:52,642 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:12:56,721 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.75 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 4.748/4.748/4.748/0.000 ms') 2026-02-19 03:12:56,721 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95307604 passed 2026-02-19 03:12:56,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 03:12:56,802 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95307604, IP 10.10.10.3, Port 22 2026-02-19 03:12:56,870 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 03:12:56,997 - DEBUG - VM ctest-vm1-test-95307604 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 03:13:01,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 03:13:01,999 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95307604, IP 10.10.10.3, Port 22 2026-02-19 03:13:02,065 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 03:13:02,183 - DEBUG - VM ctest-vm1-test-95307604 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 03:13:07,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 03:13:07,184 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95307604, IP 10.10.10.3, Port 22 2026-02-19 03:13:07,239 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 03:13:07,335 - DEBUG - VM ctest-vm1-test-95307604 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 03:13:12,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 03:13:12,336 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95307604, IP 10.10.10.3, Port 22 2026-02-19 03:13:12,405 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 03:13:12,491 - DEBUG - VM ctest-vm1-test-95307604 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 03:13:17,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 03:13:17,491 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95307604, IP 10.10.10.3, Port 22 2026-02-19 03:13:17,658 - DEBUG - VM ctest-vm1-test-95307604 is ready for SSH connections 2026-02-19 03:13:17,658 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-02-19 03:13:17,658 - DEBUG - ifconfig | grep 10.10.10.3 2026-02-19 03:13:36,441 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-02-19 03:13:36,442 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-95307604", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-02-19 03:13:36,442 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-95307604", None, socket.AF_INET6)' 2026-02-19 03:13:37,710 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-95307604, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-02-19 03:13:37,710 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-95307604 2026-02-19 03:13:40,257 - DEBUG - PING ctest-vm1-test-95307604.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-95307604.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.80 ms 64 bytes from ctest-vm1-test-95307604.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.259 ms 64 bytes from ctest-vm1-test-95307604.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.210 ms --- ctest-vm1-test-95307604.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.210/1.757/4.802/2.153 ms 2026-02-19 03:13:40,257 - INFO - Ping to IP ctest-vm1-test-95307604 from VM ctest-vm1-test-95307604 passed 2026-02-19 03:13:40,281 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-19 03:13:40,287 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87017472@0%20AllEntriesVdnsRecordsReq 2026-02-19 03:13:40,291 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-19 03:13:40,296 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87017472@0%20AllEntriesVdnsRecordsReq 2026-02-19 03:13:40,300 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-19 03:13:40,304 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87017472@0%20AllEntriesVdnsRecordsReq 2026-02-19 03:13:40,308 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87017472:1:ctest-vm1-test-95307604:10.10.10.3', 'rec_name': 'ctest-vm1-test-95307604', '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-5351-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-95307604.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-02-19 03:13:40,308 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87017472:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-95307604', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-95307604', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5351-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-95307604.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-02-19 03:13:41,678 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5351-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5351-1) 2026-02-19 03:13:41,678 - INFO - Waiting for VM ctest-vm2-test-42597639 to be up.. 2026-02-19 03:13:41,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 03:13:46,810 - DEBUG - VM is in ACTIVE state now 2026-02-19 03:13:46,810 - INFO - VM name : ctest-vm2-test-42597639 2026-02-19 03:13:46,895 - DEBUG - VM ctest-vm2-test-42597639 ID is bfd8f88e-516e-4cbc-b609-775b1d5eec23 2026-02-19 03:13:46,895 - DEBUG - VM ctest-vm2-test-42597639 launched on Node an-jenkins-deploy-platform-ansible-os-5351-1 2026-02-19 03:13:46,991 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/bfd8f88e-516e-4cbc-b609-775b1d5eec23 2026-02-19 03:13:47,002 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/a441d995-7aa5-4b8b-a912-1e202b748687 2026-02-19 03:13:50,206 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2026-02-19 03:13:50,207 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-42597639 failed! 2026-02-19 03:13:50,223 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:13:54,297 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-02-19 03:13:54,298 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-42597639 failed! 2026-02-19 03:13:54,312 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:13:58,392 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2026-02-19 03:13:58,393 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-42597639 failed! 2026-02-19 03:13:58,407 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:14:02,492 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-02-19 03:14:02,492 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-42597639 failed! 2026-02-19 03:14:02,507 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:14:06,590 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-02-19 03:14:06,591 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-42597639 failed! 2026-02-19 03:14:06,605 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:14:10,683 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-02-19 03:14:10,683 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-42597639 failed! 2026-02-19 03:14:10,700 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:14:14,773 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-02-19 03:14:14,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-42597639 failed! 2026-02-19 03:14:14,788 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:14:18,878 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2026-02-19 03:14:18,878 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-42597639 failed! 2026-02-19 03:14:18,893 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:14:22,971 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-02-19 03:14:22,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-42597639 failed! 2026-02-19 03:14:22,985 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27463731:ctest-vn1-vdns-69618585 is 10.10.10.1 and allocation pool is NOT set 2026-02-19 03:14:25,055 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.24 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.241/4.239/6.238/1.998 ms') 2026-02-19 03:14:25,055 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-42597639 passed 2026-02-19 03:14:25,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 03:14:25,126 - DEBUG - Waiting to SSH to VM ctest-vm2-test-42597639, IP 10.10.10.4, Port 22 2026-02-19 03:14:25,194 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 03:14:25,277 - DEBUG - VM ctest-vm2-test-42597639 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 03:14:30,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 03:14:30,278 - DEBUG - Waiting to SSH to VM ctest-vm2-test-42597639, IP 10.10.10.4, Port 22 2026-02-19 03:14:30,335 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 03:14:30,436 - DEBUG - VM ctest-vm2-test-42597639 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 03:14:35,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 03:14:35,437 - DEBUG - Waiting to SSH to VM ctest-vm2-test-42597639, IP 10.10.10.4, Port 22 2026-02-19 03:14:35,501 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 03:14:35,606 - DEBUG - VM ctest-vm2-test-42597639 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 03:14:40,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 03:14:40,607 - DEBUG - Waiting to SSH to VM ctest-vm2-test-42597639, IP 10.10.10.4, Port 22 2026-02-19 03:14:40,673 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 03:14:40,761 - DEBUG - VM ctest-vm2-test-42597639 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 03:14:45,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 03:14:45,763 - DEBUG - Waiting to SSH to VM ctest-vm2-test-42597639, IP 10.10.10.4, Port 22 2026-02-19 03:14:45,920 - DEBUG - VM ctest-vm2-test-42597639 is ready for SSH connections 2026-02-19 03:14:45,920 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-19 03:14:45,920 - DEBUG - ifconfig | grep 10.10.10.4 2026-02-19 03:15:07,463 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-02-19 03:15:07,464 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-42597639", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-19 03:15:07,464 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-42597639", None, socket.AF_INET6)' 2026-02-19 03:15:10,177 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-42597639, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-19 03:15:10,177 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-42597639 2026-02-19 03:15:12,738 - DEBUG - PING ctest-vm2-test-42597639.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-42597639.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.55 ms 64 bytes from ctest-vm2-test-42597639.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.226 ms 64 bytes from ctest-vm2-test-42597639.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.260 ms --- ctest-vm2-test-42597639.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.226/1.681/4.558/2.034 ms 2026-02-19 03:15:12,738 - INFO - Ping to IP ctest-vm2-test-42597639 from VM ctest-vm2-test-42597639 passed 2026-02-19 03:15:12,761 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-19 03:15:12,767 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87017472@0%20AllEntriesVdnsRecordsReq 2026-02-19 03:15:12,772 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-19 03:15:12,777 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87017472@0%20AllEntriesVdnsRecordsReq 2026-02-19 03:15:12,781 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-02-19 03:15:12,786 - DEBUG - Requesting: http://10.0.0.129:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87017472@0%20AllEntriesVdnsRecordsReq 2026-02-19 03:15:12,790 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87017472:1:ctest-vm2-test-42597639:10.10.10.4', 'rec_name': 'ctest-vm2-test-42597639', '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-5351-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-42597639.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-02-19 03:15:12,790 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87017472:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-42597639', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-42597639', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5351-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-42597639.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-02-19 03:15:12,791 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-42597639", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-02-19 03:15:12,791 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-42597639", None, socket.AF_INET6)' 2026-02-19 03:15:13,968 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-42597639, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-02-19 03:15:13,968 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-42597639 2026-02-19 03:15:16,533 - DEBUG - PING ctest-vm2-test-42597639.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-42597639.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.23 ms 64 bytes from ctest-vm2-test-42597639.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.37 ms 64 bytes from ctest-vm2-test-42597639.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.05 ms --- ctest-vm2-test-42597639.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.054/3.220/7.232/2.839 ms 2026-02-19 03:15:16,533 - INFO - Ping to IP ctest-vm2-test-42597639 from VM ctest-vm1-test-95307604 passed 2026-02-19 03:15:16,533 - INFO - Try deleting the VDNS entry ctest-vdns1-87017472 with back ref of ipam. 2026-02-19 03:15:16,592 - DEBUG - Delete when resource still referred: ['http://10.0.0.130:8082/network-ipam/d113496d-5265-402c-b85f-80cd721bd3d0'] 2026-02-19 03:15:16,593 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-02-19 03:15:16,593 - INFO - Add CNAME VDNS record for ctest-vm1-test-95307604 and verify we able to ping by alias name 2026-02-19 03:15:16,641 - DEBUG - Creating VDNS record data : test-rec 2026-02-19 03:15:16,765 - INFO - In verify_on_setup 2026-02-19 03:15:16,861 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-87017472', 'test-rec'] created succesfully 2026-02-19 03:15:16,861 - INFO - Verify VDNS record is shown in the API server 2026-02-19 03:15:16,861 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 03:15:16,868 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0d96b699-7b7b-4313-9fa1-bd6ec91582e3 2026-02-19 03:15:16,908 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-DNS/7f5831d7-e2b1-4dc2-a1c0-9b4e733a95f2 2026-02-19 03:15:16,919 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-DNS-record/c85eacce-42e9-4a09-a77a-7e1bfdaa1b18 2026-02-19 03:15:16,926 - INFO - Verify VDNS record is shown in the control node 2026-02-19 03:15:16,943 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-02-19 03:15:16,943 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-02-19 03:15:18,180 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-02-19 03:15:18,180 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-02-19 03:15:18,675 - DEBUG - ping: unknown host vm1-test-alias 2026-02-19 03:15:18,676 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-95307604 failed 2026-02-19 03:15:19,677 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-02-19 03:15:19,677 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-02-19 03:15:20,848 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-02-19 03:15:20,848 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-02-19 03:15:23,428 - DEBUG - PING ctest-vm1-test-95307604.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-95307604.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.90 ms 64 bytes from ctest-vm1-test-95307604.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.215 ms 64 bytes from ctest-vm1-test-95307604.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.277 ms --- ctest-vm1-test-95307604.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.215/0.800/1.909/0.784 ms 2026-02-19 03:15:23,428 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-95307604 passed 2026-02-19 03:15:23,428 - DEBUG - Deleting VDNS record data: test-rec 2026-02-19 03:15:23,525 - INFO - VDNS record info: default-domain:ctest-vdns1-87017472:test-rec deleted successfully. 2026-02-19 03:15:23,525 - INFO - Deleting VM ctest-vm2-test-42597639 2026-02-19 03:15:23,608 - INFO - Deleting VM ctest-vm1-test-95307604 2026-02-19 03:15:23,685 - INFO - Deleting VN ctest-vn1-vdns-69618585 2026-02-19 03:15:23,731 - DEBUG - VN 8fd3b421-96a6-47f9-83e9-bf9999f5304f still in use: Unable to complete operation on network 8fd3b421-96a6-47f9-83e9-bf9999f5304f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7e057f6-13e7-46dd-85be-452cb2ae60b0'] 2026-02-19 03:15:23,731 - WARNING - Deleting VN ctest-vn1-vdns-69618585 failed..Will retry 2026-02-19 03:15:25,890 - DEBUG - Response for deleting network () 2026-02-19 03:15:25,957 - DEBUG - Deleting VDNS Entry: ctest-vdns1-87017472 2026-02-19 03:15:26,072 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-87017472'] deleted successfully. 2026-02-19 03:15:26,073 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 03:15:26,079 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0d96b699-7b7b-4313-9fa1-bd6ec91582e3 2026-02-19 03:15:26,095 - DEBUG - VDNS information not found in API server 2026-02-19 03:15:26,095 - INFO - VDNS information ctest-vdns1-87017472 removed from the API Server 2026-02-19 03:15:26,100 - INFO - VDNS information ctest-vdns1-87017472 removed in the Control node 2026-02-19 03:15:26,100 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-27463731'] 2026-02-19 03:15:27,388 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 03:15:27,388 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:17]
2026-02-19 03:15:27,388 - INFO - -------------------------------------------------------------------------------- 2026-02-19 03:15:28,166 - INFO - Deleted project: ctest-TestvDNSBasic0-27463731, ID : 68abd359-d7c3-4c15-8641-9d06f0c69da2