2024-09-04 11:18:07,388 - INFO - Reading existing Domain with UUID 5fc23b5e-6535-4002-b7dc-a80fda751e6b
2024-09-04 11:18:07,411 - INFO - Using existing domain ['admin_domain'](5fc23b5e-6535-4002-b7dc-a80fda751e6b)
2024-09-04 11:18:07,955 - INFO - Project ctest-TestvDNSBasic0-19204815 not found, creating it
2024-09-04 11:18:08,782 - INFO - Created Project:ctest-TestvDNSBasic0-19204815, ID : 63ac3311-baba-417b-a746-6a8f3fbac14a
2024-09-04 11:18:11,540 - INFO - ================================================================================
2024-09-04 11:18:11,541 - INFO - STARTING TEST : test_vdns_ping_same_vn
2024-09-04 11:18:11,541 - 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-09-04 11:18:12,113 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.0.0.17': '0'}} with
2024-09-04 11:18:12,113 - INFO - Initial checks done. Running the testcase now
2024-09-04 11:18:12,114 - INFO -
2024-09-04 11:18:13,140 - INFO - Using existing project ['admin_domain', 'ctest-TestvDNSBasic0-19204815'](63ac3311-baba-417b-a746-6a8f3fbac14a)
2024-09-04 11:18:13,220 - DEBUG - Creating VDNS : ctest-vdns1-88142866
2024-09-04 11:18:13,516 - DEBUG - VDNS: ['admin_domain', 'ctest-vdns1-88142866'] created succesfully
2024-09-04 11:18:13,541 - DEBUG - Verify VDNS entry is shown in control node
2024-09-04 11:18:13,614 - DEBUG - Verify VDNS entry is shown in the API server
2024-09-04 11:18:13,614 - DEBUG - Requesting: https://10.0.0.17:8082/domains
2024-09-04 11:18:14,024 - DEBUG - Requesting: https://10.0.0.17:8082/domains
2024-09-04 11:18:14,125 - DEBUG - Requesting: https://10.0.0.17:8082/domain/5fc23b5e-6535-4002-b7dc-a80fda751e6b
2024-09-04 11:18:14,216 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-DNS/cecdd480-bf5c-4053-ac7f-8512f7f94ad8
2024-09-04 11:18:15,371 - DEBUG - Response for create_network : {'network': {'id': 'cc0bdceb-1f85-4d7a-b81c-488c230eabad', 'name': 'ctest-vn1-vdns-53389179', 'tenant_id': '63ac3311baba417ba7466a8f3fbac14a', 'project_id': '63ac3311baba417ba7466a8f3fbac14a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestvDNSBasic0-19204815', 'ctest-vn1-vdns-53389179'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2024-09-04 11:18:15,656 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a21e6436-9199-4796-a8e4-a79b7b08c926', 'name': '', 'tenant_id': '63ac3311baba417ba7466a8f3fbac14a', 'network_id': 'cc0bdceb-1f85-4d7a-b81c-488c230eabad', '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': [], 'created_at': '2024-09-04T11:18:15.516340', 'updated_at': '2024-09-04T11:18:15.516340', 'dns_server_address': '10.10.10.2', 'tags': [], 'project_id': '63ac3311baba417ba7466a8f3fbac14a'}}
2024-09-04 11:18:15,735 - INFO - Created VN ctest-vn1-vdns-53389179
2024-09-04 11:18:15,796 - DEBUG - VN ctest-vn1-vdns-53389179 UUID is cc0bdceb-1f85-4d7a-b81c-488c230eabad
2024-09-04 11:18:16,406 - DEBUG - Services list from nova: [, , ]
2024-09-04 11:18:18,821 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-402-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-402-1)
2024-09-04 11:18:18,821 - INFO - Waiting for VM ctest-vm1-test-86218960 to be up..
2024-09-04 11:18:19,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-04 11:18:24,205 - DEBUG - VM is in ACTIVE state now
2024-09-04 11:18:24,205 - INFO - VM name : ctest-vm1-test-86218960
2024-09-04 11:18:24,387 - DEBUG - VM ctest-vm1-test-86218960 ID is 5df838fb-f0fd-4baa-a988-31cccab98eea
2024-09-04 11:18:24,388 - DEBUG - VM ctest-vm1-test-86218960 launched on Node cn-jenkins-deploy-platform-juju-os-402-1
2024-09-04 11:18:24,562 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/5df838fb-f0fd-4baa-a988-31cccab98eea
2024-09-04 11:18:24,617 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/9d7625b2-49a3-43ec-b2fa-06dd41f1c7a6
2024-09-04 11:18:28,183 - 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 1015ms')
2024-09-04 11:18:28,184 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-86218960 failed!
2024-09-04 11:18:28,253 - DEBUG - Gateway for vn admin_domain:ctest-TestvDNSBasic0-19204815:ctest-vn1-vdns-53389179 is 10.10.10.1 and allocation pool is NOT set
2024-09-04 11:18:32,381 - 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 1024ms')
2024-09-04 11:18:32,381 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-86218960 failed!
2024-09-04 11:18:32,444 - DEBUG - Gateway for vn admin_domain:ctest-TestvDNSBasic0-19204815:ctest-vn1-vdns-53389179 is 10.10.10.1 and allocation pool is NOT set
2024-09-04 11:18:34,556 - 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=8.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.32 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.317/5.326/8.336/3.009 ms')
2024-09-04 11:18:34,556 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-86218960 passed
2024-09-04 11:18:34,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-04 11:18:34,720 - DEBUG - Waiting to SSH to VM ctest-vm1-test-86218960, IP 10.10.10.3, Port 22
2024-09-04 11:18:34,979 - DEBUG - VM ctest-vm1-test-86218960 is ready for SSH connections
2024-09-04 11:18:34,979 - 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.17, gateway password: c0ntrail123
2024-09-04 11:18:34,979 - DEBUG - ifconfig | grep 10.10.10.3
2024-09-04 11:18:37,138 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2024-09-04 11:18:37,140 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-86218960", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2024-09-04 11:18:37,140 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-86218960", None, socket.AF_INET6)'
2024-09-04 11:18:37,596 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-86218960, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2024-09-04 11:18:37,596 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-86218960
2024-09-04 11:18:39,944 - DEBUG - PING ctest-vm1-test-86218960 (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=3.557 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.450 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.825 ms
--- ctest-vm1-test-86218960 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.450/1.610/3.557 ms
2024-09-04 11:18:39,945 - INFO - Ping to IP ctest-vm1-test-86218960 from VM ctest-vm1-test-86218960 passed
2024-09-04 11:18:39,982 - DEBUG - Requesting: https://10.0.0.17:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2024-09-04 11:18:40,050 - DEBUG - Requesting: https://10.0.0.17:8092/Snh_PageReq?x=admin_domain:ctest-vdns1-88142866@0%20AllEntriesVdnsRecordsReq
2024-09-04 11:18:40,119 - DEBUG - Actual record data {'name': 'admin_domain:ctest-vdns1-88142866:1:ctest-vm1-test-86218960:10.10.10.3', 'rec_name': 'ctest-vm1-test-86218960', '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-juju-os-402-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-86218960.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2024-09-04 11:18:40,120 - DEBUG - Actual record data {'name': 'admin_domain:ctest-vdns1-88142866:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-86218960', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-86218960', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-juju-os-402-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-86218960.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-09-04 11:18:42,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-402-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-402-1)
2024-09-04 11:18:42,420 - INFO - Waiting for VM ctest-vm2-test-24763349 to be up..
2024-09-04 11:18:42,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-04 11:18:47,770 - DEBUG - VM is in ACTIVE state now
2024-09-04 11:18:47,770 - INFO - VM name : ctest-vm2-test-24763349
2024-09-04 11:18:47,963 - DEBUG - VM ctest-vm2-test-24763349 ID is 6e97316d-5a96-4065-b57d-d6a0f07ae064
2024-09-04 11:18:47,963 - DEBUG - VM ctest-vm2-test-24763349 launched on Node cn-jenkins-deploy-platform-juju-os-402-1
2024-09-04 11:18:48,128 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine/6e97316d-5a96-4065-b57d-d6a0f07ae064
2024-09-04 11:18:48,189 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-machine-interface/08eb948a-918e-4f83-ba4c-b47af3ba897e
2024-09-04 11:18:51,699 - 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 1015ms')
2024-09-04 11:18:51,700 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-24763349 failed!
2024-09-04 11:18:51,760 - DEBUG - Gateway for vn admin_domain:ctest-TestvDNSBasic0-19204815:ctest-vn1-vdns-53389179 is 10.10.10.1 and allocation pool is NOT set
2024-09-04 11:18:55,924 - 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 1027ms')
2024-09-04 11:18:55,924 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-24763349 failed!
2024-09-04 11:18:55,984 - DEBUG - Gateway for vn admin_domain:ctest-TestvDNSBasic0-19204815:ctest-vn1-vdns-53389179 is 10.10.10.1 and allocation pool is NOT set
2024-09-04 11:18:58,086 - 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=6.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.08 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.078/4.163/6.248/2.085 ms')
2024-09-04 11:18:58,087 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-24763349 passed
2024-09-04 11:18:58,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-04 11:18:58,280 - DEBUG - Waiting to SSH to VM ctest-vm2-test-24763349, IP 10.10.10.4, Port 22
2024-09-04 11:18:58,412 - 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-09-04 11:18:58,677 - DEBUG - VM ctest-vm2-test-24763349 is NOT ready for SSH connections, VM status: ACTIVE
2024-09-04 11:19:03,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-04 11:19:03,678 - DEBUG - Waiting to SSH to VM ctest-vm2-test-24763349, IP 10.10.10.4, Port 22
2024-09-04 11:19:03,986 - DEBUG - VM ctest-vm2-test-24763349 is ready for SSH connections
2024-09-04 11:19:03,986 - 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.17, gateway password: c0ntrail123
2024-09-04 11:19:03,986 - DEBUG - ifconfig | grep 10.10.10.4
2024-09-04 11:19:04,963 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2024-09-04 11:19:04,963 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-24763349", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2024-09-04 11:19:04,964 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-24763349", None, socket.AF_INET6)'
2024-09-04 11:19:05,246 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-24763349, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2024-09-04 11:19:05,247 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-24763349
2024-09-04 11:19:07,611 - DEBUG - PING ctest-vm2-test-24763349 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.869 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.231 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.075 ms
--- ctest-vm2-test-24763349 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.075/2.058/3.869 ms
2024-09-04 11:19:07,611 - INFO - Ping to IP ctest-vm2-test-24763349 from VM ctest-vm2-test-24763349 passed
2024-09-04 11:19:07,668 - DEBUG - Requesting: https://10.0.0.17:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2024-09-04 11:19:07,734 - DEBUG - Requesting: https://10.0.0.17:8092/Snh_PageReq?x=admin_domain:ctest-vdns1-88142866@0%20AllEntriesVdnsRecordsReq
2024-09-04 11:19:07,796 - DEBUG - Actual record data {'name': 'admin_domain:ctest-vdns1-88142866:1:ctest-vm2-test-24763349:10.10.10.4', 'rec_name': 'ctest-vm2-test-24763349', '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-juju-os-402-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-24763349.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2024-09-04 11:19:07,796 - DEBUG - Actual record data {'name': 'admin_domain:ctest-vdns1-88142866:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-24763349', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-24763349', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-juju-os-402-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-24763349.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-09-04 11:19:07,797 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-24763349", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2024-09-04 11:19:07,797 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-24763349", None, socket.AF_INET6)'
2024-09-04 11:19:08,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-24763349, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2024-09-04 11:19:08,071 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-24763349
2024-09-04 11:19:10,368 - DEBUG - PING ctest-vm2-test-24763349 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=9.472 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.736 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.954 ms
--- ctest-vm2-test-24763349 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.954/4.054/9.472 ms
2024-09-04 11:19:10,368 - INFO - Ping to IP ctest-vm2-test-24763349 from VM ctest-vm1-test-86218960 passed
2024-09-04 11:19:10,369 - INFO - Try deleting the VDNS entry ctest-vdns1-88142866 with back ref of ipam.
2024-09-04 11:19:10,427 - DEBUG - Delete when resource still referred: ['https://10.0.0.17:8082/network-ipam/9d44aa51-c3cf-4d4d-96ca-b4dd916cac9a']
2024-09-04 11:19:10,427 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2024-09-04 11:19:10,427 - INFO - Add CNAME VDNS record for ctest-vm1-test-86218960 and verify we able to ping by alias name
2024-09-04 11:19:10,475 - DEBUG - Creating VDNS record data : test-rec
2024-09-04 11:19:10,608 - INFO - In verify_on_setup
2024-09-04 11:19:10,716 - DEBUG - VDNS record: ['admin_domain', 'ctest-vdns1-88142866', 'test-rec'] created succesfully
2024-09-04 11:19:10,716 - INFO - Verify VDNS record is shown in the API server
2024-09-04 11:19:10,716 - DEBUG - Requesting: https://10.0.0.17:8082/domains
2024-09-04 11:19:10,772 - DEBUG - Requesting: https://10.0.0.17:8082/domain/5fc23b5e-6535-4002-b7dc-a80fda751e6b
2024-09-04 11:19:10,849 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-DNS/cecdd480-bf5c-4053-ac7f-8512f7f94ad8
2024-09-04 11:19:10,911 - DEBUG - Requesting: https://10.0.0.17:8082/virtual-DNS-record/6e38b378-3041-4154-ac31-bdfa910d4d24
2024-09-04 11:19:10,971 - INFO - Verify VDNS record is shown in the control node
2024-09-04 11:19:11,031 - 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.17, gateway password: c0ntrail123
2024-09-04 11:19:11,032 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-09-04 11:19:11,297 - 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.17, gateway password: c0ntrail123
2024-09-04 11:19:11,297 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-09-04 11:19:11,561 - DEBUG - ping: bad address 'vm1-test-alias'
2024-09-04 11:19:11,561 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-86218960 failed
2024-09-04 11:19:12,563 - 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.17, gateway password: c0ntrail123
2024-09-04 11:19:12,563 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-09-04 11:19:12,902 - 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.17, gateway password: c0ntrail123
2024-09-04 11:19:12,902 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-09-04 11:19:13,214 - DEBUG - ping: bad address 'vm1-test-alias'
2024-09-04 11:19:13,214 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-86218960 failed
2024-09-04 11:19:14,216 - 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.17, gateway password: c0ntrail123
2024-09-04 11:19:14,217 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-09-04 11:19:14,478 - 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.17, gateway password: c0ntrail123
2024-09-04 11:19:14,479 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-09-04 11:19:16,886 - 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.745 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=1.151 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.998 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.745/0.964/1.151 ms
2024-09-04 11:19:16,886 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-86218960 passed
2024-09-04 11:19:16,886 - DEBUG - Deleting VDNS record data: test-rec
2024-09-04 11:19:17,016 - INFO - VDNS record info: admin_domain:ctest-vdns1-88142866:test-rec deleted successfully.
2024-09-04 11:19:17,016 - INFO - Deleting VM ctest-vm2-test-24763349
2024-09-04 11:19:17,223 - INFO - Deleting VM ctest-vm1-test-86218960
2024-09-04 11:19:17,496 - INFO - Deleting VN ctest-vn1-vdns-53389179
2024-09-04 11:19:17,706 - DEBUG - VN cc0bdceb-1f85-4d7a-b81c-488c230eabad still in use: Unable to complete operation on network cc0bdceb-1f85-4d7a-b81c-488c230eabad. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-169bbd49-0720-4fda-9c55-f960f9a0d254']
2024-09-04 11:19:17,706 - WARNING - Deleting VN ctest-vn1-vdns-53389179 failed..Will retry
2024-09-04 11:19:20,152 - DEBUG - Response for deleting network ()
2024-09-04 11:19:20,241 - DEBUG - Deleting VDNS Entry: ctest-vdns1-88142866
2024-09-04 11:19:20,352 - INFO - VDNS info: ['admin_domain', 'ctest-vdns1-88142866'] deleted successfully.
2024-09-04 11:19:20,352 - DEBUG - Requesting: https://10.0.0.17:8082/domains
2024-09-04 11:19:20,422 - DEBUG - Requesting: https://10.0.0.17:8082/domain/5fc23b5e-6535-4002-b7dc-a80fda751e6b
2024-09-04 11:19:20,494 - DEBUG - VDNS information not found in API server
2024-09-04 11:19:20,494 - INFO - VDNS information ctest-vdns1-88142866 removed from the API Server
2024-09-04 11:19:20,564 - INFO - VDNS information ctest-vdns1-88142866 removed in the Control node
2024-09-04 11:19:20,565 - DEBUG - Skipping the deletion of Project ['admin_domain', 'ctest-TestvDNSBasic0-19204815']
2024-09-04 11:19:21,106 - DEBUG - No XMPP flaps were noticed during the test
2024-09-04 11:19:21,106 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:01:10]
2024-09-04 11:19:21,106 - INFO - --------------------------------------------------------------------------------
2024-09-04 11:19:22,120 - INFO - Deleted project: ctest-TestvDNSBasic0-19204815, ID : 63ac3311-baba-417b-a746-6a8f3fbac14a