2025-08-06 15:50:23,629 - INFO - Domain Default found not creating 2025-08-06 15:50:23,776 - INFO - Project ctest-TestvDNSBasic0-18737252 not found, creating it 2025-08-06 15:50:24,290 - INFO - Created Project:ctest-TestvDNSBasic0-18737252, ID : b50c1225-c803-4697-aa06-bcd0b8612ce3 2025-08-06 15:50:25,755 - INFO - ================================================================================ 2025-08-06 15:50:25,755 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-06 15:50:25,755 - 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-06 15:50:27,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.57': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2025-08-06 15:50:27,039 - INFO - Initial checks done. Running the testcase now 2025-08-06 15:50:27,039 - INFO - 2025-08-06 15:50:27,759 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-18737252'](b50c1225-c803-4697-aa06-bcd0b8612ce3) 2025-08-06 15:50:27,818 - DEBUG - Creating VDNS : ctest-vdns1-41236986 2025-08-06 15:50:28,046 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-41236986'] created succesfully 2025-08-06 15:50:28,047 - DEBUG - Verify VDNS entry is shown in control node 2025-08-06 15:50:28,070 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-06 15:50:28,070 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-06 15:50:28,378 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-06 15:50:28,411 - DEBUG - Requesting: http://10.0.0.254:8082/domain/024378da-7408-4369-ac73-51fa8d4d8d77 2025-08-06 15:50:28,435 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/00235307-5972-4f88-9b21-11634c406c4e 2025-08-06 15:50:29,231 - DEBUG - Response for create_network : {'network': {'id': '6fcfa2b5-1256-48b1-853d-2f5f8d8a1539', 'name': 'ctest-vn1-vdns-90560410', 'tenant_id': 'b50c1225c8034697aa06bcd0b8612ce3', 'project_id': 'b50c1225c8034697aa06bcd0b8612ce3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-18737252', 'ctest-vn1-vdns-90560410'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 15:50:29,577 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e986e80e-7bdd-438e-b617-7ff7e21dd5c2', 'name': '', 'tenant_id': 'b50c1225c8034697aa06bcd0b8612ce3', 'network_id': '6fcfa2b5-1256-48b1-853d-2f5f8d8a1539', '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': 'b50c1225c8034697aa06bcd0b8612ce3'}} 2025-08-06 15:50:29,602 - INFO - Created VN ctest-vn1-vdns-90560410 2025-08-06 15:50:29,619 - DEBUG - VN ctest-vn1-vdns-90560410 UUID is 6fcfa2b5-1256-48b1-853d-2f5f8d8a1539 2025-08-06 15:50:29,886 - DEBUG - Services list from nova: [, , , ] 2025-08-06 15:50:30,975 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3763-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3763-1) 2025-08-06 15:50:30,975 - INFO - Waiting for VM ctest-vm1-test-51389343 to be up.. 2025-08-06 15:50:31,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 15:50:36,109 - DEBUG - VM is in ACTIVE state now 2025-08-06 15:50:36,110 - INFO - VM name : ctest-vm1-test-51389343 2025-08-06 15:50:36,193 - DEBUG - VM ctest-vm1-test-51389343 ID is 21b0079c-043f-4ec3-8bca-e9840c79e91a 2025-08-06 15:50:36,193 - DEBUG - VM ctest-vm1-test-51389343 launched on Node an-jenkins-deploy-platform-ansible-os-3763-1 2025-08-06 15:50:36,272 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/21b0079c-043f-4ec3-8bca-e9840c79e91a 2025-08-06 15:50:36,581 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/21b0079c-043f-4ec3-8bca-e9840c79e91a 2025-08-06 15:50:36,615 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/8d6f6a48-5131-4301-addd-983717fbb90a 2025-08-06 15:50:39,819 - 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 1003ms') 2025-08-06 15:50:39,820 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51389343 failed! 2025-08-06 15:50:39,837 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:50:43,922 - 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-08-06 15:50:43,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51389343 failed! 2025-08-06 15:50:43,944 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:50:48,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 1007ms') 2025-08-06 15:50:48,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51389343 failed! 2025-08-06 15:50:48,029 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:50:52,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-08-06 15:50:52,113 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51389343 failed! 2025-08-06 15:50:52,129 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:50:56,210 - 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-06 15:50:56,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51389343 failed! 2025-08-06 15:50:56,225 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:51:00,310 - 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-08-06 15:51:00,310 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51389343 failed! 2025-08-06 15:51:00,325 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:51:04,395 - 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-06 15:51:04,396 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51389343 failed! 2025-08-06 15:51:04,412 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:51:08,499 - 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-06 15:51:08,499 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51389343 failed! 2025-08-06 15:51:08,514 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:51:12,590 - 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-06 15:51:12,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51389343 failed! 2025-08-06 15:51:12,606 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:51:14,674 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.01 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.014/4.916/6.818/1.902 ms') 2025-08-06 15:51:14,674 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51389343 passed 2025-08-06 15:51:14,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 15:51:14,787 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51389343, IP 10.10.10.3, Port 22 2025-08-06 15:51:14,853 - 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-06 15:51:14,939 - DEBUG - VM ctest-vm1-test-51389343 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 15:51:19,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 15:51:19,940 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51389343, IP 10.10.10.3, Port 22 2025-08-06 15:51:20,006 - 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-06 15:51:20,086 - DEBUG - VM ctest-vm1-test-51389343 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 15:51:25,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 15:51:25,088 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51389343, IP 10.10.10.3, Port 22 2025-08-06 15:51:25,154 - 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-06 15:51:25,236 - DEBUG - VM ctest-vm1-test-51389343 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 15:51:30,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 15:51:30,236 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51389343, IP 10.10.10.3, Port 22 2025-08-06 15:51:30,301 - 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-06 15:51:30,383 - DEBUG - VM ctest-vm1-test-51389343 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 15:51:35,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 15:51:35,384 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51389343, IP 10.10.10.3, Port 22 2025-08-06 15:51:35,550 - DEBUG - VM ctest-vm1-test-51389343 is ready for SSH connections 2025-08-06 15:51:35,550 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 15:51:35,550 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-06 15:51:56,566 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-06 15:51:56,566 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-51389343", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 15:51:56,566 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-51389343", None, socket.AF_INET6)' 2025-08-06 15:51:59,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-51389343, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 15:51:59,151 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-51389343 2025-08-06 15:52:02,203 - DEBUG - PING ctest-vm1-test-51389343.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-51389343.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.29 ms 64 bytes from ctest-vm1-test-51389343.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.223 ms 64 bytes from ctest-vm1-test-51389343.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.183 ms --- ctest-vm1-test-51389343.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.183/1.232/3.292/1.456 ms 2025-08-06 15:52:02,203 - INFO - Ping to IP ctest-vm1-test-51389343 from VM ctest-vm1-test-51389343 passed 2025-08-06 15:52:02,231 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-06 15:52:02,240 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41236986@0%20AllEntriesVdnsRecordsReq 2025-08-06 15:52:02,247 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-06 15:52:02,254 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41236986@0%20AllEntriesVdnsRecordsReq 2025-08-06 15:52:02,261 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-06 15:52:02,268 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41236986@0%20AllEntriesVdnsRecordsReq 2025-08-06 15:52:02,275 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-41236986:1:ctest-vm1-test-51389343:10.10.10.3', 'rec_name': 'ctest-vm1-test-51389343', '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-3763-1/dns'} , Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-51389343.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-06 15:52:02,275 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-41236986:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-51389343', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-51389343', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3763-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-51389343.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-06 15:52:03,664 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3763-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3763-2) 2025-08-06 15:52:03,664 - INFO - Waiting for VM ctest-vm2-test-05790175 to be up.. 2025-08-06 15:52:03,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 15:52:08,783 - DEBUG - VM is in ACTIVE state now 2025-08-06 15:52:08,783 - INFO - VM name : ctest-vm2-test-05790175 2025-08-06 15:52:08,856 - DEBUG - VM ctest-vm2-test-05790175 ID is 8573fe19-cf72-4093-b6ac-4ab53644c1a5 2025-08-06 15:52:08,856 - DEBUG - VM ctest-vm2-test-05790175 launched on Node an-jenkins-deploy-platform-ansible-os-3763-2 2025-08-06 15:52:08,930 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8573fe19-cf72-4093-b6ac-4ab53644c1a5 2025-08-06 15:52:08,944 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5b74c326-a0e2-4232-ba0a-2e1dbc442e91 2025-08-06 15:52:12,193 - 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-08-06 15:52:12,193 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-05790175 failed! 2025-08-06 15:52:12,208 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:52:16,287 - 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-06 15:52:16,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-05790175 failed! 2025-08-06 15:52:16,307 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:52:20,383 - 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 1012ms') 2025-08-06 15:52:20,383 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-05790175 failed! 2025-08-06 15:52:20,397 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:52:24,473 - 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-08-06 15:52:24,474 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-05790175 failed! 2025-08-06 15:52:24,492 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:52:28,573 - 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-06 15:52:28,573 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-05790175 failed! 2025-08-06 15:52:28,591 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:52:32,668 - 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-08-06 15:52:32,669 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-05790175 failed! 2025-08-06 15:52:32,683 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:52:36,771 - 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-08-06 15:52:36,772 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-05790175 failed! 2025-08-06 15:52:36,790 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:52:40,866 - 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-06 15:52:40,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-05790175 failed! 2025-08-06 15:52:40,881 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:52:44,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 1013ms') 2025-08-06 15:52:44,960 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-05790175 failed! 2025-08-06 15:52:44,974 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:52:49,057 - 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-08-06 15:52:49,057 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-05790175 failed! 2025-08-06 15:52:49,073 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-18737252:ctest-vn1-vdns-90560410 is 10.10.10.1 and allocation pool is NOT set 2025-08-06 15:52:51,144 - 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=7.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.54 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 = 5.539/6.570/7.602/1.031 ms') 2025-08-06 15:52:51,144 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-05790175 passed 2025-08-06 15:52:51,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 15:52:51,258 - DEBUG - Waiting to SSH to VM ctest-vm2-test-05790175, IP 10.10.10.4, Port 22 2025-08-06 15:52:51,326 - 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-06 15:52:51,415 - DEBUG - VM ctest-vm2-test-05790175 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 15:52:56,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 15:52:56,416 - DEBUG - Waiting to SSH to VM ctest-vm2-test-05790175, IP 10.10.10.4, Port 22 2025-08-06 15:52:56,486 - 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-06 15:52:56,568 - DEBUG - VM ctest-vm2-test-05790175 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 15:53:01,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 15:53:01,569 - DEBUG - Waiting to SSH to VM ctest-vm2-test-05790175, IP 10.10.10.4, Port 22 2025-08-06 15:53:01,649 - 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-06 15:53:01,747 - DEBUG - VM ctest-vm2-test-05790175 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 15:53:06,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 15:53:06,748 - DEBUG - Waiting to SSH to VM ctest-vm2-test-05790175, IP 10.10.10.4, Port 22 2025-08-06 15:53:06,815 - 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-06 15:53:06,901 - DEBUG - VM ctest-vm2-test-05790175 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 15:53:11,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 15:53:11,903 - DEBUG - Waiting to SSH to VM ctest-vm2-test-05790175, IP 10.10.10.4, Port 22 2025-08-06 15:53:12,074 - DEBUG - VM ctest-vm2-test-05790175 is ready for SSH connections 2025-08-06 15:53:12,074 - 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-06 15:53:12,074 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-06 15:53:36,287 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-06 15:53:36,288 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-05790175", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-06 15:53:36,288 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-05790175", None, socket.AF_INET6)' 2025-08-06 15:53:39,205 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-05790175, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-06 15:53:39,206 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-05790175 2025-08-06 15:53:42,415 - DEBUG - PING ctest-vm2-test-05790175.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-05790175.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.97 ms 64 bytes from ctest-vm2-test-05790175.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.258 ms 64 bytes from ctest-vm2-test-05790175.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.227 ms --- ctest-vm2-test-05790175.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.227/1.152/2.971/1.286 ms 2025-08-06 15:53:42,415 - INFO - Ping to IP ctest-vm2-test-05790175 from VM ctest-vm2-test-05790175 passed 2025-08-06 15:53:42,440 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-06 15:53:42,448 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41236986@0%20AllEntriesVdnsRecordsReq 2025-08-06 15:53:42,456 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-06 15:53:42,463 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41236986@0%20AllEntriesVdnsRecordsReq 2025-08-06 15:53:42,469 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-06 15:53:42,475 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-41236986@0%20AllEntriesVdnsRecordsReq 2025-08-06 15:53:42,482 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-41236986:1:ctest-vm2-test-05790175:10.10.10.4', 'rec_name': 'ctest-vm2-test-05790175', '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-3763-2/dns'} , Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-05790175.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-06 15:53:42,482 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-41236986:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-05790175', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-05790175', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3763-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-05790175.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-06 15:53:42,482 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-05790175", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 15:53:42,482 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-05790175", None, socket.AF_INET6)' 2025-08-06 15:53:43,642 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-05790175, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 15:53:43,642 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-05790175 2025-08-06 15:53:46,236 - DEBUG - PING ctest-vm2-test-05790175.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-05790175.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=14.9 ms 64 bytes from ctest-vm2-test-05790175.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.28 ms 64 bytes from ctest-vm2-test-05790175.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.65 ms --- ctest-vm2-test-05790175.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.288/5.968/14.967/6.365 ms 2025-08-06 15:53:46,236 - INFO - Ping to IP ctest-vm2-test-05790175 from VM ctest-vm1-test-51389343 passed 2025-08-06 15:53:46,236 - INFO - Try deleting the VDNS entry ctest-vdns1-41236986 with back ref of ipam. 2025-08-06 15:53:46,295 - DEBUG - Delete when resource still referred: ['http://10.0.0.48:8082/network-ipam/168eab68-b7c5-494a-9c04-9deb4452ebc9'] 2025-08-06 15:53:46,295 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-06 15:53:46,295 - INFO - Add CNAME VDNS record for ctest-vm1-test-51389343 and verify we able to ping by alias name 2025-08-06 15:53:46,342 - DEBUG - Creating VDNS record data : test-rec 2025-08-06 15:53:46,470 - INFO - In verify_on_setup 2025-08-06 15:53:46,570 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-41236986', 'test-rec'] created succesfully 2025-08-06 15:53:46,570 - INFO - Verify VDNS record is shown in the API server 2025-08-06 15:53:46,571 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-06 15:53:46,578 - DEBUG - Requesting: http://10.0.0.254:8082/domain/024378da-7408-4369-ac73-51fa8d4d8d77 2025-08-06 15:53:46,599 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/00235307-5972-4f88-9b21-11634c406c4e 2025-08-06 15:53:46,616 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS-record/db81cfaf-f0ae-4182-83d8-82deae24e27d 2025-08-06 15:53:46,626 - INFO - Verify VDNS record is shown in the control node 2025-08-06 15:53:46,650 - 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.49, gateway password: c0ntrail123 2025-08-06 15:53:46,650 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-06 15:53:47,882 - 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.49, gateway password: c0ntrail123 2025-08-06 15:53:47,882 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-06 15:53:48,417 - DEBUG - ping: unknown host vm1-test-alias 2025-08-06 15:53:48,417 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-51389343 failed 2025-08-06 15:53:49,418 - 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.49, gateway password: c0ntrail123 2025-08-06 15:53:49,418 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-06 15:53:50,636 - 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.49, gateway password: c0ntrail123 2025-08-06 15:53:50,636 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-06 15:53:53,179 - DEBUG - PING ctest-vm1-test-51389343.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-51389343.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.02 ms 64 bytes from ctest-vm1-test-51389343.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.405 ms 64 bytes from ctest-vm1-test-51389343.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.196 ms --- ctest-vm1-test-51389343.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.196/0.875/2.025/0.817 ms 2025-08-06 15:53:53,179 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-51389343 passed 2025-08-06 15:53:53,179 - DEBUG - Deleting VDNS record data: test-rec 2025-08-06 15:53:53,270 - INFO - VDNS record info: default-domain:ctest-vdns1-41236986:test-rec deleted successfully. 2025-08-06 15:53:53,270 - INFO - Deleting VM ctest-vm2-test-05790175 2025-08-06 15:53:53,342 - INFO - Deleting VM ctest-vm1-test-51389343 2025-08-06 15:53:53,421 - INFO - Deleting VN ctest-vn1-vdns-90560410 2025-08-06 15:53:53,469 - DEBUG - VN 6fcfa2b5-1256-48b1-853d-2f5f8d8a1539 still in use: Unable to complete operation on network 6fcfa2b5-1256-48b1-853d-2f5f8d8a1539. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a831b087-b719-4fe8-b137-4360330db219'] 2025-08-06 15:53:53,469 - WARNING - Deleting VN ctest-vn1-vdns-90560410 failed..Will retry 2025-08-06 15:53:55,646 - DEBUG - Response for deleting network () 2025-08-06 15:53:55,708 - DEBUG - Deleting VDNS Entry: ctest-vdns1-41236986 2025-08-06 15:53:55,790 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-41236986'] deleted successfully. 2025-08-06 15:53:55,790 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-06 15:53:55,798 - DEBUG - Requesting: http://10.0.0.254:8082/domain/024378da-7408-4369-ac73-51fa8d4d8d77 2025-08-06 15:53:55,817 - DEBUG - VDNS information not found in API server 2025-08-06 15:53:55,817 - INFO - VDNS information ctest-vdns1-41236986 removed from the API Server 2025-08-06 15:53:55,823 - INFO - VDNS information ctest-vdns1-41236986 removed in the Control node 2025-08-06 15:53:55,825 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-18737252'] 2025-08-06 15:53:57,103 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 15:53:57,103 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:32]
2025-08-06 15:53:57,103 - INFO - -------------------------------------------------------------------------------- 2025-08-06 15:53:57,841 - INFO - Deleted project: ctest-TestvDNSBasic0-18737252, ID : b50c1225-c803-4697-aa06-bcd0b8612ce3