2026-05-27 17:18:00,606 - INFO - Domain Default found not creating
2026-05-27 17:18:00,867 - INFO - Project ctest-TestvDNSBasic0-58478909 not found, creating it
2026-05-27 17:18:01,620 - INFO - Created Project:ctest-TestvDNSBasic0-58478909, ID : 340d78d2-7b4f-4a2a-ba92-656091a55722
2026-05-27 17:18:03,257 - INFO - ================================================================================
2026-05-27 17:18:03,258 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-05-27 17:18:03,258 - 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-05-27 17:18:04,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.242': {'10.20.0.254': '1', '10.20.0.25': '0'}} with
2026-05-27 17:18:04,544 - INFO - Initial checks done. Running the testcase now
2026-05-27 17:18:04,544 - INFO -
2026-05-27 17:18:05,341 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-58478909'](340d78d2-7b4f-4a2a-ba92-656091a55722)
2026-05-27 17:18:05,402 - DEBUG - Creating VDNS : ctest-vdns1-58450871
2026-05-27 17:18:05,634 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-58450871'] created succesfully
2026-05-27 17:18:05,635 - DEBUG - Verify VDNS entry is shown in control node
2026-05-27 17:18:05,654 - DEBUG - Verify VDNS entry is shown in the API server
2026-05-27 17:18:05,654 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-27 17:18:05,960 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-27 17:18:05,997 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dd011215-fca5-4e74-b1da-d431e9fe9325
2026-05-27 17:18:06,015 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/1a4ceb5a-8152-4a51-935e-870a984e66c1
2026-05-27 17:18:06,806 - DEBUG - Response for create_network : {'network': {'id': '880c864f-73e3-48d4-a4b5-9b43ac00e413', 'name': 'ctest-vn1-vdns-35835478', 'tenant_id': '340d78d27b4f4a2aba92656091a55722', 'project_id': '340d78d27b4f4a2aba92656091a55722', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-58478909', 'ctest-vn1-vdns-35835478'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 17:18:07,152 - DEBUG - Response for create_subnet : {'subnet': {'id': '25b9b9b0-b856-4337-8225-9c710a659e9d', 'name': '', 'tenant_id': '340d78d27b4f4a2aba92656091a55722', 'network_id': '880c864f-73e3-48d4-a4b5-9b43ac00e413', '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': '340d78d27b4f4a2aba92656091a55722'}}
2026-05-27 17:18:07,179 - INFO - Created VN ctest-vn1-vdns-35835478
2026-05-27 17:18:07,194 - DEBUG - VN ctest-vn1-vdns-35835478 UUID is 880c864f-73e3-48d4-a4b5-9b43ac00e413
2026-05-27 17:18:07,408 - DEBUG - Services list from nova: [, , , ]
2026-05-27 17:18:08,760 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5832-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5832-2)
2026-05-27 17:18:08,760 - INFO - Waiting for VM ctest-vm1-test-26817868 to be up..
2026-05-27 17:18:08,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-27 17:18:13,902 - DEBUG - VM is in ACTIVE state now
2026-05-27 17:18:13,902 - INFO - VM name : ctest-vm1-test-26817868
2026-05-27 17:18:14,001 - DEBUG - VM ctest-vm1-test-26817868 ID is f7da2a39-2016-4bc4-b01f-c5edd42a0ab4
2026-05-27 17:18:14,001 - DEBUG - VM ctest-vm1-test-26817868 launched on Node an-jenkins-deploy-platform-ansible-os-5832-2
2026-05-27 17:18:14,095 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/f7da2a39-2016-4bc4-b01f-c5edd42a0ab4
2026-05-27 17:18:14,408 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/f7da2a39-2016-4bc4-b01f-c5edd42a0ab4
2026-05-27 17:18:14,448 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/4c9f4dba-3cc9-420a-b06f-6bf98c712c46
2026-05-27 17:18:17,629 - 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-05-27 17:18:17,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-26817868 failed!
2026-05-27 17:18:17,645 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:18:21,719 - 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-05-27 17:18:21,719 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-26817868 failed!
2026-05-27 17:18:21,737 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:18:25,820 - 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-05-27 17:18:25,820 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-26817868 failed!
2026-05-27 17:18:25,839 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:18:29,920 - 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-05-27 17:18:29,920 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-26817868 failed!
2026-05-27 17:18:29,937 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:18:34,013 - 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-05-27 17:18:34,013 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-26817868 failed!
2026-05-27 17:18:34,030 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:18:38,107 - 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-05-27 17:18:38,107 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-26817868 failed!
2026-05-27 17:18:38,126 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:18:42,204 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2026-05-27 17:18:42,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-26817868 failed!
2026-05-27 17:18:42,220 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:18:46,301 - 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-05-27 17:18:46,302 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-26817868 failed!
2026-05-27 17:18:46,322 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:18:50,391 - 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 1008ms')
2026-05-27 17:18:50,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-26817868 failed!
2026-05-27 17:18:50,408 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:18:52,473 - 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=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.81 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 = 2.805/6.819/10.833/4.014 ms')
2026-05-27 17:18:52,473 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-26817868 passed
2026-05-27 17:18:52,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 17:18:52,552 - DEBUG - Waiting to SSH to VM ctest-vm1-test-26817868, IP 10.10.10.3, Port 22
2026-05-27 17:18:52,619 - 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-05-27 17:18:52,731 - DEBUG - VM ctest-vm1-test-26817868 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 17:18:57,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 17:18:57,732 - DEBUG - Waiting to SSH to VM ctest-vm1-test-26817868, IP 10.10.10.3, Port 22
2026-05-27 17:18:57,800 - 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-05-27 17:18:57,893 - DEBUG - VM ctest-vm1-test-26817868 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 17:19:02,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 17:19:02,894 - DEBUG - Waiting to SSH to VM ctest-vm1-test-26817868, IP 10.10.10.3, Port 22
2026-05-27 17:19:02,963 - 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-05-27 17:19:03,063 - DEBUG - VM ctest-vm1-test-26817868 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 17:19:08,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 17:19:08,064 - DEBUG - Waiting to SSH to VM ctest-vm1-test-26817868, IP 10.10.10.3, Port 22
2026-05-27 17:19:08,132 - 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-05-27 17:19:08,235 - DEBUG - VM ctest-vm1-test-26817868 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 17:19:13,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 17:19:13,236 - DEBUG - Waiting to SSH to VM ctest-vm1-test-26817868, IP 10.10.10.3, Port 22
2026-05-27 17:19:13,403 - DEBUG - VM ctest-vm1-test-26817868 is ready for SSH connections
2026-05-27 17:19:13,403 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-05-27 17:19:13,403 - DEBUG - ifconfig | grep 10.10.10.3
2026-05-27 17:19:34,771 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-05-27 17:19:34,771 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-26817868", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-05-27 17:19:34,772 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-26817868", None, socket.AF_INET6)'
2026-05-27 17:19:37,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-26817868, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-05-27 17:19:37,574 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-26817868
2026-05-27 17:19:40,112 - DEBUG - PING ctest-vm1-test-26817868.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-26817868.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=5.35 ms
64 bytes from ctest-vm1-test-26817868.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.205 ms
64 bytes from ctest-vm1-test-26817868.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.207 ms
--- ctest-vm1-test-26817868.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.205/1.923/5.359/2.429 ms
2026-05-27 17:19:40,112 - INFO - Ping to IP ctest-vm1-test-26817868 from VM ctest-vm1-test-26817868 passed
2026-05-27 17:19:40,139 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-27 17:19:40,145 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58450871@0%20AllEntriesVdnsRecordsReq
2026-05-27 17:19:40,151 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-27 17:19:40,157 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58450871@0%20AllEntriesVdnsRecordsReq
2026-05-27 17:19:40,161 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-27 17:19:40,166 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58450871@0%20AllEntriesVdnsRecordsReq
2026-05-27 17:19:40,171 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-58450871:1:ctest-vm1-test-26817868:10.10.10.3', 'rec_name': 'ctest-vm1-test-26817868', '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-5832-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-26817868.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-05-27 17:19:40,171 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-58450871:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-26817868', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-26817868', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5832-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-26817868.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-05-27 17:19:41,525 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5832-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5832-1)
2026-05-27 17:19:41,526 - INFO - Waiting for VM ctest-vm2-test-53137237 to be up..
2026-05-27 17:19:41,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-27 17:19:46,680 - DEBUG - VM is in ACTIVE state now
2026-05-27 17:19:46,680 - INFO - VM name : ctest-vm2-test-53137237
2026-05-27 17:19:46,776 - DEBUG - VM ctest-vm2-test-53137237 ID is 391c12e7-1681-43a8-9991-c6881c360269
2026-05-27 17:19:46,776 - DEBUG - VM ctest-vm2-test-53137237 launched on Node an-jenkins-deploy-platform-ansible-os-5832-1
2026-05-27 17:19:46,908 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/391c12e7-1681-43a8-9991-c6881c360269
2026-05-27 17:19:46,921 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/f683117a-d49f-4ab9-a947-7ec4717795d2
2026-05-27 17:19:50,110 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2026-05-27 17:19:50,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53137237 failed!
2026-05-27 17:19:50,126 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:19:54,205 - 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-05-27 17:19:54,205 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53137237 failed!
2026-05-27 17:19:54,222 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:19:58,302 - 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-05-27 17:19:58,302 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53137237 failed!
2026-05-27 17:19:58,319 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:20:02,397 - 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-05-27 17:20:02,398 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53137237 failed!
2026-05-27 17:20:02,419 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:20:06,495 - 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-05-27 17:20:06,495 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53137237 failed!
2026-05-27 17:20:06,513 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:20:10,586 - 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-05-27 17:20:10,586 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53137237 failed!
2026-05-27 17:20:10,615 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:20:14,686 - 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 1006ms')
2026-05-27 17:20:14,686 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53137237 failed!
2026-05-27 17:20:14,708 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:20:18,781 - 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-05-27 17:20:18,781 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53137237 failed!
2026-05-27 17:20:18,797 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:20:22,871 - 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-05-27 17:20:22,871 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53137237 failed!
2026-05-27 17:20:22,888 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58478909:ctest-vn1-vdns-35835478 is 10.10.10.1 and allocation pool is NOT set
2026-05-27 17:20:24,957 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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.007/3.502/5.998/2.495 ms')
2026-05-27 17:20:24,957 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-53137237 passed
2026-05-27 17:20:25,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 17:20:25,036 - DEBUG - Waiting to SSH to VM ctest-vm2-test-53137237, IP 10.10.10.4, Port 22
2026-05-27 17:20:25,117 - 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-05-27 17:20:25,213 - DEBUG - VM ctest-vm2-test-53137237 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 17:20:30,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 17:20:30,214 - DEBUG - Waiting to SSH to VM ctest-vm2-test-53137237, IP 10.10.10.4, Port 22
2026-05-27 17:20:30,283 - 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-05-27 17:20:30,382 - DEBUG - VM ctest-vm2-test-53137237 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 17:20:35,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 17:20:35,383 - DEBUG - Waiting to SSH to VM ctest-vm2-test-53137237, IP 10.10.10.4, Port 22
2026-05-27 17:20:35,450 - 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-05-27 17:20:35,541 - DEBUG - VM ctest-vm2-test-53137237 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 17:20:40,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 17:20:40,542 - DEBUG - Waiting to SSH to VM ctest-vm2-test-53137237, IP 10.10.10.4, Port 22
2026-05-27 17:20:40,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-05-27 17:20:40,699 - DEBUG - VM ctest-vm2-test-53137237 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 17:20:45,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 17:20:45,700 - DEBUG - Waiting to SSH to VM ctest-vm2-test-53137237, IP 10.10.10.4, Port 22
2026-05-27 17:20:45,771 - 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-05-27 17:20:45,879 - DEBUG - VM ctest-vm2-test-53137237 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 17:20:50,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 17:20:50,880 - DEBUG - Waiting to SSH to VM ctest-vm2-test-53137237, IP 10.10.10.4, Port 22
2026-05-27 17:20:51,054 - DEBUG - VM ctest-vm2-test-53137237 is ready for SSH connections
2026-05-27 17:20:51,054 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-05-27 17:20:51,054 - DEBUG - ifconfig | grep 10.10.10.4
2026-05-27 17:21:11,589 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-05-27 17:21:11,589 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-53137237", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-05-27 17:21:11,589 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-53137237", None, socket.AF_INET6)'
2026-05-27 17:21:13,026 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-53137237, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-05-27 17:21:13,026 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-53137237
2026-05-27 17:21:15,576 - DEBUG - PING ctest-vm2-test-53137237.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-53137237.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.41 ms
64 bytes from ctest-vm2-test-53137237.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.299 ms
64 bytes from ctest-vm2-test-53137237.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.480 ms
--- ctest-vm2-test-53137237.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.299/1.729/4.410/1.897 ms
2026-05-27 17:21:15,576 - INFO - Ping to IP ctest-vm2-test-53137237 from VM ctest-vm2-test-53137237 passed
2026-05-27 17:21:15,599 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-27 17:21:15,606 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58450871@0%20AllEntriesVdnsRecordsReq
2026-05-27 17:21:15,612 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-27 17:21:15,618 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58450871@0%20AllEntriesVdnsRecordsReq
2026-05-27 17:21:15,623 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-05-27 17:21:15,628 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-58450871@0%20AllEntriesVdnsRecordsReq
2026-05-27 17:21:15,633 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-58450871:1:ctest-vm2-test-53137237:10.10.10.4', 'rec_name': 'ctest-vm2-test-53137237', '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-5832-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-53137237.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-05-27 17:21:15,633 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-58450871:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-53137237', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-53137237', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-5832-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-53137237.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-05-27 17:21:15,633 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-53137237", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-05-27 17:21:15,633 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-53137237", None, socket.AF_INET6)'
2026-05-27 17:21:16,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-53137237, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-05-27 17:21:16,853 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-53137237
2026-05-27 17:21:19,481 - DEBUG - PING ctest-vm2-test-53137237.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-53137237.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=7.70 ms
64 bytes from ctest-vm2-test-53137237.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.52 ms
64 bytes from ctest-vm2-test-53137237.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.30 ms
--- ctest-vm2-test-53137237.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.304/3.509/7.702/2.966 ms
2026-05-27 17:21:19,481 - INFO - Ping to IP ctest-vm2-test-53137237 from VM ctest-vm1-test-26817868 passed
2026-05-27 17:21:19,481 - INFO - Try deleting the VDNS entry ctest-vdns1-58450871 with back ref of ipam.
2026-05-27 17:21:19,542 - DEBUG - Delete when resource still referred: ['http://10.0.0.129:8082/network-ipam/486c9f61-9d97-4402-a78b-ec110a343634']
2026-05-27 17:21:19,542 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-05-27 17:21:19,542 - INFO - Add CNAME VDNS record for ctest-vm1-test-26817868 and verify we able to ping by alias name
2026-05-27 17:21:19,590 - DEBUG - Creating VDNS record data : test-rec
2026-05-27 17:21:19,718 - INFO - In verify_on_setup
2026-05-27 17:21:19,818 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-58450871', 'test-rec'] created succesfully
2026-05-27 17:21:19,818 - INFO - Verify VDNS record is shown in the API server
2026-05-27 17:21:19,819 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-27 17:21:19,826 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dd011215-fca5-4e74-b1da-d431e9fe9325
2026-05-27 17:21:19,841 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/1a4ceb5a-8152-4a51-935e-870a984e66c1
2026-05-27 17:21:19,860 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS-record/b984cfb0-f19e-4eb3-9ef8-a4e0b49d3ac5
2026-05-27 17:21:19,869 - INFO - Verify VDNS record is shown in the control node
2026-05-27 17:21:19,888 - 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.242, gateway password: c0ntrail123
2026-05-27 17:21:19,888 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-05-27 17:21:21,108 - 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.242, gateway password: c0ntrail123
2026-05-27 17:21:21,108 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-05-27 17:21:21,630 - DEBUG - ping: unknown host vm1-test-alias
2026-05-27 17:21:21,630 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-26817868 failed
2026-05-27 17:21:22,632 - 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.242, gateway password: c0ntrail123
2026-05-27 17:21:22,632 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-05-27 17:21:23,841 - 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.242, gateway password: c0ntrail123
2026-05-27 17:21:23,841 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-05-27 17:21:26,427 - DEBUG - PING ctest-vm1-test-26817868.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-26817868.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.72 ms
64 bytes from ctest-vm1-test-26817868.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.258 ms
64 bytes from ctest-vm1-test-26817868.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.202 ms
--- ctest-vm1-test-26817868.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.202/1.061/2.725/1.176 ms
2026-05-27 17:21:26,427 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-26817868 passed
2026-05-27 17:21:26,427 - DEBUG - Deleting VDNS record data: test-rec
2026-05-27 17:21:26,522 - INFO - VDNS record info: default-domain:ctest-vdns1-58450871:test-rec deleted successfully.
2026-05-27 17:21:26,522 - INFO - Deleting VM ctest-vm2-test-53137237
2026-05-27 17:21:26,604 - INFO - Deleting VM ctest-vm1-test-26817868
2026-05-27 17:21:26,695 - INFO - Deleting VN ctest-vn1-vdns-35835478
2026-05-27 17:21:26,741 - DEBUG - VN 880c864f-73e3-48d4-a4b5-9b43ac00e413 still in use: Unable to complete operation on network 880c864f-73e3-48d4-a4b5-9b43ac00e413. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c7129785-b5ab-4166-a6d0-54a717d1a586']
2026-05-27 17:21:26,741 - WARNING - Deleting VN ctest-vn1-vdns-35835478 failed..Will retry
2026-05-27 17:21:28,969 - DEBUG - Response for deleting network ()
2026-05-27 17:21:29,034 - DEBUG - Deleting VDNS Entry: ctest-vdns1-58450871
2026-05-27 17:21:29,134 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-58450871'] deleted successfully.
2026-05-27 17:21:29,134 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-27 17:21:29,141 - DEBUG - Requesting: http://10.0.0.50:8082/domain/dd011215-fca5-4e74-b1da-d431e9fe9325
2026-05-27 17:21:29,158 - DEBUG - VDNS information not found in API server
2026-05-27 17:21:29,158 - INFO - VDNS information ctest-vdns1-58450871 removed from the API Server
2026-05-27 17:21:29,167 - INFO - VDNS information ctest-vdns1-58450871 removed in the Control node
2026-05-27 17:21:29,167 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-58478909']
2026-05-27 17:21:30,462 - DEBUG - No XMPP flaps were noticed during the test
2026-05-27 17:21:30,462 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:27]
2026-05-27 17:21:30,462 - INFO - --------------------------------------------------------------------------------
2026-05-27 17:21:31,231 - INFO - Deleted project: ctest-TestvDNSBasic0-58478909, ID : 340d78d2-7b4f-4a2a-ba92-656091a55722