2026-06-18 16:35:22,521 - INFO - Domain Default found not creating 2026-06-18 16:35:22,675 - INFO - Project ctest-TestvDNSBasic0-27642586 not found, creating it 2026-06-18 16:35:23,173 - INFO - Created Project:ctest-TestvDNSBasic0-27642586, ID : 1560be93-94ab-4e22-ad73-e849d0ba907d 2026-06-18 16:35:25,389 - INFO - ================================================================================ 2026-06-18 16:35:25,389 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-06-18 16:35:25,389 - 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 2026-06-18 16:35:26,654 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.129': {'10.20.0.14': '0', '10.20.0.25': '0'}} with 2026-06-18 16:35:26,654 - INFO - Initial checks done. Running the testcase now 2026-06-18 16:35:26,654 - INFO - 2026-06-18 16:35:27,390 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-27642586'](1560be93-94ab-4e22-ad73-e849d0ba907d) 2026-06-18 16:35:27,442 - DEBUG - Creating VDNS : ctest-vdns1-87508228 2026-06-18 16:35:27,666 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-87508228'] created succesfully 2026-06-18 16:35:27,666 - DEBUG - Verify VDNS entry is shown in control node 2026-06-18 16:35:27,682 - DEBUG - Verify VDNS entry is shown in the API server 2026-06-18 16:35:27,682 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-18 16:35:28,002 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-18 16:35:28,030 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9fac9674-3f03-42e2-9600-3ff953e8979b 2026-06-18 16:35:28,047 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/6ab7558f-840a-472f-978b-99b84d4d4c4b 2026-06-18 16:35:28,739 - DEBUG - Response for create_network : {'network': {'id': '3de39155-626f-4265-af08-5e6ee7f7f155', 'name': 'ctest-vn1-vdns-00660869', 'tenant_id': '1560be9394ab4e22ad73e849d0ba907d', 'project_id': '1560be9394ab4e22ad73e849d0ba907d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-27642586', 'ctest-vn1-vdns-00660869'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 16:35:29,018 - DEBUG - Response for create_subnet : {'subnet': {'id': '84e52187-ce7a-40d2-8843-810899ff551a', 'name': '', 'tenant_id': '1560be9394ab4e22ad73e849d0ba907d', 'network_id': '3de39155-626f-4265-af08-5e6ee7f7f155', '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': '1560be9394ab4e22ad73e849d0ba907d'}} 2026-06-18 16:35:29,036 - INFO - Created VN ctest-vn1-vdns-00660869 2026-06-18 16:35:29,048 - DEBUG - VN ctest-vn1-vdns-00660869 UUID is 3de39155-626f-4265-af08-5e6ee7f7f155 2026-06-18 16:35:29,211 - DEBUG - Services list from nova: [, , , ] 2026-06-18 16:35:30,309 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5988-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5988-1) 2026-06-18 16:35:30,309 - INFO - Waiting for VM ctest-vm1-test-18691751 to be up.. 2026-06-18 16:35:30,346 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 16:35:35,450 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 16:35:40,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 16:35:45,647 - DEBUG - VM is in ACTIVE state now 2026-06-18 16:35:45,647 - INFO - VM name : ctest-vm1-test-18691751 2026-06-18 16:35:45,737 - DEBUG - VM ctest-vm1-test-18691751 ID is ae812d73-2052-49da-8a02-ef353550a35a 2026-06-18 16:35:45,737 - DEBUG - VM ctest-vm1-test-18691751 launched on Node an-jenkins-deploy-platform-ansible-os-5988-1 2026-06-18 16:35:45,816 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ae812d73-2052-49da-8a02-ef353550a35a 2026-06-18 16:35:46,143 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ae812d73-2052-49da-8a02-ef353550a35a 2026-06-18 16:35:46,171 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/358a04f2-ba4f-4e87-a381-579846836f44 2026-06-18 16:35:49,324 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2026-06-18 16:35:49,324 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-18691751 failed! 2026-06-18 16:35:49,337 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27642586:ctest-vn1-vdns-00660869 is 10.10.10.1 and allocation pool is NOT set 2026-06-18 16:35:53,425 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-06-18 16:35:53,425 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-18691751 failed! 2026-06-18 16:35:53,440 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27642586:ctest-vn1-vdns-00660869 is 10.10.10.1 and allocation pool is NOT set 2026-06-18 16:35:57,520 - 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') 2026-06-18 16:35:57,520 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-18691751 failed! 2026-06-18 16:35:57,534 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27642586:ctest-vn1-vdns-00660869 is 10.10.10.1 and allocation pool is NOT set 2026-06-18 16:36:01,617 - 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') 2026-06-18 16:36:01,617 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-18691751 failed! 2026-06-18 16:36:01,634 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27642586:ctest-vn1-vdns-00660869 is 10.10.10.1 and allocation pool is NOT set 2026-06-18 16:36:05,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 1010ms') 2026-06-18 16:36:05,707 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-18691751 failed! 2026-06-18 16:36:05,722 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27642586:ctest-vn1-vdns-00660869 is 10.10.10.1 and allocation pool is NOT set 2026-06-18 16:36:07,788 - 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=4.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.493 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.493/2.381/4.269/1.888 ms') 2026-06-18 16:36:07,788 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-18691751 passed 2026-06-18 16:36:07,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:36:07,855 - DEBUG - Waiting to SSH to VM ctest-vm1-test-18691751, IP 10.10.10.3, Port 22 2026-06-18 16:36:07,921 - 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': ''} 2026-06-18 16:36:07,997 - DEBUG - VM ctest-vm1-test-18691751 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 16:36:12,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:36:12,998 - DEBUG - Waiting to SSH to VM ctest-vm1-test-18691751, IP 10.10.10.3, Port 22 2026-06-18 16:36:13,065 - 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': ''} 2026-06-18 16:36:13,144 - DEBUG - VM ctest-vm1-test-18691751 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 16:36:18,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:36:18,144 - DEBUG - Waiting to SSH to VM ctest-vm1-test-18691751, IP 10.10.10.3, Port 22 2026-06-18 16:36:18,316 - DEBUG - VM ctest-vm1-test-18691751 is ready for SSH connections 2026-06-18 16:36:18,316 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-18 16:36:18,316 - DEBUG - ifconfig | grep 10.10.10.3 2026-06-18 16:36:23,580 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-06-18 16:36:23,580 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-18691751", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-18 16:36:23,581 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-18691751", None, socket.AF_INET6)' 2026-06-18 16:36:25,306 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-18691751, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-18 16:36:25,306 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-18691751 2026-06-18 16:36:27,721 - DEBUG - PING ctest-vm1-test-18691751.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-18691751.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.75 ms 64 bytes from ctest-vm1-test-18691751.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.256 ms 64 bytes from ctest-vm1-test-18691751.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.222 ms --- ctest-vm1-test-18691751.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.222/0.745/1.759/0.717 ms 2026-06-18 16:36:27,721 - INFO - Ping to IP ctest-vm1-test-18691751 from VM ctest-vm1-test-18691751 passed 2026-06-18 16:36:27,746 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-18 16:36:27,752 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87508228@0%20AllEntriesVdnsRecordsReq 2026-06-18 16:36:27,756 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-18 16:36:27,761 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87508228@0%20AllEntriesVdnsRecordsReq 2026-06-18 16:36:27,765 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-18 16:36:27,770 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87508228@0%20AllEntriesVdnsRecordsReq 2026-06-18 16:36:27,774 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87508228:1:ctest-vm1-test-18691751:10.10.10.3', 'rec_name': 'ctest-vm1-test-18691751', '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-5988-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-18691751.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-06-18 16:36:27,774 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87508228:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-18691751', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-18691751', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5988-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-18691751.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'} 2026-06-18 16:36:29,117 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5988-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5988-2) 2026-06-18 16:36:29,117 - INFO - Waiting for VM ctest-vm2-test-13152624 to be up.. 2026-06-18 16:36:29,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 16:36:34,240 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 16:36:39,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 16:36:44,416 - DEBUG - VM is in ACTIVE state now 2026-06-18 16:36:44,416 - INFO - VM name : ctest-vm2-test-13152624 2026-06-18 16:36:44,515 - DEBUG - VM ctest-vm2-test-13152624 ID is a92e99ca-bb1b-48c5-bbbe-140d37b3e346 2026-06-18 16:36:44,515 - DEBUG - VM ctest-vm2-test-13152624 launched on Node an-jenkins-deploy-platform-ansible-os-5988-2 2026-06-18 16:36:44,591 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a92e99ca-bb1b-48c5-bbbe-140d37b3e346 2026-06-18 16:36:44,602 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8b870cac-6436-488b-aba0-0dd84150da77 2026-06-18 16:36:47,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 1007ms') 2026-06-18 16:36:47,768 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13152624 failed! 2026-06-18 16:36:47,785 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27642586:ctest-vn1-vdns-00660869 is 10.10.10.1 and allocation pool is NOT set 2026-06-18 16:36:51,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 1019ms') 2026-06-18 16:36:51,868 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13152624 failed! 2026-06-18 16:36:51,883 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27642586:ctest-vn1-vdns-00660869 is 10.10.10.1 and allocation pool is NOT set 2026-06-18 16:36:55,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 1015ms') 2026-06-18 16:36:55,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13152624 failed! 2026-06-18 16:36:55,978 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27642586:ctest-vn1-vdns-00660869 is 10.10.10.1 and allocation pool is NOT set 2026-06-18 16:37:00,060 - 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') 2026-06-18 16:37:00,060 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13152624 failed! 2026-06-18 16:37:00,074 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27642586:ctest-vn1-vdns-00660869 is 10.10.10.1 and allocation pool is NOT set 2026-06-18 16:37:04,154 - 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') 2026-06-18 16:37:04,154 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13152624 failed! 2026-06-18 16:37:04,169 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27642586:ctest-vn1-vdns-00660869 is 10.10.10.1 and allocation pool is NOT set 2026-06-18 16:37:06,243 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.92 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.917/4.337/6.758/2.420 ms') 2026-06-18 16:37:06,243 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13152624 passed 2026-06-18 16:37:06,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:37:06,310 - DEBUG - Waiting to SSH to VM ctest-vm2-test-13152624, IP 10.10.10.4, Port 22 2026-06-18 16:37:06,376 - 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': ''} 2026-06-18 16:37:06,460 - DEBUG - VM ctest-vm2-test-13152624 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 16:37:11,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:37:11,461 - DEBUG - Waiting to SSH to VM ctest-vm2-test-13152624, IP 10.10.10.4, Port 22 2026-06-18 16:37:11,518 - 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': ''} 2026-06-18 16:37:11,601 - DEBUG - VM ctest-vm2-test-13152624 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 16:37:16,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:37:16,602 - DEBUG - Waiting to SSH to VM ctest-vm2-test-13152624, IP 10.10.10.4, Port 22 2026-06-18 16:37:16,758 - DEBUG - VM ctest-vm2-test-13152624 is ready for SSH connections 2026-06-18 16:37:16,758 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-18 16:37:16,758 - DEBUG - ifconfig | grep 10.10.10.4 2026-06-18 16:37:22,580 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-06-18 16:37:22,581 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-13152624", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-18 16:37:22,581 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-13152624", None, socket.AF_INET6)' 2026-06-18 16:37:24,447 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-13152624, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-18 16:37:24,448 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-13152624 2026-06-18 16:37:26,840 - DEBUG - PING ctest-vm2-test-13152624.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-13152624.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.18 ms 64 bytes from ctest-vm2-test-13152624.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.216 ms 64 bytes from ctest-vm2-test-13152624.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.341 ms --- ctest-vm2-test-13152624.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.216/0.912/2.180/0.898 ms 2026-06-18 16:37:26,841 - INFO - Ping to IP ctest-vm2-test-13152624 from VM ctest-vm2-test-13152624 passed 2026-06-18 16:37:26,868 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-18 16:37:26,874 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87508228@0%20AllEntriesVdnsRecordsReq 2026-06-18 16:37:26,883 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-18 16:37:26,891 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87508228@0%20AllEntriesVdnsRecordsReq 2026-06-18 16:37:26,899 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-06-18 16:37:26,905 - DEBUG - Requesting: http://10.0.0.249:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87508228@0%20AllEntriesVdnsRecordsReq 2026-06-18 16:37:26,912 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87508228:1:ctest-vm2-test-13152624:10.10.10.4', 'rec_name': 'ctest-vm2-test-13152624', '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-5988-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-13152624.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-06-18 16:37:26,913 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87508228:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-13152624', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-13152624', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5988-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-13152624.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'} 2026-06-18 16:37:26,913 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-13152624", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-18 16:37:26,913 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-13152624", None, socket.AF_INET6)' 2026-06-18 16:37:27,749 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-13152624, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-18 16:37:27,749 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-13152624 2026-06-18 16:37:30,020 - DEBUG - PING ctest-vm2-test-13152624.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-13152624.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.2 ms 64 bytes from ctest-vm2-test-13152624.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.14 ms 64 bytes from ctest-vm2-test-13152624.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.21 ms --- ctest-vm2-test-13152624.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.149/4.195/10.221/4.261 ms 2026-06-18 16:37:30,020 - INFO - Ping to IP ctest-vm2-test-13152624 from VM ctest-vm1-test-18691751 passed 2026-06-18 16:37:30,020 - INFO - Try deleting the VDNS entry ctest-vdns1-87508228 with back ref of ipam. 2026-06-18 16:37:30,078 - DEBUG - Delete when resource still referred: ['http://10.0.0.22:8082/network-ipam/fdf0c71e-f67c-474a-8c62-921bdffe0210'] 2026-06-18 16:37:30,078 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-06-18 16:37:30,078 - INFO - Add CNAME VDNS record for ctest-vm1-test-18691751 and verify we able to ping by alias name 2026-06-18 16:37:30,126 - DEBUG - Creating VDNS record data : test-rec 2026-06-18 16:37:30,242 - INFO - In verify_on_setup 2026-06-18 16:37:30,338 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-87508228', 'test-rec'] created succesfully 2026-06-18 16:37:30,338 - INFO - Verify VDNS record is shown in the API server 2026-06-18 16:37:30,338 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-18 16:37:30,344 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9fac9674-3f03-42e2-9600-3ff953e8979b 2026-06-18 16:37:30,382 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS/6ab7558f-840a-472f-978b-99b84d4d4c4b 2026-06-18 16:37:30,394 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-DNS-record/b14600f8-9c18-4a25-82d5-e6079bccd97e 2026-06-18 16:37:30,401 - INFO - Verify VDNS record is shown in the control node 2026-06-18 16:37:30,417 - 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.19, gateway password: c0ntrail123 2026-06-18 16:37:30,417 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-06-18 16:37:31,176 - 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.19, gateway password: c0ntrail123 2026-06-18 16:37:31,176 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-06-18 16:37:31,413 - DEBUG - ping: unknown host vm1-test-alias 2026-06-18 16:37:31,413 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-18691751 failed 2026-06-18 16:37:32,414 - 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.19, gateway password: c0ntrail123 2026-06-18 16:37:32,414 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-06-18 16:37:33,168 - 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.19, gateway password: c0ntrail123 2026-06-18 16:37:33,168 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-06-18 16:37:35,414 - DEBUG - PING ctest-vm1-test-18691751.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-18691751.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.89 ms 64 bytes from ctest-vm1-test-18691751.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.221 ms 64 bytes from ctest-vm1-test-18691751.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.217 ms --- ctest-vm1-test-18691751.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.217/0.778/1.898/0.792 ms 2026-06-18 16:37:35,414 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-18691751 passed 2026-06-18 16:37:35,414 - DEBUG - Deleting VDNS record data: test-rec 2026-06-18 16:37:35,498 - INFO - VDNS record info: default-domain:ctest-vdns1-87508228:test-rec deleted successfully. 2026-06-18 16:37:35,498 - INFO - Deleting VM ctest-vm2-test-13152624 2026-06-18 16:37:35,570 - INFO - Deleting VM ctest-vm1-test-18691751 2026-06-18 16:37:35,636 - INFO - Deleting VN ctest-vn1-vdns-00660869 2026-06-18 16:37:35,669 - DEBUG - VN 3de39155-626f-4265-af08-5e6ee7f7f155 still in use: Unable to complete operation on network 3de39155-626f-4265-af08-5e6ee7f7f155. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0cbced8-fb5a-4bfd-92df-60fb5f66a79e'] 2026-06-18 16:37:35,669 - WARNING - Deleting VN ctest-vn1-vdns-00660869 failed..Will retry 2026-06-18 16:37:37,725 - DEBUG - VN 3de39155-626f-4265-af08-5e6ee7f7f155 still in use: Unable to complete operation on network 3de39155-626f-4265-af08-5e6ee7f7f155. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e479a9f-7579-4926-806c-8b56001fbd8b'] 2026-06-18 16:37:37,725 - WARNING - Deleting VN ctest-vn1-vdns-00660869 failed..Will retry 2026-06-18 16:37:39,914 - DEBUG - Response for deleting network () 2026-06-18 16:37:39,979 - DEBUG - Deleting VDNS Entry: ctest-vdns1-87508228 2026-06-18 16:37:40,082 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-87508228'] deleted successfully. 2026-06-18 16:37:40,082 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-18 16:37:40,088 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9fac9674-3f03-42e2-9600-3ff953e8979b 2026-06-18 16:37:40,102 - DEBUG - VDNS information not found in API server 2026-06-18 16:37:40,102 - INFO - VDNS information ctest-vdns1-87508228 removed from the API Server 2026-06-18 16:37:40,106 - INFO - VDNS information ctest-vdns1-87508228 removed in the Control node 2026-06-18 16:37:40,106 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-27642586'] 2026-06-18 16:37:41,368 - DEBUG - No XMPP flaps were noticed during the test
2026-06-18 16:37:41,368 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:16]
2026-06-18 16:37:41,368 - INFO - -------------------------------------------------------------------------------- 2026-06-18 16:37:42,160 - INFO - Deleted project: ctest-TestvDNSBasic0-27642586, ID : 1560be93-94ab-4e22-ad73-e849d0ba907d