2026-01-05 03:06:45,606 - INFO - Domain Default found not creating
2026-01-05 03:06:45,779 - INFO - Project ctest-TestvDNSBasic0-40321524 not found, creating it
2026-01-05 03:06:46,286 - INFO - Created Project:ctest-TestvDNSBasic0-40321524, ID : 4432fb2f-b655-45f0-a3a1-bf9a9b9486af
2026-01-05 03:06:47,790 - INFO - ================================================================================
2026-01-05 03:06:47,790 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-01-05 03:06:47,790 - 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-01-05 03:06:49,053 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.25': '0', '10.20.0.129': '0'}, '10.0.0.56': {'10.20.0.254': '0', '10.20.0.129': '0'}} with
2026-01-05 03:06:49,053 - INFO - Initial checks done. Running the testcase now
2026-01-05 03:06:49,053 - INFO -
2026-01-05 03:06:49,720 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-40321524'](4432fb2f-b655-45f0-a3a1-bf9a9b9486af)
2026-01-05 03:06:49,778 - DEBUG - Creating VDNS : ctest-vdns1-46904712
2026-01-05 03:06:50,002 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-46904712'] created succesfully
2026-01-05 03:06:50,002 - DEBUG - Verify VDNS entry is shown in control node
2026-01-05 03:06:50,023 - DEBUG - Verify VDNS entry is shown in the API server
2026-01-05 03:06:50,023 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-05 03:06:50,380 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-05 03:06:50,489 - DEBUG - Requesting: http://10.0.0.27:8082/domain/182056ec-3382-44e1-b0fd-9a9d794f24a6
2026-01-05 03:06:50,507 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/ef3c8529-0961-4f8e-910d-3355c7d080a4
2026-01-05 03:06:51,212 - DEBUG - Response for create_network : {'network': {'id': 'b84e8c03-c001-475e-b25a-3786684bff94', 'name': 'ctest-vn1-vdns-07489682', 'tenant_id': '4432fb2fb65545f0a3a1bf9a9b9486af', 'project_id': '4432fb2fb65545f0a3a1bf9a9b9486af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-40321524', 'ctest-vn1-vdns-07489682'], 'port_security_enabled': True, 'description': ''}}
2026-01-05 03:06:51,523 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e69a5d1-e09b-450a-95a5-f90fc90d47c6', 'name': '', 'tenant_id': '4432fb2fb65545f0a3a1bf9a9b9486af', 'network_id': 'b84e8c03-c001-475e-b25a-3786684bff94', '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': '4432fb2fb65545f0a3a1bf9a9b9486af'}}
2026-01-05 03:06:51,552 - INFO - Created VN ctest-vn1-vdns-07489682
2026-01-05 03:06:51,573 - DEBUG - VN ctest-vn1-vdns-07489682 UUID is b84e8c03-c001-475e-b25a-3786684bff94
2026-01-05 03:06:51,752 - DEBUG - Services list from nova: [, , , ]
2026-01-05 03:06:52,766 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4961-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4961-2)
2026-01-05 03:06:52,766 - INFO - Waiting for VM ctest-vm1-test-99539212 to be up..
2026-01-05 03:06:52,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-05 03:06:57,909 - DEBUG - VM is in ACTIVE state now
2026-01-05 03:06:57,909 - INFO - VM name : ctest-vm1-test-99539212
2026-01-05 03:06:58,008 - DEBUG - VM ctest-vm1-test-99539212 ID is 718cf58e-07c3-4cfa-8527-e62a5922a3a1
2026-01-05 03:06:58,008 - DEBUG - VM ctest-vm1-test-99539212 launched on Node an-jenkins-deploy-platform-ansible-os-4961-2
2026-01-05 03:06:58,095 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/718cf58e-07c3-4cfa-8527-e62a5922a3a1
2026-01-05 03:06:58,376 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/718cf58e-07c3-4cfa-8527-e62a5922a3a1
2026-01-05 03:06:58,413 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/aa0cfd94-78c3-475b-9882-b1be1a516944
2026-01-05 03:07:01,577 - 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-01-05 03:07:01,577 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-99539212 failed!
2026-01-05 03:07:01,591 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:07:05,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 1022ms')
2026-01-05 03:07:05,675 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-99539212 failed!
2026-01-05 03:07:05,690 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:07:09,764 - 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-01-05 03:07:09,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-99539212 failed!
2026-01-05 03:07:09,779 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:07:13,865 - 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-01-05 03:07:13,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-99539212 failed!
2026-01-05 03:07:13,881 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:07:17,957 - 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-01-05 03:07:17,957 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-99539212 failed!
2026-01-05 03:07:17,971 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:07:22,061 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms')
2026-01-05 03:07:22,061 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-99539212 failed!
2026-01-05 03:07:22,074 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:07:26,156 - 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-01-05 03:07:26,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-99539212 failed!
2026-01-05 03:07:26,170 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:07:30,251 - 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-01-05 03:07:30,251 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-99539212 failed!
2026-01-05 03:07:30,266 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:07:32,330 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.730 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.730/5.013/9.296/4.283 ms')
2026-01-05 03:07:32,330 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-99539212 passed
2026-01-05 03:07:32,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 03:07:32,399 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99539212, IP 10.10.10.3, Port 22
2026-01-05 03:07:32,463 - 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-01-05 03:07:32,542 - DEBUG - VM ctest-vm1-test-99539212 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-05 03:07:37,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 03:07:37,543 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99539212, IP 10.10.10.3, Port 22
2026-01-05 03:07:37,608 - 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-01-05 03:07:37,683 - DEBUG - VM ctest-vm1-test-99539212 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-05 03:07:42,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 03:07:42,684 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99539212, IP 10.10.10.3, Port 22
2026-01-05 03:07:42,742 - 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-01-05 03:07:42,824 - DEBUG - VM ctest-vm1-test-99539212 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-05 03:07:47,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 03:07:47,824 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99539212, IP 10.10.10.3, Port 22
2026-01-05 03:07:47,891 - 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-01-05 03:07:47,977 - DEBUG - VM ctest-vm1-test-99539212 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-05 03:07:52,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 03:07:52,977 - DEBUG - Waiting to SSH to VM ctest-vm1-test-99539212, IP 10.10.10.3, Port 22
2026-01-05 03:07:53,148 - DEBUG - VM ctest-vm1-test-99539212 is ready for SSH connections
2026-01-05 03:07:53,148 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2026-01-05 03:07:53,148 - DEBUG - ifconfig | grep 10.10.10.3
2026-01-05 03:08:13,501 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-01-05 03:08:13,502 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-99539212", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2026-01-05 03:08:13,502 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-99539212", None, socket.AF_INET6)'
2026-01-05 03:08:15,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-99539212, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2026-01-05 03:08:15,718 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-99539212
2026-01-05 03:08:18,247 - DEBUG - PING ctest-vm1-test-99539212.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-99539212.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=5.33 ms
64 bytes from ctest-vm1-test-99539212.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.230 ms
64 bytes from ctest-vm1-test-99539212.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.384 ms
--- ctest-vm1-test-99539212.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.230/1.982/5.333/2.370 ms
2026-01-05 03:08:18,247 - INFO - Ping to IP ctest-vm1-test-99539212 from VM ctest-vm1-test-99539212 passed
2026-01-05 03:08:18,273 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-05 03:08:18,281 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-46904712@0%20AllEntriesVdnsRecordsReq
2026-01-05 03:08:18,287 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-05 03:08:18,293 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-46904712@0%20AllEntriesVdnsRecordsReq
2026-01-05 03:08:18,299 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-05 03:08:18,304 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-46904712@0%20AllEntriesVdnsRecordsReq
2026-01-05 03:08:18,309 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-46904712:1:ctest-vm1-test-99539212:10.10.10.3', 'rec_name': 'ctest-vm1-test-99539212', '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-4961-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-99539212.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-01-05 03:08:18,309 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-46904712:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-99539212', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-99539212', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4961-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-99539212.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-01-05 03:08:19,517 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4961-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4961-1)
2026-01-05 03:08:19,517 - INFO - Waiting for VM ctest-vm2-test-87742723 to be up..
2026-01-05 03:08:19,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-05 03:08:24,654 - DEBUG - VM is in ACTIVE state now
2026-01-05 03:08:24,654 - INFO - VM name : ctest-vm2-test-87742723
2026-01-05 03:08:24,731 - DEBUG - VM ctest-vm2-test-87742723 ID is 2d67b3c4-60bb-4013-9ea3-41c0e2193652
2026-01-05 03:08:24,732 - DEBUG - VM ctest-vm2-test-87742723 launched on Node an-jenkins-deploy-platform-ansible-os-4961-1
2026-01-05 03:08:24,810 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2d67b3c4-60bb-4013-9ea3-41c0e2193652
2026-01-05 03:08:24,819 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/1576e167-8fd9-4a37-b475-524b4cb16512
2026-01-05 03:08:27,987 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-01-05 03:08:27,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87742723 failed!
2026-01-05 03:08:28,001 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:08:32,085 - 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-01-05 03:08:32,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87742723 failed!
2026-01-05 03:08:32,101 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:08:36,186 - 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-01-05 03:08:36,186 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87742723 failed!
2026-01-05 03:08:36,201 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:08:40,277 - 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-01-05 03:08:40,277 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87742723 failed!
2026-01-05 03:08:40,294 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:08:44,369 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-01-05 03:08:44,369 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87742723 failed!
2026-01-05 03:08:44,382 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:08:48,471 - 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-01-05 03:08:48,471 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87742723 failed!
2026-01-05 03:08:48,484 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:08:52,561 - 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-01-05 03:08:52,561 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87742723 failed!
2026-01-05 03:08:52,575 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:08:56,661 - 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-01-05 03:08:56,661 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87742723 failed!
2026-01-05 03:08:56,677 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:09:00,755 - 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-01-05 03:09:00,755 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87742723 failed!
2026-01-05 03:09:00,770 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-40321524:ctest-vn1-vdns-07489682 is 10.10.10.1 and allocation pool is NOT set
2026-01-05 03:09:02,836 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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 = 1.397/3.733/6.070/2.336 ms')
2026-01-05 03:09:02,836 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-87742723 passed
2026-01-05 03:09:02,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 03:09:02,908 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87742723, IP 10.10.10.4, Port 22
2026-01-05 03:09:02,975 - 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-01-05 03:09:03,067 - DEBUG - VM ctest-vm2-test-87742723 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-05 03:09:08,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 03:09:08,068 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87742723, IP 10.10.10.4, Port 22
2026-01-05 03:09:08,135 - 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-01-05 03:09:08,212 - DEBUG - VM ctest-vm2-test-87742723 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-05 03:09:13,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 03:09:13,213 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87742723, IP 10.10.10.4, Port 22
2026-01-05 03:09:13,283 - 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-01-05 03:09:13,369 - DEBUG - VM ctest-vm2-test-87742723 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-05 03:09:18,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 03:09:18,370 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87742723, IP 10.10.10.4, Port 22
2026-01-05 03:09:18,438 - 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-01-05 03:09:18,518 - DEBUG - VM ctest-vm2-test-87742723 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-05 03:09:23,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 03:09:23,518 - DEBUG - Waiting to SSH to VM ctest-vm2-test-87742723, IP 10.10.10.4, Port 22
2026-01-05 03:09:23,680 - DEBUG - VM ctest-vm2-test-87742723 is ready for SSH connections
2026-01-05 03:09:23,680 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2026-01-05 03:09:23,680 - DEBUG - ifconfig | grep 10.10.10.4
2026-01-05 03:09:44,065 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-01-05 03:09:44,066 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87742723", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2026-01-05 03:09:44,066 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87742723", None, socket.AF_INET6)'
2026-01-05 03:09:45,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-87742723, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2026-01-05 03:09:45,683 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-87742723
2026-01-05 03:09:48,253 - DEBUG - PING ctest-vm2-test-87742723.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-87742723.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.44 ms
64 bytes from ctest-vm2-test-87742723.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.258 ms
64 bytes from ctest-vm2-test-87742723.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.319 ms
--- ctest-vm2-test-87742723.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.258/1.674/4.446/1.960 ms
2026-01-05 03:09:48,253 - INFO - Ping to IP ctest-vm2-test-87742723 from VM ctest-vm2-test-87742723 passed
2026-01-05 03:09:48,276 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-05 03:09:48,282 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-46904712@0%20AllEntriesVdnsRecordsReq
2026-01-05 03:09:48,288 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-05 03:09:48,293 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-46904712@0%20AllEntriesVdnsRecordsReq
2026-01-05 03:09:48,299 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-05 03:09:48,304 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-46904712@0%20AllEntriesVdnsRecordsReq
2026-01-05 03:09:48,309 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-46904712:1:ctest-vm2-test-87742723:10.10.10.4', 'rec_name': 'ctest-vm2-test-87742723', '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-4961-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-87742723.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-01-05 03:09:48,309 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-46904712:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-87742723', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-87742723', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4961-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-87742723.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-01-05 03:09:48,310 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87742723", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2026-01-05 03:09:48,310 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-87742723", None, socket.AF_INET6)'
2026-01-05 03:09:49,572 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-87742723, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2026-01-05 03:09:49,572 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-87742723
2026-01-05 03:09:52,125 - DEBUG - PING ctest-vm2-test-87742723.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-87742723.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=6.25 ms
64 bytes from ctest-vm2-test-87742723.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.20 ms
64 bytes from ctest-vm2-test-87742723.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=2.39 ms
--- ctest-vm2-test-87742723.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 1.202/3.284/6.257/2.157 ms
2026-01-05 03:09:52,125 - INFO - Ping to IP ctest-vm2-test-87742723 from VM ctest-vm1-test-99539212 passed
2026-01-05 03:09:52,125 - INFO - Try deleting the VDNS entry ctest-vdns1-46904712 with back ref of ipam.
2026-01-05 03:09:52,186 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/d79327a1-49dd-4d63-ab5e-05224db4f082']
2026-01-05 03:09:52,186 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-01-05 03:09:52,186 - INFO - Add CNAME VDNS record for ctest-vm1-test-99539212 and verify we able to ping by alias name
2026-01-05 03:09:52,234 - DEBUG - Creating VDNS record data : test-rec
2026-01-05 03:09:52,366 - INFO - In verify_on_setup
2026-01-05 03:09:52,466 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-46904712', 'test-rec'] created succesfully
2026-01-05 03:09:52,466 - INFO - Verify VDNS record is shown in the API server
2026-01-05 03:09:52,466 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-05 03:09:52,473 - DEBUG - Requesting: http://10.0.0.27:8082/domain/182056ec-3382-44e1-b0fd-9a9d794f24a6
2026-01-05 03:09:52,510 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/ef3c8529-0961-4f8e-910d-3355c7d080a4
2026-01-05 03:09:52,522 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/59ee91de-7cfe-47f8-a3db-618f420f0137
2026-01-05 03:09:52,529 - INFO - Verify VDNS record is shown in the control node
2026-01-05 03:09:52,546 - 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.56, gateway password: c0ntrail123
2026-01-05 03:09:52,546 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-01-05 03:09:53,804 - 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.56, gateway password: c0ntrail123
2026-01-05 03:09:53,805 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-01-05 03:09:54,341 - DEBUG - ping: unknown host vm1-test-alias
2026-01-05 03:09:54,342 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-99539212 failed
2026-01-05 03:09:55,342 - 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.56, gateway password: c0ntrail123
2026-01-05 03:09:55,342 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-01-05 03:09:56,492 - 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.56, gateway password: c0ntrail123
2026-01-05 03:09:56,493 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-01-05 03:09:59,029 - DEBUG - PING ctest-vm1-test-99539212.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-99539212.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.75 ms
64 bytes from ctest-vm1-test-99539212.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.225 ms
64 bytes from ctest-vm1-test-99539212.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.200 ms
--- ctest-vm1-test-99539212.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.200/0.725/1.751/0.725 ms
2026-01-05 03:09:59,029 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-99539212 passed
2026-01-05 03:09:59,029 - DEBUG - Deleting VDNS record data: test-rec
2026-01-05 03:09:59,114 - INFO - VDNS record info: default-domain:ctest-vdns1-46904712:test-rec deleted successfully.
2026-01-05 03:09:59,114 - INFO - Deleting VM ctest-vm2-test-87742723
2026-01-05 03:09:59,203 - INFO - Deleting VM ctest-vm1-test-99539212
2026-01-05 03:09:59,280 - INFO - Deleting VN ctest-vn1-vdns-07489682
2026-01-05 03:09:59,335 - DEBUG - VN b84e8c03-c001-475e-b25a-3786684bff94 still in use: Unable to complete operation on network b84e8c03-c001-475e-b25a-3786684bff94. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-87cc7489-973f-44db-b633-bacd7a0d987f']
2026-01-05 03:09:59,335 - WARNING - Deleting VN ctest-vn1-vdns-07489682 failed..Will retry
2026-01-05 03:10:01,516 - DEBUG - Response for deleting network ()
2026-01-05 03:10:01,578 - DEBUG - Deleting VDNS Entry: ctest-vdns1-46904712
2026-01-05 03:10:01,682 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-46904712'] deleted successfully.
2026-01-05 03:10:01,682 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-05 03:10:01,689 - DEBUG - Requesting: http://10.0.0.27:8082/domain/182056ec-3382-44e1-b0fd-9a9d794f24a6
2026-01-05 03:10:01,707 - DEBUG - VDNS information not found in API server
2026-01-05 03:10:01,707 - INFO - VDNS information ctest-vdns1-46904712 removed from the API Server
2026-01-05 03:10:01,716 - INFO - VDNS information ctest-vdns1-46904712 removed in the Control node
2026-01-05 03:10:01,716 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-40321524']
2026-01-05 03:10:02,992 - DEBUG - No XMPP flaps were noticed during the test
2026-01-05 03:10:02,992 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:15]
2026-01-05 03:10:02,992 - INFO - --------------------------------------------------------------------------------
2026-01-05 03:10:03,733 - INFO - Deleted project: ctest-TestvDNSBasic0-40321524, ID : 4432fb2f-b655-45f0-a3a1-bf9a9b9486af