2026-04-27 03:48:38,827 - INFO - Domain Default found not creating
2026-04-27 03:48:39,036 - INFO - Project ctest-TestvDNSBasic0-50367768 not found, creating it
2026-04-27 03:48:39,726 - INFO - Created Project:ctest-TestvDNSBasic0-50367768, ID : a1f381ea-2f31-4a8f-8f79-e33090dcbfc2
2026-04-27 03:48:41,551 - INFO - ================================================================================
2026-04-27 03:48:41,551 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-04-27 03:48:41,551 - 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-04-27 03:48:42,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.193': '0', '10.20.0.18': '0'}, '10.0.0.65': {'10.20.0.25': '0', '10.20.0.18': '0'}} with
2026-04-27 03:48:42,852 - INFO - Initial checks done. Running the testcase now
2026-04-27 03:48:42,852 - INFO -
2026-04-27 03:48:43,828 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-50367768'](a1f381ea-2f31-4a8f-8f79-e33090dcbfc2)
2026-04-27 03:48:43,899 - DEBUG - Creating VDNS : ctest-vdns1-07505064
2026-04-27 03:48:44,160 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-07505064'] created succesfully
2026-04-27 03:48:44,160 - DEBUG - Verify VDNS entry is shown in control node
2026-04-27 03:48:44,187 - DEBUG - Verify VDNS entry is shown in the API server
2026-04-27 03:48:44,187 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-04-27 03:48:44,530 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-04-27 03:48:44,585 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3cfd3207-f874-4fca-b30c-5a5349ff35bf
2026-04-27 03:48:44,621 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/70ae5860-ee37-40b0-82bd-52a917ce2a75
2026-04-27 03:48:45,535 - DEBUG - Response for create_network : {'network': {'id': 'af478722-597c-4f34-9654-e2c62c35ddd9', 'name': 'ctest-vn1-vdns-50574898', 'tenant_id': 'a1f381ea2f314a8f8f79e33090dcbfc2', 'project_id': 'a1f381ea2f314a8f8f79e33090dcbfc2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-50367768', 'ctest-vn1-vdns-50574898'], 'port_security_enabled': True, 'description': ''}}
2026-04-27 03:48:45,919 - DEBUG - Response for create_subnet : {'subnet': {'id': '14413cf7-d49a-440e-9503-5c8d234b340e', 'name': '', 'tenant_id': 'a1f381ea2f314a8f8f79e33090dcbfc2', 'network_id': 'af478722-597c-4f34-9654-e2c62c35ddd9', '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': 'a1f381ea2f314a8f8f79e33090dcbfc2'}}
2026-04-27 03:48:45,955 - INFO - Created VN ctest-vn1-vdns-50574898
2026-04-27 03:48:45,974 - DEBUG - VN ctest-vn1-vdns-50574898 UUID is af478722-597c-4f34-9654-e2c62c35ddd9
2026-04-27 03:48:46,433 - DEBUG - Services list from nova: [, , , ]
2026-04-27 03:48:47,975 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5690-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5690-1)
2026-04-27 03:48:47,976 - INFO - Waiting for VM ctest-vm1-test-92048173 to be up..
2026-04-27 03:48:48,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-27 03:48:53,194 - DEBUG - VM is in ACTIVE state now
2026-04-27 03:48:53,194 - INFO - VM name : ctest-vm1-test-92048173
2026-04-27 03:48:53,312 - DEBUG - VM ctest-vm1-test-92048173 ID is 2aebad72-ffa2-44fc-b178-07523c080586
2026-04-27 03:48:53,313 - DEBUG - VM ctest-vm1-test-92048173 launched on Node an-jenkins-deploy-platform-ansible-os-5690-1
2026-04-27 03:48:53,421 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2aebad72-ffa2-44fc-b178-07523c080586
2026-04-27 03:48:53,770 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2aebad72-ffa2-44fc-b178-07523c080586
2026-04-27 03:48:53,813 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/80cc31b7-d0af-4dbe-b9cc-46ed19e8e25f
2026-04-27 03:48:57,020 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-04-27 03:48:57,020 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-92048173 failed!
2026-04-27 03:48:57,052 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:49:01,118 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms')
2026-04-27 03:49:01,118 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-92048173 failed!
2026-04-27 03:49:01,142 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:49:05,211 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-04-27 03:49:05,211 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-92048173 failed!
2026-04-27 03:49:05,229 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:49:09,311 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-04-27 03:49:09,311 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-92048173 failed!
2026-04-27 03:49:09,328 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:49:13,411 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-04-27 03:49:13,411 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-92048173 failed!
2026-04-27 03:49:13,429 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:49:17,497 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-04-27 03:49:17,497 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-92048173 failed!
2026-04-27 03:49:17,516 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:49:21,599 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2026-04-27 03:49:21,599 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-92048173 failed!
2026-04-27 03:49:21,617 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:49:25,690 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2026-04-27 03:49:25,690 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-92048173 failed!
2026-04-27 03:49:25,709 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:49:29,792 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=8.12 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 8.117/8.117/8.117/0.000 ms')
2026-04-27 03:49:29,792 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-92048173 passed
2026-04-27 03:49:29,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 03:49:29,869 - DEBUG - Waiting to SSH to VM ctest-vm1-test-92048173, IP 10.10.10.3, Port 22
2026-04-27 03:49:29,936 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-27 03:49:30,051 - DEBUG - VM ctest-vm1-test-92048173 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-27 03:49:35,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 03:49:35,052 - DEBUG - Waiting to SSH to VM ctest-vm1-test-92048173, IP 10.10.10.3, Port 22
2026-04-27 03:49:35,110 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-27 03:49:35,236 - DEBUG - VM ctest-vm1-test-92048173 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-27 03:49:40,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 03:49:40,237 - DEBUG - Waiting to SSH to VM ctest-vm1-test-92048173, IP 10.10.10.3, Port 22
2026-04-27 03:49:40,308 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-27 03:49:40,409 - DEBUG - VM ctest-vm1-test-92048173 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-27 03:49:45,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 03:49:45,410 - DEBUG - Waiting to SSH to VM ctest-vm1-test-92048173, IP 10.10.10.3, Port 22
2026-04-27 03:49:45,479 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-27 03:49:45,580 - DEBUG - VM ctest-vm1-test-92048173 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-27 03:49:50,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 03:49:50,581 - DEBUG - Waiting to SSH to VM ctest-vm1-test-92048173, IP 10.10.10.3, Port 22
2026-04-27 03:49:50,745 - DEBUG - VM ctest-vm1-test-92048173 is ready for SSH connections
2026-04-27 03:49:50,745 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-27 03:49:50,745 - DEBUG - ifconfig | grep 10.10.10.3
2026-04-27 03:50:11,854 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-04-27 03:50:11,854 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-92048173", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-27 03:50:11,854 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-92048173", None, socket.AF_INET6)'
2026-04-27 03:50:14,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-92048173, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-27 03:50:14,136 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-92048173
2026-04-27 03:50:16,700 - DEBUG - PING ctest-vm1-test-92048173.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-92048173.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=5.39 ms
64 bytes from ctest-vm1-test-92048173.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.240 ms
64 bytes from ctest-vm1-test-92048173.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.212 ms
--- ctest-vm1-test-92048173.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.212/1.949/5.396/2.437 ms
2026-04-27 03:50:16,700 - INFO - Ping to IP ctest-vm1-test-92048173 from VM ctest-vm1-test-92048173 passed
2026-04-27 03:50:16,737 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-27 03:50:16,744 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-07505064@0%20AllEntriesVdnsRecordsReq
2026-04-27 03:50:16,750 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-27 03:50:16,756 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-07505064@0%20AllEntriesVdnsRecordsReq
2026-04-27 03:50:16,763 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-27 03:50:16,769 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-07505064@0%20AllEntriesVdnsRecordsReq
2026-04-27 03:50:16,775 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-07505064:1:ctest-vm1-test-92048173:10.10.10.3', 'rec_name': 'ctest-vm1-test-92048173', '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-5690-1/dns'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-92048173.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-04-27 03:50:16,775 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-07505064:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-92048173', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-92048173', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5690-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-92048173.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-04-27 03:50:18,458 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5690-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5690-2)
2026-04-27 03:50:18,458 - INFO - Waiting for VM ctest-vm2-test-79675183 to be up..
2026-04-27 03:50:18,510 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-27 03:50:23,617 - DEBUG - VM is in ACTIVE state now
2026-04-27 03:50:23,617 - INFO - VM name : ctest-vm2-test-79675183
2026-04-27 03:50:23,724 - DEBUG - VM ctest-vm2-test-79675183 ID is 165b0cd9-26db-4563-94fe-b2df519c72b8
2026-04-27 03:50:23,724 - DEBUG - VM ctest-vm2-test-79675183 launched on Node an-jenkins-deploy-platform-ansible-os-5690-2
2026-04-27 03:50:23,836 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/165b0cd9-26db-4563-94fe-b2df519c72b8
2026-04-27 03:50:23,852 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/67c939b5-9ae2-4c3f-9934-c174fdaa9da0
2026-04-27 03:50:27,043 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2026-04-27 03:50:27,043 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 failed!
2026-04-27 03:50:27,066 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:50:31,150 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-04-27 03:50:31,150 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 failed!
2026-04-27 03:50:31,175 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:50:35,273 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms')
2026-04-27 03:50:35,273 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 failed!
2026-04-27 03:50:35,294 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:50:39,401 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1034ms')
2026-04-27 03:50:39,401 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 failed!
2026-04-27 03:50:39,424 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:50:43,497 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms')
2026-04-27 03:50:43,497 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 failed!
2026-04-27 03:50:43,517 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:50:47,622 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1033ms')
2026-04-27 03:50:47,622 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 failed!
2026-04-27 03:50:47,641 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:50:51,719 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2026-04-27 03:50:51,719 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 failed!
2026-04-27 03:50:51,738 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:50:55,815 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2026-04-27 03:50:55,816 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 failed!
2026-04-27 03:50:55,835 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:50:59,913 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms')
2026-04-27 03:50:59,914 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 failed!
2026-04-27 03:50:59,934 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:51:04,036 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1034ms')
2026-04-27 03:51:04,036 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 failed!
2026-04-27 03:51:04,054 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:51:08,137 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-04-27 03:51:08,137 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 failed!
2026-04-27 03:51:08,157 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-50367768:ctest-vn1-vdns-50574898 is 10.10.10.1 and allocation pool is NOT set
2026-04-27 03:51:10,228 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=11.5 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.844 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.844/6.185/11.526/5.341 ms')
2026-04-27 03:51:10,229 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-79675183 passed
2026-04-27 03:51:10,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 03:51:10,308 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79675183, IP 10.10.10.4, Port 22
2026-04-27 03:51:10,376 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-27 03:51:10,504 - DEBUG - VM ctest-vm2-test-79675183 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-27 03:51:15,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 03:51:15,504 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79675183, IP 10.10.10.4, Port 22
2026-04-27 03:51:15,573 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-27 03:51:15,679 - DEBUG - VM ctest-vm2-test-79675183 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-27 03:51:20,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 03:51:20,680 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79675183, IP 10.10.10.4, Port 22
2026-04-27 03:51:20,748 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-27 03:51:20,855 - DEBUG - VM ctest-vm2-test-79675183 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-27 03:51:25,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 03:51:25,856 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79675183, IP 10.10.10.4, Port 22
2026-04-27 03:51:25,924 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-27 03:51:26,042 - DEBUG - VM ctest-vm2-test-79675183 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-27 03:51:31,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 03:51:31,043 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79675183, IP 10.10.10.4, Port 22
2026-04-27 03:51:31,109 - DEBUG - Error on ssh to ubuntu@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-27 03:51:31,236 - DEBUG - VM ctest-vm2-test-79675183 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-27 03:51:36,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 03:51:36,237 - DEBUG - Waiting to SSH to VM ctest-vm2-test-79675183, IP 10.10.10.4, Port 22
2026-04-27 03:51:36,414 - DEBUG - VM ctest-vm2-test-79675183 is ready for SSH connections
2026-04-27 03:51:36,414 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-27 03:51:36,414 - DEBUG - ifconfig | grep 10.10.10.4
2026-04-27 03:52:00,949 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-04-27 03:52:00,949 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79675183", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-27 03:52:00,949 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79675183", None, socket.AF_INET6)'
2026-04-27 03:52:04,069 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-79675183, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-27 03:52:04,069 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-79675183
2026-04-27 03:52:07,222 - DEBUG - PING ctest-vm2-test-79675183.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-79675183.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.01 ms
64 bytes from ctest-vm2-test-79675183.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.397 ms
64 bytes from ctest-vm2-test-79675183.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.406 ms
--- ctest-vm2-test-79675183.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.397/1.271/3.012/1.231 ms
2026-04-27 03:52:07,223 - INFO - Ping to IP ctest-vm2-test-79675183 from VM ctest-vm2-test-79675183 passed
2026-04-27 03:52:07,255 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-27 03:52:07,263 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-07505064@0%20AllEntriesVdnsRecordsReq
2026-04-27 03:52:07,270 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-27 03:52:07,277 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-07505064@0%20AllEntriesVdnsRecordsReq
2026-04-27 03:52:07,285 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-04-27 03:52:07,291 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-07505064@0%20AllEntriesVdnsRecordsReq
2026-04-27 03:52:07,314 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-07505064:1:ctest-vm2-test-79675183:10.10.10.4', 'rec_name': 'ctest-vm2-test-79675183', '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-5690-2/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-79675183.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-04-27 03:52:07,314 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-07505064:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-79675183', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-79675183', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5690-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-79675183.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-04-27 03:52:07,315 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79675183", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-27 03:52:07,315 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-79675183", None, socket.AF_INET6)'
2026-04-27 03:52:08,517 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-79675183, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-27 03:52:08,517 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-79675183
2026-04-27 03:52:11,061 - DEBUG - PING ctest-vm2-test-79675183.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-79675183.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=14.4 ms
64 bytes from ctest-vm2-test-79675183.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.45 ms
64 bytes from ctest-vm2-test-79675183.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.60 ms
--- ctest-vm2-test-79675183.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.457/5.824/14.408/6.070 ms
2026-04-27 03:52:11,061 - INFO - Ping to IP ctest-vm2-test-79675183 from VM ctest-vm1-test-92048173 passed
2026-04-27 03:52:11,061 - INFO - Try deleting the VDNS entry ctest-vdns1-07505064 with back ref of ipam.
2026-04-27 03:52:11,131 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/f40fb11c-f7e2-4a9e-b122-e3500410463a']
2026-04-27 03:52:11,131 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-04-27 03:52:11,131 - INFO - Add CNAME VDNS record for ctest-vm1-test-92048173 and verify we able to ping by alias name
2026-04-27 03:52:11,183 - DEBUG - Creating VDNS record data : test-rec
2026-04-27 03:52:11,319 - INFO - In verify_on_setup
2026-04-27 03:52:11,419 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-07505064', 'test-rec'] created succesfully
2026-04-27 03:52:11,419 - INFO - Verify VDNS record is shown in the API server
2026-04-27 03:52:11,419 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-04-27 03:52:11,427 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3cfd3207-f874-4fca-b30c-5a5349ff35bf
2026-04-27 03:52:11,454 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/70ae5860-ee37-40b0-82bd-52a917ce2a75
2026-04-27 03:52:11,474 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS-record/eeb78199-4ce3-4e41-9e6f-9a50673e681e
2026-04-27 03:52:11,484 - INFO - Verify VDNS record is shown in the control node
2026-04-27 03:52:11,506 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-27 03:52:11,507 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-04-27 03:52:12,747 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-27 03:52:12,747 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-04-27 03:52:13,317 - DEBUG - ping: unknown host vm1-test-alias
2026-04-27 03:52:13,318 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-92048173 failed
2026-04-27 03:52:14,318 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-27 03:52:14,318 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-04-27 03:52:15,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-04-27 03:52:15,567 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-04-27 03:52:18,160 - DEBUG - PING ctest-vm1-test-92048173.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-92048173.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.81 ms
64 bytes from ctest-vm1-test-92048173.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.251 ms
64 bytes from ctest-vm1-test-92048173.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.194 ms
--- ctest-vm1-test-92048173.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.194/0.753/1.815/0.751 ms
2026-04-27 03:52:18,160 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-92048173 passed
2026-04-27 03:52:18,160 - DEBUG - Deleting VDNS record data: test-rec
2026-04-27 03:52:18,251 - INFO - VDNS record info: default-domain:ctest-vdns1-07505064:test-rec deleted successfully.
2026-04-27 03:52:18,251 - INFO - Deleting VM ctest-vm2-test-79675183
2026-04-27 03:52:18,344 - INFO - Deleting VM ctest-vm1-test-92048173
2026-04-27 03:52:18,429 - INFO - Deleting VN ctest-vn1-vdns-50574898
2026-04-27 03:52:18,489 - DEBUG - VN af478722-597c-4f34-9654-e2c62c35ddd9 still in use: Unable to complete operation on network af478722-597c-4f34-9654-e2c62c35ddd9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-acfd6172-120c-4aec-ad4c-c70887a31a4b']
2026-04-27 03:52:18,489 - WARNING - Deleting VN ctest-vn1-vdns-50574898 failed..Will retry
2026-04-27 03:52:20,705 - DEBUG - Response for deleting network ()
2026-04-27 03:52:20,780 - DEBUG - Deleting VDNS Entry: ctest-vdns1-07505064
2026-04-27 03:52:20,915 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-07505064'] deleted successfully.
2026-04-27 03:52:20,915 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-04-27 03:52:20,923 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3cfd3207-f874-4fca-b30c-5a5349ff35bf
2026-04-27 03:52:20,940 - DEBUG - VDNS information not found in API server
2026-04-27 03:52:20,940 - INFO - VDNS information ctest-vdns1-07505064 removed from the API Server
2026-04-27 03:52:20,946 - INFO - VDNS information ctest-vdns1-07505064 removed in the Control node
2026-04-27 03:52:20,947 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-50367768']
2026-04-27 03:52:22,260 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 03:52:22,260 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:41]
2026-04-27 03:52:22,260 - INFO - --------------------------------------------------------------------------------
2026-04-27 03:52:23,156 - INFO - Deleted project: ctest-TestvDNSBasic0-50367768, ID : a1f381ea-2f31-4a8f-8f79-e33090dcbfc2