2026-10-26 03:48:00,969 - INFO - Domain Default found not creating
2026-10-26 03:48:01,166 - INFO - Project ctest-TestvDNSBasic0-64789217 not found, creating it
2026-10-26 03:48:01,796 - INFO - Created Project:ctest-TestvDNSBasic0-64789217, ID : 0a296f58-36ec-4fc9-a963-d645fa8a0ce2
2026-10-26 03:48:04,024 - INFO - ================================================================================
2026-10-26 03:48:04,024 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-10-26 03:48:04,024 - 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-10-26 03:48:05,319 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.30': '0', '10.20.0.254': '0'}, '10.0.0.38': {'10.20.0.254': '0', '10.20.0.30': '0'}} with
2026-10-26 03:48:05,319 - INFO - Initial checks done. Running the testcase now
2026-10-26 03:48:05,319 - INFO -
2026-10-26 03:48:06,207 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-64789217'](0a296f58-36ec-4fc9-a963-d645fa8a0ce2)
2026-10-26 03:48:06,261 - DEBUG - Creating VDNS : ctest-vdns1-33571565
2026-10-26 03:48:06,493 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-33571565'] created succesfully
2026-10-26 03:48:06,493 - DEBUG - Verify VDNS entry is shown in control node
2026-10-26 03:48:06,522 - DEBUG - Verify VDNS entry is shown in the API server
2026-10-26 03:48:06,523 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-10-26 03:48:06,983 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-10-26 03:48:07,027 - DEBUG - Requesting: http://10.0.0.251:8082/domain/88a347a6-c9cd-49cd-b26a-2cbc745dd4cb
2026-10-26 03:48:07,046 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-DNS/0a0cc5b5-f236-4bd7-a9cf-e1bbbf9c9874
2026-10-26 03:48:07,767 - DEBUG - Response for create_network : {'network': {'id': '537d1df7-446a-47d9-8d4c-3f68baad58bf', 'name': 'ctest-vn1-vdns-26203893', 'tenant_id': '0a296f5836ec4fc9a963d645fa8a0ce2', 'project_id': '0a296f5836ec4fc9a963d645fa8a0ce2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-64789217', 'ctest-vn1-vdns-26203893'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 03:48:08,045 - DEBUG - Response for create_subnet : {'subnet': {'id': '5844b8c6-72dc-4913-b80b-5c9478d9ffb1', 'name': '', 'tenant_id': '0a296f5836ec4fc9a963d645fa8a0ce2', 'network_id': '537d1df7-446a-47d9-8d4c-3f68baad58bf', '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': '0a296f5836ec4fc9a963d645fa8a0ce2'}}
2026-10-26 03:48:08,069 - INFO - Created VN ctest-vn1-vdns-26203893
2026-10-26 03:48:08,085 - DEBUG - VN ctest-vn1-vdns-26203893 UUID is 537d1df7-446a-47d9-8d4c-3f68baad58bf
2026-10-26 03:48:08,299 - DEBUG - Services list from nova: [, , , ]
2026-10-26 03:48:08,791 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6403-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6403-1)
2026-10-26 03:48:08,791 - INFO - Waiting for VM ctest-vm1-test-87352039 to be up..
2026-10-26 03:48:08,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:48:13,914 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:48:19,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:48:24,095 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:48:29,186 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:48:34,296 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:48:39,379 - DEBUG - VM is in ACTIVE state now
2026-10-26 03:48:39,379 - INFO - VM name : ctest-vm1-test-87352039
2026-10-26 03:48:39,462 - DEBUG - VM ctest-vm1-test-87352039 ID is 8213dc1d-ca5b-48c9-9cf7-46c9a4640f99
2026-10-26 03:48:39,462 - DEBUG - VM ctest-vm1-test-87352039 launched on Node an-jenkins-deploy-platform-ansible-os-6403-1
2026-10-26 03:48:39,547 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/8213dc1d-ca5b-48c9-9cf7-46c9a4640f99
2026-10-26 03:48:39,929 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/8213dc1d-ca5b-48c9-9cf7-46c9a4640f99
2026-10-26 03:48:39,966 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/f2efb1a3-e6b9-49e5-bd90-f5d5d659c925
2026-10-26 03:48:43,156 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1025ms')
2026-10-26 03:48:43,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-87352039 failed!
2026-10-26 03:48:43,170 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:48:47,246 - 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 1006ms')
2026-10-26 03:48:47,246 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-87352039 failed!
2026-10-26 03:48:47,260 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:48:51,345 - 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-10-26 03:48:51,345 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-87352039 failed!
2026-10-26 03:48:51,361 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:48:55,446 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-10-26 03:48:55,446 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-87352039 failed!
2026-10-26 03:48:55,460 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:48:59,531 - 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-10-26 03:48:59,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-87352039 failed!
2026-10-26 03:48:59,544 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:49:03,639 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-10-26 03:49:03,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-87352039 failed!
2026-10-26 03:49:03,653 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:49:07,732 - 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-10-26 03:49:07,733 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-87352039 failed!
2026-10-26 03:49:07,749 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:49:09,812 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.70 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 = 1.696/5.848/10.000/4.152 ms')
2026-10-26 03:49:09,812 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-87352039 passed
2026-10-26 03:49:09,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 03:49:09,878 - DEBUG - Waiting to SSH to VM ctest-vm1-test-87352039, IP 10.10.10.3, Port 22
2026-10-26 03:49:09,943 - 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-10-26 03:49:10,034 - DEBUG - VM ctest-vm1-test-87352039 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-26 03:49:15,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 03:49:15,035 - DEBUG - Waiting to SSH to VM ctest-vm1-test-87352039, IP 10.10.10.3, Port 22
2026-10-26 03:49:15,107 - 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-10-26 03:49:15,227 - DEBUG - VM ctest-vm1-test-87352039 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-26 03:49:20,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 03:49:20,228 - DEBUG - Waiting to SSH to VM ctest-vm1-test-87352039, IP 10.10.10.3, Port 22
2026-10-26 03:49:20,296 - 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-10-26 03:49:20,380 - DEBUG - VM ctest-vm1-test-87352039 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-26 03:49:25,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 03:49:25,381 - DEBUG - Waiting to SSH to VM ctest-vm1-test-87352039, IP 10.10.10.3, Port 22
2026-10-26 03:49:25,559 - DEBUG - VM ctest-vm1-test-87352039 is ready for SSH connections
2026-10-26 03:49:25,559 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-10-26 03:49:25,559 - DEBUG - ifconfig | grep 10.10.10.3
2026-10-26 03:49:36,178 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-10-26 03:49:36,178 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-87352039", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-10-26 03:49:36,178 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-87352039", None, socket.AF_INET6)'
2026-10-26 03:49:38,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-87352039, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-10-26 03:49:38,646 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-87352039
2026-10-26 03:49:41,187 - DEBUG - PING ctest-vm1-test-87352039.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-87352039.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.21 ms
64 bytes from ctest-vm1-test-87352039.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.286 ms
64 bytes from ctest-vm1-test-87352039.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.230 ms
--- ctest-vm1-test-87352039.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.230/0.911/2.219/0.925 ms
2026-10-26 03:49:41,187 - INFO - Ping to IP ctest-vm1-test-87352039 from VM ctest-vm1-test-87352039 passed
2026-10-26 03:49:41,214 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-26 03:49:41,222 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33571565@0%20AllEntriesVdnsRecordsReq
2026-10-26 03:49:41,234 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-26 03:49:41,252 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33571565@0%20AllEntriesVdnsRecordsReq
2026-10-26 03:49:41,264 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-26 03:49:41,270 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33571565@0%20AllEntriesVdnsRecordsReq
2026-10-26 03:49:41,286 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-33571565:1:ctest-vm1-test-87352039:10.10.10.3', 'rec_name': 'ctest-vm1-test-87352039', '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-6403-1/dns', 'rec_vm_uuid': 'f2efb1a3-e6b9-49e5-bd90-f5d5d659c925'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-87352039.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-10-26 03:49:41,286 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-33571565:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-87352039', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-87352039', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6403-1/dns', 'rec_vm_uuid': 'f2efb1a3-e6b9-49e5-bd90-f5d5d659c925'} ,
Expected record data {'rec_data': 'ctest-vm1-test-87352039.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-10-26 03:49:42,169 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6403-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6403-2)
2026-10-26 03:49:42,169 - INFO - Waiting for VM ctest-vm2-test-04803619 to be up..
2026-10-26 03:49:42,216 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:49:47,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:49:52,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:49:57,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:50:02,803 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:50:07,890 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 03:50:12,990 - DEBUG - VM is in ACTIVE state now
2026-10-26 03:50:12,990 - INFO - VM name : ctest-vm2-test-04803619
2026-10-26 03:50:13,069 - DEBUG - VM ctest-vm2-test-04803619 ID is e337dcbf-b33c-4c2d-b678-2d7aed7e5536
2026-10-26 03:50:13,069 - DEBUG - VM ctest-vm2-test-04803619 launched on Node an-jenkins-deploy-platform-ansible-os-6403-2
2026-10-26 03:50:13,153 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/e337dcbf-b33c-4c2d-b678-2d7aed7e5536
2026-10-26 03:50:13,164 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/71486f6a-52b9-4215-b4d6-afacf03c1ffc
2026-10-26 03:50:16,344 - 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-10-26 03:50:16,344 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-04803619 failed!
2026-10-26 03:50:16,359 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:50:20,439 - 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-10-26 03:50:20,439 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-04803619 failed!
2026-10-26 03:50:20,453 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:50:24,537 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2026-10-26 03:50:24,537 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-04803619 failed!
2026-10-26 03:50:24,551 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:50:28,633 - 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 1007ms')
2026-10-26 03:50:28,633 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-04803619 failed!
2026-10-26 03:50:28,683 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:50:32,791 - 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 1031ms')
2026-10-26 03:50:32,791 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-04803619 failed!
2026-10-26 03:50:32,805 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:50:36,890 - 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-10-26 03:50:36,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-04803619 failed!
2026-10-26 03:50:36,904 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:50:40,986 - 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-10-26 03:50:40,986 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-04803619 failed!
2026-10-26 03:50:41,002 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-64789217:ctest-vn1-vdns-26203893 is 10.10.10.1 and allocation pool is NOT set
2026-10-26 03:50:43,062 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.850 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.850/6.453/12.056/5.603 ms')
2026-10-26 03:50:43,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-04803619 passed
2026-10-26 03:50:43,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 03:50:43,136 - DEBUG - Waiting to SSH to VM ctest-vm2-test-04803619, IP 10.10.10.4, Port 22
2026-10-26 03:50:43,206 - 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-10-26 03:50:43,291 - DEBUG - VM ctest-vm2-test-04803619 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-26 03:50:48,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 03:50:48,292 - DEBUG - Waiting to SSH to VM ctest-vm2-test-04803619, IP 10.10.10.4, Port 22
2026-10-26 03:50:48,376 - 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-10-26 03:50:48,500 - DEBUG - VM ctest-vm2-test-04803619 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-26 03:50:53,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 03:50:53,501 - DEBUG - Waiting to SSH to VM ctest-vm2-test-04803619, IP 10.10.10.4, Port 22
2026-10-26 03:50:53,570 - 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-10-26 03:50:53,683 - DEBUG - VM ctest-vm2-test-04803619 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-26 03:50:58,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 03:50:58,684 - DEBUG - Waiting to SSH to VM ctest-vm2-test-04803619, IP 10.10.10.4, Port 22
2026-10-26 03:50:58,864 - DEBUG - VM ctest-vm2-test-04803619 is ready for SSH connections
2026-10-26 03:50:58,864 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-10-26 03:50:58,864 - DEBUG - ifconfig | grep 10.10.10.4
2026-10-26 03:51:09,918 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-10-26 03:51:09,919 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-04803619", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-10-26 03:51:09,919 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-04803619", None, socket.AF_INET6)'
2026-10-26 03:51:12,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-04803619, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-10-26 03:51:12,385 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-04803619
2026-10-26 03:51:14,959 - DEBUG - PING ctest-vm2-test-04803619.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-04803619.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.04 ms
64 bytes from ctest-vm2-test-04803619.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.271 ms
64 bytes from ctest-vm2-test-04803619.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.216 ms
--- ctest-vm2-test-04803619.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.216/0.845/2.049/0.851 ms
2026-10-26 03:51:14,959 - INFO - Ping to IP ctest-vm2-test-04803619 from VM ctest-vm2-test-04803619 passed
2026-10-26 03:51:14,981 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-26 03:51:14,992 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33571565@0%20AllEntriesVdnsRecordsReq
2026-10-26 03:51:14,999 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-26 03:51:15,007 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33571565@0%20AllEntriesVdnsRecordsReq
2026-10-26 03:51:15,029 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-26 03:51:15,036 - DEBUG - Requesting: http://10.0.0.251:8092/Snh_PageReq?x=default-domain:ctest-vdns1-33571565@0%20AllEntriesVdnsRecordsReq
2026-10-26 03:51:15,043 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-33571565:1:ctest-vm2-test-04803619:10.10.10.4', 'rec_name': 'ctest-vm2-test-04803619', '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-6403-2/dns', 'rec_vm_uuid': '71486f6a-52b9-4215-b4d6-afacf03c1ffc'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-04803619.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-10-26 03:51:15,043 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-33571565:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-04803619', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-04803619', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6403-2/dns', 'rec_vm_uuid': '71486f6a-52b9-4215-b4d6-afacf03c1ffc'} ,
Expected record data {'rec_data': 'ctest-vm2-test-04803619.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-10-26 03:51:15,043 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-04803619", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-10-26 03:51:15,043 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-04803619", None, socket.AF_INET6)'
2026-10-26 03:51:16,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-04803619, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-10-26 03:51:16,112 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-04803619
2026-10-26 03:51:18,446 - DEBUG - PING ctest-vm2-test-04803619.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-04803619.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=13.1 ms
64 bytes from ctest-vm2-test-04803619.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.43 ms
64 bytes from ctest-vm2-test-04803619.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.38 ms
--- ctest-vm2-test-04803619.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.384/5.333/13.179/5.548 ms
2026-10-26 03:51:18,446 - INFO - Ping to IP ctest-vm2-test-04803619 from VM ctest-vm1-test-87352039 passed
2026-10-26 03:51:18,447 - INFO - Try deleting the VDNS entry ctest-vdns1-33571565 with back ref of ipam.
2026-10-26 03:51:18,505 - DEBUG - Delete when resource still referred: ['http://10.0.0.248:8082/network-ipam/88849703-8dc8-4415-9a47-cc848eaf663f']
2026-10-26 03:51:18,505 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-10-26 03:51:18,505 - INFO - Add CNAME VDNS record for ctest-vm1-test-87352039 and verify we able to ping by alias name
2026-10-26 03:51:18,553 - DEBUG - Creating VDNS record data : test-rec
2026-10-26 03:51:18,673 - INFO - In verify_on_setup
2026-10-26 03:51:18,769 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-33571565', 'test-rec'] created succesfully
2026-10-26 03:51:18,769 - INFO - Verify VDNS record is shown in the API server
2026-10-26 03:51:18,769 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-10-26 03:51:18,776 - DEBUG - Requesting: http://10.0.0.251:8082/domain/88a347a6-c9cd-49cd-b26a-2cbc745dd4cb
2026-10-26 03:51:18,788 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-DNS/0a0cc5b5-f236-4bd7-a9cf-e1bbbf9c9874
2026-10-26 03:51:18,800 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-DNS-record/af66e98d-57ad-4aef-8932-603be4d60350
2026-10-26 03:51:18,807 - INFO - Verify VDNS record is shown in the control node
2026-10-26 03:51:18,825 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-10-26 03:51:18,825 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-26 03:51:19,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-10-26 03:51:19,898 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-26 03:51:20,242 - DEBUG - ping: unknown host vm1-test-alias
2026-10-26 03:51:20,242 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-87352039 failed
2026-10-26 03:51:21,243 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-10-26 03:51:21,244 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-26 03:51:22,477 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-10-26 03:51:22,477 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-26 03:51:24,824 - DEBUG - PING ctest-vm1-test-87352039.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-87352039.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.06 ms
64 bytes from ctest-vm1-test-87352039.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.233 ms
64 bytes from ctest-vm1-test-87352039.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.290 ms
--- ctest-vm1-test-87352039.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.233/0.863/2.067/0.851 ms
2026-10-26 03:51:24,824 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-87352039 passed
2026-10-26 03:51:24,824 - DEBUG - Deleting VDNS record data: test-rec
2026-10-26 03:51:24,905 - INFO - VDNS record info: default-domain:ctest-vdns1-33571565:test-rec deleted successfully.
2026-10-26 03:51:24,905 - INFO - Deleting VM ctest-vm2-test-04803619
2026-10-26 03:51:24,981 - INFO - Deleting VM ctest-vm1-test-87352039
2026-10-26 03:51:25,051 - INFO - Deleting VN ctest-vn1-vdns-26203893
2026-10-26 03:51:25,090 - DEBUG - VN 537d1df7-446a-47d9-8d4c-3f68baad58bf still in use: Unable to complete operation on network 537d1df7-446a-47d9-8d4c-3f68baad58bf. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-637d5b00-7f01-472b-863f-7616c50e0fbb']
2026-10-26 03:51:25,090 - WARNING - Deleting VN ctest-vn1-vdns-26203893 failed..Will retry
2026-10-26 03:51:27,128 - DEBUG - VN 537d1df7-446a-47d9-8d4c-3f68baad58bf still in use: Unable to complete operation on network 537d1df7-446a-47d9-8d4c-3f68baad58bf. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-39f0ffd0-0de2-49a4-a1f3-654cb67af262']
2026-10-26 03:51:27,128 - WARNING - Deleting VN ctest-vn1-vdns-26203893 failed..Will retry
2026-10-26 03:51:29,350 - DEBUG - Response for deleting network ()
2026-10-26 03:51:29,435 - DEBUG - Deleting VDNS Entry: ctest-vdns1-33571565
2026-10-26 03:51:29,521 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-33571565'] deleted successfully.
2026-10-26 03:51:29,521 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-10-26 03:51:29,529 - DEBUG - Requesting: http://10.0.0.251:8082/domain/88a347a6-c9cd-49cd-b26a-2cbc745dd4cb
2026-10-26 03:51:29,549 - DEBUG - VDNS information not found in API server
2026-10-26 03:51:29,549 - INFO - VDNS information ctest-vdns1-33571565 removed from the API Server
2026-10-26 03:51:29,559 - INFO - VDNS information ctest-vdns1-33571565 removed in the Control node
2026-10-26 03:51:29,559 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-64789217']
2026-10-26 03:51:30,870 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 03:51:30,870 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:26]
2026-10-26 03:51:30,870 - INFO - --------------------------------------------------------------------------------
2026-10-26 03:51:31,805 - INFO - Deleted project: ctest-TestvDNSBasic0-64789217, ID : 0a296f58-36ec-4fc9-a963-d645fa8a0ce2