2024-11-08 15:38:13,025 - INFO - Domain Default found not creating
2024-11-08 15:38:13,208 - INFO - Project ctest-TestvDNSBasic0-98080583 not found, creating it
2024-11-08 15:38:13,716 - INFO - Created Project:ctest-TestvDNSBasic0-98080583, ID : b1c9aa56-3c1c-4c78-afc4-ad8d296592d3
2024-11-08 15:38:15,295 - INFO - ================================================================================
2024-11-08 15:38:15,295 - INFO - STARTING TEST : test_vdns_ping_same_vn
2024-11-08 15:38:15,295 - 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 15:38:15,560 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.6': '0'}} with
2024-11-08 15:38:15,560 - INFO - Initial checks done. Running the testcase now
2024-11-08 15:38:15,560 - INFO -
2024-11-08 15:38:16,299 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-98080583'](b1c9aa56-3c1c-4c78-afc4-ad8d296592d3)
2024-11-08 15:38:16,357 - DEBUG - Creating VDNS : ctest-vdns1-53218375
2024-11-08 15:38:16,578 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-53218375'] created succesfully
2024-11-08 15:38:16,578 - DEBUG - Verify VDNS entry is shown in control node
2024-11-08 15:38:16,584 - DEBUG - Verify VDNS entry is shown in the API server
2024-11-08 15:38:16,584 - DEBUG - Requesting: http://10.0.0.12:8082/domains
2024-11-08 15:38:16,880 - DEBUG - Requesting: http://10.0.0.12:8082/domains
2024-11-08 15:38:16,915 - DEBUG - Requesting: http://10.0.0.12:8082/domain/55a36a77-f325-48d8-a3d5-8f547d9f5482
2024-11-08 15:38:16,934 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-DNS/3b733812-1780-41db-abf2-e80b4048f610
2024-11-08 15:38:17,609 - DEBUG - Response for create_network : {'network': {'id': 'df2e7149-4af6-464d-b6d2-a36b33c5446f', 'name': 'ctest-vn1-vdns-23694748', 'tenant_id': 'b1c9aa563c1c4c78afc4ad8d296592d3', 'project_id': 'b1c9aa563c1c4c78afc4ad8d296592d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-98080583', 'ctest-vn1-vdns-23694748'], 'port_security_enabled': True, 'description': ''}}
2024-11-08 15:38:17,804 - DEBUG - Response for create_subnet : {'subnet': {'id': '56857182-9d53-4351-9034-9526af43365b', 'name': '', 'tenant_id': 'b1c9aa563c1c4c78afc4ad8d296592d3', 'network_id': 'df2e7149-4af6-464d-b6d2-a36b33c5446f', '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': 'b1c9aa563c1c4c78afc4ad8d296592d3'}}
2024-11-08 15:38:17,826 - INFO - Created VN ctest-vn1-vdns-23694748
2024-11-08 15:38:17,886 - DEBUG - VN ctest-vn1-vdns-23694748 UUID is df2e7149-4af6-464d-b6d2-a36b33c5446f
2024-11-08 15:38:18,148 - DEBUG - Services list from nova: [, , ]
2024-11-08 15:38:19,216 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2233-1)
2024-11-08 15:38:19,216 - INFO - Waiting for VM ctest-vm1-test-48970256 to be up..
2024-11-08 15:38:19,270 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-08 15:38:24,352 - DEBUG - VM is in ACTIVE state now
2024-11-08 15:38:24,352 - INFO - VM name : ctest-vm1-test-48970256
2024-11-08 15:38:24,447 - DEBUG - VM ctest-vm1-test-48970256 ID is c4d49d64-c1f2-4ef7-8811-3aca50daea5a
2024-11-08 15:38:24,448 - DEBUG - VM ctest-vm1-test-48970256 launched on Node cn-jenkins-deploy-platform-ansible-os-2233-1
2024-11-08 15:38:24,542 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/c4d49d64-c1f2-4ef7-8811-3aca50daea5a
2024-11-08 15:38:24,556 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/5b7da3ec-fb49-4f69-8d60-d57e5d962b0f
2024-11-08 15:38:27,821 - 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 1007ms')
2024-11-08 15:38:27,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-48970256 failed!
2024-11-08 15:38:27,882 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-98080583:ctest-vn1-vdns-23694748 is 10.10.10.1 and allocation pool is NOT set
2024-11-08 15:38:29,940 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.332 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 = 0.332/1.494/2.657/1.162 ms')
2024-11-08 15:38:29,941 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-48970256 passed
2024-11-08 15:38:30,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 15:38:30,106 - DEBUG - Waiting to SSH to VM ctest-vm1-test-48970256, IP 10.10.10.3, Port 22
2024-11-08 15:38:30,280 - DEBUG - VM ctest-vm1-test-48970256 is ready for SSH connections
2024-11-08 15:38:30,281 - 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.12, gateway password: c0ntrail123
2024-11-08 15:38:30,281 - DEBUG - ifconfig | grep 10.10.10.3
2024-11-08 15:38:31,968 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2024-11-08 15:38:31,969 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-48970256", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-11-08 15:38:31,969 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-48970256", None, socket.AF_INET6)'
2024-11-08 15:38:32,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-48970256, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-11-08 15:38:32,208 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-48970256
2024-11-08 15:38:34,495 - DEBUG - PING ctest-vm1-test-48970256 (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=3.333 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.411 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.507 ms
--- ctest-vm1-test-48970256 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.411/1.417/3.333 ms
2024-11-08 15:38:34,495 - INFO - Ping to IP ctest-vm1-test-48970256 from VM ctest-vm1-test-48970256 passed
2024-11-08 15:38:34,510 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2024-11-08 15:38:34,522 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=default-domain:ctest-vdns1-53218375@0%20AllEntriesVdnsRecordsReq
2024-11-08 15:38:34,531 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-53218375:1:ctest-vm1-test-48970256:10.10.10.3', 'rec_name': 'ctest-vm1-test-48970256', '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-2233-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-48970256.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2024-11-08 15:38:34,531 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-53218375:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-48970256', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-48970256', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2233-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-48970256.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 15:38:35,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2233-1)
2024-11-08 15:38:35,814 - INFO - Waiting for VM ctest-vm2-test-46510844 to be up..
2024-11-08 15:38:35,865 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-08 15:38:40,949 - DEBUG - VM is in ACTIVE state now
2024-11-08 15:38:40,949 - INFO - VM name : ctest-vm2-test-46510844
2024-11-08 15:38:41,034 - DEBUG - VM ctest-vm2-test-46510844 ID is 66b91f3e-4707-4ca7-9900-a32e69160f2a
2024-11-08 15:38:41,034 - DEBUG - VM ctest-vm2-test-46510844 launched on Node cn-jenkins-deploy-platform-ansible-os-2233-1
2024-11-08 15:38:41,120 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/66b91f3e-4707-4ca7-9900-a32e69160f2a
2024-11-08 15:38:41,140 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/589ea2d2-9303-47df-9bb7-053e953c19e2
2024-11-08 15:38:44,426 - 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 1031ms')
2024-11-08 15:38:44,426 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-46510844 failed!
2024-11-08 15:38:44,490 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-98080583:ctest-vn1-vdns-23694748 is 10.10.10.1 and allocation pool is NOT set
2024-11-08 15:38:46,554 - 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=5.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.81 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 = 1.805/3.663/5.521/1.858 ms')
2024-11-08 15:38:46,555 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-46510844 passed
2024-11-08 15:38:46,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 15:38:46,718 - DEBUG - Waiting to SSH to VM ctest-vm2-test-46510844, IP 10.10.10.4, Port 22
2024-11-08 15:38:46,773 - 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-08 15:38:46,977 - DEBUG - VM ctest-vm2-test-46510844 is NOT ready for SSH connections, VM status: ACTIVE
2024-11-08 15:38:51,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-08 15:38:51,977 - DEBUG - Waiting to SSH to VM ctest-vm2-test-46510844, IP 10.10.10.4, Port 22
2024-11-08 15:38:52,147 - DEBUG - VM ctest-vm2-test-46510844 is ready for SSH connections
2024-11-08 15:38:52,148 - 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.12, gateway password: c0ntrail123
2024-11-08 15:38:52,148 - DEBUG - ifconfig | grep 10.10.10.4
2024-11-08 15:38:52,763 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2024-11-08 15:38:52,764 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-46510844", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-11-08 15:38:52,764 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-46510844", None, socket.AF_INET6)'
2024-11-08 15:38:53,032 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-46510844, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-11-08 15:38:53,032 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-46510844
2024-11-08 15:38:55,321 - DEBUG - PING ctest-vm2-test-46510844 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=4.892 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.361 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.437 ms
--- ctest-vm2-test-46510844 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.361/1.896/4.892 ms
2024-11-08 15:38:55,321 - INFO - Ping to IP ctest-vm2-test-46510844 from VM ctest-vm2-test-46510844 passed
2024-11-08 15:38:55,333 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2024-11-08 15:38:55,340 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=default-domain:ctest-vdns1-53218375@0%20AllEntriesVdnsRecordsReq
2024-11-08 15:38:55,346 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-53218375:1:ctest-vm2-test-46510844:10.10.10.4', 'rec_name': 'ctest-vm2-test-46510844', '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-2233-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-46510844.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2024-11-08 15:38:55,347 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-53218375:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-46510844', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-46510844', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2233-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-46510844.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 15:38:55,347 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-46510844", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-11-08 15:38:55,347 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-46510844", None, socket.AF_INET6)'
2024-11-08 15:38:55,532 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-46510844, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-11-08 15:38:55,532 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-46510844
2024-11-08 15:38:57,807 - DEBUG - PING ctest-vm2-test-46510844 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=7.617 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.929 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.010 ms
--- ctest-vm2-test-46510844 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.929/3.185/7.617 ms
2024-11-08 15:38:57,808 - INFO - Ping to IP ctest-vm2-test-46510844 from VM ctest-vm1-test-48970256 passed
2024-11-08 15:38:57,808 - INFO - Try deleting the VDNS entry ctest-vdns1-53218375 with back ref of ipam.
2024-11-08 15:38:57,865 - DEBUG - Delete when resource still referred: ['http://10.0.0.12:8082/network-ipam/c1644bc4-2aeb-4c1a-97ec-75c3e446468c']
2024-11-08 15:38:57,865 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2024-11-08 15:38:57,866 - INFO - Add CNAME VDNS record for ctest-vm1-test-48970256 and verify we able to ping by alias name
2024-11-08 15:38:57,913 - DEBUG - Creating VDNS record data : test-rec
2024-11-08 15:38:58,026 - INFO - In verify_on_setup
2024-11-08 15:38:58,121 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-53218375', 'test-rec'] created succesfully
2024-11-08 15:38:58,122 - INFO - Verify VDNS record is shown in the API server
2024-11-08 15:38:58,122 - DEBUG - Requesting: http://10.0.0.12:8082/domains
2024-11-08 15:38:58,129 - DEBUG - Requesting: http://10.0.0.12:8082/domain/55a36a77-f325-48d8-a3d5-8f547d9f5482
2024-11-08 15:38:58,143 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-DNS/3b733812-1780-41db-abf2-e80b4048f610
2024-11-08 15:38:58,154 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-DNS-record/4cba5a6a-a676-4014-9fdf-877f084f6899
2024-11-08 15:38:58,162 - INFO - Verify VDNS record is shown in the control node
2024-11-08 15:38:58,170 - 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.12, gateway password: c0ntrail123
2024-11-08 15:38:58,170 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-11-08 15:38:58,355 - 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.12, gateway password: c0ntrail123
2024-11-08 15:38:58,355 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-11-08 15:38:58,617 - DEBUG - ping: bad address 'vm1-test-alias'
2024-11-08 15:38:58,617 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-48970256 failed
2024-11-08 15:38:59,618 - 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.12, gateway password: c0ntrail123
2024-11-08 15:38:59,618 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-11-08 15:38:59,814 - 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.12, gateway password: c0ntrail123
2024-11-08 15:38:59,814 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-11-08 15:39:00,086 - DEBUG - ping: bad address 'vm1-test-alias'
2024-11-08 15:39:00,086 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-48970256 failed
2024-11-08 15:39:01,087 - 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.12, gateway password: c0ntrail123
2024-11-08 15:39:01,087 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-11-08 15:39:01,294 - 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.12, gateway password: c0ntrail123
2024-11-08 15:39:01,294 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-11-08 15:39:03,544 - 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.386 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.390 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.362 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.362/0.379/0.390 ms
2024-11-08 15:39:03,544 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-48970256 passed
2024-11-08 15:39:03,544 - DEBUG - Deleting VDNS record data: test-rec
2024-11-08 15:39:03,621 - INFO - VDNS record info: default-domain:ctest-vdns1-53218375:test-rec deleted successfully.
2024-11-08 15:39:03,622 - INFO - Deleting VM ctest-vm2-test-46510844
2024-11-08 15:39:03,691 - INFO - Deleting VM ctest-vm1-test-48970256
2024-11-08 15:39:03,759 - INFO - Deleting VN ctest-vn1-vdns-23694748
2024-11-08 15:39:03,804 - DEBUG - VN df2e7149-4af6-464d-b6d2-a36b33c5446f still in use: Unable to complete operation on network df2e7149-4af6-464d-b6d2-a36b33c5446f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-49e38cf6-0381-4376-a66e-7792365782bf']
2024-11-08 15:39:03,805 - WARNING - Deleting VN ctest-vn1-vdns-23694748 failed..Will retry
2024-11-08 15:39:06,092 - DEBUG - Response for deleting network ()
2024-11-08 15:39:06,153 - DEBUG - Deleting VDNS Entry: ctest-vdns1-53218375
2024-11-08 15:39:06,229 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-53218375'] deleted successfully.
2024-11-08 15:39:06,230 - DEBUG - Requesting: http://10.0.0.12:8082/domains
2024-11-08 15:39:06,236 - DEBUG - Requesting: http://10.0.0.12:8082/domain/55a36a77-f325-48d8-a3d5-8f547d9f5482
2024-11-08 15:39:06,252 - DEBUG - VDNS information not found in API server
2024-11-08 15:39:06,252 - INFO - VDNS information ctest-vdns1-53218375 removed from the API Server
2024-11-08 15:39:06,260 - INFO - VDNS information ctest-vdns1-53218375 removed in the Control node
2024-11-08 15:39:06,260 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-98080583']
2024-11-08 15:39:06,519 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 15:39:06,520 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:51]
2024-11-08 15:39:06,520 - INFO - --------------------------------------------------------------------------------
2024-11-08 15:39:07,255 - INFO - Deleted project: ctest-TestvDNSBasic0-98080583, ID : b1c9aa56-3c1c-4c78-afc4-ad8d296592d3