2026-05-28 16:43:00,960 - INFO - Domain Default found not creating 2026-05-28 16:43:01,446 - INFO - Project ctest-TestvDNSBasic0-27435242 not found, creating it 2026-05-28 16:43:02,123 - INFO - Created Project:ctest-TestvDNSBasic0-27435242, ID : 619c4424-8cd6-400e-9dfd-1106ac4fe49b 2026-05-28 16:43:03,723 - INFO - ================================================================================ 2026-05-28 16:43:03,724 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-05-28 16:43:03,724 - 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 2026-05-28 16:43:05,056 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.73': {'10.20.0.25': '0', '10.20.0.254': '0'}} with 2026-05-28 16:43:05,056 - INFO - Initial checks done. Running the testcase now 2026-05-28 16:43:05,057 - INFO - 2026-05-28 16:43:05,903 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-27435242'](619c4424-8cd6-400e-9dfd-1106ac4fe49b) 2026-05-28 16:43:05,963 - DEBUG - Creating VDNS : ctest-vdns1-71046446 2026-05-28 16:43:06,207 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-71046446'] created succesfully 2026-05-28 16:43:06,207 - DEBUG - Verify VDNS entry is shown in control node 2026-05-28 16:43:06,227 - DEBUG - Verify VDNS entry is shown in the API server 2026-05-28 16:43:06,228 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-28 16:43:06,536 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-28 16:43:06,568 - DEBUG - Requesting: http://10.0.0.23:8082/domain/91e0a21d-5e29-457b-800b-759f9f8a74a1 2026-05-28 16:43:06,587 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/02fabcb9-7f18-45a0-ba84-90509c6db898 2026-05-28 16:43:07,332 - DEBUG - Response for create_network : {'network': {'id': '5b2ee800-6f91-46db-825c-6ec31aeb3d11', 'name': 'ctest-vn1-vdns-00159513', 'tenant_id': '619c44248cd6400e9dfd1106ac4fe49b', 'project_id': '619c44248cd6400e9dfd1106ac4fe49b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-27435242', 'ctest-vn1-vdns-00159513'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 16:43:07,616 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3e97980-15ca-4578-bfa2-d21cfecd4f17', 'name': '', 'tenant_id': '619c44248cd6400e9dfd1106ac4fe49b', 'network_id': '5b2ee800-6f91-46db-825c-6ec31aeb3d11', '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': '619c44248cd6400e9dfd1106ac4fe49b'}} 2026-05-28 16:43:07,643 - INFO - Created VN ctest-vn1-vdns-00159513 2026-05-28 16:43:07,657 - DEBUG - VN ctest-vn1-vdns-00159513 UUID is 5b2ee800-6f91-46db-825c-6ec31aeb3d11 2026-05-28 16:43:07,868 - DEBUG - Services list from nova: [, , , ] 2026-05-28 16:43:08,967 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5845-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5845-1) 2026-05-28 16:43:08,967 - INFO - Waiting for VM ctest-vm1-test-95847295 to be up.. 2026-05-28 16:43:09,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 16:43:14,101 - DEBUG - VM is in ACTIVE state now 2026-05-28 16:43:14,101 - INFO - VM name : ctest-vm1-test-95847295 2026-05-28 16:43:14,195 - DEBUG - VM ctest-vm1-test-95847295 ID is 9221e191-8bf8-41e9-97d5-271da006b540 2026-05-28 16:43:14,195 - DEBUG - VM ctest-vm1-test-95847295 launched on Node an-jenkins-deploy-platform-ansible-os-5845-1 2026-05-28 16:43:14,282 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9221e191-8bf8-41e9-97d5-271da006b540 2026-05-28 16:43:14,578 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9221e191-8bf8-41e9-97d5-271da006b540 2026-05-28 16:43:14,622 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/83654255-ca08-4807-b0b1-9e30562d4800 2026-05-28 16:43:17,819 - 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') 2026-05-28 16:43:17,819 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95847295 failed! 2026-05-28 16:43:17,835 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:43:21,918 - 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') 2026-05-28 16:43:21,918 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95847295 failed! 2026-05-28 16:43:21,934 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:43:26,013 - 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') 2026-05-28 16:43:26,013 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95847295 failed! 2026-05-28 16:43:26,027 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:43:30,109 - 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') 2026-05-28 16:43:30,109 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95847295 failed! 2026-05-28 16:43:30,128 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:43:34,204 - 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') 2026-05-28 16:43:34,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95847295 failed! 2026-05-28 16:43:34,221 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:43:38,298 - 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') 2026-05-28 16:43:38,298 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95847295 failed! 2026-05-28 16:43:38,323 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:43:42,396 - 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 1006ms') 2026-05-28 16:43:42,397 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95847295 failed! 2026-05-28 16:43:42,416 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:43:46,488 - 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 1011ms') 2026-05-28 16:43:46,489 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95847295 failed! 2026-05-28 16:43:46,507 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:43:50,588 - 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') 2026-05-28 16:43:50,588 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95847295 failed! 2026-05-28 16:43:50,609 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:43:52,677 - 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=11.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.946/7.010/11.074/4.064 ms') 2026-05-28 16:43:52,677 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95847295 passed 2026-05-28 16:43:52,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:43:52,749 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95847295, IP 10.10.10.3, Port 22 2026-05-28 16:43:52,818 - 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': ''} 2026-05-28 16:43:52,911 - DEBUG - VM ctest-vm1-test-95847295 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:43:57,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:43:57,912 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95847295, IP 10.10.10.3, Port 22 2026-05-28 16:43:57,981 - 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': ''} 2026-05-28 16:43:58,069 - DEBUG - VM ctest-vm1-test-95847295 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:44:03,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:44:03,070 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95847295, IP 10.10.10.3, Port 22 2026-05-28 16:44:03,138 - 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': ''} 2026-05-28 16:44:03,239 - DEBUG - VM ctest-vm1-test-95847295 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:44:08,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:44:08,240 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95847295, IP 10.10.10.3, Port 22 2026-05-28 16:44:08,310 - 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': ''} 2026-05-28 16:44:08,391 - DEBUG - VM ctest-vm1-test-95847295 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:44:13,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:44:13,391 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95847295, IP 10.10.10.3, Port 22 2026-05-28 16:44:13,574 - DEBUG - VM ctest-vm1-test-95847295 is ready for SSH connections 2026-05-28 16:44:13,574 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-28 16:44:13,574 - DEBUG - ifconfig | grep 10.10.10.3 2026-05-28 16:44:35,760 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-05-28 16:44:35,761 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-95847295", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-28 16:44:35,761 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-95847295", None, socket.AF_INET6)' 2026-05-28 16:44:38,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-95847295, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-28 16:44:38,738 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-95847295 2026-05-28 16:44:41,782 - DEBUG - PING ctest-vm1-test-95847295.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-95847295.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.48 ms 64 bytes from ctest-vm1-test-95847295.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.451 ms 64 bytes from ctest-vm1-test-95847295.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.331 ms --- ctest-vm1-test-95847295.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.331/1.087/2.481/0.987 ms 2026-05-28 16:44:41,783 - INFO - Ping to IP ctest-vm1-test-95847295 from VM ctest-vm1-test-95847295 passed 2026-05-28 16:44:41,808 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-28 16:44:41,815 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-71046446@0%20AllEntriesVdnsRecordsReq 2026-05-28 16:44:41,822 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-28 16:44:41,827 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-71046446@0%20AllEntriesVdnsRecordsReq 2026-05-28 16:44:41,831 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-28 16:44:41,835 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-71046446@0%20AllEntriesVdnsRecordsReq 2026-05-28 16:44:41,839 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-71046446:1:ctest-vm1-test-95847295:10.10.10.3', 'rec_name': 'ctest-vm1-test-95847295', '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-5845-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-95847295.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-05-28 16:44:41,839 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-71046446:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-95847295', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-95847295', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5845-1/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-95847295.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'} 2026-05-28 16:44:43,113 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5845-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5845-2) 2026-05-28 16:44:43,113 - INFO - Waiting for VM ctest-vm2-test-76845596 to be up.. 2026-05-28 16:44:43,172 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 16:44:48,255 - DEBUG - VM is in ACTIVE state now 2026-05-28 16:44:48,256 - INFO - VM name : ctest-vm2-test-76845596 2026-05-28 16:44:48,347 - DEBUG - VM ctest-vm2-test-76845596 ID is 8e05a245-affe-4c50-b081-f39530483da5 2026-05-28 16:44:48,347 - DEBUG - VM ctest-vm2-test-76845596 launched on Node an-jenkins-deploy-platform-ansible-os-5845-2 2026-05-28 16:44:48,430 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8e05a245-affe-4c50-b081-f39530483da5 2026-05-28 16:44:48,440 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c951a8ea-3721-402d-a284-3763d8aadac2 2026-05-28 16:44:51,636 - 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 1033ms') 2026-05-28 16:44:51,636 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76845596 failed! 2026-05-28 16:44:51,657 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:44:55,730 - 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') 2026-05-28 16:44:55,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76845596 failed! 2026-05-28 16:44:55,746 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:44:59,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 1017ms') 2026-05-28 16:44:59,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76845596 failed! 2026-05-28 16:44:59,841 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:45:03,918 - 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') 2026-05-28 16:45:03,918 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76845596 failed! 2026-05-28 16:45:03,933 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:45:08,018 - 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') 2026-05-28 16:45:08,018 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76845596 failed! 2026-05-28 16:45:08,032 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:45:12,113 - 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') 2026-05-28 16:45:12,113 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76845596 failed! 2026-05-28 16:45:12,129 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:45:16,203 - 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') 2026-05-28 16:45:16,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76845596 failed! 2026-05-28 16:45:16,219 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:45:20,310 - 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') 2026-05-28 16:45:20,310 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76845596 failed! 2026-05-28 16:45:20,326 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:45:24,397 - 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') 2026-05-28 16:45:24,397 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76845596 failed! 2026-05-28 16:45:24,414 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-27435242:ctest-vn1-vdns-00159513 is 10.10.10.1 and allocation pool is NOT set 2026-05-28 16:45:28,500 - 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=6.70 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 6.704/6.704/6.704/0.000 ms') 2026-05-28 16:45:28,500 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-76845596 passed 2026-05-28 16:45:28,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:45:28,572 - DEBUG - Waiting to SSH to VM ctest-vm2-test-76845596, IP 10.10.10.4, Port 22 2026-05-28 16:45:28,640 - 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': ''} 2026-05-28 16:45:28,725 - DEBUG - VM ctest-vm2-test-76845596 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:45:33,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:45:33,726 - DEBUG - Waiting to SSH to VM ctest-vm2-test-76845596, IP 10.10.10.4, Port 22 2026-05-28 16:45:33,782 - 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': ''} 2026-05-28 16:45:33,871 - DEBUG - VM ctest-vm2-test-76845596 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:45:38,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:45:38,872 - DEBUG - Waiting to SSH to VM ctest-vm2-test-76845596, IP 10.10.10.4, Port 22 2026-05-28 16:45:38,940 - 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': ''} 2026-05-28 16:45:39,032 - DEBUG - VM ctest-vm2-test-76845596 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:45:44,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:45:44,033 - DEBUG - Waiting to SSH to VM ctest-vm2-test-76845596, IP 10.10.10.4, Port 22 2026-05-28 16:45:44,100 - 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': ''} 2026-05-28 16:45:44,190 - DEBUG - VM ctest-vm2-test-76845596 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:45:49,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:45:49,191 - DEBUG - Waiting to SSH to VM ctest-vm2-test-76845596, IP 10.10.10.4, Port 22 2026-05-28 16:45:49,361 - DEBUG - VM ctest-vm2-test-76845596 is ready for SSH connections 2026-05-28 16:45:49,361 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-05-28 16:45:49,361 - DEBUG - ifconfig | grep 10.10.10.4 2026-05-28 16:46:12,619 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-05-28 16:46:12,619 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-76845596", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-05-28 16:46:12,619 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-76845596", None, socket.AF_INET6)' 2026-05-28 16:46:15,634 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-76845596, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-05-28 16:46:15,634 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-76845596 2026-05-28 16:46:18,243 - DEBUG - PING ctest-vm2-test-76845596.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-76845596.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=6.81 ms 64 bytes from ctest-vm2-test-76845596.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.270 ms 64 bytes from ctest-vm2-test-76845596.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.285 ms --- ctest-vm2-test-76845596.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.270/2.456/6.814/3.081 ms 2026-05-28 16:46:18,243 - INFO - Ping to IP ctest-vm2-test-76845596 from VM ctest-vm2-test-76845596 passed 2026-05-28 16:46:18,306 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-28 16:46:18,330 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-71046446@0%20AllEntriesVdnsRecordsReq 2026-05-28 16:46:18,340 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-28 16:46:18,355 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-71046446@0%20AllEntriesVdnsRecordsReq 2026-05-28 16:46:18,361 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-05-28 16:46:18,371 - DEBUG - Requesting: http://10.0.0.23:8092/Snh_PageReq?x=default-domain:ctest-vdns1-71046446@0%20AllEntriesVdnsRecordsReq 2026-05-28 16:46:18,378 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-71046446:1:ctest-vm2-test-76845596:10.10.10.4', 'rec_name': 'ctest-vm2-test-76845596', '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-5845-2/dns'} , Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-76845596.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-05-28 16:46:18,379 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-71046446:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-76845596', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-76845596', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5845-2/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-76845596.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'} 2026-05-28 16:46:18,379 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-76845596", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-28 16:46:18,379 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-76845596", None, socket.AF_INET6)' 2026-05-28 16:46:19,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-76845596, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-28 16:46:19,687 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-76845596 2026-05-28 16:46:22,245 - DEBUG - PING ctest-vm2-test-76845596.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-76845596.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.1 ms 64 bytes from ctest-vm2-test-76845596.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.29 ms 64 bytes from ctest-vm2-test-76845596.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.39 ms --- ctest-vm2-test-76845596.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.293/4.269/10.126/4.141 ms 2026-05-28 16:46:22,245 - INFO - Ping to IP ctest-vm2-test-76845596 from VM ctest-vm1-test-95847295 passed 2026-05-28 16:46:22,245 - INFO - Try deleting the VDNS entry ctest-vdns1-71046446 with back ref of ipam. 2026-05-28 16:46:22,315 - DEBUG - Delete when resource still referred: ['http://10.0.0.33:8082/network-ipam/51835da0-aee4-4e22-943c-9d42f4a80749'] 2026-05-28 16:46:22,315 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-05-28 16:46:22,315 - INFO - Add CNAME VDNS record for ctest-vm1-test-95847295 and verify we able to ping by alias name 2026-05-28 16:46:22,363 - DEBUG - Creating VDNS record data : test-rec 2026-05-28 16:46:22,495 - INFO - In verify_on_setup 2026-05-28 16:46:22,591 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-71046446', 'test-rec'] created succesfully 2026-05-28 16:46:22,591 - INFO - Verify VDNS record is shown in the API server 2026-05-28 16:46:22,591 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-28 16:46:22,599 - DEBUG - Requesting: http://10.0.0.23:8082/domain/91e0a21d-5e29-457b-800b-759f9f8a74a1 2026-05-28 16:46:22,616 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS/02fabcb9-7f18-45a0-ba84-90509c6db898 2026-05-28 16:46:22,629 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-DNS-record/4067f0ca-a1a8-49ba-bea2-c1313e765f35 2026-05-28 16:46:22,637 - INFO - Verify VDNS record is shown in the control node 2026-05-28 16:46:22,657 - 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.130, gateway password: c0ntrail123 2026-05-28 16:46:22,657 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-05-28 16:46:24,344 - 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.130, gateway password: c0ntrail123 2026-05-28 16:46:24,344 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-05-28 16:46:24,921 - DEBUG - ping: unknown host vm1-test-alias 2026-05-28 16:46:24,922 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-95847295 failed 2026-05-28 16:46:25,922 - 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.130, gateway password: c0ntrail123 2026-05-28 16:46:25,923 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-05-28 16:46:27,158 - 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.130, gateway password: c0ntrail123 2026-05-28 16:46:27,159 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-05-28 16:46:29,723 - DEBUG - PING ctest-vm1-test-95847295.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-95847295.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.76 ms 64 bytes from ctest-vm1-test-95847295.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.323 ms 64 bytes from ctest-vm1-test-95847295.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.242 ms --- ctest-vm1-test-95847295.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.242/0.776/1.765/0.700 ms 2026-05-28 16:46:29,723 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-95847295 passed 2026-05-28 16:46:29,723 - DEBUG - Deleting VDNS record data: test-rec 2026-05-28 16:46:29,827 - INFO - VDNS record info: default-domain:ctest-vdns1-71046446:test-rec deleted successfully. 2026-05-28 16:46:29,827 - INFO - Deleting VM ctest-vm2-test-76845596 2026-05-28 16:46:29,914 - INFO - Deleting VM ctest-vm1-test-95847295 2026-05-28 16:46:29,989 - INFO - Deleting VN ctest-vn1-vdns-00159513 2026-05-28 16:46:30,043 - DEBUG - VN 5b2ee800-6f91-46db-825c-6ec31aeb3d11 still in use: Unable to complete operation on network 5b2ee800-6f91-46db-825c-6ec31aeb3d11. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-60655dd9-9be8-419f-8269-40ee7e46f4fc'] 2026-05-28 16:46:30,044 - WARNING - Deleting VN ctest-vn1-vdns-00159513 failed..Will retry 2026-05-28 16:46:32,211 - DEBUG - Response for deleting network () 2026-05-28 16:46:32,303 - DEBUG - Deleting VDNS Entry: ctest-vdns1-71046446 2026-05-28 16:46:32,419 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-71046446'] deleted successfully. 2026-05-28 16:46:32,419 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-28 16:46:32,432 - DEBUG - Requesting: http://10.0.0.23:8082/domain/91e0a21d-5e29-457b-800b-759f9f8a74a1 2026-05-28 16:46:32,450 - DEBUG - VDNS information not found in API server 2026-05-28 16:46:32,450 - INFO - VDNS information ctest-vdns1-71046446 removed from the API Server 2026-05-28 16:46:32,457 - INFO - VDNS information ctest-vdns1-71046446 removed in the Control node 2026-05-28 16:46:32,457 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-27435242'] 2026-05-28 16:46:33,745 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 16:46:33,745 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:30]
2026-05-28 16:46:33,745 - INFO - -------------------------------------------------------------------------------- 2026-05-28 16:46:34,582 - INFO - Deleted project: ctest-TestvDNSBasic0-27435242, ID : 619c4424-8cd6-400e-9dfd-1106ac4fe49b