2025-08-11 03:00:15,178 - INFO - Domain Default found not creating 2025-08-11 03:00:15,343 - INFO - Project ctest-TestvDNSBasic0-95529231 not found, creating it 2025-08-11 03:00:15,939 - INFO - Created Project:ctest-TestvDNSBasic0-95529231, ID : 19bbe6d6-2f47-4544-a987-3a8bafb4bfbc 2025-08-11 03:00:17,410 - INFO - ================================================================================ 2025-08-11 03:00:17,410 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-11 03:00:17,410 - 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-08-11 03:00:18,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with 2025-08-11 03:00:18,742 - INFO - Initial checks done. Running the testcase now 2025-08-11 03:00:18,742 - INFO - 2025-08-11 03:00:19,488 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-95529231'](19bbe6d6-2f47-4544-a987-3a8bafb4bfbc) 2025-08-11 03:00:19,547 - DEBUG - Creating VDNS : ctest-vdns1-50133290 2025-08-11 03:00:19,795 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-50133290'] created succesfully 2025-08-11 03:00:19,796 - DEBUG - Verify VDNS entry is shown in control node 2025-08-11 03:00:19,833 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-11 03:00:19,834 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-11 03:00:20,184 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-11 03:00:20,216 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e652ea40-e608-445e-8759-8973ddbd3f22 2025-08-11 03:00:20,248 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/2b2f9f50-739c-42e7-b5ea-8030389d7475 2025-08-11 03:00:21,131 - DEBUG - Response for create_network : {'network': {'id': 'e686c47b-8d8b-41a5-9024-2fbb544aaf63', 'name': 'ctest-vn1-vdns-11091133', 'tenant_id': '19bbe6d62f474544a9873a8bafb4bfbc', 'project_id': '19bbe6d62f474544a9873a8bafb4bfbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-95529231', 'ctest-vn1-vdns-11091133'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 03:00:21,395 - DEBUG - Response for create_subnet : {'subnet': {'id': '5df460d8-f93f-4014-8df5-8a736a447e49', 'name': '', 'tenant_id': '19bbe6d62f474544a9873a8bafb4bfbc', 'network_id': 'e686c47b-8d8b-41a5-9024-2fbb544aaf63', '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': '19bbe6d62f474544a9873a8bafb4bfbc'}} 2025-08-11 03:00:21,427 - INFO - Created VN ctest-vn1-vdns-11091133 2025-08-11 03:00:21,440 - DEBUG - VN ctest-vn1-vdns-11091133 UUID is e686c47b-8d8b-41a5-9024-2fbb544aaf63 2025-08-11 03:00:21,664 - DEBUG - Services list from nova: [, , , ] 2025-08-11 03:00:22,779 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2) 2025-08-11 03:00:22,779 - INFO - Waiting for VM ctest-vm1-test-41614609 to be up.. 2025-08-11 03:00:22,828 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 03:00:27,939 - DEBUG - VM is in ACTIVE state now 2025-08-11 03:00:27,939 - INFO - VM name : ctest-vm1-test-41614609 2025-08-11 03:00:28,054 - DEBUG - VM ctest-vm1-test-41614609 ID is ccc08b70-3a01-4f9a-ace5-accbd132333b 2025-08-11 03:00:28,054 - DEBUG - VM ctest-vm1-test-41614609 launched on Node an-jenkins-deploy-platform-ansible-os-3794-2 2025-08-11 03:00:28,193 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ccc08b70-3a01-4f9a-ace5-accbd132333b 2025-08-11 03:00:28,507 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ccc08b70-3a01-4f9a-ace5-accbd132333b 2025-08-11 03:00:28,552 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7f62df5a-1d5d-41d7-bcc3-9f9960225f89 2025-08-11 03:00:32,807 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2025-08-11 03:00:32,807 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41614609 failed! 2025-08-11 03:00:32,833 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:00:36,902 - 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 1006ms') 2025-08-11 03:00:36,902 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41614609 failed! 2025-08-11 03:00:36,922 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:00:41,008 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-08-11 03:00:41,008 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41614609 failed! 2025-08-11 03:00:41,025 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:00:45,290 - 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-08-11 03:00:45,290 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41614609 failed! 2025-08-11 03:00:45,315 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:00:49,417 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1034ms') 2025-08-11 03:00:49,417 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41614609 failed! 2025-08-11 03:00:49,441 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:00:53,514 - 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-08-11 03:00:53,514 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41614609 failed! 2025-08-11 03:00:53,539 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:00:57,608 - 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 1006ms') 2025-08-11 03:00:57,608 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41614609 failed! 2025-08-11 03:00:57,632 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:01:01,707 - 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 1005ms') 2025-08-11 03:01:01,708 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41614609 failed! 2025-08-11 03:01:01,733 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:01:03,806 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.88 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 = 2.881/4.701/6.522/1.820 ms') 2025-08-11 03:01:03,807 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-41614609 passed 2025-08-11 03:01:03,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 03:01:03,935 - DEBUG - Waiting to SSH to VM ctest-vm1-test-41614609, IP 10.10.10.3, Port 22 2025-08-11 03:01:04,009 - 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-08-11 03:01:04,133 - DEBUG - VM ctest-vm1-test-41614609 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 03:01:09,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 03:01:09,135 - DEBUG - Waiting to SSH to VM ctest-vm1-test-41614609, IP 10.10.10.3, Port 22 2025-08-11 03:01:09,194 - 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-08-11 03:01:09,506 - DEBUG - VM ctest-vm1-test-41614609 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 03:01:14,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 03:01:14,507 - DEBUG - Waiting to SSH to VM ctest-vm1-test-41614609, IP 10.10.10.3, Port 22 2025-08-11 03:01:14,576 - 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-08-11 03:01:14,681 - DEBUG - VM ctest-vm1-test-41614609 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 03:01:19,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 03:01:19,682 - DEBUG - Waiting to SSH to VM ctest-vm1-test-41614609, IP 10.10.10.3, Port 22 2025-08-11 03:01:19,741 - 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-08-11 03:01:19,859 - DEBUG - VM ctest-vm1-test-41614609 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 03:01:24,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 03:01:24,860 - DEBUG - Waiting to SSH to VM ctest-vm1-test-41614609, IP 10.10.10.3, Port 22 2025-08-11 03:01:25,026 - DEBUG - VM ctest-vm1-test-41614609 is ready for SSH connections 2025-08-11 03:01:25,026 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-11 03:01:25,027 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-11 03:01:44,126 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-11 03:01:44,127 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-41614609", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-11 03:01:44,127 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-41614609", None, socket.AF_INET6)' 2025-08-11 03:01:46,835 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-41614609, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-11 03:01:46,835 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-41614609 2025-08-11 03:01:49,821 - DEBUG - PING ctest-vm1-test-41614609.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-41614609.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.63 ms 64 bytes from ctest-vm1-test-41614609.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.456 ms 64 bytes from ctest-vm1-test-41614609.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.246 ms --- ctest-vm1-test-41614609.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.246/1.113/2.637/1.081 ms 2025-08-11 03:01:49,821 - INFO - Ping to IP ctest-vm1-test-41614609 from VM ctest-vm1-test-41614609 passed 2025-08-11 03:01:49,847 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 03:01:49,856 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50133290@0%20AllEntriesVdnsRecordsReq 2025-08-11 03:01:49,862 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 03:01:49,868 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50133290@0%20AllEntriesVdnsRecordsReq 2025-08-11 03:01:49,874 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 03:01:49,885 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50133290@0%20AllEntriesVdnsRecordsReq 2025-08-11 03:01:49,896 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-50133290:1:ctest-vm1-test-41614609:10.10.10.3', 'rec_name': 'ctest-vm1-test-41614609', '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-3794-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-41614609.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-11 03:01:49,896 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-50133290:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-41614609', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-41614609', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3794-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-41614609.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-08-11 03:01:52,610 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-1) 2025-08-11 03:01:52,610 - INFO - Waiting for VM ctest-vm2-test-19862942 to be up.. 2025-08-11 03:01:52,735 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 03:01:57,906 - DEBUG - VM is in ACTIVE state now 2025-08-11 03:01:57,906 - INFO - VM name : ctest-vm2-test-19862942 2025-08-11 03:01:58,022 - DEBUG - VM ctest-vm2-test-19862942 ID is 6624c93a-f74c-4414-be04-e86b8dcef9b8 2025-08-11 03:01:58,023 - DEBUG - VM ctest-vm2-test-19862942 launched on Node an-jenkins-deploy-platform-ansible-os-3794-1 2025-08-11 03:01:58,131 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6624c93a-f74c-4414-be04-e86b8dcef9b8 2025-08-11 03:01:58,148 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f272b370-db40-4217-9cbd-1786630a8b80 2025-08-11 03:02:01,409 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1034ms') 2025-08-11 03:02:01,409 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19862942 failed! 2025-08-11 03:02:01,430 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:02:05,510 - 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 1009ms') 2025-08-11 03:02:05,510 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19862942 failed! 2025-08-11 03:02:05,527 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:02:09,605 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-08-11 03:02:09,605 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19862942 failed! 2025-08-11 03:02:09,622 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:02:13,703 - 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-08-11 03:02:13,703 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19862942 failed! 2025-08-11 03:02:13,720 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:02:17,797 - 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-08-11 03:02:17,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19862942 failed! 2025-08-11 03:02:17,818 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:02:21,885 - 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-08-11 03:02:21,886 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19862942 failed! 2025-08-11 03:02:21,906 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:02:25,986 - 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-08-11 03:02:25,986 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19862942 failed! 2025-08-11 03:02:26,008 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:02:30,086 - 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-08-11 03:02:30,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19862942 failed! 2025-08-11 03:02:30,104 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:02:34,181 - 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-08-11 03:02:34,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19862942 failed! 2025-08-11 03:02:34,200 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-95529231:ctest-vn1-vdns-11091133 is 10.10.10.1 and allocation pool is NOT set 2025-08-11 03:02:36,269 - 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=9.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.38 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 = 3.376/6.457/9.538/3.081 ms') 2025-08-11 03:02:36,269 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-19862942 passed 2025-08-11 03:02:36,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 03:02:36,396 - DEBUG - Waiting to SSH to VM ctest-vm2-test-19862942, IP 10.10.10.4, Port 22 2025-08-11 03:02:36,462 - 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-08-11 03:02:36,768 - DEBUG - VM ctest-vm2-test-19862942 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 03:02:41,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 03:02:41,769 - DEBUG - Waiting to SSH to VM ctest-vm2-test-19862942, IP 10.10.10.4, Port 22 2025-08-11 03:02:41,838 - 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-08-11 03:02:41,930 - DEBUG - VM ctest-vm2-test-19862942 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 03:02:46,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 03:02:46,931 - DEBUG - Waiting to SSH to VM ctest-vm2-test-19862942, IP 10.10.10.4, Port 22 2025-08-11 03:02:46,998 - 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-08-11 03:02:47,103 - DEBUG - VM ctest-vm2-test-19862942 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 03:02:52,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 03:02:52,104 - DEBUG - Waiting to SSH to VM ctest-vm2-test-19862942, IP 10.10.10.4, Port 22 2025-08-11 03:02:52,170 - 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-08-11 03:02:52,267 - DEBUG - VM ctest-vm2-test-19862942 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 03:02:57,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 03:02:57,268 - DEBUG - Waiting to SSH to VM ctest-vm2-test-19862942, IP 10.10.10.4, Port 22 2025-08-11 03:02:57,435 - DEBUG - VM ctest-vm2-test-19862942 is ready for SSH connections 2025-08-11 03:02:57,436 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-11 03:02:57,436 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-11 03:03:17,001 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-11 03:03:17,001 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19862942", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-11 03:03:17,002 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19862942", None, socket.AF_INET6)' 2025-08-11 03:03:20,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-19862942, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-11 03:03:20,028 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-19862942 2025-08-11 03:03:22,872 - DEBUG - PING ctest-vm2-test-19862942.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-19862942.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.95 ms 64 bytes from ctest-vm2-test-19862942.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.226 ms 64 bytes from ctest-vm2-test-19862942.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.204 ms --- ctest-vm2-test-19862942.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.204/1.128/2.956/1.292 ms 2025-08-11 03:03:22,872 - INFO - Ping to IP ctest-vm2-test-19862942 from VM ctest-vm2-test-19862942 passed 2025-08-11 03:03:22,902 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 03:03:22,910 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50133290@0%20AllEntriesVdnsRecordsReq 2025-08-11 03:03:22,916 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 03:03:22,921 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50133290@0%20AllEntriesVdnsRecordsReq 2025-08-11 03:03:22,926 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-11 03:03:22,932 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-50133290@0%20AllEntriesVdnsRecordsReq 2025-08-11 03:03:22,937 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-50133290:1:ctest-vm2-test-19862942:10.10.10.4', 'rec_name': 'ctest-vm2-test-19862942', '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-3794-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-19862942.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-11 03:03:22,937 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-50133290:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-19862942', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-19862942', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3794-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-19862942.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-08-11 03:03:22,938 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19862942", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-11 03:03:22,938 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-19862942", None, socket.AF_INET6)' 2025-08-11 03:03:24,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-19862942, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-11 03:03:24,100 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-19862942 2025-08-11 03:03:26,627 - DEBUG - PING ctest-vm2-test-19862942.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-19862942.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=12.5 ms 64 bytes from ctest-vm2-test-19862942.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.00 ms 64 bytes from ctest-vm2-test-19862942.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.90 ms --- ctest-vm2-test-19862942.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.909/5.486/12.546/4.992 ms 2025-08-11 03:03:26,627 - INFO - Ping to IP ctest-vm2-test-19862942 from VM ctest-vm1-test-41614609 passed 2025-08-11 03:03:26,627 - INFO - Try deleting the VDNS entry ctest-vdns1-50133290 with back ref of ipam. 2025-08-11 03:03:26,699 - DEBUG - Delete when resource still referred: ['http://10.0.0.141:8082/network-ipam/e3a72c2b-c95f-406c-84cd-627c270673f0'] 2025-08-11 03:03:26,699 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-11 03:03:26,700 - INFO - Add CNAME VDNS record for ctest-vm1-test-41614609 and verify we able to ping by alias name 2025-08-11 03:03:26,752 - DEBUG - Creating VDNS record data : test-rec 2025-08-11 03:03:26,891 - INFO - In verify_on_setup 2025-08-11 03:03:26,987 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-50133290', 'test-rec'] created succesfully 2025-08-11 03:03:26,987 - INFO - Verify VDNS record is shown in the API server 2025-08-11 03:03:26,987 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-11 03:03:26,995 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e652ea40-e608-445e-8759-8973ddbd3f22 2025-08-11 03:03:27,052 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/2b2f9f50-739c-42e7-b5ea-8030389d7475 2025-08-11 03:03:27,070 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS-record/99209854-01a8-4cff-8403-625c2109c689 2025-08-11 03:03:27,079 - INFO - Verify VDNS record is shown in the control node 2025-08-11 03:03:27,113 - 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.65, gateway password: c0ntrail123 2025-08-11 03:03:27,113 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-11 03:03:28,292 - 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.65, gateway password: c0ntrail123 2025-08-11 03:03:28,292 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-11 03:03:28,812 - DEBUG - ping: unknown host vm1-test-alias 2025-08-11 03:03:28,812 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-41614609 failed 2025-08-11 03:03:29,813 - 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.65, gateway password: c0ntrail123 2025-08-11 03:03:29,813 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-11 03:03:30,944 - 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.65, gateway password: c0ntrail123 2025-08-11 03:03:30,944 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-11 03:03:33,529 - DEBUG - PING ctest-vm1-test-41614609.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-41614609.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.207 ms 64 bytes from ctest-vm1-test-41614609.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.241 ms 64 bytes from ctest-vm1-test-41614609.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.310 ms --- ctest-vm1-test-41614609.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.207/0.252/0.310/0.046 ms 2025-08-11 03:03:33,530 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-41614609 passed 2025-08-11 03:03:33,530 - DEBUG - Deleting VDNS record data: test-rec 2025-08-11 03:03:33,615 - INFO - VDNS record info: default-domain:ctest-vdns1-50133290:test-rec deleted successfully. 2025-08-11 03:03:33,615 - INFO - Deleting VM ctest-vm2-test-19862942 2025-08-11 03:03:33,689 - INFO - Deleting VM ctest-vm1-test-41614609 2025-08-11 03:03:33,759 - INFO - Deleting VN ctest-vn1-vdns-11091133 2025-08-11 03:03:33,805 - DEBUG - VN e686c47b-8d8b-41a5-9024-2fbb544aaf63 still in use: Unable to complete operation on network e686c47b-8d8b-41a5-9024-2fbb544aaf63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fd1fc918-a7f3-4ecc-a18e-36e36b0906bd'] 2025-08-11 03:03:33,805 - WARNING - Deleting VN ctest-vn1-vdns-11091133 failed..Will retry 2025-08-11 03:03:35,977 - DEBUG - Response for deleting network () 2025-08-11 03:03:36,037 - DEBUG - Deleting VDNS Entry: ctest-vdns1-50133290 2025-08-11 03:03:36,151 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-50133290'] deleted successfully. 2025-08-11 03:03:36,151 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-11 03:03:36,160 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e652ea40-e608-445e-8759-8973ddbd3f22 2025-08-11 03:03:36,179 - DEBUG - VDNS information not found in API server 2025-08-11 03:03:36,179 - INFO - VDNS information ctest-vdns1-50133290 removed from the API Server 2025-08-11 03:03:36,185 - INFO - VDNS information ctest-vdns1-50133290 removed in the Control node 2025-08-11 03:03:36,185 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-95529231'] 2025-08-11 03:03:37,476 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 03:03:37,476 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:20]
2025-08-11 03:03:37,477 - INFO - -------------------------------------------------------------------------------- 2025-08-11 03:03:38,213 - INFO - Deleted project: ctest-TestvDNSBasic0-95529231, ID : 19bbe6d6-2f47-4544-a987-3a8bafb4bfbc