2026-03-26 03:21:42,626 - INFO - Domain Default found not creating
2026-03-26 03:21:42,822 - INFO - Project ctest-TestvDNSBasic0-73713439 not found, creating it
2026-03-26 03:21:43,430 - INFO - Created Project:ctest-TestvDNSBasic0-73713439, ID : 0a48bcb5-5cca-403d-aaf9-95d8022e48a5
2026-03-26 03:21:45,121 - INFO - ================================================================================
2026-03-26 03:21:45,121 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-03-26 03:21:45,121 - 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-03-26 03:21:46,408 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0', '10.20.0.14': '0'}, '10.0.0.23': {'10.20.0.254': '0', '10.20.0.18': '0'}} with
2026-03-26 03:21:46,408 - INFO - Initial checks done. Running the testcase now
2026-03-26 03:21:46,408 - INFO -
2026-03-26 03:21:47,254 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-73713439'](0a48bcb5-5cca-403d-aaf9-95d8022e48a5)
2026-03-26 03:21:47,311 - DEBUG - Creating VDNS : ctest-vdns1-66869543
2026-03-26 03:21:47,539 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-66869543'] created succesfully
2026-03-26 03:21:47,539 - DEBUG - Verify VDNS entry is shown in control node
2026-03-26 03:21:47,560 - DEBUG - Verify VDNS entry is shown in the API server
2026-03-26 03:21:47,560 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-03-26 03:21:47,910 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-03-26 03:21:47,946 - DEBUG - Requesting: http://10.0.0.240:8082/domain/b07ef41d-f358-4169-a694-2c6c20158c87
2026-03-26 03:21:47,965 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-DNS/c89bcdba-57d6-43c2-99a8-d1f2b79230ae
2026-03-26 03:21:48,705 - DEBUG - Response for create_network : {'network': {'id': 'c6509405-a72a-4b18-a156-e0fa030645d1', 'name': 'ctest-vn1-vdns-24780571', 'tenant_id': '0a48bcb55cca403daaf995d8022e48a5', 'project_id': '0a48bcb55cca403daaf995d8022e48a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-73713439', 'ctest-vn1-vdns-24780571'], 'port_security_enabled': True, 'description': ''}}
2026-03-26 03:21:49,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fdef074-aaa3-4d56-a53a-f03e38b1dcf1', 'name': '', 'tenant_id': '0a48bcb55cca403daaf995d8022e48a5', 'network_id': 'c6509405-a72a-4b18-a156-e0fa030645d1', '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': '0a48bcb55cca403daaf995d8022e48a5'}}
2026-03-26 03:21:49,047 - INFO - Created VN ctest-vn1-vdns-24780571
2026-03-26 03:21:49,060 - DEBUG - VN ctest-vn1-vdns-24780571 UUID is c6509405-a72a-4b18-a156-e0fa030645d1
2026-03-26 03:21:49,411 - DEBUG - Services list from nova: [, , , ]
2026-03-26 03:21:50,596 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5545-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5545-2)
2026-03-26 03:21:50,596 - INFO - Waiting for VM ctest-vm1-test-43193165 to be up..
2026-03-26 03:21:50,643 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-26 03:21:55,736 - DEBUG - VM is in ACTIVE state now
2026-03-26 03:21:55,736 - INFO - VM name : ctest-vm1-test-43193165
2026-03-26 03:21:55,820 - DEBUG - VM ctest-vm1-test-43193165 ID is 7accf7cb-a1eb-4bf8-98f4-54f4b50db58d
2026-03-26 03:21:55,820 - DEBUG - VM ctest-vm1-test-43193165 launched on Node an-jenkins-deploy-platform-ansible-os-5545-2
2026-03-26 03:21:55,909 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7accf7cb-a1eb-4bf8-98f4-54f4b50db58d
2026-03-26 03:21:56,272 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7accf7cb-a1eb-4bf8-98f4-54f4b50db58d
2026-03-26 03:21:56,313 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/9d8b5270-746a-4505-98ee-f9efb59a6029
2026-03-26 03:21:59,491 - 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-03-26 03:21:59,492 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-43193165 failed!
2026-03-26 03:21:59,507 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:22:03,592 - 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-03-26 03:22:03,592 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-43193165 failed!
2026-03-26 03:22:03,607 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:22:07,689 - 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-03-26 03:22:07,689 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-43193165 failed!
2026-03-26 03:22:07,703 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:22:11,781 - 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-03-26 03:22:11,781 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-43193165 failed!
2026-03-26 03:22:11,799 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:22:15,879 - 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-03-26 03:22:15,879 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-43193165 failed!
2026-03-26 03:22:15,895 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:22:19,969 - 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-03-26 03:22:19,969 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-43193165 failed!
2026-03-26 03:22:19,983 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:22:24,073 - 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 1023ms')
2026-03-26 03:22:24,073 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-43193165 failed!
2026-03-26 03:22:24,089 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:22:28,161 - 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-03-26 03:22:28,161 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-43193165 failed!
2026-03-26 03:22:28,175 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:22:30,240 - 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=9.04 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.78 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.784/5.912/9.041/3.128 ms')
2026-03-26 03:22:30,240 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm1-test-43193165 passed
2026-03-26 03:22:30,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-26 03:22:30,308 - DEBUG - Waiting to SSH to VM ctest-vm1-test-43193165, IP 10.10.10.3, Port 22
2026-03-26 03:22:30,377 - 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-03-26 03:22:30,468 - DEBUG - VM ctest-vm1-test-43193165 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-26 03:22:35,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-26 03:22:35,470 - DEBUG - Waiting to SSH to VM ctest-vm1-test-43193165, IP 10.10.10.3, Port 22
2026-03-26 03:22:35,536 - 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-03-26 03:22:35,642 - DEBUG - VM ctest-vm1-test-43193165 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-26 03:22:40,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-26 03:22:40,643 - DEBUG - Waiting to SSH to VM ctest-vm1-test-43193165, IP 10.10.10.3, Port 22
2026-03-26 03:22:40,714 - 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-03-26 03:22:40,817 - DEBUG - VM ctest-vm1-test-43193165 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-26 03:22:45,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-26 03:22:45,817 - DEBUG - Waiting to SSH to VM ctest-vm1-test-43193165, IP 10.10.10.3, Port 22
2026-03-26 03:22:45,884 - 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-03-26 03:22:45,967 - DEBUG - VM ctest-vm1-test-43193165 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-26 03:22:50,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-26 03:22:50,968 - DEBUG - Waiting to SSH to VM ctest-vm1-test-43193165, IP 10.10.10.3, Port 22
2026-03-26 03:22:51,136 - DEBUG - VM ctest-vm1-test-43193165 is ready for SSH connections
2026-03-26 03:22:51,137 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-03-26 03:22:51,137 - DEBUG - ifconfig | grep 10.10.10.3
2026-03-26 03:23:09,077 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-03-26 03:23:09,078 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-43193165", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-03-26 03:23:09,078 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-43193165", None, socket.AF_INET6)'
2026-03-26 03:23:10,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-43193165, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-03-26 03:23:10,348 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-43193165
2026-03-26 03:23:12,864 - DEBUG - PING ctest-vm1-test-43193165.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-43193165.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.67 ms
64 bytes from ctest-vm1-test-43193165.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.244 ms
64 bytes from ctest-vm1-test-43193165.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.175 ms
--- ctest-vm1-test-43193165.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.175/1.698/4.677/2.106 ms
2026-03-26 03:23:12,864 - INFO - Ping to IP ctest-vm1-test-43193165 from VM ctest-vm1-test-43193165 passed
2026-03-26 03:23:12,895 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-26 03:23:12,907 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66869543@0%20AllEntriesVdnsRecordsReq
2026-03-26 03:23:12,914 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-26 03:23:12,930 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66869543@0%20AllEntriesVdnsRecordsReq
2026-03-26 03:23:12,938 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-26 03:23:12,950 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66869543@0%20AllEntriesVdnsRecordsReq
2026-03-26 03:23:12,963 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-66869543:1:ctest-vm1-test-43193165:10.10.10.3', 'rec_name': 'ctest-vm1-test-43193165', '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-5545-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-43193165.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-03-26 03:23:12,963 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-66869543:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-43193165', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-43193165', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5545-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-43193165.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-03-26 03:23:14,503 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5545-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5545-1)
2026-03-26 03:23:14,503 - INFO - Waiting for VM ctest-vm2-test-49364609 to be up..
2026-03-26 03:23:14,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-26 03:23:19,655 - DEBUG - VM is in ACTIVE state now
2026-03-26 03:23:19,655 - INFO - VM name : ctest-vm2-test-49364609
2026-03-26 03:23:19,746 - DEBUG - VM ctest-vm2-test-49364609 ID is 408b210d-b562-4b7f-9bdc-34013b0c26f7
2026-03-26 03:23:19,746 - DEBUG - VM ctest-vm2-test-49364609 launched on Node an-jenkins-deploy-platform-ansible-os-5545-1
2026-03-26 03:23:19,841 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/408b210d-b562-4b7f-9bdc-34013b0c26f7
2026-03-26 03:23:19,854 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/f1a03392-ea71-4437-8ddc-aa6b594aca93
2026-03-26 03:23:23,048 - 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 1031ms')
2026-03-26 03:23:23,048 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-49364609 failed!
2026-03-26 03:23:23,063 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:23:27,141 - 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-03-26 03:23:27,141 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-49364609 failed!
2026-03-26 03:23:27,159 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:23:31,241 - 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-03-26 03:23:31,241 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-49364609 failed!
2026-03-26 03:23:31,257 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:23:35,337 - 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-03-26 03:23:35,337 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-49364609 failed!
2026-03-26 03:23:35,350 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:23:39,431 - 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-03-26 03:23:39,431 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-49364609 failed!
2026-03-26 03:23:39,451 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:23:43,529 - 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-03-26 03:23:43,529 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-49364609 failed!
2026-03-26 03:23:43,542 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:23:47,626 - 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-03-26 03:23:47,626 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-49364609 failed!
2026-03-26 03:23:47,639 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:23:51,722 - 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-03-26 03:23:51,722 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-49364609 failed!
2026-03-26 03:23:51,738 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-73713439:ctest-vn1-vdns-24780571 is 10.10.10.1 and allocation pool is NOT set
2026-03-26 03:23:53,806 - 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=10.3 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.59 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.585/6.460/10.336/3.875 ms')
2026-03-26 03:23:53,806 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-vm2-test-49364609 passed
2026-03-26 03:23:53,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-26 03:23:53,873 - DEBUG - Waiting to SSH to VM ctest-vm2-test-49364609, IP 10.10.10.4, Port 22
2026-03-26 03:23:53,942 - 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-03-26 03:23:54,032 - DEBUG - VM ctest-vm2-test-49364609 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-26 03:23:59,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-26 03:23:59,034 - DEBUG - Waiting to SSH to VM ctest-vm2-test-49364609, IP 10.10.10.4, Port 22
2026-03-26 03:23:59,092 - 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-03-26 03:23:59,178 - DEBUG - VM ctest-vm2-test-49364609 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-26 03:24:04,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-26 03:24:04,179 - DEBUG - Waiting to SSH to VM ctest-vm2-test-49364609, IP 10.10.10.4, Port 22
2026-03-26 03:24:04,247 - 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-03-26 03:24:04,331 - DEBUG - VM ctest-vm2-test-49364609 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-26 03:24:09,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-26 03:24:09,331 - DEBUG - Waiting to SSH to VM ctest-vm2-test-49364609, IP 10.10.10.4, Port 22
2026-03-26 03:24:09,498 - DEBUG - VM ctest-vm2-test-49364609 is ready for SSH connections
2026-03-26 03:24:09,499 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-03-26 03:24:09,499 - DEBUG - ifconfig | grep 10.10.10.4
2026-03-26 03:24:29,008 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-03-26 03:24:29,008 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-49364609", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-03-26 03:24:29,008 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-49364609", None, socket.AF_INET6)'
2026-03-26 03:24:31,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-49364609, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-03-26 03:24:31,523 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-49364609
2026-03-26 03:24:34,544 - DEBUG - PING ctest-vm2-test-49364609.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-49364609.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.70 ms
64 bytes from ctest-vm2-test-49364609.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.254 ms
64 bytes from ctest-vm2-test-49364609.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.323 ms
--- ctest-vm2-test-49364609.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.254/1.095/2.708/1.140 ms
2026-03-26 03:24:34,544 - INFO - Ping to IP ctest-vm2-test-49364609 from VM ctest-vm2-test-49364609 passed
2026-03-26 03:24:34,573 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-26 03:24:34,582 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66869543@0%20AllEntriesVdnsRecordsReq
2026-03-26 03:24:34,588 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-26 03:24:34,593 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66869543@0%20AllEntriesVdnsRecordsReq
2026-03-26 03:24:34,599 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-26 03:24:34,605 - DEBUG - Requesting: http://10.0.0.240:8092/Snh_PageReq?x=default-domain:ctest-vdns1-66869543@0%20AllEntriesVdnsRecordsReq
2026-03-26 03:24:34,613 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-66869543:1:ctest-vm2-test-49364609:10.10.10.4', 'rec_name': 'ctest-vm2-test-49364609', '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-5545-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-49364609.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-03-26 03:24:34,613 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-66869543:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-49364609', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-49364609', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5545-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-49364609.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-03-26 03:24:34,613 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-49364609", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-03-26 03:24:34,613 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-49364609", None, socket.AF_INET6)'
2026-03-26 03:24:35,759 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-49364609, host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-03-26 03:24:35,759 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-49364609
2026-03-26 03:24:38,293 - DEBUG - PING ctest-vm2-test-49364609.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-49364609.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.5 ms
64 bytes from ctest-vm2-test-49364609.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.12 ms
64 bytes from ctest-vm2-test-49364609.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.976 ms
--- ctest-vm2-test-49364609.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.976/4.211/10.538/4.474 ms
2026-03-26 03:24:38,294 - INFO - Ping to IP ctest-vm2-test-49364609 from VM ctest-vm1-test-43193165 passed
2026-03-26 03:24:38,294 - INFO - Try deleting the VDNS entry ctest-vdns1-66869543 with back ref of ipam.
2026-03-26 03:24:38,367 - DEBUG - Delete when resource still referred: ['http://10.0.0.65:8082/network-ipam/88d4f98f-da12-4bb4-904b-af3d489a9119']
2026-03-26 03:24:38,367 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-03-26 03:24:38,367 - INFO - Add CNAME VDNS record for ctest-vm1-test-43193165 and verify we able to ping by alias name
2026-03-26 03:24:38,419 - DEBUG - Creating VDNS record data : test-rec
2026-03-26 03:24:38,543 - INFO - In verify_on_setup
2026-03-26 03:24:38,639 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-66869543', 'test-rec'] created succesfully
2026-03-26 03:24:38,639 - INFO - Verify VDNS record is shown in the API server
2026-03-26 03:24:38,639 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-03-26 03:24:38,647 - DEBUG - Requesting: http://10.0.0.240:8082/domain/b07ef41d-f358-4169-a694-2c6c20158c87
2026-03-26 03:24:38,666 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-DNS/c89bcdba-57d6-43c2-99a8-d1f2b79230ae
2026-03-26 03:24:38,680 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-DNS-record/f93b2b92-9c26-4ef6-a752-8244d468bb82
2026-03-26 03:24:38,689 - INFO - Verify VDNS record is shown in the control node
2026-03-26 03:24:38,707 - 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.23, gateway password: c0ntrail123
2026-03-26 03:24:38,707 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-03-26 03:24:39,826 - 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.23, gateway password: c0ntrail123
2026-03-26 03:24:39,827 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-03-26 03:24:40,341 - DEBUG - ping: unknown host vm1-test-alias
2026-03-26 03:24:40,341 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-43193165 failed
2026-03-26 03:24:41,342 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.5, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-03-26 03:24:41,342 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-03-26 03:24:42,473 - 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.23, gateway password: c0ntrail123
2026-03-26 03:24:42,474 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-03-26 03:24:44,991 - DEBUG - PING ctest-vm1-test-43193165.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-43193165.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.218 ms
64 bytes from ctest-vm1-test-43193165.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.197 ms
64 bytes from ctest-vm1-test-43193165.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.220 ms
--- ctest-vm1-test-43193165.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.197/0.211/0.220/0.019 ms
2026-03-26 03:24:44,991 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-43193165 passed
2026-03-26 03:24:44,992 - DEBUG - Deleting VDNS record data: test-rec
2026-03-26 03:24:45,079 - INFO - VDNS record info: default-domain:ctest-vdns1-66869543:test-rec deleted successfully.
2026-03-26 03:24:45,079 - INFO - Deleting VM ctest-vm2-test-49364609
2026-03-26 03:24:45,151 - INFO - Deleting VM ctest-vm1-test-43193165
2026-03-26 03:24:45,222 - INFO - Deleting VN ctest-vn1-vdns-24780571
2026-03-26 03:24:45,264 - DEBUG - VN c6509405-a72a-4b18-a156-e0fa030645d1 still in use: Unable to complete operation on network c6509405-a72a-4b18-a156-e0fa030645d1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-14786fdc-03dc-450c-868d-3bb046b6b45b']
2026-03-26 03:24:45,264 - WARNING - Deleting VN ctest-vn1-vdns-24780571 failed..Will retry
2026-03-26 03:24:47,478 - DEBUG - Response for deleting network ()
2026-03-26 03:24:47,562 - DEBUG - Deleting VDNS Entry: ctest-vdns1-66869543
2026-03-26 03:24:47,675 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-66869543'] deleted successfully.
2026-03-26 03:24:47,676 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-03-26 03:24:47,683 - DEBUG - Requesting: http://10.0.0.240:8082/domain/b07ef41d-f358-4169-a694-2c6c20158c87
2026-03-26 03:24:47,697 - DEBUG - VDNS information not found in API server
2026-03-26 03:24:47,697 - INFO - VDNS information ctest-vdns1-66869543 removed from the API Server
2026-03-26 03:24:47,702 - INFO - VDNS information ctest-vdns1-66869543 removed in the Control node
2026-03-26 03:24:47,702 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-73713439']
2026-03-26 03:24:48,994 - DEBUG - No XMPP flaps were noticed during the test
2026-03-26 03:24:48,994 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:03]
2026-03-26 03:24:48,994 - INFO - --------------------------------------------------------------------------------
2026-03-26 03:24:49,817 - INFO - Deleted project: ctest-TestvDNSBasic0-73713439, ID : 0a48bcb5-5cca-403d-aaf9-95d8022e48a5