2026-05-25 03:23:04,954 - INFO - Domain Default found not creating
2026-05-25 03:23:05,191 - INFO - Project ctest-TestvDNSBasic0-03803636 not found, creating it
2026-05-25 03:23:05,822 - INFO - Created Project:ctest-TestvDNSBasic0-03803636, ID : 25d29888-2c6b-4309-8d36-74ac6f56db84
2026-05-25 03:23:07,603 - INFO - ================================================================================
2026-05-25 03:23:07,603 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-05-25 03:23:07,603 - 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-05-25 03:23:08,906 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.240': {'10.20.0.241': '0', '10.20.0.249': '0'}} with
2026-05-25 03:23:08,906 - INFO - Initial checks done. Running the testcase now
2026-05-25 03:23:08,906 - INFO -
2026-05-25 03:23:09,770 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-03803636'](25d29888-2c6b-4309-8d36-74ac6f56db84)
2026-05-25 03:23:09,836 - DEBUG - Creating VDNS : ctest-vdns1-87006513
2026-05-25 03:23:10,076 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-87006513'] created succesfully
2026-05-25 03:23:10,076 - DEBUG - Verify VDNS entry is shown in control node
2026-05-25 03:23:10,103 - DEBUG - Verify VDNS entry is shown in the API server
2026-05-25 03:23:10,103 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-05-25 03:23:10,418 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-05-25 03:23:10,469 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e8ff46f5-59ad-486b-ab96-d07259341f10
2026-05-25 03:23:10,491 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-DNS/1f0289aa-1ee7-43a8-9f0b-59e8eed5dc7f
2026-05-25 03:23:11,374 - DEBUG - Response for create_network : {'network': {'id': '36f62e92-fa08-4276-bd06-5fd7ff61e743', 'name': 'ctest-vn1-vdns-69747576', 'tenant_id': '25d298882c6b43098d3674ac6f56db84', 'project_id': '25d298882c6b43098d3674ac6f56db84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-03803636', 'ctest-vn1-vdns-69747576'], 'port_security_enabled': True, 'description': ''}}
2026-05-25 03:23:11,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e687961-9dc9-4069-b0bb-0e3628cd6ba0', 'name': '', 'tenant_id': '25d298882c6b43098d3674ac6f56db84', 'network_id': '36f62e92-fa08-4276-bd06-5fd7ff61e743', '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': '25d298882c6b43098d3674ac6f56db84'}}
2026-05-25 03:23:11,801 - INFO - Created VN ctest-vn1-vdns-69747576
2026-05-25 03:23:11,815 - DEBUG - VN ctest-vn1-vdns-69747576 UUID is 36f62e92-fa08-4276-bd06-5fd7ff61e743
2026-05-25 03:23:12,219 - DEBUG - Services list from nova: [, , , ]
2026-05-25 03:23:13,592 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5822-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5822-2)
2026-05-25 03:23:13,592 - INFO - Waiting for VM ctest-vm1-test-54284695 to be up..
2026-05-25 03:23:13,672 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-25 03:23:18,791 - DEBUG - VM is in ACTIVE state now
2026-05-25 03:23:18,791 - INFO - VM name : ctest-vm1-test-54284695
2026-05-25 03:23:18,896 - DEBUG - VM ctest-vm1-test-54284695 ID is 4327b8be-4b25-4ed9-838d-07de28c0fdfd
2026-05-25 03:23:18,896 - DEBUG - VM ctest-vm1-test-54284695 launched on Node an-jenkins-deploy-platform-ansible-os-5822-2
2026-05-25 03:23:19,004 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/4327b8be-4b25-4ed9-838d-07de28c0fdfd
2026-05-25 03:23:19,310 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/4327b8be-4b25-4ed9-838d-07de28c0fdfd
2026-05-25 03:23:19,355 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/0a9a1619-6ec9-4923-88b7-e3e299e4a538
2026-05-25 03:23:22,550 - 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 1024ms')
2026-05-25 03:23:22,551 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-54284695 failed!
2026-05-25 03:23:22,570 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:23:26,646 - 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-05-25 03:23:26,646 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-54284695 failed!
2026-05-25 03:23:26,666 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:23:30,742 - 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-05-25 03:23:30,742 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-54284695 failed!
2026-05-25 03:23:30,758 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:23:34,842 - 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-05-25 03:23:34,842 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-54284695 failed!
2026-05-25 03:23:34,861 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:23:38,938 - 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-05-25 03:23:38,938 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-54284695 failed!
2026-05-25 03:23:38,956 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:23:43,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 1016ms')
2026-05-25 03:23:43,036 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-54284695 failed!
2026-05-25 03:23:43,054 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:23:47,129 - 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 1009ms')
2026-05-25 03:23:47,129 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-54284695 failed!
2026-05-25 03:23:47,146 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:23:51,222 - 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-05-25 03:23:51,222 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-54284695 failed!
2026-05-25 03:23:51,241 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:23:55,320 - 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 1019ms')
2026-05-25 03:23:55,321 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-54284695 failed!
2026-05-25 03:23:55,339 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:23:57,406 - 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=16.9 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=6.14 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 6.136/11.522/16.908/5.386 ms')
2026-05-25 03:23:57,406 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-54284695 passed
2026-05-25 03:23:57,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 03:23:57,482 - DEBUG - Waiting to SSH to VM ctest-vm1-test-54284695, IP 10.10.10.3, Port 22
2026-05-25 03:23:57,549 - 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-05-25 03:23:57,678 - DEBUG - VM ctest-vm1-test-54284695 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-25 03:24:02,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 03:24:02,679 - DEBUG - Waiting to SSH to VM ctest-vm1-test-54284695, IP 10.10.10.3, Port 22
2026-05-25 03:24:02,745 - 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-05-25 03:24:02,856 - DEBUG - VM ctest-vm1-test-54284695 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-25 03:24:07,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 03:24:07,857 - DEBUG - Waiting to SSH to VM ctest-vm1-test-54284695, IP 10.10.10.3, Port 22
2026-05-25 03:24:07,925 - 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-05-25 03:24:08,017 - DEBUG - VM ctest-vm1-test-54284695 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-25 03:24:13,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 03:24:13,018 - DEBUG - Waiting to SSH to VM ctest-vm1-test-54284695, IP 10.10.10.3, Port 22
2026-05-25 03:24:13,090 - 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-05-25 03:24:13,198 - DEBUG - VM ctest-vm1-test-54284695 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-25 03:24:18,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 03:24:18,200 - DEBUG - Waiting to SSH to VM ctest-vm1-test-54284695, IP 10.10.10.3, Port 22
2026-05-25 03:24:18,265 - 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-05-25 03:24:18,376 - DEBUG - VM ctest-vm1-test-54284695 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-25 03:24:23,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 03:24:23,377 - DEBUG - Waiting to SSH to VM ctest-vm1-test-54284695, IP 10.10.10.3, Port 22
2026-05-25 03:24:23,556 - DEBUG - VM ctest-vm1-test-54284695 is ready for SSH connections
2026-05-25 03:24:23,557 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-25 03:24:23,557 - DEBUG - ifconfig | grep 10.10.10.3
2026-05-25 03:24:43,958 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-05-25 03:24:43,959 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-54284695", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-25 03:24:43,959 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-54284695", None, socket.AF_INET6)'
2026-05-25 03:24:45,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-54284695, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-25 03:24:45,337 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-54284695
2026-05-25 03:24:47,934 - DEBUG - PING ctest-vm1-test-54284695.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-54284695.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=5.93 ms
64 bytes from ctest-vm1-test-54284695.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.53 ms
64 bytes from ctest-vm1-test-54284695.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.373 ms
--- ctest-vm1-test-54284695.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.373/2.946/5.937/2.291 ms
2026-05-25 03:24:47,934 - INFO - Ping to IP ctest-vm1-test-54284695 from VM ctest-vm1-test-54284695 passed
2026-05-25 03:24:47,970 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-25 03:24:47,983 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87006513@0%20AllEntriesVdnsRecordsReq
2026-05-25 03:24:47,991 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-25 03:24:47,998 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87006513@0%20AllEntriesVdnsRecordsReq
2026-05-25 03:24:48,003 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-25 03:24:48,008 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87006513@0%20AllEntriesVdnsRecordsReq
2026-05-25 03:24:48,014 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87006513:1:ctest-vm1-test-54284695:10.10.10.3', 'rec_name': 'ctest-vm1-test-54284695', '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-5822-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-54284695.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-05-25 03:24:48,014 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87006513:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-54284695', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-54284695', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5822-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-54284695.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-05-25 03:24:49,530 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5822-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5822-1)
2026-05-25 03:24:49,530 - INFO - Waiting for VM ctest-vm2-test-81512227 to be up..
2026-05-25 03:24:49,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-25 03:24:54,683 - DEBUG - VM is in ACTIVE state now
2026-05-25 03:24:54,683 - INFO - VM name : ctest-vm2-test-81512227
2026-05-25 03:24:54,781 - DEBUG - VM ctest-vm2-test-81512227 ID is 598b7df2-a0b4-43b1-9b00-43713abbac99
2026-05-25 03:24:54,781 - DEBUG - VM ctest-vm2-test-81512227 launched on Node an-jenkins-deploy-platform-ansible-os-5822-1
2026-05-25 03:24:54,878 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/598b7df2-a0b4-43b1-9b00-43713abbac99
2026-05-25 03:24:54,890 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/d8367fd0-4933-46d2-8635-c27540ed6f12
2026-05-25 03:24:58,082 - 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-05-25 03:24:58,082 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-81512227 failed!
2026-05-25 03:24:58,102 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:25:02,180 - 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-05-25 03:25:02,180 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-81512227 failed!
2026-05-25 03:25:02,199 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:25:06,281 - 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 1005ms')
2026-05-25 03:25:06,281 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-81512227 failed!
2026-05-25 03:25:06,300 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:25:10,370 - 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 1008ms')
2026-05-25 03:25:10,370 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-81512227 failed!
2026-05-25 03:25:10,387 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:25:14,466 - 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 1017ms')
2026-05-25 03:25:14,467 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-81512227 failed!
2026-05-25 03:25:14,486 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:25:18,566 - 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-05-25 03:25:18,566 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-81512227 failed!
2026-05-25 03:25:18,585 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:25:22,658 - 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-05-25 03:25:22,658 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-81512227 failed!
2026-05-25 03:25:22,680 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:25:26,756 - 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-05-25 03:25:26,757 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-81512227 failed!
2026-05-25 03:25:26,776 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:25:30,852 - 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 1009ms')
2026-05-25 03:25:30,852 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-81512227 failed!
2026-05-25 03:25:30,871 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-03803636:ctest-vn1-vdns-69747576 is 10.10.10.1 and allocation pool is NOT set
2026-05-25 03:25:34,952 - 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.82 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 8.821/8.821/8.821/0.000 ms')
2026-05-25 03:25:34,952 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-81512227 passed
2026-05-25 03:25:35,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 03:25:35,027 - DEBUG - Waiting to SSH to VM ctest-vm2-test-81512227, IP 10.10.10.4, Port 22
2026-05-25 03:25:35,096 - 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-05-25 03:25:35,195 - DEBUG - VM ctest-vm2-test-81512227 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-25 03:25:40,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 03:25:40,196 - DEBUG - Waiting to SSH to VM ctest-vm2-test-81512227, IP 10.10.10.4, Port 22
2026-05-25 03:25:40,264 - 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-05-25 03:25:40,375 - DEBUG - VM ctest-vm2-test-81512227 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-25 03:25:45,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 03:25:45,376 - DEBUG - Waiting to SSH to VM ctest-vm2-test-81512227, IP 10.10.10.4, Port 22
2026-05-25 03:25:45,445 - 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-05-25 03:25:45,561 - DEBUG - VM ctest-vm2-test-81512227 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-25 03:25:50,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 03:25:50,562 - DEBUG - Waiting to SSH to VM ctest-vm2-test-81512227, IP 10.10.10.4, Port 22
2026-05-25 03:25:50,633 - 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-05-25 03:25:50,740 - DEBUG - VM ctest-vm2-test-81512227 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-25 03:25:55,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-25 03:25:55,741 - DEBUG - Waiting to SSH to VM ctest-vm2-test-81512227, IP 10.10.10.4, Port 22
2026-05-25 03:25:55,913 - DEBUG - VM ctest-vm2-test-81512227 is ready for SSH connections
2026-05-25 03:25:55,913 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2026-05-25 03:25:55,913 - DEBUG - ifconfig | grep 10.10.10.4
2026-05-25 03:26:19,277 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-05-25 03:26:19,277 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-81512227", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2026-05-25 03:26:19,277 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-81512227", None, socket.AF_INET6)'
2026-05-25 03:26:22,488 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-81512227, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2026-05-25 03:26:22,488 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-81512227
2026-05-25 03:26:25,651 - DEBUG - PING ctest-vm2-test-81512227.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-81512227.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.87 ms
64 bytes from ctest-vm2-test-81512227.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.316 ms
64 bytes from ctest-vm2-test-81512227.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.219 ms
--- ctest-vm2-test-81512227.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.219/1.137/2.878/1.231 ms
2026-05-25 03:26:25,651 - INFO - Ping to IP ctest-vm2-test-81512227 from VM ctest-vm2-test-81512227 passed
2026-05-25 03:26:25,680 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-25 03:26:25,687 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87006513@0%20AllEntriesVdnsRecordsReq
2026-05-25 03:26:25,696 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-25 03:26:25,704 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87006513@0%20AllEntriesVdnsRecordsReq
2026-05-25 03:26:25,712 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-25 03:26:25,718 - DEBUG - Requesting: http://10.0.0.73:8092/Snh_PageReq?x=default-domain:ctest-vdns1-87006513@0%20AllEntriesVdnsRecordsReq
2026-05-25 03:26:25,723 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87006513:1:ctest-vm2-test-81512227:10.10.10.4', 'rec_name': 'ctest-vm2-test-81512227', '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-5822-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-81512227.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-05-25 03:26:25,723 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-87006513:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-81512227', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-81512227', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5822-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-81512227.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-05-25 03:26:25,723 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-81512227", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-25 03:26:25,724 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-81512227", None, socket.AF_INET6)'
2026-05-25 03:26:27,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-81512227, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-05-25 03:26:27,010 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-81512227
2026-05-25 03:26:29,607 - DEBUG - PING ctest-vm2-test-81512227.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-81512227.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=11.9 ms
64 bytes from ctest-vm2-test-81512227.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.43 ms
64 bytes from ctest-vm2-test-81512227.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=2.04 ms
--- ctest-vm2-test-81512227.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.433/5.129/11.909/4.800 ms
2026-05-25 03:26:29,607 - INFO - Ping to IP ctest-vm2-test-81512227 from VM ctest-vm1-test-54284695 passed
2026-05-25 03:26:29,607 - INFO - Try deleting the VDNS entry ctest-vdns1-87006513 with back ref of ipam.
2026-05-25 03:26:29,672 - DEBUG - Delete when resource still referred: ['http://10.0.0.131:8082/network-ipam/df7fadd8-32f0-4de8-bfe5-89e0125e9f82']
2026-05-25 03:26:29,672 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-05-25 03:26:29,672 - INFO - Add CNAME VDNS record for ctest-vm1-test-54284695 and verify we able to ping by alias name
2026-05-25 03:26:29,720 - DEBUG - Creating VDNS record data : test-rec
2026-05-25 03:26:29,852 - INFO - In verify_on_setup
2026-05-25 03:26:29,952 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-87006513', 'test-rec'] created succesfully
2026-05-25 03:26:29,952 - INFO - Verify VDNS record is shown in the API server
2026-05-25 03:26:29,952 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-05-25 03:26:29,963 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e8ff46f5-59ad-486b-ab96-d07259341f10
2026-05-25 03:26:29,983 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-DNS/1f0289aa-1ee7-43a8-9f0b-59e8eed5dc7f
2026-05-25 03:26:29,998 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-DNS-record/d4978c69-5342-49ea-85f0-4116a7dc0086
2026-05-25 03:26:30,009 - INFO - Verify VDNS record is shown in the control node
2026-05-25 03:26:30,031 - 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.240, gateway password: c0ntrail123
2026-05-25 03:26:30,032 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-05-25 03:26:31,360 - 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.240, gateway password: c0ntrail123
2026-05-25 03:26:31,361 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-05-25 03:26:31,914 - DEBUG - ping: unknown host vm1-test-alias
2026-05-25 03:26:31,914 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-54284695 failed
2026-05-25 03:26:32,915 - 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.240, gateway password: c0ntrail123
2026-05-25 03:26:32,915 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-05-25 03:26:34,142 - 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.240, gateway password: c0ntrail123
2026-05-25 03:26:34,143 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-05-25 03:26:36,716 - DEBUG - PING ctest-vm1-test-54284695.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-54284695.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.283 ms
64 bytes from ctest-vm1-test-54284695.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.252 ms
64 bytes from ctest-vm1-test-54284695.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.250 ms
--- ctest-vm1-test-54284695.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.250/0.261/0.283/0.024 ms
2026-05-25 03:26:36,716 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-54284695 passed
2026-05-25 03:26:36,716 - DEBUG - Deleting VDNS record data: test-rec
2026-05-25 03:26:36,808 - INFO - VDNS record info: default-domain:ctest-vdns1-87006513:test-rec deleted successfully.
2026-05-25 03:26:36,808 - INFO - Deleting VM ctest-vm2-test-81512227
2026-05-25 03:26:36,893 - INFO - Deleting VM ctest-vm1-test-54284695
2026-05-25 03:26:36,990 - INFO - Deleting VN ctest-vn1-vdns-69747576
2026-05-25 03:26:37,040 - DEBUG - VN 36f62e92-fa08-4276-bd06-5fd7ff61e743 still in use: Unable to complete operation on network 36f62e92-fa08-4276-bd06-5fd7ff61e743. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2dae7083-cf90-481b-95f9-79a150b88c39']
2026-05-25 03:26:37,040 - WARNING - Deleting VN ctest-vn1-vdns-69747576 failed..Will retry
2026-05-25 03:26:39,265 - DEBUG - Response for deleting network ()
2026-05-25 03:26:39,338 - DEBUG - Deleting VDNS Entry: ctest-vdns1-87006513
2026-05-25 03:26:39,432 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-87006513'] deleted successfully.
2026-05-25 03:26:39,432 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-05-25 03:26:39,440 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e8ff46f5-59ad-486b-ab96-d07259341f10
2026-05-25 03:26:39,462 - DEBUG - VDNS information not found in API server
2026-05-25 03:26:39,462 - INFO - VDNS information ctest-vdns1-87006513 removed from the API Server
2026-05-25 03:26:39,469 - INFO - VDNS information ctest-vdns1-87006513 removed in the Control node
2026-05-25 03:26:39,469 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-03803636']
2026-05-25 03:26:40,773 - DEBUG - No XMPP flaps were noticed during the test
2026-05-25 03:26:40,773 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:33]
2026-05-25 03:26:40,773 - INFO - --------------------------------------------------------------------------------
2026-05-25 03:26:41,581 - INFO - Deleted project: ctest-TestvDNSBasic0-03803636, ID : 25d29888-2c6b-4309-8d36-74ac6f56db84