2026-08-17 03:41:04,068 - INFO - Domain Default found not creating
2026-08-17 03:41:04,639 - INFO - Project ctest-TestvDNSBasic0-76277608 not found, creating it
2026-08-17 03:41:05,225 - INFO - Created Project:ctest-TestvDNSBasic0-76277608, ID : c531c2cb-e481-419e-9dba-82b446796589
2026-08-17 03:41:07,148 - INFO - ================================================================================
2026-08-17 03:41:07,148 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-08-17 03:41:07,148 - 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-08-17 03:41:08,488 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.186': {'10.20.0.14': '0', '10.20.0.254': '0'}} with
2026-08-17 03:41:08,488 - INFO - Initial checks done. Running the testcase now
2026-08-17 03:41:08,488 - INFO -
2026-08-17 03:41:09,347 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-76277608'](c531c2cb-e481-419e-9dba-82b446796589)
2026-08-17 03:41:09,404 - DEBUG - Creating VDNS : ctest-vdns1-06723106
2026-08-17 03:41:09,640 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-06723106'] created succesfully
2026-08-17 03:41:09,641 - DEBUG - Verify VDNS entry is shown in control node
2026-08-17 03:41:09,676 - DEBUG - Verify VDNS entry is shown in the API server
2026-08-17 03:41:09,676 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-17 03:41:10,054 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-17 03:41:10,092 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2b2edc1c-1b78-4df2-9472-fa661dfea482
2026-08-17 03:41:10,140 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-DNS/dd5eb46b-bfbf-4918-bd2f-f102d31d357c
2026-08-17 03:41:11,040 - DEBUG - Response for create_network : {'network': {'id': '17e31236-171b-45a4-8311-8aba750e49a1', 'name': 'ctest-vn1-vdns-94889151', 'tenant_id': 'c531c2cbe481419e9dba82b446796589', 'project_id': 'c531c2cbe481419e9dba82b446796589', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-76277608', 'ctest-vn1-vdns-94889151'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 03:41:11,401 - DEBUG - Response for create_subnet : {'subnet': {'id': '736804e5-5dff-453f-a94b-4a33f148cff1', 'name': '', 'tenant_id': 'c531c2cbe481419e9dba82b446796589', 'network_id': '17e31236-171b-45a4-8311-8aba750e49a1', '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': 'c531c2cbe481419e9dba82b446796589'}}
2026-08-17 03:41:11,425 - INFO - Created VN ctest-vn1-vdns-94889151
2026-08-17 03:41:11,438 - DEBUG - VN ctest-vn1-vdns-94889151 UUID is 17e31236-171b-45a4-8311-8aba750e49a1
2026-08-17 03:41:11,639 - DEBUG - Services list from nova: [, , , ]
2026-08-17 03:41:12,071 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6167-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6167-1)
2026-08-17 03:41:12,071 - INFO - Waiting for VM ctest-vm1-test-76459373 to be up..
2026-08-17 03:41:12,127 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 03:41:17,216 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 03:41:22,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 03:41:27,422 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 03:41:32,508 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 03:41:37,635 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 03:41:42,732 - DEBUG - VM is in ACTIVE state now
2026-08-17 03:41:42,732 - INFO - VM name : ctest-vm1-test-76459373
2026-08-17 03:41:42,823 - DEBUG - VM ctest-vm1-test-76459373 ID is 63878306-b52d-447a-8bfd-cfaeaa8038ea
2026-08-17 03:41:42,823 - DEBUG - VM ctest-vm1-test-76459373 launched on Node an-jenkins-deploy-platform-ansible-os-6167-1
2026-08-17 03:41:42,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63878306-b52d-447a-8bfd-cfaeaa8038ea
2026-08-17 03:41:43,275 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63878306-b52d-447a-8bfd-cfaeaa8038ea
2026-08-17 03:41:43,312 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4550ed5d-2312-470e-9121-da837011e6cc
2026-08-17 03:41:46,496 - 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 1018ms')
2026-08-17 03:41:46,496 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-76459373 failed!
2026-08-17 03:41:46,514 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:41:50,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 1008ms')
2026-08-17 03:41:50,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-76459373 failed!
2026-08-17 03:41:50,607 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:41:54,678 - 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-08-17 03:41:54,679 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-76459373 failed!
2026-08-17 03:41:54,695 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:41:58,778 - 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-08-17 03:41:58,778 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-76459373 failed!
2026-08-17 03:41:58,792 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:42:02,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 1018ms')
2026-08-17 03:42:02,878 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-76459373 failed!
2026-08-17 03:42:02,893 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:42:06,972 - 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-08-17 03:42:06,972 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-76459373 failed!
2026-08-17 03:42:06,989 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:42:09,059 - 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=8.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.55 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.551/5.430/8.309/2.879 ms')
2026-08-17 03:42:09,059 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-76459373 passed
2026-08-17 03:42:09,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 03:42:09,135 - DEBUG - Waiting to SSH to VM ctest-vm1-test-76459373, IP 10.10.10.3, Port 22
2026-08-17 03:42:09,203 - 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-08-17 03:42:09,295 - DEBUG - VM ctest-vm1-test-76459373 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-17 03:42:14,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 03:42:14,296 - DEBUG - Waiting to SSH to VM ctest-vm1-test-76459373, IP 10.10.10.3, Port 22
2026-08-17 03:42:14,363 - 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-08-17 03:42:14,459 - DEBUG - VM ctest-vm1-test-76459373 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-17 03:42:19,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 03:42:19,459 - DEBUG - Waiting to SSH to VM ctest-vm1-test-76459373, IP 10.10.10.3, Port 22
2026-08-17 03:42:19,630 - DEBUG - VM ctest-vm1-test-76459373 is ready for SSH connections
2026-08-17 03:42:19,631 - 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-08-17 03:42:19,631 - DEBUG - ifconfig | grep 10.10.10.3
2026-08-17 03:42:28,166 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-08-17 03:42:28,167 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-76459373", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-08-17 03:42:28,167 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-76459373", None, socket.AF_INET6)'
2026-08-17 03:42:30,267 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-76459373, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-08-17 03:42:30,267 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-76459373
2026-08-17 03:42:32,716 - DEBUG - PING ctest-vm1-test-76459373.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-76459373.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.91 ms
64 bytes from ctest-vm1-test-76459373.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.280 ms
64 bytes from ctest-vm1-test-76459373.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.261 ms
--- ctest-vm1-test-76459373.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.261/0.819/1.916/0.775 ms
2026-08-17 03:42:32,717 - INFO - Ping to IP ctest-vm1-test-76459373 from VM ctest-vm1-test-76459373 passed
2026-08-17 03:42:32,743 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-17 03:42:32,751 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06723106@0%20AllEntriesVdnsRecordsReq
2026-08-17 03:42:32,765 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-17 03:42:32,772 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06723106@0%20AllEntriesVdnsRecordsReq
2026-08-17 03:42:32,780 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-17 03:42:32,786 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06723106@0%20AllEntriesVdnsRecordsReq
2026-08-17 03:42:32,792 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-06723106:1:ctest-vm1-test-76459373:10.10.10.3', 'rec_name': 'ctest-vm1-test-76459373', '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-6167-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-76459373.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-08-17 03:42:32,792 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-06723106:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-76459373', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-76459373', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6167-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-76459373.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-08-17 03:42:33,587 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6167-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6167-2)
2026-08-17 03:42:33,587 - INFO - Waiting for VM ctest-vm2-test-95082221 to be up..
2026-08-17 03:42:33,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 03:42:38,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 03:42:43,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 03:42:48,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 03:42:54,099 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 03:42:59,185 - DEBUG - VM is in ACTIVE state now
2026-08-17 03:42:59,185 - INFO - VM name : ctest-vm2-test-95082221
2026-08-17 03:42:59,272 - DEBUG - VM ctest-vm2-test-95082221 ID is 2bdda932-7577-48fd-aea5-888bb6a37794
2026-08-17 03:42:59,272 - DEBUG - VM ctest-vm2-test-95082221 launched on Node an-jenkins-deploy-platform-ansible-os-6167-2
2026-08-17 03:42:59,358 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2bdda932-7577-48fd-aea5-888bb6a37794
2026-08-17 03:42:59,374 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0d6f1a26-6d3e-4bb7-9734-7f4d602afb5d
2026-08-17 03:43:02,576 - 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 1004ms')
2026-08-17 03:43:02,576 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-95082221 failed!
2026-08-17 03:43:02,595 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:43:06,669 - 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-08-17 03:43:06,669 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-95082221 failed!
2026-08-17 03:43:06,686 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:43:10,764 - 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 1018ms')
2026-08-17 03:43:10,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-95082221 failed!
2026-08-17 03:43:10,782 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:43:14,859 - 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-08-17 03:43:14,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-95082221 failed!
2026-08-17 03:43:14,875 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:43:18,992 - 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-08-17 03:43:18,992 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-95082221 failed!
2026-08-17 03:43:19,008 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:43:23,078 - 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-08-17 03:43:23,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-95082221 failed!
2026-08-17 03:43:23,093 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:43:27,183 - 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-08-17 03:43:27,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-95082221 failed!
2026-08-17 03:43:27,199 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76277608:ctest-vn1-vdns-94889151 is 10.10.10.1 and allocation pool is NOT set
2026-08-17 03:43:29,260 - 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=11.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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.523/6.535/11.548/5.012 ms')
2026-08-17 03:43:29,260 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-95082221 passed
2026-08-17 03:43:29,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 03:43:29,330 - DEBUG - Waiting to SSH to VM ctest-vm2-test-95082221, IP 10.10.10.4, Port 22
2026-08-17 03:43:29,398 - 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-08-17 03:43:29,497 - DEBUG - VM ctest-vm2-test-95082221 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-17 03:43:34,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 03:43:34,498 - DEBUG - Waiting to SSH to VM ctest-vm2-test-95082221, IP 10.10.10.4, Port 22
2026-08-17 03:43:34,566 - 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-08-17 03:43:34,658 - DEBUG - VM ctest-vm2-test-95082221 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-17 03:43:39,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 03:43:39,658 - DEBUG - Waiting to SSH to VM ctest-vm2-test-95082221, IP 10.10.10.4, Port 22
2026-08-17 03:43:39,830 - DEBUG - VM ctest-vm2-test-95082221 is ready for SSH connections
2026-08-17 03:43:39,830 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-17 03:43:39,830 - DEBUG - ifconfig | grep 10.10.10.4
2026-08-17 03:43:49,083 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-08-17 03:43:49,083 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-95082221", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-17 03:43:49,083 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-95082221", None, socket.AF_INET6)'
2026-08-17 03:43:51,089 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-95082221, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-08-17 03:43:51,089 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-95082221
2026-08-17 03:43:53,565 - DEBUG - PING ctest-vm2-test-95082221.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-95082221.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.47 ms
64 bytes from ctest-vm2-test-95082221.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.310 ms
64 bytes from ctest-vm2-test-95082221.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.304 ms
--- ctest-vm2-test-95082221.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.304/1.695/4.472/1.963 ms
2026-08-17 03:43:53,565 - INFO - Ping to IP ctest-vm2-test-95082221 from VM ctest-vm2-test-95082221 passed
2026-08-17 03:43:53,590 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-17 03:43:53,599 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06723106@0%20AllEntriesVdnsRecordsReq
2026-08-17 03:43:53,608 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-17 03:43:53,616 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06723106@0%20AllEntriesVdnsRecordsReq
2026-08-17 03:43:53,633 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-08-17 03:43:53,639 - DEBUG - Requesting: http://10.0.0.177:8092/Snh_PageReq?x=default-domain:ctest-vdns1-06723106@0%20AllEntriesVdnsRecordsReq
2026-08-17 03:43:53,646 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-06723106:1:ctest-vm2-test-95082221:10.10.10.4', 'rec_name': 'ctest-vm2-test-95082221', '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-6167-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-95082221.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-08-17 03:43:53,646 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-06723106:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-95082221', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-95082221', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6167-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-95082221.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-08-17 03:43:53,646 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-95082221", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-08-17 03:43:53,646 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-95082221", None, socket.AF_INET6)'
2026-08-17 03:43:54,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-95082221, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-08-17 03:43:54,527 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-95082221
2026-08-17 03:43:56,818 - DEBUG - PING ctest-vm2-test-95082221.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-95082221.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.88 ms
64 bytes from ctest-vm2-test-95082221.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.02 ms
64 bytes from ctest-vm2-test-95082221.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.15 ms
--- ctest-vm2-test-95082221.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2008ms
rtt min/avg/max/mdev = 1.157/4.354/9.887/3.928 ms
2026-08-17 03:43:56,818 - INFO - Ping to IP ctest-vm2-test-95082221 from VM ctest-vm1-test-76459373 passed
2026-08-17 03:43:56,818 - INFO - Try deleting the VDNS entry ctest-vdns1-06723106 with back ref of ipam.
2026-08-17 03:43:56,880 - DEBUG - Delete when resource still referred: ['http://10.0.0.38:8082/network-ipam/944d9daa-cf76-4b23-940c-583c9f5fa43c']
2026-08-17 03:43:56,881 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-08-17 03:43:56,881 - INFO - Add CNAME VDNS record for ctest-vm1-test-76459373 and verify we able to ping by alias name
2026-08-17 03:43:56,928 - DEBUG - Creating VDNS record data : test-rec
2026-08-17 03:43:57,056 - INFO - In verify_on_setup
2026-08-17 03:43:57,153 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-06723106', 'test-rec'] created succesfully
2026-08-17 03:43:57,153 - INFO - Verify VDNS record is shown in the API server
2026-08-17 03:43:57,153 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-17 03:43:57,161 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2b2edc1c-1b78-4df2-9472-fa661dfea482
2026-08-17 03:43:57,176 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-DNS/dd5eb46b-bfbf-4918-bd2f-f102d31d357c
2026-08-17 03:43:57,190 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-DNS-record/0c8050af-c63d-4226-83c7-d81883b1f8b9
2026-08-17 03:43:57,199 - INFO - Verify VDNS record is shown in the control node
2026-08-17 03:43:57,222 - 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-08-17 03:43:57,222 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-08-17 03:43:58,086 - 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-08-17 03:43:58,086 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-08-17 03:43:58,349 - DEBUG - ping: unknown host vm1-test-alias
2026-08-17 03:43:58,349 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-76459373 failed
2026-08-17 03:43:59,350 - 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-08-17 03:43:59,351 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-08-17 03:44:00,320 - 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-08-17 03:44:00,320 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-08-17 03:44:02,636 - DEBUG - PING ctest-vm1-test-76459373.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-76459373.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.188 ms
64 bytes from ctest-vm1-test-76459373.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.275 ms
64 bytes from ctest-vm1-test-76459373.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.340 ms
--- ctest-vm1-test-76459373.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.188/0.267/0.340/0.065 ms
2026-08-17 03:44:02,636 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-76459373 passed
2026-08-17 03:44:02,636 - DEBUG - Deleting VDNS record data: test-rec
2026-08-17 03:44:02,744 - INFO - VDNS record info: default-domain:ctest-vdns1-06723106:test-rec deleted successfully.
2026-08-17 03:44:02,744 - INFO - Deleting VM ctest-vm2-test-95082221
2026-08-17 03:44:02,834 - INFO - Deleting VM ctest-vm1-test-76459373
2026-08-17 03:44:02,920 - INFO - Deleting VN ctest-vn1-vdns-94889151
2026-08-17 03:44:02,966 - DEBUG - VN 17e31236-171b-45a4-8311-8aba750e49a1 still in use: Unable to complete operation on network 17e31236-171b-45a4-8311-8aba750e49a1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-bee81880-0783-479b-aa08-0981db948102']
2026-08-17 03:44:02,966 - WARNING - Deleting VN ctest-vn1-vdns-94889151 failed..Will retry
2026-08-17 03:44:05,023 - DEBUG - VN 17e31236-171b-45a4-8311-8aba750e49a1 still in use: Unable to complete operation on network 17e31236-171b-45a4-8311-8aba750e49a1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b1b0f021-294f-4a28-b89d-b20ac4da71d1']
2026-08-17 03:44:05,023 - WARNING - Deleting VN ctest-vn1-vdns-94889151 failed..Will retry
2026-08-17 03:44:07,204 - DEBUG - Response for deleting network ()
2026-08-17 03:44:07,278 - DEBUG - Deleting VDNS Entry: ctest-vdns1-06723106
2026-08-17 03:44:07,392 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-06723106'] deleted successfully.
2026-08-17 03:44:07,393 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-17 03:44:07,400 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2b2edc1c-1b78-4df2-9472-fa661dfea482
2026-08-17 03:44:07,420 - DEBUG - VDNS information not found in API server
2026-08-17 03:44:07,420 - INFO - VDNS information ctest-vdns1-06723106 removed from the API Server
2026-08-17 03:44:07,430 - INFO - VDNS information ctest-vdns1-06723106 removed in the Control node
2026-08-17 03:44:07,430 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-76277608']
2026-08-17 03:44:08,753 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 03:44:08,754 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:01]
2026-08-17 03:44:08,754 - INFO - --------------------------------------------------------------------------------
2026-08-17 03:44:09,630 - INFO - Deleted project: ctest-TestvDNSBasic0-76277608, ID : c531c2cb-e481-419e-9dba-82b446796589