2026-06-04 14:11:09,918 - INFO - Domain Default found not creating
2026-06-04 14:11:10,103 - INFO - Project ctest-TestvDNSBasic0-31813676 not found, creating it
2026-06-04 14:11:10,673 - INFO - Created Project:ctest-TestvDNSBasic0-31813676, ID : c97f3e0e-0d96-4049-b7f6-3e446d5d8cbe
2026-06-04 14:11:12,253 - INFO - ================================================================================
2026-06-04 14:11:12,253 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-06-04 14:11:12,253 - 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-04 14:11:13,556 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.19': {'10.20.0.14': '0', '10.20.0.254': '0'}} with
2026-06-04 14:11:13,556 - INFO - Initial checks done. Running the testcase now
2026-06-04 14:11:13,556 - INFO -
2026-06-04 14:11:14,302 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-31813676'](c97f3e0e-0d96-4049-b7f6-3e446d5d8cbe)
2026-06-04 14:11:14,357 - DEBUG - Creating VDNS : ctest-vdns1-93938673
2026-06-04 14:11:14,589 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-93938673'] created succesfully
2026-06-04 14:11:14,589 - DEBUG - Verify VDNS entry is shown in control node
2026-06-04 14:11:14,606 - DEBUG - Verify VDNS entry is shown in the API server
2026-06-04 14:11:14,606 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-04 14:11:14,923 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-04 14:11:14,966 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2a691fd0-1018-439d-b1ef-8ad832fd41d9
2026-06-04 14:11:14,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/f845ea25-026d-4fa8-855a-e94c84a0bbd7
2026-06-04 14:11:15,742 - DEBUG - Response for create_network : {'network': {'id': 'c4301fda-8826-433c-8ebd-aeefbaa8f11d', 'name': 'ctest-vn1-vdns-26132993', 'tenant_id': 'c97f3e0e0d964049b7f63e446d5d8cbe', 'project_id': 'c97f3e0e0d964049b7f63e446d5d8cbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-31813676', 'ctest-vn1-vdns-26132993'], 'port_security_enabled': True, 'description': ''}}
2026-06-04 14:11:16,050 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae25e0e1-f418-4636-bdcb-0cc28ea8235c', 'name': '', 'tenant_id': 'c97f3e0e0d964049b7f63e446d5d8cbe', 'network_id': 'c4301fda-8826-433c-8ebd-aeefbaa8f11d', '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': 'c97f3e0e0d964049b7f63e446d5d8cbe'}}
2026-06-04 14:11:16,076 - INFO - Created VN ctest-vn1-vdns-26132993
2026-06-04 14:11:16,090 - DEBUG - VN ctest-vn1-vdns-26132993 UUID is c4301fda-8826-433c-8ebd-aeefbaa8f11d
2026-06-04 14:11:16,435 - DEBUG - Services list from nova: [, , , ]
2026-06-04 14:11:17,606 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5890-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5890-2)
2026-06-04 14:11:17,606 - INFO - Waiting for VM ctest-vm1-test-30700130 to be up..
2026-06-04 14:11:17,655 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-04 14:11:22,750 - DEBUG - VM is in ACTIVE state now
2026-06-04 14:11:22,750 - INFO - VM name : ctest-vm1-test-30700130
2026-06-04 14:11:22,838 - DEBUG - VM ctest-vm1-test-30700130 ID is 4b13ab94-4e93-4091-88f8-77cb2e655bfa
2026-06-04 14:11:22,838 - DEBUG - VM ctest-vm1-test-30700130 launched on Node an-jenkins-deploy-platform-ansible-os-5890-2
2026-06-04 14:11:22,918 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4b13ab94-4e93-4091-88f8-77cb2e655bfa
2026-06-04 14:11:23,221 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4b13ab94-4e93-4091-88f8-77cb2e655bfa
2026-06-04 14:11:23,261 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c947d306-fb0a-439f-b90e-7db19b2983e5
2026-06-04 14:11:26,434 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2026-06-04 14:11:26,434 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-30700130 failed!
2026-06-04 14:11:26,449 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:11:30,532 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-06-04 14:11:30,532 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-30700130 failed!
2026-06-04 14:11:30,548 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:11:34,628 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2026-06-04 14:11:34,628 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-30700130 failed!
2026-06-04 14:11:34,645 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:11:38,721 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2026-06-04 14:11:38,721 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-30700130 failed!
2026-06-04 14:11:38,740 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:11:42,814 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2026-06-04 14:11:42,814 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-30700130 failed!
2026-06-04 14:11:42,831 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:11:46,916 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms')
2026-06-04 14:11:46,916 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-30700130 failed!
2026-06-04 14:11:46,930 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:11:51,039 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms')
2026-06-04 14:11:51,039 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-30700130 failed!
2026-06-04 14:11:51,053 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:11:55,141 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-06-04 14:11:55,141 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-30700130 failed!
2026-06-04 14:11:55,156 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:11:57,232 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=8.53 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=6.03 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 6.025/7.279/8.534/1.254 ms')
2026-06-04 14:11:57,232 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-vm1-test-30700130 passed
2026-06-04 14:11:57,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 14:11:57,302 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30700130, IP 10.10.10.3, Port 22
2026-06-04 14:11:57,370 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-04 14:11:57,464 - DEBUG - VM ctest-vm1-test-30700130 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-04 14:12:02,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 14:12:02,465 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30700130, IP 10.10.10.3, Port 22
2026-06-04 14:12:02,532 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-04 14:12:02,626 - DEBUG - VM ctest-vm1-test-30700130 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-04 14:12:07,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 14:12:07,626 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30700130, IP 10.10.10.3, Port 22
2026-06-04 14:12:07,691 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-04 14:12:07,823 - DEBUG - VM ctest-vm1-test-30700130 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-04 14:12:12,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 14:12:12,827 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30700130, IP 10.10.10.3, Port 22
2026-06-04 14:12:12,884 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-04 14:12:13,025 - DEBUG - VM ctest-vm1-test-30700130 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-04 14:12:18,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 14:12:18,026 - DEBUG - Waiting to SSH to VM ctest-vm1-test-30700130, IP 10.10.10.3, Port 22
2026-06-04 14:12:18,199 - DEBUG - VM ctest-vm1-test-30700130 is ready for SSH connections
2026-06-04 14:12:18,199 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-04 14:12:18,200 - DEBUG - ifconfig | grep 10.10.10.3
2026-06-04 14:12:37,781 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-06-04 14:12:37,781 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-30700130", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-04 14:12:37,782 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-30700130", None, socket.AF_INET6)'
2026-06-04 14:12:40,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-30700130, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-04 14:12:40,672 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-30700130
2026-06-04 14:12:43,399 - DEBUG - PING ctest-vm1-test-30700130.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-30700130.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=5.51 ms
64 bytes from ctest-vm1-test-30700130.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.39 ms
64 bytes from ctest-vm1-test-30700130.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.216 ms
--- ctest-vm1-test-30700130.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.216/2.705/5.511/2.173 ms
2026-06-04 14:12:43,399 - INFO - Ping to IP ctest-vm1-test-30700130 from VM ctest-vm1-test-30700130 passed
2026-06-04 14:12:43,438 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-04 14:12:43,451 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-93938673@0%20AllEntriesVdnsRecordsReq
2026-06-04 14:12:43,460 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-04 14:12:43,465 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-93938673@0%20AllEntriesVdnsRecordsReq
2026-06-04 14:12:43,472 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-04 14:12:43,479 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-93938673@0%20AllEntriesVdnsRecordsReq
2026-06-04 14:12:43,485 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-93938673:1:ctest-vm1-test-30700130:10.10.10.3', 'rec_name': 'ctest-vm1-test-30700130', '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-5890-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-30700130.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-06-04 14:12:43,485 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-93938673:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-30700130', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-30700130', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5890-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-30700130.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-04 14:12:44,945 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5890-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5890-1)
2026-06-04 14:12:44,946 - INFO - Waiting for VM ctest-vm2-test-45194016 to be up..
2026-06-04 14:12:45,002 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-04 14:12:50,098 - DEBUG - VM is in ACTIVE state now
2026-06-04 14:12:50,098 - INFO - VM name : ctest-vm2-test-45194016
2026-06-04 14:12:50,199 - DEBUG - VM ctest-vm2-test-45194016 ID is ee347a0c-566a-4565-94a5-89276f3fcec2
2026-06-04 14:12:50,199 - DEBUG - VM ctest-vm2-test-45194016 launched on Node an-jenkins-deploy-platform-ansible-os-5890-1
2026-06-04 14:12:50,283 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ee347a0c-566a-4565-94a5-89276f3fcec2
2026-06-04 14:12:50,293 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a8d6b123-303c-40d4-839b-863681faaeef
2026-06-04 14:12:53,491 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1032ms')
2026-06-04 14:12:53,491 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-45194016 failed!
2026-06-04 14:12:53,505 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:12:57,592 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms')
2026-06-04 14:12:57,592 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-45194016 failed!
2026-06-04 14:12:57,609 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:13:01,687 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-06-04 14:13:01,687 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-45194016 failed!
2026-06-04 14:13:01,708 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:13:05,784 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-06-04 14:13:05,784 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-45194016 failed!
2026-06-04 14:13:05,800 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:13:09,875 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-06-04 14:13:09,875 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-45194016 failed!
2026-06-04 14:13:09,889 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:13:13,969 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-06-04 14:13:13,969 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-45194016 failed!
2026-06-04 14:13:13,986 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:13:18,067 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms')
2026-06-04 14:13:18,067 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-45194016 failed!
2026-06-04 14:13:18,081 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:13:22,165 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-06-04 14:13:22,166 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-45194016 failed!
2026-06-04 14:13:22,180 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:13:26,266 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2026-06-04 14:13:26,266 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-45194016 failed!
2026-06-04 14:13:26,281 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:13:30,360 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-06-04 14:13:30,360 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-45194016 failed!
2026-06-04 14:13:30,375 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31813676:ctest-vn1-vdns-26132993 is 10.10.10.1 and allocation pool is NOT set
2026-06-04 14:13:32,444 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=5.09 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.728 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.728/2.907/5.086/2.179 ms')
2026-06-04 14:13:32,444 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-vm2-test-45194016 passed
2026-06-04 14:13:32,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 14:13:32,513 - DEBUG - Waiting to SSH to VM ctest-vm2-test-45194016, IP 10.10.10.4, Port 22
2026-06-04 14:13:32,582 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-04 14:13:32,678 - DEBUG - VM ctest-vm2-test-45194016 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-04 14:13:37,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 14:13:37,679 - DEBUG - Waiting to SSH to VM ctest-vm2-test-45194016, IP 10.10.10.4, Port 22
2026-06-04 14:13:37,745 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-04 14:13:37,859 - DEBUG - VM ctest-vm2-test-45194016 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-04 14:13:42,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 14:13:42,860 - DEBUG - Waiting to SSH to VM ctest-vm2-test-45194016, IP 10.10.10.4, Port 22
2026-06-04 14:13:42,930 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-04 14:13:43,019 - DEBUG - VM ctest-vm2-test-45194016 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-04 14:13:48,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 14:13:48,020 - DEBUG - Waiting to SSH to VM ctest-vm2-test-45194016, IP 10.10.10.4, Port 22
2026-06-04 14:13:48,090 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-04 14:13:48,184 - DEBUG - VM ctest-vm2-test-45194016 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-04 14:13:53,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 14:13:53,185 - DEBUG - Waiting to SSH to VM ctest-vm2-test-45194016, IP 10.10.10.4, Port 22
2026-06-04 14:13:53,358 - DEBUG - VM ctest-vm2-test-45194016 is ready for SSH connections
2026-06-04 14:13:53,358 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-06-04 14:13:53,358 - DEBUG - ifconfig | grep 10.10.10.4
2026-06-04 14:14:16,568 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-06-04 14:14:16,569 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-45194016", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-06-04 14:14:16,569 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-45194016", None, socket.AF_INET6)'
2026-06-04 14:14:19,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-45194016, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-06-04 14:14:19,847 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-45194016
2026-06-04 14:14:22,869 - DEBUG - PING ctest-vm2-test-45194016.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-45194016.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.66 ms
64 bytes from ctest-vm2-test-45194016.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.416 ms
64 bytes from ctest-vm2-test-45194016.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.224 ms
--- ctest-vm2-test-45194016.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.224/1.100/2.660/1.105 ms
2026-06-04 14:14:22,869 - INFO - Ping to IP ctest-vm2-test-45194016 from VM ctest-vm2-test-45194016 passed
2026-06-04 14:14:22,895 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-04 14:14:22,902 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-93938673@0%20AllEntriesVdnsRecordsReq
2026-06-04 14:14:22,910 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-04 14:14:22,915 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-93938673@0%20AllEntriesVdnsRecordsReq
2026-06-04 14:14:22,922 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-04 14:14:22,931 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-93938673@0%20AllEntriesVdnsRecordsReq
2026-06-04 14:14:22,942 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-93938673:1:ctest-vm2-test-45194016:10.10.10.4', 'rec_name': 'ctest-vm2-test-45194016', '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-5890-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-45194016.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-06-04 14:14:22,942 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-93938673:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-45194016', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-45194016', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5890-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-45194016.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-04 14:14:22,943 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-45194016", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-04 14:14:22,943 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-45194016", None, socket.AF_INET6)'
2026-06-04 14:14:24,119 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-45194016, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-04 14:14:24,119 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-45194016
2026-06-04 14:14:26,661 - DEBUG - PING ctest-vm2-test-45194016.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-45194016.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.3 ms
64 bytes from ctest-vm2-test-45194016.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.40 ms
64 bytes from ctest-vm2-test-45194016.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.44 ms
--- ctest-vm2-test-45194016.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.406/4.398/10.347/4.206 ms
2026-06-04 14:14:26,661 - INFO - Ping to IP ctest-vm2-test-45194016 from VM ctest-vm1-test-30700130 passed
2026-06-04 14:14:26,662 - INFO - Try deleting the VDNS entry ctest-vdns1-93938673 with back ref of ipam.
2026-06-04 14:14:26,721 - DEBUG - Delete when resource still referred: ['http://10.0.0.249:8082/network-ipam/57ef970e-8ae9-4c0a-ac93-2b6a339b3378']
2026-06-04 14:14:26,721 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-06-04 14:14:26,721 - INFO - Add CNAME VDNS record for ctest-vm1-test-30700130 and verify we able to ping by alias name
2026-06-04 14:14:26,769 - DEBUG - Creating VDNS record data : test-rec
2026-06-04 14:14:26,893 - INFO - In verify_on_setup
2026-06-04 14:14:26,989 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-93938673', 'test-rec'] created succesfully
2026-06-04 14:14:26,989 - INFO - Verify VDNS record is shown in the API server
2026-06-04 14:14:26,989 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-04 14:14:26,996 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2a691fd0-1018-439d-b1ef-8ad832fd41d9
2026-06-04 14:14:27,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/f845ea25-026d-4fa8-855a-e94c84a0bbd7
2026-06-04 14:14:27,026 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/20e99c42-2102-4a87-905d-06959a1ab71e
2026-06-04 14:14:27,034 - INFO - Verify VDNS record is shown in the control node
2026-06-04 14:14:27,054 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-04 14:14:27,054 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-06-04 14:14:28,247 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-04 14:14:28,247 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-06-04 14:14:28,781 - DEBUG - ping: unknown host vm1-test-alias
2026-06-04 14:14:28,781 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-30700130 failed
2026-06-04 14:14:29,781 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-04 14:14:29,781 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-06-04 14:14:31,016 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.6, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-04 14:14:31,017 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-06-04 14:14:33,566 - DEBUG - PING ctest-vm1-test-30700130.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-30700130.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.218 ms
64 bytes from ctest-vm1-test-30700130.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.220 ms
64 bytes from ctest-vm1-test-30700130.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.219 ms
--- ctest-vm1-test-30700130.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.218/0.219/0.220/0.000 ms
2026-06-04 14:14:33,566 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-30700130 passed
2026-06-04 14:14:33,566 - DEBUG - Deleting VDNS record data: test-rec
2026-06-04 14:14:33,661 - INFO - VDNS record info: default-domain:ctest-vdns1-93938673:test-rec deleted successfully.
2026-06-04 14:14:33,661 - INFO - Deleting VM ctest-vm2-test-45194016
2026-06-04 14:14:33,741 - INFO - Deleting VM ctest-vm1-test-30700130
2026-06-04 14:14:33,816 - INFO - Deleting VN ctest-vn1-vdns-26132993
2026-06-04 14:14:33,870 - DEBUG - VN c4301fda-8826-433c-8ebd-aeefbaa8f11d still in use: Unable to complete operation on network c4301fda-8826-433c-8ebd-aeefbaa8f11d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9024cd72-8f2e-45b8-9379-0aedad89f6c9']
2026-06-04 14:14:33,870 - WARNING - Deleting VN ctest-vn1-vdns-26132993 failed..Will retry
2026-06-04 14:14:36,049 - DEBUG - Response for deleting network ()
2026-06-04 14:14:36,102 - DEBUG - Deleting VDNS Entry: ctest-vdns1-93938673
2026-06-04 14:14:36,209 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-93938673'] deleted successfully.
2026-06-04 14:14:36,209 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-04 14:14:36,217 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2a691fd0-1018-439d-b1ef-8ad832fd41d9
2026-06-04 14:14:36,235 - DEBUG - VDNS information not found in API server
2026-06-04 14:14:36,235 - INFO - VDNS information ctest-vdns1-93938673 removed from the API Server
2026-06-04 14:14:36,243 - INFO - VDNS information ctest-vdns1-93938673 removed in the Control node
2026-06-04 14:14:36,243 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-31813676']
2026-06-04 14:14:37,521 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 14:14:37,521 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:25]
2026-06-04 14:14:37,521 - INFO - --------------------------------------------------------------------------------
2026-06-04 14:14:38,283 - INFO - Deleted project: ctest-TestvDNSBasic0-31813676, ID : c97f3e0e-0d96-4049-b7f6-3e446d5d8cbe