2024-10-19 13:28:08,444 - INFO - Domain Default found not creating 2024-10-19 13:28:08,685 - INFO - Project ctest-TestvDNSBasic0-66509654 not found, creating it 2024-10-19 13:28:09,486 - INFO - Created Project:ctest-TestvDNSBasic0-66509654, ID : 55a3e1e5-2280-4f2e-913e-a7b8645b9399 2024-10-19 13:28:11,186 - INFO - ================================================================================ 2024-10-19 13:28:11,186 - INFO - STARTING TEST : test_vdns_ping_same_vn 2024-10-19 13:28:11,186 - 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-10-19 13:28:12,489 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.17': '0', '10.20.0.7': '0'}, '10.0.0.37': {'10.20.0.17': '0', '10.20.0.7': '0'}} with 2024-10-19 13:28:12,489 - INFO - Initial checks done. Running the testcase now 2024-10-19 13:28:12,489 - INFO - 2024-10-19 13:28:13,292 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-66509654'](55a3e1e5-2280-4f2e-913e-a7b8645b9399) 2024-10-19 13:28:13,353 - DEBUG - Creating VDNS : ctest-vdns1-55037978 2024-10-19 13:28:13,618 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-55037978'] created succesfully 2024-10-19 13:28:13,618 - DEBUG - Verify VDNS entry is shown in control node 2024-10-19 13:28:13,641 - DEBUG - Verify VDNS entry is shown in the API server 2024-10-19 13:28:13,641 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-19 13:28:13,942 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-19 13:28:13,983 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b64c18c-9a35-4290-a94a-f87b56febc19 2024-10-19 13:28:14,012 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-DNS/eee5b957-1dd2-4a0b-a378-96d7190f942b 2024-10-19 13:28:15,029 - DEBUG - Response for create_network : {'network': {'id': 'c9bb6dbc-ea94-4e0a-b945-c6cac7b35dac', 'name': 'ctest-vn1-vdns-36903358', 'tenant_id': '55a3e1e522804f2e913ea7b8645b9399', 'project_id': '55a3e1e522804f2e913ea7b8645b9399', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-66509654', 'ctest-vn1-vdns-36903358'], 'port_security_enabled': True, 'description': ''}} 2024-10-19 13:28:15,383 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed953e63-953f-4d9b-bfe8-4e2355b9867f', 'name': '', 'tenant_id': '55a3e1e522804f2e913ea7b8645b9399', 'network_id': 'c9bb6dbc-ea94-4e0a-b945-c6cac7b35dac', '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': '55a3e1e522804f2e913ea7b8645b9399'}} 2024-10-19 13:28:15,410 - INFO - Created VN ctest-vn1-vdns-36903358 2024-10-19 13:28:15,447 - DEBUG - VN ctest-vn1-vdns-36903358 UUID is c9bb6dbc-ea94-4e0a-b945-c6cac7b35dac 2024-10-19 13:28:15,670 - DEBUG - Services list from nova: [, , , ] 2024-10-19 13:28:16,848 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2117-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2117-2) 2024-10-19 13:28:16,849 - INFO - Waiting for VM ctest-vm1-test-14020635 to be up.. 2024-10-19 13:28:16,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-19 13:28:22,021 - DEBUG - VM is in ACTIVE state now 2024-10-19 13:28:22,021 - INFO - VM name : ctest-vm1-test-14020635 2024-10-19 13:28:22,133 - DEBUG - VM ctest-vm1-test-14020635 ID is e0bbbdc5-8aef-4b26-9442-f5cd65a175fe 2024-10-19 13:28:22,134 - DEBUG - VM ctest-vm1-test-14020635 launched on Node an-jenkins-deploy-platform-ansible-os-2117-2 2024-10-19 13:28:22,326 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/e0bbbdc5-8aef-4b26-9442-f5cd65a175fe 2024-10-19 13:28:22,628 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/e0bbbdc5-8aef-4b26-9442-f5cd65a175fe 2024-10-19 13:28:22,683 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/6596847e-db24-4f71-b19f-0540f2d08c23 2024-10-19 13:28:25,971 - 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 1034ms') 2024-10-19 13:28:25,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-14020635 failed! 2024-10-19 13:28:25,996 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66509654:ctest-vn1-vdns-36903358 is 10.10.10.1 and allocation pool is NOT set 2024-10-19 13:28:28,063 - 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=3.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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.505/2.494/3.484/0.989 ms') 2024-10-19 13:28:28,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-14020635 passed 2024-10-19 13:28:28,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 13:28:28,193 - DEBUG - Waiting to SSH to VM ctest-vm1-test-14020635, IP 10.10.10.3, Port 22 2024-10-19 13:28:28,258 - 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-10-19 13:28:28,373 - DEBUG - VM ctest-vm1-test-14020635 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-19 13:28:33,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 13:28:33,373 - DEBUG - Waiting to SSH to VM ctest-vm1-test-14020635, IP 10.10.10.3, Port 22 2024-10-19 13:28:33,536 - DEBUG - VM ctest-vm1-test-14020635 is ready for SSH connections 2024-10-19 13:28:33,537 - 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.37, gateway password: c0ntrail123 2024-10-19 13:28:33,537 - DEBUG - ifconfig | grep 10.10.10.3 2024-10-19 13:28:35,226 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2024-10-19 13:28:35,227 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-14020635", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-10-19 13:28:35,227 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-14020635", None, socket.AF_INET6)' 2024-10-19 13:28:35,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-14020635, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-10-19 13:28:35,470 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-14020635 2024-10-19 13:28:37,744 - DEBUG - PING ctest-vm1-test-14020635 (10.10.10.3): 56 data bytes 64 bytes from 10.10.10.3: seq=0 ttl=64 time=2.783 ms 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.386 ms 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.669 ms --- ctest-vm1-test-14020635 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.386/1.279/2.783 ms 2024-10-19 13:28:37,744 - INFO - Ping to IP ctest-vm1-test-14020635 from VM ctest-vm1-test-14020635 passed 2024-10-19 13:28:37,760 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-10-19 13:28:37,767 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55037978@0%20AllEntriesVdnsRecordsReq 2024-10-19 13:28:37,775 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-10-19 13:28:37,781 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55037978@0%20AllEntriesVdnsRecordsReq 2024-10-19 13:28:37,787 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-10-19 13:28:37,795 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55037978@0%20AllEntriesVdnsRecordsReq 2024-10-19 13:28:37,800 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-55037978:1:ctest-vm1-test-14020635:10.10.10.3', 'rec_name': 'ctest-vm1-test-14020635', '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-2117-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-14020635.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2024-10-19 13:28:37,800 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-55037978:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-14020635', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-14020635', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-2117-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-14020635.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-10-19 13:28:39,363 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2117-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2117-1) 2024-10-19 13:28:39,363 - INFO - Waiting for VM ctest-vm2-test-96423475 to be up.. 2024-10-19 13:28:39,416 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-19 13:28:44,533 - DEBUG - VM is in ACTIVE state now 2024-10-19 13:28:44,533 - INFO - VM name : ctest-vm2-test-96423475 2024-10-19 13:28:44,686 - DEBUG - VM ctest-vm2-test-96423475 ID is 0b9b1e5a-300f-4912-ad12-4cdf379daf87 2024-10-19 13:28:44,686 - DEBUG - VM ctest-vm2-test-96423475 launched on Node an-jenkins-deploy-platform-ansible-os-2117-1 2024-10-19 13:28:44,843 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/0b9b1e5a-300f-4912-ad12-4cdf379daf87 2024-10-19 13:28:44,880 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/6c3e917a-97f9-45ea-abe0-d2d7eb206ab7 2024-10-19 13:28:48,152 - 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') 2024-10-19 13:28:48,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-96423475 failed! 2024-10-19 13:28:48,178 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66509654:ctest-vn1-vdns-36903358 is 10.10.10.1 and allocation pool is NOT set 2024-10-19 13:28:50,245 - 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=3.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.42 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.424/2.904/3.384/0.480 ms') 2024-10-19 13:28:50,245 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-96423475 passed 2024-10-19 13:28:50,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 13:28:50,382 - DEBUG - Waiting to SSH to VM ctest-vm2-test-96423475, IP 10.10.10.4, Port 22 2024-10-19 13:28:50,451 - 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-10-19 13:28:50,583 - DEBUG - VM ctest-vm2-test-96423475 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-19 13:28:55,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 13:28:55,585 - DEBUG - Waiting to SSH to VM ctest-vm2-test-96423475, IP 10.10.10.4, Port 22 2024-10-19 13:28:55,743 - DEBUG - VM ctest-vm2-test-96423475 is ready for SSH connections 2024-10-19 13:28:55,743 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-10-19 13:28:55,744 - DEBUG - ifconfig | grep 10.10.10.4 2024-10-19 13:28:56,632 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2024-10-19 13:28:56,632 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-96423475", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-10-19 13:28:56,633 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-96423475", None, socket.AF_INET6)' 2024-10-19 13:28:56,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-96423475, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-10-19 13:28:56,871 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-96423475 2024-10-19 13:28:59,137 - DEBUG - PING ctest-vm2-test-96423475 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=2.991 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.322 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.423 ms --- ctest-vm2-test-96423475 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.322/1.245/2.991 ms 2024-10-19 13:28:59,137 - INFO - Ping to IP ctest-vm2-test-96423475 from VM ctest-vm2-test-96423475 passed 2024-10-19 13:28:59,150 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-10-19 13:28:59,157 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55037978@0%20AllEntriesVdnsRecordsReq 2024-10-19 13:28:59,164 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-10-19 13:28:59,171 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55037978@0%20AllEntriesVdnsRecordsReq 2024-10-19 13:28:59,177 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-10-19 13:28:59,185 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-55037978@0%20AllEntriesVdnsRecordsReq 2024-10-19 13:28:59,192 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-55037978:1:ctest-vm2-test-96423475:10.10.10.4', 'rec_name': 'ctest-vm2-test-96423475', '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-2117-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-96423475.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2024-10-19 13:28:59,192 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-55037978:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-96423475', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-96423475', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-2117-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-96423475.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-10-19 13:28:59,192 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-96423475", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-10-19 13:28:59,193 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-96423475", None, socket.AF_INET6)' 2024-10-19 13:28:59,391 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-96423475, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-10-19 13:28:59,392 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-96423475 2024-10-19 13:29:01,648 - DEBUG - PING ctest-vm2-test-96423475 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=5.617 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.338 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.730 ms --- ctest-vm2-test-96423475 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.338/2.895/5.617 ms 2024-10-19 13:29:01,648 - INFO - Ping to IP ctest-vm2-test-96423475 from VM ctest-vm1-test-14020635 passed 2024-10-19 13:29:01,648 - INFO - Try deleting the VDNS entry ctest-vdns1-55037978 with back ref of ipam. 2024-10-19 13:29:01,761 - DEBUG - Delete when resource still referred: ['http://10.0.0.42:8082/network-ipam/45bd8bd9-10fc-404b-b112-67bcc9be514c'] 2024-10-19 13:29:01,761 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2024-10-19 13:29:01,762 - INFO - Add CNAME VDNS record for ctest-vm1-test-14020635 and verify we able to ping by alias name 2024-10-19 13:29:01,813 - DEBUG - Creating VDNS record data : test-rec 2024-10-19 13:29:01,958 - INFO - In verify_on_setup 2024-10-19 13:29:02,061 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-55037978', 'test-rec'] created succesfully 2024-10-19 13:29:02,062 - INFO - Verify VDNS record is shown in the API server 2024-10-19 13:29:02,062 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-19 13:29:02,071 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b64c18c-9a35-4290-a94a-f87b56febc19 2024-10-19 13:29:02,090 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-DNS/eee5b957-1dd2-4a0b-a378-96d7190f942b 2024-10-19 13:29:02,106 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-DNS-record/20a4aa56-649a-46c4-8462-aca01de2e81d 2024-10-19 13:29:02,117 - INFO - Verify VDNS record is shown in the control node 2024-10-19 13:29:02,143 - 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.37, gateway password: c0ntrail123 2024-10-19 13:29:02,143 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-10-19 13:29:02,342 - 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.37, gateway password: c0ntrail123 2024-10-19 13:29:02,342 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-10-19 13:29:02,590 - DEBUG - ping: bad address 'vm1-test-alias' 2024-10-19 13:29:02,590 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-14020635 failed 2024-10-19 13:29:03,591 - 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.37, gateway password: c0ntrail123 2024-10-19 13:29:03,591 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-10-19 13:29:03,801 - 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.37, gateway password: c0ntrail123 2024-10-19 13:29:03,801 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-10-19 13:29:04,049 - DEBUG - ping: bad address 'vm1-test-alias' 2024-10-19 13:29:04,049 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-14020635 failed 2024-10-19 13:29:05,050 - 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.37, gateway password: c0ntrail123 2024-10-19 13:29:05,050 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-10-19 13:29:05,236 - 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.37, gateway password: c0ntrail123 2024-10-19 13:29:05,237 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-10-19 13:29:07,489 - 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.412 ms 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.511 ms 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.414 ms --- vm1-test-alias ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.412/0.445/0.511 ms 2024-10-19 13:29:07,489 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-14020635 passed 2024-10-19 13:29:07,489 - DEBUG - Deleting VDNS record data: test-rec 2024-10-19 13:29:07,597 - INFO - VDNS record info: default-domain:ctest-vdns1-55037978:test-rec deleted successfully. 2024-10-19 13:29:07,598 - INFO - Deleting VM ctest-vm2-test-96423475 2024-10-19 13:29:07,680 - INFO - Deleting VM ctest-vm1-test-14020635 2024-10-19 13:29:07,751 - INFO - Deleting VN ctest-vn1-vdns-36903358 2024-10-19 13:29:07,803 - DEBUG - VN c9bb6dbc-ea94-4e0a-b945-c6cac7b35dac still in use: Unable to complete operation on network c9bb6dbc-ea94-4e0a-b945-c6cac7b35dac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-64a53954-d8b4-42f5-a8b9-d4977365c177'] 2024-10-19 13:29:07,803 - WARNING - Deleting VN ctest-vn1-vdns-36903358 failed..Will retry 2024-10-19 13:29:10,091 - DEBUG - Response for deleting network () 2024-10-19 13:29:10,181 - DEBUG - Deleting VDNS Entry: ctest-vdns1-55037978 2024-10-19 13:29:10,305 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-55037978'] deleted successfully. 2024-10-19 13:29:10,306 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-19 13:29:10,314 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b64c18c-9a35-4290-a94a-f87b56febc19 2024-10-19 13:29:10,335 - DEBUG - VDNS information not found in API server 2024-10-19 13:29:10,335 - INFO - VDNS information ctest-vdns1-55037978 removed from the API Server 2024-10-19 13:29:10,343 - INFO - VDNS information ctest-vdns1-55037978 removed in the Control node 2024-10-19 13:29:10,344 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-66509654'] 2024-10-19 13:29:11,635 - DEBUG - No XMPP flaps were noticed during the test
2024-10-19 13:29:11,635 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:01:00]
2024-10-19 13:29:11,635 - INFO - -------------------------------------------------------------------------------- 2024-10-19 13:29:12,672 - INFO - Deleted project: ctest-TestvDNSBasic0-66509654, ID : 55a3e1e5-2280-4f2e-913e-a7b8645b9399