2025-10-14 12:23:35,403 - INFO - Domain Default found not creating
2025-10-14 12:23:35,591 - INFO - Project ctest-TestvDNSBasic0-36488102 not found, creating it
2025-10-14 12:23:36,182 - INFO - Created Project:ctest-TestvDNSBasic0-36488102, ID : d9f27701-f4ec-4cee-b2b8-c8bfae98550c 
2025-10-14 12:23:37,927 - INFO - ================================================================================
2025-10-14 12:23:37,927 - INFO - STARTING TEST    : test_vdns_ping_same_vn
2025-10-14 12:23:37,927 - 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-14 12:23:39,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0', '10.20.0.210': '0'}, '10.0.0.22': {'10.20.0.210': '0', '10.20.0.14': '0'}} with
2025-10-14 12:23:39,211 - INFO - Initial checks done. Running the testcase now
2025-10-14 12:23:39,212 - INFO - 
2025-10-14 12:23:40,014 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-36488102'](d9f27701-f4ec-4cee-b2b8-c8bfae98550c)
2025-10-14 12:23:40,070 - DEBUG - Creating VDNS : ctest-vdns1-81452962
2025-10-14 12:23:40,314 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-81452962'] created succesfully
2025-10-14 12:23:40,314 - DEBUG - Verify VDNS entry is shown in control node
2025-10-14 12:23:40,333 - DEBUG - Verify VDNS entry is shown in the API server
2025-10-14 12:23:40,333 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-14 12:23:40,633 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-14 12:23:40,664 - DEBUG - Requesting: http://10.0.0.254:8082/domain/972a6834-584f-4bae-af8e-4c4518226241
2025-10-14 12:23:40,690 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/d86e55e8-bd2d-49a0-a33d-af0bedca3878
2025-10-14 12:23:41,480 - DEBUG - Response for create_network : {'network': {'id': '2bdfc7a0-e109-440b-a90b-47493de3b59e', 'name': 'ctest-vn1-vdns-18523678', 'tenant_id': 'd9f27701f4ec4ceeb2b8c8bfae98550c', 'project_id': 'd9f27701f4ec4ceeb2b8c8bfae98550c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-36488102', 'ctest-vn1-vdns-18523678'], 'port_security_enabled': True, 'description': ''}}
2025-10-14 12:23:41,824 - DEBUG - Response for create_subnet : {'subnet': {'id': '97e45acf-06b0-481d-b363-38d0b65b486e', 'name': '', 'tenant_id': 'd9f27701f4ec4ceeb2b8c8bfae98550c', 'network_id': '2bdfc7a0-e109-440b-a90b-47493de3b59e', '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': 'd9f27701f4ec4ceeb2b8c8bfae98550c'}}
2025-10-14 12:23:41,854 - INFO - Created VN ctest-vn1-vdns-18523678
2025-10-14 12:23:41,878 - DEBUG - VN ctest-vn1-vdns-18523678 UUID is 2bdfc7a0-e109-440b-a90b-47493de3b59e
2025-10-14 12:23:42,072 - DEBUG - Services list from nova: [, , , ]
2025-10-14 12:23:43,180 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4312-30), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4312-30)
2025-10-14 12:23:43,180 - INFO - Waiting for VM ctest-vm1-test-66863811 to be up..
2025-10-14 12:23:43,236 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-14 12:23:48,338 - DEBUG - VM  is in ACTIVE state now
2025-10-14 12:23:48,338 - INFO - VM name : ctest-vm1-test-66863811
2025-10-14 12:23:48,431 - DEBUG - VM ctest-vm1-test-66863811 ID is 4dadcf88-3d5e-485d-9c60-5e66747be94c
2025-10-14 12:23:48,432 - DEBUG - VM ctest-vm1-test-66863811 launched on Node an-jenkins-deploy-platform-ansible-os-4312-30
2025-10-14 12:23:48,525 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4dadcf88-3d5e-485d-9c60-5e66747be94c
2025-10-14 12:23:48,823 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4dadcf88-3d5e-485d-9c60-5e66747be94c
2025-10-14 12:23:48,858 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/75becb38-689e-48d3-adad-d5ef07842eac
2025-10-14 12:23:52,052 - 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-14 12:23:52,052 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66863811 failed!
2025-10-14 12:23:52,067 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:23:56,146 - 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-14 12:23:56,146 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66863811 failed!
2025-10-14 12:23:56,162 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:24:00,245 - 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-14 12:24:00,245 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66863811 failed!
2025-10-14 12:24:00,260 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:24:04,332 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2025-10-14 12:24:04,332 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66863811 failed!
2025-10-14 12:24:04,348 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:24:08,439 - 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-14 12:24:08,439 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66863811 failed!
2025-10-14 12:24:08,457 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:24:12,531 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms')
2025-10-14 12:24:12,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66863811 failed!
2025-10-14 12:24:12,548 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:24:16,618 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2025-10-14 12:24:16,618 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66863811 failed!
2025-10-14 12:24:16,636 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:24:20,718 - 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-14 12:24:20,718 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66863811 failed!
2025-10-14 12:24:20,735 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:24:22,805 - 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=7.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.776 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.776/3.987/7.199/3.211 ms')
2025-10-14 12:24:22,805 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66863811 passed
2025-10-14 12:24:22,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-14 12:24:22,883 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66863811, IP 10.10.10.3, Port 22
2025-10-14 12:24:22,955 - 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-14 12:24:23,083 - DEBUG - VM ctest-vm1-test-66863811 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-14 12:24:28,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-14 12:24:28,085 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66863811, IP 10.10.10.3, Port 22
2025-10-14 12:24:28,140 - 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-14 12:24:28,241 - DEBUG - VM ctest-vm1-test-66863811 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-14 12:24:33,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-14 12:24:33,242 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66863811, IP 10.10.10.3, Port 22
2025-10-14 12:24:33,311 - 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-14 12:24:33,412 - DEBUG - VM ctest-vm1-test-66863811 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-14 12:24:38,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-14 12:24:38,414 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66863811, IP 10.10.10.3, Port 22
2025-10-14 12:24:38,482 - 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-14 12:24:38,603 - DEBUG - VM ctest-vm1-test-66863811 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-14 12:24:43,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-14 12:24:43,604 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66863811, IP 10.10.10.3, Port 22
2025-10-14 12:24:43,771 - DEBUG - VM ctest-vm1-test-66863811 is ready for SSH connections
2025-10-14 12:24:43,771 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-14 12:24:43,772 - DEBUG - ifconfig | grep 10.10.10.3
2025-10-14 12:25:01,371 - DEBUG - inet addr:10.10.10.3  Bcast:10.10.10.255  Mask:255.255.255.0
2025-10-14 12:25:01,371 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66863811", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-14 12:25:01,371 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66863811", None, socket.AF_INET6)'
2025-10-14 12:25:02,736 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  ctest-vm1-test-66863811, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-14 12:25:02,736 - DEBUG - ping -s 56 -c 3 -W 1  ctest-vm1-test-66863811
2025-10-14 12:25:05,346 - DEBUG - PING ctest-vm1-test-66863811.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-66863811.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.36 ms
64 bytes from ctest-vm1-test-66863811.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.67 ms
64 bytes from ctest-vm1-test-66863811.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.354 ms
--- ctest-vm1-test-66863811.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.354/2.462/4.362/1.643 ms
2025-10-14 12:25:05,346 - INFO - Ping to IP ctest-vm1-test-66863811 from VM ctest-vm1-test-66863811 passed
2025-10-14 12:25:05,376 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-14 12:25:05,382 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-81452962@0%20AllEntriesVdnsRecordsReq
2025-10-14 12:25:05,388 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-14 12:25:05,393 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-81452962@0%20AllEntriesVdnsRecordsReq
2025-10-14 12:25:05,397 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-14 12:25:05,402 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-81452962@0%20AllEntriesVdnsRecordsReq
2025-10-14 12:25:05,406 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-81452962:1:ctest-vm1-test-66863811:10.10.10.3', 'rec_name': 'ctest-vm1-test-66863811', '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-4312-30/dns'} ,
 Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-66863811.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-14 12:25:05,406 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-81452962:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-66863811', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-66863811', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4312-30/dns'} ,
 Expected record data {'rec_data': 'ctest-vm1-test-66863811.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-14 12:25:06,695 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4312-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4312-1)
2025-10-14 12:25:06,695 - INFO - Waiting for VM ctest-vm2-test-10772743 to be up..
2025-10-14 12:25:06,744 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-14 12:25:11,837 - DEBUG - VM  is in ACTIVE state now
2025-10-14 12:25:11,837 - INFO - VM name : ctest-vm2-test-10772743
2025-10-14 12:25:11,932 - DEBUG - VM ctest-vm2-test-10772743 ID is e9aba6f8-275d-45f7-a21d-dd6975885a5a
2025-10-14 12:25:11,933 - DEBUG - VM ctest-vm2-test-10772743 launched on Node an-jenkins-deploy-platform-ansible-os-4312-1
2025-10-14 12:25:12,042 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e9aba6f8-275d-45f7-a21d-dd6975885a5a
2025-10-14 12:25:12,057 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/07bd1e1e-901e-45de-ada1-ee00ffb916f8
2025-10-14 12:25:15,248 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms')
2025-10-14 12:25:15,249 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10772743 failed!
2025-10-14 12:25:15,263 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:25:19,351 - 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-14 12:25:19,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10772743 failed!
2025-10-14 12:25:19,370 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:25:23,440 - 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')
2025-10-14 12:25:23,440 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10772743 failed!
2025-10-14 12:25:23,457 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:25:27,538 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2025-10-14 12:25:27,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10772743 failed!
2025-10-14 12:25:27,553 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:25:31,632 - 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-14 12:25:31,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10772743 failed!
2025-10-14 12:25:31,650 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:25:35,733 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2025-10-14 12:25:35,734 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10772743 failed!
2025-10-14 12:25:35,750 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:25:39,836 - 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-14 12:25:39,836 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10772743 failed!
2025-10-14 12:25:39,854 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:25:43,927 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms')
2025-10-14 12:25:43,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10772743 failed!
2025-10-14 12:25:43,944 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:25:48,020 - 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-14 12:25:48,020 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10772743 failed!
2025-10-14 12:25:48,041 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:25:52,119 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms')
2025-10-14 12:25:52,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10772743 failed!
2025-10-14 12:25:52,135 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-36488102:ctest-vn1-vdns-18523678 is 10.10.10.1 and allocation pool is NOT set
2025-10-14 12:25:54,200 - 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=7.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.33 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.333/5.631/7.929/2.298 ms')
2025-10-14 12:25:54,200 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-10772743 passed
2025-10-14 12:25:54,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-14 12:25:54,276 - DEBUG - Waiting to SSH to VM ctest-vm2-test-10772743, IP 10.10.10.4, Port 22
2025-10-14 12:25:54,343 - 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-14 12:25:54,442 - DEBUG - VM ctest-vm2-test-10772743 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-14 12:25:59,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-14 12:25:59,443 - DEBUG - Waiting to SSH to VM ctest-vm2-test-10772743, IP 10.10.10.4, Port 22
2025-10-14 12:25:59,511 - 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-14 12:25:59,600 - DEBUG - VM ctest-vm2-test-10772743 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-14 12:26:04,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-14 12:26:04,600 - DEBUG - Waiting to SSH to VM ctest-vm2-test-10772743, IP 10.10.10.4, Port 22
2025-10-14 12:26:04,668 - 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-14 12:26:04,774 - DEBUG - VM ctest-vm2-test-10772743 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-14 12:26:09,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-14 12:26:09,776 - DEBUG - Waiting to SSH to VM ctest-vm2-test-10772743, IP 10.10.10.4, Port 22
2025-10-14 12:26:09,844 - 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-14 12:26:09,978 - DEBUG - VM ctest-vm2-test-10772743 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-14 12:26:14,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-14 12:26:14,979 - DEBUG - Waiting to SSH to VM ctest-vm2-test-10772743, IP 10.10.10.4, Port 22
2025-10-14 12:26:15,147 - DEBUG - VM ctest-vm2-test-10772743 is ready for SSH connections
2025-10-14 12:26:15,147 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-10-14 12:26:15,147 - DEBUG - ifconfig | grep 10.10.10.4
2025-10-14 12:26:40,243 - DEBUG - inet addr:10.10.10.4  Bcast:10.10.10.255  Mask:255.255.255.0
2025-10-14 12:26:40,243 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10772743", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-10-14 12:26:40,243 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10772743", None, socket.AF_INET6)'
2025-10-14 12:26:43,346 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  ctest-vm2-test-10772743, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-10-14 12:26:43,346 - DEBUG - ping -s 56 -c 3 -W 1  ctest-vm2-test-10772743
2025-10-14 12:26:46,508 - DEBUG - PING ctest-vm2-test-10772743.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-10772743.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.75 ms
64 bytes from ctest-vm2-test-10772743.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.298 ms
64 bytes from ctest-vm2-test-10772743.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.352 ms
--- ctest-vm2-test-10772743.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.298/1.135/2.756/1.146 ms
2025-10-14 12:26:46,509 - INFO - Ping to IP ctest-vm2-test-10772743 from VM ctest-vm2-test-10772743 passed
2025-10-14 12:26:46,538 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-14 12:26:46,547 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-81452962@0%20AllEntriesVdnsRecordsReq
2025-10-14 12:26:46,554 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-14 12:26:46,559 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-81452962@0%20AllEntriesVdnsRecordsReq
2025-10-14 12:26:46,565 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-14 12:26:46,570 - DEBUG - Requesting: http://10.0.0.254:8092/Snh_PageReq?x=default-domain:ctest-vdns1-81452962@0%20AllEntriesVdnsRecordsReq
2025-10-14 12:26:46,576 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-81452962:1:ctest-vm2-test-10772743:10.10.10.4', 'rec_name': 'ctest-vm2-test-10772743', '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-4312-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-10772743.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-14 12:26:46,576 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-81452962:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-10772743', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-10772743', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4312-1/dns'} ,
 Expected record data {'rec_data': 'ctest-vm2-test-10772743.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-14 12:26:46,576 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10772743", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-14 12:26:46,576 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-10772743", None, socket.AF_INET6)'
2025-10-14 12:26:47,663 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  ctest-vm2-test-10772743, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-14 12:26:47,664 - DEBUG - ping -s 56 -c 3 -W 1  ctest-vm2-test-10772743
2025-10-14 12:26:50,190 - DEBUG - PING ctest-vm2-test-10772743.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-10772743.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=12.7 ms
64 bytes from ctest-vm2-test-10772743.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.45 ms
64 bytes from ctest-vm2-test-10772743.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.93 ms
--- ctest-vm2-test-10772743.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.451/5.380/12.758/5.220 ms
2025-10-14 12:26:50,190 - INFO - Ping to IP ctest-vm2-test-10772743 from VM ctest-vm1-test-66863811 passed
2025-10-14 12:26:50,190 - INFO - Try deleting the VDNS entry ctest-vdns1-81452962 with back ref of ipam.
2025-10-14 12:26:50,258 - DEBUG - Delete when resource still referred: ['http://10.0.0.33:8082/network-ipam/ed06d923-4e54-4a4c-9d01-264ffecc1b92']
2025-10-14 12:26:50,258 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-10-14 12:26:50,258 - INFO - Add CNAME VDNS record for ctest-vm1-test-66863811 and verify we able to ping by alias name
2025-10-14 12:26:50,310 - DEBUG - Creating VDNS record data : test-rec
2025-10-14 12:26:50,438 - INFO - In verify_on_setup
2025-10-14 12:26:50,538 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-81452962', 'test-rec'] created succesfully
2025-10-14 12:26:50,538 - INFO - Verify VDNS record  is shown in the API server
2025-10-14 12:26:50,538 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-14 12:26:50,546 - DEBUG - Requesting: http://10.0.0.254:8082/domain/972a6834-584f-4bae-af8e-4c4518226241
2025-10-14 12:26:50,589 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS/d86e55e8-bd2d-49a0-a33d-af0bedca3878
2025-10-14 12:26:50,601 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-DNS-record/800fb481-47ee-4202-9853-88297bfdf60e
2025-10-14 12:26:50,610 - INFO - Verify VDNS record  is shown in the control node
2025-10-14 12:26:50,628 - 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.22, gateway password: c0ntrail123
2025-10-14 12:26:50,629 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-14 12:26:51,747 - 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.22, gateway password: c0ntrail123
2025-10-14 12:26:51,748 - DEBUG - ping -s 56 -c 3 -W 1  vm1-test-alias
2025-10-14 12:26:52,260 - DEBUG - ping: unknown host vm1-test-alias
2025-10-14 12:26:52,260 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-66863811 failed
2025-10-14 12:26:53,261 - 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.22, gateway password: c0ntrail123
2025-10-14 12:26:53,261 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-14 12:26:54,447 - 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.22, gateway password: c0ntrail123
2025-10-14 12:26:54,448 - DEBUG - ping -s 56 -c 3 -W 1  vm1-test-alias
2025-10-14 12:26:57,019 - DEBUG - PING ctest-vm1-test-66863811.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-66863811.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.216 ms
64 bytes from ctest-vm1-test-66863811.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.191 ms
64 bytes from ctest-vm1-test-66863811.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.207 ms
--- ctest-vm1-test-66863811.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.191/0.204/0.216/0.019 ms
2025-10-14 12:26:57,019 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-66863811 passed
2025-10-14 12:26:57,019 - DEBUG - Deleting VDNS record data: test-rec
2025-10-14 12:26:57,110 - INFO - VDNS record info: default-domain:ctest-vdns1-81452962:test-rec deleted successfully.
2025-10-14 12:26:57,110 - INFO - Deleting VM ctest-vm2-test-10772743
2025-10-14 12:26:57,191 - INFO - Deleting VM ctest-vm1-test-66863811
2025-10-14 12:26:57,263 - INFO - Deleting VN ctest-vn1-vdns-18523678 
2025-10-14 12:26:57,321 - DEBUG - VN 2bdfc7a0-e109-440b-a90b-47493de3b59e still in use: Unable to complete operation on network 2bdfc7a0-e109-440b-a90b-47493de3b59e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-972e6a31-cb8f-4257-8603-978828c4c3ba']
2025-10-14 12:26:57,321 - WARNING - Deleting VN ctest-vn1-vdns-18523678 failed..Will retry
2025-10-14 12:26:59,514 - DEBUG - Response for deleting network ()
2025-10-14 12:26:59,582 - DEBUG - Deleting VDNS Entry: ctest-vdns1-81452962
2025-10-14 12:26:59,690 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-81452962'] deleted successfully.
2025-10-14 12:26:59,690 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-14 12:26:59,696 - DEBUG - Requesting: http://10.0.0.254:8082/domain/972a6834-584f-4bae-af8e-4c4518226241
2025-10-14 12:26:59,710 - DEBUG - VDNS information not found in API server
2025-10-14 12:26:59,710 - INFO - VDNS information ctest-vdns1-81452962 removed from the API Server
2025-10-14 12:26:59,715 - INFO - VDNS information ctest-vdns1-81452962 removed in the Control node
2025-10-14 12:26:59,716 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-36488102']
2025-10-14 12:27:01,031 - DEBUG - No XMPP flaps were noticed during the test
2025-10-14 12:27:01,031 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:24]
2025-10-14 12:27:01,031 - INFO - --------------------------------------------------------------------------------
2025-10-14 12:27:01,892 - INFO - Deleted project: ctest-TestvDNSBasic0-36488102, ID : d9f27701-f4ec-4cee-b2b8-c8bfae98550c