2025-01-15 13:11:29,986 - INFO - Domain Default found not creating
2025-01-15 13:11:30,165 - INFO - Project ctest-TestvDNSBasic0-11839453 not found, creating it
2025-01-15 13:11:30,666 - INFO - Created Project:ctest-TestvDNSBasic0-11839453, ID : ea88edc5-3358-472e-a9da-3ee1c67aeaf9
2025-01-15 13:11:32,254 - INFO - ================================================================================
2025-01-15 13:11:32,254 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-01-15 13:11:32,254 - 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
2025-01-15 13:11:32,508 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.8': '0'}} with
2025-01-15 13:11:32,508 - INFO - Initial checks done. Running the testcase now
2025-01-15 13:11:32,509 - INFO -
2025-01-15 13:11:33,214 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-11839453'](ea88edc5-3358-472e-a9da-3ee1c67aeaf9)
2025-01-15 13:11:33,270 - DEBUG - Creating VDNS : ctest-vdns1-35075325
2025-01-15 13:11:33,498 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-35075325'] created succesfully
2025-01-15 13:11:33,498 - DEBUG - Verify VDNS entry is shown in control node
2025-01-15 13:11:33,504 - DEBUG - Verify VDNS entry is shown in the API server
2025-01-15 13:11:33,504 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-01-15 13:11:33,795 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-01-15 13:11:33,824 - DEBUG - Requesting: http://10.0.0.41:8082/domain/17c6ac7d-b7b4-45f5-8930-2541b76b48e3
2025-01-15 13:11:33,842 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/f58cced2-afd5-465d-b980-a3f7fe3f1c03
2025-01-15 13:11:34,417 - DEBUG - Response for create_network : {'network': {'id': '3804fa38-66e4-4838-b12c-ab549b43abf7', 'name': 'ctest-vn1-vdns-61789544', 'tenant_id': 'ea88edc53358472ea9da3ee1c67aeaf9', 'project_id': 'ea88edc53358472ea9da3ee1c67aeaf9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-11839453', 'ctest-vn1-vdns-61789544'], 'port_security_enabled': True, 'description': ''}}
2025-01-15 13:11:34,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b750698-a59c-403d-a75b-16bc141fc325', 'name': '', 'tenant_id': 'ea88edc53358472ea9da3ee1c67aeaf9', 'network_id': '3804fa38-66e4-4838-b12c-ab549b43abf7', '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': 'ea88edc53358472ea9da3ee1c67aeaf9'}}
2025-01-15 13:11:34,625 - INFO - Created VN ctest-vn1-vdns-61789544
2025-01-15 13:11:34,678 - DEBUG - VN ctest-vn1-vdns-61789544 UUID is 3804fa38-66e4-4838-b12c-ab549b43abf7
2025-01-15 13:11:34,910 - DEBUG - Services list from nova: [, , ]
2025-01-15 13:11:35,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2639-1)
2025-01-15 13:11:35,940 - INFO - Waiting for VM ctest-vm1-test-79152647 to be up..
2025-01-15 13:11:35,981 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-15 13:11:41,065 - DEBUG - VM is in ACTIVE state now
2025-01-15 13:11:41,065 - INFO - VM name : ctest-vm1-test-79152647
2025-01-15 13:11:41,144 - DEBUG - VM ctest-vm1-test-79152647 ID is bb1cf8a3-0c44-4fd1-9a61-2359fc05a761
2025-01-15 13:11:41,144 - DEBUG - VM ctest-vm1-test-79152647 launched on Node cn-jenkins-deploy-platform-ansible-os-2639-1
2025-01-15 13:11:41,222 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/bb1cf8a3-0c44-4fd1-9a61-2359fc05a761
2025-01-15 13:11:41,232 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e9f91267-45a7-4fde-9640-e4f349eb605c
2025-01-15 13:11:44,498 - 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 1021ms')
2025-01-15 13:11:44,498 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79152647 failed!
2025-01-15 13:11:44,558 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11839453:ctest-vn1-vdns-61789544 is 10.10.10.1 and allocation pool is NOT set
2025-01-15 13:11:46,620 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.605 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.605/4.344/8.083/3.739 ms')
2025-01-15 13:11:46,621 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-79152647 passed
2025-01-15 13:11:46,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 13:11:46,778 - DEBUG - Waiting to SSH to VM ctest-vm1-test-79152647, IP 10.10.10.3, Port 22
2025-01-15 13:11:46,844 - 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': ''}
2025-01-15 13:11:46,933 - DEBUG - VM ctest-vm1-test-79152647 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-15 13:11:51,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 13:11:51,934 - DEBUG - Waiting to SSH to VM ctest-vm1-test-79152647, IP 10.10.10.3, Port 22
2025-01-15 13:11:52,093 - DEBUG - VM ctest-vm1-test-79152647 is ready for SSH connections
2025-01-15 13:11:52,093 - 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.41, gateway password: c0ntrail123
2025-01-15 13:11:52,093 - DEBUG - ifconfig | grep 10.10.10.3
2025-01-15 13:11:53,771 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-01-15 13:11:53,771 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-79152647", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-01-15 13:11:53,772 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-79152647", None, socket.AF_INET6)'
2025-01-15 13:11:54,021 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-79152647, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-01-15 13:11:54,021 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-79152647
2025-01-15 13:11:56,286 - DEBUG - PING ctest-vm1-test-79152647 (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=2.980 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.355 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.456 ms
--- ctest-vm1-test-79152647 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.355/1.263/2.980 ms
2025-01-15 13:11:56,286 - INFO - Ping to IP ctest-vm1-test-79152647 from VM ctest-vm1-test-79152647 passed
2025-01-15 13:11:56,298 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-01-15 13:11:56,305 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-35075325@0%20AllEntriesVdnsRecordsReq
2025-01-15 13:11:56,310 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-35075325:1:ctest-vm1-test-79152647:10.10.10.3', 'rec_name': 'ctest-vm1-test-79152647', '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-2639-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-79152647.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-01-15 13:11:56,310 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-35075325:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-79152647', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-79152647', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2639-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-79152647.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'}
2025-01-15 13:11:57,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2639-1)
2025-01-15 13:11:57,518 - INFO - Waiting for VM ctest-vm2-test-32988647 to be up..
2025-01-15 13:11:57,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-15 13:12:02,637 - DEBUG - VM is in ACTIVE state now
2025-01-15 13:12:02,637 - INFO - VM name : ctest-vm2-test-32988647
2025-01-15 13:12:02,718 - DEBUG - VM ctest-vm2-test-32988647 ID is 107e7668-8cae-4b73-b4f4-27449cc63b03
2025-01-15 13:12:02,718 - DEBUG - VM ctest-vm2-test-32988647 launched on Node cn-jenkins-deploy-platform-ansible-os-2639-1
2025-01-15 13:12:02,800 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/107e7668-8cae-4b73-b4f4-27449cc63b03
2025-01-15 13:12:02,809 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3828aa79-d939-4aa0-8dc5-ee8ec26faf96
2025-01-15 13:12:06,070 - 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 1011ms')
2025-01-15 13:12:06,070 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-32988647 failed!
2025-01-15 13:12:06,126 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11839453:ctest-vn1-vdns-61789544 is 10.10.10.1 and allocation pool is NOT set
2025-01-15 13:12:08,189 - 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=4.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.34 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 = 1.342/2.671/4.000/1.329 ms')
2025-01-15 13:12:08,190 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-32988647 passed
2025-01-15 13:12:08,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 13:12:08,342 - DEBUG - Waiting to SSH to VM ctest-vm2-test-32988647, IP 10.10.10.4, Port 22
2025-01-15 13:12:08,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': ''}
2025-01-15 13:12:08,495 - DEBUG - VM ctest-vm2-test-32988647 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-15 13:12:13,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-15 13:12:13,496 - DEBUG - Waiting to SSH to VM ctest-vm2-test-32988647, IP 10.10.10.4, Port 22
2025-01-15 13:12:13,658 - DEBUG - VM ctest-vm2-test-32988647 is ready for SSH connections
2025-01-15 13:12:13,658 - 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.41, gateway password: c0ntrail123
2025-01-15 13:12:13,658 - DEBUG - ifconfig | grep 10.10.10.4
2025-01-15 13:12:14,293 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-01-15 13:12:14,294 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-32988647", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-01-15 13:12:14,294 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-32988647", None, socket.AF_INET6)'
2025-01-15 13:12:14,538 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-32988647, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-01-15 13:12:14,538 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-32988647
2025-01-15 13:12:16,801 - DEBUG - PING ctest-vm2-test-32988647 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.910 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.345 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.457 ms
--- ctest-vm2-test-32988647 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.345/1.570/3.910 ms
2025-01-15 13:12:16,801 - INFO - Ping to IP ctest-vm2-test-32988647 from VM ctest-vm2-test-32988647 passed
2025-01-15 13:12:16,815 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-01-15 13:12:16,822 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-35075325@0%20AllEntriesVdnsRecordsReq
2025-01-15 13:12:16,830 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-35075325:1:ctest-vm2-test-32988647:10.10.10.4', 'rec_name': 'ctest-vm2-test-32988647', '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-2639-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-32988647.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-01-15 13:12:16,830 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-35075325:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-32988647', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-32988647', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2639-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-32988647.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'}
2025-01-15 13:12:16,830 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-32988647", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-01-15 13:12:16,831 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-32988647", None, socket.AF_INET6)'
2025-01-15 13:12:17,016 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-32988647, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-01-15 13:12:17,017 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-32988647
2025-01-15 13:12:19,313 - DEBUG - PING ctest-vm2-test-32988647 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=6.450 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.896 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.845 ms
--- ctest-vm2-test-32988647 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.845/2.730/6.450 ms
2025-01-15 13:12:19,313 - INFO - Ping to IP ctest-vm2-test-32988647 from VM ctest-vm1-test-79152647 passed
2025-01-15 13:12:19,313 - INFO - Try deleting the VDNS entry ctest-vdns1-35075325 with back ref of ipam.
2025-01-15 13:12:19,369 - DEBUG - Delete when resource still referred: ['http://10.0.0.41:8082/network-ipam/49abdb9c-ca44-40b8-9e55-c8b4ab40d234']
2025-01-15 13:12:19,370 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-01-15 13:12:19,370 - INFO - Add CNAME VDNS record for ctest-vm1-test-79152647 and verify we able to ping by alias name
2025-01-15 13:12:19,422 - DEBUG - Creating VDNS record data : test-rec
2025-01-15 13:12:19,530 - INFO - In verify_on_setup
2025-01-15 13:12:19,626 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-35075325', 'test-rec'] created succesfully
2025-01-15 13:12:19,626 - INFO - Verify VDNS record is shown in the API server
2025-01-15 13:12:19,626 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-01-15 13:12:19,633 - DEBUG - Requesting: http://10.0.0.41:8082/domain/17c6ac7d-b7b4-45f5-8930-2541b76b48e3
2025-01-15 13:12:19,647 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/f58cced2-afd5-465d-b980-a3f7fe3f1c03
2025-01-15 13:12:19,657 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS-record/e94dabde-fd45-4c21-a8f5-65cd298d31c6
2025-01-15 13:12:19,665 - INFO - Verify VDNS record is shown in the control node
2025-01-15 13:12:19,671 - 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.41, gateway password: c0ntrail123
2025-01-15 13:12:19,671 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-01-15 13:12:19,856 - 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.41, gateway password: c0ntrail123
2025-01-15 13:12:19,856 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-01-15 13:12:20,096 - DEBUG - ping: bad address 'vm1-test-alias'
2025-01-15 13:12:20,096 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-79152647 failed
2025-01-15 13:12:21,097 - 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.41, gateway password: c0ntrail123
2025-01-15 13:12:21,098 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-01-15 13:12:21,288 - 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.41, gateway password: c0ntrail123
2025-01-15 13:12:21,288 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-01-15 13:12:21,544 - DEBUG - ping: bad address 'vm1-test-alias'
2025-01-15 13:12:21,544 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-79152647 failed
2025-01-15 13:12:22,545 - 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.41, gateway password: c0ntrail123
2025-01-15 13:12:22,545 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-01-15 13:12:22,732 - 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.41, gateway password: c0ntrail123
2025-01-15 13:12:22,732 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-01-15 13:12:24,988 - 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.346 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.471 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.291 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.291/0.369/0.471 ms
2025-01-15 13:12:24,988 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-79152647 passed
2025-01-15 13:12:24,988 - DEBUG - Deleting VDNS record data: test-rec
2025-01-15 13:12:25,062 - INFO - VDNS record info: default-domain:ctest-vdns1-35075325:test-rec deleted successfully.
2025-01-15 13:12:25,062 - INFO - Deleting VM ctest-vm2-test-32988647
2025-01-15 13:12:25,136 - INFO - Deleting VM ctest-vm1-test-79152647
2025-01-15 13:12:25,210 - INFO - Deleting VN ctest-vn1-vdns-61789544
2025-01-15 13:12:25,245 - DEBUG - VN 3804fa38-66e4-4838-b12c-ab549b43abf7 still in use: Unable to complete operation on network 3804fa38-66e4-4838-b12c-ab549b43abf7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2f615625-3221-402c-b1a5-94edbb0b7e19']
2025-01-15 13:12:25,245 - WARNING - Deleting VN ctest-vn1-vdns-61789544 failed..Will retry
2025-01-15 13:12:27,507 - DEBUG - Response for deleting network ()
2025-01-15 13:12:27,554 - DEBUG - Deleting VDNS Entry: ctest-vdns1-35075325
2025-01-15 13:12:27,621 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-35075325'] deleted successfully.
2025-01-15 13:12:27,622 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-01-15 13:12:27,628 - DEBUG - Requesting: http://10.0.0.41:8082/domain/17c6ac7d-b7b4-45f5-8930-2541b76b48e3
2025-01-15 13:12:27,642 - DEBUG - VDNS information not found in API server
2025-01-15 13:12:27,642 - INFO - VDNS information ctest-vdns1-35075325 removed from the API Server
2025-01-15 13:12:27,649 - INFO - VDNS information ctest-vdns1-35075325 removed in the Control node
2025-01-15 13:12:27,649 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-11839453']
2025-01-15 13:12:27,908 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 13:12:27,908 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:55]
2025-01-15 13:12:27,908 - INFO - --------------------------------------------------------------------------------
2025-01-15 13:12:28,588 - INFO - Deleted project: ctest-TestvDNSBasic0-11839453, ID : ea88edc5-3358-472e-a9da-3ee1c67aeaf9