2025-08-03 00:00:16,639 - INFO - Domain Default found not creating 2025-08-03 00:00:16,882 - INFO - Project ctest-TestvDNSBasic0-39926212 not found, creating it 2025-08-03 00:00:17,501 - INFO - Created Project:ctest-TestvDNSBasic0-39926212, ID : 200c704a-5eb2-4b2a-a9ec-01ed32acd4ea 2025-08-03 00:00:19,312 - INFO - ================================================================================ 2025-08-03 00:00:19,312 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-03 00:00:19,312 - 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-08-03 00:00:20,691 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-08-03 00:00:20,691 - INFO - Initial checks done. Running the testcase now 2025-08-03 00:00:20,691 - INFO - 2025-08-03 00:00:21,505 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-39926212'](200c704a-5eb2-4b2a-a9ec-01ed32acd4ea) 2025-08-03 00:00:21,570 - DEBUG - Creating VDNS : ctest-vdns1-22231835 2025-08-03 00:00:21,837 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-22231835'] created succesfully 2025-08-03 00:00:21,837 - DEBUG - Verify VDNS entry is shown in control node 2025-08-03 00:00:21,874 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-03 00:00:21,875 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 00:00:22,172 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 00:00:22,207 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-03 00:00:22,230 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/540dd2b7-5ecd-4317-adbb-ac3af9e38bc2 2025-08-03 00:00:23,210 - DEBUG - Response for create_network : {'network': {'id': '2a322180-2d23-4880-8673-80c237b8ee10', 'name': 'ctest-vn1-vdns-79688825', 'tenant_id': '200c704a5eb24b2aa9ec01ed32acd4ea', 'project_id': '200c704a5eb24b2aa9ec01ed32acd4ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-39926212', 'ctest-vn1-vdns-79688825'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 00:00:23,621 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf0f2c72-9441-4e57-8e99-671761ef5742', 'name': '', 'tenant_id': '200c704a5eb24b2aa9ec01ed32acd4ea', 'network_id': '2a322180-2d23-4880-8673-80c237b8ee10', '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': '200c704a5eb24b2aa9ec01ed32acd4ea'}} 2025-08-03 00:00:23,645 - INFO - Created VN ctest-vn1-vdns-79688825 2025-08-03 00:00:23,666 - DEBUG - VN ctest-vn1-vdns-79688825 UUID is 2a322180-2d23-4880-8673-80c237b8ee10 2025-08-03 00:00:23,925 - DEBUG - Services list from nova: [, , , ] 2025-08-03 00:00:25,074 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2) 2025-08-03 00:00:25,074 - INFO - Waiting for VM ctest-vm1-test-25836531 to be up.. 2025-08-03 00:00:25,132 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-03 00:00:30,249 - DEBUG - VM is in ACTIVE state now 2025-08-03 00:00:30,249 - INFO - VM name : ctest-vm1-test-25836531 2025-08-03 00:00:30,369 - DEBUG - VM ctest-vm1-test-25836531 ID is 978988dd-1e49-4212-b92d-50c77d16987f 2025-08-03 00:00:30,369 - DEBUG - VM ctest-vm1-test-25836531 launched on Node an-jenkins-deploy-platform-ansible-os-3743-2 2025-08-03 00:00:30,496 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/978988dd-1e49-4212-b92d-50c77d16987f 2025-08-03 00:00:30,799 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/978988dd-1e49-4212-b92d-50c77d16987f 2025-08-03 00:00:30,851 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c1d4e5fa-9026-40ff-828b-714c153d37dd 2025-08-03 00:00:34,089 - 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') 2025-08-03 00:00:34,089 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25836531 failed! 2025-08-03 00:00:34,112 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:00:38,187 - 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 1010ms') 2025-08-03 00:00:38,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25836531 failed! 2025-08-03 00:00:38,221 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:00:42,315 - 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') 2025-08-03 00:00:42,315 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25836531 failed! 2025-08-03 00:00:42,350 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:00:46,444 - 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 1027ms') 2025-08-03 00:00:46,444 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25836531 failed! 2025-08-03 00:00:46,461 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:00:50,540 - 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') 2025-08-03 00:00:50,540 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25836531 failed! 2025-08-03 00:00:50,565 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:00:54,628 - 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 1002ms') 2025-08-03 00:00:54,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25836531 failed! 2025-08-03 00:00:54,662 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:00:58,723 - 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 1002ms') 2025-08-03 00:00:58,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25836531 failed! 2025-08-03 00:00:58,756 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:01:02,826 - 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 1007ms') 2025-08-03 00:01:02,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25836531 failed! 2025-08-03 00:01:02,856 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:01:04,923 - 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=12.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.317/7.821/12.325/4.504 ms') 2025-08-03 00:01:04,924 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25836531 passed 2025-08-03 00:01:05,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 00:01:05,070 - DEBUG - Waiting to SSH to VM ctest-vm1-test-25836531, IP 10.10.10.3, Port 22 2025-08-03 00:01:05,135 - DEBUG - Error on ssh to ubuntu@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-08-03 00:01:05,240 - DEBUG - VM ctest-vm1-test-25836531 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-03 00:01:10,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 00:01:10,241 - DEBUG - Waiting to SSH to VM ctest-vm1-test-25836531, IP 10.10.10.3, Port 22 2025-08-03 00:01:10,307 - DEBUG - Error on ssh to ubuntu@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-08-03 00:01:10,397 - DEBUG - VM ctest-vm1-test-25836531 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-03 00:01:15,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 00:01:15,398 - DEBUG - Waiting to SSH to VM ctest-vm1-test-25836531, IP 10.10.10.3, Port 22 2025-08-03 00:01:15,464 - DEBUG - Error on ssh to ubuntu@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-08-03 00:01:15,570 - DEBUG - VM ctest-vm1-test-25836531 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-03 00:01:20,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 00:01:20,571 - DEBUG - Waiting to SSH to VM ctest-vm1-test-25836531, IP 10.10.10.3, Port 22 2025-08-03 00:01:20,639 - DEBUG - Error on ssh to ubuntu@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-08-03 00:01:20,743 - DEBUG - VM ctest-vm1-test-25836531 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-03 00:01:25,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 00:01:25,743 - DEBUG - Waiting to SSH to VM ctest-vm1-test-25836531, IP 10.10.10.3, Port 22 2025-08-03 00:01:25,915 - DEBUG - VM ctest-vm1-test-25836531 is ready for SSH connections 2025-08-03 00:01:25,916 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-03 00:01:25,916 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-03 00:01:46,083 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-03 00:01:46,084 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-25836531", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-03 00:01:46,084 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-25836531", None, socket.AF_INET6)' 2025-08-03 00:01:48,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-25836531, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-03 00:01:48,402 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-25836531 2025-08-03 00:01:51,427 - DEBUG - PING ctest-vm1-test-25836531.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-25836531.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.77 ms 64 bytes from ctest-vm1-test-25836531.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.261 ms 64 bytes from ctest-vm1-test-25836531.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.204 ms --- ctest-vm1-test-25836531.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.204/1.079/2.773/1.198 ms 2025-08-03 00:01:51,427 - INFO - Ping to IP ctest-vm1-test-25836531 from VM ctest-vm1-test-25836531 passed 2025-08-03 00:01:51,461 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-03 00:01:51,472 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-22231835@0%20AllEntriesVdnsRecordsReq 2025-08-03 00:01:51,486 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-03 00:01:51,498 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-22231835@0%20AllEntriesVdnsRecordsReq 2025-08-03 00:01:51,517 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-03 00:01:51,527 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-22231835@0%20AllEntriesVdnsRecordsReq 2025-08-03 00:01:51,543 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-22231835:1:ctest-vm1-test-25836531:10.10.10.3', 'rec_name': 'ctest-vm1-test-25836531', '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-ansible-os-3743-2/dns'} , Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-25836531.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-03 00:01:51,543 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-22231835:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-25836531', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-25836531', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3743-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-25836531.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-08-03 00:01:53,160 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1) 2025-08-03 00:01:53,160 - INFO - Waiting for VM ctest-vm2-test-59646801 to be up.. 2025-08-03 00:01:53,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-03 00:01:58,363 - DEBUG - VM is in ACTIVE state now 2025-08-03 00:01:58,363 - INFO - VM name : ctest-vm2-test-59646801 2025-08-03 00:01:58,454 - DEBUG - VM ctest-vm2-test-59646801 ID is 0055c9df-f77d-4092-8228-fb39a731dd07 2025-08-03 00:01:58,454 - DEBUG - VM ctest-vm2-test-59646801 launched on Node an-jenkins-deploy-platform-ansible-os-3743-1 2025-08-03 00:01:58,555 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0055c9df-f77d-4092-8228-fb39a731dd07 2025-08-03 00:01:58,569 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/677733ae-f7f4-49c2-8d56-294c1c4cc57c 2025-08-03 00:02:01,802 - 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 1010ms') 2025-08-03 00:02:01,802 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59646801 failed! 2025-08-03 00:02:01,838 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:02:05,928 - 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') 2025-08-03 00:02:05,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59646801 failed! 2025-08-03 00:02:05,971 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:02:10,051 - 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 1023ms') 2025-08-03 00:02:10,051 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59646801 failed! 2025-08-03 00:02:10,084 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:02:14,186 - 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 1032ms') 2025-08-03 00:02:14,186 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59646801 failed! 2025-08-03 00:02:14,218 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:02:18,313 - 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 1031ms') 2025-08-03 00:02:18,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59646801 failed! 2025-08-03 00:02:18,345 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:02:22,441 - 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') 2025-08-03 00:02:22,441 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59646801 failed! 2025-08-03 00:02:22,476 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:02:26,568 - 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 1027ms') 2025-08-03 00:02:26,568 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59646801 failed! 2025-08-03 00:02:26,600 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:02:30,697 - 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 1034ms') 2025-08-03 00:02:30,697 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59646801 failed! 2025-08-03 00:02:30,726 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39926212:ctest-vn1-vdns-79688825 is 10.10.10.1 and allocation pool is NOT set 2025-08-03 00:02:32,790 - 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=5.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.48 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.479/4.934/5.389/0.455 ms') 2025-08-03 00:02:32,790 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59646801 passed 2025-08-03 00:02:32,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 00:02:32,915 - DEBUG - Waiting to SSH to VM ctest-vm2-test-59646801, IP 10.10.10.4, Port 22 2025-08-03 00:02:32,983 - DEBUG - Error on ssh to ubuntu@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-08-03 00:02:33,111 - DEBUG - VM ctest-vm2-test-59646801 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-03 00:02:38,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 00:02:38,112 - DEBUG - Waiting to SSH to VM ctest-vm2-test-59646801, IP 10.10.10.4, Port 22 2025-08-03 00:02:38,167 - DEBUG - Error on ssh to ubuntu@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-08-03 00:02:38,275 - DEBUG - VM ctest-vm2-test-59646801 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-03 00:02:43,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 00:02:43,276 - DEBUG - Waiting to SSH to VM ctest-vm2-test-59646801, IP 10.10.10.4, Port 22 2025-08-03 00:02:43,332 - DEBUG - Error on ssh to ubuntu@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-08-03 00:02:43,451 - DEBUG - VM ctest-vm2-test-59646801 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-03 00:02:48,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 00:02:48,452 - DEBUG - Waiting to SSH to VM ctest-vm2-test-59646801, IP 10.10.10.4, Port 22 2025-08-03 00:02:48,508 - DEBUG - Error on ssh to ubuntu@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-08-03 00:02:48,619 - DEBUG - VM ctest-vm2-test-59646801 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-03 00:02:53,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 00:02:53,620 - DEBUG - Waiting to SSH to VM ctest-vm2-test-59646801, IP 10.10.10.4, Port 22 2025-08-03 00:02:53,813 - DEBUG - VM ctest-vm2-test-59646801 is ready for SSH connections 2025-08-03 00:02:53,813 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 00:02:53,813 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-03 00:03:12,167 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-03 00:03:12,168 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-59646801", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 00:03:12,168 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-59646801", None, socket.AF_INET6)' 2025-08-03 00:03:14,875 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-59646801, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 00:03:14,875 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-59646801 2025-08-03 00:03:17,882 - DEBUG - PING ctest-vm2-test-59646801.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-59646801.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.60 ms 64 bytes from ctest-vm2-test-59646801.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.230 ms 64 bytes from ctest-vm2-test-59646801.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.185 ms --- ctest-vm2-test-59646801.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.185/1.007/2.608/1.132 ms 2025-08-03 00:03:17,882 - INFO - Ping to IP ctest-vm2-test-59646801 from VM ctest-vm2-test-59646801 passed 2025-08-03 00:03:17,909 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-03 00:03:17,919 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-22231835@0%20AllEntriesVdnsRecordsReq 2025-08-03 00:03:17,925 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-03 00:03:17,931 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-22231835@0%20AllEntriesVdnsRecordsReq 2025-08-03 00:03:17,937 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-03 00:03:17,943 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-22231835@0%20AllEntriesVdnsRecordsReq 2025-08-03 00:03:17,949 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-22231835:1:ctest-vm2-test-59646801:10.10.10.4', 'rec_name': 'ctest-vm2-test-59646801', '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-ansible-os-3743-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-59646801.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-03 00:03:17,949 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-22231835:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-59646801', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-59646801', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3743-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-59646801.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-08-03 00:03:17,949 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-59646801", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-03 00:03:17,949 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-59646801", None, socket.AF_INET6)' 2025-08-03 00:03:19,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-59646801, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-03 00:03:19,038 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-59646801 2025-08-03 00:03:21,590 - DEBUG - PING ctest-vm2-test-59646801.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-59646801.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.95 ms 64 bytes from ctest-vm2-test-59646801.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.30 ms 64 bytes from ctest-vm2-test-59646801.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.26 ms --- ctest-vm2-test-59646801.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.268/4.176/9.958/4.088 ms 2025-08-03 00:03:21,591 - INFO - Ping to IP ctest-vm2-test-59646801 from VM ctest-vm1-test-25836531 passed 2025-08-03 00:03:21,591 - INFO - Try deleting the VDNS entry ctest-vdns1-22231835 with back ref of ipam. 2025-08-03 00:03:21,665 - DEBUG - Delete when resource still referred: ['http://10.0.0.50:8082/network-ipam/0129d052-774b-4335-8106-8b4ac8236a0b'] 2025-08-03 00:03:21,665 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-03 00:03:21,665 - INFO - Add CNAME VDNS record for ctest-vm1-test-25836531 and verify we able to ping by alias name 2025-08-03 00:03:21,717 - DEBUG - Creating VDNS record data : test-rec 2025-08-03 00:03:21,886 - INFO - In verify_on_setup 2025-08-03 00:03:21,997 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-22231835', 'test-rec'] created succesfully 2025-08-03 00:03:21,998 - INFO - Verify VDNS record is shown in the API server 2025-08-03 00:03:21,998 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 00:03:22,008 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-03 00:03:22,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/540dd2b7-5ecd-4317-adbb-ac3af9e38bc2 2025-08-03 00:03:22,078 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/5d4d6666-822f-48c9-a4d0-e875b905079b 2025-08-03 00:03:22,089 - INFO - Verify VDNS record is shown in the control node 2025-08-03 00:03:22,133 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-03 00:03:22,133 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-03 00:03:23,352 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-03 00:03:23,352 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-03 00:03:23,871 - DEBUG - ping: unknown host vm1-test-alias 2025-08-03 00:03:23,871 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-25836531 failed 2025-08-03 00:03:24,872 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-03 00:03:24,872 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-03 00:03:26,129 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-03 00:03:26,129 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-03 00:03:28,660 - DEBUG - PING ctest-vm1-test-25836531.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-25836531.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.263 ms 64 bytes from ctest-vm1-test-25836531.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.220 ms 64 bytes from ctest-vm1-test-25836531.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.255 ms --- ctest-vm1-test-25836531.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.220/0.246/0.263/0.018 ms 2025-08-03 00:03:28,660 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-25836531 passed 2025-08-03 00:03:28,661 - DEBUG - Deleting VDNS record data: test-rec 2025-08-03 00:03:28,789 - INFO - VDNS record info: default-domain:ctest-vdns1-22231835:test-rec deleted successfully. 2025-08-03 00:03:28,789 - INFO - Deleting VM ctest-vm2-test-59646801 2025-08-03 00:03:28,862 - INFO - Deleting VM ctest-vm1-test-25836531 2025-08-03 00:03:28,933 - INFO - Deleting VN ctest-vn1-vdns-79688825 2025-08-03 00:03:28,989 - DEBUG - VN 2a322180-2d23-4880-8673-80c237b8ee10 still in use: Unable to complete operation on network 2a322180-2d23-4880-8673-80c237b8ee10. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1d45242f-4095-47be-8e51-36dd868f4008'] 2025-08-03 00:03:28,989 - WARNING - Deleting VN ctest-vn1-vdns-79688825 failed..Will retry 2025-08-03 00:03:31,239 - DEBUG - Response for deleting network () 2025-08-03 00:03:31,303 - DEBUG - Deleting VDNS Entry: ctest-vdns1-22231835 2025-08-03 00:03:31,425 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-22231835'] deleted successfully. 2025-08-03 00:03:31,425 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 00:03:31,433 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-03 00:03:31,451 - DEBUG - VDNS information not found in API server 2025-08-03 00:03:31,451 - INFO - VDNS information ctest-vdns1-22231835 removed from the API Server 2025-08-03 00:03:31,460 - INFO - VDNS information ctest-vdns1-22231835 removed in the Control node 2025-08-03 00:03:31,460 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-39926212'] 2025-08-03 00:03:32,837 - DEBUG - No XMPP flaps were noticed during the test 2025-08-03 00:03:32,837 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:13] 2025-08-03 00:03:32,837 - INFO - -------------------------------------------------------------------------------- 2025-08-03 00:03:33,811 - INFO - Deleted project: ctest-TestvDNSBasic0-39926212, ID : 200c704a-5eb2-4b2a-a9ec-01ed32acd4ea