2025-11-10 03:02:20,164 - INFO - Domain Default found not creating 2025-11-10 03:02:20,318 - INFO - Project ctest-TestvDNSBasic0-86458026 not found, creating it 2025-11-10 03:02:20,873 - INFO - Created Project:ctest-TestvDNSBasic0-86458026, ID : ad36422c-4611-4281-927c-ac8d53e87e4b 2025-11-10 03:02:22,510 - INFO - ================================================================================ 2025-11-10 03:02:22,510 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-11-10 03:02:22,510 - 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-11-10 03:02:23,816 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.130': {'10.20.0.193': '0', '10.20.0.18': '0'}} with 2025-11-10 03:02:23,816 - INFO - Initial checks done. Running the testcase now 2025-11-10 03:02:23,817 - INFO - 2025-11-10 03:02:24,545 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-86458026'](ad36422c-4611-4281-927c-ac8d53e87e4b) 2025-11-10 03:02:24,601 - DEBUG - Creating VDNS : ctest-vdns1-13966612 2025-11-10 03:02:24,837 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-13966612'] created succesfully 2025-11-10 03:02:24,837 - DEBUG - Verify VDNS entry is shown in control node 2025-11-10 03:02:24,862 - DEBUG - Verify VDNS entry is shown in the API server 2025-11-10 03:02:24,862 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-10 03:02:25,163 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-10 03:02:25,209 - DEBUG - Requesting: http://10.0.0.22:8082/domain/dbdabfa7-f87c-4117-b05b-68cc6fd252ce 2025-11-10 03:02:25,258 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/17d4e322-1a3e-4a95-b530-dd25aa90c631 2025-11-10 03:02:26,096 - DEBUG - Response for create_network : {'network': {'id': 'fdf17697-f5f8-47e3-b27b-63ad89a26362', 'name': 'ctest-vn1-vdns-42459189', 'tenant_id': 'ad36422c46114281927cac8d53e87e4b', 'project_id': 'ad36422c46114281927cac8d53e87e4b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-86458026', 'ctest-vn1-vdns-42459189'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 03:02:26,423 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da76c14f-826f-4460-a04d-b741b6939f73', 'name': '', 'tenant_id': 'ad36422c46114281927cac8d53e87e4b', 'network_id': 'fdf17697-f5f8-47e3-b27b-63ad89a26362', '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': 'ad36422c46114281927cac8d53e87e4b'}} 2025-11-10 03:02:26,456 - INFO - Created VN ctest-vn1-vdns-42459189 2025-11-10 03:02:26,467 - DEBUG - VN ctest-vn1-vdns-42459189 UUID is fdf17697-f5f8-47e3-b27b-63ad89a26362 2025-11-10 03:02:26,682 - DEBUG - Services list from nova: [, , , ] 2025-11-10 03:02:27,773 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4674-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4674-1) 2025-11-10 03:02:27,773 - INFO - Waiting for VM ctest-vm1-test-98905063 to be up.. 2025-11-10 03:02:27,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 03:02:32,909 - DEBUG - VM is in ACTIVE state now 2025-11-10 03:02:32,910 - INFO - VM name : ctest-vm1-test-98905063 2025-11-10 03:02:32,999 - DEBUG - VM ctest-vm1-test-98905063 ID is 70993e9c-b336-42af-8a4c-615b8ec28116 2025-11-10 03:02:33,000 - DEBUG - VM ctest-vm1-test-98905063 launched on Node an-jenkins-deploy-platform-ansible-os-4674-1 2025-11-10 03:02:33,099 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/70993e9c-b336-42af-8a4c-615b8ec28116 2025-11-10 03:02:33,403 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/70993e9c-b336-42af-8a4c-615b8ec28116 2025-11-10 03:02:33,437 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5a6f870e-169b-4179-80ea-814843ace772 2025-11-10 03:02:36,620 - 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-11-10 03:02:36,620 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-98905063 failed! 2025-11-10 03:02:36,637 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:02:40,727 - 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-11-10 03:02:40,728 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-98905063 failed! 2025-11-10 03:02:40,746 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:02:44,820 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2025-11-10 03:02:44,820 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-98905063 failed! 2025-11-10 03:02:44,838 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:02:48,911 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2025-11-10 03:02:48,911 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-98905063 failed! 2025-11-10 03:02:48,929 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:02:53,006 - 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-11-10 03:02:53,006 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-98905063 failed! 2025-11-10 03:02:53,021 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:02:57,104 - 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-11-10 03:02:57,104 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-98905063 failed! 2025-11-10 03:02:57,120 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:03:01,201 - 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-11-10 03:03:01,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-98905063 failed! 2025-11-10 03:03:01,221 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:03:05,296 - 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-11-10 03:03:05,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-98905063 failed! 2025-11-10 03:03:05,312 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:03:07,377 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.40 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.398/4.509/6.620/2.111 ms') 2025-11-10 03:03:07,377 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-98905063 passed 2025-11-10 03:03:07,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 03:03:07,451 - DEBUG - Waiting to SSH to VM ctest-vm1-test-98905063, IP 10.10.10.3, Port 22 2025-11-10 03:03:07,510 - 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-11-10 03:03:07,607 - DEBUG - VM ctest-vm1-test-98905063 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 03:03:12,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 03:03:12,608 - DEBUG - Waiting to SSH to VM ctest-vm1-test-98905063, IP 10.10.10.3, Port 22 2025-11-10 03:03:12,665 - 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-11-10 03:03:12,746 - DEBUG - VM ctest-vm1-test-98905063 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 03:03:17,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 03:03:17,747 - DEBUG - Waiting to SSH to VM ctest-vm1-test-98905063, IP 10.10.10.3, Port 22 2025-11-10 03:03:17,816 - 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-11-10 03:03:17,914 - DEBUG - VM ctest-vm1-test-98905063 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 03:03:22,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 03:03:22,915 - DEBUG - Waiting to SSH to VM ctest-vm1-test-98905063, IP 10.10.10.3, Port 22 2025-11-10 03:03:22,995 - 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-11-10 03:03:23,087 - DEBUG - VM ctest-vm1-test-98905063 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 03:03:28,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 03:03:28,087 - DEBUG - Waiting to SSH to VM ctest-vm1-test-98905063, IP 10.10.10.3, Port 22 2025-11-10 03:03:28,246 - DEBUG - VM ctest-vm1-test-98905063 is ready for SSH connections 2025-11-10 03:03:28,247 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 03:03:28,247 - DEBUG - ifconfig | grep 10.10.10.3 2025-11-10 03:03:47,371 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-11-10 03:03:47,372 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-98905063", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 03:03:47,372 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-98905063", None, socket.AF_INET6)' 2025-11-10 03:03:48,692 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-98905063, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 03:03:48,692 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-98905063 2025-11-10 03:03:51,221 - DEBUG - PING ctest-vm1-test-98905063.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-98905063.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.62 ms 64 bytes from ctest-vm1-test-98905063.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.237 ms 64 bytes from ctest-vm1-test-98905063.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.314 ms --- ctest-vm1-test-98905063.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.237/1.391/3.624/1.579 ms 2025-11-10 03:03:51,221 - INFO - Ping to IP ctest-vm1-test-98905063 from VM ctest-vm1-test-98905063 passed 2025-11-10 03:03:51,250 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-10 03:03:51,259 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-13966612@0%20AllEntriesVdnsRecordsReq 2025-11-10 03:03:51,265 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-10 03:03:51,270 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-13966612@0%20AllEntriesVdnsRecordsReq 2025-11-10 03:03:51,276 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-10 03:03:51,281 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-13966612@0%20AllEntriesVdnsRecordsReq 2025-11-10 03:03:51,286 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-13966612:1:ctest-vm1-test-98905063:10.10.10.3', 'rec_name': 'ctest-vm1-test-98905063', '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-4674-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-98905063.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-11-10 03:03:51,286 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-13966612:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-98905063', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-98905063', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4674-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-98905063.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-11-10 03:03:52,591 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4674-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4674-2) 2025-11-10 03:03:52,591 - INFO - Waiting for VM ctest-vm2-test-47018300 to be up.. 2025-11-10 03:03:52,640 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 03:03:57,731 - DEBUG - VM is in ACTIVE state now 2025-11-10 03:03:57,732 - INFO - VM name : ctest-vm2-test-47018300 2025-11-10 03:03:57,818 - DEBUG - VM ctest-vm2-test-47018300 ID is e39300ed-1e2c-4c40-9237-00c8b309b76b 2025-11-10 03:03:57,818 - DEBUG - VM ctest-vm2-test-47018300 launched on Node an-jenkins-deploy-platform-ansible-os-4674-2 2025-11-10 03:03:57,914 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e39300ed-1e2c-4c40-9237-00c8b309b76b 2025-11-10 03:03:57,926 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/e00756f5-17c5-4cde-937f-bb66f443bbd9 2025-11-10 03:04:01,106 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms') 2025-11-10 03:04:01,106 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-47018300 failed! 2025-11-10 03:04:01,122 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:04:05,204 - 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-11-10 03:04:05,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-47018300 failed! 2025-11-10 03:04:05,220 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:04:09,296 - 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-11-10 03:04:09,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-47018300 failed! 2025-11-10 03:04:09,314 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:04:13,389 - 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-11-10 03:04:13,389 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-47018300 failed! 2025-11-10 03:04:13,406 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:04:17,487 - 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-11-10 03:04:17,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-47018300 failed! 2025-11-10 03:04:17,504 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:04:21,585 - 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-11-10 03:04:21,585 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-47018300 failed! 2025-11-10 03:04:21,599 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:04:25,673 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-11-10 03:04:25,673 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-47018300 failed! 2025-11-10 03:04:25,687 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:04:29,771 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-11-10 03:04:29,771 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-47018300 failed! 2025-11-10 03:04:29,789 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:04:33,873 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-11-10 03:04:33,873 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-47018300 failed! 2025-11-10 03:04:33,887 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-86458026:ctest-vn1-vdns-42459189 is 10.10.10.1 and allocation pool is NOT set 2025-11-10 03:04:35,959 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.38 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 = 2.383/6.250/10.118/3.867 ms') 2025-11-10 03:04:35,959 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-47018300 passed 2025-11-10 03:04:36,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 03:04:36,031 - DEBUG - Waiting to SSH to VM ctest-vm2-test-47018300, IP 10.10.10.4, Port 22 2025-11-10 03:04:36,099 - 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-11-10 03:04:36,200 - DEBUG - VM ctest-vm2-test-47018300 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 03:04:41,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 03:04:41,201 - DEBUG - Waiting to SSH to VM ctest-vm2-test-47018300, IP 10.10.10.4, Port 22 2025-11-10 03:04:41,270 - 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-11-10 03:04:41,361 - DEBUG - VM ctest-vm2-test-47018300 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 03:04:46,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 03:04:46,362 - DEBUG - Waiting to SSH to VM ctest-vm2-test-47018300, IP 10.10.10.4, Port 22 2025-11-10 03:04:46,546 - 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-11-10 03:04:46,639 - DEBUG - VM ctest-vm2-test-47018300 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 03:04:51,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 03:04:51,640 - DEBUG - Waiting to SSH to VM ctest-vm2-test-47018300, IP 10.10.10.4, Port 22 2025-11-10 03:04:51,707 - 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-11-10 03:04:51,805 - DEBUG - VM ctest-vm2-test-47018300 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 03:04:56,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 03:04:56,805 - DEBUG - Waiting to SSH to VM ctest-vm2-test-47018300, IP 10.10.10.4, Port 22 2025-11-10 03:04:56,975 - DEBUG - VM ctest-vm2-test-47018300 is ready for SSH connections 2025-11-10 03:04:56,975 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-10 03:04:56,975 - DEBUG - ifconfig | grep 10.10.10.4 2025-11-10 03:05:19,842 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-11-10 03:05:19,843 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-47018300", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-10 03:05:19,843 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-47018300", None, socket.AF_INET6)' 2025-11-10 03:05:22,572 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-47018300, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-10 03:05:22,573 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-47018300 2025-11-10 03:05:25,237 - DEBUG - PING ctest-vm2-test-47018300.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-47018300.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.44 ms 64 bytes from ctest-vm2-test-47018300.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.49 ms 64 bytes from ctest-vm2-test-47018300.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.233 ms --- ctest-vm2-test-47018300.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.233/2.390/4.443/1.721 ms 2025-11-10 03:05:25,237 - INFO - Ping to IP ctest-vm2-test-47018300 from VM ctest-vm2-test-47018300 passed 2025-11-10 03:05:25,261 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-10 03:05:25,269 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-13966612@0%20AllEntriesVdnsRecordsReq 2025-11-10 03:05:25,275 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-10 03:05:25,280 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-13966612@0%20AllEntriesVdnsRecordsReq 2025-11-10 03:05:25,287 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-11-10 03:05:25,292 - DEBUG - Requesting: http://10.0.0.22:8092/Snh_PageReq?x=default-domain:ctest-vdns1-13966612@0%20AllEntriesVdnsRecordsReq 2025-11-10 03:05:25,298 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-13966612:1:ctest-vm2-test-47018300:10.10.10.4', 'rec_name': 'ctest-vm2-test-47018300', '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-4674-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-47018300.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-11-10 03:05:25,298 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-13966612:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-47018300', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-47018300', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4674-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-47018300.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-11-10 03:05:25,298 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-47018300", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 03:05:25,298 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-47018300", None, socket.AF_INET6)' 2025-11-10 03:05:26,438 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-47018300, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 03:05:26,438 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-47018300 2025-11-10 03:05:28,954 - DEBUG - PING ctest-vm2-test-47018300.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-47018300.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.38 ms 64 bytes from ctest-vm2-test-47018300.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.49 ms 64 bytes from ctest-vm2-test-47018300.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.43 ms --- ctest-vm2-test-47018300.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.438/3.436/7.380/2.789 ms 2025-11-10 03:05:28,954 - INFO - Ping to IP ctest-vm2-test-47018300 from VM ctest-vm1-test-98905063 passed 2025-11-10 03:05:28,954 - INFO - Try deleting the VDNS entry ctest-vdns1-13966612 with back ref of ipam. 2025-11-10 03:05:29,017 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/288dd3ca-8ab9-4563-8beb-4e7426f06e2e'] 2025-11-10 03:05:29,017 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-11-10 03:05:29,017 - INFO - Add CNAME VDNS record for ctest-vm1-test-98905063 and verify we able to ping by alias name 2025-11-10 03:05:29,064 - DEBUG - Creating VDNS record data : test-rec 2025-11-10 03:05:29,197 - INFO - In verify_on_setup 2025-11-10 03:05:29,293 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-13966612', 'test-rec'] created succesfully 2025-11-10 03:05:29,293 - INFO - Verify VDNS record is shown in the API server 2025-11-10 03:05:29,293 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-10 03:05:29,302 - DEBUG - Requesting: http://10.0.0.22:8082/domain/dbdabfa7-f87c-4117-b05b-68cc6fd252ce 2025-11-10 03:05:29,350 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS/17d4e322-1a3e-4a95-b530-dd25aa90c631 2025-11-10 03:05:29,362 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-DNS-record/4125da7b-c53c-43ea-a664-3328af439c5a 2025-11-10 03:05:29,371 - INFO - Verify VDNS record is shown in the control node 2025-11-10 03:05:29,391 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 03:05:29,391 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-11-10 03:05:30,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 03:05:30,628 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-11-10 03:05:31,150 - DEBUG - ping: unknown host vm1-test-alias 2025-11-10 03:05:31,150 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-98905063 failed 2025-11-10 03:05:32,151 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 03:05:32,151 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-11-10 03:05:33,268 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 03:05:33,268 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-11-10 03:05:35,807 - DEBUG - PING ctest-vm1-test-98905063.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-98905063.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.234 ms 64 bytes from ctest-vm1-test-98905063.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=1.59 ms 64 bytes from ctest-vm1-test-98905063.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.207 ms --- ctest-vm1-test-98905063.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.207/0.679/1.598/0.650 ms 2025-11-10 03:05:35,807 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-98905063 passed 2025-11-10 03:05:35,807 - DEBUG - Deleting VDNS record data: test-rec 2025-11-10 03:05:35,896 - INFO - VDNS record info: default-domain:ctest-vdns1-13966612:test-rec deleted successfully. 2025-11-10 03:05:35,897 - INFO - Deleting VM ctest-vm2-test-47018300 2025-11-10 03:05:35,987 - INFO - Deleting VM ctest-vm1-test-98905063 2025-11-10 03:05:36,089 - INFO - Deleting VN ctest-vn1-vdns-42459189 2025-11-10 03:05:36,149 - DEBUG - VN fdf17697-f5f8-47e3-b27b-63ad89a26362 still in use: Unable to complete operation on network fdf17697-f5f8-47e3-b27b-63ad89a26362. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-778b577b-b2ca-4cf0-9171-f659ceaf0fb7'] 2025-11-10 03:05:36,149 - WARNING - Deleting VN ctest-vn1-vdns-42459189 failed..Will retry 2025-11-10 03:05:38,365 - DEBUG - Response for deleting network () 2025-11-10 03:05:38,413 - DEBUG - Deleting VDNS Entry: ctest-vdns1-13966612 2025-11-10 03:05:38,508 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-13966612'] deleted successfully. 2025-11-10 03:05:38,509 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-10 03:05:38,517 - DEBUG - Requesting: http://10.0.0.22:8082/domain/dbdabfa7-f87c-4117-b05b-68cc6fd252ce 2025-11-10 03:05:38,533 - DEBUG - VDNS information not found in API server 2025-11-10 03:05:38,533 - INFO - VDNS information ctest-vdns1-13966612 removed from the API Server 2025-11-10 03:05:38,540 - INFO - VDNS information ctest-vdns1-13966612 removed in the Control node 2025-11-10 03:05:38,541 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-86458026'] 2025-11-10 03:05:39,825 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 03:05:39,825 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:17]
2025-11-10 03:05:39,826 - INFO - -------------------------------------------------------------------------------- 2025-11-10 03:05:40,604 - INFO - Deleted project: ctest-TestvDNSBasic0-86458026, ID : ad36422c-4611-4281-927c-ac8d53e87e4b