2026-09-07 03:38:51,475 - INFO - Domain Default found not creating
2026-09-07 03:38:51,655 - INFO - Project ctest-TestvDNSBasic0-63083985 not found, creating it
2026-09-07 03:38:52,330 - INFO - Created Project:ctest-TestvDNSBasic0-63083985, ID : ffa0e129-7f59-48a5-b2a1-ee0c2e5558d2
2026-09-07 03:38:54,261 - INFO - ================================================================================
2026-09-07 03:38:54,261 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-09-07 03:38:54,261 - 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-09-07 03:38:55,577 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0', '10.20.0.29': '0'}, '10.0.0.190': {'10.20.0.254': '0', '10.20.0.25': '0'}} with
2026-09-07 03:38:55,577 - INFO - Initial checks done. Running the testcase now
2026-09-07 03:38:55,577 - INFO -
2026-09-07 03:38:56,492 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-63083985'](ffa0e129-7f59-48a5-b2a1-ee0c2e5558d2)
2026-09-07 03:38:56,552 - DEBUG - Creating VDNS : ctest-vdns1-59455680
2026-09-07 03:38:56,781 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-59455680'] created succesfully
2026-09-07 03:38:56,781 - DEBUG - Verify VDNS entry is shown in control node
2026-09-07 03:38:56,824 - DEBUG - Verify VDNS entry is shown in the API server
2026-09-07 03:38:56,824 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-07 03:38:57,203 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-07 03:38:57,240 - DEBUG - Requesting: http://10.0.0.185:8082/domain/c4abf38b-4fc4-41a0-99cf-13229ed4f15e
2026-09-07 03:38:57,260 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-DNS/5f4d3420-c676-43ca-971e-addf07d541cd
2026-09-07 03:38:58,027 - DEBUG - Response for create_network : {'network': {'id': 'd65cea15-c768-4814-b542-cb51d53393af', 'name': 'ctest-vn1-vdns-93147888', 'tenant_id': 'ffa0e1297f5948a5b2a1ee0c2e5558d2', 'project_id': 'ffa0e1297f5948a5b2a1ee0c2e5558d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-63083985', 'ctest-vn1-vdns-93147888'], 'port_security_enabled': True, 'description': ''}}
2026-09-07 03:38:58,345 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fac1b86-f46e-4500-a564-001e3f6a3058', 'name': '', 'tenant_id': 'ffa0e1297f5948a5b2a1ee0c2e5558d2', 'network_id': 'd65cea15-c768-4814-b542-cb51d53393af', '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': 'ffa0e1297f5948a5b2a1ee0c2e5558d2'}}
2026-09-07 03:38:58,370 - INFO - Created VN ctest-vn1-vdns-93147888
2026-09-07 03:38:58,383 - DEBUG - VN ctest-vn1-vdns-93147888 UUID is d65cea15-c768-4814-b542-cb51d53393af
2026-09-07 03:38:58,569 - DEBUG - Services list from nova: [, , , ]
2026-09-07 03:38:59,098 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6258-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6258-2)
2026-09-07 03:38:59,098 - INFO - Waiting for VM ctest-vm1-test-83419040 to be up..
2026-09-07 03:38:59,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-07 03:39:04,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-07 03:39:09,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-07 03:39:14,426 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-07 03:39:19,515 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-07 03:39:24,607 - DEBUG - VM is in ACTIVE state now
2026-09-07 03:39:24,607 - INFO - VM name : ctest-vm1-test-83419040
2026-09-07 03:39:24,697 - DEBUG - VM ctest-vm1-test-83419040 ID is 691d4848-5488-4ae9-b1e2-ca92602da11e
2026-09-07 03:39:24,698 - DEBUG - VM ctest-vm1-test-83419040 launched on Node an-jenkins-deploy-platform-ansible-os-6258-2
2026-09-07 03:39:24,789 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/691d4848-5488-4ae9-b1e2-ca92602da11e
2026-09-07 03:39:25,158 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/691d4848-5488-4ae9-b1e2-ca92602da11e
2026-09-07 03:39:25,191 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/0cd37f43-4d91-4ca8-95dc-5238e45ed776
2026-09-07 03:39:28,382 - 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 1030ms')
2026-09-07 03:39:28,382 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83419040 failed!
2026-09-07 03:39:28,398 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:39:32,480 - 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-09-07 03:39:32,480 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83419040 failed!
2026-09-07 03:39:32,497 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:39:36,574 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2026-09-07 03:39:36,575 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83419040 failed!
2026-09-07 03:39:36,591 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:39:40,698 - 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-09-07 03:39:40,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83419040 failed!
2026-09-07 03:39:40,714 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:39:44,803 - 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-09-07 03:39:44,803 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83419040 failed!
2026-09-07 03:39:44,819 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:39:48,897 - 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-09-07 03:39:48,897 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83419040 failed!
2026-09-07 03:39:48,913 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:39:52,988 - 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-09-07 03:39:52,988 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83419040 failed!
2026-09-07 03:39:53,004 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:39:55,075 - 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=14.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.25 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.247/8.367/14.488/6.120 ms')
2026-09-07 03:39:55,075 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-83419040 passed
2026-09-07 03:39:55,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-07 03:39:55,146 - DEBUG - Waiting to SSH to VM ctest-vm1-test-83419040, IP 10.10.10.3, Port 22
2026-09-07 03:39:55,212 - 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-09-07 03:39:55,308 - DEBUG - VM ctest-vm1-test-83419040 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-07 03:40:00,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-07 03:40:00,309 - DEBUG - Waiting to SSH to VM ctest-vm1-test-83419040, IP 10.10.10.3, Port 22
2026-09-07 03:40:00,377 - 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-09-07 03:40:00,474 - DEBUG - VM ctest-vm1-test-83419040 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-07 03:40:05,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-07 03:40:05,475 - DEBUG - Waiting to SSH to VM ctest-vm1-test-83419040, IP 10.10.10.3, Port 22
2026-09-07 03:40:05,542 - 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-09-07 03:40:05,634 - DEBUG - VM ctest-vm1-test-83419040 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-07 03:40:10,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-07 03:40:10,634 - DEBUG - Waiting to SSH to VM ctest-vm1-test-83419040, IP 10.10.10.3, Port 22
2026-09-07 03:40:10,805 - DEBUG - VM ctest-vm1-test-83419040 is ready for SSH connections
2026-09-07 03:40:10,805 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-09-07 03:40:10,805 - DEBUG - ifconfig | grep 10.10.10.3
2026-09-07 03:40:18,179 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-09-07 03:40:18,179 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-83419040", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-09-07 03:40:18,179 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-83419040", None, socket.AF_INET6)'
2026-09-07 03:40:20,404 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-83419040, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-09-07 03:40:20,404 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-83419040
2026-09-07 03:40:22,899 - DEBUG - PING ctest-vm1-test-83419040.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-83419040.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.94 ms
64 bytes from ctest-vm1-test-83419040.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.317 ms
64 bytes from ctest-vm1-test-83419040.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.272 ms
--- ctest-vm1-test-83419040.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.272/0.844/1.943/0.777 ms
2026-09-07 03:40:22,899 - INFO - Ping to IP ctest-vm1-test-83419040 from VM ctest-vm1-test-83419040 passed
2026-09-07 03:40:22,930 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-07 03:40:22,940 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=default-domain:ctest-vdns1-59455680@0%20AllEntriesVdnsRecordsReq
2026-09-07 03:40:22,947 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-07 03:40:22,955 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=default-domain:ctest-vdns1-59455680@0%20AllEntriesVdnsRecordsReq
2026-09-07 03:40:22,963 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-07 03:40:22,969 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=default-domain:ctest-vdns1-59455680@0%20AllEntriesVdnsRecordsReq
2026-09-07 03:40:22,978 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-59455680:1:ctest-vm1-test-83419040:10.10.10.3', 'rec_name': 'ctest-vm1-test-83419040', '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-6258-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-83419040.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-09-07 03:40:22,978 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-59455680:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-83419040', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-83419040', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6258-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-83419040.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-09-07 03:40:23,711 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6258-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6258-1)
2026-09-07 03:40:23,712 - INFO - Waiting for VM ctest-vm2-test-68172922 to be up..
2026-09-07 03:40:23,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-07 03:40:28,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-07 03:40:33,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-07 03:40:39,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-07 03:40:44,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-07 03:40:49,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-07 03:40:54,324 - DEBUG - VM is in ACTIVE state now
2026-09-07 03:40:54,325 - INFO - VM name : ctest-vm2-test-68172922
2026-09-07 03:40:54,415 - DEBUG - VM ctest-vm2-test-68172922 ID is 0ba03650-d07c-4870-9ea8-72436a96d22f
2026-09-07 03:40:54,415 - DEBUG - VM ctest-vm2-test-68172922 launched on Node an-jenkins-deploy-platform-ansible-os-6258-1
2026-09-07 03:40:54,510 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/0ba03650-d07c-4870-9ea8-72436a96d22f
2026-09-07 03:40:54,522 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/3f3af76d-749c-47ac-9032-6b9616e7194a
2026-09-07 03:40:57,701 - 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-09-07 03:40:57,702 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68172922 failed!
2026-09-07 03:40:57,725 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:41:01,799 - 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-09-07 03:41:01,799 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68172922 failed!
2026-09-07 03:41:01,819 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:41:05,895 - 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-09-07 03:41:05,895 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68172922 failed!
2026-09-07 03:41:05,914 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:41:10,022 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1033ms')
2026-09-07 03:41:10,022 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68172922 failed!
2026-09-07 03:41:10,039 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:41:14,119 - 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-09-07 03:41:14,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68172922 failed!
2026-09-07 03:41:14,135 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:41:18,216 - 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-09-07 03:41:18,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68172922 failed!
2026-09-07 03:41:18,232 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:41:22,312 - 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-09-07 03:41:22,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68172922 failed!
2026-09-07 03:41:22,329 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:41:26,408 - 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-09-07 03:41:26,408 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68172922 failed!
2026-09-07 03:41:26,424 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-63083985:ctest-vn1-vdns-93147888 is 10.10.10.1 and allocation pool is NOT set
2026-09-07 03:41:28,497 - 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.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.23 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.225/6.331/10.438/4.106 ms')
2026-09-07 03:41:28,497 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-68172922 passed
2026-09-07 03:41:28,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-07 03:41:28,575 - DEBUG - Waiting to SSH to VM ctest-vm2-test-68172922, IP 10.10.10.4, Port 22
2026-09-07 03:41:28,645 - 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-09-07 03:41:28,791 - DEBUG - VM ctest-vm2-test-68172922 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-07 03:41:33,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-07 03:41:33,792 - DEBUG - Waiting to SSH to VM ctest-vm2-test-68172922, IP 10.10.10.4, Port 22
2026-09-07 03:41:33,861 - 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-09-07 03:41:33,956 - DEBUG - VM ctest-vm2-test-68172922 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-07 03:41:38,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-07 03:41:38,958 - DEBUG - Waiting to SSH to VM ctest-vm2-test-68172922, IP 10.10.10.4, Port 22
2026-09-07 03:41:39,024 - 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-09-07 03:41:39,114 - DEBUG - VM ctest-vm2-test-68172922 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-07 03:41:44,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-07 03:41:44,114 - DEBUG - Waiting to SSH to VM ctest-vm2-test-68172922, IP 10.10.10.4, Port 22
2026-09-07 03:41:44,292 - DEBUG - VM ctest-vm2-test-68172922 is ready for SSH connections
2026-09-07 03:41:44,293 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-09-07 03:41:44,293 - DEBUG - ifconfig | grep 10.10.10.4
2026-09-07 03:41:55,311 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2026-09-07 03:41:55,311 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68172922", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-09-07 03:41:55,311 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68172922", None, socket.AF_INET6)'
2026-09-07 03:41:57,887 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-68172922, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-09-07 03:41:57,887 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-68172922
2026-09-07 03:42:00,438 - DEBUG - PING ctest-vm2-test-68172922.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-68172922.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.39 ms
64 bytes from ctest-vm2-test-68172922.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.389 ms
64 bytes from ctest-vm2-test-68172922.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.326 ms
--- ctest-vm2-test-68172922.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.326/1.037/2.396/0.961 ms
2026-09-07 03:42:00,439 - INFO - Ping to IP ctest-vm2-test-68172922 from VM ctest-vm2-test-68172922 passed
2026-09-07 03:42:00,461 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-07 03:42:00,469 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=default-domain:ctest-vdns1-59455680@0%20AllEntriesVdnsRecordsReq
2026-09-07 03:42:00,476 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-07 03:42:00,481 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=default-domain:ctest-vdns1-59455680@0%20AllEntriesVdnsRecordsReq
2026-09-07 03:42:00,486 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2026-09-07 03:42:00,492 - DEBUG - Requesting: http://10.0.0.185:8092/Snh_PageReq?x=default-domain:ctest-vdns1-59455680@0%20AllEntriesVdnsRecordsReq
2026-09-07 03:42:00,500 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-59455680:1:ctest-vm2-test-68172922:10.10.10.4', 'rec_name': 'ctest-vm2-test-68172922', '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-6258-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-68172922.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2026-09-07 03:42:00,500 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-59455680:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-68172922', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-68172922', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-6258-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-68172922.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-09-07 03:42:00,501 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68172922", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-09-07 03:42:00,501 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-68172922", None, socket.AF_INET6)'
2026-09-07 03:42:01,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-68172922, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-09-07 03:42:01,528 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-68172922
2026-09-07 03:42:03,818 - DEBUG - PING ctest-vm2-test-68172922.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-68172922.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=12.7 ms
64 bytes from ctest-vm2-test-68172922.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.78 ms
64 bytes from ctest-vm2-test-68172922.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.51 ms
--- ctest-vm2-test-68172922.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.512/5.355/12.768/5.242 ms
2026-09-07 03:42:03,818 - INFO - Ping to IP ctest-vm2-test-68172922 from VM ctest-vm1-test-83419040 passed
2026-09-07 03:42:03,818 - INFO - Try deleting the VDNS entry ctest-vdns1-59455680 with back ref of ipam.
2026-09-07 03:42:03,876 - DEBUG - Delete when resource still referred: ['http://10.0.0.186:8082/network-ipam/6d7ed558-c609-4d7f-b44a-c8cd31f50cd7']
2026-09-07 03:42:03,876 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2026-09-07 03:42:03,876 - INFO - Add CNAME VDNS record for ctest-vm1-test-83419040 and verify we able to ping by alias name
2026-09-07 03:42:03,924 - DEBUG - Creating VDNS record data : test-rec
2026-09-07 03:42:04,053 - INFO - In verify_on_setup
2026-09-07 03:42:04,148 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-59455680', 'test-rec'] created succesfully
2026-09-07 03:42:04,149 - INFO - Verify VDNS record is shown in the API server
2026-09-07 03:42:04,149 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-07 03:42:04,156 - DEBUG - Requesting: http://10.0.0.185:8082/domain/c4abf38b-4fc4-41a0-99cf-13229ed4f15e
2026-09-07 03:42:04,168 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-DNS/5f4d3420-c676-43ca-971e-addf07d541cd
2026-09-07 03:42:04,179 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-DNS-record/f1c384b7-a7e4-4482-bcb7-a52c47e9b0fa
2026-09-07 03:42:04,187 - INFO - Verify VDNS record is shown in the control node
2026-09-07 03:42:04,214 - 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.190, gateway password: c0ntrail123
2026-09-07 03:42:04,214 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-09-07 03:42:05,190 - 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.190, gateway password: c0ntrail123
2026-09-07 03:42:05,190 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-09-07 03:42:05,466 - DEBUG - ping: unknown host vm1-test-alias
2026-09-07 03:42:05,466 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-83419040 failed
2026-09-07 03:42:06,467 - 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.190, gateway password: c0ntrail123
2026-09-07 03:42:06,468 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2026-09-07 03:42:07,469 - 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.190, gateway password: c0ntrail123
2026-09-07 03:42:07,469 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2026-09-07 03:42:09,785 - DEBUG - PING ctest-vm1-test-83419040.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-83419040.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=1.94 ms
64 bytes from ctest-vm1-test-83419040.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.330 ms
64 bytes from ctest-vm1-test-83419040.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.219 ms
--- ctest-vm1-test-83419040.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.219/0.832/1.947/0.789 ms
2026-09-07 03:42:09,785 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-83419040 passed
2026-09-07 03:42:09,785 - DEBUG - Deleting VDNS record data: test-rec
2026-09-07 03:42:09,876 - INFO - VDNS record info: default-domain:ctest-vdns1-59455680:test-rec deleted successfully.
2026-09-07 03:42:09,877 - INFO - Deleting VM ctest-vm2-test-68172922
2026-09-07 03:42:09,967 - INFO - Deleting VM ctest-vm1-test-83419040
2026-09-07 03:42:10,051 - INFO - Deleting VN ctest-vn1-vdns-93147888
2026-09-07 03:42:10,096 - DEBUG - VN d65cea15-c768-4814-b542-cb51d53393af still in use: Unable to complete operation on network d65cea15-c768-4814-b542-cb51d53393af. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f185afb4-7b4d-472d-9f8b-fb33cb78136a']
2026-09-07 03:42:10,096 - WARNING - Deleting VN ctest-vn1-vdns-93147888 failed..Will retry
2026-09-07 03:42:12,185 - DEBUG - VN d65cea15-c768-4814-b542-cb51d53393af still in use: Unable to complete operation on network d65cea15-c768-4814-b542-cb51d53393af. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8c4e6787-e872-47a7-ba2f-1be2029fbe15']
2026-09-07 03:42:12,185 - WARNING - Deleting VN ctest-vn1-vdns-93147888 failed..Will retry
2026-09-07 03:42:14,387 - DEBUG - Response for deleting network ()
2026-09-07 03:42:14,469 - DEBUG - Deleting VDNS Entry: ctest-vdns1-59455680
2026-09-07 03:42:14,576 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-59455680'] deleted successfully.
2026-09-07 03:42:14,576 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-07 03:42:14,587 - DEBUG - Requesting: http://10.0.0.185:8082/domain/c4abf38b-4fc4-41a0-99cf-13229ed4f15e
2026-09-07 03:42:14,602 - DEBUG - VDNS information not found in API server
2026-09-07 03:42:14,602 - INFO - VDNS information ctest-vdns1-59455680 removed from the API Server
2026-09-07 03:42:14,610 - INFO - VDNS information ctest-vdns1-59455680 removed in the Control node
2026-09-07 03:42:14,610 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-63083985']
2026-09-07 03:42:15,960 - DEBUG - No XMPP flaps were noticed during the test
2026-09-07 03:42:15,960 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:21]
2026-09-07 03:42:15,960 - INFO - --------------------------------------------------------------------------------
2026-09-07 03:42:16,901 - INFO - Deleted project: ctest-TestvDNSBasic0-63083985, ID : ffa0e129-7f59-48a5-b2a1-ee0c2e5558d2