2025-11-20 02:59:25,255 - INFO - Domain Default found not creating 2025-11-20 02:59:25,486 - INFO - Project ctest-TestvDNSBasic0-26550338 not found, creating it 2025-11-20 02:59:25,993 - INFO - Created Project:ctest-TestvDNSBasic0-26550338, ID : 58fea5fa-6b5e-423d-9373-9a4e43053462 2025-11-20 02:59:27,532 - INFO - ================================================================================ 2025-11-20 02:59:27,532 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-11-20 02:59:27,532 - 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-11-20 02:59:28,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.201': '0', '10.20.0.129': '0'}, '10.0.0.48': {'10.20.0.201': '0', '10.20.0.129': '0'}} with 2025-11-20 02:59:28,800 - INFO - Initial checks done. Running the testcase now 2025-11-20 02:59:28,800 - INFO - 2025-11-20 02:59:29,518 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-26550338'](58fea5fa-6b5e-423d-9373-9a4e43053462) 2025-11-20 02:59:29,572 - DEBUG - Creating VDNS : ctest-vdns1-01175918 2025-11-20 02:59:29,800 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-01175918'] created succesfully 2025-11-20 02:59:29,800 - DEBUG - Verify VDNS entry is shown in control node 2025-11-20 02:59:29,817 - DEBUG - Verify VDNS entry is shown in the API server 2025-11-20 02:59:29,817 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-11-20 02:59:30,125 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-11-20 02:59:30,160 - DEBUG - Requesting: http://10.0.0.23:8082/domain/785d7fdc-4b61-45a1-9add-76a6d523389b 2025-11-20 02:59:30,176 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/cadc6568-db30-4c08-90bb-bdb185009d19 2025-11-20 02:59:30,886 - DEBUG - Response for create_network : {'network': {'id': '143f793f-8277-4413-bc4e-38300a95cb16', 'name': 'ctest-vn1-vdns-73165868', 'tenant_id': '58fea5fa6b5e423d93739a4e43053462', 'project_id': '58fea5fa6b5e423d93739a4e43053462', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-26550338', 'ctest-vn1-vdns-73165868'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 02:59:31,261 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc8cf0f0-93dc-4192-b3e4-ae687ab41d00', 'name': '', 'tenant_id': '58fea5fa6b5e423d93739a4e43053462', 'network_id': '143f793f-8277-4413-bc4e-38300a95cb16', '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': '58fea5fa6b5e423d93739a4e43053462'}} 2025-11-20 02:59:31,286 - INFO - Created VN ctest-vn1-vdns-73165868 2025-11-20 02:59:31,297 - DEBUG - VN ctest-vn1-vdns-73165868 UUID is 143f793f-8277-4413-bc4e-38300a95cb16 2025-11-20 02:59:31,478 - DEBUG - Services list from nova: [, , , ] 2025-11-20 02:59:32,531 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-2) 2025-11-20 02:59:32,532 - INFO - Waiting for VM ctest-vm1-test-73656363 to be up.. 2025-11-20 02:59:32,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 02:59:37,681 - DEBUG - VM is in ACTIVE state now 2025-11-20 02:59:37,681 - INFO - VM name : ctest-vm1-test-73656363 2025-11-20 02:59:37,771 - DEBUG - VM ctest-vm1-test-73656363 ID is 454f73b5-7fe5-49a2-a2a3-f01507d7c5b4 2025-11-20 02:59:37,771 - DEBUG - VM ctest-vm1-test-73656363 launched on Node an-jenkins-deploy-platform-ansible-os-4768-2 2025-11-20 02:59:37,860 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/454f73b5-7fe5-49a2-a2a3-f01507d7c5b4 2025-11-20 02:59:38,177 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/454f73b5-7fe5-49a2-a2a3-f01507d7c5b4 2025-11-20 02:59:38,222 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ecccc6f4-ec20-499e-900a-f1d5957c5b0b 2025-11-20 02:59:41,407 - 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-11-20 02:59:41,407 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-73656363 failed! 2025-11-20 02:59:41,439 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 02:59:45,538 - 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 1033ms') 2025-11-20 02:59:45,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-73656363 failed! 2025-11-20 02:59:45,552 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 02:59:49,629 - 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') 2025-11-20 02:59:49,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-73656363 failed! 2025-11-20 02:59:49,644 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 02:59:53,728 - 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-11-20 02:59:53,728 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-73656363 failed! 2025-11-20 02:59:53,741 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 02:59:57,820 - 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-11-20 02:59:57,820 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-73656363 failed! 2025-11-20 02:59:57,833 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:00:01,925 - 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') 2025-11-20 03:00:01,925 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-73656363 failed! 2025-11-20 03:00:01,941 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:00:06,014 - 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-11-20 03:00:06,014 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-73656363 failed! 2025-11-20 03:00:06,030 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:00:10,113 - 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-11-20 03:00:10,113 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-73656363 failed! 2025-11-20 03:00:10,128 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:00:12,196 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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.220/4.766/8.312/3.546 ms') 2025-11-20 03:00:12,196 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-73656363 passed 2025-11-20 03:00:12,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:00:12,266 - DEBUG - Waiting to SSH to VM ctest-vm1-test-73656363, IP 10.10.10.3, Port 22 2025-11-20 03:00:12,336 - 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-11-20 03:00:12,421 - DEBUG - VM ctest-vm1-test-73656363 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:00:17,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:00:17,421 - DEBUG - Waiting to SSH to VM ctest-vm1-test-73656363, IP 10.10.10.3, Port 22 2025-11-20 03:00:17,487 - 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-11-20 03:00:17,576 - DEBUG - VM ctest-vm1-test-73656363 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:00:22,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:00:22,577 - DEBUG - Waiting to SSH to VM ctest-vm1-test-73656363, IP 10.10.10.3, Port 22 2025-11-20 03:00:22,643 - 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-11-20 03:00:22,728 - DEBUG - VM ctest-vm1-test-73656363 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:00:27,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:00:27,729 - DEBUG - Waiting to SSH to VM ctest-vm1-test-73656363, IP 10.10.10.3, Port 22 2025-11-20 03:00:27,795 - 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-11-20 03:00:27,883 - DEBUG - VM ctest-vm1-test-73656363 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:00:32,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:00:32,884 - DEBUG - Waiting to SSH to VM ctest-vm1-test-73656363, IP 10.10.10.3, Port 22 2025-11-20 03:00:33,051 - DEBUG - VM ctest-vm1-test-73656363 is ready for SSH connections 2025-11-20 03:00:33,052 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-20 03:00:33,052 - DEBUG - ifconfig | grep 10.10.10.3 2025-11-20 03:00:53,241 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-11-20 03:00:53,241 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-73656363", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-20 03:00:53,241 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-73656363", None, socket.AF_INET6)' 2025-11-20 03:00:54,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-73656363, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-20 03:00:54,811 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-73656363 2025-11-20 03:00:57,358 - DEBUG - PING ctest-vm1-test-73656363.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-73656363.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.26 ms 64 bytes from ctest-vm1-test-73656363.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.58 ms 64 bytes from ctest-vm1-test-73656363.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.234 ms --- ctest-vm1-test-73656363.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.234/2.359/4.262/1.652 ms 2025-11-20 03:00:57,358 - INFO - Ping to IP ctest-vm1-test-73656363 from VM ctest-vm1-test-73656363 passed 2025-11-20 03:00:57,384 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-20 03:00:57,390 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01175918@0%20AllEntriesVdnsRecordsReq 2025-11-20 03:00:57,398 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-20 03:00:57,404 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01175918@0%20AllEntriesVdnsRecordsReq 2025-11-20 03:00:57,410 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-20 03:00:57,415 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01175918@0%20AllEntriesVdnsRecordsReq 2025-11-20 03:00:57,421 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01175918:1:ctest-vm1-test-73656363:10.10.10.3', 'rec_name': 'ctest-vm1-test-73656363', '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-4768-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-73656363.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-11-20 03:00:57,421 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01175918:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-73656363', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-73656363', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4768-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-73656363.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-11-20 03:00:58,686 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-1) 2025-11-20 03:00:58,686 - INFO - Waiting for VM ctest-vm2-test-15449746 to be up.. 2025-11-20 03:00:58,730 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 03:01:03,813 - DEBUG - VM is in ACTIVE state now 2025-11-20 03:01:03,813 - INFO - VM name : ctest-vm2-test-15449746 2025-11-20 03:01:03,888 - DEBUG - VM ctest-vm2-test-15449746 ID is 1cf32779-48d7-4188-8583-14166aa0cc8e 2025-11-20 03:01:03,889 - DEBUG - VM ctest-vm2-test-15449746 launched on Node an-jenkins-deploy-platform-ansible-os-4768-1 2025-11-20 03:01:03,968 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1cf32779-48d7-4188-8583-14166aa0cc8e 2025-11-20 03:01:03,979 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/110513e9-b666-4135-9d1d-8a8137d0eaa6 2025-11-20 03:01:07,155 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2025-11-20 03:01:07,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-15449746 failed! 2025-11-20 03:01:07,171 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:01:11,248 - 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-11-20 03:01:11,248 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-15449746 failed! 2025-11-20 03:01:11,265 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:01:15,343 - 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-11-20 03:01:15,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-15449746 failed! 2025-11-20 03:01:15,357 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:01:19,439 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-11-20 03:01:19,439 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-15449746 failed! 2025-11-20 03:01:19,455 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:01:23,533 - 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-11-20 03:01:23,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-15449746 failed! 2025-11-20 03:01:23,547 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:01:27,635 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-11-20 03:01:27,635 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-15449746 failed! 2025-11-20 03:01:27,649 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:01:31,731 - 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') 2025-11-20 03:01:31,731 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-15449746 failed! 2025-11-20 03:01:31,745 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:01:35,831 - 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-11-20 03:01:35,831 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-15449746 failed! 2025-11-20 03:01:35,847 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-26550338:ctest-vn1-vdns-73165868 is 10.10.10.1 and allocation pool is NOT set 2025-11-20 03:01:39,923 - 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=2 ttl=63 time=6.30 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 6.297/6.297/6.297/0.000 ms') 2025-11-20 03:01:39,924 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-15449746 passed 2025-11-20 03:01:39,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:01:39,993 - DEBUG - Waiting to SSH to VM ctest-vm2-test-15449746, IP 10.10.10.4, Port 22 2025-11-20 03:01:40,058 - 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-11-20 03:01:40,149 - DEBUG - VM ctest-vm2-test-15449746 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:01:45,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:01:45,150 - DEBUG - Waiting to SSH to VM ctest-vm2-test-15449746, IP 10.10.10.4, Port 22 2025-11-20 03:01:45,219 - 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-11-20 03:01:45,297 - DEBUG - VM ctest-vm2-test-15449746 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:01:50,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:01:50,298 - DEBUG - Waiting to SSH to VM ctest-vm2-test-15449746, IP 10.10.10.4, Port 22 2025-11-20 03:01:50,367 - 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-11-20 03:01:50,460 - DEBUG - VM ctest-vm2-test-15449746 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:01:55,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:01:55,461 - DEBUG - Waiting to SSH to VM ctest-vm2-test-15449746, IP 10.10.10.4, Port 22 2025-11-20 03:01:55,532 - 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-11-20 03:01:55,624 - DEBUG - VM ctest-vm2-test-15449746 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:02:00,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:02:00,625 - DEBUG - Waiting to SSH to VM ctest-vm2-test-15449746, IP 10.10.10.4, Port 22 2025-11-20 03:02:00,794 - DEBUG - VM ctest-vm2-test-15449746 is ready for SSH connections 2025-11-20 03:02:00,794 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-20 03:02:00,794 - DEBUG - ifconfig | grep 10.10.10.4 2025-11-20 03:02:21,181 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-11-20 03:02:21,181 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-15449746", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-20 03:02:21,181 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-15449746", None, socket.AF_INET6)' 2025-11-20 03:02:23,545 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-15449746, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-20 03:02:23,545 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-15449746 2025-11-20 03:02:26,064 - DEBUG - PING ctest-vm2-test-15449746.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-15449746.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.41 ms 64 bytes from ctest-vm2-test-15449746.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.34 ms 64 bytes from ctest-vm2-test-15449746.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.202 ms --- ctest-vm2-test-15449746.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.202/2.320/4.413/1.719 ms 2025-11-20 03:02:26,064 - INFO - Ping to IP ctest-vm2-test-15449746 from VM ctest-vm2-test-15449746 passed 2025-11-20 03:02:26,086 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-20 03:02:26,092 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01175918@0%20AllEntriesVdnsRecordsReq 2025-11-20 03:02:26,103 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-20 03:02:26,110 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01175918@0%20AllEntriesVdnsRecordsReq 2025-11-20 03:02:26,116 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-20 03:02:26,121 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-01175918@0%20AllEntriesVdnsRecordsReq 2025-11-20 03:02:26,126 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01175918:1:ctest-vm2-test-15449746:10.10.10.4', 'rec_name': 'ctest-vm2-test-15449746', '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-4768-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-15449746.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-11-20 03:02:26,126 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-01175918:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-15449746', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-15449746', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4768-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-15449746.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-11-20 03:02:26,127 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-15449746", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-20 03:02:26,127 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-15449746", None, socket.AF_INET6)' 2025-11-20 03:02:27,283 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-15449746, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-20 03:02:27,283 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-15449746 2025-11-20 03:02:29,824 - DEBUG - PING ctest-vm2-test-15449746.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-15449746.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.1 ms 64 bytes from ctest-vm2-test-15449746.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.93 ms 64 bytes from ctest-vm2-test-15449746.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.31 ms --- ctest-vm2-test-15449746.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.316/4.454/10.115/4.011 ms 2025-11-20 03:02:29,824 - INFO - Ping to IP ctest-vm2-test-15449746 from VM ctest-vm1-test-73656363 passed 2025-11-20 03:02:29,824 - INFO - Try deleting the VDNS entry ctest-vdns1-01175918 with back ref of ipam. 2025-11-20 03:02:29,884 - DEBUG - Delete when resource still referred: ['http://10.0.0.22:8082/network-ipam/2b8e7566-b960-4f15-9b32-e79fb8f2338c'] 2025-11-20 03:02:29,884 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-11-20 03:02:29,885 - INFO - Add CNAME VDNS record for ctest-vm1-test-73656363 and verify we able to ping by alias name 2025-11-20 03:02:29,932 - DEBUG - Creating VDNS record data : test-rec 2025-11-20 03:02:30,057 - INFO - In verify_on_setup 2025-11-20 03:02:30,153 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-01175918', 'test-rec'] created succesfully 2025-11-20 03:02:30,153 - INFO - Verify VDNS record is shown in the API server 2025-11-20 03:02:30,153 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-11-20 03:02:30,159 - DEBUG - Requesting: http://10.0.0.23:8082/domain/785d7fdc-4b61-45a1-9add-76a6d523389b 2025-11-20 03:02:30,205 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/cadc6568-db30-4c08-90bb-bdb185009d19 2025-11-20 03:02:30,217 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS-record/f704a439-3d6c-4599-830e-afc9e2138e43 2025-11-20 03:02:30,223 - INFO - Verify VDNS record is shown in the control node 2025-11-20 03:02:30,240 - 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.48, gateway password: c0ntrail123 2025-11-20 03:02:30,240 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-11-20 03:02:31,384 - 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.48, gateway password: c0ntrail123 2025-11-20 03:02:31,384 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-11-20 03:02:31,912 - DEBUG - ping: unknown host vm1-test-alias 2025-11-20 03:02:31,912 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-73656363 failed 2025-11-20 03:02:32,914 - 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.48, gateway password: c0ntrail123 2025-11-20 03:02:32,915 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-11-20 03:02:34,055 - 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.48, gateway password: c0ntrail123 2025-11-20 03:02:34,055 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-11-20 03:02:36,568 - DEBUG - PING ctest-vm1-test-73656363.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-73656363.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.226 ms 64 bytes from ctest-vm1-test-73656363.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.245 ms 64 bytes from ctest-vm1-test-73656363.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.202 ms --- ctest-vm1-test-73656363.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.202/0.224/0.245/0.021 ms 2025-11-20 03:02:36,569 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-73656363 passed 2025-11-20 03:02:36,569 - DEBUG - Deleting VDNS record data: test-rec 2025-11-20 03:02:36,652 - INFO - VDNS record info: default-domain:ctest-vdns1-01175918:test-rec deleted successfully. 2025-11-20 03:02:36,653 - INFO - Deleting VM ctest-vm2-test-15449746 2025-11-20 03:02:36,729 - INFO - Deleting VM ctest-vm1-test-73656363 2025-11-20 03:02:36,798 - INFO - Deleting VN ctest-vn1-vdns-73165868 2025-11-20 03:02:36,844 - DEBUG - VN 143f793f-8277-4413-bc4e-38300a95cb16 still in use: Unable to complete operation on network 143f793f-8277-4413-bc4e-38300a95cb16. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ae7692b-3eda-4f3a-b80e-5be6231b9aee'] 2025-11-20 03:02:36,844 - WARNING - Deleting VN ctest-vn1-vdns-73165868 failed..Will retry 2025-11-20 03:02:39,054 - DEBUG - Response for deleting network () 2025-11-20 03:02:39,099 - DEBUG - Deleting VDNS Entry: ctest-vdns1-01175918 2025-11-20 03:02:39,188 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-01175918'] deleted successfully. 2025-11-20 03:02:39,188 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-11-20 03:02:39,195 - DEBUG - Requesting: http://10.0.0.23:8082/domain/785d7fdc-4b61-45a1-9add-76a6d523389b 2025-11-20 03:02:39,214 - DEBUG - VDNS information not found in API server 2025-11-20 03:02:39,214 - INFO - VDNS information ctest-vdns1-01175918 removed from the API Server 2025-11-20 03:02:39,218 - INFO - VDNS information ctest-vdns1-01175918 removed in the Control node 2025-11-20 03:02:39,218 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-26550338'] 2025-11-20 03:02:40,491 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 03:02:40,491 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:13] 2025-11-20 03:02:40,491 - INFO - -------------------------------------------------------------------------------- 2025-11-20 03:02:41,288 - INFO - Deleted project: ctest-TestvDNSBasic0-26550338, ID : 58fea5fa-6b5e-423d-9373-9a4e43053462