2025-08-06 08:46:29,560 - INFO - Domain Default found not creating
2025-08-06 08:46:29,718 - INFO - Project ctest-TestvDNSBasic0-38434256 not found, creating it
2025-08-06 08:46:30,263 - INFO - Created Project:ctest-TestvDNSBasic0-38434256, ID : 9e9aa3a8-03ef-48f6-a94c-1b607b9fce9d
2025-08-06 08:46:31,971 - INFO - ================================================================================
2025-08-06 08:46:31,971 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-08-06 08:46:31,971 - 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-06 08:46:33,256 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.57': {'10.20.0.14': '0', '10.20.0.254': '0'}} with
2025-08-06 08:46:33,256 - INFO - Initial checks done. Running the testcase now
2025-08-06 08:46:33,256 - INFO -
2025-08-06 08:46:34,025 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-38434256'](9e9aa3a8-03ef-48f6-a94c-1b607b9fce9d)
2025-08-06 08:46:34,090 - DEBUG - Creating VDNS : ctest-vdns1-73693139
2025-08-06 08:46:34,319 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-73693139'] created succesfully
2025-08-06 08:46:34,319 - DEBUG - Verify VDNS entry is shown in control node
2025-08-06 08:46:34,347 - DEBUG - Verify VDNS entry is shown in the API server
2025-08-06 08:46:34,347 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2025-08-06 08:46:34,642 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2025-08-06 08:46:34,683 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0
2025-08-06 08:46:34,709 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-DNS/5aa16c3d-de10-48d5-a37b-ab3a0ee8c866
2025-08-06 08:46:35,564 - DEBUG - Response for create_network : {'network': {'id': 'bff46378-6b13-44d6-872b-cc6f8292bbe6', 'name': 'ctest-vn1-vdns-34771607', 'tenant_id': '9e9aa3a803ef48f6a94c1b607b9fce9d', 'project_id': '9e9aa3a803ef48f6a94c1b607b9fce9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-38434256', 'ctest-vn1-vdns-34771607'], 'port_security_enabled': True, 'description': ''}}
2025-08-06 08:46:35,891 - DEBUG - Response for create_subnet : {'subnet': {'id': '243579de-86c0-4eea-9d87-ffc230c7c191', 'name': '', 'tenant_id': '9e9aa3a803ef48f6a94c1b607b9fce9d', 'network_id': 'bff46378-6b13-44d6-872b-cc6f8292bbe6', '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': '9e9aa3a803ef48f6a94c1b607b9fce9d'}}
2025-08-06 08:46:35,927 - INFO - Created VN ctest-vn1-vdns-34771607
2025-08-06 08:46:35,940 - DEBUG - VN ctest-vn1-vdns-34771607 UUID is bff46378-6b13-44d6-872b-cc6f8292bbe6
2025-08-06 08:46:36,237 - DEBUG - Services list from nova: [, , , ]
2025-08-06 08:46:37,501 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-1)
2025-08-06 08:46:37,502 - INFO - Waiting for VM ctest-vm1-test-25847245 to be up..
2025-08-06 08:46:37,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 08:46:42,658 - DEBUG - VM is in ACTIVE state now
2025-08-06 08:46:42,658 - INFO - VM name : ctest-vm1-test-25847245
2025-08-06 08:46:42,763 - DEBUG - VM ctest-vm1-test-25847245 ID is dd6e7edb-60a7-48cd-9b7d-8f508d35180e
2025-08-06 08:46:42,764 - DEBUG - VM ctest-vm1-test-25847245 launched on Node an-jenkins-deploy-platform-ansible-os-3761-1
2025-08-06 08:46:42,859 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dd6e7edb-60a7-48cd-9b7d-8f508d35180e
2025-08-06 08:46:43,178 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dd6e7edb-60a7-48cd-9b7d-8f508d35180e
2025-08-06 08:46:43,223 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4296bc2e-2f1d-4fac-95b8-42383aff1314
2025-08-06 08:46:46,489 - 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 1032ms')
2025-08-06 08:46:46,490 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25847245 failed!
2025-08-06 08:46:46,506 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:46:50,593 - 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-06 08:46:50,593 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25847245 failed!
2025-08-06 08:46:50,611 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:46:54,690 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2025-08-06 08:46:54,690 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25847245 failed!
2025-08-06 08:46:54,709 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:46:58,816 - 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 1035ms')
2025-08-06 08:46:58,816 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25847245 failed!
2025-08-06 08:46:58,835 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:47:02,910 - 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')
2025-08-06 08:47:02,910 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25847245 failed!
2025-08-06 08:47:02,929 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:47:07,000 - 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-06 08:47:07,000 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25847245 failed!
2025-08-06 08:47:07,020 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:47:11,099 - 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')
2025-08-06 08:47:11,099 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25847245 failed!
2025-08-06 08:47:11,115 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:47:15,195 - 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=3.70 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 3.704/3.704/3.704/0.000 ms')
2025-08-06 08:47:15,196 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-25847245 passed
2025-08-06 08:47:15,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 08:47:15,314 - DEBUG - Waiting to SSH to VM ctest-vm1-test-25847245, IP 10.10.10.3, Port 22
2025-08-06 08:47:15,372 - 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-06 08:47:15,473 - DEBUG - VM ctest-vm1-test-25847245 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 08:47:20,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 08:47:20,475 - DEBUG - Waiting to SSH to VM ctest-vm1-test-25847245, IP 10.10.10.3, Port 22
2025-08-06 08:47:20,544 - 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-06 08:47:20,662 - DEBUG - VM ctest-vm1-test-25847245 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 08:47:25,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 08:47:25,663 - DEBUG - Waiting to SSH to VM ctest-vm1-test-25847245, IP 10.10.10.3, Port 22
2025-08-06 08:47:25,720 - 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-06 08:47:25,839 - DEBUG - VM ctest-vm1-test-25847245 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 08:47:30,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 08:47:30,840 - DEBUG - Waiting to SSH to VM ctest-vm1-test-25847245, IP 10.10.10.3, Port 22
2025-08-06 08:47:30,901 - 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-06 08:47:30,995 - DEBUG - VM ctest-vm1-test-25847245 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 08:47:35,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 08:47:35,996 - DEBUG - Waiting to SSH to VM ctest-vm1-test-25847245, IP 10.10.10.3, Port 22
2025-08-06 08:47:36,164 - DEBUG - VM ctest-vm1-test-25847245 is ready for SSH connections
2025-08-06 08:47:36,164 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-06 08:47:36,164 - DEBUG - ifconfig | grep 10.10.10.3
2025-08-06 08:47:52,129 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-08-06 08:47:52,130 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-25847245", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-06 08:47:52,130 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-25847245", None, socket.AF_INET6)'
2025-08-06 08:47:54,491 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-25847245, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-06 08:47:54,491 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-25847245
2025-08-06 08:47:57,344 - DEBUG - PING ctest-vm1-test-25847245.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-25847245.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.21 ms
64 bytes from ctest-vm1-test-25847245.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.315 ms
64 bytes from ctest-vm1-test-25847245.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.338 ms
--- ctest-vm1-test-25847245.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.315/0.957/2.218/0.891 ms
2025-08-06 08:47:57,344 - INFO - Ping to IP ctest-vm1-test-25847245 from VM ctest-vm1-test-25847245 passed
2025-08-06 08:47:57,376 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-06 08:47:57,384 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73693139@0%20AllEntriesVdnsRecordsReq
2025-08-06 08:47:57,391 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-06 08:47:57,399 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73693139@0%20AllEntriesVdnsRecordsReq
2025-08-06 08:47:57,406 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-06 08:47:57,414 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73693139@0%20AllEntriesVdnsRecordsReq
2025-08-06 08:47:57,420 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-73693139:1:ctest-vm1-test-25847245:10.10.10.3', 'rec_name': 'ctest-vm1-test-25847245', '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-3761-1/dns'} ,
Expected record data {'rec_data': '10.10.10.3', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm1-test-25847245.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-08-06 08:47:57,420 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-73693139:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-25847245', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-25847245', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3761-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-25847245.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-06 08:47:58,835 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-2)
2025-08-06 08:47:58,836 - INFO - Waiting for VM ctest-vm2-test-84576157 to be up..
2025-08-06 08:47:58,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 08:48:03,995 - DEBUG - VM is in ACTIVE state now
2025-08-06 08:48:03,995 - INFO - VM name : ctest-vm2-test-84576157
2025-08-06 08:48:04,097 - DEBUG - VM ctest-vm2-test-84576157 ID is af67ee91-9155-444d-8c81-fe660da692f5
2025-08-06 08:48:04,098 - DEBUG - VM ctest-vm2-test-84576157 launched on Node an-jenkins-deploy-platform-ansible-os-3761-2
2025-08-06 08:48:04,196 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/af67ee91-9155-444d-8c81-fe660da692f5
2025-08-06 08:48:04,208 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/05e8eab2-d2ad-4ee4-aa8c-e26b96f93dce
2025-08-06 08:48:07,456 - 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 1029ms')
2025-08-06 08:48:07,456 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84576157 failed!
2025-08-06 08:48:07,473 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:48:11,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 1018ms')
2025-08-06 08:48:11,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84576157 failed!
2025-08-06 08:48:11,575 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:48:15,651 - 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')
2025-08-06 08:48:15,651 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84576157 failed!
2025-08-06 08:48:15,668 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:48:19,740 - 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-06 08:48:19,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84576157 failed!
2025-08-06 08:48:19,757 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:48:23,846 - 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 1020ms')
2025-08-06 08:48:23,846 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84576157 failed!
2025-08-06 08:48:23,864 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:48:27,947 - 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')
2025-08-06 08:48:27,948 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84576157 failed!
2025-08-06 08:48:27,969 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:48:32,068 - 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 1032ms')
2025-08-06 08:48:32,068 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84576157 failed!
2025-08-06 08:48:32,089 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:48:36,164 - 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')
2025-08-06 08:48:36,165 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84576157 failed!
2025-08-06 08:48:36,183 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38434256:ctest-vn1-vdns-34771607 is 10.10.10.1 and allocation pool is NOT set
2025-08-06 08:48:40,261 - 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.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 6.939/6.939/6.939/0.000 ms')
2025-08-06 08:48:40,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84576157 passed
2025-08-06 08:48:40,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 08:48:40,382 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84576157, IP 10.10.10.4, Port 22
2025-08-06 08:48:40,449 - 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-06 08:48:40,551 - DEBUG - VM ctest-vm2-test-84576157 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 08:48:45,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 08:48:45,552 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84576157, IP 10.10.10.4, Port 22
2025-08-06 08:48:45,626 - 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-06 08:48:45,718 - DEBUG - VM ctest-vm2-test-84576157 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 08:48:50,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 08:48:50,718 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84576157, IP 10.10.10.4, Port 22
2025-08-06 08:48:50,795 - 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-06 08:48:50,915 - DEBUG - VM ctest-vm2-test-84576157 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 08:48:55,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 08:48:55,916 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84576157, IP 10.10.10.4, Port 22
2025-08-06 08:48:55,985 - 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-06 08:48:56,086 - DEBUG - VM ctest-vm2-test-84576157 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 08:49:01,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 08:49:01,087 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84576157, IP 10.10.10.4, Port 22
2025-08-06 08:49:01,256 - DEBUG - VM ctest-vm2-test-84576157 is ready for SSH connections
2025-08-06 08:49:01,257 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-06 08:49:01,257 - DEBUG - ifconfig | grep 10.10.10.4
2025-08-06 08:49:23,130 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-08-06 08:49:23,130 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84576157", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-06 08:49:23,130 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84576157", None, socket.AF_INET6)'
2025-08-06 08:49:26,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-84576157, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-06 08:49:26,054 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-84576157
2025-08-06 08:49:29,128 - DEBUG - PING ctest-vm2-test-84576157.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-84576157.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.64 ms
64 bytes from ctest-vm2-test-84576157.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.284 ms
64 bytes from ctest-vm2-test-84576157.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.216 ms
--- ctest-vm2-test-84576157.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.216/1.048/2.645/1.129 ms
2025-08-06 08:49:29,128 - INFO - Ping to IP ctest-vm2-test-84576157 from VM ctest-vm2-test-84576157 passed
2025-08-06 08:49:29,152 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-06 08:49:29,161 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73693139@0%20AllEntriesVdnsRecordsReq
2025-08-06 08:49:29,171 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-06 08:49:29,179 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73693139@0%20AllEntriesVdnsRecordsReq
2025-08-06 08:49:29,188 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-08-06 08:49:29,197 - DEBUG - Requesting: http://10.0.0.48:8092/Snh_PageReq?x=default-domain:ctest-vdns1-73693139@0%20AllEntriesVdnsRecordsReq
2025-08-06 08:49:29,207 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-73693139:1:ctest-vm2-test-84576157:10.10.10.4', 'rec_name': 'ctest-vm2-test-84576157', '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-3761-2/dns'} ,
Expected record data {'rec_data': '10.10.10.4', 'rec_type': 'A', 'rec_class': 'IN', 'rec_ttl': '100', 'rec_name': 'ctest-vm2-test-84576157.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-08-06 08:49:29,207 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-73693139:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-84576157', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-84576157', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3761-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-84576157.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-06 08:49:29,207 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84576157", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-06 08:49:29,207 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84576157", None, socket.AF_INET6)'
2025-08-06 08:49:30,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-84576157, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-06 08:49:30,227 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-84576157
2025-08-06 08:49:32,761 - DEBUG - PING ctest-vm2-test-84576157.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-84576157.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.7 ms
64 bytes from ctest-vm2-test-84576157.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.53 ms
64 bytes from ctest-vm2-test-84576157.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.48 ms
--- ctest-vm2-test-84576157.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.484/4.574/10.701/4.332 ms
2025-08-06 08:49:32,761 - INFO - Ping to IP ctest-vm2-test-84576157 from VM ctest-vm1-test-25847245 passed
2025-08-06 08:49:32,762 - INFO - Try deleting the VDNS entry ctest-vdns1-73693139 with back ref of ipam.
2025-08-06 08:49:32,826 - DEBUG - Delete when resource still referred: ['http://10.0.0.38:8082/network-ipam/220a4a78-0546-4378-b29a-bf221e93b708']
2025-08-06 08:49:32,826 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-08-06 08:49:32,826 - INFO - Add CNAME VDNS record for ctest-vm1-test-25847245 and verify we able to ping by alias name
2025-08-06 08:49:32,874 - DEBUG - Creating VDNS record data : test-rec
2025-08-06 08:49:33,003 - INFO - In verify_on_setup
2025-08-06 08:49:33,102 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-73693139', 'test-rec'] created succesfully
2025-08-06 08:49:33,103 - INFO - Verify VDNS record is shown in the API server
2025-08-06 08:49:33,103 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2025-08-06 08:49:33,111 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0
2025-08-06 08:49:33,162 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-DNS/5aa16c3d-de10-48d5-a37b-ab3a0ee8c866
2025-08-06 08:49:33,177 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-DNS-record/3b53b888-4a56-4d4c-8325-1cba775b8c04
2025-08-06 08:49:33,188 - INFO - Verify VDNS record is shown in the control node
2025-08-06 08:49:33,213 - 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.49, gateway password: c0ntrail123
2025-08-06 08:49:33,213 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-08-06 08:49:34,258 - 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.49, gateway password: c0ntrail123
2025-08-06 08:49:34,258 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-08-06 08:49:34,796 - DEBUG - ping: unknown host vm1-test-alias
2025-08-06 08:49:34,796 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-25847245 failed
2025-08-06 08:49:35,797 - 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.49, gateway password: c0ntrail123
2025-08-06 08:49:35,798 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-08-06 08:49:36,844 - 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.49, gateway password: c0ntrail123
2025-08-06 08:49:36,844 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-08-06 08:49:39,326 - DEBUG - PING ctest-vm1-test-25847245.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-25847245.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.237 ms
64 bytes from ctest-vm1-test-25847245.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.240 ms
64 bytes from ctest-vm1-test-25847245.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.213 ms
--- ctest-vm1-test-25847245.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.213/0.230/0.240/0.012 ms
2025-08-06 08:49:39,326 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-25847245 passed
2025-08-06 08:49:39,326 - DEBUG - Deleting VDNS record data: test-rec
2025-08-06 08:49:39,414 - INFO - VDNS record info: default-domain:ctest-vdns1-73693139:test-rec deleted successfully.
2025-08-06 08:49:39,414 - INFO - Deleting VM ctest-vm2-test-84576157
2025-08-06 08:49:39,502 - INFO - Deleting VM ctest-vm1-test-25847245
2025-08-06 08:49:39,579 - INFO - Deleting VN ctest-vn1-vdns-34771607
2025-08-06 08:49:39,639 - DEBUG - VN bff46378-6b13-44d6-872b-cc6f8292bbe6 still in use: Unable to complete operation on network bff46378-6b13-44d6-872b-cc6f8292bbe6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cd25a134-bbbe-4542-8da8-ad9925d69ceb']
2025-08-06 08:49:39,639 - WARNING - Deleting VN ctest-vn1-vdns-34771607 failed..Will retry
2025-08-06 08:49:41,851 - DEBUG - Response for deleting network ()
2025-08-06 08:49:41,953 - DEBUG - Deleting VDNS Entry: ctest-vdns1-73693139
2025-08-06 08:49:42,062 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-73693139'] deleted successfully.
2025-08-06 08:49:42,063 - DEBUG - Requesting: http://10.0.0.48:8082/domains
2025-08-06 08:49:42,072 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0
2025-08-06 08:49:42,095 - DEBUG - VDNS information not found in API server
2025-08-06 08:49:42,095 - INFO - VDNS information ctest-vdns1-73693139 removed from the API Server
2025-08-06 08:49:42,103 - INFO - VDNS information ctest-vdns1-73693139 removed in the Control node
2025-08-06 08:49:42,103 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-38434256']
2025-08-06 08:49:43,408 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 08:49:43,408 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:12]
2025-08-06 08:49:43,408 - INFO - --------------------------------------------------------------------------------
2025-08-06 08:49:44,244 - INFO - Deleted project: ctest-TestvDNSBasic0-38434256, ID : 9e9aa3a8-03ef-48f6-a94c-1b607b9fce9d