2024-10-28 16:33:04,207 - INFO - Domain Default found not creating
2024-10-28 16:33:04,408 - INFO - Project ctest-TestvDNSBasic0-52625863 not found, creating it
2024-10-28 16:33:04,950 - INFO - Created Project:ctest-TestvDNSBasic0-52625863, ID : 5d468721-9431-40ba-8492-c61d9f082bd0
2024-10-28 16:33:06,567 - INFO - ================================================================================
2024-10-28 16:33:06,567 - INFO - STARTING TEST : test_vdns_ping_same_vn
2024-10-28 16:33:06,567 - 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-10-28 16:33:06,829 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.31': '0'}} with
2024-10-28 16:33:06,829 - INFO - Initial checks done. Running the testcase now
2024-10-28 16:33:06,829 - INFO -
2024-10-28 16:33:07,591 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-52625863'](5d468721-9431-40ba-8492-c61d9f082bd0)
2024-10-28 16:33:07,648 - DEBUG - Creating VDNS : ctest-vdns1-69940278
2024-10-28 16:33:07,868 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-69940278'] created succesfully
2024-10-28 16:33:07,875 - DEBUG - Verify VDNS entry is shown in control node
2024-10-28 16:33:07,884 - DEBUG - Verify VDNS entry is shown in the API server
2024-10-28 16:33:07,884 - DEBUG - Requesting: http://10.0.0.40:8082/domains
2024-10-28 16:33:08,190 - DEBUG - Requesting: http://10.0.0.40:8082/domains
2024-10-28 16:33:08,226 - DEBUG - Requesting: http://10.0.0.40:8082/domain/5274d552-d800-4c4f-90d0-debc9940531b
2024-10-28 16:33:08,242 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-DNS/294fd0f5-e9b3-427d-9ce0-145044bde65e
2024-10-28 16:33:08,869 - DEBUG - Response for create_network : {'network': {'id': '9975a9d9-f09b-456e-a555-c0f18b14c2b7', 'name': 'ctest-vn1-vdns-69365391', 'tenant_id': '5d468721943140ba8492c61d9f082bd0', 'project_id': '5d468721943140ba8492c61d9f082bd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-52625863', 'ctest-vn1-vdns-69365391'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 16:33:09,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '35fecf19-745c-4d77-b50b-975d5897c099', 'name': '', 'tenant_id': '5d468721943140ba8492c61d9f082bd0', 'network_id': '9975a9d9-f09b-456e-a555-c0f18b14c2b7', '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': '5d468721943140ba8492c61d9f082bd0'}}
2024-10-28 16:33:09,132 - INFO - Created VN ctest-vn1-vdns-69365391
2024-10-28 16:33:09,204 - DEBUG - VN ctest-vn1-vdns-69365391 UUID is 9975a9d9-f09b-456e-a555-c0f18b14c2b7
2024-10-28 16:33:09,444 - DEBUG - Services list from nova: [, , ]
2024-10-28 16:33:10,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2168-1)
2024-10-28 16:33:10,538 - INFO - Waiting for VM ctest-vm1-test-74474456 to be up..
2024-10-28 16:33:10,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 16:33:15,673 - DEBUG - VM is in ACTIVE state now
2024-10-28 16:33:15,673 - INFO - VM name : ctest-vm1-test-74474456
2024-10-28 16:33:15,759 - DEBUG - VM ctest-vm1-test-74474456 ID is daa4b899-99b7-4a42-8f3f-533e0b57178c
2024-10-28 16:33:15,759 - DEBUG - VM ctest-vm1-test-74474456 launched on Node cn-jenkins-deploy-platform-ansible-os-2168-1
2024-10-28 16:33:15,853 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/daa4b899-99b7-4a42-8f3f-533e0b57178c
2024-10-28 16:33:15,864 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/4fb796bc-aa21-4ca6-ba6b-73c0637f7e02
2024-10-28 16:33:19,146 - 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-10-28 16:33:19,147 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-74474456 failed!
2024-10-28 16:33:19,208 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52625863:ctest-vn1-vdns-69365391 is 10.10.10.1 and allocation pool is NOT set
2024-10-28 16:33:23,281 - 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=2 ttl=63 time=10.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 10.678/10.678/10.678/0.000 ms')
2024-10-28 16:33:23,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-74474456 passed
2024-10-28 16:33:23,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 16:33:23,444 - DEBUG - Waiting to SSH to VM ctest-vm1-test-74474456, IP 10.10.10.3, Port 22
2024-10-28 16:33:23,618 - DEBUG - VM ctest-vm1-test-74474456 is ready for SSH connections
2024-10-28 16:33:23,619 - 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.40, gateway password: c0ntrail123
2024-10-28 16:33:23,619 - DEBUG - ifconfig | grep 10.10.10.3
2024-10-28 16:33:25,302 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2024-10-28 16:33:25,302 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-74474456", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-10-28 16:33:25,302 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-74474456", None, socket.AF_INET6)'
2024-10-28 16:33:25,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-74474456, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-10-28 16:33:25,558 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-74474456
2024-10-28 16:33:27,849 - DEBUG - PING ctest-vm1-test-74474456 (10.10.10.3): 56 data bytes
64 bytes from 10.10.10.3: seq=0 ttl=64 time=3.198 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.379 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.455 ms
--- ctest-vm1-test-74474456 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.379/1.344/3.198 ms
2024-10-28 16:33:27,849 - INFO - Ping to IP ctest-vm1-test-74474456 from VM ctest-vm1-test-74474456 passed
2024-10-28 16:33:27,865 - DEBUG - Requesting: http://10.0.0.40:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2024-10-28 16:33:27,872 - DEBUG - Requesting: http://10.0.0.40:8092/Snh_PageReq?x=default-domain:ctest-vdns1-69940278@0%20AllEntriesVdnsRecordsReq
2024-10-28 16:33:27,878 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-69940278:1:ctest-vm1-test-74474456:10.10.10.3', 'rec_name': 'ctest-vm1-test-74474456', '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-2168-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-74474456.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2024-10-28 16:33:27,878 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-69940278:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-74474456', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-74474456', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2168-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-74474456.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-10-28 16:33:29,205 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2168-1)
2024-10-28 16:33:29,206 - INFO - Waiting for VM ctest-vm2-test-89175480 to be up..
2024-10-28 16:33:29,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 16:33:34,345 - DEBUG - VM is in ACTIVE state now
2024-10-28 16:33:34,346 - INFO - VM name : ctest-vm2-test-89175480
2024-10-28 16:33:34,440 - DEBUG - VM ctest-vm2-test-89175480 ID is a76ba84f-784d-4c2e-9f29-7ab2a5eeeeea
2024-10-28 16:33:34,440 - DEBUG - VM ctest-vm2-test-89175480 launched on Node cn-jenkins-deploy-platform-ansible-os-2168-1
2024-10-28 16:33:34,527 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/a76ba84f-784d-4c2e-9f29-7ab2a5eeeeea
2024-10-28 16:33:34,539 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/286a208c-40c9-4330-aa8c-d51073c11ddb
2024-10-28 16:33:37,811 - 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 1005ms')
2024-10-28 16:33:37,811 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-89175480 failed!
2024-10-28 16:33:37,830 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-52625863:ctest-vn1-vdns-69365391 is 10.10.10.1 and allocation pool is NOT set
2024-10-28 16:33:39,891 - 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=10.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.51 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.506/6.415/10.325/3.909 ms')
2024-10-28 16:33:39,891 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vm2-test-89175480 passed
2024-10-28 16:33:40,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 16:33:40,052 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89175480, IP 10.10.10.4, Port 22
2024-10-28 16:33:40,118 - 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-10-28 16:33:40,214 - DEBUG - VM ctest-vm2-test-89175480 is NOT ready for SSH connections, VM status: ACTIVE
2024-10-28 16:33:45,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 16:33:45,215 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89175480, IP 10.10.10.4, Port 22
2024-10-28 16:33:45,383 - DEBUG - VM ctest-vm2-test-89175480 is ready for SSH connections
2024-10-28 16:33:45,383 - 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.40, gateway password: c0ntrail123
2024-10-28 16:33:45,383 - DEBUG - ifconfig | grep 10.10.10.4
2024-10-28 16:33:46,010 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2024-10-28 16:33:46,011 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89175480", None, socket.AF_INET6)', host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-10-28 16:33:46,011 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89175480", None, socket.AF_INET6)'
2024-10-28 16:33:46,262 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89175480, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-10-28 16:33:46,262 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89175480
2024-10-28 16:33:48,524 - DEBUG - PING ctest-vm2-test-89175480 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=4.545 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.380 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.532 ms
--- ctest-vm2-test-89175480 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.380/1.819/4.545 ms
2024-10-28 16:33:48,524 - INFO - Ping to IP ctest-vm2-test-89175480 from VM ctest-vm2-test-89175480 passed
2024-10-28 16:33:48,541 - DEBUG - Requesting: http://10.0.0.40:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2024-10-28 16:33:48,548 - DEBUG - Requesting: http://10.0.0.40:8092/Snh_PageReq?x=default-domain:ctest-vdns1-69940278@0%20AllEntriesVdnsRecordsReq
2024-10-28 16:33:48,554 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-69940278:1:ctest-vm2-test-89175480:10.10.10.4', 'rec_name': 'ctest-vm2-test-89175480', '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-2168-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-89175480.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2024-10-28 16:33:48,554 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-69940278:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-89175480', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-89175480', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'cn-jenkins-deploy-platform-ansible-os-2168-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-89175480.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-10-28 16:33:48,554 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89175480", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-10-28 16:33:48,554 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89175480", None, socket.AF_INET6)'
2024-10-28 16:33:48,752 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89175480, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123
2024-10-28 16:33:48,752 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89175480
2024-10-28 16:33:51,010 - DEBUG - PING ctest-vm2-test-89175480 (10.10.10.4): 56 data bytes
64 bytes from 10.10.10.4: seq=0 ttl=64 time=4.408 ms
64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.892 ms
64 bytes from 10.10.10.4: seq=2 ttl=64 time=1.206 ms
--- ctest-vm2-test-89175480 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.892/2.168/4.408 ms
2024-10-28 16:33:51,010 - INFO - Ping to IP ctest-vm2-test-89175480 from VM ctest-vm1-test-74474456 passed
2024-10-28 16:33:51,011 - INFO - Try deleting the VDNS entry ctest-vdns1-69940278 with back ref of ipam.
2024-10-28 16:33:51,068 - DEBUG - Delete when resource still referred: ['http://10.0.0.40:8082/network-ipam/2773384b-60e3-4fd8-b6b9-62de8093d778']
2024-10-28 16:33:51,068 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2024-10-28 16:33:51,068 - INFO - Add CNAME VDNS record for ctest-vm1-test-74474456 and verify we able to ping by alias name
2024-10-28 16:33:51,116 - DEBUG - Creating VDNS record data : test-rec
2024-10-28 16:33:51,236 - INFO - In verify_on_setup
2024-10-28 16:33:51,336 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-69940278', 'test-rec'] created succesfully
2024-10-28 16:33:51,336 - INFO - Verify VDNS record is shown in the API server
2024-10-28 16:33:51,336 - DEBUG - Requesting: http://10.0.0.40:8082/domains
2024-10-28 16:33:51,343 - DEBUG - Requesting: http://10.0.0.40:8082/domain/5274d552-d800-4c4f-90d0-debc9940531b
2024-10-28 16:33:51,359 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-DNS/294fd0f5-e9b3-427d-9ce0-145044bde65e
2024-10-28 16:33:51,369 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-DNS-record/81e69d15-40de-48bb-a4e7-d935c2cd74e8
2024-10-28 16:33:51,376 - INFO - Verify VDNS record is shown in the control node
2024-10-28 16:33:51,383 - 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.40, gateway password: c0ntrail123
2024-10-28 16:33:51,383 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-10-28 16:33:51,581 - 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.40, gateway password: c0ntrail123
2024-10-28 16:33:51,581 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-10-28 16:33:51,824 - DEBUG - ping: bad address 'vm1-test-alias'
2024-10-28 16:33:51,824 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-74474456 failed
2024-10-28 16:33:52,826 - 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.40, gateway password: c0ntrail123
2024-10-28 16:33:52,826 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-10-28 16:33:53,021 - 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.40, gateway password: c0ntrail123
2024-10-28 16:33:53,021 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-10-28 16:33:53,286 - DEBUG - ping: bad address 'vm1-test-alias'
2024-10-28 16:33:53,286 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-74474456 failed
2024-10-28 16:33:54,287 - 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.40, gateway password: c0ntrail123
2024-10-28 16:33:54,287 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2024-10-28 16:33:54,487 - 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.40, gateway password: c0ntrail123
2024-10-28 16:33:54,487 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2024-10-28 16:33:56,744 - 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.378 ms
64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.378 ms
64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.375 ms
--- vm1-test-alias ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.375/0.377/0.378 ms
2024-10-28 16:33:56,744 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-74474456 passed
2024-10-28 16:33:56,744 - DEBUG - Deleting VDNS record data: test-rec
2024-10-28 16:33:56,820 - INFO - VDNS record info: default-domain:ctest-vdns1-69940278:test-rec deleted successfully.
2024-10-28 16:33:56,820 - INFO - Deleting VM ctest-vm2-test-89175480
2024-10-28 16:33:56,893 - INFO - Deleting VM ctest-vm1-test-74474456
2024-10-28 16:33:56,969 - INFO - Deleting VN ctest-vn1-vdns-69365391
2024-10-28 16:33:57,024 - DEBUG - VN 9975a9d9-f09b-456e-a555-c0f18b14c2b7 still in use: Unable to complete operation on network 9975a9d9-f09b-456e-a555-c0f18b14c2b7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-50a2543e-816e-451a-92f4-9945bea5a33b']
2024-10-28 16:33:57,024 - WARNING - Deleting VN ctest-vn1-vdns-69365391 failed..Will retry
2024-10-28 16:33:59,341 - DEBUG - Response for deleting network ()
2024-10-28 16:33:59,377 - DEBUG - Deleting VDNS Entry: ctest-vdns1-69940278
2024-10-28 16:33:59,456 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-69940278'] deleted successfully.
2024-10-28 16:33:59,456 - DEBUG - Requesting: http://10.0.0.40:8082/domains
2024-10-28 16:33:59,465 - DEBUG - Requesting: http://10.0.0.40:8082/domain/5274d552-d800-4c4f-90d0-debc9940531b
2024-10-28 16:33:59,482 - DEBUG - VDNS information not found in API server
2024-10-28 16:33:59,482 - INFO - VDNS information ctest-vdns1-69940278 removed from the API Server
2024-10-28 16:33:59,488 - INFO - VDNS information ctest-vdns1-69940278 removed in the Control node
2024-10-28 16:33:59,488 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-52625863']
2024-10-28 16:33:59,746 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 16:33:59,746 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:00:53]
2024-10-28 16:33:59,746 - INFO - --------------------------------------------------------------------------------
2024-10-28 16:34:00,435 - INFO - Deleted project: ctest-TestvDNSBasic0-52625863, ID : 5d468721-9431-40ba-8492-c61d9f082bd0