2025-08-14 03:05:12,491 - INFO - Domain Default found not creating
2025-08-14 03:05:12,638 - INFO - Project ctest-TestvDNSBasic0-58635845 not found, creating it
2025-08-14 03:05:13,139 - INFO - Created Project:ctest-TestvDNSBasic0-58635845, ID : 891206cb-6071-47c1-92ff-017c3da62887
2025-08-14 03:05:14,725 - INFO - ================================================================================
2025-08-14 03:05:14,725 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-08-14 03:05:14,725 - 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
2025-08-14 03:05:15,996 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.193': '0'}, '10.0.0.130': {'10.20.0.193': '0', '10.20.0.25': '0'}} with
2025-08-14 03:05:15,996 - INFO - Initial checks done. Running the testcase now
2025-08-14 03:05:15,996 - INFO -
2025-08-14 03:05:16,697 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-58635845'](891206cb-6071-47c1-92ff-017c3da62887)
2025-08-14 03:05:16,755 - DEBUG - Creating VDNS : ctest-vdns1-77042350
2025-08-14 03:05:16,984 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-77042350'] created succesfully
2025-08-14 03:05:16,984 - DEBUG - Verify VDNS entry is shown in control node
2025-08-14 03:05:17,003 - DEBUG - Verify VDNS entry is shown in the API server
2025-08-14 03:05:17,004 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-08-14 03:05:17,294 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-08-14 03:05:17,324 - DEBUG - Requesting: http://10.0.0.38:8082/domain/16362ee5-4ea2-4ad6-8a9c-e34af37c4ada
2025-08-14 03:05:17,345 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/729bfd14-f63d-4dcf-b423-b60846a3d435
2025-08-14 03:05:18,057 - DEBUG - Response for create_network : {'network': {'id': '97170d1d-b018-40db-82ab-b99245348ae1', 'name': 'ctest-vn1-vdns-73710155', 'tenant_id': '891206cb607147c192ff017c3da62887', 'project_id': '891206cb607147c192ff017c3da62887', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-58635845', 'ctest-vn1-vdns-73710155'], 'port_security_enabled': True, 'description': ''}}
2025-08-14 03:05:18,365 - DEBUG - Response for create_subnet : {'subnet': {'id': '81f93155-8591-4f77-bd8b-0166c17bba6c', 'name': '', 'tenant_id': '891206cb607147c192ff017c3da62887', 'network_id': '97170d1d-b018-40db-82ab-b99245348ae1', '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': '891206cb607147c192ff017c3da62887'}}
2025-08-14 03:05:18,394 - INFO - Created VN ctest-vn1-vdns-73710155
2025-08-14 03:05:18,409 - DEBUG - VN ctest-vn1-vdns-73710155 UUID is 97170d1d-b018-40db-82ab-b99245348ae1
2025-08-14 03:05:18,590 - DEBUG - Services list from nova: [, , , ]
2025-08-14 03:05:19,643 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3851-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3851-2)
2025-08-14 03:05:19,643 - INFO - Waiting for VM ctest-vm1-test-51497912 to be up..
2025-08-14 03:05:19,698 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-14 03:05:24,773 - DEBUG - VM is in ACTIVE state now
2025-08-14 03:05:24,774 - INFO - VM name : ctest-vm1-test-51497912
2025-08-14 03:05:24,847 - DEBUG - VM ctest-vm1-test-51497912 ID is e0231fdd-8587-477d-9d2f-c648ea7618ba
2025-08-14 03:05:24,847 - DEBUG - VM ctest-vm1-test-51497912 launched on Node an-jenkins-deploy-platform-ansible-os-3851-2
2025-08-14 03:05:24,929 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e0231fdd-8587-477d-9d2f-c648ea7618ba
2025-08-14 03:05:25,237 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e0231fdd-8587-477d-9d2f-c648ea7618ba
2025-08-14 03:05:25,273 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f3670cd0-9708-4cc2-b542-b69298d761a5
2025-08-14 03:05:28,460 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms')
2025-08-14 03:05:28,460 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51497912 failed!
2025-08-14 03:05:28,479 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:05:32,556 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2025-08-14 03:05:32,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51497912 failed!
2025-08-14 03:05:32,570 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:05:36,655 - 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 1028ms')
2025-08-14 03:05:36,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51497912 failed!
2025-08-14 03:05:36,671 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:05:40,747 - 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')
2025-08-14 03:05:40,747 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51497912 failed!
2025-08-14 03:05:40,763 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:05:44,849 - 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')
2025-08-14 03:05:44,849 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51497912 failed!
2025-08-14 03:05:44,867 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:05:48,938 - 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')
2025-08-14 03:05:48,938 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51497912 failed!
2025-08-14 03:05:48,953 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:05:53,041 - 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')
2025-08-14 03:05:53,041 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51497912 failed!
2025-08-14 03:05:53,056 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:05:55,120 - 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=7.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.659 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 = 0.659/4.257/7.855/3.598 ms')
2025-08-14 03:05:55,120 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-51497912 passed
2025-08-14 03:05:55,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 03:05:55,191 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51497912, IP 10.10.10.3, Port 22
2025-08-14 03:05:55,246 - 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': ''}
2025-08-14 03:05:55,325 - DEBUG - VM ctest-vm1-test-51497912 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-14 03:06:00,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 03:06:00,326 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51497912, IP 10.10.10.3, Port 22
2025-08-14 03:06:00,393 - 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': ''}
2025-08-14 03:06:00,467 - DEBUG - VM ctest-vm1-test-51497912 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-14 03:06:05,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 03:06:05,468 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51497912, IP 10.10.10.3, Port 22
2025-08-14 03:06:05,526 - 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': ''}
2025-08-14 03:06:05,604 - DEBUG - VM ctest-vm1-test-51497912 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-14 03:06:10,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 03:06:10,605 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51497912, IP 10.10.10.3, Port 22
2025-08-14 03:06:10,662 - 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': ''}
2025-08-14 03:06:10,746 - DEBUG - VM ctest-vm1-test-51497912 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-14 03:06:15,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 03:06:15,747 - DEBUG - Waiting to SSH to VM ctest-vm1-test-51497912, IP 10.10.10.3, Port 22
2025-08-14 03:06:15,913 - DEBUG - VM ctest-vm1-test-51497912 is ready for SSH connections
2025-08-14 03:06:15,913 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-08-14 03:06:15,913 - DEBUG - ifconfig | grep 10.10.10.3
2025-08-14 03:06:32,143 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-08-14 03:06:32,144 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-51497912", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-08-14 03:06:32,144 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-51497912", None, socket.AF_INET6)'
2025-08-14 03:06:34,322 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-51497912, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-08-14 03:06:34,322 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-51497912
2025-08-14 03:06:37,142 - DEBUG - PING ctest-vm1-test-51497912.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-51497912.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.20 ms
64 bytes from ctest-vm1-test-51497912.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.355 ms
64 bytes from ctest-vm1-test-51497912.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.235 ms
--- ctest-vm1-test-51497912.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.235/0.931/2.205/0.902 ms
2025-08-14 03:06:37,142 - INFO - Ping to IP ctest-vm1-test-51497912 from VM ctest-vm1-test-51497912 passed
2025-08-14 03:06:37,165 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-14 03:06:37,172 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77042350@0%20AllEntriesVdnsRecordsReq
2025-08-14 03:06:37,179 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-14 03:06:37,184 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77042350@0%20AllEntriesVdnsRecordsReq
2025-08-14 03:06:37,190 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-14 03:06:37,197 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77042350@0%20AllEntriesVdnsRecordsReq
2025-08-14 03:06:37,216 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77042350:1:ctest-vm1-test-51497912:10.10.10.3', 'rec_name': 'ctest-vm1-test-51497912', '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-3851-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-51497912.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-08-14 03:06:37,217 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77042350:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-51497912', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-51497912', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3851-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-51497912.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'}
2025-08-14 03:06:38,445 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3851-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3851-1)
2025-08-14 03:06:38,445 - INFO - Waiting for VM ctest-vm2-test-34674996 to be up..
2025-08-14 03:06:38,488 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-14 03:06:43,575 - DEBUG - VM is in ACTIVE state now
2025-08-14 03:06:43,575 - INFO - VM name : ctest-vm2-test-34674996
2025-08-14 03:06:43,652 - DEBUG - VM ctest-vm2-test-34674996 ID is 8e348d24-61fe-43cf-b6cb-83704fd76aa1
2025-08-14 03:06:43,652 - DEBUG - VM ctest-vm2-test-34674996 launched on Node an-jenkins-deploy-platform-ansible-os-3851-1
2025-08-14 03:06:43,728 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/8e348d24-61fe-43cf-b6cb-83704fd76aa1
2025-08-14 03:06:43,738 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/47d3a48a-c245-4e17-bf7d-2d63169a13df
2025-08-14 03:06:46,928 - 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 1028ms')
2025-08-14 03:06:46,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34674996 failed!
2025-08-14 03:06:46,943 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:06:51,030 - 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 1024ms')
2025-08-14 03:06:51,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34674996 failed!
2025-08-14 03:06:51,056 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:06:55,127 - 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')
2025-08-14 03:06:55,127 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34674996 failed!
2025-08-14 03:06:55,140 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:06:59,220 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2025-08-14 03:06:59,220 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34674996 failed!
2025-08-14 03:06:59,236 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:07:03,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 1019ms')
2025-08-14 03:07:03,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34674996 failed!
2025-08-14 03:07:03,330 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:07:07,410 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms')
2025-08-14 03:07:07,410 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34674996 failed!
2025-08-14 03:07:07,426 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:07:11,504 - 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')
2025-08-14 03:07:11,504 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34674996 failed!
2025-08-14 03:07:11,518 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-58635845:ctest-vn1-vdns-73710155 is 10.10.10.1 and allocation pool is NOT set
2025-08-14 03:07:15,604 - 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=6.59 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 6.592/6.592/6.592/0.000 ms')
2025-08-14 03:07:15,604 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-34674996 passed
2025-08-14 03:07:15,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 03:07:15,672 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34674996, IP 10.10.10.4, Port 22
2025-08-14 03:07:15,729 - 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': ''}
2025-08-14 03:07:15,803 - DEBUG - VM ctest-vm2-test-34674996 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-14 03:07:20,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 03:07:20,804 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34674996, IP 10.10.10.4, Port 22
2025-08-14 03:07:20,862 - 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': ''}
2025-08-14 03:07:20,933 - DEBUG - VM ctest-vm2-test-34674996 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-14 03:07:25,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 03:07:25,933 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34674996, IP 10.10.10.4, Port 22
2025-08-14 03:07:25,990 - 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': ''}
2025-08-14 03:07:26,102 - DEBUG - VM ctest-vm2-test-34674996 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-14 03:07:31,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 03:07:31,104 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34674996, IP 10.10.10.4, Port 22
2025-08-14 03:07:31,161 - 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': ''}
2025-08-14 03:07:31,242 - DEBUG - VM ctest-vm2-test-34674996 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-14 03:07:36,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 03:07:36,243 - DEBUG - Waiting to SSH to VM ctest-vm2-test-34674996, IP 10.10.10.4, Port 22
2025-08-14 03:07:36,412 - DEBUG - VM ctest-vm2-test-34674996 is ready for SSH connections
2025-08-14 03:07:36,412 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-08-14 03:07:36,412 - DEBUG - ifconfig | grep 10.10.10.4
2025-08-14 03:07:53,760 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-08-14 03:07:53,760 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34674996", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-08-14 03:07:53,760 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34674996", None, socket.AF_INET6)'
2025-08-14 03:07:56,283 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-34674996, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-08-14 03:07:56,283 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-34674996
2025-08-14 03:07:59,191 - DEBUG - PING ctest-vm2-test-34674996.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-34674996.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.52 ms
64 bytes from ctest-vm2-test-34674996.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.358 ms
64 bytes from ctest-vm2-test-34674996.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.189 ms
--- ctest-vm2-test-34674996.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.189/1.023/2.523/1.062 ms
2025-08-14 03:07:59,192 - INFO - Ping to IP ctest-vm2-test-34674996 from VM ctest-vm2-test-34674996 passed
2025-08-14 03:07:59,212 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-14 03:07:59,218 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77042350@0%20AllEntriesVdnsRecordsReq
2025-08-14 03:07:59,226 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-14 03:07:59,234 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77042350@0%20AllEntriesVdnsRecordsReq
2025-08-14 03:07:59,248 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-14 03:07:59,254 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-77042350@0%20AllEntriesVdnsRecordsReq
2025-08-14 03:07:59,262 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77042350:1:ctest-vm2-test-34674996:10.10.10.4', 'rec_name': 'ctest-vm2-test-34674996', '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-3851-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-34674996.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-08-14 03:07:59,262 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-77042350:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-34674996', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-34674996', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3851-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-34674996.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'}
2025-08-14 03:07:59,262 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34674996", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-08-14 03:07:59,262 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34674996", None, socket.AF_INET6)'
2025-08-14 03:08:00,348 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-34674996, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-08-14 03:08:00,348 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-34674996
2025-08-14 03:08:02,844 - DEBUG - PING ctest-vm2-test-34674996.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-34674996.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.27 ms
64 bytes from ctest-vm2-test-34674996.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.17 ms
64 bytes from ctest-vm2-test-34674996.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.35 ms
--- ctest-vm2-test-34674996.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.171/3.932/9.276/3.779 ms
2025-08-14 03:08:02,845 - INFO - Ping to IP ctest-vm2-test-34674996 from VM ctest-vm1-test-51497912 passed
2025-08-14 03:08:02,845 - INFO - Try deleting the VDNS entry ctest-vdns1-77042350 with back ref of ipam.
2025-08-14 03:08:02,919 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/9be4af4c-dfda-43e6-a795-f28bf4c3a759']
2025-08-14 03:08:02,920 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-08-14 03:08:02,920 - INFO - Add CNAME VDNS record for ctest-vm1-test-51497912 and verify we able to ping by alias name
2025-08-14 03:08:02,971 - DEBUG - Creating VDNS record data : test-rec
2025-08-14 03:08:03,096 - INFO - In verify_on_setup
2025-08-14 03:08:03,192 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-77042350', 'test-rec'] created succesfully
2025-08-14 03:08:03,192 - INFO - Verify VDNS record is shown in the API server
2025-08-14 03:08:03,192 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-08-14 03:08:03,199 - DEBUG - Requesting: http://10.0.0.38:8082/domain/16362ee5-4ea2-4ad6-8a9c-e34af37c4ada
2025-08-14 03:08:03,238 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/729bfd14-f63d-4dcf-b423-b60846a3d435
2025-08-14 03:08:03,250 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/9108e29e-64f3-4c74-8e7f-d9080d7a148c
2025-08-14 03:08:03,258 - INFO - Verify VDNS record is shown in the control node
2025-08-14 03:08:03,278 - 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.130, gateway password: c0ntrail123
2025-08-14 03:08:03,278 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-08-14 03:08:04,413 - 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.130, gateway password: c0ntrail123
2025-08-14 03:08:04,414 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-08-14 03:08:04,899 - DEBUG - ping: unknown host vm1-test-alias
2025-08-14 03:08:04,899 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-51497912 failed
2025-08-14 03:08:05,900 - 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.130, gateway password: c0ntrail123
2025-08-14 03:08:05,900 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-08-14 03:08:06,957 - 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.130, gateway password: c0ntrail123
2025-08-14 03:08:06,957 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-08-14 03:08:09,449 - DEBUG - PING ctest-vm1-test-51497912.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-51497912.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.221 ms
64 bytes from ctest-vm1-test-51497912.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.303 ms
64 bytes from ctest-vm1-test-51497912.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.227 ms
--- ctest-vm1-test-51497912.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.221/0.250/0.303/0.039 ms
2025-08-14 03:08:09,449 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-51497912 passed
2025-08-14 03:08:09,449 - DEBUG - Deleting VDNS record data: test-rec
2025-08-14 03:08:09,531 - INFO - VDNS record info: default-domain:ctest-vdns1-77042350:test-rec deleted successfully.
2025-08-14 03:08:09,532 - INFO - Deleting VM ctest-vm2-test-34674996
2025-08-14 03:08:09,595 - INFO - Deleting VM ctest-vm1-test-51497912
2025-08-14 03:08:09,663 - INFO - Deleting VN ctest-vn1-vdns-73710155
2025-08-14 03:08:09,702 - DEBUG - VN 97170d1d-b018-40db-82ab-b99245348ae1 still in use: Unable to complete operation on network 97170d1d-b018-40db-82ab-b99245348ae1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-73fbbbc4-0055-4443-a4ef-5fdad3032d93']
2025-08-14 03:08:09,703 - WARNING - Deleting VN ctest-vn1-vdns-73710155 failed..Will retry
2025-08-14 03:08:11,886 - DEBUG - Response for deleting network ()
2025-08-14 03:08:11,947 - DEBUG - Deleting VDNS Entry: ctest-vdns1-77042350
2025-08-14 03:08:12,040 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-77042350'] deleted successfully.
2025-08-14 03:08:12,040 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-08-14 03:08:12,053 - DEBUG - Requesting: http://10.0.0.38:8082/domain/16362ee5-4ea2-4ad6-8a9c-e34af37c4ada
2025-08-14 03:08:12,068 - DEBUG - VDNS information not found in API server
2025-08-14 03:08:12,068 - INFO - VDNS information ctest-vdns1-77042350 removed from the API Server
2025-08-14 03:08:12,075 - INFO - VDNS information ctest-vdns1-77042350 removed in the Control node
2025-08-14 03:08:12,075 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-58635845']
2025-08-14 03:08:13,350 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 03:08:13,350 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:02:59]
2025-08-14 03:08:13,350 - INFO - --------------------------------------------------------------------------------
2025-08-14 03:08:14,153 - INFO - Deleted project: ctest-TestvDNSBasic0-58635845, ID : 891206cb-6071-47c1-92ff-017c3da62887