2024-10-18 21:43:35,840 - INFO - Domain Default found not creating
2024-10-18 21:43:36,004 - INFO - Project ctest-TestvDNSBasic0-68306955 not found, creating it
2024-10-18 21:43:36,491 - INFO - Created Project:ctest-TestvDNSBasic0-68306955, ID : 96e265c1-090e-4ba7-bc81-517d462caec5
2024-10-18 21:43:37,991 - INFO - ================================================================================
2024-10-18 21:43:37,991 - INFO - STARTING TEST : test_vdns_ping_same_vn
2024-10-18 21:43:37,991 - 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-18 21:43:38,256 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.29': '0'}} with
2024-10-18 21:43:38,257 - INFO - Initial checks done. Running the testcase now
2024-10-18 21:43:38,257 - INFO -
2024-10-18 21:43:38,985 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-68306955'](96e265c1-090e-4ba7-bc81-517d462caec5)
2024-10-18 21:43:39,041 - DEBUG - Creating VDNS : ctest-vdns1-82938289
2024-10-18 21:43:39,257 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-82938289'] created succesfully
2024-10-18 21:43:39,257 - DEBUG - Verify VDNS entry is shown in control node
2024-10-18 21:43:39,264 - DEBUG - Verify VDNS entry is shown in the API server
2024-10-18 21:43:39,264 - DEBUG - Requesting: http://10.0.0.28:8082/domains
2024-10-18 21:43:39,556 - DEBUG - Requesting: http://10.0.0.28:8082/domains
2024-10-18 21:43:39,586 - DEBUG - Requesting: http://10.0.0.28:8082/domain/2b4b82e4-58df-4f27-9041-2e8e9608ebee
2024-10-18 21:43:39,601 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-DNS/6aa5807d-e2c3-4f39-bfe3-ed02a659a774
2024-10-18 21:43:40,196 - DEBUG - Response for create_network : {'network': {'id': 'bfa1ead2-4df1-4a4e-9f6f-bb9b27c84d36', 'name': 'ctest-vn1-vdns-31963672', 'tenant_id': '96e265c1090e4ba7bc81517d462caec5', 'project_id': '96e265c1090e4ba7bc81517d462caec5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-68306955', 'ctest-vn1-vdns-31963672'], 'port_security_enabled': True, 'description': ''}}
2024-10-18 21:43:40,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '08adbf70-082e-47e1-abd7-39bb03ddce8a', 'name': '', 'tenant_id': '96e265c1090e4ba7bc81517d462caec5', 'network_id': 'bfa1ead2-4df1-4a4e-9f6f-bb9b27c84d36', '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': '96e265c1090e4ba7bc81517d462caec5'}}
2024-10-18 21:43:40,424 - INFO - Created VN ctest-vn1-vdns-31963672
2024-10-18 21:43:40,485 - DEBUG - VN ctest-vn1-vdns-31963672 UUID is bfa1ead2-4df1-4a4e-9f6f-bb9b27c84d36
2024-10-18 21:43:40,700 - DEBUG - Services list from nova: [, , ]
2024-10-18 21:43:41,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2112-1)
2024-10-18 21:43:41,751 - INFO - Waiting for VM ctest-vm1-test-57868996 to be up..
2024-10-18 21:43:41,791 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-18 21:43:46,875 - DEBUG - VM is in ACTIVE state now
2024-10-18 21:43:46,875 - INFO - VM name : ctest-vm1-test-57868996
2024-10-18 21:43:46,955 - DEBUG - VM ctest-vm1-test-57868996 ID is 6c9840b9-c18c-4b47-b807-21ae8990b101
2024-10-18 21:43:46,955 - DEBUG - VM ctest-vm1-test-57868996 launched on Node cn-jenkins-deploy-platform-ansible-os-2112-1
2024-10-18 21:43:47,043 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/6c9840b9-c18c-4b47-b807-21ae8990b101
2024-10-18 21:43:47,053 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/2094fc8a-dd12-4ebf-b217-004cd5dc2905
2024-10-18 21:43:50,328 - 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-10-18 21:43:50,328 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57868996 failed!
2024-10-18 21:43:50,393 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-68306955:ctest-vn1-vdns-31963672 is 10.10.10.1 and allocation pool is NOT set
2024-10-18 21:43:52,454 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 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 = 1.461/2.897/4.334/1.436 ms')
2024-10-18 21:43:52,454 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-57868996 passed
2024-10-18 21:43:52,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-18 21:43:52,617 - DEBUG - Waiting to SSH to VM ctest-vm1-test-57868996, IP 10.10.10.3, Port 22
2024-10-18 21:43:52,683 - 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-18 21:43:52,880 - DEBUG - VM ctest-vm1-test-57868996 is NOT ready for SSH connections, VM status: ACTIVE
2024-10-18 21:43:57,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-18 21:43:57,882 - DEBUG - Waiting to SSH to VM ctest-vm1-test-57868996, IP 10.10.10.3, Port 22
2024-10-18 21:43:58,041 - DEBUG - VM ctest-vm1-test-57868996 is ready for SSH connections
2024-10-18 21:43:58,041 - 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.28, gateway password: c0ntrail123
2024-10-18 21:43:58,041 - DEBUG - ifconfig | grep 10.10.10.3
2024-10-18 21:43:59,692 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2024-10-18 21:43:59,693 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-57868996", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2024-10-18 21:43:59,693 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-57868996", None, socket.AF_INET6)'
2024-10-18 21:43:59,940 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-57868996, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2024-10-18 21:43:59,940 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-57868996
2024-10-18 21:44:02,200 - DEBUG - PING ctest-vm1-test-57868996 (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=3.373 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.611 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.482 ms
--- ctest-vm1-test-57868996 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.482/1.488/3.373 ms
2024-10-18 21:44:02,200 - INFO - Ping to IP ctest-vm1-test-57868996 from VM ctest-vm1-test-57868996 passed
2024-10-18 21:44:02,219 - DEBUG - Requesting: http://10.0.0.28:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2024-10-18 21:44:02,228 - DEBUG - Requesting: http://10.0.0.28:8092/Snh_PageReq?x=default-domain:ctest-vdns1-82938289@0%20AllEntriesVdnsRecordsReq
2024-10-18 21:44:02,235 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-82938289:1:ctest-vm1-test-57868996:10.10.10.3', 'rec_name': 'ctest-vm1-test-57868996', '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-2112-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-57868996.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2024-10-18 21:44:02,235 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-82938289:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-57868996', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-57868996', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2112-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-57868996.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-18 21:44:03,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2112-1)
2024-10-18 21:44:03,471 - INFO - Waiting for VM ctest-vm2-test-81623804 to be up..
2024-10-18 21:44:03,513 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-18 21:44:08,599 - DEBUG - VM is in ACTIVE state now
2024-10-18 21:44:08,600 - INFO - VM name : ctest-vm2-test-81623804
2024-10-18 21:44:08,711 - DEBUG - VM ctest-vm2-test-81623804 ID is 4f9b7510-b046-47f2-96d9-4bf5d6188840
2024-10-18 21:44:08,711 - DEBUG - VM ctest-vm2-test-81623804 launched on Node cn-jenkins-deploy-platform-ansible-os-2112-1
2024-10-18 21:44:08,810 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/4f9b7510-b046-47f2-96d9-4bf5d6188840
2024-10-18 21:44:08,821 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/645e8578-ab46-43d4-8a3f-9f29f9a55560
2024-10-18 21:44:12,087 - 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 1007ms')
2024-10-18 21:44:12,087 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-81623804 failed!
2024-10-18 21:44:12,145 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-68306955:ctest-vn1-vdns-31963672 is 10.10.10.1 and allocation pool is NOT set
2024-10-18 21:44:14,205 - 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=8.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 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 = 0.365/4.435/8.506/4.070 ms')
2024-10-18 21:44:14,206 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-81623804 passed
2024-10-18 21:44:14,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-18 21:44:14,369 - DEBUG - Waiting to SSH to VM ctest-vm2-test-81623804, IP 10.10.10.4, Port 22
2024-10-18 21:44:14,525 - DEBUG - VM ctest-vm2-test-81623804 is ready for SSH connections
2024-10-18 21:44:14,525 - 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.28, gateway password: c0ntrail123
2024-10-18 21:44:14,525 - DEBUG - ifconfig | grep 10.10.10.4
2024-10-18 21:44:15,216 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2024-10-18 21:44:15,217 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-81623804", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2024-10-18 21:44:15,217 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-81623804", None, socket.AF_INET6)'
2024-10-18 21:44:15,461 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-81623804, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2024-10-18 21:44:15,461 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-81623804
2024-10-18 21:44:17,778 - DEBUG - PING ctest-vm2-test-81623804 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.002 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.424 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.382 ms
--- ctest-vm2-test-81623804 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.382/1.269/3.002 ms
2024-10-18 21:44:17,778 - INFO - Ping to IP ctest-vm2-test-81623804 from VM ctest-vm2-test-81623804 passed
2024-10-18 21:44:17,792 - DEBUG - Requesting: http://10.0.0.28:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2024-10-18 21:44:17,798 - DEBUG - Requesting: http://10.0.0.28:8092/Snh_PageReq?x=default-domain:ctest-vdns1-82938289@0%20AllEntriesVdnsRecordsReq
2024-10-18 21:44:17,804 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-82938289:1:ctest-vm2-test-81623804:10.10.10.4', 'rec_name': 'ctest-vm2-test-81623804', '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-2112-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-81623804.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2024-10-18 21:44:17,804 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-82938289:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-81623804', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-81623804', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2112-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-81623804.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-18 21:44:17,804 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-81623804", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2024-10-18 21:44:17,804 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-81623804", None, socket.AF_INET6)'
2024-10-18 21:44:17,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-81623804, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2024-10-18 21:44:17,992 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-81623804
2024-10-18 21:44:20,252 - DEBUG - PING ctest-vm2-test-81623804 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=8.728 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.950 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.781 ms
--- ctest-vm2-test-81623804 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.781/3.486/8.728 ms
2024-10-18 21:44:20,252 - INFO - Ping to IP ctest-vm2-test-81623804 from VM ctest-vm1-test-57868996 passed
2024-10-18 21:44:20,253 - INFO - Try deleting the VDNS entry ctest-vdns1-82938289 with back ref of ipam.
2024-10-18 21:44:20,309 - DEBUG - Delete when resource still referred: ['http://10.0.0.28:8082/network-ipam/cded7a2d-4300-4963-93b3-eac5d8aaedca']
2024-10-18 21:44:20,309 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2024-10-18 21:44:20,309 - INFO - Add CNAME VDNS record for ctest-vm1-test-57868996 and verify we able to ping by alias name
2024-10-18 21:44:20,357 - DEBUG - Creating VDNS record data : test-rec
2024-10-18 21:44:20,469 - INFO - In verify_on_setup
2024-10-18 21:44:20,569 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-82938289', 'test-rec'] created succesfully
2024-10-18 21:44:20,569 - INFO - Verify VDNS record is shown in the API server
2024-10-18 21:44:20,570 - DEBUG - Requesting: http://10.0.0.28:8082/domains
2024-10-18 21:44:20,576 - DEBUG - Requesting: http://10.0.0.28:8082/domain/2b4b82e4-58df-4f27-9041-2e8e9608ebee
2024-10-18 21:44:20,591 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-DNS/6aa5807d-e2c3-4f39-bfe3-ed02a659a774
2024-10-18 21:44:20,600 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-DNS-record/dd11167e-d7b7-4227-b086-089635380299
2024-10-18 21:44:20,609 - INFO - Verify VDNS record is shown in the control node
2024-10-18 21:44:20,616 - 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.28, gateway password: c0ntrail123
2024-10-18 21:44:20,616 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-10-18 21:44:20,804 - 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.28, gateway password: c0ntrail123
2024-10-18 21:44:20,804 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-10-18 21:44:21,087 - DEBUG - ping: bad address 'vm1-test-alias'
2024-10-18 21:44:21,087 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-57868996 failed
2024-10-18 21:44:22,088 - 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.28, gateway password: c0ntrail123
2024-10-18 21:44:22,088 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-10-18 21:44:22,276 - 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.28, gateway password: c0ntrail123
2024-10-18 21:44:22,276 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-10-18 21:44:22,521 - DEBUG - ping: bad address 'vm1-test-alias'
2024-10-18 21:44:22,521 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-57868996 failed
2024-10-18 21:44:23,521 - 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.28, gateway password: c0ntrail123
2024-10-18 21:44:23,522 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-10-18 21:44:23,730 - 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.28, gateway password: c0ntrail123
2024-10-18 21:44:23,730 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-10-18 21:44:25,991 - 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.344 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.340 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.293 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.293/0.325/0.344 ms
2024-10-18 21:44:25,991 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-57868996 passed
2024-10-18 21:44:25,991 - DEBUG - Deleting VDNS record data: test-rec
2024-10-18 21:44:26,073 - INFO - VDNS record info: default-domain:ctest-vdns1-82938289:test-rec deleted successfully.
2024-10-18 21:44:26,073 - INFO - Deleting VM ctest-vm2-test-81623804
2024-10-18 21:44:26,145 - INFO - Deleting VM ctest-vm1-test-57868996
2024-10-18 21:44:26,219 - INFO - Deleting VN ctest-vn1-vdns-31963672
2024-10-18 21:44:26,266 - DEBUG - VN bfa1ead2-4df1-4a4e-9f6f-bb9b27c84d36 still in use: Unable to complete operation on network bfa1ead2-4df1-4a4e-9f6f-bb9b27c84d36. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3f9a6708-6129-4490-bc65-b8d635194af6']
2024-10-18 21:44:26,266 - WARNING - Deleting VN ctest-vn1-vdns-31963672 failed..Will retry
2024-10-18 21:44:28,518 - DEBUG - Response for deleting network ()
2024-10-18 21:44:28,564 - DEBUG - Deleting VDNS Entry: ctest-vdns1-82938289
2024-10-18 21:44:28,637 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-82938289'] deleted successfully.
2024-10-18 21:44:28,637 - DEBUG - Requesting: http://10.0.0.28:8082/domains
2024-10-18 21:44:28,646 - DEBUG - Requesting: http://10.0.0.28:8082/domain/2b4b82e4-58df-4f27-9041-2e8e9608ebee
2024-10-18 21:44:28,664 - DEBUG - VDNS information not found in API server
2024-10-18 21:44:28,664 - INFO - VDNS information ctest-vdns1-82938289 removed from the API Server
2024-10-18 21:44:28,698 - INFO - VDNS information ctest-vdns1-82938289 removed in the Control node
2024-10-18 21:44:28,699 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-68306955']
2024-10-18 21:44:28,951 - DEBUG - No XMPP flaps were noticed during the test
2024-10-18 21:44:28,951 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:51]
2024-10-18 21:44:28,951 - INFO - --------------------------------------------------------------------------------
2024-10-18 21:44:29,672 - INFO - Deleted project: ctest-TestvDNSBasic0-68306955, ID : 96e265c1-090e-4ba7-bc81-517d462caec5