2026-06-08 11:41:37,645 - INFO - Domain Default found not creating
2026-06-08 11:41:37,803 - INFO - Project ctest-TestvDNSBasic0-76481077 not found, creating it
2026-06-08 11:41:38,346 - INFO - Created Project:ctest-TestvDNSBasic0-76481077, ID : 435d5a5a-b609-4f4b-86de-6782710968bd
2026-06-08 11:41:40,147 - INFO - ================================================================================
2026-06-08 11:41:40,147 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-06-08 11:41:40,148 - 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-06-08 11:41:41,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.19': {'10.20.0.254': '0', '10.20.0.25': '0'}} with
2026-06-08 11:41:41,439 - INFO - Initial checks done. Running the testcase now
2026-06-08 11:41:41,439 - INFO -
2026-06-08 11:41:42,162 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-76481077'](435d5a5a-b609-4f4b-86de-6782710968bd)
2026-06-08 11:41:42,215 - DEBUG - Creating VDNS : ctest-vdns1-47536491
2026-06-08 11:41:42,443 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-47536491'] created succesfully
2026-06-08 11:41:42,443 - DEBUG - Verify VDNS entry is shown in control node
2026-06-08 11:41:42,460 - DEBUG - Verify VDNS entry is shown in the API server
2026-06-08 11:41:42,460 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-08 11:41:42,759 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-08 11:41:42,790 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3787ca8a-a083-410b-a8ff-2f021111eb93
2026-06-08 11:41:42,805 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/6b4ed9ab-7e94-4059-8ae0-5e07a7ec0527
2026-06-08 11:41:43,530 - DEBUG - Response for create_network : {'network': {'id': '235a9075-57ab-4094-9eb1-a00e8a3cb8e5', 'name': 'ctest-vn1-vdns-36003953', 'tenant_id': '435d5a5ab6094f4b86de6782710968bd', 'project_id': '435d5a5ab6094f4b86de6782710968bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-76481077', 'ctest-vn1-vdns-36003953'], 'port_security_enabled': True, 'description': ''}}
2026-06-08 11:41:43,803 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff69882b-3ac3-4313-a147-70ff71060547', 'name': '', 'tenant_id': '435d5a5ab6094f4b86de6782710968bd', 'network_id': '235a9075-57ab-4094-9eb1-a00e8a3cb8e5', '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': '435d5a5ab6094f4b86de6782710968bd'}}
2026-06-08 11:41:43,829 - INFO - Created VN ctest-vn1-vdns-36003953
2026-06-08 11:41:43,840 - DEBUG - VN ctest-vn1-vdns-36003953 UUID is 235a9075-57ab-4094-9eb1-a00e8a3cb8e5
2026-06-08 11:41:44,012 - DEBUG - Services list from nova: [, , , ]
2026-06-08 11:41:45,024 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5904-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5904-2)
2026-06-08 11:41:45,025 - INFO - Waiting for VM ctest-vm1-test-08192667 to be up..
2026-06-08 11:41:45,068 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-08 11:41:50,151 - DEBUG - VM is in ACTIVE state now
2026-06-08 11:41:50,151 - INFO - VM name : ctest-vm1-test-08192667
2026-06-08 11:41:50,230 - DEBUG - VM ctest-vm1-test-08192667 ID is b2f8a45e-da22-4c22-b63d-789ccf7fbabd
2026-06-08 11:41:50,230 - DEBUG - VM ctest-vm1-test-08192667 launched on Node an-jenkins-deploy-platform-ansible-os-5904-2
2026-06-08 11:41:50,321 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b2f8a45e-da22-4c22-b63d-789ccf7fbabd
2026-06-08 11:41:50,625 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b2f8a45e-da22-4c22-b63d-789ccf7fbabd
2026-06-08 11:41:50,663 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2c37969c-d475-4faf-848b-146caa31001b
2026-06-08 11:41:53,855 - 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 1035ms')
2026-06-08 11:41:53,855 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-08192667 failed!
2026-06-08 11:41:53,872 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:41:57,954 - 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')
2026-06-08 11:41:57,955 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-08192667 failed!
2026-06-08 11:41:57,969 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:42:02,044 - 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-06-08 11:42:02,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-08192667 failed!
2026-06-08 11:42:02,058 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:42:06,142 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-06-08 11:42:06,143 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-08192667 failed!
2026-06-08 11:42:06,161 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:42:10,244 - 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')
2026-06-08 11:42:10,244 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-08192667 failed!
2026-06-08 11:42:10,259 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:42:14,339 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-06-08 11:42:14,339 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-08192667 failed!
2026-06-08 11:42:14,356 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:42:18,429 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2026-06-08 11:42:18,429 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-08192667 failed!
2026-06-08 11:42:18,441 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:42:22,527 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-06-08 11:42:22,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-08192667 failed!
2026-06-08 11:42:22,544 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:42:24,609 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.00 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.998/6.933/9.869/2.935 ms')
2026-06-08 11:42:24,609 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-08192667 passed
2026-06-08 11:42:24,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 11:42:24,676 - DEBUG - Waiting to SSH to VM ctest-vm1-test-08192667, IP 10.10.10.3, Port 22
2026-06-08 11:42:24,741 - 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-06-08 11:42:24,826 - DEBUG - VM ctest-vm1-test-08192667 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-08 11:42:29,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 11:42:29,827 - DEBUG - Waiting to SSH to VM ctest-vm1-test-08192667, IP 10.10.10.3, Port 22
2026-06-08 11:42:29,894 - 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-06-08 11:42:29,998 - DEBUG - VM ctest-vm1-test-08192667 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-08 11:42:34,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 11:42:34,999 - DEBUG - Waiting to SSH to VM ctest-vm1-test-08192667, IP 10.10.10.3, Port 22
2026-06-08 11:42:35,065 - 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-06-08 11:42:35,150 - DEBUG - VM ctest-vm1-test-08192667 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-08 11:42:40,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 11:42:40,151 - DEBUG - Waiting to SSH to VM ctest-vm1-test-08192667, IP 10.10.10.3, Port 22
2026-06-08 11:42:40,218 - 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-06-08 11:42:40,306 - DEBUG - VM ctest-vm1-test-08192667 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-08 11:42:45,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 11:42:45,307 - DEBUG - Waiting to SSH to VM ctest-vm1-test-08192667, IP 10.10.10.3, Port 22
2026-06-08 11:42:45,474 - DEBUG - VM ctest-vm1-test-08192667 is ready for SSH connections
2026-06-08 11:42:45,474 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-08 11:42:45,474 - DEBUG - ifconfig | grep 10.10.10.3
2026-06-08 11:43:05,502 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-06-08 11:43:05,503 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-08192667", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-08 11:43:05,503 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-08192667", None, socket.AF_INET6)'
2026-06-08 11:43:07,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-08192667, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-08 11:43:07,618 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-08192667
2026-06-08 11:43:10,155 - DEBUG - PING ctest-vm1-test-08192667.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-08192667.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.69 ms
64 bytes from ctest-vm1-test-08192667.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.38 ms
64 bytes from ctest-vm1-test-08192667.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.187 ms
--- ctest-vm1-test-08192667.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.187/2.086/3.690/1.446 ms
2026-06-08 11:43:10,155 - INFO - Ping to IP ctest-vm1-test-08192667 from VM ctest-vm1-test-08192667 passed
2026-06-08 11:43:10,185 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-08 11:43:10,193 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47536491@0%20AllEntriesVdnsRecordsReq
2026-06-08 11:43:10,199 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-08 11:43:10,203 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47536491@0%20AllEntriesVdnsRecordsReq
2026-06-08 11:43:10,209 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-08 11:43:10,215 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47536491@0%20AllEntriesVdnsRecordsReq
2026-06-08 11:43:10,221 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-47536491:1:ctest-vm1-test-08192667:10.10.10.3', 'rec_name': 'ctest-vm1-test-08192667', '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-5904-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-08192667.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-06-08 11:43:10,221 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-47536491:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-08192667', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-08192667', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5904-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-08192667.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-06-08 11:43:11,573 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5904-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5904-1)
2026-06-08 11:43:11,573 - INFO - Waiting for VM ctest-vm2-test-48032510 to be up..
2026-06-08 11:43:11,618 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-08 11:43:16,712 - DEBUG - VM is in ACTIVE state now
2026-06-08 11:43:16,712 - INFO - VM name : ctest-vm2-test-48032510
2026-06-08 11:43:16,796 - DEBUG - VM ctest-vm2-test-48032510 ID is ea4e2181-94b4-4e35-9499-076c75012935
2026-06-08 11:43:16,796 - DEBUG - VM ctest-vm2-test-48032510 launched on Node an-jenkins-deploy-platform-ansible-os-5904-1
2026-06-08 11:43:16,873 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ea4e2181-94b4-4e35-9499-076c75012935
2026-06-08 11:43:16,884 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b5b26388-128c-4aca-97d7-a3800ab66567
2026-06-08 11:43:20,053 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-06-08 11:43:20,053 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-48032510 failed!
2026-06-08 11:43:20,067 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:43:24,149 - 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')
2026-06-08 11:43:24,149 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-48032510 failed!
2026-06-08 11:43:24,166 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:43:28,244 - 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-06-08 11:43:28,244 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-48032510 failed!
2026-06-08 11:43:28,258 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:43:32,337 - 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')
2026-06-08 11:43:32,337 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-48032510 failed!
2026-06-08 11:43:32,354 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:43:36,430 - 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')
2026-06-08 11:43:36,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-48032510 failed!
2026-06-08 11:43:36,446 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:43:40,527 - 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 1023ms')
2026-06-08 11:43:40,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-48032510 failed!
2026-06-08 11:43:40,545 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:43:44,625 - 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-06-08 11:43:44,625 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-48032510 failed!
2026-06-08 11:43:44,641 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:43:48,719 - 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-06-08 11:43:48,719 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-48032510 failed!
2026-06-08 11:43:48,736 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-76481077:ctest-vn1-vdns-36003953 is 10.10.10.1 and allocation pool is NOT set
2026-06-08 11:43:50,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=5.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=6.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 5.530/6.171/6.813/0.641 ms')
2026-06-08 11:43:50,805 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-48032510 passed
2026-06-08 11:43:50,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 11:43:50,872 - DEBUG - Waiting to SSH to VM ctest-vm2-test-48032510, IP 10.10.10.4, Port 22
2026-06-08 11:43:50,940 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-08 11:43:51,018 - DEBUG - VM ctest-vm2-test-48032510 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-08 11:43:56,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 11:43:56,020 - DEBUG - Waiting to SSH to VM ctest-vm2-test-48032510, IP 10.10.10.4, Port 22
2026-06-08 11:43:56,088 - 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-06-08 11:43:56,174 - DEBUG - VM ctest-vm2-test-48032510 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-08 11:44:01,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 11:44:01,175 - DEBUG - Waiting to SSH to VM ctest-vm2-test-48032510, IP 10.10.10.4, Port 22
2026-06-08 11:44:01,244 - 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-06-08 11:44:01,325 - DEBUG - VM ctest-vm2-test-48032510 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-08 11:44:06,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 11:44:06,326 - DEBUG - Waiting to SSH to VM ctest-vm2-test-48032510, IP 10.10.10.4, Port 22
2026-06-08 11:44:06,492 - DEBUG - VM ctest-vm2-test-48032510 is ready for SSH connections
2026-06-08 11:44:06,493 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-06-08 11:44:06,493 - DEBUG - ifconfig | grep 10.10.10.4
2026-06-08 11:44:26,810 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-06-08 11:44:26,810 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-48032510", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-06-08 11:44:26,810 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-48032510", None, socket.AF_INET6)'
2026-06-08 11:44:29,613 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-48032510, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-06-08 11:44:29,613 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-48032510
2026-06-08 11:44:32,624 - DEBUG - PING ctest-vm2-test-48032510.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-48032510.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.61 ms
64 bytes from ctest-vm2-test-48032510.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.278 ms
64 bytes from ctest-vm2-test-48032510.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.196 ms
--- ctest-vm2-test-48032510.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.196/1.029/2.614/1.121 ms
2026-06-08 11:44:32,624 - INFO - Ping to IP ctest-vm2-test-48032510 from VM ctest-vm2-test-48032510 passed
2026-06-08 11:44:32,644 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-08 11:44:32,651 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47536491@0%20AllEntriesVdnsRecordsReq
2026-06-08 11:44:32,656 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-08 11:44:32,660 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47536491@0%20AllEntriesVdnsRecordsReq
2026-06-08 11:44:32,665 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-08 11:44:32,669 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-47536491@0%20AllEntriesVdnsRecordsReq
2026-06-08 11:44:32,675 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-47536491:1:ctest-vm2-test-48032510:10.10.10.4', 'rec_name': 'ctest-vm2-test-48032510', '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-5904-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-48032510.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-06-08 11:44:32,675 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-47536491:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-48032510', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-48032510', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5904-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-48032510.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-06-08 11:44:32,675 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-48032510", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-08 11:44:32,675 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-48032510", None, socket.AF_INET6)'
2026-06-08 11:44:33,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-48032510, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-08 11:44:33,900 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-48032510
2026-06-08 11:44:36,432 - DEBUG - PING ctest-vm2-test-48032510.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-48032510.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.0 ms
64 bytes from ctest-vm2-test-48032510.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.14 ms
64 bytes from ctest-vm2-test-48032510.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.21 ms
--- ctest-vm2-test-48032510.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.146/4.149/10.085/4.197 ms
2026-06-08 11:44:36,432 - INFO - Ping to IP ctest-vm2-test-48032510 from VM ctest-vm1-test-08192667 passed
2026-06-08 11:44:36,432 - INFO - Try deleting the VDNS entry ctest-vdns1-47536491 with back ref of ipam.
2026-06-08 11:44:36,503 - DEBUG - Delete when resource still referred: ['http://10.0.0.249:8082/network-ipam/96457cee-298d-41ec-b9bf-bc2962456c78']
2026-06-08 11:44:36,503 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-06-08 11:44:36,503 - INFO - Add CNAME VDNS record for ctest-vm1-test-08192667 and verify we able to ping by alias name
2026-06-08 11:44:36,551 - DEBUG - Creating VDNS record data : test-rec
2026-06-08 11:44:36,679 - INFO - In verify_on_setup
2026-06-08 11:44:36,775 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-47536491', 'test-rec'] created succesfully
2026-06-08 11:44:36,776 - INFO - Verify VDNS record is shown in the API server
2026-06-08 11:44:36,776 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-08 11:44:36,783 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3787ca8a-a083-410b-a8ff-2f021111eb93
2026-06-08 11:44:36,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/6b4ed9ab-7e94-4059-8ae0-5e07a7ec0527
2026-06-08 11:44:36,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/0a3a3a5c-54fd-46a0-b50c-50f090518e38
2026-06-08 11:44:36,814 - INFO - Verify VDNS record is shown in the control node
2026-06-08 11:44:36,831 - 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.19, gateway password: c0ntrail123
2026-06-08 11:44:36,831 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-06-08 11:44:38,047 - 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.19, gateway password: c0ntrail123
2026-06-08 11:44:38,047 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-06-08 11:44:38,562 - DEBUG - ping: unknown host vm1-test-alias
2026-06-08 11:44:38,562 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-08192667 failed
2026-06-08 11:44:39,564 - 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.19, gateway password: c0ntrail123
2026-06-08 11:44:39,564 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-06-08 11:44:40,744 - 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.19, gateway password: c0ntrail123
2026-06-08 11:44:40,744 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-06-08 11:44:43,278 - DEBUG - PING ctest-vm1-test-08192667.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-08192667.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.224 ms
64 bytes from ctest-vm1-test-08192667.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.210 ms
64 bytes from ctest-vm1-test-08192667.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.295 ms
--- ctest-vm1-test-08192667.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.210/0.243/0.295/0.037 ms
2026-06-08 11:44:43,278 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-08192667 passed
2026-06-08 11:44:43,278 - DEBUG - Deleting VDNS record data: test-rec
2026-06-08 11:44:43,363 - INFO - VDNS record info: default-domain:ctest-vdns1-47536491:test-rec deleted successfully.
2026-06-08 11:44:43,363 - INFO - Deleting VM ctest-vm2-test-48032510
2026-06-08 11:44:43,435 - INFO - Deleting VM ctest-vm1-test-08192667
2026-06-08 11:44:43,515 - INFO - Deleting VN ctest-vn1-vdns-36003953
2026-06-08 11:44:43,557 - DEBUG - VN 235a9075-57ab-4094-9eb1-a00e8a3cb8e5 still in use: Unable to complete operation on network 235a9075-57ab-4094-9eb1-a00e8a3cb8e5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6009ede3-4526-449f-9d21-ad0b5f096327']
2026-06-08 11:44:43,557 - WARNING - Deleting VN ctest-vn1-vdns-36003953 failed..Will retry
2026-06-08 11:44:45,741 - DEBUG - Response for deleting network ()
2026-06-08 11:44:45,807 - DEBUG - Deleting VDNS Entry: ctest-vdns1-47536491
2026-06-08 11:44:45,919 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-47536491'] deleted successfully.
2026-06-08 11:44:45,920 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-08 11:44:45,934 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3787ca8a-a083-410b-a8ff-2f021111eb93
2026-06-08 11:44:45,960 - DEBUG - VDNS information not found in API server
2026-06-08 11:44:45,960 - INFO - VDNS information ctest-vdns1-47536491 removed from the API Server
2026-06-08 11:44:45,966 - INFO - VDNS information ctest-vdns1-47536491 removed in the Control node
2026-06-08 11:44:45,966 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-76481077']
2026-06-08 11:44:47,236 - DEBUG - No XMPP flaps were noticed during the test
2026-06-08 11:44:47,236 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:07]
2026-06-08 11:44:47,236 - INFO - --------------------------------------------------------------------------------
2026-06-08 11:44:47,995 - INFO - Deleted project: ctest-TestvDNSBasic0-76481077, ID : 435d5a5a-b609-4f4b-86de-6782710968bd