2026-01-26 03:07:55,066 - INFO - Domain Default found not creating
2026-01-26 03:07:55,227 - INFO - Project ctest-TestvDNSBasic0-60024256 not found, creating it
2026-01-26 03:07:55,770 - INFO - Created Project:ctest-TestvDNSBasic0-60024256, ID : 9b567c29-9b45-4708-a550-a5351895df8d
2026-01-26 03:07:57,277 - INFO - ================================================================================
2026-01-26 03:07:57,277 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-01-26 03:07:57,277 - INFO - TEST DESCRIPTION :
Test:- Test vdns functionality. On VM launch agent should dynamically update dns records to dns agent
1. Create vDNS server
2. Create IPAM using above vDNS data
3. Create VN using above IPAM and launch 2 VM's within it
4. Ping between these 2 VM's using dns name
5. Try to delete vDNS server which has IPAM back-reference[Negative case]
6. Add CNAME VDNS record for vm1-test and verify we able to ping by alias name
Pass criteria: Step 4,5 and 6 should pass
Maintainer: cf-test@juniper.net
2026-01-26 03:07:58,576 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}, '10.0.0.130': {'10.20.0.25': '0', '10.20.0.129': '0'}} with
2026-01-26 03:07:58,576 - INFO - Initial checks done. Running the testcase now
2026-01-26 03:07:58,576 - INFO -
2026-01-26 03:07:59,523 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-60024256'](9b567c29-9b45-4708-a550-a5351895df8d)
2026-01-26 03:07:59,576 - DEBUG - Creating VDNS : ctest-vdns1-25721793
2026-01-26 03:07:59,816 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-25721793'] created succesfully
2026-01-26 03:07:59,816 - DEBUG - Verify VDNS entry is shown in control node
2026-01-26 03:07:59,836 - DEBUG - Verify VDNS entry is shown in the API server
2026-01-26 03:07:59,837 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-26 03:08:00,140 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-26 03:08:00,173 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80
2026-01-26 03:08:00,192 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS/485554d0-d11b-4edd-bed7-12cd41bb8722
2026-01-26 03:08:01,008 - DEBUG - Response for create_network : {'network': {'id': '8f6792a0-55f4-4297-b492-3e51d4179eeb', 'name': 'ctest-vn1-vdns-06697482', 'tenant_id': '9b567c299b454708a550a5351895df8d', 'project_id': '9b567c299b454708a550a5351895df8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-60024256', 'ctest-vn1-vdns-06697482'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 03:08:01,344 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ac5440c-af7d-4c1c-b838-1ca493f125ad', 'name': '', 'tenant_id': '9b567c299b454708a550a5351895df8d', 'network_id': '8f6792a0-55f4-4297-b492-3e51d4179eeb', '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': '9b567c299b454708a550a5351895df8d'}}
2026-01-26 03:08:01,376 - INFO - Created VN ctest-vn1-vdns-06697482
2026-01-26 03:08:01,388 - DEBUG - VN ctest-vn1-vdns-06697482 UUID is 8f6792a0-55f4-4297-b492-3e51d4179eeb
2026-01-26 03:08:01,618 - DEBUG - Services list from nova: [, , , ]
2026-01-26 03:08:02,876 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5076-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5076-1)
2026-01-26 03:08:02,876 - INFO - Waiting for VM ctest-vm1-test-96095846 to be up..
2026-01-26 03:08:02,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-26 03:08:08,011 - DEBUG - VM is in ACTIVE state now
2026-01-26 03:08:08,011 - INFO - VM name : ctest-vm1-test-96095846
2026-01-26 03:08:08,105 - DEBUG - VM ctest-vm1-test-96095846 ID is 2a01643f-15ab-46c0-b787-cde251187837
2026-01-26 03:08:08,105 - DEBUG - VM ctest-vm1-test-96095846 launched on Node an-jenkins-deploy-platform-ansible-os-5076-1
2026-01-26 03:08:08,202 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/2a01643f-15ab-46c0-b787-cde251187837
2026-01-26 03:08:08,501 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/2a01643f-15ab-46c0-b787-cde251187837
2026-01-26 03:08:08,541 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/f745a208-eb09-4f45-913b-a3a8c89ab0d7
2026-01-26 03:08:11,730 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms')
2026-01-26 03:08:11,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96095846 failed!
2026-01-26 03:08:11,745 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:08:15,824 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2026-01-26 03:08:15,824 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96095846 failed!
2026-01-26 03:08:15,838 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:08:19,922 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms')
2026-01-26 03:08:19,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96095846 failed!
2026-01-26 03:08:19,936 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:08:24,017 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2026-01-26 03:08:24,017 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96095846 failed!
2026-01-26 03:08:24,031 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:08:28,110 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-01-26 03:08:28,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96095846 failed!
2026-01-26 03:08:28,123 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:08:32,204 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-01-26 03:08:32,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96095846 failed!
2026-01-26 03:08:32,220 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:08:36,303 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-01-26 03:08:36,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96095846 failed!
2026-01-26 03:08:36,319 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:08:40,399 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-01-26 03:08:40,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96095846 failed!
2026-01-26 03:08:40,413 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:08:44,494 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.53 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 4.533/4.533/4.533/0.000 ms')
2026-01-26 03:08:44,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96095846 passed
2026-01-26 03:08:44,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 03:08:44,573 - DEBUG - Waiting to SSH to VM ctest-vm1-test-96095846, IP 10.10.10.3, Port 22
2026-01-26 03:08:44,641 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-01-26 03:08:44,887 - DEBUG - VM ctest-vm1-test-96095846 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-26 03:08:49,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 03:08:49,887 - DEBUG - Waiting to SSH to VM ctest-vm1-test-96095846, IP 10.10.10.3, Port 22
2026-01-26 03:08:49,953 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-01-26 03:08:50,040 - DEBUG - VM ctest-vm1-test-96095846 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-26 03:08:55,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 03:08:55,041 - DEBUG - Waiting to SSH to VM ctest-vm1-test-96095846, IP 10.10.10.3, Port 22
2026-01-26 03:08:55,109 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-01-26 03:08:55,195 - DEBUG - VM ctest-vm1-test-96095846 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-26 03:09:00,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 03:09:00,196 - DEBUG - Waiting to SSH to VM ctest-vm1-test-96095846, IP 10.10.10.3, Port 22
2026-01-26 03:09:00,265 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-01-26 03:09:00,368 - DEBUG - VM ctest-vm1-test-96095846 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-26 03:09:05,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 03:09:05,369 - DEBUG - Waiting to SSH to VM ctest-vm1-test-96095846, IP 10.10.10.3, Port 22
2026-01-26 03:09:05,531 - DEBUG - VM ctest-vm1-test-96095846 is ready for SSH connections
2026-01-26 03:09:05,531 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-26 03:09:05,531 - DEBUG - ifconfig | grep 10.10.10.3
2026-01-26 03:09:25,708 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-01-26 03:09:25,708 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96095846", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-26 03:09:25,709 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96095846", None, socket.AF_INET6)'
2026-01-26 03:09:27,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96095846, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-26 03:09:27,976 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96095846
2026-01-26 03:09:30,502 - DEBUG - PING ctest-vm1-test-96095846.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-96095846.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.20 ms
64 bytes from ctest-vm1-test-96095846.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.234 ms
64 bytes from ctest-vm1-test-96095846.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.182 ms
--- ctest-vm1-test-96095846.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.182/1.539/4.201/1.882 ms
2026-01-26 03:09:30,502 - INFO - Ping to IP ctest-vm1-test-96095846 from VM ctest-vm1-test-96095846 passed
2026-01-26 03:09:30,525 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-26 03:09:30,533 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-25721793@0%20AllEntriesVdnsRecordsReq
2026-01-26 03:09:30,538 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-26 03:09:30,542 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-25721793@0%20AllEntriesVdnsRecordsReq
2026-01-26 03:09:30,549 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-26 03:09:30,555 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-25721793@0%20AllEntriesVdnsRecordsReq
2026-01-26 03:09:30,561 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-25721793:1:ctest-vm1-test-96095846:10.10.10.3', 'rec_name': 'ctest-vm1-test-96095846', '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-5076-1/dns'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-96095846.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-01-26 03:09:30,561 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-25721793:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-96095846', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-96095846', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5076-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-96095846.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '3.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'}
2026-01-26 03:09:31,787 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5076-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5076-2)
2026-01-26 03:09:31,787 - INFO - Waiting for VM ctest-vm2-test-67670359 to be up..
2026-01-26 03:09:31,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-26 03:09:36,916 - DEBUG - VM is in ACTIVE state now
2026-01-26 03:09:36,916 - INFO - VM name : ctest-vm2-test-67670359
2026-01-26 03:09:36,997 - DEBUG - VM ctest-vm2-test-67670359 ID is 4e4b2b7e-5c2f-4cae-b49c-4a3eb8917d5d
2026-01-26 03:09:36,997 - DEBUG - VM ctest-vm2-test-67670359 launched on Node an-jenkins-deploy-platform-ansible-os-5076-2
2026-01-26 03:09:37,082 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/4e4b2b7e-5c2f-4cae-b49c-4a3eb8917d5d
2026-01-26 03:09:37,093 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/57cb2270-d6df-4c6f-94e7-27c01310546c
2026-01-26 03:09:40,285 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1025ms')
2026-01-26 03:09:40,285 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67670359 failed!
2026-01-26 03:09:40,298 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:09:44,377 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-01-26 03:09:44,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67670359 failed!
2026-01-26 03:09:44,392 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:09:48,477 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-01-26 03:09:48,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67670359 failed!
2026-01-26 03:09:48,492 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:09:52,570 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-01-26 03:09:52,570 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67670359 failed!
2026-01-26 03:09:52,585 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:09:56,665 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-01-26 03:09:56,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67670359 failed!
2026-01-26 03:09:56,681 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:10:00,769 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms')
2026-01-26 03:10:00,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67670359 failed!
2026-01-26 03:10:00,786 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:10:04,863 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-01-26 03:10:04,863 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67670359 failed!
2026-01-26 03:10:04,876 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:10:08,961 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2026-01-26 03:10:08,961 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67670359 failed!
2026-01-26 03:10:08,977 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:10:13,055 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2026-01-26 03:10:13,056 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67670359 failed!
2026-01-26 03:10:13,069 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-60024256:ctest-vn1-vdns-06697482 is 10.10.10.1 and allocation pool is NOT set
2026-01-26 03:10:15,136 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.31 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.313/3.827/6.341/2.514 ms')
2026-01-26 03:10:15,136 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67670359 passed
2026-01-26 03:10:15,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 03:10:15,206 - DEBUG - Waiting to SSH to VM ctest-vm2-test-67670359, IP 10.10.10.4, Port 22
2026-01-26 03:10:15,271 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-01-26 03:10:15,369 - DEBUG - VM ctest-vm2-test-67670359 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-26 03:10:20,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 03:10:20,370 - DEBUG - Waiting to SSH to VM ctest-vm2-test-67670359, IP 10.10.10.4, Port 22
2026-01-26 03:10:20,437 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-01-26 03:10:20,528 - DEBUG - VM ctest-vm2-test-67670359 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-26 03:10:25,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 03:10:25,529 - DEBUG - Waiting to SSH to VM ctest-vm2-test-67670359, IP 10.10.10.4, Port 22
2026-01-26 03:10:25,596 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-01-26 03:10:25,674 - DEBUG - VM ctest-vm2-test-67670359 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-26 03:10:30,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 03:10:30,675 - DEBUG - Waiting to SSH to VM ctest-vm2-test-67670359, IP 10.10.10.4, Port 22
2026-01-26 03:10:30,743 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-01-26 03:10:30,852 - DEBUG - VM ctest-vm2-test-67670359 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-26 03:10:35,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 03:10:35,853 - DEBUG - Waiting to SSH to VM ctest-vm2-test-67670359, IP 10.10.10.4, Port 22
2026-01-26 03:10:36,024 - DEBUG - VM ctest-vm2-test-67670359 is ready for SSH connections
2026-01-26 03:10:36,025 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2026-01-26 03:10:36,025 - DEBUG - ifconfig | grep 10.10.10.4
2026-01-26 03:10:55,584 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-01-26 03:10:55,584 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-67670359", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2026-01-26 03:10:55,584 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-67670359", None, socket.AF_INET6)'
2026-01-26 03:10:57,910 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-67670359, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2026-01-26 03:10:57,911 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-67670359
2026-01-26 03:11:00,439 - DEBUG - PING ctest-vm2-test-67670359.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-67670359.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.55 ms
64 bytes from ctest-vm2-test-67670359.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.436 ms
64 bytes from ctest-vm2-test-67670359.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.205 ms
--- ctest-vm2-test-67670359.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.205/1.732/4.555/1.998 ms
2026-01-26 03:11:00,439 - INFO - Ping to IP ctest-vm2-test-67670359 from VM ctest-vm2-test-67670359 passed
2026-01-26 03:11:00,463 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-26 03:11:00,470 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-25721793@0%20AllEntriesVdnsRecordsReq
2026-01-26 03:11:00,476 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-26 03:11:00,482 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-25721793@0%20AllEntriesVdnsRecordsReq
2026-01-26 03:11:00,489 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-01-26 03:11:00,494 - DEBUG - Requesting: http://10.0.0.141:8092/Snh_PageReq?x=default-domain:ctest-vdns1-25721793@0%20AllEntriesVdnsRecordsReq
2026-01-26 03:11:00,500 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-25721793:1:ctest-vm2-test-67670359:10.10.10.4', 'rec_name': 'ctest-vm2-test-67670359', '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-5076-2/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-67670359.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-01-26 03:11:00,500 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-25721793:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-67670359', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-67670359', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5076-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-67670359.juniper.net', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': '4.10.10.10.in-addr.arpa', 'installed': 'yes', 'zone': '10.10.10.in-addr.arpa'}
2026-01-26 03:11:00,500 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-67670359", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-26 03:11:00,500 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-67670359", None, socket.AF_INET6)'
2026-01-26 03:11:01,811 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-67670359, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-26 03:11:01,811 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-67670359
2026-01-26 03:11:04,376 - DEBUG - PING ctest-vm2-test-67670359.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-67670359.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.3 ms
64 bytes from ctest-vm2-test-67670359.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.81 ms
64 bytes from ctest-vm2-test-67670359.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.54 ms
--- ctest-vm2-test-67670359.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.540/4.581/10.385/4.105 ms
2026-01-26 03:11:04,376 - INFO - Ping to IP ctest-vm2-test-67670359 from VM ctest-vm1-test-96095846 passed
2026-01-26 03:11:04,376 - INFO - Try deleting the VDNS entry ctest-vdns1-25721793 with back ref of ipam.
2026-01-26 03:11:04,436 - DEBUG - Delete when resource still referred: ['http://10.0.0.240:8082/network-ipam/eafeb86a-c6eb-43d9-aef9-5efb4737828a']
2026-01-26 03:11:04,436 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-01-26 03:11:04,436 - INFO - Add CNAME VDNS record for ctest-vm1-test-96095846 and verify we able to ping by alias name
2026-01-26 03:11:04,484 - DEBUG - Creating VDNS record data : test-rec
2026-01-26 03:11:04,612 - INFO - In verify_on_setup
2026-01-26 03:11:04,712 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-25721793', 'test-rec'] created succesfully
2026-01-26 03:11:04,712 - INFO - Verify VDNS record is shown in the API server
2026-01-26 03:11:04,713 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-26 03:11:04,720 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80
2026-01-26 03:11:04,734 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS/485554d0-d11b-4edd-bed7-12cd41bb8722
2026-01-26 03:11:04,748 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-DNS-record/9e3cbee2-d07c-4189-9ce8-625b1a2cc9e1
2026-01-26 03:11:04,755 - INFO - Verify VDNS record is shown in the control node
2026-01-26 03:11:04,778 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-26 03:11:04,778 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-01-26 03:11:06,018 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-26 03:11:06,018 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-01-26 03:11:06,526 - DEBUG - ping: unknown host vm1-test-alias
2026-01-26 03:11:06,526 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-96095846 failed
2026-01-26 03:11:07,527 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-26 03:11:07,527 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-01-26 03:11:08,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-26 03:11:08,671 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-01-26 03:11:11,240 - DEBUG - PING ctest-vm1-test-96095846.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-96095846.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.93 ms
64 bytes from ctest-vm1-test-96095846.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.308 ms
64 bytes from ctest-vm1-test-96095846.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.186 ms
--- ctest-vm1-test-96095846.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.186/0.809/1.934/0.797 ms
2026-01-26 03:11:11,240 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-96095846 passed
2026-01-26 03:11:11,240 - DEBUG - Deleting VDNS record data: test-rec
2026-01-26 03:11:11,324 - INFO - VDNS record info: default-domain:ctest-vdns1-25721793:test-rec deleted successfully.
2026-01-26 03:11:11,325 - INFO - Deleting VM ctest-vm2-test-67670359
2026-01-26 03:11:11,420 - INFO - Deleting VM ctest-vm1-test-96095846
2026-01-26 03:11:11,496 - INFO - Deleting VN ctest-vn1-vdns-06697482
2026-01-26 03:11:11,546 - DEBUG - VN 8f6792a0-55f4-4297-b492-3e51d4179eeb still in use: Unable to complete operation on network 8f6792a0-55f4-4297-b492-3e51d4179eeb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e48264fe-b213-43a6-bd03-5d81188ba1de']
2026-01-26 03:11:11,546 - WARNING - Deleting VN ctest-vn1-vdns-06697482 failed..Will retry
2026-01-26 03:11:13,739 - DEBUG - Response for deleting network ()
2026-01-26 03:11:13,790 - DEBUG - Deleting VDNS Entry: ctest-vdns1-25721793
2026-01-26 03:11:13,888 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-25721793'] deleted successfully.
2026-01-26 03:11:13,889 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-26 03:11:13,896 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80
2026-01-26 03:11:13,911 - DEBUG - VDNS information not found in API server
2026-01-26 03:11:13,912 - INFO - VDNS information ctest-vdns1-25721793 removed from the API Server
2026-01-26 03:11:13,917 - INFO - VDNS information ctest-vdns1-25721793 removed in the Control node
2026-01-26 03:11:13,918 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-60024256']
2026-01-26 03:11:15,197 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 03:11:15,197 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:18]
2026-01-26 03:11:15,197 - INFO - --------------------------------------------------------------------------------
2026-01-26 03:11:15,937 - INFO - Deleted project: ctest-TestvDNSBasic0-60024256, ID : 9b567c29-9b45-4708-a550-a5351895df8d