2026-06-05 17:35:49,350 - INFO - Domain Default found not creating
2026-06-05 17:35:49,528 - INFO - Project ctest-TestvDNSBasic0-11836602 not found, creating it
2026-06-05 17:35:50,073 - INFO - Created Project:ctest-TestvDNSBasic0-11836602, ID : 32cd15bd-38df-4970-bb29-80bdc5ca0212
2026-06-05 17:35:51,709 - INFO - ================================================================================
2026-06-05 17:35:51,709 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-06-05 17:35:51,709 - 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-06-05 17:35:53,002 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0', '10.20.0.129': '0'}, '10.0.0.19': {'10.20.0.18': '0', '10.20.0.14': '0'}} with
2026-06-05 17:35:53,002 - INFO - Initial checks done. Running the testcase now
2026-06-05 17:35:53,002 - INFO -
2026-06-05 17:35:53,808 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-11836602'](32cd15bd-38df-4970-bb29-80bdc5ca0212)
2026-06-05 17:35:53,871 - DEBUG - Creating VDNS : ctest-vdns1-83087376
2026-06-05 17:35:54,095 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-83087376'] created succesfully
2026-06-05 17:35:54,095 - DEBUG - Verify VDNS entry is shown in control node
2026-06-05 17:35:54,113 - DEBUG - Verify VDNS entry is shown in the API server
2026-06-05 17:35:54,113 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-05 17:35:54,453 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-05 17:35:54,486 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2afd8c56-3066-40b1-96ed-768ec91ed6e8
2026-06-05 17:35:54,502 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-DNS/176a8703-f126-4b53-b27f-2125255cdd70
2026-06-05 17:35:55,217 - DEBUG - Response for create_network : {'network': {'id': '2b5da954-2347-4803-b437-a0c915614959', 'name': 'ctest-vn1-vdns-65168851', 'tenant_id': '32cd15bd38df4970bb2980bdc5ca0212', 'project_id': '32cd15bd38df4970bb2980bdc5ca0212', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-11836602', 'ctest-vn1-vdns-65168851'], 'port_security_enabled': True, 'description': ''}}
2026-06-05 17:35:55,536 - DEBUG - Response for create_subnet : {'subnet': {'id': '64089e4c-1a82-4f9e-ae40-5d64834d5d9f', 'name': '', 'tenant_id': '32cd15bd38df4970bb2980bdc5ca0212', 'network_id': '2b5da954-2347-4803-b437-a0c915614959', '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': '32cd15bd38df4970bb2980bdc5ca0212'}}
2026-06-05 17:35:55,574 - INFO - Created VN ctest-vn1-vdns-65168851
2026-06-05 17:35:55,587 - DEBUG - VN ctest-vn1-vdns-65168851 UUID is 2b5da954-2347-4803-b437-a0c915614959
2026-06-05 17:35:55,767 - DEBUG - Services list from nova: [, , , ]
2026-06-05 17:35:56,865 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5896-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5896-1)
2026-06-05 17:35:56,865 - INFO - Waiting for VM ctest-vm1-test-34236402 to be up..
2026-06-05 17:35:56,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-05 17:36:02,014 - DEBUG - VM is in ACTIVE state now
2026-06-05 17:36:02,014 - INFO - VM name : ctest-vm1-test-34236402
2026-06-05 17:36:02,132 - DEBUG - VM ctest-vm1-test-34236402 ID is 670ba4c0-6d1a-4bd6-bfe1-c0bd44aebeac
2026-06-05 17:36:02,132 - DEBUG - VM ctest-vm1-test-34236402 launched on Node an-jenkins-deploy-platform-ansible-os-5896-1
2026-06-05 17:36:02,239 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/670ba4c0-6d1a-4bd6-bfe1-c0bd44aebeac
2026-06-05 17:36:02,598 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/670ba4c0-6d1a-4bd6-bfe1-c0bd44aebeac
2026-06-05 17:36:02,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f3306576-d7f8-4366-8723-90f3689da7c6
2026-06-05 17:36:05,850 - 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-06-05 17:36:05,850 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34236402 failed!
2026-06-05 17:36:05,865 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:36:09,952 - 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-06-05 17:36:09,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34236402 failed!
2026-06-05 17:36:09,973 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:36:14,045 - 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-06-05 17:36:14,045 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34236402 failed!
2026-06-05 17:36:14,058 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:36:18,139 - 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-06-05 17:36:18,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34236402 failed!
2026-06-05 17:36:18,158 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:36:22,234 - 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-06-05 17:36:22,235 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34236402 failed!
2026-06-05 17:36:22,251 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:36:26,330 - 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-06-05 17:36:26,330 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34236402 failed!
2026-06-05 17:36:26,345 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:36:30,428 - 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-06-05 17:36:30,428 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34236402 failed!
2026-06-05 17:36:30,443 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:36:34,527 - 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-06-05 17:36:34,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34236402 failed!
2026-06-05 17:36:34,542 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:36:38,621 - 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-06-05 17:36:38,622 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34236402 failed!
2026-06-05 17:36:38,638 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:36:40,707 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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.761/4.024/6.287/2.263 ms')
2026-06-05 17:36:40,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-34236402 passed
2026-06-05 17:36:40,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 17:36:40,776 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34236402, IP 10.10.10.3, Port 22
2026-06-05 17:36:40,842 - 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-06-05 17:36:40,985 - DEBUG - VM ctest-vm1-test-34236402 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 17:36:45,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 17:36:45,987 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34236402, IP 10.10.10.3, Port 22
2026-06-05 17:36:46,054 - 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-06-05 17:36:46,145 - DEBUG - VM ctest-vm1-test-34236402 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 17:36:51,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 17:36:51,146 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34236402, IP 10.10.10.3, Port 22
2026-06-05 17:36:51,214 - 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-06-05 17:36:51,303 - DEBUG - VM ctest-vm1-test-34236402 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 17:36:56,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 17:36:56,305 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34236402, IP 10.10.10.3, Port 22
2026-06-05 17:36:56,370 - 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-06-05 17:36:56,472 - DEBUG - VM ctest-vm1-test-34236402 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 17:37:01,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 17:37:01,473 - DEBUG - Waiting to SSH to VM ctest-vm1-test-34236402, IP 10.10.10.3, Port 22
2026-06-05 17:37:01,638 - DEBUG - VM ctest-vm1-test-34236402 is ready for SSH connections
2026-06-05 17:37:01,638 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2026-06-05 17:37:01,638 - DEBUG - ifconfig | grep 10.10.10.3
2026-06-05 17:37:21,920 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-06-05 17:37:21,921 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-34236402", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2026-06-05 17:37:21,921 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-34236402", None, socket.AF_INET6)'
2026-06-05 17:37:23,374 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-34236402, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2026-06-05 17:37:23,374 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-34236402
2026-06-05 17:37:25,939 - DEBUG - PING ctest-vm1-test-34236402.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-34236402.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.61 ms
64 bytes from ctest-vm1-test-34236402.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.76 ms
64 bytes from ctest-vm1-test-34236402.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.227 ms
--- ctest-vm1-test-34236402.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.227/2.535/4.612/1.797 ms
2026-06-05 17:37:25,939 - INFO - Ping to IP ctest-vm1-test-34236402 from VM ctest-vm1-test-34236402 passed
2026-06-05 17:37:25,962 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-05 17:37:25,969 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-83087376@0%20AllEntriesVdnsRecordsReq
2026-06-05 17:37:25,976 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-05 17:37:25,981 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-83087376@0%20AllEntriesVdnsRecordsReq
2026-06-05 17:37:25,987 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-05 17:37:25,992 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-83087376@0%20AllEntriesVdnsRecordsReq
2026-06-05 17:37:25,997 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-83087376:1:ctest-vm1-test-34236402:10.10.10.3', 'rec_name': 'ctest-vm1-test-34236402', '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-5896-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-34236402.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-06-05 17:37:25,997 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-83087376:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-34236402', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-34236402', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5896-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-34236402.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-06-05 17:37:27,398 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5896-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5896-2)
2026-06-05 17:37:27,399 - INFO - Waiting for VM ctest-vm2-test-68171704 to be up..
2026-06-05 17:37:27,444 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-05 17:37:32,539 - DEBUG - VM is in ACTIVE state now
2026-06-05 17:37:32,539 - INFO - VM name : ctest-vm2-test-68171704
2026-06-05 17:37:32,643 - DEBUG - VM ctest-vm2-test-68171704 ID is ea33864c-950f-492a-9087-98b98b1ef8df
2026-06-05 17:37:32,643 - DEBUG - VM ctest-vm2-test-68171704 launched on Node an-jenkins-deploy-platform-ansible-os-5896-2
2026-06-05 17:37:32,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ea33864c-950f-492a-9087-98b98b1ef8df
2026-06-05 17:37:32,753 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9e295510-3c86-4524-a78c-f81c75e1209c
2026-06-05 17:37:35,924 - 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 1007ms')
2026-06-05 17:37:35,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68171704 failed!
2026-06-05 17:37:35,941 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:37:40,028 - 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-06-05 17:37:40,028 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68171704 failed!
2026-06-05 17:37:40,042 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:37:44,116 - 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 1012ms')
2026-06-05 17:37:44,116 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68171704 failed!
2026-06-05 17:37:44,129 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:37:48,219 - 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-06-05 17:37:48,219 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68171704 failed!
2026-06-05 17:37:48,234 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:37:52,313 - 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 1012ms')
2026-06-05 17:37:52,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68171704 failed!
2026-06-05 17:37:52,329 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:37:56,409 - 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 1012ms')
2026-06-05 17:37:56,409 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68171704 failed!
2026-06-05 17:37:56,427 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:38:00,499 - 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 1007ms')
2026-06-05 17:38:00,499 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68171704 failed!
2026-06-05 17:38:00,513 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:38:04,600 - 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-06-05 17:38:04,601 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68171704 failed!
2026-06-05 17:38:04,618 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:38:08,690 - 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 1012ms')
2026-06-05 17:38:08,690 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68171704 failed!
2026-06-05 17:38:08,704 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11836602:ctest-vn1-vdns-65168851 is 10.10.10.1 and allocation pool is NOT set
2026-06-05 17:38:12,791 - 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=8.54 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 8.542/8.542/8.542/0.000 ms')
2026-06-05 17:38:12,791 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68171704 passed
2026-06-05 17:38:12,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 17:38:12,862 - DEBUG - Waiting to SSH to VM ctest-vm2-test-68171704, IP 10.10.10.4, Port 22
2026-06-05 17:38:12,929 - 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-06-05 17:38:13,015 - DEBUG - VM ctest-vm2-test-68171704 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 17:38:18,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 17:38:18,016 - DEBUG - Waiting to SSH to VM ctest-vm2-test-68171704, IP 10.10.10.4, Port 22
2026-06-05 17:38:18,089 - 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-06-05 17:38:18,185 - DEBUG - VM ctest-vm2-test-68171704 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 17:38:23,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 17:38:23,186 - DEBUG - Waiting to SSH to VM ctest-vm2-test-68171704, IP 10.10.10.4, Port 22
2026-06-05 17:38:23,252 - 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-06-05 17:38:23,346 - DEBUG - VM ctest-vm2-test-68171704 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 17:38:28,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 17:38:28,347 - DEBUG - Waiting to SSH to VM ctest-vm2-test-68171704, IP 10.10.10.4, Port 22
2026-06-05 17:38:28,414 - 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-06-05 17:38:28,506 - DEBUG - VM ctest-vm2-test-68171704 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 17:38:33,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 17:38:33,507 - DEBUG - Waiting to SSH to VM ctest-vm2-test-68171704, IP 10.10.10.4, Port 22
2026-06-05 17:38:33,577 - 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-06-05 17:38:33,667 - DEBUG - VM ctest-vm2-test-68171704 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 17:38:38,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 17:38:38,668 - DEBUG - Waiting to SSH to VM ctest-vm2-test-68171704, IP 10.10.10.4, Port 22
2026-06-05 17:38:38,842 - DEBUG - VM ctest-vm2-test-68171704 is ready for SSH connections
2026-06-05 17:38:38,842 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-05 17:38:38,842 - DEBUG - ifconfig | grep 10.10.10.4
2026-06-05 17:39:01,696 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-06-05 17:39:01,697 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68171704", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-05 17:39:01,697 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68171704", None, socket.AF_INET6)'
2026-06-05 17:39:03,663 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-68171704, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-05 17:39:03,664 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-68171704
2026-06-05 17:39:06,346 - DEBUG - PING ctest-vm2-test-68171704.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-68171704.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.92 ms
64 bytes from ctest-vm2-test-68171704.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=3.08 ms
64 bytes from ctest-vm2-test-68171704.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.238 ms
--- ctest-vm2-test-68171704.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.238/2.415/3.929/1.579 ms
2026-06-05 17:39:06,346 - INFO - Ping to IP ctest-vm2-test-68171704 from VM ctest-vm2-test-68171704 passed
2026-06-05 17:39:06,369 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-05 17:39:06,374 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-83087376@0%20AllEntriesVdnsRecordsReq
2026-06-05 17:39:06,379 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-05 17:39:06,384 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-83087376@0%20AllEntriesVdnsRecordsReq
2026-06-05 17:39:06,390 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-06-05 17:39:06,394 - DEBUG - Requesting: http://10.0.0.33:8092/Snh_PageReq?x=default-domain:ctest-vdns1-83087376@0%20AllEntriesVdnsRecordsReq
2026-06-05 17:39:06,399 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-83087376:1:ctest-vm2-test-68171704:10.10.10.4', 'rec_name': 'ctest-vm2-test-68171704', '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-5896-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-68171704.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-06-05 17:39:06,400 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-83087376:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-68171704', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-68171704', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5896-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-68171704.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-06-05 17:39:06,400 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68171704", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2026-06-05 17:39:06,400 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68171704", None, socket.AF_INET6)'
2026-06-05 17:39:07,676 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-68171704, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2026-06-05 17:39:07,676 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-68171704
2026-06-05 17:39:10,320 - DEBUG - PING ctest-vm2-test-68171704.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-68171704.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.6 ms
64 bytes from ctest-vm2-test-68171704.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.25 ms
64 bytes from ctest-vm2-test-68171704.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.25 ms
--- ctest-vm2-test-68171704.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.255/4.376/10.614/4.410 ms
2026-06-05 17:39:10,320 - INFO - Ping to IP ctest-vm2-test-68171704 from VM ctest-vm1-test-34236402 passed
2026-06-05 17:39:10,320 - INFO - Try deleting the VDNS entry ctest-vdns1-83087376 with back ref of ipam.
2026-06-05 17:39:10,379 - DEBUG - Delete when resource still referred: ['http://10.0.0.38:8082/network-ipam/6d3ab611-709d-4b01-9cc0-1b14bb40abc8']
2026-06-05 17:39:10,379 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-06-05 17:39:10,379 - INFO - Add CNAME VDNS record for ctest-vm1-test-34236402 and verify we able to ping by alias name
2026-06-05 17:39:10,427 - DEBUG - Creating VDNS record data : test-rec
2026-06-05 17:39:10,559 - INFO - In verify_on_setup
2026-06-05 17:39:10,655 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-83087376', 'test-rec'] created succesfully
2026-06-05 17:39:10,655 - INFO - Verify VDNS record is shown in the API server
2026-06-05 17:39:10,655 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-05 17:39:10,662 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2afd8c56-3066-40b1-96ed-768ec91ed6e8
2026-06-05 17:39:10,703 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-DNS/176a8703-f126-4b53-b27f-2125255cdd70
2026-06-05 17:39:10,715 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-DNS-record/ea40aa09-2589-459d-a111-670683a9a7ba
2026-06-05 17:39:10,722 - INFO - Verify VDNS record is shown in the control node
2026-06-05 17:39:10,738 - 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.27, gateway password: c0ntrail123
2026-06-05 17:39:10,738 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-06-05 17:39:11,990 - 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.27, gateway password: c0ntrail123
2026-06-05 17:39:11,990 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-06-05 17:39:12,543 - DEBUG - ping: unknown host vm1-test-alias
2026-06-05 17:39:12,543 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-34236402 failed
2026-06-05 17:39:13,544 - 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.27, gateway password: c0ntrail123
2026-06-05 17:39:13,544 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-06-05 17:39:14,824 - 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.27, gateway password: c0ntrail123
2026-06-05 17:39:14,824 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-06-05 17:39:17,389 - DEBUG - PING ctest-vm1-test-34236402.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-34236402.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.282 ms
64 bytes from ctest-vm1-test-34236402.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.232 ms
64 bytes from ctest-vm1-test-34236402.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.261 ms
--- ctest-vm1-test-34236402.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.232/0.258/0.282/0.024 ms
2026-06-05 17:39:17,389 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-34236402 passed
2026-06-05 17:39:17,389 - DEBUG - Deleting VDNS record data: test-rec
2026-06-05 17:39:17,471 - INFO - VDNS record info: default-domain:ctest-vdns1-83087376:test-rec deleted successfully.
2026-06-05 17:39:17,471 - INFO - Deleting VM ctest-vm2-test-68171704
2026-06-05 17:39:17,539 - INFO - Deleting VM ctest-vm1-test-34236402
2026-06-05 17:39:17,611 - INFO - Deleting VN ctest-vn1-vdns-65168851
2026-06-05 17:39:17,660 - DEBUG - VN 2b5da954-2347-4803-b437-a0c915614959 still in use: Unable to complete operation on network 2b5da954-2347-4803-b437-a0c915614959. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-debf4c6f-3a2c-4611-b603-7cb98d2e2f60']
2026-06-05 17:39:17,660 - WARNING - Deleting VN ctest-vn1-vdns-65168851 failed..Will retry
2026-06-05 17:39:19,828 - DEBUG - Response for deleting network ()
2026-06-05 17:39:19,896 - DEBUG - Deleting VDNS Entry: ctest-vdns1-83087376
2026-06-05 17:39:20,015 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-83087376'] deleted successfully.
2026-06-05 17:39:20,015 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-05 17:39:20,024 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2afd8c56-3066-40b1-96ed-768ec91ed6e8
2026-06-05 17:39:20,038 - DEBUG - VDNS information not found in API server
2026-06-05 17:39:20,038 - INFO - VDNS information ctest-vdns1-83087376 removed from the API Server
2026-06-05 17:39:20,044 - INFO - VDNS information ctest-vdns1-83087376 removed in the Control node
2026-06-05 17:39:20,044 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-11836602']
2026-06-05 17:39:21,306 - DEBUG - No XMPP flaps were noticed during the test
2026-06-05 17:39:21,307 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:30]
2026-06-05 17:39:21,307 - INFO - --------------------------------------------------------------------------------
2026-06-05 17:39:22,846 - INFO - Deleted project: ctest-TestvDNSBasic0-11836602, ID : 32cd15bd-38df-4970-bb29-80bdc5ca0212