2024-11-08 14:01:31,207 - INFO - Domain Default found not creating 2024-11-08 14:01:31,384 - INFO - Project ctest-TestvDNSBasic0-73766825 not found, creating it 2024-11-08 14:01:31,909 - INFO - Created Project:ctest-TestvDNSBasic0-73766825, ID : a5293d62-88bf-4296-8d08-f9d0e0d8bc76 2024-11-08 14:01:33,421 - INFO - ================================================================================ 2024-11-08 14:01:33,421 - INFO - STARTING TEST : test_vdns_ping_same_vn 2024-11-08 14:01:33,421 - 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-11-08 14:01:33,691 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.13': '0'}} with 2024-11-08 14:01:33,691 - INFO - Initial checks done. Running the testcase now 2024-11-08 14:01:33,691 - INFO - 2024-11-08 14:01:34,447 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-73766825'](a5293d62-88bf-4296-8d08-f9d0e0d8bc76) 2024-11-08 14:01:34,504 - DEBUG - Creating VDNS : ctest-vdns1-54302214 2024-11-08 14:01:34,712 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-54302214'] created succesfully 2024-11-08 14:01:34,713 - DEBUG - Verify VDNS entry is shown in control node 2024-11-08 14:01:34,719 - DEBUG - Verify VDNS entry is shown in the API server 2024-11-08 14:01:34,719 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-11-08 14:01:35,025 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-11-08 14:01:35,067 - DEBUG - Requesting: http://10.0.0.52:8082/domain/7b25375f-6760-4ddf-a546-aa8d80397841 2024-11-08 14:01:35,082 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-DNS/ea769783-4bb6-4d2e-9bcd-76b95ae869bf 2024-11-08 14:01:35,691 - DEBUG - Response for create_network : {'network': {'id': '13603add-28a2-4d18-9ee0-c26af44acc1a', 'name': 'ctest-vn1-vdns-60717570', 'tenant_id': 'a5293d6288bf42968d08f9d0e0d8bc76', 'project_id': 'a5293d6288bf42968d08f9d0e0d8bc76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-73766825', 'ctest-vn1-vdns-60717570'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 14:01:35,894 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0e9b80d-160e-43ee-9028-a23f60a912d5', 'name': '', 'tenant_id': 'a5293d6288bf42968d08f9d0e0d8bc76', 'network_id': '13603add-28a2-4d18-9ee0-c26af44acc1a', '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': 'a5293d6288bf42968d08f9d0e0d8bc76'}} 2024-11-08 14:01:35,914 - INFO - Created VN ctest-vn1-vdns-60717570 2024-11-08 14:01:35,969 - DEBUG - VN ctest-vn1-vdns-60717570 UUID is 13603add-28a2-4d18-9ee0-c26af44acc1a 2024-11-08 14:01:36,195 - DEBUG - Services list from nova: [, , ] 2024-11-08 14:01:37,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2227-1) 2024-11-08 14:01:37,251 - INFO - Waiting for VM ctest-vm1-test-52127461 to be up.. 2024-11-08 14:01:37,291 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 14:01:42,396 - DEBUG - VM is in ACTIVE state now 2024-11-08 14:01:42,397 - INFO - VM name : ctest-vm1-test-52127461 2024-11-08 14:01:42,484 - DEBUG - VM ctest-vm1-test-52127461 ID is ddb4eb9f-307b-4835-8b08-3542d244bb2f 2024-11-08 14:01:42,484 - DEBUG - VM ctest-vm1-test-52127461 launched on Node cn-jenkins-deploy-platform-ansible-os-2227-1 2024-11-08 14:01:42,574 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/ddb4eb9f-307b-4835-8b08-3542d244bb2f 2024-11-08 14:01:42,585 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/dfbd33fc-1000-44e0-ae94-feb6554c87a2 2024-11-08 14:01:45,857 - 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') 2024-11-08 14:01:45,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52127461 failed! 2024-11-08 14:01:45,925 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73766825:ctest-vn1-vdns-60717570 is 10.10.10.1 and allocation pool is NOT set 2024-11-08 14:01:47,982 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.89 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.890/3.763/5.636/1.873 ms') 2024-11-08 14:01:47,982 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-52127461 passed 2024-11-08 14:01:48,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:01:48,141 - DEBUG - Waiting to SSH to VM ctest-vm1-test-52127461, IP 10.10.10.3, Port 22 2024-11-08 14:01:48,216 - 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-11-08 14:01:48,305 - DEBUG - VM ctest-vm1-test-52127461 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-08 14:01:53,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:01:53,307 - DEBUG - Waiting to SSH to VM ctest-vm1-test-52127461, IP 10.10.10.3, Port 22 2024-11-08 14:01:53,476 - DEBUG - VM ctest-vm1-test-52127461 is ready for SSH connections 2024-11-08 14:01:53,476 - 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.52, gateway password: c0ntrail123 2024-11-08 14:01:53,476 - DEBUG - ifconfig | grep 10.10.10.3 2024-11-08 14:01:55,146 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2024-11-08 14:01:55,147 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-52127461", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-11-08 14:01:55,147 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-52127461", None, socket.AF_INET6)' 2024-11-08 14:01:55,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-52127461, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-11-08 14:01:55,392 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-52127461 2024-11-08 14:01:57,657 - DEBUG - PING ctest-vm1-test-52127461 (10.10.10.3): 56 data bytes 64 bytes from 10.10.10.3: seq=0 ttl=64 time=3.032 ms 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.642 ms 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.485 ms --- ctest-vm1-test-52127461 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.485/1.386/3.032 ms 2024-11-08 14:01:57,657 - INFO - Ping to IP ctest-vm1-test-52127461 from VM ctest-vm1-test-52127461 passed 2024-11-08 14:01:57,671 - DEBUG - Requesting: http://10.0.0.52:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-11-08 14:01:57,677 - DEBUG - Requesting: http://10.0.0.52:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54302214@0%20AllEntriesVdnsRecordsReq 2024-11-08 14:01:57,683 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54302214:1:ctest-vm1-test-52127461:10.10.10.3', 'rec_name': 'ctest-vm1-test-52127461', '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-2227-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-52127461.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2024-11-08 14:01:57,683 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54302214:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-52127461', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-52127461', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2227-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-52127461.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-11-08 14:01:58,930 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2227-1) 2024-11-08 14:01:58,930 - INFO - Waiting for VM ctest-vm2-test-52904530 to be up.. 2024-11-08 14:01:58,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 14:02:04,079 - DEBUG - VM is in ACTIVE state now 2024-11-08 14:02:04,079 - INFO - VM name : ctest-vm2-test-52904530 2024-11-08 14:02:04,165 - DEBUG - VM ctest-vm2-test-52904530 ID is 43a1d3d3-22de-40c8-963c-7ceb93f2f83d 2024-11-08 14:02:04,165 - DEBUG - VM ctest-vm2-test-52904530 launched on Node cn-jenkins-deploy-platform-ansible-os-2227-1 2024-11-08 14:02:04,248 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/43a1d3d3-22de-40c8-963c-7ceb93f2f83d 2024-11-08 14:02:04,258 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/12f8b824-eeb7-436b-b16c-4f54dfc58d7c 2024-11-08 14:02:07,523 - 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 1008ms') 2024-11-08 14:02:07,523 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-52904530 failed! 2024-11-08 14:02:07,545 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73766825:ctest-vn1-vdns-60717570 is 10.10.10.1 and allocation pool is NOT set 2024-11-08 14:02:09,609 - 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=4.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.31 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.314/3.240/4.167/0.926 ms') 2024-11-08 14:02:09,609 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-52904530 passed 2024-11-08 14:02:09,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:02:09,777 - DEBUG - Waiting to SSH to VM ctest-vm2-test-52904530, IP 10.10.10.4, Port 22 2024-11-08 14:02:09,932 - DEBUG - VM ctest-vm2-test-52904530 is ready for SSH connections 2024-11-08 14:02:09,933 - 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.52, gateway password: c0ntrail123 2024-11-08 14:02:09,933 - DEBUG - ifconfig | grep 10.10.10.4 2024-11-08 14:02:10,581 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2024-11-08 14:02:10,581 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-52904530", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-11-08 14:02:10,581 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-52904530", None, socket.AF_INET6)' 2024-11-08 14:02:10,823 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-52904530, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-11-08 14:02:10,824 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-52904530 2024-11-08 14:02:13,111 - DEBUG - PING ctest-vm2-test-52904530 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.923 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.419 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.444 ms --- ctest-vm2-test-52904530 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.419/1.262/2.923 ms 2024-11-08 14:02:13,111 - INFO - Ping to IP ctest-vm2-test-52904530 from VM ctest-vm2-test-52904530 passed 2024-11-08 14:02:13,124 - DEBUG - Requesting: http://10.0.0.52:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-11-08 14:02:13,130 - DEBUG - Requesting: http://10.0.0.52:8092/Snh_PageReq?x=default-domain:ctest-vdns1-54302214@0%20AllEntriesVdnsRecordsReq 2024-11-08 14:02:13,135 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54302214:1:ctest-vm2-test-52904530:10.10.10.4', 'rec_name': 'ctest-vm2-test-52904530', '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-2227-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-52904530.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2024-11-08 14:02:13,135 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-54302214:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-52904530', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-52904530', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2227-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-52904530.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-11-08 14:02:13,135 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-52904530", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-11-08 14:02:13,135 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-52904530", None, socket.AF_INET6)' 2024-11-08 14:02:13,312 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-52904530, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-11-08 14:02:13,312 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-52904530 2024-11-08 14:02:15,559 - DEBUG - PING ctest-vm2-test-52904530 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=5.758 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=9.056 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.835 ms --- ctest-vm2-test-52904530 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/5.216/9.056 ms 2024-11-08 14:02:15,559 - INFO - Ping to IP ctest-vm2-test-52904530 from VM ctest-vm1-test-52127461 passed 2024-11-08 14:02:15,559 - INFO - Try deleting the VDNS entry ctest-vdns1-54302214 with back ref of ipam. 2024-11-08 14:02:15,617 - DEBUG - Delete when resource still referred: ['http://10.0.0.52:8082/network-ipam/07e6a435-a3d6-4b9c-9b34-7ccbbc821642'] 2024-11-08 14:02:15,618 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2024-11-08 14:02:15,618 - INFO - Add CNAME VDNS record for ctest-vm1-test-52127461 and verify we able to ping by alias name 2024-11-08 14:02:15,672 - DEBUG - Creating VDNS record data : test-rec 2024-11-08 14:02:15,805 - INFO - In verify_on_setup 2024-11-08 14:02:15,901 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-54302214', 'test-rec'] created succesfully 2024-11-08 14:02:15,901 - INFO - Verify VDNS record is shown in the API server 2024-11-08 14:02:15,901 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-11-08 14:02:15,910 - DEBUG - Requesting: http://10.0.0.52:8082/domain/7b25375f-6760-4ddf-a546-aa8d80397841 2024-11-08 14:02:15,923 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-DNS/ea769783-4bb6-4d2e-9bcd-76b95ae869bf 2024-11-08 14:02:15,933 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-DNS-record/db202406-f3f4-4182-98ca-d02e2e4db56d 2024-11-08 14:02:15,940 - INFO - Verify VDNS record is shown in the control node 2024-11-08 14:02:15,946 - 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.52, gateway password: c0ntrail123 2024-11-08 14:02:15,946 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-11-08 14:02:16,147 - 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.52, gateway password: c0ntrail123 2024-11-08 14:02:16,148 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-11-08 14:02:16,425 - DEBUG - ping: bad address 'vm1-test-alias' 2024-11-08 14:02:16,425 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-52127461 failed 2024-11-08 14:02:17,426 - 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.52, gateway password: c0ntrail123 2024-11-08 14:02:17,426 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-11-08 14:02:17,605 - 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.52, gateway password: c0ntrail123 2024-11-08 14:02:17,605 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-11-08 14:02:17,856 - DEBUG - ping: bad address 'vm1-test-alias' 2024-11-08 14:02:17,856 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-52127461 failed 2024-11-08 14:02:18,857 - 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.52, gateway password: c0ntrail123 2024-11-08 14:02:18,858 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-11-08 14:02:19,045 - 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.52, gateway password: c0ntrail123 2024-11-08 14:02:19,045 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-11-08 14:02:21,293 - 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.454 ms 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.373 ms 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.382 ms --- vm1-test-alias ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.373/0.403/0.454 ms 2024-11-08 14:02:21,293 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-52127461 passed 2024-11-08 14:02:21,293 - DEBUG - Deleting VDNS record data: test-rec 2024-11-08 14:02:21,364 - INFO - VDNS record info: default-domain:ctest-vdns1-54302214:test-rec deleted successfully. 2024-11-08 14:02:21,365 - INFO - Deleting VM ctest-vm2-test-52904530 2024-11-08 14:02:21,436 - INFO - Deleting VM ctest-vm1-test-52127461 2024-11-08 14:02:21,537 - INFO - Deleting VN ctest-vn1-vdns-60717570 2024-11-08 14:02:21,590 - DEBUG - VN 13603add-28a2-4d18-9ee0-c26af44acc1a still in use: Unable to complete operation on network 13603add-28a2-4d18-9ee0-c26af44acc1a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf55fece-69d3-4788-9d28-7c14baae2a7f'] 2024-11-08 14:02:21,590 - WARNING - Deleting VN ctest-vn1-vdns-60717570 failed..Will retry 2024-11-08 14:02:23,761 - DEBUG - Response for deleting network () 2024-11-08 14:02:23,792 - DEBUG - Deleting VDNS Entry: ctest-vdns1-54302214 2024-11-08 14:02:23,864 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-54302214'] deleted successfully. 2024-11-08 14:02:23,865 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-11-08 14:02:23,873 - DEBUG - Requesting: http://10.0.0.52:8082/domain/7b25375f-6760-4ddf-a546-aa8d80397841 2024-11-08 14:02:23,888 - DEBUG - VDNS information not found in API server 2024-11-08 14:02:23,888 - INFO - VDNS information ctest-vdns1-54302214 removed from the API Server 2024-11-08 14:02:23,896 - INFO - VDNS information ctest-vdns1-54302214 removed in the Control node 2024-11-08 14:02:23,896 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-73766825'] 2024-11-08 14:02:24,155 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 14:02:24,155 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:51] 2024-11-08 14:02:24,155 - INFO - -------------------------------------------------------------------------------- 2024-11-08 14:02:24,836 - INFO - Deleted project: ctest-TestvDNSBasic0-73766825, ID : a5293d62-88bf-4296-8d08-f9d0e0d8bc76