2024-11-07 16:46:10,435 - INFO - Domain Default found not creating
2024-11-07 16:46:10,605 - INFO - Project ctest-TestvDNSBasic0-96220710 not found, creating it
2024-11-07 16:46:11,113 - INFO - Created Project:ctest-TestvDNSBasic0-96220710, ID : 345a39a5-9cbb-4a5f-850c-c29fb7dd5eb2
2024-11-07 16:46:12,983 - INFO - ================================================================================
2024-11-07 16:46:12,983 - INFO - STARTING TEST : test_vdns_ping_same_vn
2024-11-07 16:46:12,983 - 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-07 16:46:13,238 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.7': '0'}} with
2024-11-07 16:46:13,239 - INFO - Initial checks done. Running the testcase now
2024-11-07 16:46:13,239 - INFO -
2024-11-07 16:46:13,984 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-96220710'](345a39a5-9cbb-4a5f-850c-c29fb7dd5eb2)
2024-11-07 16:46:14,042 - DEBUG - Creating VDNS : ctest-vdns1-64549742
2024-11-07 16:46:14,253 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-64549742'] created succesfully
2024-11-07 16:46:14,253 - DEBUG - Verify VDNS entry is shown in control node
2024-11-07 16:46:14,259 - DEBUG - Verify VDNS entry is shown in the API server
2024-11-07 16:46:14,259 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2024-11-07 16:46:14,558 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2024-11-07 16:46:14,597 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9f604204-c300-4d6e-b554-66c8e83d6d0c
2024-11-07 16:46:14,614 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/b24d8631-de33-469c-a1f7-8c69751d88e8
2024-11-07 16:46:15,239 - DEBUG - Response for create_network : {'network': {'id': '11f85d53-9d49-42a8-b486-c8b8df64bfca', 'name': 'ctest-vn1-vdns-42476616', 'tenant_id': '345a39a59cbb4a5f850cc29fb7dd5eb2', 'project_id': '345a39a59cbb4a5f850cc29fb7dd5eb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-96220710', 'ctest-vn1-vdns-42476616'], 'port_security_enabled': True, 'description': ''}}
2024-11-07 16:46:15,462 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cc33eb9-7b0c-4d4e-a136-6e2b9f72be2a', 'name': '', 'tenant_id': '345a39a59cbb4a5f850cc29fb7dd5eb2', 'network_id': '11f85d53-9d49-42a8-b486-c8b8df64bfca', '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': '345a39a59cbb4a5f850cc29fb7dd5eb2'}}
2024-11-07 16:46:15,482 - INFO - Created VN ctest-vn1-vdns-42476616
2024-11-07 16:46:15,541 - DEBUG - VN ctest-vn1-vdns-42476616 UUID is 11f85d53-9d49-42a8-b486-c8b8df64bfca
2024-11-07 16:46:15,772 - DEBUG - Services list from nova: [, , ]
2024-11-07 16:46:16,875 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2219-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2219-1)
2024-11-07 16:46:16,875 - INFO - Waiting for VM ctest-vm1-test-82356708 to be up..
2024-11-07 16:46:16,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-07 16:46:22,014 - DEBUG - VM is in ACTIVE state now
2024-11-07 16:46:22,015 - INFO - VM name : ctest-vm1-test-82356708
2024-11-07 16:46:22,094 - DEBUG - VM ctest-vm1-test-82356708 ID is 0658caf4-b387-4da5-b12f-c29c8a58ea73
2024-11-07 16:46:22,094 - DEBUG - VM ctest-vm1-test-82356708 launched on Node cn-jenkins-deploy-platform-ansible-os-2219-1
2024-11-07 16:46:22,176 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0658caf4-b387-4da5-b12f-c29c8a58ea73
2024-11-07 16:46:22,187 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3fd37dab-adf0-4fd7-926b-f9da40931b7b
2024-11-07 16:46:25,467 - 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 1030ms')
2024-11-07 16:46:25,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-82356708 failed!
2024-11-07 16:46:25,525 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96220710:ctest-vn1-vdns-42476616 is 10.10.10.1 and allocation pool is NOT set
2024-11-07 16:46:27,592 - 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=7.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.81 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.814/5.148/7.482/2.334 ms')
2024-11-07 16:46:27,592 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-82356708 passed
2024-11-07 16:46:27,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 16:46:27,749 - DEBUG - Waiting to SSH to VM ctest-vm1-test-82356708, IP 10.10.10.3, Port 22
2024-11-07 16:46:27,805 - 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-11-07 16:46:27,902 - DEBUG - VM ctest-vm1-test-82356708 is NOT ready for SSH connections, VM status: ACTIVE
2024-11-07 16:46:32,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 16:46:32,902 - DEBUG - Waiting to SSH to VM ctest-vm1-test-82356708, IP 10.10.10.3, Port 22
2024-11-07 16:46:33,076 - DEBUG - VM ctest-vm1-test-82356708 is ready for SSH connections
2024-11-07 16:46:33,076 - 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
2024-11-07 16:46:33,076 - DEBUG - ifconfig | grep 10.10.10.3
2024-11-07 16:46:34,755 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2024-11-07 16:46:34,756 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-82356708", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2024-11-07 16:46:34,756 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-82356708", None, socket.AF_INET6)'
2024-11-07 16:46:35,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-82356708, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2024-11-07 16:46:35,003 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-82356708
2024-11-07 16:46:37,280 - DEBUG - PING ctest-vm1-test-82356708 (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=3.094 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.338 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.511 ms
--- ctest-vm1-test-82356708 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.338/1.314/3.094 ms
2024-11-07 16:46:37,280 - INFO - Ping to IP ctest-vm1-test-82356708 from VM ctest-vm1-test-82356708 passed
2024-11-07 16:46:37,294 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2024-11-07 16:46:37,301 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-64549742@0%20AllEntriesVdnsRecordsReq
2024-11-07 16:46:37,311 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-64549742:1:ctest-vm1-test-82356708:10.10.10.3', 'rec_name': 'ctest-vm1-test-82356708', '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-2219-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-82356708.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2024-11-07 16:46:37,311 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-64549742:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-82356708', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-82356708', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2219-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-82356708.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-07 16:46:38,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2219-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2219-1)
2024-11-07 16:46:38,557 - INFO - Waiting for VM ctest-vm2-test-66728072 to be up..
2024-11-07 16:46:38,601 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-07 16:46:43,682 - DEBUG - VM is in ACTIVE state now
2024-11-07 16:46:43,682 - INFO - VM name : ctest-vm2-test-66728072
2024-11-07 16:46:43,765 - DEBUG - VM ctest-vm2-test-66728072 ID is 901e367d-4545-428d-adce-33c9e1cb0b0c
2024-11-07 16:46:43,765 - DEBUG - VM ctest-vm2-test-66728072 launched on Node cn-jenkins-deploy-platform-ansible-os-2219-1
2024-11-07 16:46:43,849 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/901e367d-4545-428d-adce-33c9e1cb0b0c
2024-11-07 16:46:43,858 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f6af5498-58fd-488f-b89b-d35217669846
2024-11-07 16:46:47,134 - 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-11-07 16:46:47,134 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-66728072 failed!
2024-11-07 16:46:47,197 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-96220710:ctest-vn1-vdns-42476616 is 10.10.10.1 and allocation pool is NOT set
2024-11-07 16:46:49,256 - 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=3.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.01 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 = 3.007/3.121/3.235/0.114 ms')
2024-11-07 16:46:49,256 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-66728072 passed
2024-11-07 16:46:49,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 16:46:49,413 - DEBUG - Waiting to SSH to VM ctest-vm2-test-66728072, IP 10.10.10.4, Port 22
2024-11-07 16:46:49,468 - 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-07 16:46:49,553 - DEBUG - VM ctest-vm2-test-66728072 is NOT ready for SSH connections, VM status: ACTIVE
2024-11-07 16:46:54,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-07 16:46:54,554 - DEBUG - Waiting to SSH to VM ctest-vm2-test-66728072, IP 10.10.10.4, Port 22
2024-11-07 16:46:54,742 - DEBUG - VM ctest-vm2-test-66728072 is ready for SSH connections
2024-11-07 16:46:54,742 - 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
2024-11-07 16:46:54,742 - DEBUG - ifconfig | grep 10.10.10.4
2024-11-07 16:46:55,364 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2024-11-07 16:46:55,364 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-66728072", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2024-11-07 16:46:55,364 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-66728072", None, socket.AF_INET6)'
2024-11-07 16:46:55,602 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-66728072, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2024-11-07 16:46:55,602 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-66728072
2024-11-07 16:46:57,889 - DEBUG - PING ctest-vm2-test-66728072 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.286 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.332 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.398 ms
--- ctest-vm2-test-66728072 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.332/1.338/3.286 ms
2024-11-07 16:46:57,889 - INFO - Ping to IP ctest-vm2-test-66728072 from VM ctest-vm2-test-66728072 passed
2024-11-07 16:46:57,901 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2024-11-07 16:46:57,907 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-64549742@0%20AllEntriesVdnsRecordsReq
2024-11-07 16:46:57,913 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-64549742:1:ctest-vm2-test-66728072:10.10.10.4', 'rec_name': 'ctest-vm2-test-66728072', '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-2219-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-66728072.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2024-11-07 16:46:57,913 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-64549742:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-66728072', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-66728072', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2219-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-66728072.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-07 16:46:57,913 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-66728072", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2024-11-07 16:46:57,914 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-66728072", None, socket.AF_INET6)'
2024-11-07 16:46:58,104 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-66728072, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2024-11-07 16:46:58,104 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-66728072
2024-11-07 16:47:00,369 - DEBUG - PING ctest-vm2-test-66728072 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=6.925 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.779 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.892 ms
--- ctest-vm2-test-66728072 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.779/2.865/6.925 ms
2024-11-07 16:47:00,369 - INFO - Ping to IP ctest-vm2-test-66728072 from VM ctest-vm1-test-82356708 passed
2024-11-07 16:47:00,369 - INFO - Try deleting the VDNS entry ctest-vdns1-64549742 with back ref of ipam.
2024-11-07 16:47:00,432 - DEBUG - Delete when resource still referred: ['http://10.0.0.41:8082/network-ipam/c33f6e51-66c3-4277-a012-d398c624999d']
2024-11-07 16:47:00,433 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2024-11-07 16:47:00,433 - INFO - Add CNAME VDNS record for ctest-vm1-test-82356708 and verify we able to ping by alias name
2024-11-07 16:47:00,484 - DEBUG - Creating VDNS record data : test-rec
2024-11-07 16:47:00,601 - INFO - In verify_on_setup
2024-11-07 16:47:00,697 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-64549742', 'test-rec'] created succesfully
2024-11-07 16:47:00,697 - INFO - Verify VDNS record is shown in the API server
2024-11-07 16:47:00,697 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2024-11-07 16:47:00,704 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9f604204-c300-4d6e-b554-66c8e83d6d0c
2024-11-07 16:47:00,718 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/b24d8631-de33-469c-a1f7-8c69751d88e8
2024-11-07 16:47:00,728 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS-record/bd1f4cbf-bf61-45d5-beec-3d2a2878f45b
2024-11-07 16:47:00,735 - INFO - Verify VDNS record is shown in the control node
2024-11-07 16:47:00,741 - 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
2024-11-07 16:47:00,742 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-11-07 16:47:00,947 - 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
2024-11-07 16:47:00,947 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-11-07 16:47:01,188 - DEBUG - ping: bad address 'vm1-test-alias'
2024-11-07 16:47:01,188 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-82356708 failed
2024-11-07 16:47:02,188 - 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
2024-11-07 16:47:02,188 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-11-07 16:47:02,374 - 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
2024-11-07 16:47:02,374 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-11-07 16:47:02,618 - DEBUG - ping: bad address 'vm1-test-alias'
2024-11-07 16:47:02,618 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-82356708 failed
2024-11-07 16:47:03,620 - 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
2024-11-07 16:47:03,620 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-11-07 16:47:03,818 - 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
2024-11-07 16:47:03,818 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-11-07 16:47:06,080 - 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.374 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.364 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.401 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.364/0.379/0.401 ms
2024-11-07 16:47:06,080 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-82356708 passed
2024-11-07 16:47:06,080 - DEBUG - Deleting VDNS record data: test-rec
2024-11-07 16:47:06,152 - INFO - VDNS record info: default-domain:ctest-vdns1-64549742:test-rec deleted successfully.
2024-11-07 16:47:06,153 - INFO - Deleting VM ctest-vm2-test-66728072
2024-11-07 16:47:06,227 - INFO - Deleting VM ctest-vm1-test-82356708
2024-11-07 16:47:06,317 - INFO - Deleting VN ctest-vn1-vdns-42476616
2024-11-07 16:47:06,370 - DEBUG - VN 11f85d53-9d49-42a8-b486-c8b8df64bfca still in use: Unable to complete operation on network 11f85d53-9d49-42a8-b486-c8b8df64bfca. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cc0487cc-d9c5-4a88-bc30-16b8e782dac8']
2024-11-07 16:47:06,370 - WARNING - Deleting VN ctest-vn1-vdns-42476616 failed..Will retry
2024-11-07 16:47:08,599 - DEBUG - Response for deleting network ()
2024-11-07 16:47:08,635 - DEBUG - Deleting VDNS Entry: ctest-vdns1-64549742
2024-11-07 16:47:08,704 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-64549742'] deleted successfully.
2024-11-07 16:47:08,705 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2024-11-07 16:47:08,715 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9f604204-c300-4d6e-b554-66c8e83d6d0c
2024-11-07 16:47:08,731 - DEBUG - VDNS information not found in API server
2024-11-07 16:47:08,731 - INFO - VDNS information ctest-vdns1-64549742 removed from the API Server
2024-11-07 16:47:08,737 - INFO - VDNS information ctest-vdns1-64549742 removed in the Control node
2024-11-07 16:47:08,737 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-96220710']
2024-11-07 16:47:09,001 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 16:47:09,001 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:57]
2024-11-07 16:47:09,001 - INFO - --------------------------------------------------------------------------------
2024-11-07 16:47:09,735 - INFO - Deleted project: ctest-TestvDNSBasic0-96220710, ID : 345a39a5-9cbb-4a5f-850c-c29fb7dd5eb2