2026-03-19 03:29:59,889 - INFO - Domain Default found not creating
2026-03-19 03:30:00,108 - INFO - Project ctest-TestvDNSBasic0-01899243 not found, creating it
2026-03-19 03:30:00,993 - INFO - Created Project:ctest-TestvDNSBasic0-01899243, ID : f157d190-d13e-4668-aff1-83b899822deb
2026-03-19 03:30:03,024 - INFO - ================================================================================
2026-03-19 03:30:03,024 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-03-19 03:30:03,024 - 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-19 03:30:04,323 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.129': '0', '10.20.0.18': '0'}, '10.0.0.240': {'10.20.0.18': '0', '10.20.0.193': '0'}} with
2026-03-19 03:30:04,323 - INFO - Initial checks done. Running the testcase now
2026-03-19 03:30:04,323 - INFO -
2026-03-19 03:30:05,163 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-01899243'](f157d190-d13e-4668-aff1-83b899822deb)
2026-03-19 03:30:05,222 - DEBUG - Creating VDNS : ctest-vdns1-28031915
2026-03-19 03:30:05,451 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-28031915'] created succesfully
2026-03-19 03:30:05,451 - DEBUG - Verify VDNS entry is shown in control node
2026-03-19 03:30:05,470 - DEBUG - Verify VDNS entry is shown in the API server
2026-03-19 03:30:05,470 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-03-19 03:30:05,787 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-03-19 03:30:05,824 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb4acbf6-9e94-415a-a3f1-1be95317ba76
2026-03-19 03:30:05,844 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/10f8b35b-bf7a-44f5-a132-35116090c9b3
2026-03-19 03:30:06,610 - DEBUG - Response for create_network : {'network': {'id': '58d28a54-27cf-4ccc-ba37-08284a2cb42d', 'name': 'ctest-vn1-vdns-44360734', 'tenant_id': 'f157d190d13e4668aff183b899822deb', 'project_id': 'f157d190d13e4668aff183b899822deb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-01899243', 'ctest-vn1-vdns-44360734'], 'port_security_enabled': True, 'description': ''}}
2026-03-19 03:30:06,922 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e2f471b-6515-4cc2-a726-f56677a01549', 'name': '', 'tenant_id': 'f157d190d13e4668aff183b899822deb', 'network_id': '58d28a54-27cf-4ccc-ba37-08284a2cb42d', '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': 'f157d190d13e4668aff183b899822deb'}}
2026-03-19 03:30:06,957 - INFO - Created VN ctest-vn1-vdns-44360734
2026-03-19 03:30:06,974 - DEBUG - VN ctest-vn1-vdns-44360734 UUID is 58d28a54-27cf-4ccc-ba37-08284a2cb42d
2026-03-19 03:30:07,181 - DEBUG - Services list from nova: [, , , ]
2026-03-19 03:30:08,476 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5493-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5493-2)
2026-03-19 03:30:08,477 - INFO - Waiting for VM ctest-vm1-test-36117580 to be up..
2026-03-19 03:30:08,528 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-19 03:30:13,624 - DEBUG - VM is in ACTIVE state now
2026-03-19 03:30:13,624 - INFO - VM name : ctest-vm1-test-36117580
2026-03-19 03:30:13,722 - DEBUG - VM ctest-vm1-test-36117580 ID is ccd5ce02-ea1a-40df-b808-b0052541539d
2026-03-19 03:30:13,722 - DEBUG - VM ctest-vm1-test-36117580 launched on Node an-jenkins-deploy-platform-ansible-os-5493-2
2026-03-19 03:30:13,809 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ccd5ce02-ea1a-40df-b808-b0052541539d
2026-03-19 03:30:14,122 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ccd5ce02-ea1a-40df-b808-b0052541539d
2026-03-19 03:30:14,157 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/fa88b962-44f1-4dcd-bcfa-461a4394a5b6
2026-03-19 03:30:17,351 - 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-03-19 03:30:17,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-36117580 failed!
2026-03-19 03:30:17,365 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:30:21,446 - 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-03-19 03:30:21,447 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-36117580 failed!
2026-03-19 03:30:21,460 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:30:25,539 - 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-03-19 03:30:25,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-36117580 failed!
2026-03-19 03:30:25,562 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:30:29,635 - 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 1011ms')
2026-03-19 03:30:29,636 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-36117580 failed!
2026-03-19 03:30:29,650 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:30:33,727 - 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 1018ms')
2026-03-19 03:30:33,727 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-36117580 failed!
2026-03-19 03:30:33,742 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:30:37,829 - 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 1022ms')
2026-03-19 03:30:37,829 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-36117580 failed!
2026-03-19 03:30:37,845 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:30:41,926 - 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-03-19 03:30:41,926 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-36117580 failed!
2026-03-19 03:30:41,942 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:30:46,022 - 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-03-19 03:30:46,023 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-36117580 failed!
2026-03-19 03:30:46,036 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:30:50,112 - 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=3.84 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 3.841/3.841/3.841/0.000 ms')
2026-03-19 03:30:50,113 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-36117580 passed
2026-03-19 03:30:50,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 03:30:50,187 - DEBUG - Waiting to SSH to VM ctest-vm1-test-36117580, IP 10.10.10.3, Port 22
2026-03-19 03:30:50,254 - 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-03-19 03:30:50,395 - DEBUG - VM ctest-vm1-test-36117580 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-19 03:30:55,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 03:30:55,396 - DEBUG - Waiting to SSH to VM ctest-vm1-test-36117580, IP 10.10.10.3, Port 22
2026-03-19 03:30:55,453 - 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-03-19 03:30:55,539 - DEBUG - VM ctest-vm1-test-36117580 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-19 03:31:00,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 03:31:00,540 - DEBUG - Waiting to SSH to VM ctest-vm1-test-36117580, IP 10.10.10.3, Port 22
2026-03-19 03:31:00,610 - 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-03-19 03:31:00,745 - DEBUG - VM ctest-vm1-test-36117580 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-19 03:31:05,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 03:31:05,746 - DEBUG - Waiting to SSH to VM ctest-vm1-test-36117580, IP 10.10.10.3, Port 22
2026-03-19 03:31:05,814 - 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-03-19 03:31:05,907 - DEBUG - VM ctest-vm1-test-36117580 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-19 03:31:10,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 03:31:10,908 - DEBUG - Waiting to SSH to VM ctest-vm1-test-36117580, IP 10.10.10.3, Port 22
2026-03-19 03:31:11,078 - DEBUG - VM ctest-vm1-test-36117580 is ready for SSH connections
2026-03-19 03:31:11,079 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-03-19 03:31:11,079 - DEBUG - ifconfig | grep 10.10.10.3
2026-03-19 03:31:30,046 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-03-19 03:31:30,047 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-36117580", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-03-19 03:31:30,047 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-36117580", None, socket.AF_INET6)'
2026-03-19 03:31:31,470 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-36117580, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-03-19 03:31:31,470 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-36117580
2026-03-19 03:31:33,982 - DEBUG - PING ctest-vm1-test-36117580.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-36117580.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.19 ms
64 bytes from ctest-vm1-test-36117580.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.51 ms
64 bytes from ctest-vm1-test-36117580.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.212 ms
--- ctest-vm1-test-36117580.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.212/2.308/4.198/1.633 ms
2026-03-19 03:31:33,982 - INFO - Ping to IP ctest-vm1-test-36117580 from VM ctest-vm1-test-36117580 passed
2026-03-19 03:31:34,008 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-19 03:31:34,014 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28031915@0%20AllEntriesVdnsRecordsReq
2026-03-19 03:31:34,020 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-19 03:31:34,027 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28031915@0%20AllEntriesVdnsRecordsReq
2026-03-19 03:31:34,034 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-19 03:31:34,040 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28031915@0%20AllEntriesVdnsRecordsReq
2026-03-19 03:31:34,047 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-28031915:1:ctest-vm1-test-36117580:10.10.10.3', 'rec_name': 'ctest-vm1-test-36117580', '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-5493-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-36117580.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-03-19 03:31:34,048 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-28031915:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-36117580', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-36117580', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5493-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-36117580.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-19 03:31:35,517 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5493-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5493-1)
2026-03-19 03:31:35,517 - INFO - Waiting for VM ctest-vm2-test-67638621 to be up..
2026-03-19 03:31:35,576 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-19 03:31:40,667 - DEBUG - VM is in ACTIVE state now
2026-03-19 03:31:40,667 - INFO - VM name : ctest-vm2-test-67638621
2026-03-19 03:31:40,754 - DEBUG - VM ctest-vm2-test-67638621 ID is b0714a33-e317-4901-9d45-1629ad00010f
2026-03-19 03:31:40,755 - DEBUG - VM ctest-vm2-test-67638621 launched on Node an-jenkins-deploy-platform-ansible-os-5493-1
2026-03-19 03:31:40,837 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b0714a33-e317-4901-9d45-1629ad00010f
2026-03-19 03:31:40,847 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3d094d98-6ec1-43ab-8151-5cf4b4d8baf8
2026-03-19 03:31:44,005 - 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 1003ms')
2026-03-19 03:31:44,005 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67638621 failed!
2026-03-19 03:31:44,021 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:31:48,101 - 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-03-19 03:31:48,101 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67638621 failed!
2026-03-19 03:31:48,117 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:31:52,201 - 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 1011ms')
2026-03-19 03:31:52,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67638621 failed!
2026-03-19 03:31:52,216 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:31:56,297 - 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 1018ms')
2026-03-19 03:31:56,297 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67638621 failed!
2026-03-19 03:31:56,312 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:32:00,388 - 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 1014ms')
2026-03-19 03:32:00,388 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67638621 failed!
2026-03-19 03:32:00,405 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:32:04,488 - 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 1016ms')
2026-03-19 03:32:04,488 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67638621 failed!
2026-03-19 03:32:04,503 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:32:08,583 - 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-03-19 03:32:08,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67638621 failed!
2026-03-19 03:32:08,596 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:32:12,681 - 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-03-19 03:32:12,681 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67638621 failed!
2026-03-19 03:32:12,695 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:32:16,777 - 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-03-19 03:32:16,777 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67638621 failed!
2026-03-19 03:32:16,793 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-01899243:ctest-vn1-vdns-44360734 is 10.10.10.1 and allocation pool is NOT set
2026-03-19 03:32:20,865 - 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=11.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 11.819/11.819/11.819/0.000 ms')
2026-03-19 03:32:20,865 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-67638621 passed
2026-03-19 03:32:20,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 03:32:20,932 - DEBUG - Waiting to SSH to VM ctest-vm2-test-67638621, IP 10.10.10.4, Port 22
2026-03-19 03:32:21,001 - 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-03-19 03:32:21,099 - DEBUG - VM ctest-vm2-test-67638621 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-19 03:32:26,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 03:32:26,100 - DEBUG - Waiting to SSH to VM ctest-vm2-test-67638621, IP 10.10.10.4, Port 22
2026-03-19 03:32:26,159 - 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-03-19 03:32:26,247 - DEBUG - VM ctest-vm2-test-67638621 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-19 03:32:31,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 03:32:31,248 - DEBUG - Waiting to SSH to VM ctest-vm2-test-67638621, IP 10.10.10.4, Port 22
2026-03-19 03:32:31,317 - 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-03-19 03:32:31,415 - DEBUG - VM ctest-vm2-test-67638621 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-19 03:32:36,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 03:32:36,416 - DEBUG - Waiting to SSH to VM ctest-vm2-test-67638621, IP 10.10.10.4, Port 22
2026-03-19 03:32:36,475 - 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-03-19 03:32:36,572 - DEBUG - VM ctest-vm2-test-67638621 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-19 03:32:41,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 03:32:41,573 - DEBUG - Waiting to SSH to VM ctest-vm2-test-67638621, IP 10.10.10.4, Port 22
2026-03-19 03:32:41,749 - DEBUG - VM ctest-vm2-test-67638621 is ready for SSH connections
2026-03-19 03:32:41,750 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-03-19 03:32:41,750 - DEBUG - ifconfig | grep 10.10.10.4
2026-03-19 03:33:01,761 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-03-19 03:33:01,762 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-67638621", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-03-19 03:33:01,762 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-67638621", None, socket.AF_INET6)'
2026-03-19 03:33:04,692 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-67638621, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-03-19 03:33:04,692 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-67638621
2026-03-19 03:33:07,228 - DEBUG - PING ctest-vm2-test-67638621.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-67638621.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.04 ms
64 bytes from ctest-vm2-test-67638621.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.76 ms
64 bytes from ctest-vm2-test-67638621.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.190 ms
--- ctest-vm2-test-67638621.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.190/2.330/4.040/1.600 ms
2026-03-19 03:33:07,228 - INFO - Ping to IP ctest-vm2-test-67638621 from VM ctest-vm2-test-67638621 passed
2026-03-19 03:33:07,253 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-19 03:33:07,260 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28031915@0%20AllEntriesVdnsRecordsReq
2026-03-19 03:33:07,269 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-19 03:33:07,275 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28031915@0%20AllEntriesVdnsRecordsReq
2026-03-19 03:33:07,281 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-03-19 03:33:07,286 - DEBUG - Requesting: http://10.0.0.41:8092/Snh_PageReq?x=default-domain:ctest-vdns1-28031915@0%20AllEntriesVdnsRecordsReq
2026-03-19 03:33:07,293 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-28031915:1:ctest-vm2-test-67638621:10.10.10.4', 'rec_name': 'ctest-vm2-test-67638621', '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-5493-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-67638621.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-03-19 03:33:07,293 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-28031915:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-67638621', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-67638621', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5493-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-67638621.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-19 03:33:07,293 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-67638621", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-03-19 03:33:07,293 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-67638621", None, socket.AF_INET6)'
2026-03-19 03:33:08,480 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-67638621, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-03-19 03:33:08,480 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-67638621
2026-03-19 03:33:10,999 - DEBUG - PING ctest-vm2-test-67638621.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-67638621.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.64 ms
64 bytes from ctest-vm2-test-67638621.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.22 ms
64 bytes from ctest-vm2-test-67638621.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.26 ms
--- ctest-vm2-test-67638621.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.220/3.376/7.648/3.021 ms
2026-03-19 03:33:10,999 - INFO - Ping to IP ctest-vm2-test-67638621 from VM ctest-vm1-test-36117580 passed
2026-03-19 03:33:10,999 - INFO - Try deleting the VDNS entry ctest-vdns1-28031915 with back ref of ipam.
2026-03-19 03:33:11,058 - DEBUG - Delete when resource still referred: ['http://10.0.0.27:8082/network-ipam/37a1c713-f1c4-4b55-a331-5b5086467b36']
2026-03-19 03:33:11,058 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-03-19 03:33:11,058 - INFO - Add CNAME VDNS record for ctest-vm1-test-36117580 and verify we able to ping by alias name
2026-03-19 03:33:11,106 - DEBUG - Creating VDNS record data : test-rec
2026-03-19 03:33:11,234 - INFO - In verify_on_setup
2026-03-19 03:33:11,330 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-28031915', 'test-rec'] created succesfully
2026-03-19 03:33:11,330 - INFO - Verify VDNS record is shown in the API server
2026-03-19 03:33:11,331 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-03-19 03:33:11,339 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb4acbf6-9e94-415a-a3f1-1be95317ba76
2026-03-19 03:33:11,386 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/10f8b35b-bf7a-44f5-a132-35116090c9b3
2026-03-19 03:33:11,398 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS-record/663da6b1-4638-4fbc-b234-bd30522e1f44
2026-03-19 03:33:11,407 - INFO - Verify VDNS record is shown in the control node
2026-03-19 03:33:11,427 - 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.240, gateway password: c0ntrail123
2026-03-19 03:33:11,427 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-03-19 03:33:12,577 - 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.240, gateway password: c0ntrail123
2026-03-19 03:33:12,577 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-03-19 03:33:13,094 - DEBUG - ping: unknown host vm1-test-alias
2026-03-19 03:33:13,094 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-36117580 failed
2026-03-19 03:33:14,094 - 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.240, gateway password: c0ntrail123
2026-03-19 03:33:14,094 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-03-19 03:33:20,304 - 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.240, gateway password: c0ntrail123
2026-03-19 03:33:20,304 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-03-19 03:33:22,823 - DEBUG - PING ctest-vm1-test-36117580.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-36117580.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.243 ms
64 bytes from ctest-vm1-test-36117580.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.204 ms
64 bytes from ctest-vm1-test-36117580.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.285 ms
--- ctest-vm1-test-36117580.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.204/0.244/0.285/0.033 ms
2026-03-19 03:33:22,823 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-36117580 passed
2026-03-19 03:33:22,823 - DEBUG - Deleting VDNS record data: test-rec
2026-03-19 03:33:22,910 - INFO - VDNS record info: default-domain:ctest-vdns1-28031915:test-rec deleted successfully.
2026-03-19 03:33:22,910 - INFO - Deleting VM ctest-vm2-test-67638621
2026-03-19 03:33:22,995 - INFO - Deleting VM ctest-vm1-test-36117580
2026-03-19 03:33:23,078 - INFO - Deleting VN ctest-vn1-vdns-44360734
2026-03-19 03:33:23,124 - DEBUG - VN 58d28a54-27cf-4ccc-ba37-08284a2cb42d still in use: Unable to complete operation on network 58d28a54-27cf-4ccc-ba37-08284a2cb42d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4f54805d-a3b9-4b39-bd25-be63d7550c52']
2026-03-19 03:33:23,124 - WARNING - Deleting VN ctest-vn1-vdns-44360734 failed..Will retry
2026-03-19 03:33:25,294 - DEBUG - Response for deleting network ()
2026-03-19 03:33:25,349 - DEBUG - Deleting VDNS Entry: ctest-vdns1-28031915
2026-03-19 03:33:25,474 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-28031915'] deleted successfully.
2026-03-19 03:33:25,475 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-03-19 03:33:25,484 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb4acbf6-9e94-415a-a3f1-1be95317ba76
2026-03-19 03:33:25,508 - DEBUG - VDNS information not found in API server
2026-03-19 03:33:25,508 - INFO - VDNS information ctest-vdns1-28031915 removed from the API Server
2026-03-19 03:33:25,513 - INFO - VDNS information ctest-vdns1-28031915 removed in the Control node
2026-03-19 03:33:25,514 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-01899243']
2026-03-19 03:33:26,816 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 03:33:26,816 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:23]
2026-03-19 03:33:26,816 - INFO - --------------------------------------------------------------------------------
2026-03-19 03:33:27,704 - INFO - Deleted project: ctest-TestvDNSBasic0-01899243, ID : f157d190-d13e-4668-aff1-83b899822deb