2026-04-30 03:43:29,260 - INFO - Domain Default found not creating
2026-04-30 03:43:29,729 - INFO - Project ctest-TestvDNSBasic0-52685487 not found, creating it
2026-04-30 03:43:30,321 - INFO - Created Project:ctest-TestvDNSBasic0-52685487, ID : 35257fcf-d051-404e-abec-f39b52fdd4d6
2026-04-30 03:43:31,903 - INFO - ================================================================================
2026-04-30 03:43:31,904 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-04-30 03:43:31,904 - 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-04-30 03:43:33,208 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.18': '0'}, '10.0.0.241': {'10.20.0.193': '0', '10.20.0.18': '0'}} with
2026-04-30 03:43:33,208 - INFO - Initial checks done. Running the testcase now
2026-04-30 03:43:33,208 - INFO -
2026-04-30 03:43:33,967 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-52685487'](35257fcf-d051-404e-abec-f39b52fdd4d6)
2026-04-30 03:43:34,022 - DEBUG - Creating VDNS : ctest-vdns1-01304433
2026-04-30 03:43:34,266 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-01304433'] created succesfully
2026-04-30 03:43:34,266 - DEBUG - Verify VDNS entry is shown in control node
2026-04-30 03:43:34,284 - DEBUG - Verify VDNS entry is shown in the API server
2026-04-30 03:43:34,284 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-04-30 03:43:34,594 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-04-30 03:43:34,635 - DEBUG - Requesting: http://10.0.0.73:8082/domain/f8fddec0-a757-47f7-9dc4-33479425fadb
2026-04-30 03:43:34,654 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-DNS/745c3f73-98da-4b19-9b24-4fb0863446c7
2026-04-30 03:43:35,470 - DEBUG - Response for create_network : {'network': {'id': 'eab129f6-de81-4a40-88e5-2744e88ef786', 'name': 'ctest-vn1-vdns-82042642', 'tenant_id': '35257fcfd051404eabecf39b52fdd4d6', 'project_id': '35257fcfd051404eabecf39b52fdd4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-52685487', 'ctest-vn1-vdns-82042642'], 'port_security_enabled': True, 'description': ''}}
2026-04-30 03:43:35,926 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a4051b4-7ffc-4bef-bde7-f6292e91a43f', 'name': '', 'tenant_id': '35257fcfd051404eabecf39b52fdd4d6', 'network_id': 'eab129f6-de81-4a40-88e5-2744e88ef786', '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': '35257fcfd051404eabecf39b52fdd4d6'}}
2026-04-30 03:43:35,954 - INFO - Created VN ctest-vn1-vdns-82042642
2026-04-30 03:43:35,968 - DEBUG - VN ctest-vn1-vdns-82042642 UUID is eab129f6-de81-4a40-88e5-2744e88ef786
2026-04-30 03:43:36,416 - DEBUG - Services list from nova: [, , , ]
2026-04-30 03:43:37,683 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5725-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5725-2)
2026-04-30 03:43:37,683 - INFO - Waiting for VM ctest-vm1-test-98711957 to be up..
2026-04-30 03:43:37,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-30 03:43:42,850 - DEBUG - VM is in ACTIVE state now
2026-04-30 03:43:42,850 - INFO - VM name : ctest-vm1-test-98711957
2026-04-30 03:43:42,942 - DEBUG - VM ctest-vm1-test-98711957 ID is 8151e851-ca03-4c6b-aa85-5f1f58504f72
2026-04-30 03:43:42,943 - DEBUG - VM ctest-vm1-test-98711957 launched on Node an-jenkins-deploy-platform-ansible-os-5725-2
2026-04-30 03:43:43,044 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8151e851-ca03-4c6b-aa85-5f1f58504f72
2026-04-30 03:43:43,379 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8151e851-ca03-4c6b-aa85-5f1f58504f72
2026-04-30 03:43:43,424 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e2f71126-0d90-48a1-aae9-6895c826f079
2026-04-30 03:43:46,596 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-04-30 03:43:46,596 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-98711957 failed!
2026-04-30 03:43:46,612 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:43:50,695 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-04-30 03:43:50,695 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-98711957 failed!
2026-04-30 03:43:50,711 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:43:54,784 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2026-04-30 03:43:54,784 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-98711957 failed!
2026-04-30 03:43:54,800 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:43:58,880 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-04-30 03:43:58,880 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-98711957 failed!
2026-04-30 03:43:58,895 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:44:02,978 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2026-04-30 03:44:02,978 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-98711957 failed!
2026-04-30 03:44:02,997 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:44:07,072 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-04-30 03:44:07,072 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-98711957 failed!
2026-04-30 03:44:07,088 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:44:11,173 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-04-30 03:44:11,173 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-98711957 failed!
2026-04-30 03:44:11,188 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:44:15,272 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-04-30 03:44:15,272 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-98711957 failed!
2026-04-30 03:44:15,287 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:44:19,367 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2026-04-30 03:44:19,367 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-98711957 failed!
2026-04-30 03:44:19,382 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:44:21,442 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=94.2 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.832 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.832/47.528/94.224/46.696 ms')
2026-04-30 03:44:21,442 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-98711957 passed
2026-04-30 03:44:21,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-30 03:44:21,515 - DEBUG - Waiting to SSH to VM ctest-vm1-test-98711957, IP 10.10.10.3, Port 22
2026-04-30 03:44:21,586 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-30 03:44:21,681 - DEBUG - VM ctest-vm1-test-98711957 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-30 03:44:26,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-30 03:44:26,682 - DEBUG - Waiting to SSH to VM ctest-vm1-test-98711957, IP 10.10.10.3, Port 22
2026-04-30 03:44:26,747 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-30 03:44:26,841 - DEBUG - VM ctest-vm1-test-98711957 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-30 03:44:31,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-30 03:44:31,842 - DEBUG - Waiting to SSH to VM ctest-vm1-test-98711957, IP 10.10.10.3, Port 22
2026-04-30 03:44:31,912 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-30 03:44:32,013 - DEBUG - VM ctest-vm1-test-98711957 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-30 03:44:37,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-30 03:44:37,013 - DEBUG - Waiting to SSH to VM ctest-vm1-test-98711957, IP 10.10.10.3, Port 22
2026-04-30 03:44:37,085 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-30 03:44:37,177 - DEBUG - VM ctest-vm1-test-98711957 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-30 03:44:42,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-30 03:44:42,178 - DEBUG - Waiting to SSH to VM ctest-vm1-test-98711957, IP 10.10.10.3, Port 22
2026-04-30 03:44:42,352 - DEBUG - VM ctest-vm1-test-98711957 is ready for SSH connections
2026-04-30 03:44:42,352 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-30 03:44:42,352 - DEBUG - ifconfig | grep 10.10.10.3
2026-04-30 03:45:04,968 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-04-30 03:45:04,968 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-98711957", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-30 03:45:04,968 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-98711957", None, socket.AF_INET6)'
2026-04-30 03:45:08,308 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-98711957, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-30 03:45:08,308 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-98711957
2026-04-30 03:45:11,350 - DEBUG - PING ctest-vm1-test-98711957.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-98711957.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.82 ms
64 bytes from ctest-vm1-test-98711957.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.295 ms
64 bytes from ctest-vm1-test-98711957.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.235 ms
--- ctest-vm1-test-98711957.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.235/1.118/2.825/1.207 ms
2026-04-30 03:45:11,350 - INFO - Ping to IP ctest-vm1-test-98711957 from VM ctest-vm1-test-98711957 passed
2026-04-30 03:45:11,399 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-30 03:45:11,405 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01304433@0%20AllEntriesVdnsRecordsReq
2026-04-30 03:45:11,411 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-30 03:45:11,416 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01304433@0%20AllEntriesVdnsRecordsReq
2026-04-30 03:45:11,424 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-30 03:45:11,432 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01304433@0%20AllEntriesVdnsRecordsReq
2026-04-30 03:45:11,436 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01304433:1:ctest-vm1-test-98711957:10.10.10.3', 'rec_name': 'ctest-vm1-test-98711957', '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-5725-2/dns'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-98711957.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-04-30 03:45:11,437 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01304433:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-98711957', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-98711957', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5725-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-98711957.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-04-30 03:45:12,856 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5725-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5725-1)
2026-04-30 03:45:12,856 - INFO - Waiting for VM ctest-vm2-test-58241712 to be up..
2026-04-30 03:45:12,909 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-30 03:45:18,000 - DEBUG - VM is in ACTIVE state now
2026-04-30 03:45:18,001 - INFO - VM name : ctest-vm2-test-58241712
2026-04-30 03:45:18,082 - DEBUG - VM ctest-vm2-test-58241712 ID is 1d462e24-2bdf-4e06-9cfb-8e911fe4a041
2026-04-30 03:45:18,082 - DEBUG - VM ctest-vm2-test-58241712 launched on Node an-jenkins-deploy-platform-ansible-os-5725-1
2026-04-30 03:45:18,175 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1d462e24-2bdf-4e06-9cfb-8e911fe4a041
2026-04-30 03:45:18,186 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d140c980-2bda-4f04-b0c0-a1adfedfa19d
2026-04-30 03:45:21,389 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms')
2026-04-30 03:45:21,389 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-58241712 failed!
2026-04-30 03:45:21,402 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:45:25,492 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms')
2026-04-30 03:45:25,492 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-58241712 failed!
2026-04-30 03:45:25,512 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:45:29,588 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-04-30 03:45:29,588 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-58241712 failed!
2026-04-30 03:45:29,603 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:45:33,682 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-04-30 03:45:33,682 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-58241712 failed!
2026-04-30 03:45:33,698 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:45:37,774 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2026-04-30 03:45:37,774 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-58241712 failed!
2026-04-30 03:45:37,788 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:45:41,872 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms')
2026-04-30 03:45:41,872 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-58241712 failed!
2026-04-30 03:45:41,887 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:45:45,972 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-04-30 03:45:45,972 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-58241712 failed!
2026-04-30 03:45:45,988 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:45:50,071 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2026-04-30 03:45:50,071 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-58241712 failed!
2026-04-30 03:45:50,086 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:45:54,165 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2026-04-30 03:45:54,165 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-58241712 failed!
2026-04-30 03:45:54,186 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:45:58,257 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms')
2026-04-30 03:45:58,257 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-58241712 failed!
2026-04-30 03:45:58,272 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52685487:ctest-vn1-vdns-82042642 is 10.10.10.1 and allocation pool is NOT set
2026-04-30 03:46:00,340 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=8.67 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=5.27 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 5.269/6.970/8.671/1.701 ms')
2026-04-30 03:46:00,340 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-58241712 passed
2026-04-30 03:46:00,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-30 03:46:00,413 - DEBUG - Waiting to SSH to VM ctest-vm2-test-58241712, IP 10.10.10.4, Port 22
2026-04-30 03:46:00,479 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-30 03:46:00,588 - DEBUG - VM ctest-vm2-test-58241712 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-30 03:46:05,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-30 03:46:05,589 - DEBUG - Waiting to SSH to VM ctest-vm2-test-58241712, IP 10.10.10.4, Port 22
2026-04-30 03:46:05,656 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-30 03:46:05,750 - DEBUG - VM ctest-vm2-test-58241712 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-30 03:46:10,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-30 03:46:10,751 - DEBUG - Waiting to SSH to VM ctest-vm2-test-58241712, IP 10.10.10.4, Port 22
2026-04-30 03:46:10,820 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-30 03:46:10,909 - DEBUG - VM ctest-vm2-test-58241712 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-30 03:46:15,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-30 03:46:15,910 - DEBUG - Waiting to SSH to VM ctest-vm2-test-58241712, IP 10.10.10.4, Port 22
2026-04-30 03:46:15,980 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-30 03:46:16,074 - DEBUG - VM ctest-vm2-test-58241712 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-30 03:46:21,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-30 03:46:21,075 - DEBUG - Waiting to SSH to VM ctest-vm2-test-58241712, IP 10.10.10.4, Port 22
2026-04-30 03:46:21,247 - DEBUG - VM ctest-vm2-test-58241712 is ready for SSH connections
2026-04-30 03:46:21,247 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-04-30 03:46:21,247 - DEBUG - ifconfig | grep 10.10.10.4
2026-04-30 03:46:44,031 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-04-30 03:46:44,031 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-58241712", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-04-30 03:46:44,031 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-58241712", None, socket.AF_INET6)'
2026-04-30 03:46:47,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-58241712, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-04-30 03:46:47,219 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-58241712
2026-04-30 03:46:50,332 - DEBUG - PING ctest-vm2-test-58241712.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-58241712.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.94 ms
64 bytes from ctest-vm2-test-58241712.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.363 ms
64 bytes from ctest-vm2-test-58241712.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.455 ms
--- ctest-vm2-test-58241712.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.363/1.921/4.947/2.140 ms
2026-04-30 03:46:50,332 - INFO - Ping to IP ctest-vm2-test-58241712 from VM ctest-vm2-test-58241712 passed
2026-04-30 03:46:50,359 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-30 03:46:50,365 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01304433@0%20AllEntriesVdnsRecordsReq
2026-04-30 03:46:50,371 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-30 03:46:50,377 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01304433@0%20AllEntriesVdnsRecordsReq
2026-04-30 03:46:50,383 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-30 03:46:50,389 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01304433@0%20AllEntriesVdnsRecordsReq
2026-04-30 03:46:50,394 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01304433:1:ctest-vm2-test-58241712:10.10.10.4', 'rec_name': 'ctest-vm2-test-58241712', '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-5725-1/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-58241712.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-04-30 03:46:50,394 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01304433:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-58241712', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-58241712', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5725-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-58241712.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-04-30 03:46:50,394 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-58241712", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-30 03:46:50,394 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-58241712", None, socket.AF_INET6)'
2026-04-30 03:46:51,663 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-58241712, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-30 03:46:51,663 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-58241712
2026-04-30 03:46:54,233 - DEBUG - PING ctest-vm2-test-58241712.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-58241712.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=13.4 ms
64 bytes from ctest-vm2-test-58241712.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.16 ms
64 bytes from ctest-vm2-test-58241712.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.48 ms
--- ctest-vm2-test-58241712.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2006ms
rtt min/avg/max/mdev = 1.485/5.683/13.400/5.463 ms
2026-04-30 03:46:54,233 - INFO - Ping to IP ctest-vm2-test-58241712 from VM ctest-vm1-test-98711957 passed
2026-04-30 03:46:54,233 - INFO - Try deleting the VDNS entry ctest-vdns1-01304433 with back ref of ipam.
2026-04-30 03:46:54,294 - DEBUG - Delete when resource still referred: ['http://10.0.0.33:8082/network-ipam/ba939563-9e28-4322-a303-bcb8389f4fe1']
2026-04-30 03:46:54,294 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-04-30 03:46:54,294 - INFO - Add CNAME VDNS record for ctest-vm1-test-98711957 and verify we able to ping by alias name
2026-04-30 03:46:54,342 - DEBUG - Creating VDNS record data : test-rec
2026-04-30 03:46:54,474 - INFO - In verify_on_setup
2026-04-30 03:46:54,570 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-01304433', 'test-rec'] created succesfully
2026-04-30 03:46:54,570 - INFO - Verify VDNS record is shown in the API server
2026-04-30 03:46:54,570 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-04-30 03:46:54,579 - DEBUG - Requesting: http://10.0.0.73:8082/domain/f8fddec0-a757-47f7-9dc4-33479425fadb
2026-04-30 03:46:54,593 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-DNS/745c3f73-98da-4b19-9b24-4fb0863446c7
2026-04-30 03:46:54,610 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-DNS-record/cd0272e8-9827-42dd-81f1-b863446fd3a7
2026-04-30 03:46:54,622 - INFO - Verify VDNS record is shown in the control node
2026-04-30 03:46:54,641 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-30 03:46:54,641 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-04-30 03:46:55,865 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-30 03:46:55,865 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-04-30 03:46:56,448 - DEBUG - ping: unknown host vm1-test-alias
2026-04-30 03:46:56,448 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-98711957 failed
2026-04-30 03:46:57,449 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-30 03:46:57,449 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-04-30 03:46:58,690 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-04-30 03:46:58,691 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-04-30 03:47:01,298 - DEBUG - PING ctest-vm1-test-98711957.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-98711957.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.387 ms
64 bytes from ctest-vm1-test-98711957.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.264 ms
64 bytes from ctest-vm1-test-98711957.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.254 ms
--- ctest-vm1-test-98711957.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.254/0.301/0.387/0.063 ms
2026-04-30 03:47:01,298 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-98711957 passed
2026-04-30 03:47:01,298 - DEBUG - Deleting VDNS record data: test-rec
2026-04-30 03:47:01,386 - INFO - VDNS record info: default-domain:ctest-vdns1-01304433:test-rec deleted successfully.
2026-04-30 03:47:01,386 - INFO - Deleting VM ctest-vm2-test-58241712
2026-04-30 03:47:01,453 - INFO - Deleting VM ctest-vm1-test-98711957
2026-04-30 03:47:01,527 - INFO - Deleting VN ctest-vn1-vdns-82042642
2026-04-30 03:47:01,579 - DEBUG - VN eab129f6-de81-4a40-88e5-2744e88ef786 still in use: Unable to complete operation on network eab129f6-de81-4a40-88e5-2744e88ef786. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-80d442d3-4aa2-4a50-9af2-53658aa1ce6e']
2026-04-30 03:47:01,579 - WARNING - Deleting VN ctest-vn1-vdns-82042642 failed..Will retry
2026-04-30 03:47:03,761 - DEBUG - Response for deleting network ()
2026-04-30 03:47:03,833 - DEBUG - Deleting VDNS Entry: ctest-vdns1-01304433
2026-04-30 03:47:03,930 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-01304433'] deleted successfully.
2026-04-30 03:47:03,930 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-04-30 03:47:03,937 - DEBUG - Requesting: http://10.0.0.73:8082/domain/f8fddec0-a757-47f7-9dc4-33479425fadb
2026-04-30 03:47:03,951 - DEBUG - VDNS information not found in API server
2026-04-30 03:47:03,951 - INFO - VDNS information ctest-vdns1-01304433 removed from the API Server
2026-04-30 03:47:03,957 - INFO - VDNS information ctest-vdns1-01304433 removed in the Control node
2026-04-30 03:47:03,957 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-52685487']
2026-04-30 03:47:05,249 - DEBUG - No XMPP flaps were noticed during the test
2026-04-30 03:47:05,249 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:34]
2026-04-30 03:47:05,249 - INFO - --------------------------------------------------------------------------------
2026-04-30 03:47:06,126 - INFO - Deleted project: ctest-TestvDNSBasic0-52685487, ID : 35257fcf-d051-404e-abec-f39b52fdd4d6