2025-12-11 03:17:11,929 - INFO - Domain Default found not creating
2025-12-11 03:17:12,092 - INFO - Project ctest-TestvDNSBasic0-10451935 not found, creating it
2025-12-11 03:17:12,653 - INFO - Created Project:ctest-TestvDNSBasic0-10451935, ID : 70829ad2-a1ae-444a-a33a-466a3551c361
2025-12-11 03:17:14,128 - INFO - ================================================================================
2025-12-11 03:17:14,128 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-12-11 03:17:14,128 - 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
2025-12-11 03:17:15,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0', '10.20.0.252': '0'}, '10.0.0.23': {'10.20.0.18': '0', '10.20.0.252': '0'}} with
2025-12-11 03:17:15,398 - INFO - Initial checks done. Running the testcase now
2025-12-11 03:17:15,398 - INFO -
2025-12-11 03:17:16,115 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-10451935'](70829ad2-a1ae-444a-a33a-466a3551c361)
2025-12-11 03:17:16,172 - DEBUG - Creating VDNS : ctest-vdns1-09795441
2025-12-11 03:17:16,396 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-09795441'] created succesfully
2025-12-11 03:17:16,396 - DEBUG - Verify VDNS entry is shown in control node
2025-12-11 03:17:16,413 - DEBUG - Verify VDNS entry is shown in the API server
2025-12-11 03:17:16,413 - DEBUG - Requesting: http://10.0.0.61:8082/domains
2025-12-11 03:17:16,708 - DEBUG - Requesting: http://10.0.0.61:8082/domains
2025-12-11 03:17:16,741 - DEBUG - Requesting: http://10.0.0.61:8082/domain/35136ed0-c5bb-4823-8f5c-ae1b4c17652e
2025-12-11 03:17:16,758 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-DNS/b52a5a34-e59e-449a-b63e-ac84a4a6cbb2
2025-12-11 03:17:17,427 - DEBUG - Response for create_network : {'network': {'id': '36b7aba6-3c3d-4410-aab5-06d818a019c6', 'name': 'ctest-vn1-vdns-75971649', 'tenant_id': '70829ad2a1ae444aa33a466a3551c361', 'project_id': '70829ad2a1ae444aa33a466a3551c361', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-10451935', 'ctest-vn1-vdns-75971649'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 03:17:17,727 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adac1e8c-7ac2-4eba-9cac-7bb927e4918e', 'name': '', 'tenant_id': '70829ad2a1ae444aa33a466a3551c361', 'network_id': '36b7aba6-3c3d-4410-aab5-06d818a019c6', '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': '70829ad2a1ae444aa33a466a3551c361'}}
2025-12-11 03:17:17,757 - INFO - Created VN ctest-vn1-vdns-75971649
2025-12-11 03:17:17,769 - DEBUG - VN ctest-vn1-vdns-75971649 UUID is 36b7aba6-3c3d-4410-aab5-06d818a019c6
2025-12-11 03:17:17,936 - DEBUG - Services list from nova: [, , , ]
2025-12-11 03:17:18,979 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4883-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4883-2)
2025-12-11 03:17:18,979 - INFO - Waiting for VM ctest-vm1-test-39484850 to be up..
2025-12-11 03:17:19,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-11 03:17:24,115 - DEBUG - VM is in ACTIVE state now
2025-12-11 03:17:24,115 - INFO - VM name : ctest-vm1-test-39484850
2025-12-11 03:17:24,190 - DEBUG - VM ctest-vm1-test-39484850 ID is 02e2e31f-1f4e-484c-b0c1-13f8054f6304
2025-12-11 03:17:24,190 - DEBUG - VM ctest-vm1-test-39484850 launched on Node an-jenkins-deploy-platform-ansible-os-4883-2
2025-12-11 03:17:24,270 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/02e2e31f-1f4e-484c-b0c1-13f8054f6304
2025-12-11 03:17:24,562 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/02e2e31f-1f4e-484c-b0c1-13f8054f6304
2025-12-11 03:17:24,593 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5dd47fe7-01bf-4d74-be2c-503ef9c7d658
2025-12-11 03:17:27,772 - 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')
2025-12-11 03:17:27,772 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-39484850 failed!
2025-12-11 03:17:27,788 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:17:31,869 - 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')
2025-12-11 03:17:31,869 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-39484850 failed!
2025-12-11 03:17:31,885 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:17:35,960 - 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')
2025-12-11 03:17:35,960 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-39484850 failed!
2025-12-11 03:17:35,975 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:17:40,063 - 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')
2025-12-11 03:17:40,063 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-39484850 failed!
2025-12-11 03:17:40,079 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:17:44,160 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2025-12-11 03:17:44,160 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-39484850 failed!
2025-12-11 03:17:44,176 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:17:48,251 - 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')
2025-12-11 03:17:48,251 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-39484850 failed!
2025-12-11 03:17:48,266 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:17:52,341 - 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')
2025-12-11 03:17:52,341 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-39484850 failed!
2025-12-11 03:17:52,355 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:17:56,443 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms')
2025-12-11 03:17:56,443 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-39484850 failed!
2025-12-11 03:17:56,458 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:17:58,524 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.65 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 = 3.650/6.076/8.503/2.426 ms')
2025-12-11 03:17:58,524 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-39484850 passed
2025-12-11 03:17:58,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 03:17:58,589 - DEBUG - Waiting to SSH to VM ctest-vm1-test-39484850, IP 10.10.10.3, Port 22
2025-12-11 03:17:58,658 - 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': ''}
2025-12-11 03:17:58,735 - DEBUG - VM ctest-vm1-test-39484850 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-11 03:18:03,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 03:18:03,735 - DEBUG - Waiting to SSH to VM ctest-vm1-test-39484850, IP 10.10.10.3, Port 22
2025-12-11 03:18:03,806 - 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': ''}
2025-12-11 03:18:03,881 - DEBUG - VM ctest-vm1-test-39484850 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-11 03:18:08,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 03:18:08,883 - DEBUG - Waiting to SSH to VM ctest-vm1-test-39484850, IP 10.10.10.3, Port 22
2025-12-11 03:18:08,949 - 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': ''}
2025-12-11 03:18:09,032 - DEBUG - VM ctest-vm1-test-39484850 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-11 03:18:14,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 03:18:14,033 - DEBUG - Waiting to SSH to VM ctest-vm1-test-39484850, IP 10.10.10.3, Port 22
2025-12-11 03:18:14,101 - 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': ''}
2025-12-11 03:18:14,182 - DEBUG - VM ctest-vm1-test-39484850 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-11 03:18:19,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 03:18:19,183 - DEBUG - Waiting to SSH to VM ctest-vm1-test-39484850, IP 10.10.10.3, Port 22
2025-12-11 03:18:19,343 - DEBUG - VM ctest-vm1-test-39484850 is ready for SSH connections
2025-12-11 03:18:19,343 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-12-11 03:18:19,343 - DEBUG - ifconfig | grep 10.10.10.3
2025-12-11 03:18:39,221 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-12-11 03:18:39,222 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-39484850", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-12-11 03:18:39,222 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-39484850", None, socket.AF_INET6)'
2025-12-11 03:18:41,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-39484850, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-12-11 03:18:41,325 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-39484850
2025-12-11 03:18:43,990 - DEBUG - PING ctest-vm1-test-39484850.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-39484850.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=7.66 ms
64 bytes from ctest-vm1-test-39484850.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=3.00 ms
64 bytes from ctest-vm1-test-39484850.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.293 ms
--- ctest-vm1-test-39484850.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.293/3.653/7.663/3.043 ms
2025-12-11 03:18:43,990 - INFO - Ping to IP ctest-vm1-test-39484850 from VM ctest-vm1-test-39484850 passed
2025-12-11 03:18:44,019 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-11 03:18:44,025 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=default-domain:ctest-vdns1-09795441@0%20AllEntriesVdnsRecordsReq
2025-12-11 03:18:44,032 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-11 03:18:44,037 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=default-domain:ctest-vdns1-09795441@0%20AllEntriesVdnsRecordsReq
2025-12-11 03:18:44,042 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-11 03:18:44,046 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=default-domain:ctest-vdns1-09795441@0%20AllEntriesVdnsRecordsReq
2025-12-11 03:18:44,051 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-09795441:1:ctest-vm1-test-39484850:10.10.10.3', 'rec_name': 'ctest-vm1-test-39484850', '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-4883-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-39484850.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-12-11 03:18:44,051 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-09795441:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-39484850', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-39484850', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4883-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-39484850.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'}
2025-12-11 03:18:45,340 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4883-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4883-1)
2025-12-11 03:18:45,340 - INFO - Waiting for VM ctest-vm2-test-72889128 to be up..
2025-12-11 03:18:45,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-11 03:18:50,494 - DEBUG - VM is in ACTIVE state now
2025-12-11 03:18:50,494 - INFO - VM name : ctest-vm2-test-72889128
2025-12-11 03:18:50,574 - DEBUG - VM ctest-vm2-test-72889128 ID is 8b1f1231-ea85-4fb7-b10b-7ad5a3988751
2025-12-11 03:18:50,574 - DEBUG - VM ctest-vm2-test-72889128 launched on Node an-jenkins-deploy-platform-ansible-os-4883-1
2025-12-11 03:18:50,647 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8b1f1231-ea85-4fb7-b10b-7ad5a3988751
2025-12-11 03:18:50,657 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b801c85c-182a-4e1f-86ca-8b4f658f6712
2025-12-11 03:18:53,847 - 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')
2025-12-11 03:18:53,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-72889128 failed!
2025-12-11 03:18:53,859 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:18:57,948 - 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 1027ms')
2025-12-11 03:18:57,948 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-72889128 failed!
2025-12-11 03:18:57,962 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:19:02,037 - 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')
2025-12-11 03:19:02,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-72889128 failed!
2025-12-11 03:19:02,060 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:19:06,137 - 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 1010ms')
2025-12-11 03:19:06,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-72889128 failed!
2025-12-11 03:19:06,151 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:19:10,236 - 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')
2025-12-11 03:19:10,237 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-72889128 failed!
2025-12-11 03:19:10,250 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:19:14,324 - 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')
2025-12-11 03:19:14,324 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-72889128 failed!
2025-12-11 03:19:14,338 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:19:18,425 - 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')
2025-12-11 03:19:18,425 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-72889128 failed!
2025-12-11 03:19:18,440 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:19:22,518 - 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')
2025-12-11 03:19:22,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-72889128 failed!
2025-12-11 03:19:22,534 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:19:26,613 - 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')
2025-12-11 03:19:26,613 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-72889128 failed!
2025-12-11 03:19:26,626 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-10451935:ctest-vn1-vdns-75971649 is 10.10.10.1 and allocation pool is NOT set
2025-12-11 03:19:28,687 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.907 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 = 0.907/3.565/6.224/2.658 ms')
2025-12-11 03:19:28,688 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-72889128 passed
2025-12-11 03:19:28,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 03:19:28,752 - DEBUG - Waiting to SSH to VM ctest-vm2-test-72889128, IP 10.10.10.4, Port 22
2025-12-11 03:19:28,820 - 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': ''}
2025-12-11 03:19:28,906 - DEBUG - VM ctest-vm2-test-72889128 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-11 03:19:33,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 03:19:33,907 - DEBUG - Waiting to SSH to VM ctest-vm2-test-72889128, IP 10.10.10.4, Port 22
2025-12-11 03:19:33,973 - 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': ''}
2025-12-11 03:19:34,044 - DEBUG - VM ctest-vm2-test-72889128 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-11 03:19:39,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 03:19:39,045 - DEBUG - Waiting to SSH to VM ctest-vm2-test-72889128, IP 10.10.10.4, Port 22
2025-12-11 03:19:39,112 - 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': ''}
2025-12-11 03:19:39,201 - DEBUG - VM ctest-vm2-test-72889128 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-11 03:19:44,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 03:19:44,202 - DEBUG - Waiting to SSH to VM ctest-vm2-test-72889128, IP 10.10.10.4, Port 22
2025-12-11 03:19:44,374 - DEBUG - VM ctest-vm2-test-72889128 is ready for SSH connections
2025-12-11 03:19:44,374 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-12-11 03:19:44,374 - DEBUG - ifconfig | grep 10.10.10.4
2025-12-11 03:20:05,737 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-12-11 03:20:05,737 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-72889128", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-12-11 03:20:05,737 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-72889128", None, socket.AF_INET6)'
2025-12-11 03:20:08,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-72889128, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-12-11 03:20:08,657 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-72889128
2025-12-11 03:20:11,707 - DEBUG - PING ctest-vm2-test-72889128.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-72889128.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.26 ms
64 bytes from ctest-vm2-test-72889128.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.230 ms
64 bytes from ctest-vm2-test-72889128.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.290 ms
--- ctest-vm2-test-72889128.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.230/1.260/3.261/1.415 ms
2025-12-11 03:20:11,707 - INFO - Ping to IP ctest-vm2-test-72889128 from VM ctest-vm2-test-72889128 passed
2025-12-11 03:20:11,729 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-11 03:20:11,736 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=default-domain:ctest-vdns1-09795441@0%20AllEntriesVdnsRecordsReq
2025-12-11 03:20:11,741 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-11 03:20:11,748 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=default-domain:ctest-vdns1-09795441@0%20AllEntriesVdnsRecordsReq
2025-12-11 03:20:11,753 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-12-11 03:20:11,758 - DEBUG - Requesting: http://10.0.0.61:8092/Snh_PageReq?x=default-domain:ctest-vdns1-09795441@0%20AllEntriesVdnsRecordsReq
2025-12-11 03:20:11,762 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-09795441:1:ctest-vm2-test-72889128:10.10.10.4', 'rec_name': 'ctest-vm2-test-72889128', '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-4883-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-72889128.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-12-11 03:20:11,762 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-09795441:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-72889128', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-72889128', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4883-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-72889128.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'}
2025-12-11 03:20:11,762 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-72889128", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-12-11 03:20:11,763 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-72889128", None, socket.AF_INET6)'
2025-12-11 03:20:13,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-72889128, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-12-11 03:20:13,059 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-72889128
2025-12-11 03:20:15,615 - DEBUG - PING ctest-vm2-test-72889128.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-72889128.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.6 ms
64 bytes from ctest-vm2-test-72889128.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.30 ms
64 bytes from ctest-vm2-test-72889128.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.20 ms
--- ctest-vm2-test-72889128.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.208/4.376/10.618/4.414 ms
2025-12-11 03:20:15,615 - INFO - Ping to IP ctest-vm2-test-72889128 from VM ctest-vm1-test-39484850 passed
2025-12-11 03:20:15,615 - INFO - Try deleting the VDNS entry ctest-vdns1-09795441 with back ref of ipam.
2025-12-11 03:20:15,676 - DEBUG - Delete when resource still referred: ['http://10.0.0.27:8082/network-ipam/7428798d-05cb-4b6d-b415-c45d7c630350']
2025-12-11 03:20:15,676 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-12-11 03:20:15,676 - INFO - Add CNAME VDNS record for ctest-vm1-test-39484850 and verify we able to ping by alias name
2025-12-11 03:20:15,728 - DEBUG - Creating VDNS record data : test-rec
2025-12-11 03:20:15,844 - INFO - In verify_on_setup
2025-12-11 03:20:15,941 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-09795441', 'test-rec'] created succesfully
2025-12-11 03:20:15,941 - INFO - Verify VDNS record is shown in the API server
2025-12-11 03:20:15,941 - DEBUG - Requesting: http://10.0.0.61:8082/domains
2025-12-11 03:20:15,948 - DEBUG - Requesting: http://10.0.0.61:8082/domain/35136ed0-c5bb-4823-8f5c-ae1b4c17652e
2025-12-11 03:20:15,985 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-DNS/b52a5a34-e59e-449a-b63e-ac84a4a6cbb2
2025-12-11 03:20:15,994 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-DNS-record/c54723e1-8075-457a-9c39-664c9c62a783
2025-12-11 03:20:16,000 - INFO - Verify VDNS record is shown in the control node
2025-12-11 03:20:16,020 - 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.23, gateway password: c0ntrail123
2025-12-11 03:20:16,020 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-12-11 03:20:17,283 - 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.23, gateway password: c0ntrail123
2025-12-11 03:20:17,283 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-12-11 03:20:17,905 - DEBUG - ping: unknown host vm1-test-alias
2025-12-11 03:20:17,905 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-39484850 failed
2025-12-11 03:20:18,906 - 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.23, gateway password: c0ntrail123
2025-12-11 03:20:18,906 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-12-11 03:20:20,127 - 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.23, gateway password: c0ntrail123
2025-12-11 03:20:20,127 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-12-11 03:20:22,684 - DEBUG - PING ctest-vm1-test-39484850.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-39484850.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.210 ms
64 bytes from ctest-vm1-test-39484850.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.226 ms
64 bytes from ctest-vm1-test-39484850.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.182 ms
--- ctest-vm1-test-39484850.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.182/0.206/0.226/0.018 ms
2025-12-11 03:20:22,684 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-39484850 passed
2025-12-11 03:20:22,684 - DEBUG - Deleting VDNS record data: test-rec
2025-12-11 03:20:22,760 - INFO - VDNS record info: default-domain:ctest-vdns1-09795441:test-rec deleted successfully.
2025-12-11 03:20:22,760 - INFO - Deleting VM ctest-vm2-test-72889128
2025-12-11 03:20:22,829 - INFO - Deleting VM ctest-vm1-test-39484850
2025-12-11 03:20:22,892 - INFO - Deleting VN ctest-vn1-vdns-75971649
2025-12-11 03:20:22,928 - DEBUG - VN 36b7aba6-3c3d-4410-aab5-06d818a019c6 still in use: Unable to complete operation on network 36b7aba6-3c3d-4410-aab5-06d818a019c6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ff8ad1ca-8b86-429d-8afd-d2aad499034f']
2025-12-11 03:20:22,929 - WARNING - Deleting VN ctest-vn1-vdns-75971649 failed..Will retry
2025-12-11 03:20:25,175 - DEBUG - Response for deleting network ()
2025-12-11 03:20:25,227 - DEBUG - Deleting VDNS Entry: ctest-vdns1-09795441
2025-12-11 03:20:25,304 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-09795441'] deleted successfully.
2025-12-11 03:20:25,304 - DEBUG - Requesting: http://10.0.0.61:8082/domains
2025-12-11 03:20:25,311 - DEBUG - Requesting: http://10.0.0.61:8082/domain/35136ed0-c5bb-4823-8f5c-ae1b4c17652e
2025-12-11 03:20:25,323 - DEBUG - VDNS information not found in API server
2025-12-11 03:20:25,323 - INFO - VDNS information ctest-vdns1-09795441 removed from the API Server
2025-12-11 03:20:25,328 - INFO - VDNS information ctest-vdns1-09795441 removed in the Control node
2025-12-11 03:20:25,328 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-10451935']
2025-12-11 03:20:26,602 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 03:20:26,602 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:12]
2025-12-11 03:20:26,602 - INFO - --------------------------------------------------------------------------------
2025-12-11 03:20:27,309 - INFO - Deleted project: ctest-TestvDNSBasic0-10451935, ID : 70829ad2-a1ae-444a-a33a-466a3551c361