2024-09-03 10:39:18,724 - INFO - Domain Default found not creating 2024-09-03 10:39:18,878 - INFO - Project ctest-TestvDNSBasic0-46303246 not found, creating it 2024-09-03 10:39:19,342 - INFO - Created Project:ctest-TestvDNSBasic0-46303246, ID : fea9f6ef-ea41-4ff0-8e7d-bedb45904aa0 2024-09-03 10:39:20,884 - INFO - ================================================================================ 2024-09-03 10:39:20,884 - INFO - STARTING TEST : test_vdns_ping_same_vn 2024-09-03 10:39:20,884 - 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 2024-09-03 10:39:21,137 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with 2024-09-03 10:39:21,137 - INFO - Initial checks done. Running the testcase now 2024-09-03 10:39:21,137 - INFO - 2024-09-03 10:39:21,872 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-46303246'](fea9f6ef-ea41-4ff0-8e7d-bedb45904aa0) 2024-09-03 10:39:21,931 - DEBUG - Creating VDNS : ctest-vdns1-26374984 2024-09-03 10:39:22,151 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-26374984'] created succesfully 2024-09-03 10:39:22,151 - DEBUG - Verify VDNS entry is shown in control node 2024-09-03 10:39:22,159 - DEBUG - Verify VDNS entry is shown in the API server 2024-09-03 10:39:22,159 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-09-03 10:39:22,452 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-09-03 10:39:22,482 - DEBUG - Requesting: http://10.0.0.31:8082/domain/16789ff1-1dda-40c6-a583-1e6812a9dafd 2024-09-03 10:39:22,495 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-DNS/0b519250-1a98-4e0c-8508-ca2d2f3f1a49 2024-09-03 10:39:23,070 - DEBUG - Response for create_network : {'network': {'id': 'ea3c423c-f0fd-477e-90bf-c9e2fa91b92d', 'name': 'ctest-vn1-vdns-68504250', 'tenant_id': 'fea9f6efea414ff08e7dbedb45904aa0', 'project_id': 'fea9f6efea414ff08e7dbedb45904aa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-46303246', 'ctest-vn1-vdns-68504250'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 10:39:23,270 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec641e55-c95b-4f31-9dd1-e7a594f3e991', 'name': '', 'tenant_id': 'fea9f6efea414ff08e7dbedb45904aa0', 'network_id': 'ea3c423c-f0fd-477e-90bf-c9e2fa91b92d', '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': 'fea9f6efea414ff08e7dbedb45904aa0'}} 2024-09-03 10:39:23,294 - INFO - Created VN ctest-vn1-vdns-68504250 2024-09-03 10:39:23,347 - DEBUG - VN ctest-vn1-vdns-68504250 UUID is ea3c423c-f0fd-477e-90bf-c9e2fa91b92d 2024-09-03 10:39:23,559 - DEBUG - Services list from nova: [, , ] 2024-09-03 10:39:24,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1833-1) 2024-09-03 10:39:24,623 - INFO - Waiting for VM ctest-vm1-test-67167680 to be up.. 2024-09-03 10:39:24,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-03 10:39:29,744 - DEBUG - VM is in ACTIVE state now 2024-09-03 10:39:29,744 - INFO - VM name : ctest-vm1-test-67167680 2024-09-03 10:39:29,824 - DEBUG - VM ctest-vm1-test-67167680 ID is 17c4908c-4267-40b3-9c3c-1b6fd751b1ea 2024-09-03 10:39:29,824 - DEBUG - VM ctest-vm1-test-67167680 launched on Node cn-jenkins-deploy-platform-ansible-os-1833-1 2024-09-03 10:39:29,901 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/17c4908c-4267-40b3-9c3c-1b6fd751b1ea 2024-09-03 10:39:29,909 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/add1b05d-6d3c-40ed-90d8-dcd35262e4bf 2024-09-03 10:39:33,170 - 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') 2024-09-03 10:39:33,170 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-67167680 failed! 2024-09-03 10:39:33,227 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46303246:ctest-vn1-vdns-68504250 is 10.10.10.1 and allocation pool is NOT set 2024-09-03 10:39:35,285 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.54 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.536/3.087/4.639/1.551 ms') 2024-09-03 10:39:35,285 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-67167680 passed 2024-09-03 10:39:35,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 10:39:35,435 - DEBUG - Waiting to SSH to VM ctest-vm1-test-67167680, IP 10.10.10.3, Port 22 2024-09-03 10:39:35,492 - DEBUG - Error on ssh to cirros@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': ''} 2024-09-03 10:39:35,581 - DEBUG - VM ctest-vm1-test-67167680 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-03 10:39:40,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 10:39:40,582 - DEBUG - Waiting to SSH to VM ctest-vm1-test-67167680, IP 10.10.10.3, Port 22 2024-09-03 10:39:40,739 - DEBUG - VM ctest-vm1-test-67167680 is ready for SSH connections 2024-09-03 10:39:40,739 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:39:40,739 - DEBUG - ifconfig | grep 10.10.10.3 2024-09-03 10:39:42,428 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2024-09-03 10:39:42,429 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-67167680", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:39:42,429 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-67167680", None, socket.AF_INET6)' 2024-09-03 10:39:42,715 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-67167680, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:39:42,715 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-67167680 2024-09-03 10:39:44,982 - DEBUG - PING ctest-vm1-test-67167680 (10.10.10.3): 56 data bytes 64 bytes from 10.10.10.3: seq=0 ttl=64 time=3.067 ms 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.338 ms 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.523 ms --- ctest-vm1-test-67167680 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.338/1.309/3.067 ms 2024-09-03 10:39:44,982 - INFO - Ping to IP ctest-vm1-test-67167680 from VM ctest-vm1-test-67167680 passed 2024-09-03 10:39:44,995 - DEBUG - Requesting: http://10.0.0.31:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-09-03 10:39:45,001 - DEBUG - Requesting: http://10.0.0.31:8092/Snh_PageReq?x=default-domain:ctest-vdns1-26374984@0%20AllEntriesVdnsRecordsReq 2024-09-03 10:39:45,008 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-26374984:1:ctest-vm1-test-67167680:10.10.10.3', 'rec_name': 'ctest-vm1-test-67167680', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.3', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-1833-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-67167680.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2024-09-03 10:39:45,008 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-26374984:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-67167680', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-67167680', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-1833-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-67167680.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'} 2024-09-03 10:39:46,219 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1833-1) 2024-09-03 10:39:46,219 - INFO - Waiting for VM ctest-vm2-test-47729120 to be up.. 2024-09-03 10:39:46,258 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-03 10:39:51,340 - DEBUG - VM is in ACTIVE state now 2024-09-03 10:39:51,340 - INFO - VM name : ctest-vm2-test-47729120 2024-09-03 10:39:51,418 - DEBUG - VM ctest-vm2-test-47729120 ID is 70c7f377-5bdf-4250-878e-5c05d1f34e65 2024-09-03 10:39:51,418 - DEBUG - VM ctest-vm2-test-47729120 launched on Node cn-jenkins-deploy-platform-ansible-os-1833-1 2024-09-03 10:39:51,493 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/70c7f377-5bdf-4250-878e-5c05d1f34e65 2024-09-03 10:39:51,501 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/7ef105d4-d32f-47ec-b7b6-683d5936f674 2024-09-03 10:39:54,741 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2024-09-03 10:39:54,742 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-47729120 failed! 2024-09-03 10:39:54,795 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-46303246:ctest-vn1-vdns-68504250 is 10.10.10.1 and allocation pool is NOT set 2024-09-03 10:39:56,860 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=12.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.56 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.559/7.545/12.532/4.986 ms') 2024-09-03 10:39:56,861 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-47729120 passed 2024-09-03 10:39:57,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 10:39:57,011 - DEBUG - Waiting to SSH to VM ctest-vm2-test-47729120, IP 10.10.10.4, Port 22 2024-09-03 10:39:57,067 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-09-03 10:39:57,148 - DEBUG - VM ctest-vm2-test-47729120 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-03 10:40:02,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 10:40:02,149 - DEBUG - Waiting to SSH to VM ctest-vm2-test-47729120, IP 10.10.10.4, Port 22 2024-09-03 10:40:02,307 - DEBUG - VM ctest-vm2-test-47729120 is ready for SSH connections 2024-09-03 10:40:02,307 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:40:02,307 - DEBUG - ifconfig | grep 10.10.10.4 2024-09-03 10:40:02,945 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2024-09-03 10:40:02,946 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-47729120", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:40:02,946 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-47729120", None, socket.AF_INET6)' 2024-09-03 10:40:03,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-47729120, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:40:03,221 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-47729120 2024-09-03 10:40:05,474 - DEBUG - PING ctest-vm2-test-47729120 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.880 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.349 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.528 ms --- ctest-vm2-test-47729120 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.349/1.252/2.880 ms 2024-09-03 10:40:05,474 - INFO - Ping to IP ctest-vm2-test-47729120 from VM ctest-vm2-test-47729120 passed 2024-09-03 10:40:05,489 - DEBUG - Requesting: http://10.0.0.31:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-09-03 10:40:05,495 - DEBUG - Requesting: http://10.0.0.31:8092/Snh_PageReq?x=default-domain:ctest-vdns1-26374984@0%20AllEntriesVdnsRecordsReq 2024-09-03 10:40:05,501 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-26374984:1:ctest-vm2-test-47729120:10.10.10.4', 'rec_name': 'ctest-vm2-test-47729120', 'rec_type': 'A', 'rec_class': 'IN', 'rec_data': '10.10.10.4', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-1833-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-47729120.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2024-09-03 10:40:05,501 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-26374984:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-47729120', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-47729120', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-1833-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-47729120.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'} 2024-09-03 10:40:05,501 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-47729120", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:40:05,502 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-47729120", None, socket.AF_INET6)' 2024-09-03 10:40:05,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-47729120, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:40:05,700 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-47729120 2024-09-03 10:40:08,003 - DEBUG - PING ctest-vm2-test-47729120 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=7.477 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.894 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.987 ms --- ctest-vm2-test-47729120 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.894/3.119/7.477 ms 2024-09-03 10:40:08,003 - INFO - Ping to IP ctest-vm2-test-47729120 from VM ctest-vm1-test-67167680 passed 2024-09-03 10:40:08,003 - INFO - Try deleting the VDNS entry ctest-vdns1-26374984 with back ref of ipam. 2024-09-03 10:40:08,063 - DEBUG - Delete when resource still referred: ['http://10.0.0.31:8082/network-ipam/eaeb4304-5ab5-4765-877e-64306a87a9b5'] 2024-09-03 10:40:08,063 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2024-09-03 10:40:08,063 - INFO - Add CNAME VDNS record for ctest-vm1-test-67167680 and verify we able to ping by alias name 2024-09-03 10:40:08,111 - DEBUG - Creating VDNS record data : test-rec 2024-09-03 10:40:08,219 - INFO - In verify_on_setup 2024-09-03 10:40:08,315 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-26374984', 'test-rec'] created succesfully 2024-09-03 10:40:08,315 - INFO - Verify VDNS record is shown in the API server 2024-09-03 10:40:08,315 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-09-03 10:40:08,322 - DEBUG - Requesting: http://10.0.0.31:8082/domain/16789ff1-1dda-40c6-a583-1e6812a9dafd 2024-09-03 10:40:08,336 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-DNS/0b519250-1a98-4e0c-8508-ca2d2f3f1a49 2024-09-03 10:40:08,344 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-DNS-record/1f3e9e91-069f-4eb0-b052-0f4e9f553c8a 2024-09-03 10:40:08,351 - INFO - Verify VDNS record is shown in the control node 2024-09-03 10:40:08,357 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:40:08,357 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-09-03 10:40:08,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:40:08,541 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-09-03 10:40:08,772 - DEBUG - ping: bad address 'vm1-test-alias' 2024-09-03 10:40:08,772 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-67167680 failed 2024-09-03 10:40:09,773 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:40:09,773 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-09-03 10:40:09,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:40:09,961 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-09-03 10:40:10,201 - DEBUG - ping: bad address 'vm1-test-alias' 2024-09-03 10:40:10,202 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-67167680 failed 2024-09-03 10:40:11,203 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:40:11,203 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-09-03 10:40:11,390 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-03 10:40:11,390 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-09-03 10:40:13,638 - DEBUG - PING vm1-test-alias (10.10.10.3): 56 data bytes 64 bytes from 10.10.10.3: seq=0 ttl=64 time=0.359 ms 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.467 ms 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.333 ms --- vm1-test-alias ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.333/0.386/0.467 ms 2024-09-03 10:40:13,639 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-67167680 passed 2024-09-03 10:40:13,639 - DEBUG - Deleting VDNS record data: test-rec 2024-09-03 10:40:13,715 - INFO - VDNS record info: default-domain:ctest-vdns1-26374984:test-rec deleted successfully. 2024-09-03 10:40:13,715 - INFO - Deleting VM ctest-vm2-test-47729120 2024-09-03 10:40:13,781 - INFO - Deleting VM ctest-vm1-test-67167680 2024-09-03 10:40:13,845 - INFO - Deleting VN ctest-vn1-vdns-68504250 2024-09-03 10:40:13,884 - DEBUG - VN ea3c423c-f0fd-477e-90bf-c9e2fa91b92d still in use: Unable to complete operation on network ea3c423c-f0fd-477e-90bf-c9e2fa91b92d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-74641ed1-3071-4b52-97e3-f03da05f8156'] 2024-09-03 10:40:13,884 - WARNING - Deleting VN ctest-vn1-vdns-68504250 failed..Will retry 2024-09-03 10:40:16,146 - DEBUG - Response for deleting network () 2024-09-03 10:40:16,176 - DEBUG - Deleting VDNS Entry: ctest-vdns1-26374984 2024-09-03 10:40:16,251 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-26374984'] deleted successfully. 2024-09-03 10:40:16,251 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-09-03 10:40:16,259 - DEBUG - Requesting: http://10.0.0.31:8082/domain/16789ff1-1dda-40c6-a583-1e6812a9dafd 2024-09-03 10:40:16,272 - DEBUG - VDNS information not found in API server 2024-09-03 10:40:16,272 - INFO - VDNS information ctest-vdns1-26374984 removed from the API Server 2024-09-03 10:40:16,280 - INFO - VDNS information ctest-vdns1-26374984 removed in the Control node 2024-09-03 10:40:16,280 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-46303246'] 2024-09-03 10:40:16,540 - DEBUG - No XMPP flaps were noticed during the test 2024-09-03 10:40:16,540 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:56] 2024-09-03 10:40:16,540 - INFO - -------------------------------------------------------------------------------- 2024-09-03 10:40:17,223 - INFO - Deleted project: ctest-TestvDNSBasic0-46303246, ID : fea9f6ef-ea41-4ff0-8e7d-bedb45904aa0