2024-11-11 11:40:18,993 - INFO - Domain Default found not creating 2024-11-11 11:40:19,159 - INFO - Project ctest-TestvDNSBasic0-39103605 not found, creating it 2024-11-11 11:40:19,645 - INFO - Created Project:ctest-TestvDNSBasic0-39103605, ID : 4a4c93f3-f651-42ba-8158-60e3bfe20e12 2024-11-11 11:40:21,186 - INFO - ================================================================================ 2024-11-11 11:40:21,186 - INFO - STARTING TEST : test_vdns_ping_same_vn 2024-11-11 11:40:21,187 - 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-11 11:40:21,454 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.8': '0'}} with 2024-11-11 11:40:21,454 - INFO - Initial checks done. Running the testcase now 2024-11-11 11:40:21,454 - INFO - 2024-11-11 11:40:22,183 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-39103605'](4a4c93f3-f651-42ba-8158-60e3bfe20e12) 2024-11-11 11:40:22,240 - DEBUG - Creating VDNS : ctest-vdns1-38691428 2024-11-11 11:40:22,452 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-38691428'] created succesfully 2024-11-11 11:40:22,452 - DEBUG - Verify VDNS entry is shown in control node 2024-11-11 11:40:22,459 - DEBUG - Verify VDNS entry is shown in the API server 2024-11-11 11:40:22,459 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-11-11 11:40:22,767 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-11-11 11:40:22,799 - DEBUG - Requesting: http://10.0.0.42:8082/domain/ee4434e3-7e57-4ca4-aff2-60cffa6a39ef 2024-11-11 11:40:22,814 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-DNS/705c668c-6b10-4e63-9a0b-469a036e6d6a 2024-11-11 11:40:23,417 - DEBUG - Response for create_network : {'network': {'id': 'ec580f3a-212a-4c70-be51-57ac2cc11f75', 'name': 'ctest-vn1-vdns-44971889', 'tenant_id': '4a4c93f3f65142ba815860e3bfe20e12', 'project_id': '4a4c93f3f65142ba815860e3bfe20e12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-39103605', 'ctest-vn1-vdns-44971889'], 'port_security_enabled': True, 'description': ''}} 2024-11-11 11:40:23,636 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3e1d162-0b59-4856-b08b-71dda520cdbb', 'name': '', 'tenant_id': '4a4c93f3f65142ba815860e3bfe20e12', 'network_id': 'ec580f3a-212a-4c70-be51-57ac2cc11f75', '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': '4a4c93f3f65142ba815860e3bfe20e12'}} 2024-11-11 11:40:23,656 - INFO - Created VN ctest-vn1-vdns-44971889 2024-11-11 11:40:23,712 - DEBUG - VN ctest-vn1-vdns-44971889 UUID is ec580f3a-212a-4c70-be51-57ac2cc11f75 2024-11-11 11:40:23,944 - DEBUG - Services list from nova: [, , ] 2024-11-11 11:40:24,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2276-1) 2024-11-11 11:40:24,975 - INFO - Waiting for VM ctest-vm1-test-67635983 to be up.. 2024-11-11 11:40:25,017 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-11 11:40:30,098 - DEBUG - VM is in ACTIVE state now 2024-11-11 11:40:30,098 - INFO - VM name : ctest-vm1-test-67635983 2024-11-11 11:40:30,176 - DEBUG - VM ctest-vm1-test-67635983 ID is 60dee8b2-9643-40ee-a1b6-f801f058289d 2024-11-11 11:40:30,176 - DEBUG - VM ctest-vm1-test-67635983 launched on Node cn-jenkins-deploy-platform-ansible-os-2276-1 2024-11-11 11:40:30,356 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/60dee8b2-9643-40ee-a1b6-f801f058289d 2024-11-11 11:40:30,366 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/7460e9e7-d5b6-4bc2-a20d-bdb3ecad99d5 2024-11-11 11:40:33,642 - 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-11 11:40:33,642 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-67635983 failed! 2024-11-11 11:40:33,700 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39103605:ctest-vn1-vdns-44971889 is 10.10.10.1 and allocation pool is NOT set 2024-11-11 11:40:35,761 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 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.362/2.591/2.821/0.229 ms') 2024-11-11 11:40:35,761 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-67635983 passed 2024-11-11 11:40:35,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 11:40:35,928 - DEBUG - Waiting to SSH to VM ctest-vm1-test-67635983, IP 10.10.10.3, Port 22 2024-11-11 11:40:36,084 - DEBUG - VM ctest-vm1-test-67635983 is ready for SSH connections 2024-11-11 11:40:36,084 - 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.42, gateway password: c0ntrail123 2024-11-11 11:40:36,084 - DEBUG - ifconfig | grep 10.10.10.3 2024-11-11 11:40:38,093 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2024-11-11 11:40:38,094 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-67635983", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-11-11 11:40:38,094 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-67635983", None, socket.AF_INET6)' 2024-11-11 11:40:38,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-67635983, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-11-11 11:40:38,342 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-67635983 2024-11-11 11:40:40,603 - DEBUG - PING ctest-vm1-test-67635983 (10.10.10.3): 56 data bytes 64 bytes from 10.10.10.3: seq=0 ttl=64 time=3.021 ms 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.435 ms 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.428 ms --- ctest-vm1-test-67635983 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.428/1.294/3.021 ms 2024-11-11 11:40:40,604 - INFO - Ping to IP ctest-vm1-test-67635983 from VM ctest-vm1-test-67635983 passed 2024-11-11 11:40:40,617 - DEBUG - Requesting: http://10.0.0.42:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-11-11 11:40:40,624 - DEBUG - Requesting: http://10.0.0.42:8092/Snh_PageReq?x=default-domain:ctest-vdns1-38691428@0%20AllEntriesVdnsRecordsReq 2024-11-11 11:40:40,630 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-38691428:1:ctest-vm1-test-67635983:10.10.10.3', 'rec_name': 'ctest-vm1-test-67635983', '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-2276-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-67635983.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2024-11-11 11:40:40,630 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-38691428:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-67635983', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-67635983', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2276-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-67635983.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-11 11:40:41,861 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2276-1) 2024-11-11 11:40:41,861 - INFO - Waiting for VM ctest-vm2-test-12537323 to be up.. 2024-11-11 11:40:41,911 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-11 11:40:46,999 - DEBUG - VM is in ACTIVE state now 2024-11-11 11:40:46,999 - INFO - VM name : ctest-vm2-test-12537323 2024-11-11 11:40:47,088 - DEBUG - VM ctest-vm2-test-12537323 ID is 0ae61ab8-eaea-4a28-a81f-fe835fbf6df8 2024-11-11 11:40:47,088 - DEBUG - VM ctest-vm2-test-12537323 launched on Node cn-jenkins-deploy-platform-ansible-os-2276-1 2024-11-11 11:40:47,187 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/0ae61ab8-eaea-4a28-a81f-fe835fbf6df8 2024-11-11 11:40:47,199 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/2ba17b3b-a581-4ddd-b1f2-76ed208375ab 2024-11-11 11:40:50,478 - 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 1023ms') 2024-11-11 11:40:50,478 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-12537323 failed! 2024-11-11 11:40:50,497 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39103605:ctest-vn1-vdns-44971889 is 10.10.10.1 and allocation pool is NOT set 2024-11-11 11:40:52,563 - 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=7.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.70 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.700/5.099/7.499/2.399 ms') 2024-11-11 11:40:52,563 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-12537323 passed 2024-11-11 11:40:52,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 11:40:52,720 - DEBUG - Waiting to SSH to VM ctest-vm2-test-12537323, IP 10.10.10.4, Port 22 2024-11-11 11:40:52,776 - 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-11-11 11:40:52,863 - DEBUG - VM ctest-vm2-test-12537323 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-11 11:40:57,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 11:40:57,864 - DEBUG - Waiting to SSH to VM ctest-vm2-test-12537323, IP 10.10.10.4, Port 22 2024-11-11 11:40:58,023 - DEBUG - VM ctest-vm2-test-12537323 is ready for SSH connections 2024-11-11 11:40:58,024 - 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.42, gateway password: c0ntrail123 2024-11-11 11:40:58,024 - DEBUG - ifconfig | grep 10.10.10.4 2024-11-11 11:40:58,664 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2024-11-11 11:40:58,664 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-12537323", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-11-11 11:40:58,664 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-12537323", None, socket.AF_INET6)' 2024-11-11 11:40:58,903 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-12537323, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-11-11 11:40:58,903 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-12537323 2024-11-11 11:41:01,158 - DEBUG - PING ctest-vm2-test-12537323 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.212 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.355 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.405 ms --- ctest-vm2-test-12537323 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.355/1.324/3.212 ms 2024-11-11 11:41:01,159 - INFO - Ping to IP ctest-vm2-test-12537323 from VM ctest-vm2-test-12537323 passed 2024-11-11 11:41:01,176 - DEBUG - Requesting: http://10.0.0.42:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-11-11 11:41:01,183 - DEBUG - Requesting: http://10.0.0.42:8092/Snh_PageReq?x=default-domain:ctest-vdns1-38691428@0%20AllEntriesVdnsRecordsReq 2024-11-11 11:41:01,189 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-38691428:1:ctest-vm2-test-12537323:10.10.10.4', 'rec_name': 'ctest-vm2-test-12537323', '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-2276-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-12537323.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2024-11-11 11:41:01,189 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-38691428:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-12537323', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-12537323', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2276-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-12537323.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-11 11:41:01,190 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-12537323", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-11-11 11:41:01,190 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-12537323", None, socket.AF_INET6)' 2024-11-11 11:41:01,388 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-12537323, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-11-11 11:41:01,388 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-12537323 2024-11-11 11:41:03,647 - DEBUG - PING ctest-vm2-test-12537323 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=5.513 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.045 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.030 ms --- ctest-vm2-test-12537323 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.030/2.529/5.513 ms 2024-11-11 11:41:03,647 - INFO - Ping to IP ctest-vm2-test-12537323 from VM ctest-vm1-test-67635983 passed 2024-11-11 11:41:03,647 - INFO - Try deleting the VDNS entry ctest-vdns1-38691428 with back ref of ipam. 2024-11-11 11:41:03,712 - DEBUG - Delete when resource still referred: ['http://10.0.0.42:8082/network-ipam/eb88690a-727d-48d4-818d-60461c5df4b8'] 2024-11-11 11:41:03,712 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2024-11-11 11:41:03,712 - INFO - Add CNAME VDNS record for ctest-vm1-test-67635983 and verify we able to ping by alias name 2024-11-11 11:41:03,760 - DEBUG - Creating VDNS record data : test-rec 2024-11-11 11:41:03,876 - INFO - In verify_on_setup 2024-11-11 11:41:03,976 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-38691428', 'test-rec'] created succesfully 2024-11-11 11:41:03,976 - INFO - Verify VDNS record is shown in the API server 2024-11-11 11:41:03,976 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-11-11 11:41:03,984 - DEBUG - Requesting: http://10.0.0.42:8082/domain/ee4434e3-7e57-4ca4-aff2-60cffa6a39ef 2024-11-11 11:41:03,997 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-DNS/705c668c-6b10-4e63-9a0b-469a036e6d6a 2024-11-11 11:41:04,010 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-DNS-record/fea87080-e6cc-47ee-a741-bc282ce2341a 2024-11-11 11:41:04,019 - INFO - Verify VDNS record is shown in the control node 2024-11-11 11:41:04,026 - 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.42, gateway password: c0ntrail123 2024-11-11 11:41:04,026 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-11-11 11:41:04,214 - 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.42, gateway password: c0ntrail123 2024-11-11 11:41:04,214 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-11-11 11:41:04,460 - DEBUG - ping: bad address 'vm1-test-alias' 2024-11-11 11:41:04,460 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-67635983 failed 2024-11-11 11:41:05,462 - 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.42, gateway password: c0ntrail123 2024-11-11 11:41:05,462 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-11-11 11:41:05,646 - 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.42, gateway password: c0ntrail123 2024-11-11 11:41:05,646 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-11-11 11:41:05,892 - DEBUG - ping: bad address 'vm1-test-alias' 2024-11-11 11:41:05,892 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-67635983 failed 2024-11-11 11:41:06,893 - 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.42, gateway password: c0ntrail123 2024-11-11 11:41:06,893 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-11-11 11:41:07,079 - 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.42, gateway password: c0ntrail123 2024-11-11 11:41:07,080 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-11-11 11:41:09,345 - 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.365 ms 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.370 ms 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.342 ms --- vm1-test-alias ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.342/0.359/0.370 ms 2024-11-11 11:41:09,345 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-67635983 passed 2024-11-11 11:41:09,345 - DEBUG - Deleting VDNS record data: test-rec 2024-11-11 11:41:09,416 - INFO - VDNS record info: default-domain:ctest-vdns1-38691428:test-rec deleted successfully. 2024-11-11 11:41:09,416 - INFO - Deleting VM ctest-vm2-test-12537323 2024-11-11 11:41:09,481 - INFO - Deleting VM ctest-vm1-test-67635983 2024-11-11 11:41:09,559 - INFO - Deleting VN ctest-vn1-vdns-44971889 2024-11-11 11:41:09,599 - DEBUG - VN ec580f3a-212a-4c70-be51-57ac2cc11f75 still in use: Unable to complete operation on network ec580f3a-212a-4c70-be51-57ac2cc11f75. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3053ed8-f2df-43d4-80c8-c06edb14f3ea'] 2024-11-11 11:41:09,599 - WARNING - Deleting VN ctest-vn1-vdns-44971889 failed..Will retry 2024-11-11 11:41:11,816 - DEBUG - Response for deleting network () 2024-11-11 11:41:11,852 - DEBUG - Deleting VDNS Entry: ctest-vdns1-38691428 2024-11-11 11:41:11,932 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-38691428'] deleted successfully. 2024-11-11 11:41:11,932 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-11-11 11:41:11,942 - DEBUG - Requesting: http://10.0.0.42:8082/domain/ee4434e3-7e57-4ca4-aff2-60cffa6a39ef 2024-11-11 11:41:11,960 - DEBUG - VDNS information not found in API server 2024-11-11 11:41:11,961 - INFO - VDNS information ctest-vdns1-38691428 removed from the API Server 2024-11-11 11:41:11,968 - INFO - VDNS information ctest-vdns1-38691428 removed in the Control node 2024-11-11 11:41:11,969 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-39103605'] 2024-11-11 11:41:12,234 - DEBUG - No XMPP flaps were noticed during the test 2024-11-11 11:41:12,234 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:51] 2024-11-11 11:41:12,234 - INFO - -------------------------------------------------------------------------------- 2024-11-11 11:41:12,922 - INFO - Deleted project: ctest-TestvDNSBasic0-39103605, ID : 4a4c93f3-f651-42ba-8158-60e3bfe20e12