2025-10-29 12:38:58,059 - INFO - Domain Default found not creating 2025-10-29 12:38:58,273 - INFO - Project ctest-TestvDNSBasic0-46604976 not found, creating it 2025-10-29 12:38:58,995 - INFO - Created Project:ctest-TestvDNSBasic0-46604976, ID : 8d7e117e-2ebe-45de-bad0-81ca3c667e13 2025-10-29 12:39:00,622 - INFO - ================================================================================ 2025-10-29 12:39:00,622 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-10-29 12:39:00,622 - 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-10-29 12:39:01,923 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0', '10.20.0.254': '0'}, '10.0.0.50': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2025-10-29 12:39:01,923 - INFO - Initial checks done. Running the testcase now 2025-10-29 12:39:01,923 - INFO - 2025-10-29 12:39:02,704 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-46604976'](8d7e117e-2ebe-45de-bad0-81ca3c667e13) 2025-10-29 12:39:02,760 - DEBUG - Creating VDNS : ctest-vdns1-74112311 2025-10-29 12:39:02,984 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-74112311'] created succesfully 2025-10-29 12:39:02,984 - DEBUG - Verify VDNS entry is shown in control node 2025-10-29 12:39:03,003 - DEBUG - Verify VDNS entry is shown in the API server 2025-10-29 12:39:03,003 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-29 12:39:03,313 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-29 12:39:03,346 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fd9d3a52-0780-4060-8425-e3c883ec81fc 2025-10-29 12:39:03,368 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/1a722288-a175-47cc-87f8-4d71463e3900 2025-10-29 12:39:04,184 - DEBUG - Response for create_network : {'network': {'id': '985f15bb-e1a1-4e03-9f30-c78221d5829f', 'name': 'ctest-vn1-vdns-53869713', 'tenant_id': '8d7e117e2ebe45debad081ca3c667e13', 'project_id': '8d7e117e2ebe45debad081ca3c667e13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-46604976', 'ctest-vn1-vdns-53869713'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 12:39:04,530 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8a24e6a-d800-400d-94f0-6afb347613dc', 'name': '', 'tenant_id': '8d7e117e2ebe45debad081ca3c667e13', 'network_id': '985f15bb-e1a1-4e03-9f30-c78221d5829f', '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': '8d7e117e2ebe45debad081ca3c667e13'}} 2025-10-29 12:39:04,563 - INFO - Created VN ctest-vn1-vdns-53869713 2025-10-29 12:39:04,582 - DEBUG - VN ctest-vn1-vdns-53869713 UUID is 985f15bb-e1a1-4e03-9f30-c78221d5829f 2025-10-29 12:39:04,805 - DEBUG - Services list from nova: [, , , ] 2025-10-29 12:39:06,016 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4521-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4521-2) 2025-10-29 12:39:06,017 - INFO - Waiting for VM ctest-vm1-test-97309543 to be up.. 2025-10-29 12:39:06,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 12:39:11,179 - DEBUG - VM is in ACTIVE state now 2025-10-29 12:39:11,179 - INFO - VM name : ctest-vm1-test-97309543 2025-10-29 12:39:11,282 - DEBUG - VM ctest-vm1-test-97309543 ID is ae9f383a-a10f-48f6-9728-e055c5fb2d19 2025-10-29 12:39:11,282 - DEBUG - VM ctest-vm1-test-97309543 launched on Node an-jenkins-deploy-platform-ansible-os-4521-2 2025-10-29 12:39:11,370 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ae9f383a-a10f-48f6-9728-e055c5fb2d19 2025-10-29 12:39:11,692 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ae9f383a-a10f-48f6-9728-e055c5fb2d19 2025-10-29 12:39:11,734 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/1393b81a-0086-40a6-9168-b1088fa7d0a0 2025-10-29 12:39:14,933 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1033ms') 2025-10-29 12:39:14,934 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-97309543 failed! 2025-10-29 12:39:14,949 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:39:19,026 - 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-10-29 12:39:19,026 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-97309543 failed! 2025-10-29 12:39:19,043 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:39:23,126 - 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-10-29 12:39:23,126 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-97309543 failed! 2025-10-29 12:39:23,144 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:39:27,220 - 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-10-29 12:39:27,220 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-97309543 failed! 2025-10-29 12:39:27,235 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:39:31,312 - 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-10-29 12:39:31,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-97309543 failed! 2025-10-29 12:39:31,332 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:39:35,415 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-10-29 12:39:35,415 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-97309543 failed! 2025-10-29 12:39:35,431 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:39:39,506 - 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-10-29 12:39:39,506 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-97309543 failed! 2025-10-29 12:39:39,521 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:39:43,603 - 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-10-29 12:39:43,603 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-97309543 failed! 2025-10-29 12:39:43,620 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:39:45,679 - 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=5.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.223/3.308/5.394/2.085 ms') 2025-10-29 12:39:45,679 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-97309543 passed 2025-10-29 12:39:45,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 12:39:45,753 - DEBUG - Waiting to SSH to VM ctest-vm1-test-97309543, IP 10.10.10.3, Port 22 2025-10-29 12:39:45,811 - 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-10-29 12:39:45,900 - DEBUG - VM ctest-vm1-test-97309543 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 12:39:50,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 12:39:50,901 - DEBUG - Waiting to SSH to VM ctest-vm1-test-97309543, IP 10.10.10.3, Port 22 2025-10-29 12:39:50,970 - 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-10-29 12:39:51,065 - DEBUG - VM ctest-vm1-test-97309543 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 12:39:56,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 12:39:56,066 - DEBUG - Waiting to SSH to VM ctest-vm1-test-97309543, IP 10.10.10.3, Port 22 2025-10-29 12:39:56,134 - 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-10-29 12:39:56,234 - DEBUG - VM ctest-vm1-test-97309543 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 12:40:01,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 12:40:01,236 - DEBUG - Waiting to SSH to VM ctest-vm1-test-97309543, IP 10.10.10.3, Port 22 2025-10-29 12:40:01,292 - 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-10-29 12:40:01,380 - DEBUG - VM ctest-vm1-test-97309543 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 12:40:06,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 12:40:06,381 - DEBUG - Waiting to SSH to VM ctest-vm1-test-97309543, IP 10.10.10.3, Port 22 2025-10-29 12:40:06,544 - DEBUG - VM ctest-vm1-test-97309543 is ready for SSH connections 2025-10-29 12:40:06,544 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-29 12:40:06,544 - DEBUG - ifconfig | grep 10.10.10.3 2025-10-29 12:40:26,275 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-29 12:40:26,276 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-97309543", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-29 12:40:26,276 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-97309543", None, socket.AF_INET6)' 2025-10-29 12:40:27,848 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-97309543, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-29 12:40:27,848 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-97309543 2025-10-29 12:40:30,376 - DEBUG - PING ctest-vm1-test-97309543.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-97309543.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=6.16 ms 64 bytes from ctest-vm1-test-97309543.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.374 ms 64 bytes from ctest-vm1-test-97309543.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.214 ms --- ctest-vm1-test-97309543.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.214/2.250/6.164/2.768 ms 2025-10-29 12:40:30,376 - INFO - Ping to IP ctest-vm1-test-97309543 from VM ctest-vm1-test-97309543 passed 2025-10-29 12:40:30,401 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-29 12:40:30,410 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-74112311@0%20AllEntriesVdnsRecordsReq 2025-10-29 12:40:30,419 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-29 12:40:30,425 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-74112311@0%20AllEntriesVdnsRecordsReq 2025-10-29 12:40:30,434 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-29 12:40:30,445 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-74112311@0%20AllEntriesVdnsRecordsReq 2025-10-29 12:40:30,450 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-74112311:1:ctest-vm1-test-97309543:10.10.10.3', 'rec_name': 'ctest-vm1-test-97309543', '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-4521-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-97309543.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-29 12:40:30,450 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-74112311:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-97309543', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-97309543', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4521-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-97309543.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-10-29 12:40:31,800 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4521-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4521-1) 2025-10-29 12:40:31,801 - INFO - Waiting for VM ctest-vm2-test-16291410 to be up.. 2025-10-29 12:40:31,847 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 12:40:36,934 - DEBUG - VM is in ACTIVE state now 2025-10-29 12:40:36,934 - INFO - VM name : ctest-vm2-test-16291410 2025-10-29 12:40:37,020 - DEBUG - VM ctest-vm2-test-16291410 ID is 022a63e0-1ffe-443d-8748-5a0ed15ca55e 2025-10-29 12:40:37,020 - DEBUG - VM ctest-vm2-test-16291410 launched on Node an-jenkins-deploy-platform-ansible-os-4521-1 2025-10-29 12:40:37,131 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/022a63e0-1ffe-443d-8748-5a0ed15ca55e 2025-10-29 12:40:37,143 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c43de4e4-9fd1-4bd8-8c97-082aab112725 2025-10-29 12:40:40,339 - 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 1029ms') 2025-10-29 12:40:40,339 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-16291410 failed! 2025-10-29 12:40:40,354 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:40:44,440 - 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-10-29 12:40:44,440 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-16291410 failed! 2025-10-29 12:40:44,455 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:40:48,534 - 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-10-29 12:40:48,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-16291410 failed! 2025-10-29 12:40:48,550 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:40:52,633 - 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-10-29 12:40:52,633 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-16291410 failed! 2025-10-29 12:40:52,648 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:40:56,725 - 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-10-29 12:40:56,725 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-16291410 failed! 2025-10-29 12:40:56,742 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:41:00,826 - 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-10-29 12:41:00,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-16291410 failed! 2025-10-29 12:41:00,842 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:41:04,916 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2025-10-29 12:41:04,916 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-16291410 failed! 2025-10-29 12:41:04,935 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:41:09,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 1018ms') 2025-10-29 12:41:09,014 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-16291410 failed! 2025-10-29 12:41:09,028 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:41:13,112 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-10-29 12:41:13,112 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-16291410 failed! 2025-10-29 12:41:13,126 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46604976:ctest-vn1-vdns-53869713 is 10.10.10.1 and allocation pool is NOT set 2025-10-29 12:41:15,187 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.632 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 = 0.632/4.096/7.560/3.464 ms') 2025-10-29 12:41:15,187 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-16291410 passed 2025-10-29 12:41:15,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 12:41:15,257 - DEBUG - Waiting to SSH to VM ctest-vm2-test-16291410, IP 10.10.10.4, Port 22 2025-10-29 12:41:15,329 - 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-10-29 12:41:15,415 - DEBUG - VM ctest-vm2-test-16291410 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 12:41:20,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 12:41:20,416 - DEBUG - Waiting to SSH to VM ctest-vm2-test-16291410, IP 10.10.10.4, Port 22 2025-10-29 12:41:20,475 - 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-10-29 12:41:20,568 - DEBUG - VM ctest-vm2-test-16291410 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 12:41:25,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 12:41:25,570 - DEBUG - Waiting to SSH to VM ctest-vm2-test-16291410, IP 10.10.10.4, Port 22 2025-10-29 12:41:25,637 - 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-10-29 12:41:25,731 - DEBUG - VM ctest-vm2-test-16291410 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 12:41:30,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 12:41:30,732 - DEBUG - Waiting to SSH to VM ctest-vm2-test-16291410, IP 10.10.10.4, Port 22 2025-10-29 12:41:30,800 - 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-10-29 12:41:30,888 - DEBUG - VM ctest-vm2-test-16291410 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 12:41:35,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 12:41:35,888 - DEBUG - Waiting to SSH to VM ctest-vm2-test-16291410, IP 10.10.10.4, Port 22 2025-10-29 12:41:36,056 - DEBUG - VM ctest-vm2-test-16291410 is ready for SSH connections 2025-10-29 12:41:36,057 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-29 12:41:36,057 - DEBUG - ifconfig | grep 10.10.10.4 2025-10-29 12:41:58,224 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-10-29 12:41:58,225 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-16291410", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-29 12:41:58,225 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-16291410", None, socket.AF_INET6)' 2025-10-29 12:42:00,722 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-16291410, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-29 12:42:00,722 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-16291410 2025-10-29 12:42:03,270 - DEBUG - PING ctest-vm2-test-16291410.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-16291410.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.73 ms 64 bytes from ctest-vm2-test-16291410.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.486 ms 64 bytes from ctest-vm2-test-16291410.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.321 ms --- ctest-vm2-test-16291410.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.321/1.514/3.737/1.573 ms 2025-10-29 12:42:03,270 - INFO - Ping to IP ctest-vm2-test-16291410 from VM ctest-vm2-test-16291410 passed 2025-10-29 12:42:03,294 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-29 12:42:03,301 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-74112311@0%20AllEntriesVdnsRecordsReq 2025-10-29 12:42:03,306 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-29 12:42:03,313 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-74112311@0%20AllEntriesVdnsRecordsReq 2025-10-29 12:42:03,318 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-10-29 12:42:03,325 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-74112311@0%20AllEntriesVdnsRecordsReq 2025-10-29 12:42:03,330 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-74112311:1:ctest-vm2-test-16291410:10.10.10.4', 'rec_name': 'ctest-vm2-test-16291410', '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-4521-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-16291410.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-10-29 12:42:03,330 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-74112311:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-16291410', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-16291410', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4521-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-16291410.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-10-29 12:42:03,330 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-16291410", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-29 12:42:03,330 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-16291410", None, socket.AF_INET6)' 2025-10-29 12:42:04,589 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-16291410, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-29 12:42:04,589 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-16291410 2025-10-29 12:42:07,153 - DEBUG - PING ctest-vm2-test-16291410.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-16291410.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.74 ms 64 bytes from ctest-vm2-test-16291410.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.50 ms 64 bytes from ctest-vm2-test-16291410.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=4.28 ms --- ctest-vm2-test-16291410.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.509/4.512/7.740/2.549 ms 2025-10-29 12:42:07,153 - INFO - Ping to IP ctest-vm2-test-16291410 from VM ctest-vm1-test-97309543 passed 2025-10-29 12:42:07,153 - INFO - Try deleting the VDNS entry ctest-vdns1-74112311 with back ref of ipam. 2025-10-29 12:42:07,212 - DEBUG - Delete when resource still referred: ['http://10.0.0.48:8082/network-ipam/fbb9f113-cb49-4127-9a66-38149a739ee1'] 2025-10-29 12:42:07,212 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-10-29 12:42:07,212 - INFO - Add CNAME VDNS record for ctest-vm1-test-97309543 and verify we able to ping by alias name 2025-10-29 12:42:07,260 - DEBUG - Creating VDNS record data : test-rec 2025-10-29 12:42:07,388 - INFO - In verify_on_setup 2025-10-29 12:42:07,488 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-74112311', 'test-rec'] created succesfully 2025-10-29 12:42:07,488 - INFO - Verify VDNS record is shown in the API server 2025-10-29 12:42:07,488 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-29 12:42:07,495 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fd9d3a52-0780-4060-8425-e3c883ec81fc 2025-10-29 12:42:07,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/1a722288-a175-47cc-87f8-4d71463e3900 2025-10-29 12:42:07,524 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/f6debff2-9fe0-4b6e-b2d1-2ccbe059a4df 2025-10-29 12:42:07,533 - INFO - Verify VDNS record is shown in the control node 2025-10-29 12:42:07,555 - 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.50, gateway password: c0ntrail123 2025-10-29 12:42:07,555 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-29 12:42:08,898 - 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.50, gateway password: c0ntrail123 2025-10-29 12:42:08,898 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-29 12:42:09,429 - DEBUG - ping: unknown host vm1-test-alias 2025-10-29 12:42:09,429 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-97309543 failed 2025-10-29 12:42:10,430 - 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.50, gateway password: c0ntrail123 2025-10-29 12:42:10,430 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-10-29 12:42:11,588 - 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.50, gateway password: c0ntrail123 2025-10-29 12:42:11,588 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-10-29 12:42:14,118 - DEBUG - PING ctest-vm1-test-97309543.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-97309543.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.247 ms 64 bytes from ctest-vm1-test-97309543.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.221 ms 64 bytes from ctest-vm1-test-97309543.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.279 ms --- ctest-vm1-test-97309543.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.221/0.249/0.279/0.023 ms 2025-10-29 12:42:14,118 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-97309543 passed 2025-10-29 12:42:14,118 - DEBUG - Deleting VDNS record data: test-rec 2025-10-29 12:42:14,208 - INFO - VDNS record info: default-domain:ctest-vdns1-74112311:test-rec deleted successfully. 2025-10-29 12:42:14,208 - INFO - Deleting VM ctest-vm2-test-16291410 2025-10-29 12:42:14,298 - INFO - Deleting VM ctest-vm1-test-97309543 2025-10-29 12:42:14,387 - INFO - Deleting VN ctest-vn1-vdns-53869713 2025-10-29 12:42:14,442 - DEBUG - VN 985f15bb-e1a1-4e03-9f30-c78221d5829f still in use: Unable to complete operation on network 985f15bb-e1a1-4e03-9f30-c78221d5829f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ceab6e4-6caa-4a39-a29a-c9c97408d099'] 2025-10-29 12:42:14,442 - WARNING - Deleting VN ctest-vn1-vdns-53869713 failed..Will retry 2025-10-29 12:42:16,652 - DEBUG - Response for deleting network () 2025-10-29 12:42:16,729 - DEBUG - Deleting VDNS Entry: ctest-vdns1-74112311 2025-10-29 12:42:16,836 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-74112311'] deleted successfully. 2025-10-29 12:42:16,836 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-29 12:42:16,843 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fd9d3a52-0780-4060-8425-e3c883ec81fc 2025-10-29 12:42:16,857 - DEBUG - VDNS information not found in API server 2025-10-29 12:42:16,857 - INFO - VDNS information ctest-vdns1-74112311 removed from the API Server 2025-10-29 12:42:16,864 - INFO - VDNS information ctest-vdns1-74112311 removed in the Control node 2025-10-29 12:42:16,865 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-46604976'] 2025-10-29 12:42:18,180 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 12:42:18,180 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:18] 2025-10-29 12:42:18,184 - INFO - -------------------------------------------------------------------------------- 2025-10-29 12:42:18,939 - INFO - Deleted project: ctest-TestvDNSBasic0-46604976, ID : 8d7e117e-2ebe-45de-bad0-81ca3c667e13