2024-09-13 21:35:05,109 - INFO - Reading existing Domain with UUID c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:35:05,124 - INFO - Using existing domain ['admin_domain'](c825d847-91d2-46e5-9bb6-0d300075fcb1) 2024-09-13 21:35:05,443 - INFO - Project ctest-TestvDNSBasic0-66814692 not found, creating it 2024-09-13 21:35:06,084 - INFO - Created Project:ctest-TestvDNSBasic0-66814692, ID : 368ac66b-b35f-4869-9386-0d39e2f636db 2024-09-13 21:35:08,291 - INFO - ================================================================================ 2024-09-13 21:35:08,291 - INFO - STARTING TEST : test_vdns_ping_same_vn 2024-09-13 21:35:08,292 - 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-13 21:35:09,148 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.12': '0', '10.0.0.41': '2'}, '10.0.0.36': {'10.0.0.12': '3', '10.0.0.41': '3'}} with 2024-09-13 21:35:09,148 - INFO - Initial checks done. Running the testcase now 2024-09-13 21:35:09,149 - INFO - 2024-09-13 21:35:10,044 - INFO - Using existing project ['admin_domain', 'ctest-TestvDNSBasic0-66814692'](368ac66b-b35f-4869-9386-0d39e2f636db) 2024-09-13 21:35:10,062 - DEBUG - Creating VDNS : ctest-vdns1-77643480 2024-09-13 21:35:10,218 - DEBUG - VDNS: ['admin_domain', 'ctest-vdns1-77643480'] created succesfully 2024-09-13 21:35:10,218 - DEBUG - Verify VDNS entry is shown in control node 2024-09-13 21:35:13,249 - DEBUG - Verify VDNS entry is shown in the API server 2024-09-13 21:35:13,249 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-09-13 21:35:13,586 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-09-13 21:35:13,630 - DEBUG - Requesting: http://10.0.0.12:8082/domain/c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:35:13,651 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-DNS/d7ada437-6e7e-43f8-8991-4fd0bcb84d2d 2024-09-13 21:35:14,546 - DEBUG - Response for create_network : {'network': {'id': 'fbd08132-0ec1-4ea6-b130-d5b878590a01', 'name': 'ctest-vn1-vdns-57895149', 'tenant_id': '368ac66bb35f486993860d39e2f636db', 'project_id': '368ac66bb35f486993860d39e2f636db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestvDNSBasic0-66814692', 'ctest-vn1-vdns-57895149'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-13 21:35:15,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d0f60ce-f753-4dff-adcb-783d84c486fc', 'name': '', 'tenant_id': '368ac66bb35f486993860d39e2f636db', 'network_id': 'fbd08132-0ec1-4ea6-b130-d5b878590a01', '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-13T21:35:14.735106', 'updated_at': '2024-09-13T21:35:14.735106', 'dns_server_address': '10.10.10.2', 'tags': [], 'project_id': '368ac66bb35f486993860d39e2f636db'}} 2024-09-13 21:35:15,108 - INFO - Created VN ctest-vn1-vdns-57895149 2024-09-13 21:35:15,132 - DEBUG - VN ctest-vn1-vdns-57895149 UUID is fbd08132-0ec1-4ea6-b130-d5b878590a01 2024-09-13 21:35:15,632 - DEBUG - Services list from nova: [, , , ] 2024-09-13 21:35:19,586 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-juju-os-424-1), Zone: (nova:an-jenkins-deploy-platform-juju-os-424-1) 2024-09-13 21:35:19,587 - INFO - Waiting for VM ctest-vm1-test-38619014 to be up.. 2024-09-13 21:35:19,690 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 21:35:24,822 - DEBUG - VM is in ACTIVE state now 2024-09-13 21:35:24,822 - INFO - VM name : ctest-vm1-test-38619014 2024-09-13 21:35:24,957 - DEBUG - VM ctest-vm1-test-38619014 ID is 553be38b-12ba-4aaf-a20e-5b96f4992ed5 2024-09-13 21:35:24,957 - DEBUG - VM ctest-vm1-test-38619014 launched on Node an-jenkins-deploy-platform-juju-os-424-1 2024-09-13 21:35:25,096 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/553be38b-12ba-4aaf-a20e-5b96f4992ed5 2024-09-13 21:35:25,409 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/553be38b-12ba-4aaf-a20e-5b96f4992ed5 2024-09-13 21:35:25,462 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/7838cb1c-9791-4f0b-86d1-64606db2453b 2024-09-13 21:35:28,643 - 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 1025ms') 2024-09-13 21:35:28,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38619014 failed! 2024-09-13 21:35:28,663 - DEBUG - Gateway for vn admin_domain:ctest-TestvDNSBasic0-66814692:ctest-vn1-vdns-57895149 is 10.10.10.1 and allocation pool is NOT set 2024-09-13 21:35:30,735 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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.270/6.219/11.169/4.949 ms') 2024-09-13 21:35:30,736 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-38619014 passed 2024-09-13 21:35:30,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:35:30,770 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38619014, IP 10.10.10.3, Port 22 2024-09-13 21:35:30,795 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: /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-09-13 21:35:30,928 - DEBUG - VM ctest-vm1-test-38619014 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-13 21:35:35,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:35:35,930 - DEBUG - Waiting to SSH to VM ctest-vm1-test-38619014, IP 10.10.10.3, Port 22 2024-09-13 21:35:36,019 - DEBUG - VM ctest-vm1-test-38619014 is ready for SSH connections 2024-09-13 21:35:36,019 - 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.36, gateway password: c0ntrail123 2024-09-13 21:35:36,019 - DEBUG - ifconfig | grep 10.10.10.3 2024-09-13 21:35:37,859 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2024-09-13 21:35:37,860 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-38619014", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-09-13 21:35:37,860 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-38619014", None, socket.AF_INET6)' 2024-09-13 21:35:38,006 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-38619014, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-09-13 21:35:38,006 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-38619014 2024-09-13 21:35:40,216 - DEBUG - PING ctest-vm1-test-38619014 (10.10.10.3): 56 data bytes 64 bytes from 10.10.10.3: seq=0 ttl=64 time=2.602 ms 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.307 ms 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.456 ms --- ctest-vm1-test-38619014 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.307/1.121/2.602 ms 2024-09-13 21:35:40,216 - INFO - Ping to IP ctest-vm1-test-38619014 from VM ctest-vm1-test-38619014 passed 2024-09-13 21:35:40,231 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-09-13 21:35:40,238 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=admin_domain:ctest-vdns1-77643480@0%20AllEntriesVdnsRecordsReq 2024-09-13 21:35:40,244 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-09-13 21:35:40,250 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=admin_domain:ctest-vdns1-77643480@0%20AllEntriesVdnsRecordsReq 2024-09-13 21:35:40,256 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-09-13 21:35:40,262 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=admin_domain:ctest-vdns1-77643480@0%20AllEntriesVdnsRecordsReq 2024-09-13 21:35:40,268 - DEBUG - Actual record data {'name': 'admin_domain:ctest-vdns1-77643480:1:ctest-vm1-test-38619014:10.10.10.3', 'rec_name': 'ctest-vm1-test-38619014', '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-juju-os-424-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-38619014.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2024-09-13 21:35:40,268 - DEBUG - Actual record data {'name': 'admin_domain:ctest-vdns1-77643480:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-38619014', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-38619014', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-juju-os-424-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-38619014.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-13 21:35:42,372 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-juju-os-424-2), Zone: (nova:an-jenkins-deploy-platform-juju-os-424-2) 2024-09-13 21:35:42,373 - INFO - Waiting for VM ctest-vm2-test-69399766 to be up.. 2024-09-13 21:35:42,474 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 21:35:47,640 - DEBUG - VM is in ACTIVE state now 2024-09-13 21:35:47,640 - INFO - VM name : ctest-vm2-test-69399766 2024-09-13 21:35:47,965 - DEBUG - VM ctest-vm2-test-69399766 ID is c05f0a1a-092d-437e-8f08-f7e592eb3bb7 2024-09-13 21:35:47,965 - DEBUG - VM ctest-vm2-test-69399766 launched on Node an-jenkins-deploy-platform-juju-os-424-2 2024-09-13 21:35:48,337 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/c05f0a1a-092d-437e-8f08-f7e592eb3bb7 2024-09-13 21:35:48,349 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8fe8b9ef-53b3-4e3c-b1ec-a79dc341d9fe 2024-09-13 21:35:52,231 - 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 1026ms') 2024-09-13 21:35:52,231 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69399766 failed! 2024-09-13 21:35:52,250 - DEBUG - Gateway for vn admin_domain:ctest-TestvDNSBasic0-66814692:ctest-vn1-vdns-57895149 is 10.10.10.1 and allocation pool is NOT set 2024-09-13 21:35:54,318 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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.124/2.061/2.998/0.937 ms') 2024-09-13 21:35:54,318 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69399766 passed 2024-09-13 21:35:54,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:35:54,400 - DEBUG - Waiting to SSH to VM ctest-vm2-test-69399766, IP 10.10.10.4, Port 22 2024-09-13 21:35:54,424 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: /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-09-13 21:35:54,583 - DEBUG - VM ctest-vm2-test-69399766 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-13 21:35:59,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:35:59,583 - DEBUG - Waiting to SSH to VM ctest-vm2-test-69399766, IP 10.10.10.4, Port 22 2024-09-13 21:35:59,717 - DEBUG - VM ctest-vm2-test-69399766 is ready for SSH connections 2024-09-13 21:35:59,718 - 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.27, gateway password: c0ntrail123 2024-09-13 21:35:59,718 - DEBUG - ifconfig | grep 10.10.10.4 2024-09-13 21:36:00,821 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2024-09-13 21:36:00,821 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-69399766", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2024-09-13 21:36:00,821 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-69399766", None, socket.AF_INET6)' 2024-09-13 21:36:01,170 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-69399766, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2024-09-13 21:36:01,171 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-69399766 2024-09-13 21:36:03,433 - DEBUG - PING ctest-vm2-test-69399766 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.525 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.484 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.404 ms --- ctest-vm2-test-69399766 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.404/1.471/3.525 ms 2024-09-13 21:36:03,433 - INFO - Ping to IP ctest-vm2-test-69399766 from VM ctest-vm2-test-69399766 passed 2024-09-13 21:36:03,445 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-09-13 21:36:03,451 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=admin_domain:ctest-vdns1-77643480@0%20AllEntriesVdnsRecordsReq 2024-09-13 21:36:03,459 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-09-13 21:36:03,467 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=admin_domain:ctest-vdns1-77643480@0%20AllEntriesVdnsRecordsReq 2024-09-13 21:36:03,476 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2024-09-13 21:36:03,483 - DEBUG - Requesting: http://10.0.0.12:8092/Snh_PageReq?x=admin_domain:ctest-vdns1-77643480@0%20AllEntriesVdnsRecordsReq 2024-09-13 21:36:03,492 - DEBUG - Actual record data {'name': 'admin_domain:ctest-vdns1-77643480:1:ctest-vm2-test-69399766:10.10.10.4', 'rec_name': 'ctest-vm2-test-69399766', '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-juju-os-424-2/dns'} , Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-69399766.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2024-09-13 21:36:03,492 - DEBUG - Actual record data {'name': 'admin_domain:ctest-vdns1-77643480:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-69399766', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-69399766', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-juju-os-424-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-69399766.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-13 21:36:03,492 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-69399766", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-09-13 21:36:03,492 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-69399766", None, socket.AF_INET6)' 2024-09-13 21:36:03,636 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-69399766, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-09-13 21:36:03,637 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-69399766 2024-09-13 21:36:05,844 - DEBUG - PING ctest-vm2-test-69399766 (10.10.10.4): 56 data bytes 64 bytes from 10.10.10.4: seq=0 ttl=64 time=6.578 ms 64 bytes from 10.10.10.4: seq=1 ttl=64 time=1.309 ms 64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.166 ms --- ctest-vm2-test-69399766 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.166/3.017/6.578 ms 2024-09-13 21:36:05,844 - INFO - Ping to IP ctest-vm2-test-69399766 from VM ctest-vm1-test-38619014 passed 2024-09-13 21:36:05,844 - INFO - Try deleting the VDNS entry ctest-vdns1-77643480 with back ref of ipam. 2024-09-13 21:36:05,866 - DEBUG - Delete when resource still referred: ['http://10.0.0.41:8082/network-ipam/18762299-d579-482f-a4f2-6c783fa7db0b'] 2024-09-13 21:36:05,866 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2024-09-13 21:36:05,867 - INFO - Add CNAME VDNS record for ctest-vm1-test-38619014 and verify we able to ping by alias name 2024-09-13 21:36:05,918 - DEBUG - Creating VDNS record data : test-rec 2024-09-13 21:36:05,986 - INFO - In verify_on_setup 2024-09-13 21:36:06,070 - DEBUG - VDNS record: ['admin_domain', 'ctest-vdns1-77643480', 'test-rec'] created succesfully 2024-09-13 21:36:06,070 - INFO - Verify VDNS record is shown in the API server 2024-09-13 21:36:06,070 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-09-13 21:36:06,079 - DEBUG - Requesting: http://10.0.0.12:8082/domain/c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:36:06,099 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-DNS/d7ada437-6e7e-43f8-8991-4fd0bcb84d2d 2024-09-13 21:36:06,337 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-DNS-record/71cdea9b-daf4-4f58-9ade-0eccb0e0226f 2024-09-13 21:36:06,350 - INFO - Verify VDNS record is shown in the control node 2024-09-13 21:36:06,374 - 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.36, gateway password: c0ntrail123 2024-09-13 21:36:06,375 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-09-13 21:36:06,539 - 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.36, gateway password: c0ntrail123 2024-09-13 21:36:06,539 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-09-13 21:36:07,253 - DEBUG - ping: bad address 'vm1-test-alias' 2024-09-13 21:36:07,253 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-38619014 failed 2024-09-13 21:36:08,254 - 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.36, gateway password: c0ntrail123 2024-09-13 21:36:08,254 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-09-13 21:36:08,423 - 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.36, gateway password: c0ntrail123 2024-09-13 21:36:08,423 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-09-13 21:36:08,576 - DEBUG - ping: bad address 'vm1-test-alias' 2024-09-13 21:36:08,576 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-38619014 failed 2024-09-13 21:36:09,577 - 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.36, gateway password: c0ntrail123 2024-09-13 21:36:09,577 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2024-09-13 21:36:09,759 - 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.36, gateway password: c0ntrail123 2024-09-13 21:36:09,759 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2024-09-13 21:36:11,911 - 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.329 ms 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.341 ms 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.406 ms --- vm1-test-alias ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.329/0.358/0.406 ms 2024-09-13 21:36:11,911 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-38619014 passed 2024-09-13 21:36:11,912 - DEBUG - Deleting VDNS record data: test-rec 2024-09-13 21:36:11,965 - INFO - VDNS record info: admin_domain:ctest-vdns1-77643480:test-rec deleted successfully. 2024-09-13 21:36:11,965 - INFO - Deleting VM ctest-vm2-test-69399766 2024-09-13 21:36:12,120 - INFO - Deleting VM ctest-vm1-test-38619014 2024-09-13 21:36:12,287 - INFO - Deleting VN ctest-vn1-vdns-57895149 2024-09-13 21:36:12,346 - DEBUG - VN fbd08132-0ec1-4ea6-b130-d5b878590a01 still in use: Unable to complete operation on network fbd08132-0ec1-4ea6-b130-d5b878590a01. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-47d0f9c8-5efc-44c1-8603-aa4dbd19b900'] 2024-09-13 21:36:12,346 - WARNING - Deleting VN ctest-vn1-vdns-57895149 failed..Will retry 2024-09-13 21:36:14,397 - DEBUG - VN fbd08132-0ec1-4ea6-b130-d5b878590a01 still in use: Unable to complete operation on network fbd08132-0ec1-4ea6-b130-d5b878590a01. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5a0dbc17-c2b3-495a-a333-4bc4d6d97b4d'] 2024-09-13 21:36:14,398 - WARNING - Deleting VN ctest-vn1-vdns-57895149 failed..Will retry 2024-09-13 21:36:16,844 - DEBUG - Response for deleting network () 2024-09-13 21:36:16,934 - DEBUG - Deleting VDNS Entry: ctest-vdns1-77643480 2024-09-13 21:36:17,082 - INFO - VDNS info: ['admin_domain', 'ctest-vdns1-77643480'] deleted successfully. 2024-09-13 21:36:17,082 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-09-13 21:36:17,115 - DEBUG - Requesting: http://10.0.0.12:8082/domain/c825d847-91d2-46e5-9bb6-0d300075fcb1 2024-09-13 21:36:17,132 - DEBUG - VDNS information not found in API server 2024-09-13 21:36:17,132 - INFO - VDNS information ctest-vdns1-77643480 removed from the API Server 2024-09-13 21:36:17,139 - INFO - VDNS information ctest-vdns1-77643480 removed in the Control node 2024-09-13 21:36:17,140 - DEBUG - Skipping the deletion of Project ['admin_domain', 'ctest-TestvDNSBasic0-66814692'] 2024-09-13 21:36:17,991 - DEBUG - No XMPP flaps were noticed during the test 2024-09-13 21:36:17,991 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:01:09] 2024-09-13 21:36:17,992 - INFO - -------------------------------------------------------------------------------- 2024-09-13 21:36:19,186 - INFO - Deleted project: ctest-TestvDNSBasic0-66814692, ID : 368ac66b-b35f-4869-9386-0d39e2f636db