2025-07-22 16:50:48,031 - INFO - Domain Default found not creating
2025-07-22 16:50:48,223 - INFO - Project ctest-TestvDNSBasic0-54927900 not found, creating it
2025-07-22 16:50:48,737 - INFO - Created Project:ctest-TestvDNSBasic0-54927900, ID : e8136d0c-ecfe-4917-a668-7a309e99f41a
2025-07-22 16:50:50,253 - INFO - ================================================================================
2025-07-22 16:50:50,253 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-07-22 16:50:50,253 - 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-07-22 16:50:51,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with
2025-07-22 16:50:51,532 - INFO - Initial checks done. Running the testcase now
2025-07-22 16:50:51,532 - INFO -
2025-07-22 16:50:52,480 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-54927900'](e8136d0c-ecfe-4917-a668-7a309e99f41a)
2025-07-22 16:50:52,540 - DEBUG - Creating VDNS : ctest-vdns1-56623156
2025-07-22 16:50:52,764 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-56623156'] created succesfully
2025-07-22 16:50:52,764 - DEBUG - Verify VDNS entry is shown in control node
2025-07-22 16:50:52,786 - DEBUG - Verify VDNS entry is shown in the API server
2025-07-22 16:50:52,786 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:50:53,091 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:50:53,123 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:50:53,144 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/70ef2a93-b2e6-4dad-967f-1e42236044c5
2025-07-22 16:50:53,922 - DEBUG - Response for create_network : {'network': {'id': '060e3829-7e90-4d1d-ba60-330d8abae325', 'name': 'ctest-vn1-vdns-51149514', 'tenant_id': 'e8136d0cecfe4917a6687a309e99f41a', 'project_id': 'e8136d0cecfe4917a6687a309e99f41a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-54927900', 'ctest-vn1-vdns-51149514'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 16:50:54,273 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6e90690-6a5e-48d1-bfbd-450d3e22ee9d', 'name': '', 'tenant_id': 'e8136d0cecfe4917a6687a309e99f41a', 'network_id': '060e3829-7e90-4d1d-ba60-330d8abae325', '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': 'e8136d0cecfe4917a6687a309e99f41a'}}
2025-07-22 16:50:54,306 - INFO - Created VN ctest-vn1-vdns-51149514
2025-07-22 16:50:54,321 - DEBUG - VN ctest-vn1-vdns-51149514 UUID is 060e3829-7e90-4d1d-ba60-330d8abae325
2025-07-22 16:50:54,554 - DEBUG - Services list from nova: [, , , ]
2025-07-22 16:50:55,690 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2)
2025-07-22 16:50:55,690 - INFO - Waiting for VM ctest-vm1-test-80657783 to be up..
2025-07-22 16:50:55,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-22 16:51:00,829 - DEBUG - VM is in ACTIVE state now
2025-07-22 16:51:00,829 - INFO - VM name : ctest-vm1-test-80657783
2025-07-22 16:51:00,917 - DEBUG - VM ctest-vm1-test-80657783 ID is 69e90ac0-8e25-4871-9b9a-81d55f883193
2025-07-22 16:51:00,917 - DEBUG - VM ctest-vm1-test-80657783 launched on Node an-jenkins-deploy-platform-ansible-os-3693-2
2025-07-22 16:51:00,997 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/69e90ac0-8e25-4871-9b9a-81d55f883193
2025-07-22 16:51:01,294 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/69e90ac0-8e25-4871-9b9a-81d55f883193
2025-07-22 16:51:01,329 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d6e6f23b-4249-42ff-bf8c-e46118a279d8
2025-07-22 16:51:04,574 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms')
2025-07-22 16:51:04,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80657783 failed!
2025-07-22 16:51:04,590 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:51:08,671 - 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-07-22 16:51:08,671 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80657783 failed!
2025-07-22 16:51:08,688 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:51:12,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 1015ms')
2025-07-22 16:51:12,768 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80657783 failed!
2025-07-22 16:51:12,788 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:51:16,866 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2025-07-22 16:51:16,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80657783 failed!
2025-07-22 16:51:16,883 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:51:20,957 - 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-07-22 16:51:20,958 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80657783 failed!
2025-07-22 16:51:20,975 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:51:25,055 - 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-07-22 16:51:25,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80657783 failed!
2025-07-22 16:51:25,071 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:51:29,148 - 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-07-22 16:51:29,148 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80657783 failed!
2025-07-22 16:51:29,170 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:51:33,240 - 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-07-22 16:51:33,240 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80657783 failed!
2025-07-22 16:51:33,259 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:51:35,317 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.622 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.622/5.002/9.383/4.380 ms')
2025-07-22 16:51:35,317 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80657783 passed
2025-07-22 16:51:35,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 16:51:35,430 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80657783, IP 10.10.10.3, Port 22
2025-07-22 16:51:35,500 - 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-07-22 16:51:35,591 - DEBUG - VM ctest-vm1-test-80657783 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-22 16:51:40,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 16:51:40,593 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80657783, IP 10.10.10.3, Port 22
2025-07-22 16:51:40,650 - 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-07-22 16:51:40,746 - DEBUG - VM ctest-vm1-test-80657783 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-22 16:51:45,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 16:51:45,747 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80657783, IP 10.10.10.3, Port 22
2025-07-22 16:51:45,815 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-22 16:51:45,902 - DEBUG - VM ctest-vm1-test-80657783 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-22 16:51:50,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 16:51:50,902 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80657783, IP 10.10.10.3, Port 22
2025-07-22 16:51:50,968 - 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-07-22 16:51:51,049 - DEBUG - VM ctest-vm1-test-80657783 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-22 16:51:56,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 16:51:56,049 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80657783, IP 10.10.10.3, Port 22
2025-07-22 16:51:56,209 - DEBUG - VM ctest-vm1-test-80657783 is ready for SSH connections
2025-07-22 16:51:56,210 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-22 16:51:56,210 - DEBUG - ifconfig | grep 10.10.10.3
2025-07-22 16:52:14,961 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-07-22 16:52:14,962 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80657783", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-22 16:52:14,962 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80657783", None, socket.AF_INET6)'
2025-07-22 16:52:17,780 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80657783, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-22 16:52:17,780 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80657783
2025-07-22 16:52:20,915 - DEBUG - PING ctest-vm1-test-80657783.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-80657783.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.17 ms
64 bytes from ctest-vm1-test-80657783.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.238 ms
64 bytes from ctest-vm1-test-80657783.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.209 ms
--- ctest-vm1-test-80657783.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.209/1.539/4.170/1.860 ms
2025-07-22 16:52:20,916 - INFO - Ping to IP ctest-vm1-test-80657783 from VM ctest-vm1-test-80657783 passed
2025-07-22 16:52:20,944 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-22 16:52:20,951 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56623156@0%20AllEntriesVdnsRecordsReq
2025-07-22 16:52:20,958 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-22 16:52:20,963 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56623156@0%20AllEntriesVdnsRecordsReq
2025-07-22 16:52:20,969 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-22 16:52:20,975 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56623156@0%20AllEntriesVdnsRecordsReq
2025-07-22 16:52:20,981 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56623156:1:ctest-vm1-test-80657783:10.10.10.3', 'rec_name': 'ctest-vm1-test-80657783', '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-3693-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-80657783.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-07-22 16:52:20,981 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56623156:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-80657783', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-80657783', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3693-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-80657783.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-07-22 16:52:22,338 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-1)
2025-07-22 16:52:22,339 - INFO - Waiting for VM ctest-vm2-test-10947778 to be up..
2025-07-22 16:52:22,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-22 16:52:27,499 - DEBUG - VM is in ACTIVE state now
2025-07-22 16:52:27,499 - INFO - VM name : ctest-vm2-test-10947778
2025-07-22 16:52:27,593 - DEBUG - VM ctest-vm2-test-10947778 ID is e487fcbb-9951-4fc7-addf-a38da317c78f
2025-07-22 16:52:27,593 - DEBUG - VM ctest-vm2-test-10947778 launched on Node an-jenkins-deploy-platform-ansible-os-3693-1
2025-07-22 16:52:27,708 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e487fcbb-9951-4fc7-addf-a38da317c78f
2025-07-22 16:52:27,719 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d2a101a1-1298-4f28-9e8f-170ffedbe1f3
2025-07-22 16:52:30,945 - 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-07-22 16:52:30,945 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10947778 failed!
2025-07-22 16:52:30,963 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:52:35,049 - 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-07-22 16:52:35,049 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10947778 failed!
2025-07-22 16:52:35,067 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:52:39,144 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2025-07-22 16:52:39,144 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10947778 failed!
2025-07-22 16:52:39,161 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:52:43,236 - 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-07-22 16:52:43,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10947778 failed!
2025-07-22 16:52:43,254 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:52:47,334 - 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-07-22 16:52:47,334 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10947778 failed!
2025-07-22 16:52:47,353 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:52:51,433 - 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-07-22 16:52:51,433 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10947778 failed!
2025-07-22 16:52:51,450 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:52:55,526 - 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-07-22 16:52:55,526 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10947778 failed!
2025-07-22 16:52:55,545 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:52:59,619 - 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-07-22 16:52:59,619 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10947778 failed!
2025-07-22 16:52:59,638 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:53:03,715 - 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-07-22 16:53:03,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10947778 failed!
2025-07-22 16:53:03,733 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-54927900:ctest-vn1-vdns-51149514 is 10.10.10.1 and allocation pool is NOT set
2025-07-22 16:53:05,799 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.692 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.692/3.944/7.196/3.252 ms')
2025-07-22 16:53:05,799 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10947778 passed
2025-07-22 16:53:05,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 16:53:05,914 - DEBUG - Waiting to SSH to VM ctest-vm2-test-10947778, IP 10.10.10.4, Port 22
2025-07-22 16:53:05,984 - 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-07-22 16:53:06,074 - DEBUG - VM ctest-vm2-test-10947778 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-22 16:53:11,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 16:53:11,075 - DEBUG - Waiting to SSH to VM ctest-vm2-test-10947778, IP 10.10.10.4, Port 22
2025-07-22 16:53:11,144 - 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-07-22 16:53:11,244 - DEBUG - VM ctest-vm2-test-10947778 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-22 16:53:16,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 16:53:16,245 - DEBUG - Waiting to SSH to VM ctest-vm2-test-10947778, IP 10.10.10.4, Port 22
2025-07-22 16:53:16,301 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-22 16:53:16,384 - DEBUG - VM ctest-vm2-test-10947778 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-22 16:53:21,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 16:53:21,385 - DEBUG - Waiting to SSH to VM ctest-vm2-test-10947778, IP 10.10.10.4, Port 22
2025-07-22 16:53:21,455 - 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-07-22 16:53:21,547 - DEBUG - VM ctest-vm2-test-10947778 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-22 16:53:26,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 16:53:26,549 - DEBUG - Waiting to SSH to VM ctest-vm2-test-10947778, IP 10.10.10.4, Port 22
2025-07-22 16:53:26,715 - DEBUG - VM ctest-vm2-test-10947778 is ready for SSH connections
2025-07-22 16:53:26,715 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-07-22 16:53:26,715 - DEBUG - ifconfig | grep 10.10.10.4
2025-07-22 16:53:48,343 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-07-22 16:53:48,343 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10947778", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-07-22 16:53:48,344 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10947778", None, socket.AF_INET6)'
2025-07-22 16:53:51,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-10947778, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-07-22 16:53:51,140 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-10947778
2025-07-22 16:53:54,245 - DEBUG - PING ctest-vm2-test-10947778.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-10947778.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.63 ms
64 bytes from ctest-vm2-test-10947778.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.319 ms
64 bytes from ctest-vm2-test-10947778.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.196 ms
--- ctest-vm2-test-10947778.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.196/1.048/2.630/1.119 ms
2025-07-22 16:53:54,245 - INFO - Ping to IP ctest-vm2-test-10947778 from VM ctest-vm2-test-10947778 passed
2025-07-22 16:53:54,275 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-22 16:53:54,282 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56623156@0%20AllEntriesVdnsRecordsReq
2025-07-22 16:53:54,288 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-22 16:53:54,294 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56623156@0%20AllEntriesVdnsRecordsReq
2025-07-22 16:53:54,300 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-07-22 16:53:54,306 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56623156@0%20AllEntriesVdnsRecordsReq
2025-07-22 16:53:54,311 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56623156:1:ctest-vm2-test-10947778:10.10.10.4', 'rec_name': 'ctest-vm2-test-10947778', '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-3693-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-10947778.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-07-22 16:53:54,311 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56623156:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-10947778', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-10947778', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3693-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-10947778.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-07-22 16:53:54,312 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10947778", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-22 16:53:54,312 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10947778", None, socket.AF_INET6)'
2025-07-22 16:53:55,446 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-10947778, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-22 16:53:55,446 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-10947778
2025-07-22 16:53:57,982 - DEBUG - PING ctest-vm2-test-10947778.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-10947778.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=12.3 ms
64 bytes from ctest-vm2-test-10947778.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.41 ms
64 bytes from ctest-vm2-test-10947778.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.05 ms
--- ctest-vm2-test-10947778.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.052/4.941/12.357/5.246 ms
2025-07-22 16:53:57,982 - INFO - Ping to IP ctest-vm2-test-10947778 from VM ctest-vm1-test-80657783 passed
2025-07-22 16:53:57,982 - INFO - Try deleting the VDNS entry ctest-vdns1-56623156 with back ref of ipam.
2025-07-22 16:53:58,044 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/7470dcef-8038-4f38-87fc-2a25f41dc8a6']
2025-07-22 16:53:58,044 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-07-22 16:53:58,044 - INFO - Add CNAME VDNS record for ctest-vm1-test-80657783 and verify we able to ping by alias name
2025-07-22 16:53:58,096 - DEBUG - Creating VDNS record data : test-rec
2025-07-22 16:53:58,232 - INFO - In verify_on_setup
2025-07-22 16:53:58,336 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-56623156', 'test-rec'] created succesfully
2025-07-22 16:53:58,336 - INFO - Verify VDNS record is shown in the API server
2025-07-22 16:53:58,336 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:53:58,343 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:53:58,379 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/70ef2a93-b2e6-4dad-967f-1e42236044c5
2025-07-22 16:53:58,391 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS-record/635361a3-50ab-44f1-a987-01038e565b0b
2025-07-22 16:53:58,399 - INFO - Verify VDNS record is shown in the control node
2025-07-22 16:53:58,418 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-22 16:53:58,418 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-07-22 16:53:59,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-22 16:53:59,553 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-07-22 16:54:00,043 - DEBUG - ping: unknown host vm1-test-alias
2025-07-22 16:54:00,043 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-80657783 failed
2025-07-22 16:54:01,044 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-22 16:54:01,045 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-07-22 16:54:02,216 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-22 16:54:02,216 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-07-22 16:54:04,738 - DEBUG - PING ctest-vm1-test-80657783.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-80657783.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.203 ms
64 bytes from ctest-vm1-test-80657783.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.187 ms
64 bytes from ctest-vm1-test-80657783.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.196 ms
--- ctest-vm1-test-80657783.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.187/0.195/0.203/0.013 ms
2025-07-22 16:54:04,739 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-80657783 passed
2025-07-22 16:54:04,739 - DEBUG - Deleting VDNS record data: test-rec
2025-07-22 16:54:04,832 - INFO - VDNS record info: default-domain:ctest-vdns1-56623156:test-rec deleted successfully.
2025-07-22 16:54:04,832 - INFO - Deleting VM ctest-vm2-test-10947778
2025-07-22 16:54:04,909 - INFO - Deleting VM ctest-vm1-test-80657783
2025-07-22 16:54:04,990 - INFO - Deleting VN ctest-vn1-vdns-51149514
2025-07-22 16:54:05,041 - DEBUG - VN 060e3829-7e90-4d1d-ba60-330d8abae325 still in use: Unable to complete operation on network 060e3829-7e90-4d1d-ba60-330d8abae325. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5c1422a3-583b-4f72-834e-8169b8e4e106']
2025-07-22 16:54:05,041 - WARNING - Deleting VN ctest-vn1-vdns-51149514 failed..Will retry
2025-07-22 16:54:07,309 - DEBUG - Response for deleting network ()
2025-07-22 16:54:07,377 - DEBUG - Deleting VDNS Entry: ctest-vdns1-56623156
2025-07-22 16:54:07,476 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-56623156'] deleted successfully.
2025-07-22 16:54:07,476 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 16:54:07,484 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 16:54:07,502 - DEBUG - VDNS information not found in API server
2025-07-22 16:54:07,502 - INFO - VDNS information ctest-vdns1-56623156 removed from the API Server
2025-07-22 16:54:07,508 - INFO - VDNS information ctest-vdns1-56623156 removed in the Control node
2025-07-22 16:54:07,508 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-54927900']
2025-07-22 16:54:08,773 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 16:54:08,773 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:18]
2025-07-22 16:54:08,773 - INFO - --------------------------------------------------------------------------------
2025-07-22 16:54:09,520 - INFO - Deleted project: ctest-TestvDNSBasic0-54927900, ID : e8136d0c-ecfe-4917-a668-7a309e99f41a