2025-10-29 20:38:38,327 - INFO - Domain Default found not creating
2025-10-29 20:38:38,477 - INFO - Project ctest-TestvDNSBasic0-45678148 not found, creating it
2025-10-29 20:38:38,976 - INFO - Created Project:ctest-TestvDNSBasic0-45678148, ID : fe27f8c8-99a8-4f52-9a53-e4fe392a9059 
2025-10-29 20:38:40,475 - INFO - ================================================================================
2025-10-29 20:38:40,475 - INFO - STARTING TEST    : test_vdns_ping_same_vn
2025-10-29 20:38:40,475 - 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-10-29 20:38:41,835 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0', '10.20.0.18': '0'}, '10.0.0.242': {'10.20.0.18': '0', '10.20.0.14': '0'}} with
2025-10-29 20:38:41,835 - INFO - Initial checks done. Running the testcase now
2025-10-29 20:38:41,835 - INFO - 
2025-10-29 20:38:42,554 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-45678148'](fe27f8c8-99a8-4f52-9a53-e4fe392a9059)
2025-10-29 20:38:42,610 - DEBUG - Creating VDNS : ctest-vdns1-78777234
2025-10-29 20:38:42,831 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-78777234'] created succesfully
2025-10-29 20:38:42,831 - DEBUG - Verify VDNS entry is shown in control node
2025-10-29 20:38:42,853 - DEBUG - Verify VDNS entry is shown in the API server
2025-10-29 20:38:42,853 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-29 20:38:43,160 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-29 20:38:43,194 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a090225f-9b9e-4366-926c-6397a8c195bb
2025-10-29 20:38:43,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/ec5524a7-6fe2-4448-87eb-a23da5b2db4b
2025-10-29 20:38:43,929 - DEBUG - Response for create_network : {'network': {'id': '7945133e-9a90-4296-bfb5-97a9d932d81a', 'name': 'ctest-vn1-vdns-80938555', 'tenant_id': 'fe27f8c899a84f529a53e4fe392a9059', 'project_id': 'fe27f8c899a84f529a53e4fe392a9059', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-45678148', 'ctest-vn1-vdns-80938555'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 20:38:44,217 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbb6a3ea-13ad-400f-ab82-0af40ef673ae', 'name': '', 'tenant_id': 'fe27f8c899a84f529a53e4fe392a9059', 'network_id': '7945133e-9a90-4296-bfb5-97a9d932d81a', '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': 'fe27f8c899a84f529a53e4fe392a9059'}}
2025-10-29 20:38:44,246 - INFO - Created VN ctest-vn1-vdns-80938555
2025-10-29 20:38:44,260 - DEBUG - VN ctest-vn1-vdns-80938555 UUID is 7945133e-9a90-4296-bfb5-97a9d932d81a
2025-10-29 20:38:44,467 - DEBUG - Services list from nova: [, , , ]
2025-10-29 20:38:45,592 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4527-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4527-2)
2025-10-29 20:38:45,592 - INFO - Waiting for VM ctest-vm1-test-70976612 to be up..
2025-10-29 20:38:45,650 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-29 20:38:50,787 - DEBUG - VM  is in ACTIVE state now
2025-10-29 20:38:50,787 - INFO - VM name : ctest-vm1-test-70976612
2025-10-29 20:38:50,874 - DEBUG - VM ctest-vm1-test-70976612 ID is b275d748-3998-4de8-b758-5aaf7a315c59
2025-10-29 20:38:50,874 - DEBUG - VM ctest-vm1-test-70976612 launched on Node an-jenkins-deploy-platform-ansible-os-4527-2
2025-10-29 20:38:50,969 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b275d748-3998-4de8-b758-5aaf7a315c59
2025-10-29 20:38:51,271 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b275d748-3998-4de8-b758-5aaf7a315c59
2025-10-29 20:38:51,305 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/eb4c2986-e539-4365-89cd-094288beac56
2025-10-29 20:38:54,497 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms')
2025-10-29 20:38:54,497 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-70976612 failed!
2025-10-29 20:38:54,514 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:38:58,589 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2025-10-29 20:38:58,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-70976612 failed!
2025-10-29 20:38:58,604 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:39:02,689 - 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 1019ms')
2025-10-29 20:39:02,689 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-70976612 failed!
2025-10-29 20:39:02,703 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:39:06,783 - 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-10-29 20:39:06,783 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-70976612 failed!
2025-10-29 20:39:06,797 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:39:10,872 - 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 1019ms')
2025-10-29 20:39:10,872 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-70976612 failed!
2025-10-29 20:39:10,888 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:39:14,969 - 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')
2025-10-29 20:39:14,969 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-70976612 failed!
2025-10-29 20:39:14,983 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:39:19,067 - 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 1024ms')
2025-10-29 20:39:19,067 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-70976612 failed!
2025-10-29 20:39:19,082 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:39:23,167 - 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-10-29 20:39:23,167 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-70976612 failed!
2025-10-29 20:39:23,180 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:39:27,260 - 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 1020ms')
2025-10-29 20:39:27,260 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-70976612 failed!
2025-10-29 20:39:27,274 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:39:29,337 - 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=6.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 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.177/4.537/6.897/2.360 ms')
2025-10-29 20:39:29,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-70976612 passed
2025-10-29 20:39:29,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 20:39:29,404 - DEBUG - Waiting to SSH to VM ctest-vm1-test-70976612, IP 10.10.10.3, Port 22
2025-10-29 20:39:29,473 - 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-10-29 20:39:29,561 - DEBUG - VM ctest-vm1-test-70976612 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 20:39:34,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 20:39:34,562 - DEBUG - Waiting to SSH to VM ctest-vm1-test-70976612, IP 10.10.10.3, Port 22
2025-10-29 20:39:34,630 - 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-10-29 20:39:34,729 - DEBUG - VM ctest-vm1-test-70976612 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 20:39:39,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 20:39:39,730 - DEBUG - Waiting to SSH to VM ctest-vm1-test-70976612, IP 10.10.10.3, Port 22
2025-10-29 20:39:39,798 - 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-10-29 20:39:39,908 - DEBUG - VM ctest-vm1-test-70976612 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 20:39:44,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 20:39:44,909 - DEBUG - Waiting to SSH to VM ctest-vm1-test-70976612, IP 10.10.10.3, Port 22
2025-10-29 20:39:45,078 - DEBUG - VM ctest-vm1-test-70976612 is ready for SSH connections
2025-10-29 20:39:45,078 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-29 20:39:45,078 - DEBUG - ifconfig | grep 10.10.10.3
2025-10-29 20:40:03,725 - DEBUG - inet addr:10.10.10.3  Bcast:10.10.10.255  Mask:255.255.255.0
2025-10-29 20:40:03,725 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-70976612", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-29 20:40:03,725 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-70976612", None, socket.AF_INET6)'
2025-10-29 20:40:05,002 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  ctest-vm1-test-70976612, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-29 20:40:05,002 - DEBUG - ping -s 56 -c 3 -W 1  ctest-vm1-test-70976612
2025-10-29 20:40:07,523 - DEBUG - PING ctest-vm1-test-70976612.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-70976612.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.99 ms
64 bytes from ctest-vm1-test-70976612.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.58 ms
64 bytes from ctest-vm1-test-70976612.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.224 ms
--- ctest-vm1-test-70976612.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.224/2.264/3.990/1.554 ms
2025-10-29 20:40:07,523 - INFO - Ping to IP ctest-vm1-test-70976612 from VM ctest-vm1-test-70976612 passed
2025-10-29 20:40:07,548 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 20:40:07,555 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-78777234@0%20AllEntriesVdnsRecordsReq
2025-10-29 20:40:07,561 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 20:40:07,566 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-78777234@0%20AllEntriesVdnsRecordsReq
2025-10-29 20:40:07,570 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 20:40:07,576 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-78777234@0%20AllEntriesVdnsRecordsReq
2025-10-29 20:40:07,581 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-78777234:1:ctest-vm1-test-70976612:10.10.10.3', 'rec_name': 'ctest-vm1-test-70976612', '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-4527-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-70976612.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-29 20:40:07,581 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-78777234:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-70976612', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-70976612', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4527-2/dns'} ,
 Expected record data {'rec_data': 'ctest-vm1-test-70976612.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-10-29 20:40:08,902 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4527-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4527-1)
2025-10-29 20:40:08,902 - INFO - Waiting for VM ctest-vm2-test-13521644 to be up..
2025-10-29 20:40:08,945 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-29 20:40:14,039 - DEBUG - VM  is in ACTIVE state now
2025-10-29 20:40:14,040 - INFO - VM name : ctest-vm2-test-13521644
2025-10-29 20:40:14,125 - DEBUG - VM ctest-vm2-test-13521644 ID is a5a8dae2-9584-47e3-9b67-5a31cafaa804
2025-10-29 20:40:14,125 - DEBUG - VM ctest-vm2-test-13521644 launched on Node an-jenkins-deploy-platform-ansible-os-4527-1
2025-10-29 20:40:14,218 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a5a8dae2-9584-47e3-9b67-5a31cafaa804
2025-10-29 20:40:14,230 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/21584620-a2f9-4c0a-a749-f7f37cd73c25
2025-10-29 20:40:17,448 - 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-10-29 20:40:17,448 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13521644 failed!
2025-10-29 20:40:17,464 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:40:21,576 - 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 1028ms')
2025-10-29 20:40:21,576 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13521644 failed!
2025-10-29 20:40:21,588 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:40:25,675 - 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')
2025-10-29 20:40:25,675 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13521644 failed!
2025-10-29 20:40:25,688 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:40:29,772 - 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-10-29 20:40:29,772 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13521644 failed!
2025-10-29 20:40:29,785 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:40:33,868 - 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-10-29 20:40:33,868 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13521644 failed!
2025-10-29 20:40:33,884 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:40:37,963 - 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-10-29 20:40:37,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13521644 failed!
2025-10-29 20:40:37,976 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:40:42,084 - 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 1029ms')
2025-10-29 20:40:42,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13521644 failed!
2025-10-29 20:40:42,099 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:40:46,220 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms')
2025-10-29 20:40:46,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13521644 failed!
2025-10-29 20:40:46,234 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:40:50,346 - 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-10-29 20:40:50,346 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13521644 failed!
2025-10-29 20:40:50,359 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-45678148:ctest-vn1-vdns-80938555 is 10.10.10.1 and allocation pool is NOT set
2025-10-29 20:40:52,449 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.705 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.705/3.288/5.872/2.583 ms')
2025-10-29 20:40:52,449 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-13521644 passed
2025-10-29 20:40:52,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 20:40:52,519 - DEBUG - Waiting to SSH to VM ctest-vm2-test-13521644, IP 10.10.10.4, Port 22
2025-10-29 20:40:52,587 - 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-10-29 20:40:52,676 - DEBUG - VM ctest-vm2-test-13521644 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 20:40:57,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 20:40:57,678 - DEBUG - Waiting to SSH to VM ctest-vm2-test-13521644, IP 10.10.10.4, Port 22
2025-10-29 20:40:57,747 - 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-10-29 20:40:57,828 - DEBUG - VM ctest-vm2-test-13521644 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 20:41:02,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 20:41:02,829 - DEBUG - Waiting to SSH to VM ctest-vm2-test-13521644, IP 10.10.10.4, Port 22
2025-10-29 20:41:02,921 - 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-10-29 20:41:03,014 - DEBUG - VM ctest-vm2-test-13521644 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 20:41:08,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 20:41:08,015 - DEBUG - Waiting to SSH to VM ctest-vm2-test-13521644, IP 10.10.10.4, Port 22
2025-10-29 20:41:08,094 - 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-10-29 20:41:08,183 - DEBUG - VM ctest-vm2-test-13521644 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 20:41:13,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 20:41:13,183 - DEBUG - Waiting to SSH to VM ctest-vm2-test-13521644, IP 10.10.10.4, Port 22
2025-10-29 20:41:13,386 - DEBUG - VM ctest-vm2-test-13521644 is ready for SSH connections
2025-10-29 20:41:13,386 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-10-29 20:41:13,386 - DEBUG - ifconfig | grep 10.10.10.4
2025-10-29 20:41:34,763 - DEBUG - inet addr:10.10.10.4  Bcast:10.10.10.255  Mask:255.255.255.0
2025-10-29 20:41:34,763 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-13521644", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-10-29 20:41:34,763 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-13521644", None, socket.AF_INET6)'
2025-10-29 20:41:37,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  ctest-vm2-test-13521644, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-10-29 20:41:37,573 - DEBUG - ping -s 56 -c 3 -W 1  ctest-vm2-test-13521644
2025-10-29 20:41:40,644 - DEBUG - PING ctest-vm2-test-13521644.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-13521644.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.19 ms
64 bytes from ctest-vm2-test-13521644.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.455 ms
64 bytes from ctest-vm2-test-13521644.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.629 ms
--- ctest-vm2-test-13521644.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.455/1.427/3.199/1.255 ms
2025-10-29 20:41:40,644 - INFO - Ping to IP ctest-vm2-test-13521644 from VM ctest-vm2-test-13521644 passed
2025-10-29 20:41:40,676 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 20:41:40,685 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-78777234@0%20AllEntriesVdnsRecordsReq
2025-10-29 20:41:40,691 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 20:41:40,696 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-78777234@0%20AllEntriesVdnsRecordsReq
2025-10-29 20:41:40,702 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-29 20:41:40,707 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-78777234@0%20AllEntriesVdnsRecordsReq
2025-10-29 20:41:40,711 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-78777234:1:ctest-vm2-test-13521644:10.10.10.4', 'rec_name': 'ctest-vm2-test-13521644', '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-4527-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-13521644.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-29 20:41:40,711 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-78777234:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-13521644', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-13521644', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4527-1/dns'} ,
 Expected record data {'rec_data': 'ctest-vm2-test-13521644.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-10-29 20:41:40,712 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-13521644", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-29 20:41:40,712 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-13521644", None, socket.AF_INET6)'
2025-10-29 20:41:41,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  ctest-vm2-test-13521644, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-29 20:41:41,813 - DEBUG - ping -s 56 -c 3 -W 1  ctest-vm2-test-13521644
2025-10-29 20:41:44,355 - DEBUG - PING ctest-vm2-test-13521644.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-13521644.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=24.7 ms
64 bytes from ctest-vm2-test-13521644.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.74 ms
64 bytes from ctest-vm2-test-13521644.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.82 ms
--- ctest-vm2-test-13521644.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.742/9.422/24.705/10.806 ms
2025-10-29 20:41:44,356 - INFO - Ping to IP ctest-vm2-test-13521644 from VM ctest-vm1-test-70976612 passed
2025-10-29 20:41:44,356 - INFO - Try deleting the VDNS entry ctest-vdns1-78777234 with back ref of ipam.
2025-10-29 20:41:44,414 - DEBUG - Delete when resource still referred: ['http://10.0.0.33:8082/network-ipam/f0235297-b7ff-4b0b-b311-9324e48bf481']
2025-10-29 20:41:44,414 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-10-29 20:41:44,414 - INFO - Add CNAME VDNS record for ctest-vm1-test-70976612 and verify we able to ping by alias name
2025-10-29 20:41:44,462 - DEBUG - Creating VDNS record data : test-rec
2025-10-29 20:41:44,582 - INFO - In verify_on_setup
2025-10-29 20:41:44,682 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-78777234', 'test-rec'] created succesfully
2025-10-29 20:41:44,682 - INFO - Verify VDNS record  is shown in the API server
2025-10-29 20:41:44,682 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-29 20:41:44,689 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a090225f-9b9e-4366-926c-6397a8c195bb
2025-10-29 20:41:44,729 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/ec5524a7-6fe2-4448-87eb-a23da5b2db4b
2025-10-29 20:41:44,739 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS-record/3339d359-3eeb-45ea-b5e3-d2b104d5cbc5
2025-10-29 20:41:44,746 - INFO - Verify VDNS record  is shown in the control node
2025-10-29 20:41:44,764 - 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.242, gateway password: c0ntrail123
2025-10-29 20:41:44,765 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-29 20:41:45,946 - 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.242, gateway password: c0ntrail123
2025-10-29 20:41:45,946 - DEBUG - ping -s 56 -c 3 -W 1  vm1-test-alias
2025-10-29 20:41:46,436 - DEBUG - ping: unknown host vm1-test-alias
2025-10-29 20:41:46,436 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-70976612 failed
2025-10-29 20:41:47,437 - 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.242, gateway password: c0ntrail123
2025-10-29 20:41:47,437 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-29 20:41:48,556 - 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.242, gateway password: c0ntrail123
2025-10-29 20:41:48,556 - DEBUG - ping -s 56 -c 3 -W 1  vm1-test-alias
2025-10-29 20:41:51,065 - DEBUG - PING ctest-vm1-test-70976612.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-70976612.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.240 ms
64 bytes from ctest-vm1-test-70976612.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.305 ms
64 bytes from ctest-vm1-test-70976612.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.221 ms
--- ctest-vm1-test-70976612.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.221/0.255/0.305/0.038 ms
2025-10-29 20:41:51,065 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-70976612 passed
2025-10-29 20:41:51,065 - DEBUG - Deleting VDNS record data: test-rec
2025-10-29 20:41:51,146 - INFO - VDNS record info: default-domain:ctest-vdns1-78777234:test-rec deleted successfully.
2025-10-29 20:41:51,147 - INFO - Deleting VM ctest-vm2-test-13521644
2025-10-29 20:41:51,222 - INFO - Deleting VM ctest-vm1-test-70976612
2025-10-29 20:41:51,312 - INFO - Deleting VN ctest-vn1-vdns-80938555 
2025-10-29 20:41:51,359 - DEBUG - VN 7945133e-9a90-4296-bfb5-97a9d932d81a still in use: Unable to complete operation on network 7945133e-9a90-4296-bfb5-97a9d932d81a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9a965ad7-1cec-4613-bad0-6b1b73d79a02']
2025-10-29 20:41:51,359 - WARNING - Deleting VN ctest-vn1-vdns-80938555 failed..Will retry
2025-10-29 20:41:53,538 - DEBUG - Response for deleting network ()
2025-10-29 20:41:53,581 - DEBUG - Deleting VDNS Entry: ctest-vdns1-78777234
2025-10-29 20:41:53,670 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-78777234'] deleted successfully.
2025-10-29 20:41:53,670 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-29 20:41:53,685 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a090225f-9b9e-4366-926c-6397a8c195bb
2025-10-29 20:41:53,711 - DEBUG - VDNS information not found in API server
2025-10-29 20:41:53,711 - INFO - VDNS information ctest-vdns1-78777234 removed from the API Server
2025-10-29 20:41:53,717 - INFO - VDNS information ctest-vdns1-78777234 removed in the Control node
2025-10-29 20:41:53,718 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-45678148']
2025-10-29 20:41:55,050 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 20:41:55,051 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:15]
2025-10-29 20:41:55,051 - INFO - --------------------------------------------------------------------------------
2025-10-29 20:41:56,394 - INFO - Deleted project: ctest-TestvDNSBasic0-45678148, ID : fe27f8c8-99a8-4f52-9a53-e4fe392a9059