2025-12-15 03:21:24,117 - INFO - Domain Default found not creating 2025-12-15 03:21:24,335 - INFO - Project ctest-TestvDNSBasic0-69297450 not found, creating it 2025-12-15 03:21:24,897 - INFO - Created Project:ctest-TestvDNSBasic0-69297450, ID : 5d92d065-23a8-441f-b5b5-b27b5175ab72 2025-12-15 03:21:26,454 - INFO - ================================================================================ 2025-12-15 03:21:26,455 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-12-15 03:21:26,455 - INFO - TEST DESCRIPTION : Test:- Test vdns functionality. On VM launch agent should dynamically update dns records to dns agent 1. Create vDNS server 2. Create IPAM using above vDNS data 3. Create VN using above IPAM and launch 2 VM's within it 4. Ping between these 2 VM's using dns name 5. Try to delete vDNS server which has IPAM back-reference[Negative case] 6. Add CNAME VDNS record for vm1-test and verify we able to ping by alias name Pass criteria: Step 4,5 and 6 should pass Maintainer: cf-test@juniper.net 2025-12-15 03:21:27,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0', '10.20.0.129': '0'}, '10.0.0.27': {'10.20.0.254': '0', '10.20.0.18': '0'}} with 2025-12-15 03:21:27,720 - INFO - Initial checks done. Running the testcase now 2025-12-15 03:21:27,720 - INFO - 2025-12-15 03:21:28,586 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-69297450'](5d92d065-23a8-441f-b5b5-b27b5175ab72) 2025-12-15 03:21:28,647 - DEBUG - Creating VDNS : ctest-vdns1-85937244 2025-12-15 03:21:28,879 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-85937244'] created succesfully 2025-12-15 03:21:28,879 - DEBUG - Verify VDNS entry is shown in control node 2025-12-15 03:21:28,895 - DEBUG - Verify VDNS entry is shown in the API server 2025-12-15 03:21:28,895 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-15 03:21:29,189 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-15 03:21:29,233 - DEBUG - Requesting: http://10.0.0.23:8082/domain/747a8d7b-37d3-4985-88af-26a6e8bf7d0e 2025-12-15 03:21:29,278 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/9d7037a2-0267-4fdc-870b-ce42427e6d6a 2025-12-15 03:21:30,004 - DEBUG - Response for create_network : {'network': {'id': 'ee26dc61-15f6-4b1b-a20d-d2a8da7d82f6', 'name': 'ctest-vn1-vdns-62960337', 'tenant_id': '5d92d06523a8441fb5b5b27b5175ab72', 'project_id': '5d92d06523a8441fb5b5b27b5175ab72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-69297450', 'ctest-vn1-vdns-62960337'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 03:21:30,316 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b94f52d-1d5d-4da7-84ee-fb940436422c', 'name': '', 'tenant_id': '5d92d06523a8441fb5b5b27b5175ab72', 'network_id': 'ee26dc61-15f6-4b1b-a20d-d2a8da7d82f6', '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': '5d92d06523a8441fb5b5b27b5175ab72'}} 2025-12-15 03:21:30,340 - INFO - Created VN ctest-vn1-vdns-62960337 2025-12-15 03:21:30,355 - DEBUG - VN ctest-vn1-vdns-62960337 UUID is ee26dc61-15f6-4b1b-a20d-d2a8da7d82f6 2025-12-15 03:21:30,533 - DEBUG - Services list from nova: [, , , ] 2025-12-15 03:21:31,517 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4894-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4894-2) 2025-12-15 03:21:31,517 - INFO - Waiting for VM ctest-vm1-test-65422145 to be up.. 2025-12-15 03:21:31,559 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-15 03:21:36,638 - DEBUG - VM is in ACTIVE state now 2025-12-15 03:21:36,638 - INFO - VM name : ctest-vm1-test-65422145 2025-12-15 03:21:36,725 - DEBUG - VM ctest-vm1-test-65422145 ID is 0007ead6-745b-486c-a09f-1634d72f5fe5 2025-12-15 03:21:36,725 - DEBUG - VM ctest-vm1-test-65422145 launched on Node an-jenkins-deploy-platform-ansible-os-4894-2 2025-12-15 03:21:36,798 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/0007ead6-745b-486c-a09f-1634d72f5fe5 2025-12-15 03:21:37,087 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/0007ead6-745b-486c-a09f-1634d72f5fe5 2025-12-15 03:21:37,123 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/9a670c39-d68c-46d0-84ce-9220013aa532 2025-12-15 03:21:40,305 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2025-12-15 03:21:40,305 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65422145 failed! 2025-12-15 03:21:40,320 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:21:44,408 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-12-15 03:21:44,408 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65422145 failed! 2025-12-15 03:21:44,421 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:21:48,498 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-12-15 03:21:48,499 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65422145 failed! 2025-12-15 03:21:48,512 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:21:52,594 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2025-12-15 03:21:52,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65422145 failed! 2025-12-15 03:21:52,606 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:21:56,697 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-12-15 03:21:56,697 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65422145 failed! 2025-12-15 03:21:56,711 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:22:00,796 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-12-15 03:22:00,796 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65422145 failed! 2025-12-15 03:22:00,810 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:22:04,888 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-12-15 03:22:04,888 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65422145 failed! 2025-12-15 03:22:04,901 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:22:08,985 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-12-15 03:22:08,986 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65422145 failed! 2025-12-15 03:22:09,001 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:22:13,081 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2025-12-15 03:22:13,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65422145 failed! 2025-12-15 03:22:13,100 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:22:15,168 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.19 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.188/6.402/9.617/3.214 ms') 2025-12-15 03:22:15,168 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-65422145 passed 2025-12-15 03:22:15,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 03:22:15,247 - DEBUG - Waiting to SSH to VM ctest-vm1-test-65422145, IP 10.10.10.3, Port 22 2025-12-15 03:22:15,317 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-15 03:22:15,397 - DEBUG - VM ctest-vm1-test-65422145 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 03:22:20,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 03:22:20,398 - DEBUG - Waiting to SSH to VM ctest-vm1-test-65422145, IP 10.10.10.3, Port 22 2025-12-15 03:22:20,465 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-15 03:22:20,539 - DEBUG - VM ctest-vm1-test-65422145 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 03:22:25,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 03:22:25,540 - DEBUG - Waiting to SSH to VM ctest-vm1-test-65422145, IP 10.10.10.3, Port 22 2025-12-15 03:22:25,608 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-15 03:22:25,699 - DEBUG - VM ctest-vm1-test-65422145 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 03:22:30,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 03:22:30,700 - DEBUG - Waiting to SSH to VM ctest-vm1-test-65422145, IP 10.10.10.3, Port 22 2025-12-15 03:22:30,768 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-15 03:22:30,849 - DEBUG - VM ctest-vm1-test-65422145 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 03:22:35,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 03:22:35,849 - DEBUG - Waiting to SSH to VM ctest-vm1-test-65422145, IP 10.10.10.3, Port 22 2025-12-15 03:22:36,017 - DEBUG - VM ctest-vm1-test-65422145 is ready for SSH connections 2025-12-15 03:22:36,017 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-12-15 03:22:36,017 - DEBUG - ifconfig | grep 10.10.10.3 2025-12-15 03:22:56,375 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-12-15 03:22:56,376 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-65422145", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-12-15 03:22:56,376 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-65422145", None, socket.AF_INET6)' 2025-12-15 03:22:58,989 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-65422145, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-12-15 03:22:58,989 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-65422145 2025-12-15 03:23:01,518 - DEBUG - PING ctest-vm1-test-65422145.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-65422145.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.68 ms 64 bytes from ctest-vm1-test-65422145.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.299 ms 64 bytes from ctest-vm1-test-65422145.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.233 ms --- ctest-vm1-test-65422145.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.233/1.404/3.681/1.610 ms 2025-12-15 03:23:01,518 - INFO - Ping to IP ctest-vm1-test-65422145 from VM ctest-vm1-test-65422145 passed 2025-12-15 03:23:01,541 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-12-15 03:23:01,548 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-85937244@0%20AllEntriesVdnsRecordsReq 2025-12-15 03:23:01,554 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-12-15 03:23:01,559 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-85937244@0%20AllEntriesVdnsRecordsReq 2025-12-15 03:23:01,563 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-12-15 03:23:01,568 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-85937244@0%20AllEntriesVdnsRecordsReq 2025-12-15 03:23:01,572 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-85937244:1:ctest-vm1-test-65422145:10.10.10.3', 'rec_name': 'ctest-vm1-test-65422145', '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-4894-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-65422145.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-12-15 03:23:01,572 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-85937244:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-65422145', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-65422145', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4894-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-65422145.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '3.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'} 2025-12-15 03:23:02,813 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4894-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4894-1) 2025-12-15 03:23:02,813 - INFO - Waiting for VM ctest-vm2-test-87408245 to be up.. 2025-12-15 03:23:02,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-15 03:23:07,938 - DEBUG - VM is in ACTIVE state now 2025-12-15 03:23:07,938 - INFO - VM name : ctest-vm2-test-87408245 2025-12-15 03:23:08,019 - DEBUG - VM ctest-vm2-test-87408245 ID is 5114a66c-111e-4607-8e02-65e0a9598e44 2025-12-15 03:23:08,019 - DEBUG - VM ctest-vm2-test-87408245 launched on Node an-jenkins-deploy-platform-ansible-os-4894-1 2025-12-15 03:23:08,094 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/5114a66c-111e-4607-8e02-65e0a9598e44 2025-12-15 03:23:08,105 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a9b718d3-1ad3-4624-a468-57405dd985b2 2025-12-15 03:23:11,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 1026ms') 2025-12-15 03:23:11,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87408245 failed! 2025-12-15 03:23:11,300 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:23:15,393 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-12-15 03:23:15,394 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87408245 failed! 2025-12-15 03:23:15,411 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:23:19,489 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2025-12-15 03:23:19,489 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87408245 failed! 2025-12-15 03:23:19,504 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:23:23,575 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-12-15 03:23:23,575 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87408245 failed! 2025-12-15 03:23:23,593 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:23:27,676 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-12-15 03:23:27,676 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87408245 failed! 2025-12-15 03:23:27,690 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:23:31,768 - 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-12-15 03:23:31,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87408245 failed! 2025-12-15 03:23:31,782 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:23:35,868 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-12-15 03:23:35,869 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87408245 failed! 2025-12-15 03:23:35,884 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:23:39,963 - 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-12-15 03:23:39,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87408245 failed! 2025-12-15 03:23:39,979 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:23:44,059 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-12-15 03:23:44,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87408245 failed! 2025-12-15 03:23:44,075 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-69297450:ctest-vn1-vdns-62960337 is 10.10.10.1 and allocation pool is NOT set 2025-12-15 03:23:46,145 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.24 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.239/4.953/7.667/2.714 ms') 2025-12-15 03:23:46,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87408245 passed 2025-12-15 03:23:46,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 03:23:46,212 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87408245, IP 10.10.10.4, Port 22 2025-12-15 03:23:46,280 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-15 03:23:46,357 - DEBUG - VM ctest-vm2-test-87408245 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 03:23:51,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 03:23:51,358 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87408245, IP 10.10.10.4, Port 22 2025-12-15 03:23:51,423 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-15 03:23:51,507 - DEBUG - VM ctest-vm2-test-87408245 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 03:23:56,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 03:23:56,508 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87408245, IP 10.10.10.4, Port 22 2025-12-15 03:23:56,577 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-15 03:23:56,670 - DEBUG - VM ctest-vm2-test-87408245 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 03:24:01,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 03:24:01,671 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87408245, IP 10.10.10.4, Port 22 2025-12-15 03:24:01,740 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-15 03:24:01,824 - DEBUG - VM ctest-vm2-test-87408245 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 03:24:06,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 03:24:06,825 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87408245, IP 10.10.10.4, Port 22 2025-12-15 03:24:06,991 - DEBUG - VM ctest-vm2-test-87408245 is ready for SSH connections 2025-12-15 03:24:06,992 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-15 03:24:06,992 - DEBUG - ifconfig | grep 10.10.10.4 2025-12-15 03:24:27,177 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-12-15 03:24:27,178 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87408245", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-15 03:24:27,178 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87408245", None, socket.AF_INET6)' 2025-12-15 03:24:28,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-87408245, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-15 03:24:28,574 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-87408245 2025-12-15 03:24:31,115 - DEBUG - PING ctest-vm2-test-87408245.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-87408245.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.28 ms 64 bytes from ctest-vm2-test-87408245.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.243 ms 64 bytes from ctest-vm2-test-87408245.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.197 ms --- ctest-vm2-test-87408245.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.197/1.575/4.285/1.916 ms 2025-12-15 03:24:31,115 - INFO - Ping to IP ctest-vm2-test-87408245 from VM ctest-vm2-test-87408245 passed 2025-12-15 03:24:31,135 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-12-15 03:24:31,141 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-85937244@0%20AllEntriesVdnsRecordsReq 2025-12-15 03:24:31,145 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-12-15 03:24:31,148 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-85937244@0%20AllEntriesVdnsRecordsReq 2025-12-15 03:24:31,153 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-12-15 03:24:31,156 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-85937244@0%20AllEntriesVdnsRecordsReq 2025-12-15 03:24:31,160 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-85937244:1:ctest-vm2-test-87408245:10.10.10.4', 'rec_name': 'ctest-vm2-test-87408245', '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-4894-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-87408245.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-12-15 03:24:31,160 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-85937244:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-87408245', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-87408245', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4894-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-87408245.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '4.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'} 2025-12-15 03:24:31,161 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87408245", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-12-15 03:24:31,161 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87408245", None, socket.AF_INET6)' 2025-12-15 03:24:32,364 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-87408245, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-12-15 03:24:32,364 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-87408245 2025-12-15 03:24:34,895 - DEBUG - PING ctest-vm2-test-87408245.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-87408245.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=6.59 ms 64 bytes from ctest-vm2-test-87408245.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.53 ms 64 bytes from ctest-vm2-test-87408245.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.10 ms --- ctest-vm2-test-87408245.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.107/3.078/6.590/2.489 ms 2025-12-15 03:24:34,895 - INFO - Ping to IP ctest-vm2-test-87408245 from VM ctest-vm1-test-65422145 passed 2025-12-15 03:24:34,895 - INFO - Try deleting the VDNS entry ctest-vdns1-85937244 with back ref of ipam. 2025-12-15 03:24:34,955 - DEBUG - Delete when resource still referred: ['http://10.0.0.65:8082/network-ipam/65cc5293-8e38-4dbe-b309-be6acf7f0ee2'] 2025-12-15 03:24:34,955 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-12-15 03:24:34,955 - INFO - Add CNAME VDNS record for ctest-vm1-test-65422145 and verify we able to ping by alias name 2025-12-15 03:24:35,007 - DEBUG - Creating VDNS record data : test-rec 2025-12-15 03:24:35,136 - INFO - In verify_on_setup 2025-12-15 03:24:35,231 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-85937244', 'test-rec'] created succesfully 2025-12-15 03:24:35,232 - INFO - Verify VDNS record is shown in the API server 2025-12-15 03:24:35,232 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-15 03:24:35,238 - DEBUG - Requesting: http://10.0.0.23:8082/domain/747a8d7b-37d3-4985-88af-26a6e8bf7d0e 2025-12-15 03:24:35,251 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/9d7037a2-0267-4fdc-870b-ce42427e6d6a 2025-12-15 03:24:35,261 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS-record/7636d83a-fb08-4105-8c70-143c2d9651c5 2025-12-15 03:24:35,267 - INFO - Verify VDNS record is shown in the control node 2025-12-15 03:24:35,283 - 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.27, gateway password: c0ntrail123 2025-12-15 03:24:35,283 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-12-15 03:24:36,547 - 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.27, gateway password: c0ntrail123 2025-12-15 03:24:36,547 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-12-15 03:24:37,082 - DEBUG - ping: unknown host vm1-test-alias 2025-12-15 03:24:37,083 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-65422145 failed 2025-12-15 03:24:38,083 - 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.27, gateway password: c0ntrail123 2025-12-15 03:24:38,084 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-12-15 03:24:39,307 - 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.27, gateway password: c0ntrail123 2025-12-15 03:24:39,307 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-12-15 03:24:41,840 - DEBUG - PING ctest-vm1-test-65422145.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-65422145.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.243 ms 64 bytes from ctest-vm1-test-65422145.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=3.26 ms 64 bytes from ctest-vm1-test-65422145.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.189 ms --- ctest-vm1-test-65422145.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.189/1.231/3.261/1.435 ms 2025-12-15 03:24:41,840 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-65422145 passed 2025-12-15 03:24:41,840 - DEBUG - Deleting VDNS record data: test-rec 2025-12-15 03:24:41,939 - INFO - VDNS record info: default-domain:ctest-vdns1-85937244:test-rec deleted successfully. 2025-12-15 03:24:41,939 - INFO - Deleting VM ctest-vm2-test-87408245 2025-12-15 03:24:42,011 - INFO - Deleting VM ctest-vm1-test-65422145 2025-12-15 03:24:42,097 - INFO - Deleting VN ctest-vn1-vdns-62960337 2025-12-15 03:24:42,141 - DEBUG - VN ee26dc61-15f6-4b1b-a20d-d2a8da7d82f6 still in use: Unable to complete operation on network ee26dc61-15f6-4b1b-a20d-d2a8da7d82f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0eeed2d5-3122-4fa8-a3f8-bec148599c48'] 2025-12-15 03:24:42,142 - WARNING - Deleting VN ctest-vn1-vdns-62960337 failed..Will retry 2025-12-15 03:24:44,347 - DEBUG - Response for deleting network () 2025-12-15 03:24:44,396 - DEBUG - Deleting VDNS Entry: ctest-vdns1-85937244 2025-12-15 03:24:44,483 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-85937244'] deleted successfully. 2025-12-15 03:24:44,483 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-15 03:24:44,489 - DEBUG - Requesting: http://10.0.0.23:8082/domain/747a8d7b-37d3-4985-88af-26a6e8bf7d0e 2025-12-15 03:24:44,505 - DEBUG - VDNS information not found in API server 2025-12-15 03:24:44,505 - INFO - VDNS information ctest-vdns1-85937244 removed from the API Server 2025-12-15 03:24:44,516 - INFO - VDNS information ctest-vdns1-85937244 removed in the Control node 2025-12-15 03:24:44,516 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-69297450'] 2025-12-15 03:24:45,786 - DEBUG - No XMPP flaps were noticed during the test 2025-12-15 03:24:45,786 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:19] 2025-12-15 03:24:45,786 - INFO - -------------------------------------------------------------------------------- 2025-12-15 03:24:46,534 - INFO - Deleted project: ctest-TestvDNSBasic0-69297450, ID : 5d92d065-23a8-441f-b5b5-b27b5175ab72