2026-10-12 03:28:26,686 - INFO - Domain Default found not creating
2026-10-12 03:28:26,894 - INFO - Project ctest-TestvDNSBasic0-42680346 not found, creating it
2026-10-12 03:28:27,406 - INFO - Created Project:ctest-TestvDNSBasic0-42680346, ID : 60e3fc86-ca6a-4da6-88d6-248351a86426
2026-10-12 03:28:29,075 - INFO - ================================================================================
2026-10-12 03:28:29,075 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-10-12 03:28:29,075 - 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-12 03:28:30,349 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.30': '0', '10.20.0.25': '0'}, '10.0.0.189': {'10.20.0.30': '0', '10.20.0.25': '0'}} with
2026-10-12 03:28:30,349 - INFO - Initial checks done. Running the testcase now
2026-10-12 03:28:30,349 - INFO -
2026-10-12 03:28:31,577 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-42680346'](60e3fc86-ca6a-4da6-88d6-248351a86426)
2026-10-12 03:28:31,639 - DEBUG - Creating VDNS : ctest-vdns1-04320974
2026-10-12 03:28:31,859 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-04320974'] created succesfully
2026-10-12 03:28:31,859 - DEBUG - Verify VDNS entry is shown in control node
2026-10-12 03:28:31,875 - DEBUG - Verify VDNS entry is shown in the API server
2026-10-12 03:28:31,875 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-12 03:28:32,238 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-12 03:28:32,261 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e7595c33-d9f2-4727-95af-2f5d18bc40e3
2026-10-12 03:28:32,292 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/65fabd17-8fbf-49ae-9fee-1b3a415509fe
2026-10-12 03:28:32,955 - DEBUG - Response for create_network : {'network': {'id': 'b10ed049-0f91-48e0-b69d-65f0e8fb0d3b', 'name': 'ctest-vn1-vdns-80986345', 'tenant_id': '60e3fc86ca6a4da688d6248351a86426', 'project_id': '60e3fc86ca6a4da688d6248351a86426', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-42680346', 'ctest-vn1-vdns-80986345'], 'port_security_enabled': True, 'description': ''}}
2026-10-12 03:28:33,202 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9c954c2-c213-4705-87ed-7877cb7e85ee', 'name': '', 'tenant_id': '60e3fc86ca6a4da688d6248351a86426', 'network_id': 'b10ed049-0f91-48e0-b69d-65f0e8fb0d3b', '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': '60e3fc86ca6a4da688d6248351a86426'}}
2026-10-12 03:28:33,221 - INFO - Created VN ctest-vn1-vdns-80986345
2026-10-12 03:28:33,236 - DEBUG - VN ctest-vn1-vdns-80986345 UUID is b10ed049-0f91-48e0-b69d-65f0e8fb0d3b
2026-10-12 03:28:33,364 - DEBUG - Services list from nova: [, , , ]
2026-10-12 03:28:33,649 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6357-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6357-1)
2026-10-12 03:28:33,650 - INFO - Waiting for VM ctest-vm1-test-59933538 to be up..
2026-10-12 03:28:33,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-12 03:28:38,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-12 03:28:43,834 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-12 03:28:48,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-12 03:28:53,977 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-12 03:28:59,057 - DEBUG - VM is in ACTIVE state now
2026-10-12 03:28:59,057 - INFO - VM name : ctest-vm1-test-59933538
2026-10-12 03:28:59,167 - DEBUG - VM ctest-vm1-test-59933538 ID is 9d225fdb-7cdb-4b2a-a899-4661df043539
2026-10-12 03:28:59,167 - DEBUG - VM ctest-vm1-test-59933538 launched on Node an-jenkins-deploy-platform-ansible-os-6357-1
2026-10-12 03:28:59,239 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/9d225fdb-7cdb-4b2a-a899-4661df043539
2026-10-12 03:28:59,596 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/9d225fdb-7cdb-4b2a-a899-4661df043539
2026-10-12 03:28:59,622 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/ecb3efd6-4cc6-448e-a782-c3f4bfffe532
2026-10-12 03:29:02,808 - 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 1034ms')
2026-10-12 03:29:02,808 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-59933538 failed!
2026-10-12 03:29:02,822 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:29:06,907 - 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-10-12 03:29:06,907 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-59933538 failed!
2026-10-12 03:29:06,920 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:29:11,001 - 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-10-12 03:29:11,001 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-59933538 failed!
2026-10-12 03:29:11,014 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:29:15,101 - 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-10-12 03:29:15,101 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-59933538 failed!
2026-10-12 03:29:15,113 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:29:19,186 - 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-10-12 03:29:19,186 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-59933538 failed!
2026-10-12 03:29:19,199 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:29:23,286 - 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-10-12 03:29:23,286 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-59933538 failed!
2026-10-12 03:29:23,299 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:29:25,364 - 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=5.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.610 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.610/2.905/5.200/2.295 ms')
2026-10-12 03:29:25,364 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-59933538 passed
2026-10-12 03:29:25,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-12 03:29:25,426 - DEBUG - Waiting to SSH to VM ctest-vm1-test-59933538, IP 10.10.10.3, Port 22
2026-10-12 03:29:25,494 - 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-12 03:29:25,565 - DEBUG - VM ctest-vm1-test-59933538 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-12 03:29:30,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-12 03:29:30,565 - DEBUG - Waiting to SSH to VM ctest-vm1-test-59933538, IP 10.10.10.3, Port 22
2026-10-12 03:29:30,633 - 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-12 03:29:30,703 - DEBUG - VM ctest-vm1-test-59933538 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-12 03:29:35,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-12 03:29:35,704 - DEBUG - Waiting to SSH to VM ctest-vm1-test-59933538, IP 10.10.10.3, Port 22
2026-10-12 03:29:35,869 - DEBUG - VM ctest-vm1-test-59933538 is ready for SSH connections
2026-10-12 03:29:35,869 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.188, gateway password: c0ntrail123
2026-10-12 03:29:35,869 - DEBUG - ifconfig | grep 10.10.10.3
2026-10-12 03:29:42,804 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-10-12 03:29:42,804 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-59933538", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.188, gateway password: c0ntrail123
2026-10-12 03:29:42,804 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-59933538", None, socket.AF_INET6)'
2026-10-12 03:29:44,742 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-59933538, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.188, gateway password: c0ntrail123
2026-10-12 03:29:44,742 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-59933538
2026-10-12 03:29:47,184 - DEBUG - PING ctest-vm1-test-59933538.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-59933538.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=5.03 ms
64 bytes from ctest-vm1-test-59933538.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.218 ms
64 bytes from ctest-vm1-test-59933538.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.203 ms
--- ctest-vm1-test-59933538.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.203/1.817/5.031/2.272 ms
2026-10-12 03:29:47,184 - INFO - Ping to IP ctest-vm1-test-59933538 from VM ctest-vm1-test-59933538 passed
2026-10-12 03:29:47,212 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-12 03:29:47,218 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04320974@0%20AllEntriesVdnsRecordsReq
2026-10-12 03:29:47,228 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-12 03:29:47,232 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04320974@0%20AllEntriesVdnsRecordsReq
2026-10-12 03:29:47,237 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-12 03:29:47,246 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04320974@0%20AllEntriesVdnsRecordsReq
2026-10-12 03:29:47,254 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04320974:1:ctest-vm1-test-59933538:10.10.10.3', 'rec_name': 'ctest-vm1-test-59933538', '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-6357-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-59933538.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-10-12 03:29:47,254 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04320974:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-59933538', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-59933538', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6357-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-59933538.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-12 03:29:47,812 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6357-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6357-2)
2026-10-12 03:29:47,812 - INFO - Waiting for VM ctest-vm2-test-40627065 to be up..
2026-10-12 03:29:47,850 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-12 03:29:52,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-12 03:29:57,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-12 03:30:03,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-12 03:30:08,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-12 03:30:13,195 - DEBUG - VM is in ACTIVE state now
2026-10-12 03:30:13,196 - INFO - VM name : ctest-vm2-test-40627065
2026-10-12 03:30:13,261 - DEBUG - VM ctest-vm2-test-40627065 ID is 0a4f8470-e47e-404c-8879-9f90bba54038
2026-10-12 03:30:13,261 - DEBUG - VM ctest-vm2-test-40627065 launched on Node an-jenkins-deploy-platform-ansible-os-6357-2
2026-10-12 03:30:13,332 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/0a4f8470-e47e-404c-8879-9f90bba54038
2026-10-12 03:30:13,341 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/6b87d492-8a96-4521-aab4-45a43310e2ee
2026-10-12 03:30:16,527 - 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 1034ms')
2026-10-12 03:30:16,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40627065 failed!
2026-10-12 03:30:16,540 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:30:20,616 - 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-12 03:30:20,616 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40627065 failed!
2026-10-12 03:30:20,628 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:30:24,717 - 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 1026ms')
2026-10-12 03:30:24,717 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40627065 failed!
2026-10-12 03:30:24,732 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:30:28,816 - 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 1015ms')
2026-10-12 03:30:28,816 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40627065 failed!
2026-10-12 03:30:28,828 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:30:32,910 - 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-12 03:30:32,910 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40627065 failed!
2026-10-12 03:30:32,922 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:30:37,008 - 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-12 03:30:37,008 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40627065 failed!
2026-10-12 03:30:37,021 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:30:41,106 - 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-10-12 03:30:41,107 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40627065 failed!
2026-10-12 03:30:41,119 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-42680346:ctest-vn1-vdns-80986345 is 10.10.10.1 and allocation pool is NOT set
2026-10-12 03:30:43,188 - 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=5.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.197/3.334/5.471/2.137 ms')
2026-10-12 03:30:43,188 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-40627065 passed
2026-10-12 03:30:43,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-12 03:30:43,250 - DEBUG - Waiting to SSH to VM ctest-vm2-test-40627065, IP 10.10.10.4, Port 22
2026-10-12 03:30:43,315 - 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-12 03:30:43,388 - DEBUG - VM ctest-vm2-test-40627065 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-12 03:30:48,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-12 03:30:48,389 - DEBUG - Waiting to SSH to VM ctest-vm2-test-40627065, IP 10.10.10.4, Port 22
2026-10-12 03:30:48,456 - 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-12 03:30:48,522 - DEBUG - VM ctest-vm2-test-40627065 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-12 03:30:53,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-12 03:30:53,523 - DEBUG - Waiting to SSH to VM ctest-vm2-test-40627065, IP 10.10.10.4, Port 22
2026-10-12 03:30:53,688 - DEBUG - VM ctest-vm2-test-40627065 is ready for SSH connections
2026-10-12 03:30:53,688 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-10-12 03:30:53,688 - DEBUG - ifconfig | grep 10.10.10.4
2026-10-12 03:31:00,646 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-10-12 03:31:00,646 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40627065", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-10-12 03:31:00,646 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40627065", None, socket.AF_INET6)'
2026-10-12 03:31:02,636 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-40627065, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-10-12 03:31:02,636 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-40627065
2026-10-12 03:31:05,051 - DEBUG - PING ctest-vm2-test-40627065.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-40627065.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.75 ms
64 bytes from ctest-vm2-test-40627065.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.215 ms
64 bytes from ctest-vm2-test-40627065.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.420 ms
--- ctest-vm2-test-40627065.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.215/1.464/3.758/1.624 ms
2026-10-12 03:31:05,051 - INFO - Ping to IP ctest-vm2-test-40627065 from VM ctest-vm2-test-40627065 passed
2026-10-12 03:31:05,073 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-12 03:31:05,079 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04320974@0%20AllEntriesVdnsRecordsReq
2026-10-12 03:31:05,086 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-12 03:31:05,090 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04320974@0%20AllEntriesVdnsRecordsReq
2026-10-12 03:31:05,096 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-10-12 03:31:05,101 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-04320974@0%20AllEntriesVdnsRecordsReq
2026-10-12 03:31:05,106 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04320974:1:ctest-vm2-test-40627065:10.10.10.4', 'rec_name': 'ctest-vm2-test-40627065', '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-6357-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-40627065.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-10-12 03:31:05,106 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-04320974:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-40627065', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-40627065', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6357-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-40627065.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-12 03:31:05,106 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40627065", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.188, gateway password: c0ntrail123
2026-10-12 03:31:05,106 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-40627065", None, socket.AF_INET6)'
2026-10-12 03:31:05,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-40627065, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.188, gateway password: c0ntrail123
2026-10-12 03:31:05,978 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-40627065
2026-10-12 03:31:08,255 - DEBUG - PING ctest-vm2-test-40627065.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-40627065.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.41 ms
64 bytes from ctest-vm2-test-40627065.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.82 ms
64 bytes from ctest-vm2-test-40627065.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.17 ms
--- ctest-vm2-test-40627065.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.171/3.472/7.418/2.803 ms
2026-10-12 03:31:08,255 - INFO - Ping to IP ctest-vm2-test-40627065 from VM ctest-vm1-test-59933538 passed
2026-10-12 03:31:08,255 - INFO - Try deleting the VDNS entry ctest-vdns1-04320974 with back ref of ipam.
2026-10-12 03:31:08,311 - DEBUG - Delete when resource still referred: ['http://10.0.0.191:8082/network-ipam/d10aec17-4e97-4301-906c-eaf45f5a5a2a']
2026-10-12 03:31:08,311 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-10-12 03:31:08,311 - INFO - Add CNAME VDNS record for ctest-vm1-test-59933538 and verify we able to ping by alias name
2026-10-12 03:31:08,359 - DEBUG - Creating VDNS record data : test-rec
2026-10-12 03:31:08,475 - INFO - In verify_on_setup
2026-10-12 03:31:08,571 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-04320974', 'test-rec'] created succesfully
2026-10-12 03:31:08,571 - INFO - Verify VDNS record is shown in the API server
2026-10-12 03:31:08,571 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-12 03:31:08,576 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e7595c33-d9f2-4727-95af-2f5d18bc40e3
2026-10-12 03:31:08,588 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/65fabd17-8fbf-49ae-9fee-1b3a415509fe
2026-10-12 03:31:08,595 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/35c05e26-90bd-43a7-9be3-74601f16d5dd
2026-10-12 03:31:08,600 - INFO - Verify VDNS record is shown in the control node
2026-10-12 03:31:08,615 - 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.188, gateway password: c0ntrail123
2026-10-12 03:31:08,615 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-12 03:31:09,465 - 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.188, gateway password: c0ntrail123
2026-10-12 03:31:09,465 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-12 03:31:09,713 - DEBUG - ping: unknown host vm1-test-alias
2026-10-12 03:31:09,714 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-59933538 failed
2026-10-12 03:31:10,714 - 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.188, gateway password: c0ntrail123
2026-10-12 03:31:10,714 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-10-12 03:31:11,565 - 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.188, gateway password: c0ntrail123
2026-10-12 03:31:11,566 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-10-12 03:31:13,830 - DEBUG - PING ctest-vm1-test-59933538.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-59933538.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.148 ms
64 bytes from ctest-vm1-test-59933538.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.13 ms
64 bytes from ctest-vm1-test-59933538.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.193 ms
--- ctest-vm1-test-59933538.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.148/0.824/2.131/0.924 ms
2026-10-12 03:31:13,830 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-59933538 passed
2026-10-12 03:31:13,830 - DEBUG - Deleting VDNS record data: test-rec
2026-10-12 03:31:13,907 - INFO - VDNS record info: default-domain:ctest-vdns1-04320974:test-rec deleted successfully.
2026-10-12 03:31:13,907 - INFO - Deleting VM ctest-vm2-test-40627065
2026-10-12 03:31:13,968 - INFO - Deleting VM ctest-vm1-test-59933538
2026-10-12 03:31:14,023 - INFO - Deleting VN ctest-vn1-vdns-80986345
2026-10-12 03:31:14,054 - DEBUG - VN b10ed049-0f91-48e0-b69d-65f0e8fb0d3b still in use: Unable to complete operation on network b10ed049-0f91-48e0-b69d-65f0e8fb0d3b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2e7a118d-f973-484d-9d51-85e05f187619']
2026-10-12 03:31:14,054 - WARNING - Deleting VN ctest-vn1-vdns-80986345 failed..Will retry
2026-10-12 03:31:16,115 - DEBUG - VN b10ed049-0f91-48e0-b69d-65f0e8fb0d3b still in use: Unable to complete operation on network b10ed049-0f91-48e0-b69d-65f0e8fb0d3b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-72c20721-97ef-4f52-a381-c571d318c97a']
2026-10-12 03:31:16,115 - WARNING - Deleting VN ctest-vn1-vdns-80986345 failed..Will retry
2026-10-12 03:31:18,308 - DEBUG - Response for deleting network ()
2026-10-12 03:31:18,346 - DEBUG - Deleting VDNS Entry: ctest-vdns1-04320974
2026-10-12 03:31:18,419 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-04320974'] deleted successfully.
2026-10-12 03:31:18,419 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-12 03:31:18,425 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e7595c33-d9f2-4727-95af-2f5d18bc40e3
2026-10-12 03:31:18,444 - DEBUG - VDNS information not found in API server
2026-10-12 03:31:18,444 - INFO - VDNS information ctest-vdns1-04320974 removed from the API Server
2026-10-12 03:31:18,450 - INFO - VDNS information ctest-vdns1-04320974 removed in the Control node
2026-10-12 03:31:18,450 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-42680346']
2026-10-12 03:31:19,716 - DEBUG - No XMPP flaps were noticed during the test
2026-10-12 03:31:19,716 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:50]
2026-10-12 03:31:19,716 - INFO - --------------------------------------------------------------------------------
2026-10-12 03:31:20,513 - INFO - Deleted project: ctest-TestvDNSBasic0-42680346, ID : 60e3fc86-ca6a-4da6-88d6-248351a86426