2025-08-08 08:09:03,256 - INFO - Domain Default found not creating 2025-08-08 08:09:03,499 - INFO - Project ctest-TestvDNSBasic0-11216439 not found, creating it 2025-08-08 08:09:04,102 - INFO - Created Project:ctest-TestvDNSBasic0-11216439, ID : eb9d96d3-50fe-40a4-86cb-05e3192c152f 2025-08-08 08:09:06,004 - INFO - ================================================================================ 2025-08-08 08:09:06,005 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-08-08 08:09:06,005 - 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-08 08:09:07,330 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.27': {'10.20.0.254': '0', '10.20.0.25': '0'}} with 2025-08-08 08:09:07,330 - INFO - Initial checks done. Running the testcase now 2025-08-08 08:09:07,330 - INFO - 2025-08-08 08:09:08,080 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-11216439'](eb9d96d3-50fe-40a4-86cb-05e3192c152f) 2025-08-08 08:09:08,140 - DEBUG - Creating VDNS : ctest-vdns1-63343067 2025-08-08 08:09:08,384 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-63343067'] created succesfully 2025-08-08 08:09:08,384 - DEBUG - Verify VDNS entry is shown in control node 2025-08-08 08:09:08,412 - DEBUG - Verify VDNS entry is shown in the API server 2025-08-08 08:09:08,412 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-08 08:09:08,733 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-08 08:09:08,774 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0a1f62a0-4b7c-4f3b-81ab-d2813942820b 2025-08-08 08:09:08,802 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/a4194a4f-6a8c-4679-a02e-9d5a5f341c14 2025-08-08 08:09:09,631 - DEBUG - Response for create_network : {'network': {'id': 'bd4f47f8-ea7b-4deb-be2e-ed1e5e62ea1d', 'name': 'ctest-vn1-vdns-94552023', 'tenant_id': 'eb9d96d350fe40a486cb05e3192c152f', 'project_id': 'eb9d96d350fe40a486cb05e3192c152f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-11216439', 'ctest-vn1-vdns-94552023'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 08:09:09,982 - DEBUG - Response for create_subnet : {'subnet': {'id': '47117d3d-e894-42b4-9bea-832f8950adac', 'name': '', 'tenant_id': 'eb9d96d350fe40a486cb05e3192c152f', 'network_id': 'bd4f47f8-ea7b-4deb-be2e-ed1e5e62ea1d', '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': 'eb9d96d350fe40a486cb05e3192c152f'}} 2025-08-08 08:09:10,012 - INFO - Created VN ctest-vn1-vdns-94552023 2025-08-08 08:09:10,029 - DEBUG - VN ctest-vn1-vdns-94552023 UUID is bd4f47f8-ea7b-4deb-be2e-ed1e5e62ea1d 2025-08-08 08:09:10,260 - DEBUG - Services list from nova: [, , , ] 2025-08-08 08:09:11,692 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3781-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3781-2) 2025-08-08 08:09:11,693 - INFO - Waiting for VM ctest-vm1-test-95019493 to be up.. 2025-08-08 08:09:11,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 08:09:16,842 - DEBUG - VM is in ACTIVE state now 2025-08-08 08:09:16,842 - INFO - VM name : ctest-vm1-test-95019493 2025-08-08 08:09:16,939 - DEBUG - VM ctest-vm1-test-95019493 ID is 800f5bcb-3067-48ee-92eb-ce4df1e9cf82 2025-08-08 08:09:16,939 - DEBUG - VM ctest-vm1-test-95019493 launched on Node an-jenkins-deploy-platform-ansible-os-3781-2 2025-08-08 08:09:17,029 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/800f5bcb-3067-48ee-92eb-ce4df1e9cf82 2025-08-08 08:09:17,341 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/800f5bcb-3067-48ee-92eb-ce4df1e9cf82 2025-08-08 08:09:17,381 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5cf8a7a6-1bdc-4fa2-aac3-19c205dbba5b 2025-08-08 08:09:20,627 - 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 1026ms') 2025-08-08 08:09:20,627 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:09:20,644 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:09:24,715 - 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-08 08:09:24,716 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:09:24,732 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:09:28,813 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-08-08 08:09:28,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:09:28,829 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:09:32,914 - 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-08 08:09:32,915 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:09:32,930 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:09:37,015 - 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-08 08:09:37,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:09:37,041 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:09:41,137 - 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-08 08:09:41,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:09:41,153 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:09:45,239 - 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-08 08:09:45,239 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:09:45,262 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:09:49,362 - 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 1034ms') 2025-08-08 08:09:49,363 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:09:49,383 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:09:53,459 - 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-08 08:09:53,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:09:53,477 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:09:57,548 - 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-08 08:09:57,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:09:57,564 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:10:01,648 - 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-08 08:10:01,648 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:10:01,670 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:10:05,774 - 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 1034ms') 2025-08-08 08:10:05,774 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 failed! 2025-08-08 08:10:05,792 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:10:07,869 - 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=8.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.289/4.919/8.550/3.630 ms') 2025-08-08 08:10:07,869 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-95019493 passed 2025-08-08 08:10:07,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 08:10:07,992 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95019493, IP 10.10.10.3, Port 22 2025-08-08 08:10:08,059 - 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-08 08:10:08,165 - DEBUG - VM ctest-vm1-test-95019493 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 08:10:13,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 08:10:13,166 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95019493, IP 10.10.10.3, Port 22 2025-08-08 08:10:13,235 - 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-08 08:10:13,340 - DEBUG - VM ctest-vm1-test-95019493 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 08:10:18,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 08:10:18,342 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95019493, IP 10.10.10.3, Port 22 2025-08-08 08:10:18,411 - 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-08 08:10:18,524 - DEBUG - VM ctest-vm1-test-95019493 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 08:10:23,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 08:10:23,526 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95019493, IP 10.10.10.3, Port 22 2025-08-08 08:10:23,599 - 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-08 08:10:23,696 - DEBUG - VM ctest-vm1-test-95019493 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 08:10:28,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 08:10:28,697 - DEBUG - Waiting to SSH to VM ctest-vm1-test-95019493, IP 10.10.10.3, Port 22 2025-08-08 08:10:28,870 - DEBUG - VM ctest-vm1-test-95019493 is ready for SSH connections 2025-08-08 08:10:28,871 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-08 08:10:28,871 - DEBUG - ifconfig | grep 10.10.10.3 2025-08-08 08:10:52,726 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-08 08:10:52,726 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-95019493", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-08 08:10:52,726 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-95019493", None, socket.AF_INET6)' 2025-08-08 08:10:55,990 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-95019493, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-08 08:10:55,990 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-95019493 2025-08-08 08:10:59,127 - DEBUG - PING ctest-vm1-test-95019493.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-95019493.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=2.96 ms 64 bytes from ctest-vm1-test-95019493.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.254 ms 64 bytes from ctest-vm1-test-95019493.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.232 ms --- ctest-vm1-test-95019493.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.232/1.150/2.965/1.283 ms 2025-08-08 08:10:59,127 - INFO - Ping to IP ctest-vm1-test-95019493 from VM ctest-vm1-test-95019493 passed 2025-08-08 08:10:59,163 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-08 08:10:59,172 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-63343067@0%20AllEntriesVdnsRecordsReq 2025-08-08 08:10:59,181 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-08 08:10:59,190 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-63343067@0%20AllEntriesVdnsRecordsReq 2025-08-08 08:10:59,199 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-08 08:10:59,206 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-63343067@0%20AllEntriesVdnsRecordsReq 2025-08-08 08:10:59,215 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-63343067:1:ctest-vm1-test-95019493:10.10.10.3', 'rec_name': 'ctest-vm1-test-95019493', '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-3781-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-95019493.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-08 08:10:59,215 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-63343067:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-95019493', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-95019493', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3781-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-95019493.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-08 08:11:00,478 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3781-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3781-1) 2025-08-08 08:11:00,478 - INFO - Waiting for VM ctest-vm2-test-84158930 to be up.. 2025-08-08 08:11:00,533 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 08:11:05,627 - DEBUG - VM is in ACTIVE state now 2025-08-08 08:11:05,627 - INFO - VM name : ctest-vm2-test-84158930 2025-08-08 08:11:05,713 - DEBUG - VM ctest-vm2-test-84158930 ID is 50c48e6c-b195-46f7-b8d6-123fa84671a9 2025-08-08 08:11:05,713 - DEBUG - VM ctest-vm2-test-84158930 launched on Node an-jenkins-deploy-platform-ansible-os-3781-1 2025-08-08 08:11:05,800 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/50c48e6c-b195-46f7-b8d6-123fa84671a9 2025-08-08 08:11:05,812 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/22c415d2-eaae-47bb-8e74-37da2beccaaf 2025-08-08 08:11:09,049 - 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-08 08:11:09,049 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84158930 failed! 2025-08-08 08:11:09,069 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:11:13,152 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2025-08-08 08:11:13,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84158930 failed! 2025-08-08 08:11:13,169 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:11:17,249 - 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-08 08:11:17,249 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84158930 failed! 2025-08-08 08:11:17,268 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:11:21,341 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2025-08-08 08:11:21,341 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84158930 failed! 2025-08-08 08:11:21,357 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:11:25,440 - 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-08 08:11:25,440 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84158930 failed! 2025-08-08 08:11:25,454 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:11:29,533 - 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-08 08:11:29,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84158930 failed! 2025-08-08 08:11:29,554 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:11:33,630 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2025-08-08 08:11:33,630 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84158930 failed! 2025-08-08 08:11:33,645 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:11:37,727 - 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-08 08:11:37,727 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84158930 failed! 2025-08-08 08:11:37,748 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-11216439:ctest-vn1-vdns-94552023 is 10.10.10.1 and allocation pool is NOT set 2025-08-08 08:11:41,814 - 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=7.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 6.998/6.998/6.998/0.000 ms') 2025-08-08 08:11:41,814 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-84158930 passed 2025-08-08 08:11:41,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 08:11:41,926 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84158930, IP 10.10.10.4, Port 22 2025-08-08 08:11:41,995 - 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-08 08:11:42,119 - DEBUG - VM ctest-vm2-test-84158930 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 08:11:47,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 08:11:47,121 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84158930, IP 10.10.10.4, Port 22 2025-08-08 08:11:47,176 - 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-08 08:11:47,286 - DEBUG - VM ctest-vm2-test-84158930 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 08:11:52,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 08:11:52,287 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84158930, IP 10.10.10.4, Port 22 2025-08-08 08:11:52,344 - 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-08 08:11:52,436 - DEBUG - VM ctest-vm2-test-84158930 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 08:11:57,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 08:11:57,437 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84158930, IP 10.10.10.4, Port 22 2025-08-08 08:11:57,492 - 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-08 08:11:57,590 - DEBUG - VM ctest-vm2-test-84158930 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 08:12:02,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 08:12:02,592 - DEBUG - Waiting to SSH to VM ctest-vm2-test-84158930, IP 10.10.10.4, Port 22 2025-08-08 08:12:02,773 - DEBUG - VM ctest-vm2-test-84158930 is ready for SSH connections 2025-08-08 08:12:02,773 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-08 08:12:02,773 - DEBUG - ifconfig | grep 10.10.10.4 2025-08-08 08:12:22,398 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-08-08 08:12:22,398 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84158930", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-08 08:12:22,398 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84158930", None, socket.AF_INET6)' 2025-08-08 08:12:24,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-84158930, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-08 08:12:24,935 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-84158930 2025-08-08 08:12:27,911 - DEBUG - PING ctest-vm2-test-84158930.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-84158930.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=2.79 ms 64 bytes from ctest-vm2-test-84158930.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.328 ms 64 bytes from ctest-vm2-test-84158930.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.234 ms --- ctest-vm2-test-84158930.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.234/1.118/2.793/1.185 ms 2025-08-08 08:12:27,912 - INFO - Ping to IP ctest-vm2-test-84158930 from VM ctest-vm2-test-84158930 passed 2025-08-08 08:12:27,937 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-08 08:12:27,947 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-63343067@0%20AllEntriesVdnsRecordsReq 2025-08-08 08:12:27,954 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-08 08:12:27,962 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-63343067@0%20AllEntriesVdnsRecordsReq 2025-08-08 08:12:27,969 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-08-08 08:12:27,975 - DEBUG - Requesting: http://10.0.0.50:8092/Snh_PageReq?x=default-domain:ctest-vdns1-63343067@0%20AllEntriesVdnsRecordsReq 2025-08-08 08:12:27,982 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-63343067:1:ctest-vm2-test-84158930:10.10.10.4', 'rec_name': 'ctest-vm2-test-84158930', '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-3781-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-84158930.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-08-08 08:12:27,982 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-63343067:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-84158930', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-84158930', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-3781-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-84158930.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-08 08:12:27,982 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84158930", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-08 08:12:27,982 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-84158930", None, socket.AF_INET6)' 2025-08-08 08:12:29,339 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-84158930, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-08 08:12:29,339 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-84158930 2025-08-08 08:12:31,942 - DEBUG - PING ctest-vm2-test-84158930.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-84158930.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.4 ms 64 bytes from ctest-vm2-test-84158930.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.23 ms 64 bytes from ctest-vm2-test-84158930.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.24 ms --- ctest-vm2-test-84158930.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.237/4.311/10.450/4.340 ms 2025-08-08 08:12:31,942 - INFO - Ping to IP ctest-vm2-test-84158930 from VM ctest-vm1-test-95019493 passed 2025-08-08 08:12:31,942 - INFO - Try deleting the VDNS entry ctest-vdns1-63343067 with back ref of ipam. 2025-08-08 08:12:32,004 - DEBUG - Delete when resource still referred: ['http://10.0.0.65:8082/network-ipam/277cf0a5-8e9f-4c7e-9e73-6e3a14c93724'] 2025-08-08 08:12:32,004 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-08-08 08:12:32,004 - INFO - Add CNAME VDNS record for ctest-vm1-test-95019493 and verify we able to ping by alias name 2025-08-08 08:12:32,056 - DEBUG - Creating VDNS record data : test-rec 2025-08-08 08:12:32,188 - INFO - In verify_on_setup 2025-08-08 08:12:32,296 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-63343067', 'test-rec'] created succesfully 2025-08-08 08:12:32,296 - INFO - Verify VDNS record is shown in the API server 2025-08-08 08:12:32,297 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-08 08:12:32,308 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0a1f62a0-4b7c-4f3b-81ab-d2813942820b 2025-08-08 08:12:32,352 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS/a4194a4f-6a8c-4679-a02e-9d5a5f341c14 2025-08-08 08:12:32,367 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-DNS-record/db2ffd9b-c565-48f1-b105-c2c39420c63c 2025-08-08 08:12:32,379 - INFO - Verify VDNS record is shown in the control node 2025-08-08 08:12:32,404 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-08 08:12:32,404 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-08 08:12:33,777 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-08 08:12:33,777 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-08 08:12:34,388 - DEBUG - ping: unknown host vm1-test-alias 2025-08-08 08:12:34,389 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-95019493 failed 2025-08-08 08:12:35,390 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-08 08:12:35,390 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-08-08 08:12:36,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 vm1-test-alias, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-08 08:12:36,758 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-08-08 08:12:39,474 - DEBUG - PING ctest-vm1-test-95019493.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-95019493.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.24 ms 64 bytes from ctest-vm1-test-95019493.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.454 ms 64 bytes from ctest-vm1-test-95019493.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.272 ms --- ctest-vm1-test-95019493.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.272/1.323/3.243/1.359 ms 2025-08-08 08:12:39,474 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-95019493 passed 2025-08-08 08:12:39,475 - DEBUG - Deleting VDNS record data: test-rec 2025-08-08 08:12:39,556 - INFO - VDNS record info: default-domain:ctest-vdns1-63343067:test-rec deleted successfully. 2025-08-08 08:12:39,556 - INFO - Deleting VM ctest-vm2-test-84158930 2025-08-08 08:12:39,641 - INFO - Deleting VM ctest-vm1-test-95019493 2025-08-08 08:12:39,740 - INFO - Deleting VN ctest-vn1-vdns-94552023 2025-08-08 08:12:39,790 - DEBUG - VN bd4f47f8-ea7b-4deb-be2e-ed1e5e62ea1d still in use: Unable to complete operation on network bd4f47f8-ea7b-4deb-be2e-ed1e5e62ea1d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5535878-54e3-4987-9abc-d0e555d86deb'] 2025-08-08 08:12:39,790 - WARNING - Deleting VN ctest-vn1-vdns-94552023 failed..Will retry 2025-08-08 08:12:42,023 - DEBUG - Response for deleting network () 2025-08-08 08:12:42,093 - DEBUG - Deleting VDNS Entry: ctest-vdns1-63343067 2025-08-08 08:12:42,192 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-63343067'] deleted successfully. 2025-08-08 08:12:42,192 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-08 08:12:42,203 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0a1f62a0-4b7c-4f3b-81ab-d2813942820b 2025-08-08 08:12:42,222 - DEBUG - VDNS information not found in API server 2025-08-08 08:12:42,222 - INFO - VDNS information ctest-vdns1-63343067 removed from the API Server 2025-08-08 08:12:42,235 - INFO - VDNS information ctest-vdns1-63343067 removed in the Control node 2025-08-08 08:12:42,235 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-11216439'] 2025-08-08 08:12:43,538 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 08:12:43,538 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:37]
2025-08-08 08:12:43,538 - INFO - -------------------------------------------------------------------------------- 2025-08-08 08:12:44,352 - INFO - Deleted project: ctest-TestvDNSBasic0-11216439, ID : eb9d96d3-50fe-40a4-86cb-05e3192c152f