2026-11-02 03:49:06,625 - INFO - Domain Default found not creating 2026-11-02 03:49:06,848 - INFO - Project ctest-TestvDNSBasic0-60973581 not found, creating it 2026-11-02 03:49:07,437 - INFO - Created Project:ctest-TestvDNSBasic0-60973581, ID : e5d2a3b5-a69c-4ac2-a9ef-5e39acd1bd0c 2026-11-02 03:49:09,385 - INFO - ================================================================================ 2026-11-02 03:49:09,386 - INFO - STARTING TEST : test_vdns_ping_same_vn 2026-11-02 03:49:09,386 - 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-11-02 03:49:10,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.162': {'10.20.0.254': '0', '10.20.0.17': '0'}} with 2026-11-02 03:49:10,705 - INFO - Initial checks done. Running the testcase now 2026-11-02 03:49:10,705 - INFO - 2026-11-02 03:49:11,627 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-60973581'](e5d2a3b5-a69c-4ac2-a9ef-5e39acd1bd0c) 2026-11-02 03:49:11,689 - DEBUG - Creating VDNS : ctest-vdns1-94925658 2026-11-02 03:49:11,921 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-94925658'] created succesfully 2026-11-02 03:49:11,921 - DEBUG - Verify VDNS entry is shown in control node 2026-11-02 03:49:11,941 - DEBUG - Verify VDNS entry is shown in the API server 2026-11-02 03:49:11,941 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 03:49:12,309 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 03:49:12,694 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5757b06b-c09b-4d3a-a3fa-720afb19f2b8 2026-11-02 03:49:12,720 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/70bc52bb-4eb3-41c1-9075-a1b11e1d4b78 2026-11-02 03:49:13,434 - DEBUG - Response for create_network : {'network': {'id': '6e72dce5-4cac-4c95-a64d-7d8a2567c2da', 'name': 'ctest-vn1-vdns-66843557', 'tenant_id': 'e5d2a3b5a69c4ac2a9ef5e39acd1bd0c', 'project_id': 'e5d2a3b5a69c4ac2a9ef5e39acd1bd0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-60973581', 'ctest-vn1-vdns-66843557'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 03:49:13,728 - DEBUG - Response for create_subnet : {'subnet': {'id': '005e5e53-93a9-40e6-be0b-5dc614dbfcfc', 'name': '', 'tenant_id': 'e5d2a3b5a69c4ac2a9ef5e39acd1bd0c', 'network_id': '6e72dce5-4cac-4c95-a64d-7d8a2567c2da', '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': 'e5d2a3b5a69c4ac2a9ef5e39acd1bd0c'}} 2026-11-02 03:49:13,752 - INFO - Created VN ctest-vn1-vdns-66843557 2026-11-02 03:49:13,766 - DEBUG - VN ctest-vn1-vdns-66843557 UUID is 6e72dce5-4cac-4c95-a64d-7d8a2567c2da 2026-11-02 03:49:13,947 - DEBUG - Services list from nova: [, , , ] 2026-11-02 03:49:14,444 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6461-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6461-1) 2026-11-02 03:49:14,444 - INFO - Waiting for VM ctest-vm1-test-54919708 to be up.. 2026-11-02 03:49:14,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:49:19,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:49:24,676 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:49:29,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:49:34,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:49:39,943 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:49:45,068 - DEBUG - VM is in ACTIVE state now 2026-11-02 03:49:45,068 - INFO - VM name : ctest-vm1-test-54919708 2026-11-02 03:49:45,170 - DEBUG - VM ctest-vm1-test-54919708 ID is ae11ff52-f258-4cf8-ab52-f977d125722f 2026-11-02 03:49:45,170 - DEBUG - VM ctest-vm1-test-54919708 launched on Node an-jenkins-deploy-platform-ansible-os-6461-1 2026-11-02 03:49:45,270 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/ae11ff52-f258-4cf8-ab52-f977d125722f 2026-11-02 03:49:45,640 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/ae11ff52-f258-4cf8-ab52-f977d125722f 2026-11-02 03:49:45,686 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/c1c3cbc4-d3ea-4cc5-b72e-0e6d4dbbfdc3 2026-11-02 03:49:48,892 - 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') 2026-11-02 03:49:48,892 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-54919708 failed! 2026-11-02 03:49:48,909 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:49:52,988 - 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') 2026-11-02 03:49:52,988 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-54919708 failed! 2026-11-02 03:49:53,002 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:49:57,079 - 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 1021ms') 2026-11-02 03:49:57,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-54919708 failed! 2026-11-02 03:49:57,095 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:50:01,177 - 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-11-02 03:50:01,177 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-54919708 failed! 2026-11-02 03:50:01,193 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:50:05,274 - 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-11-02 03:50:05,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-54919708 failed! 2026-11-02 03:50:05,290 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:50:09,373 - 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-11-02 03:50:09,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-54919708 failed! 2026-11-02 03:50:09,390 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:50:13,468 - 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-11-02 03:50:13,468 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-54919708 failed! 2026-11-02 03:50:13,484 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:50:15,557 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.80 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 = 3.803/6.489/9.175/2.686 ms') 2026-11-02 03:50:15,557 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-54919708 passed 2026-11-02 03:50:15,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:50:15,633 - DEBUG - Waiting to SSH to VM ctest-vm1-test-54919708, IP 10.10.10.3, Port 22 2026-11-02 03:50:15,700 - 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-11-02 03:50:15,794 - DEBUG - VM ctest-vm1-test-54919708 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 03:50:20,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:50:20,795 - DEBUG - Waiting to SSH to VM ctest-vm1-test-54919708, IP 10.10.10.3, Port 22 2026-11-02 03:50:20,861 - 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-11-02 03:50:20,945 - DEBUG - VM ctest-vm1-test-54919708 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 03:50:25,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:50:25,947 - DEBUG - Waiting to SSH to VM ctest-vm1-test-54919708, IP 10.10.10.3, Port 22 2026-11-02 03:50:26,012 - 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-11-02 03:50:26,100 - DEBUG - VM ctest-vm1-test-54919708 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 03:50:31,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:50:31,101 - DEBUG - Waiting to SSH to VM ctest-vm1-test-54919708, IP 10.10.10.3, Port 22 2026-11-02 03:50:31,271 - DEBUG - VM ctest-vm1-test-54919708 is ready for SSH connections 2026-11-02 03:50:31,272 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-02 03:50:31,272 - DEBUG - ifconfig | grep 10.10.10.3 2026-11-02 03:50:43,523 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2026-11-02 03:50:43,524 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-54919708", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-02 03:50:43,524 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-54919708", None, socket.AF_INET6)' 2026-11-02 03:50:46,063 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-54919708, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-02 03:50:46,063 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-54919708 2026-11-02 03:50:48,605 - DEBUG - PING ctest-vm1-test-54919708.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-54919708.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.39 ms 64 bytes from ctest-vm1-test-54919708.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.415 ms 64 bytes from ctest-vm1-test-54919708.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.209 ms --- ctest-vm1-test-54919708.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.209/1.007/2.399/0.988 ms 2026-11-02 03:50:48,605 - INFO - Ping to IP ctest-vm1-test-54919708 from VM ctest-vm1-test-54919708 passed 2026-11-02 03:50:48,635 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-11-02 03:50:48,645 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-94925658@0%20AllEntriesVdnsRecordsReq 2026-11-02 03:50:48,652 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-11-02 03:50:48,660 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-94925658@0%20AllEntriesVdnsRecordsReq 2026-11-02 03:50:48,689 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-11-02 03:50:48,711 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-94925658@0%20AllEntriesVdnsRecordsReq 2026-11-02 03:50:48,718 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-94925658:1:ctest-vm1-test-54919708:10.10.10.3', 'rec_name': 'ctest-vm1-test-54919708', '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-6461-1/dns', 'rec_vm_uuid': 'c1c3cbc4-d3ea-4cc5-b72e-0e6d4dbbfdc3'} , Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-54919708.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-11-02 03:50:48,718 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-94925658:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-54919708', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-54919708', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6461-1/dns', 'rec_vm_uuid': 'c1c3cbc4-d3ea-4cc5-b72e-0e6d4dbbfdc3'} , Expected record data {'rec_data': 'ctest-vm1-test-54919708.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-11-02 03:50:49,521 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6461-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6461-2) 2026-11-02 03:50:49,522 - INFO - Waiting for VM ctest-vm2-test-93613067 to be up.. 2026-11-02 03:50:49,567 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:50:54,677 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:50:59,767 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:51:04,854 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:51:09,973 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:51:15,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 03:51:20,161 - DEBUG - VM is in ACTIVE state now 2026-11-02 03:51:20,161 - INFO - VM name : ctest-vm2-test-93613067 2026-11-02 03:51:20,249 - DEBUG - VM ctest-vm2-test-93613067 ID is 6d717fb4-93cd-4150-8f30-774ec93c5f33 2026-11-02 03:51:20,249 - DEBUG - VM ctest-vm2-test-93613067 launched on Node an-jenkins-deploy-platform-ansible-os-6461-2 2026-11-02 03:51:20,335 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/6d717fb4-93cd-4150-8f30-774ec93c5f33 2026-11-02 03:51:20,346 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/8ba26996-e4ac-41cc-bee6-0df4541892e1 2026-11-02 03:51:23,532 - 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-11-02 03:51:23,532 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-93613067 failed! 2026-11-02 03:51:23,549 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:51:27,626 - 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') 2026-11-02 03:51:27,626 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-93613067 failed! 2026-11-02 03:51:27,642 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:51:31,724 - 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-11-02 03:51:31,724 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-93613067 failed! 2026-11-02 03:51:31,739 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:51:35,821 - 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-11-02 03:51:35,822 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-93613067 failed! 2026-11-02 03:51:35,836 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:51:39,916 - 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') 2026-11-02 03:51:39,916 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-93613067 failed! 2026-11-02 03:51:39,935 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:51:44,009 - 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 1008ms') 2026-11-02 03:51:44,009 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-93613067 failed! 2026-11-02 03:51:44,028 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:51:48,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 1012ms') 2026-11-02 03:51:48,109 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-93613067 failed! 2026-11-02 03:51:48,127 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60973581:ctest-vn1-vdns-66843557 is 10.10.10.1 and allocation pool is NOT set 2026-11-02 03:51:50,195 - 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=13.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.15 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 = 4.151/8.878/13.605/4.727 ms') 2026-11-02 03:51:50,195 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-93613067 passed 2026-11-02 03:51:50,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:51:50,267 - DEBUG - Waiting to SSH to VM ctest-vm2-test-93613067, IP 10.10.10.4, Port 22 2026-11-02 03:51:50,333 - 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-11-02 03:51:50,422 - DEBUG - VM ctest-vm2-test-93613067 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 03:51:55,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:51:55,423 - DEBUG - Waiting to SSH to VM ctest-vm2-test-93613067, IP 10.10.10.4, Port 22 2026-11-02 03:51:55,489 - 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-11-02 03:51:55,581 - DEBUG - VM ctest-vm2-test-93613067 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 03:52:00,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:52:00,583 - DEBUG - Waiting to SSH to VM ctest-vm2-test-93613067, IP 10.10.10.4, Port 22 2026-11-02 03:52:00,650 - 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-11-02 03:52:00,733 - DEBUG - VM ctest-vm2-test-93613067 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 03:52:05,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 03:52:05,735 - DEBUG - Waiting to SSH to VM ctest-vm2-test-93613067, IP 10.10.10.4, Port 22 2026-11-02 03:52:05,908 - DEBUG - VM ctest-vm2-test-93613067 is ready for SSH connections 2026-11-02 03:52:05,909 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-11-02 03:52:05,909 - DEBUG - ifconfig | grep 10.10.10.4 2026-11-02 03:52:19,397 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2026-11-02 03:52:19,397 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93613067", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-11-02 03:52:19,398 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93613067", None, socket.AF_INET6)' 2026-11-02 03:52:21,840 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-93613067, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-11-02 03:52:21,841 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-93613067 2026-11-02 03:52:24,336 - DEBUG - PING ctest-vm2-test-93613067.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-93613067.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.01 ms 64 bytes from ctest-vm2-test-93613067.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.286 ms 64 bytes from ctest-vm2-test-93613067.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.237 ms --- ctest-vm2-test-93613067.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.237/1.178/3.011/1.296 ms 2026-11-02 03:52:24,336 - INFO - Ping to IP ctest-vm2-test-93613067 from VM ctest-vm2-test-93613067 passed 2026-11-02 03:52:24,359 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-11-02 03:52:24,369 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-94925658@0%20AllEntriesVdnsRecordsReq 2026-11-02 03:52:24,395 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-11-02 03:52:24,402 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-94925658@0%20AllEntriesVdnsRecordsReq 2026-11-02 03:52:24,409 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2026-11-02 03:52:24,417 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-94925658@0%20AllEntriesVdnsRecordsReq 2026-11-02 03:52:24,426 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-94925658:1:ctest-vm2-test-93613067:10.10.10.4', 'rec_name': 'ctest-vm2-test-93613067', '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-6461-2/dns', 'rec_vm_uuid': '8ba26996-e4ac-41cc-bee6-0df4541892e1'} , Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-93613067.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2026-11-02 03:52:24,426 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-94925658:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-93613067', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-93613067', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6461-2/dns', 'rec_vm_uuid': '8ba26996-e4ac-41cc-bee6-0df4541892e1'} , Expected record data {'rec_data': 'ctest-vm2-test-93613067.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-11-02 03:52:24,426 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93613067", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-02 03:52:24,426 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-93613067", None, socket.AF_INET6)' 2026-11-02 03:52:25,428 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-93613067, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-02 03:52:25,428 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-93613067 2026-11-02 03:52:27,760 - DEBUG - PING ctest-vm2-test-93613067.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-93613067.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.84 ms 64 bytes from ctest-vm2-test-93613067.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.46 ms 64 bytes from ctest-vm2-test-93613067.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.30 ms --- ctest-vm2-test-93613067.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.300/3.870/8.845/3.518 ms 2026-11-02 03:52:27,760 - INFO - Ping to IP ctest-vm2-test-93613067 from VM ctest-vm1-test-54919708 passed 2026-11-02 03:52:27,760 - INFO - Try deleting the VDNS entry ctest-vdns1-94925658 with back ref of ipam. 2026-11-02 03:52:27,821 - DEBUG - Delete when resource still referred: ['http://10.0.0.191:8082/network-ipam/1237041b-5943-4f31-b14e-9055ae602f8f'] 2026-11-02 03:52:27,821 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2026-11-02 03:52:27,821 - INFO - Add CNAME VDNS record for ctest-vm1-test-54919708 and verify we able to ping by alias name 2026-11-02 03:52:27,869 - DEBUG - Creating VDNS record data : test-rec 2026-11-02 03:52:28,001 - INFO - In verify_on_setup 2026-11-02 03:52:28,097 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-94925658', 'test-rec'] created succesfully 2026-11-02 03:52:28,097 - INFO - Verify VDNS record is shown in the API server 2026-11-02 03:52:28,097 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 03:52:28,104 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5757b06b-c09b-4d3a-a3fa-720afb19f2b8 2026-11-02 03:52:28,118 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/70bc52bb-4eb3-41c1-9075-a1b11e1d4b78 2026-11-02 03:52:28,129 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS-record/35a9359d-8c11-4f89-bbc5-88afdd4ccedf 2026-11-02 03:52:28,135 - INFO - Verify VDNS record is shown in the control node 2026-11-02 03:52:28,159 - 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.161, gateway password: c0ntrail123 2026-11-02 03:52:28,159 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-11-02 03:52:29,166 - 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.161, gateway password: c0ntrail123 2026-11-02 03:52:29,166 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-11-02 03:52:29,468 - DEBUG - ping: unknown host vm1-test-alias 2026-11-02 03:52:29,469 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-54919708 failed 2026-11-02 03:52:30,469 - 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.161, gateway password: c0ntrail123 2026-11-02 03:52:30,469 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2026-11-02 03:52:31,519 - 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.161, gateway password: c0ntrail123 2026-11-02 03:52:31,519 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2026-11-02 03:52:33,841 - DEBUG - PING ctest-vm1-test-54919708.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-54919708.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.33 ms 64 bytes from ctest-vm1-test-54919708.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.240 ms 64 bytes from ctest-vm1-test-54919708.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.241 ms --- ctest-vm1-test-54919708.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.240/0.604/1.331/0.514 ms 2026-11-02 03:52:33,841 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-54919708 passed 2026-11-02 03:52:33,841 - DEBUG - Deleting VDNS record data: test-rec 2026-11-02 03:52:33,929 - INFO - VDNS record info: default-domain:ctest-vdns1-94925658:test-rec deleted successfully. 2026-11-02 03:52:33,929 - INFO - Deleting VM ctest-vm2-test-93613067 2026-11-02 03:52:34,007 - INFO - Deleting VM ctest-vm1-test-54919708 2026-11-02 03:52:34,091 - INFO - Deleting VN ctest-vn1-vdns-66843557 2026-11-02 03:52:34,133 - DEBUG - VN 6e72dce5-4cac-4c95-a64d-7d8a2567c2da still in use: Unable to complete operation on network 6e72dce5-4cac-4c95-a64d-7d8a2567c2da. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1fc0c8d7-06e4-4b96-9e25-25f73b189ad0'] 2026-11-02 03:52:34,133 - WARNING - Deleting VN ctest-vn1-vdns-66843557 failed..Will retry 2026-11-02 03:52:36,179 - DEBUG - VN 6e72dce5-4cac-4c95-a64d-7d8a2567c2da still in use: Unable to complete operation on network 6e72dce5-4cac-4c95-a64d-7d8a2567c2da. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a06468f5-8bad-4801-8213-64b39a22acfb'] 2026-11-02 03:52:36,180 - WARNING - Deleting VN ctest-vn1-vdns-66843557 failed..Will retry 2026-11-02 03:52:38,400 - DEBUG - Response for deleting network () 2026-11-02 03:52:38,446 - DEBUG - Deleting VDNS Entry: ctest-vdns1-94925658 2026-11-02 03:52:38,533 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-94925658'] deleted successfully. 2026-11-02 03:52:38,533 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 03:52:38,540 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5757b06b-c09b-4d3a-a3fa-720afb19f2b8 2026-11-02 03:52:38,556 - DEBUG - VDNS information not found in API server 2026-11-02 03:52:38,556 - INFO - VDNS information ctest-vdns1-94925658 removed from the API Server 2026-11-02 03:52:38,562 - INFO - VDNS information ctest-vdns1-94925658 removed in the Control node 2026-11-02 03:52:38,562 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-60973581'] 2026-11-02 03:52:39,882 - DEBUG - No XMPP flaps were noticed during the test 2026-11-02 03:52:39,882 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:30] 2026-11-02 03:52:39,883 - INFO - -------------------------------------------------------------------------------- 2026-11-02 03:52:40,847 - INFO - Deleted project: ctest-TestvDNSBasic0-60973581, ID : e5d2a3b5-a69c-4ac2-a9ef-5e39acd1bd0c