2026-02-16 03:02:42,029 - INFO - Domain Default found not creating
2026-02-16 03:02:42,189 - INFO - Project ctest-TestvDNSBasic0-67778701 not found, creating it
2026-02-16 03:02:42,713 - INFO - Created Project:ctest-TestvDNSBasic0-67778701, ID : 1f757cf2-c10d-4eb6-b345-415e6939f225
2026-02-16 03:02:44,237 - INFO - ================================================================================
2026-02-16 03:02:44,237 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-02-16 03:02:44,237 - 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-02-16 03:02:45,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.254': '0'}} with
2026-02-16 03:02:45,504 - INFO - Initial checks done. Running the testcase now
2026-02-16 03:02:45,504 - INFO -
2026-02-16 03:02:46,236 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-67778701'](1f757cf2-c10d-4eb6-b345-415e6939f225)
2026-02-16 03:02:46,286 - DEBUG - Creating VDNS : ctest-vdns1-53733272
2026-02-16 03:02:46,510 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-53733272'] created succesfully
2026-02-16 03:02:46,510 - DEBUG - Verify VDNS entry is shown in control node
2026-02-16 03:02:46,529 - DEBUG - Verify VDNS entry is shown in the API server
2026-02-16 03:02:46,529 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-16 03:02:46,827 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-16 03:02:46,861 - DEBUG - Requesting: http://10.0.0.27:8082/domain/026ea67f-9b7a-4f1c-a755-90b25d4ac1dc
2026-02-16 03:02:46,881 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/a8737d1e-04cb-45b8-a3e9-4b3e5fb44108
2026-02-16 03:02:47,565 - DEBUG - Response for create_network : {'network': {'id': 'cfd4d779-c3ae-45bf-ba08-4f6499e4e505', 'name': 'ctest-vn1-vdns-61214588', 'tenant_id': '1f757cf2c10d4eb6b345415e6939f225', 'project_id': '1f757cf2c10d4eb6b345415e6939f225', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-67778701', 'ctest-vn1-vdns-61214588'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 03:02:48,017 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6400f7c-86fa-4186-b665-48b102227c72', 'name': '', 'tenant_id': '1f757cf2c10d4eb6b345415e6939f225', 'network_id': 'cfd4d779-c3ae-45bf-ba08-4f6499e4e505', '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': '1f757cf2c10d4eb6b345415e6939f225'}}
2026-02-16 03:02:48,041 - INFO - Created VN ctest-vn1-vdns-61214588
2026-02-16 03:02:48,052 - DEBUG - VN ctest-vn1-vdns-61214588 UUID is cfd4d779-c3ae-45bf-ba08-4f6499e4e505
2026-02-16 03:02:48,238 - DEBUG - Services list from nova: [, , , ]
2026-02-16 03:02:49,260 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5329-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5329-1)
2026-02-16 03:02:49,260 - INFO - Waiting for VM ctest-vm1-test-63590823 to be up..
2026-02-16 03:02:49,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-16 03:02:54,381 - DEBUG - VM is in ACTIVE state now
2026-02-16 03:02:54,381 - INFO - VM name : ctest-vm1-test-63590823
2026-02-16 03:02:54,459 - DEBUG - VM ctest-vm1-test-63590823 ID is 4bd949ff-b5b6-4b50-813f-e5136180012d
2026-02-16 03:02:54,459 - DEBUG - VM ctest-vm1-test-63590823 launched on Node an-jenkins-deploy-platform-ansible-os-5329-1
2026-02-16 03:02:54,540 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4bd949ff-b5b6-4b50-813f-e5136180012d
2026-02-16 03:02:54,863 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4bd949ff-b5b6-4b50-813f-e5136180012d
2026-02-16 03:02:54,899 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/4871a3fc-bc71-4349-8716-c82d9eb23c59
2026-02-16 03:02:58,063 - 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 1004ms')
2026-02-16 03:02:58,063 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63590823 failed!
2026-02-16 03:02:58,075 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:03:02,162 - 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-02-16 03:03:02,162 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63590823 failed!
2026-02-16 03:03:02,177 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:03:06,251 - 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-02-16 03:03:06,251 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63590823 failed!
2026-02-16 03:03:06,265 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:03:10,349 - 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-02-16 03:03:10,349 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63590823 failed!
2026-02-16 03:03:10,363 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:03:14,443 - 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-02-16 03:03:14,443 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63590823 failed!
2026-02-16 03:03:14,457 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:03:18,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 1023ms')
2026-02-16 03:03:18,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63590823 failed!
2026-02-16 03:03:18,552 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:03:22,637 - 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-02-16 03:03:22,638 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63590823 failed!
2026-02-16 03:03:22,652 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:03:26,731 - 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-02-16 03:03:26,731 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63590823 failed!
2026-02-16 03:03:26,746 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:03:28,811 - 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=9.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.000/5.091/9.182/4.091 ms')
2026-02-16 03:03:28,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-63590823 passed
2026-02-16 03:03:28,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 03:03:28,878 - DEBUG - Waiting to SSH to VM ctest-vm1-test-63590823, IP 10.10.10.3, Port 22
2026-02-16 03:03:28,948 - 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-02-16 03:03:29,027 - DEBUG - VM ctest-vm1-test-63590823 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-16 03:03:34,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 03:03:34,028 - DEBUG - Waiting to SSH to VM ctest-vm1-test-63590823, IP 10.10.10.3, Port 22
2026-02-16 03:03:34,084 - 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-02-16 03:03:34,169 - DEBUG - VM ctest-vm1-test-63590823 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-16 03:03:39,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 03:03:39,170 - DEBUG - Waiting to SSH to VM ctest-vm1-test-63590823, IP 10.10.10.3, Port 22
2026-02-16 03:03:39,242 - 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-02-16 03:03:39,335 - DEBUG - VM ctest-vm1-test-63590823 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-16 03:03:44,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 03:03:44,336 - DEBUG - Waiting to SSH to VM ctest-vm1-test-63590823, IP 10.10.10.3, Port 22
2026-02-16 03:03:44,394 - 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-02-16 03:03:44,478 - DEBUG - VM ctest-vm1-test-63590823 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-16 03:03:49,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 03:03:49,479 - DEBUG - Waiting to SSH to VM ctest-vm1-test-63590823, IP 10.10.10.3, Port 22
2026-02-16 03:03:49,648 - DEBUG - VM ctest-vm1-test-63590823 is ready for SSH connections
2026-02-16 03:03:49,648 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-16 03:03:49,648 - DEBUG - ifconfig | grep 10.10.10.3
2026-02-16 03:04:08,224 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-02-16 03:04:08,225 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-63590823", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-16 03:04:08,225 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-63590823", None, socket.AF_INET6)'
2026-02-16 03:04:09,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-63590823, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-16 03:04:09,650 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-63590823
2026-02-16 03:04:12,172 - DEBUG - PING ctest-vm1-test-63590823.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-63590823.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.31 ms
64 bytes from ctest-vm1-test-63590823.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.45 ms
64 bytes from ctest-vm1-test-63590823.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.206 ms
--- ctest-vm1-test-63590823.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.206/1.989/3.310/1.309 ms
2026-02-16 03:04:12,172 - INFO - Ping to IP ctest-vm1-test-63590823 from VM ctest-vm1-test-63590823 passed
2026-02-16 03:04:12,198 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-02-16 03:04:12,206 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-53733272@0%20AllEntriesVdnsRecordsReq
2026-02-16 03:04:12,213 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-02-16 03:04:12,219 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-53733272@0%20AllEntriesVdnsRecordsReq
2026-02-16 03:04:12,226 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-02-16 03:04:12,232 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-53733272@0%20AllEntriesVdnsRecordsReq
2026-02-16 03:04:12,237 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-53733272:1:ctest-vm1-test-63590823:10.10.10.3', 'rec_name': 'ctest-vm1-test-63590823', '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-5329-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-63590823.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-02-16 03:04:12,237 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-53733272:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-63590823', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-63590823', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5329-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-63590823.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-02-16 03:04:13,591 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5329-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5329-2)
2026-02-16 03:04:13,591 - INFO - Waiting for VM ctest-vm2-test-69185694 to be up..
2026-02-16 03:04:13,636 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-16 03:04:18,735 - DEBUG - VM is in ACTIVE state now
2026-02-16 03:04:18,735 - INFO - VM name : ctest-vm2-test-69185694
2026-02-16 03:04:18,825 - DEBUG - VM ctest-vm2-test-69185694 ID is 380c87e4-8263-4aa0-86a3-e100c3917a61
2026-02-16 03:04:18,825 - DEBUG - VM ctest-vm2-test-69185694 launched on Node an-jenkins-deploy-platform-ansible-os-5329-2
2026-02-16 03:04:18,907 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/380c87e4-8263-4aa0-86a3-e100c3917a61
2026-02-16 03:04:18,916 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3504dd60-a6f3-4f6b-888f-6f76950d5ddd
2026-02-16 03:04:22,082 - 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-02-16 03:04:22,082 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69185694 failed!
2026-02-16 03:04:22,094 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:04:26,182 - 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-02-16 03:04:26,182 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69185694 failed!
2026-02-16 03:04:26,194 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:04:30,279 - 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-02-16 03:04:30,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69185694 failed!
2026-02-16 03:04:30,295 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:04:34,373 - 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-02-16 03:04:34,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69185694 failed!
2026-02-16 03:04:34,389 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:04:38,471 - 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-02-16 03:04:38,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69185694 failed!
2026-02-16 03:04:38,483 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:04:42,572 - 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-02-16 03:04:42,572 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69185694 failed!
2026-02-16 03:04:42,585 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:04:46,658 - 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-02-16 03:04:46,658 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69185694 failed!
2026-02-16 03:04:46,672 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:04:50,758 - 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 1021ms')
2026-02-16 03:04:50,758 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69185694 failed!
2026-02-16 03:04:50,770 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:04:54,855 - 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 1017ms')
2026-02-16 03:04:54,855 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69185694 failed!
2026-02-16 03:04:54,867 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-67778701:ctest-vn1-vdns-61214588 is 10.10.10.1 and allocation pool is NOT set
2026-02-16 03:04:56,928 - 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=5.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.46 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.456/4.694/5.932/1.238 ms')
2026-02-16 03:04:56,928 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-69185694 passed
2026-02-16 03:04:56,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 03:04:56,995 - DEBUG - Waiting to SSH to VM ctest-vm2-test-69185694, IP 10.10.10.4, Port 22
2026-02-16 03:04:57,063 - 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-02-16 03:04:57,135 - DEBUG - VM ctest-vm2-test-69185694 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-16 03:05:02,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 03:05:02,136 - DEBUG - Waiting to SSH to VM ctest-vm2-test-69185694, IP 10.10.10.4, Port 22
2026-02-16 03:05:02,203 - 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-02-16 03:05:02,274 - DEBUG - VM ctest-vm2-test-69185694 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-16 03:05:07,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 03:05:07,274 - DEBUG - Waiting to SSH to VM ctest-vm2-test-69185694, IP 10.10.10.4, Port 22
2026-02-16 03:05:07,344 - 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-02-16 03:05:07,446 - DEBUG - VM ctest-vm2-test-69185694 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-16 03:05:12,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 03:05:12,446 - DEBUG - Waiting to SSH to VM ctest-vm2-test-69185694, IP 10.10.10.4, Port 22
2026-02-16 03:05:12,515 - 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-02-16 03:05:12,592 - DEBUG - VM ctest-vm2-test-69185694 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-16 03:05:17,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 03:05:17,594 - DEBUG - Waiting to SSH to VM ctest-vm2-test-69185694, IP 10.10.10.4, Port 22
2026-02-16 03:05:17,763 - DEBUG - VM ctest-vm2-test-69185694 is ready for SSH connections
2026-02-16 03:05:17,763 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-02-16 03:05:17,763 - DEBUG - ifconfig | grep 10.10.10.4
2026-02-16 03:05:38,869 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-02-16 03:05:38,870 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-69185694", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-02-16 03:05:38,870 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-69185694", None, socket.AF_INET6)'
2026-02-16 03:05:41,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-69185694, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-02-16 03:05:41,530 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-69185694
2026-02-16 03:05:44,083 - DEBUG - PING ctest-vm2-test-69185694.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-69185694.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.83 ms
64 bytes from ctest-vm2-test-69185694.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.212 ms
64 bytes from ctest-vm2-test-69185694.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.245 ms
--- ctest-vm2-test-69185694.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.212/1.432/3.839/1.702 ms
2026-02-16 03:05:44,084 - INFO - Ping to IP ctest-vm2-test-69185694 from VM ctest-vm2-test-69185694 passed
2026-02-16 03:05:44,108 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-02-16 03:05:44,116 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-53733272@0%20AllEntriesVdnsRecordsReq
2026-02-16 03:05:44,121 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-02-16 03:05:44,127 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-53733272@0%20AllEntriesVdnsRecordsReq
2026-02-16 03:05:44,130 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-02-16 03:05:44,135 - DEBUG - Requesting: http://10.0.0.27:8092/Snh_PageReq?x=default-domain:ctest-vdns1-53733272@0%20AllEntriesVdnsRecordsReq
2026-02-16 03:05:44,139 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-53733272:1:ctest-vm2-test-69185694:10.10.10.4', 'rec_name': 'ctest-vm2-test-69185694', '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-5329-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-69185694.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-02-16 03:05:44,139 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-53733272:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-69185694', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-69185694', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5329-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-69185694.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-02-16 03:05:44,139 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-69185694", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-16 03:05:44,139 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-69185694", None, socket.AF_INET6)'
2026-02-16 03:05:45,314 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-69185694, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-16 03:05:45,314 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-69185694
2026-02-16 03:05:47,846 - DEBUG - PING ctest-vm2-test-69185694.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-69185694.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.16 ms
64 bytes from ctest-vm2-test-69185694.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.32 ms
64 bytes from ctest-vm2-test-69185694.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.49 ms
--- ctest-vm2-test-69185694.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.322/3.662/8.167/3.186 ms
2026-02-16 03:05:47,846 - INFO - Ping to IP ctest-vm2-test-69185694 from VM ctest-vm1-test-63590823 passed
2026-02-16 03:05:47,846 - INFO - Try deleting the VDNS entry ctest-vdns1-53733272 with back ref of ipam.
2026-02-16 03:05:47,910 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/bcd61eda-93e7-4b7a-b3dd-b0ed71e7f0af']
2026-02-16 03:05:47,910 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-02-16 03:05:47,910 - INFO - Add CNAME VDNS record for ctest-vm1-test-63590823 and verify we able to ping by alias name
2026-02-16 03:05:47,958 - DEBUG - Creating VDNS record data : test-rec
2026-02-16 03:05:48,078 - INFO - In verify_on_setup
2026-02-16 03:05:48,178 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-53733272', 'test-rec'] created succesfully
2026-02-16 03:05:48,178 - INFO - Verify VDNS record is shown in the API server
2026-02-16 03:05:48,179 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-16 03:05:48,185 - DEBUG - Requesting: http://10.0.0.27:8082/domain/026ea67f-9b7a-4f1c-a755-90b25d4ac1dc
2026-02-16 03:05:48,196 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS/a8737d1e-04cb-45b8-a3e9-4b3e5fb44108
2026-02-16 03:05:48,206 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-DNS-record/eb1d4f21-0ab1-4045-8065-769db2a3493f
2026-02-16 03:05:48,211 - INFO - Verify VDNS record is shown in the control node
2026-02-16 03:05:48,226 - 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.38, gateway password: c0ntrail123
2026-02-16 03:05:48,226 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-02-16 03:05:49,426 - 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.38, gateway password: c0ntrail123
2026-02-16 03:05:49,426 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-02-16 03:05:49,935 - DEBUG - ping: unknown host vm1-test-alias
2026-02-16 03:05:49,935 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-63590823 failed
2026-02-16 03:05:50,936 - 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.38, gateway password: c0ntrail123
2026-02-16 03:05:50,937 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-02-16 03:05:52,085 - 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.38, gateway password: c0ntrail123
2026-02-16 03:05:52,085 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-02-16 03:05:54,648 - DEBUG - PING ctest-vm1-test-63590823.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-63590823.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.209 ms
64 bytes from ctest-vm1-test-63590823.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.291 ms
64 bytes from ctest-vm1-test-63590823.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.196 ms
--- ctest-vm1-test-63590823.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.196/0.232/0.291/0.042 ms
2026-02-16 03:05:54,648 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-63590823 passed
2026-02-16 03:05:54,648 - DEBUG - Deleting VDNS record data: test-rec
2026-02-16 03:05:54,730 - INFO - VDNS record info: default-domain:ctest-vdns1-53733272:test-rec deleted successfully.
2026-02-16 03:05:54,730 - INFO - Deleting VM ctest-vm2-test-69185694
2026-02-16 03:05:54,799 - INFO - Deleting VM ctest-vm1-test-63590823
2026-02-16 03:05:54,862 - INFO - Deleting VN ctest-vn1-vdns-61214588
2026-02-16 03:05:54,901 - DEBUG - VN cfd4d779-c3ae-45bf-ba08-4f6499e4e505 still in use: Unable to complete operation on network cfd4d779-c3ae-45bf-ba08-4f6499e4e505. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2d90502d-acb9-4c52-a8e2-15f0281bdceb']
2026-02-16 03:05:54,901 - WARNING - Deleting VN ctest-vn1-vdns-61214588 failed..Will retry
2026-02-16 03:05:57,117 - DEBUG - Response for deleting network ()
2026-02-16 03:05:57,161 - DEBUG - Deleting VDNS Entry: ctest-vdns1-53733272
2026-02-16 03:05:57,254 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-53733272'] deleted successfully.
2026-02-16 03:05:57,254 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-16 03:05:57,262 - DEBUG - Requesting: http://10.0.0.27:8082/domain/026ea67f-9b7a-4f1c-a755-90b25d4ac1dc
2026-02-16 03:05:57,276 - DEBUG - VDNS information not found in API server
2026-02-16 03:05:57,276 - INFO - VDNS information ctest-vdns1-53733272 removed from the API Server
2026-02-16 03:05:57,281 - INFO - VDNS information ctest-vdns1-53733272 removed in the Control node
2026-02-16 03:05:57,281 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-67778701']
2026-02-16 03:05:58,545 - DEBUG - No XMPP flaps were noticed during the test
2026-02-16 03:05:58,545 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:14]
2026-02-16 03:05:58,545 - INFO - --------------------------------------------------------------------------------
2026-02-16 03:05:59,266 - INFO - Deleted project: ctest-TestvDNSBasic0-67778701, ID : 1f757cf2-c10d-4eb6-b345-415e6939f225