2025-08-07 03:15:28,984 - INFO - Domain Default found not creating 2025-08-07 03:15:29,194 - INFO - Project ctest-TestvDNSBasic0-67540836 not found, creating it 2025-08-07 03:15:29,774 - INFO - Created Project:ctest-TestvDNSBasic0-67540836, ID : be7fce30-9e57-4c4f-8fca-234f78fb98c2 2025-08-07 03:15:31,541 - INFO - ================================================================================ 2025-08-07 03:15:31,541 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-07 03:15:31,541 - 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-07 03:15:32,822 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-07 03:15:32,822 - INFO - Initial checks done. Running the testcase now 2025-08-07 03:15:32,822 - INFO - 2025-08-07 03:15:33,627 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-67540836'](be7fce30-9e57-4c4f-8fca-234f78fb98c2) 2025-08-07 03:15:33,690 - DEBUG - Creating VDNS : ctest-vdns1-19514357 2025-08-07 03:15:33,934 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-19514357'] created succesfully 2025-08-07 03:15:33,934 - DEBUG - Verify VDNS entry is shown in control node 2025-08-07 03:15:33,957 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-07 03:15:33,957 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-07 03:15:34,274 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-07 03:15:34,310 - DEBUG - Requesting: http://10.0.0.56:8082/domain/fb2d80da-9971-40dc-80ca-c5bb54e98569 2025-08-07 03:15:34,339 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/a19a9bb8-d9da-4244-a747-599b61c3e1db 2025-08-07 03:15:35,156 - DEBUG - Response for create_network : {'network': {'id': '2d36711f-f317-4e07-b240-3f58002c0486', 'name': 'ctest-vn1-vdns-12093329', 'tenant_id': 'be7fce309e574c4f8fca234f78fb98c2', 'project_id': 'be7fce309e574c4f8fca234f78fb98c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-67540836', 'ctest-vn1-vdns-12093329'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 03:15:35,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '9667bc24-3c70-4913-b2d8-1d09c8f6cf66', 'name': '', 'tenant_id': 'be7fce309e574c4f8fca234f78fb98c2', 'network_id': '2d36711f-f317-4e07-b240-3f58002c0486', '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': 'be7fce309e574c4f8fca234f78fb98c2'}} 2025-08-07 03:15:35,503 - INFO - Created VN ctest-vn1-vdns-12093329 2025-08-07 03:15:35,519 - DEBUG - VN ctest-vn1-vdns-12093329 UUID is 2d36711f-f317-4e07-b240-3f58002c0486 2025-08-07 03:15:35,735 - DEBUG - Services list from nova: [, , , ] 2025-08-07 03:15:36,877 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 03:15:36,877 - INFO - Waiting for VM ctest-vm1-test-68825604 to be up.. 2025-08-07 03:15:36,935 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 03:15:42,032 - DEBUG - VM is in ACTIVE state now 2025-08-07 03:15:42,032 - INFO - VM name : ctest-vm1-test-68825604 2025-08-07 03:15:42,132 - DEBUG - VM ctest-vm1-test-68825604 ID is 9831a921-e56b-4892-84d4-fdf439ae83f8 2025-08-07 03:15:42,133 - DEBUG - VM ctest-vm1-test-68825604 launched on Node an-jenkins-deploy-platform-ansible-os-3767-2 2025-08-07 03:15:42,229 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9831a921-e56b-4892-84d4-fdf439ae83f8 2025-08-07 03:15:42,545 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9831a921-e56b-4892-84d4-fdf439ae83f8 2025-08-07 03:15:42,584 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/240c025c-0125-43e0-b6be-cf925cb88edd 2025-08-07 03:15:45,891 - 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 1018ms') 2025-08-07 03:15:45,891 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-68825604 failed! 2025-08-07 03:15:45,910 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:15:49,991 - 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 1014ms') 2025-08-07 03:15:49,991 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-68825604 failed! 2025-08-07 03:15:50,009 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:15:54,083 - 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 1004ms') 2025-08-07 03:15:54,083 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-68825604 failed! 2025-08-07 03:15:54,101 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:15:58,178 - 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-07 03:15:58,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-68825604 failed! 2025-08-07 03:15:58,196 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:16:02,270 - 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 1013ms') 2025-08-07 03:16:02,270 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-68825604 failed! 2025-08-07 03:16:02,289 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:16:06,376 - 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 1022ms') 2025-08-07 03:16:06,376 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-68825604 failed! 2025-08-07 03:16:06,396 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:16:10,464 - 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 1003ms') 2025-08-07 03:16:10,464 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-68825604 failed! 2025-08-07 03:16:10,480 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:16:14,564 - 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 1018ms') 2025-08-07 03:16:14,564 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-68825604 failed! 2025-08-07 03:16:14,583 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:16:18,664 - 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 1012ms') 2025-08-07 03:16:18,664 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-68825604 failed! 2025-08-07 03:16:18,682 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:16:20,748 - 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=9.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.87 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.867/5.475/9.084/3.608 ms') 2025-08-07 03:16:20,748 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-68825604 passed 2025-08-07 03:16:20,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 03:16:20,869 - DEBUG - Waiting to SSH to VM ctest-vm1-test-68825604, IP 10.10.10.3, Port 22 2025-08-07 03:16:20,936 - 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-07 03:16:21,033 - DEBUG - VM ctest-vm1-test-68825604 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 03:16:26,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 03:16:26,034 - DEBUG - Waiting to SSH to VM ctest-vm1-test-68825604, IP 10.10.10.3, Port 22 2025-08-07 03:16:26,103 - 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-07 03:16:26,202 - DEBUG - VM ctest-vm1-test-68825604 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 03:16:31,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 03:16:31,203 - DEBUG - Waiting to SSH to VM ctest-vm1-test-68825604, IP 10.10.10.3, Port 22 2025-08-07 03:16:31,272 - 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-07 03:16:31,375 - DEBUG - VM ctest-vm1-test-68825604 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 03:16:36,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 03:16:36,376 - DEBUG - Waiting to SSH to VM ctest-vm1-test-68825604, IP 10.10.10.3, Port 22 2025-08-07 03:16:36,448 - 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-07 03:16:36,551 - DEBUG - VM ctest-vm1-test-68825604 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 03:16:41,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 03:16:41,552 - DEBUG - Waiting to SSH to VM ctest-vm1-test-68825604, IP 10.10.10.3, Port 22 2025-08-07 03:16:41,714 - DEBUG - VM ctest-vm1-test-68825604 is ready for SSH connections 2025-08-07 03:16:41,714 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 03:16:41,714 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-07 03:17:03,810 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-07 03:17:03,810 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-68825604", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 03:17:03,810 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-68825604", None, socket.AF_INET6)' 2025-08-07 03:17:06,613 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-68825604, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 03:17:06,613 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-68825604 2025-08-07 03:17:09,722 - DEBUG - PING ctest-vm1-test-68825604.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-68825604.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.02 ms 64 bytes from ctest-vm1-test-68825604.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.234 ms 64 bytes from ctest-vm1-test-68825604.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.346 ms --- ctest-vm1-test-68825604.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.234/1.202/3.027/1.291 ms 2025-08-07 03:17:09,723 - INFO - Ping to IP ctest-vm1-test-68825604 from VM ctest-vm1-test-68825604 passed 2025-08-07 03:17:09,754 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 03:17:09,761 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-19514357@0%20AllEntriesVdnsRecordsReq 2025-08-07 03:17:09,768 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 03:17:09,775 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-19514357@0%20AllEntriesVdnsRecordsReq 2025-08-07 03:17:09,781 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 03:17:09,788 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-19514357@0%20AllEntriesVdnsRecordsReq 2025-08-07 03:17:09,795 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-19514357:1:ctest-vm1-test-68825604:10.10.10.3', 'rec_name': 'ctest-vm1-test-68825604', '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-3767-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-68825604.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-07 03:17:09,795 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-19514357:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-68825604', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-68825604', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3767-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-68825604.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-07 03:17:11,231 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-1) 2025-08-07 03:17:11,231 - INFO - Waiting for VM ctest-vm2-test-89356310 to be up.. 2025-08-07 03:17:11,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 03:17:16,378 - DEBUG - VM is in ACTIVE state now 2025-08-07 03:17:16,378 - INFO - VM name : ctest-vm2-test-89356310 2025-08-07 03:17:16,480 - DEBUG - VM ctest-vm2-test-89356310 ID is dcc09e57-a30b-4e80-852f-dd05a31c9bc3 2025-08-07 03:17:16,480 - DEBUG - VM ctest-vm2-test-89356310 launched on Node an-jenkins-deploy-platform-ansible-os-3767-1 2025-08-07 03:17:16,571 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/dcc09e57-a30b-4e80-852f-dd05a31c9bc3 2025-08-07 03:17:16,584 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e447804d-0902-4418-b45c-82341f576d71 2025-08-07 03:17:19,839 - 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 1017ms') 2025-08-07 03:17:19,839 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89356310 failed! 2025-08-07 03:17:19,859 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:17:23,942 - 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 1009ms') 2025-08-07 03:17:23,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89356310 failed! 2025-08-07 03:17:23,960 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:17:28,037 - 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 1005ms') 2025-08-07 03:17:28,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89356310 failed! 2025-08-07 03:17:28,055 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:17:32,131 - 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 1003ms') 2025-08-07 03:17:32,131 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89356310 failed! 2025-08-07 03:17:32,148 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:17:36,236 - 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 1016ms') 2025-08-07 03:17:36,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89356310 failed! 2025-08-07 03:17:36,254 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:17:40,360 - 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 1036ms') 2025-08-07 03:17:40,360 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89356310 failed! 2025-08-07 03:17:40,378 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:17:44,452 - 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 1004ms') 2025-08-07 03:17:44,452 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89356310 failed! 2025-08-07 03:17:44,472 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:17:48,543 - 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-07 03:17:48,543 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89356310 failed! 2025-08-07 03:17:48,563 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:17:52,646 - 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 1013ms') 2025-08-07 03:17:52,646 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89356310 failed! 2025-08-07 03:17:52,666 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:17:56,741 - 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 1005ms') 2025-08-07 03:17:56,742 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89356310 failed! 2025-08-07 03:17:56,760 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67540836:ctest-vn1-vdns-12093329 is 10.10.10.1 and allocation pool is NOT set 2025-08-07 03:17:58,826 - 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.536 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.536/4.307/8.079/3.771 ms') 2025-08-07 03:17:58,827 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-89356310 passed 2025-08-07 03:17:58,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 03:17:58,945 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89356310, IP 10.10.10.4, Port 22 2025-08-07 03:17:59,013 - 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-07 03:17:59,138 - DEBUG - VM ctest-vm2-test-89356310 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 03:18:04,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 03:18:04,138 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89356310, IP 10.10.10.4, Port 22 2025-08-07 03:18:04,205 - 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-07 03:18:04,302 - DEBUG - VM ctest-vm2-test-89356310 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 03:18:09,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 03:18:09,303 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89356310, IP 10.10.10.4, Port 22 2025-08-07 03:18:09,381 - 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-07 03:18:09,486 - DEBUG - VM ctest-vm2-test-89356310 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 03:18:14,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 03:18:14,487 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89356310, IP 10.10.10.4, Port 22 2025-08-07 03:18:14,554 - 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-07 03:18:14,642 - DEBUG - VM ctest-vm2-test-89356310 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 03:18:19,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 03:18:19,643 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89356310, IP 10.10.10.4, Port 22 2025-08-07 03:18:19,713 - 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-07 03:18:19,814 - DEBUG - VM ctest-vm2-test-89356310 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 03:18:24,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 03:18:24,815 - DEBUG - Waiting to SSH to VM ctest-vm2-test-89356310, IP 10.10.10.4, Port 22 2025-08-07 03:18:24,985 - DEBUG - VM ctest-vm2-test-89356310 is ready for SSH connections 2025-08-07 03:18:24,985 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-07 03:18:24,985 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-07 03:18:49,641 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-07 03:18:49,641 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89356310", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-07 03:18:49,641 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89356310", None, socket.AF_INET6)' 2025-08-07 03:18:53,085 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89356310, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-07 03:18:53,085 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89356310 2025-08-07 03:18:56,341 - DEBUG - PING ctest-vm2-test-89356310.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-89356310.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.80 ms 64 bytes from ctest-vm2-test-89356310.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.285 ms 64 bytes from ctest-vm2-test-89356310.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.183 ms --- ctest-vm2-test-89356310.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.183/1.092/2.809/1.214 ms 2025-08-07 03:18:56,341 - INFO - Ping to IP ctest-vm2-test-89356310 from VM ctest-vm2-test-89356310 passed 2025-08-07 03:18:56,370 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 03:18:56,383 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-19514357@0%20AllEntriesVdnsRecordsReq 2025-08-07 03:18:56,392 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 03:18:56,402 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-19514357@0%20AllEntriesVdnsRecordsReq 2025-08-07 03:18:56,409 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-07 03:18:56,416 - DEBUG - Requesting: http://10.0.0.56:8092/Snh_PageReq?x=default-domain:ctest-vdns1-19514357@0%20AllEntriesVdnsRecordsReq 2025-08-07 03:18:56,424 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-19514357:1:ctest-vm2-test-89356310:10.10.10.4', 'rec_name': 'ctest-vm2-test-89356310', '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-3767-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-89356310.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-07 03:18:56,424 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-19514357:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-89356310', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-89356310', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3767-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-89356310.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-07 03:18:56,425 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89356310", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 03:18:56,425 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-89356310", None, socket.AF_INET6)' 2025-08-07 03:18:57,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-89356310, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 03:18:57,714 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-89356310 2025-08-07 03:19:00,294 - DEBUG - PING ctest-vm2-test-89356310.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-89356310.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=13.1 ms 64 bytes from ctest-vm2-test-89356310.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.56 ms 64 bytes from ctest-vm2-test-89356310.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.21 ms --- ctest-vm2-test-89356310.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.219/5.313/13.153/5.545 ms 2025-08-07 03:19:00,294 - INFO - Ping to IP ctest-vm2-test-89356310 from VM ctest-vm1-test-68825604 passed 2025-08-07 03:19:00,295 - INFO - Try deleting the VDNS entry ctest-vdns1-19514357 with back ref of ipam. 2025-08-07 03:19:00,358 - DEBUG - Delete when resource still referred: ['http://10.0.0.249:8082/network-ipam/fcee7ecb-730e-42a0-9b8a-3b4029e549cd'] 2025-08-07 03:19:00,358 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-07 03:19:00,358 - INFO - Add CNAME VDNS record for ctest-vm1-test-68825604 and verify we able to ping by alias name 2025-08-07 03:19:00,410 - DEBUG - Creating VDNS record data : test-rec 2025-08-07 03:19:00,542 - INFO - In verify_on_setup 2025-08-07 03:19:00,646 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-19514357', 'test-rec'] created succesfully 2025-08-07 03:19:00,646 - INFO - Verify VDNS record is shown in the API server 2025-08-07 03:19:00,646 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-07 03:19:00,655 - DEBUG - Requesting: http://10.0.0.56:8082/domain/fb2d80da-9971-40dc-80ca-c5bb54e98569 2025-08-07 03:19:00,705 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/a19a9bb8-d9da-4244-a747-599b61c3e1db 2025-08-07 03:19:00,723 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS-record/1219abad-5cb4-4a21-bf29-4f2e4ad33751 2025-08-07 03:19:00,734 - INFO - Verify VDNS record is shown in the control node 2025-08-07 03:19:00,760 - 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.61, gateway password: c0ntrail123 2025-08-07 03:19:00,760 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-07 03:19:02,033 - 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.61, gateway password: c0ntrail123 2025-08-07 03:19:02,033 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-07 03:19:02,585 - DEBUG - ping: unknown host vm1-test-alias 2025-08-07 03:19:02,586 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-68825604 failed 2025-08-07 03:19:03,587 - 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.61, gateway password: c0ntrail123 2025-08-07 03:19:03,587 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-07 03:19:04,889 - 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.61, gateway password: c0ntrail123 2025-08-07 03:19:04,889 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-07 03:19:07,452 - DEBUG - PING ctest-vm1-test-68825604.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-68825604.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.98 ms 64 bytes from ctest-vm1-test-68825604.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.307 ms 64 bytes from ctest-vm1-test-68825604.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.218 ms --- ctest-vm1-test-68825604.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.218/0.836/1.984/0.812 ms 2025-08-07 03:19:07,453 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-68825604 passed 2025-08-07 03:19:07,453 - DEBUG - Deleting VDNS record data: test-rec 2025-08-07 03:19:07,550 - INFO - VDNS record info: default-domain:ctest-vdns1-19514357:test-rec deleted successfully. 2025-08-07 03:19:07,550 - INFO - Deleting VM ctest-vm2-test-89356310 2025-08-07 03:19:07,631 - INFO - Deleting VM ctest-vm1-test-68825604 2025-08-07 03:19:07,705 - INFO - Deleting VN ctest-vn1-vdns-12093329 2025-08-07 03:19:07,755 - DEBUG - VN 2d36711f-f317-4e07-b240-3f58002c0486 still in use: Unable to complete operation on network 2d36711f-f317-4e07-b240-3f58002c0486. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8db00b91-a2bd-43f8-84c9-eb138bd2ca24'] 2025-08-07 03:19:07,755 - WARNING - Deleting VN ctest-vn1-vdns-12093329 failed..Will retry 2025-08-07 03:19:09,988 - DEBUG - Response for deleting network () 2025-08-07 03:19:10,087 - DEBUG - Deleting VDNS Entry: ctest-vdns1-19514357 2025-08-07 03:19:10,190 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-19514357'] deleted successfully. 2025-08-07 03:19:10,190 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-07 03:19:10,200 - DEBUG - Requesting: http://10.0.0.56:8082/domain/fb2d80da-9971-40dc-80ca-c5bb54e98569 2025-08-07 03:19:10,217 - DEBUG - VDNS information not found in API server 2025-08-07 03:19:10,217 - INFO - VDNS information ctest-vdns1-19514357 removed from the API Server 2025-08-07 03:19:10,224 - INFO - VDNS information ctest-vdns1-19514357 removed in the Control node 2025-08-07 03:19:10,224 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-67540836'] 2025-08-07 03:19:11,534 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 03:19:11,534 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:40]
2025-08-07 03:19:11,534 - INFO - -------------------------------------------------------------------------------- 2025-08-07 03:19:12,331 - INFO - Deleted project: ctest-TestvDNSBasic0-67540836, ID : be7fce30-9e57-4c4f-8fca-234f78fb98c2