2025-09-29 02:58:21,886 - INFO - Domain Default found not creating 2025-09-29 02:58:22,054 - INFO - Project ctest-TestvDNSBasic0-35760439 not found, creating it 2025-09-29 02:58:22,622 - INFO - Created Project:ctest-TestvDNSBasic0-35760439, ID : 52c02387-fbe7-48ac-9402-dd08aac92127 2025-09-29 02:58:24,097 - INFO - ================================================================================ 2025-09-29 02:58:24,098 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-09-29 02:58:24,098 - 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-09-29 02:58:25,432 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.129': '0', '10.20.0.17': '0'}, '10.0.0.131': {'10.20.0.129': '0', '10.20.0.17': '0'}} with 2025-09-29 02:58:25,432 - INFO - Initial checks done. Running the testcase now 2025-09-29 02:58:25,432 - INFO - 2025-09-29 02:58:26,198 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-35760439'](52c02387-fbe7-48ac-9402-dd08aac92127) 2025-09-29 02:58:26,255 - DEBUG - Creating VDNS : ctest-vdns1-70239862 2025-09-29 02:58:26,527 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-70239862'] created succesfully 2025-09-29 02:58:26,528 - DEBUG - Verify VDNS entry is shown in control node 2025-09-29 02:58:26,547 - DEBUG - Verify VDNS entry is shown in the API server 2025-09-29 02:58:26,547 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-29 02:58:26,848 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-29 02:58:26,883 - DEBUG - Requesting: http://10.0.0.38:8082/domain/026b1476-0afc-4093-a11e-3a5638365dda 2025-09-29 02:58:26,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/ecda24d0-7dd8-423d-8a7a-9ce0dc88b5ac 2025-09-29 02:58:27,746 - DEBUG - Response for create_network : {'network': {'id': 'e3eb4de5-3391-4c3e-9861-b7b61cb6db7f', 'name': 'ctest-vn1-vdns-38730102', 'tenant_id': '52c02387fbe748ac9402dd08aac92127', 'project_id': '52c02387fbe748ac9402dd08aac92127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-35760439', 'ctest-vn1-vdns-38730102'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 02:58:27,976 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9cffdfc-f49e-466c-9829-4dacff4ee7e3', 'name': '', 'tenant_id': '52c02387fbe748ac9402dd08aac92127', 'network_id': 'e3eb4de5-3391-4c3e-9861-b7b61cb6db7f', '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': '52c02387fbe748ac9402dd08aac92127'}} 2025-09-29 02:58:28,002 - INFO - Created VN ctest-vn1-vdns-38730102 2025-09-29 02:58:28,015 - DEBUG - VN ctest-vn1-vdns-38730102 UUID is e3eb4de5-3391-4c3e-9861-b7b61cb6db7f 2025-09-29 02:58:28,184 - DEBUG - Services list from nova: [, , , ] 2025-09-29 02:58:29,399 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4203-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4203-2) 2025-09-29 02:58:29,399 - INFO - Waiting for VM ctest-vm1-test-50163568 to be up.. 2025-09-29 02:58:29,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 02:58:34,556 - DEBUG - VM is in ACTIVE state now 2025-09-29 02:58:34,556 - INFO - VM name : ctest-vm1-test-50163568 2025-09-29 02:58:34,643 - DEBUG - VM ctest-vm1-test-50163568 ID is ca447e5a-8445-4b13-80c6-133da869cbd3 2025-09-29 02:58:34,643 - DEBUG - VM ctest-vm1-test-50163568 launched on Node an-jenkins-deploy-platform-ansible-os-4203-2 2025-09-29 02:58:34,740 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ca447e5a-8445-4b13-80c6-133da869cbd3 2025-09-29 02:58:35,061 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ca447e5a-8445-4b13-80c6-133da869cbd3 2025-09-29 02:58:35,107 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3916e8d9-bd41-474c-9b82-db8f192915b3 2025-09-29 02:58:38,307 - 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-09-29 02:58:38,307 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-50163568 failed! 2025-09-29 02:58:38,338 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 02:58:42,429 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1033ms') 2025-09-29 02:58:42,429 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-50163568 failed! 2025-09-29 02:58:42,452 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 02:58:46,523 - 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-09-29 02:58:46,523 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-50163568 failed! 2025-09-29 02:58:46,541 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 02:58:50,625 - 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-09-29 02:58:50,625 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-50163568 failed! 2025-09-29 02:58:50,642 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 02:58:54,724 - 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-09-29 02:58:54,724 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-50163568 failed! 2025-09-29 02:58:54,753 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 02:58: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 1003ms') 2025-09-29 02:58:58,816 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-50163568 failed! 2025-09-29 02:58:58,844 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 02:59: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 1007ms') 2025-09-29 02:59:02,911 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-50163568 failed! 2025-09-29 02:59:02,929 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 02:59:07,012 - 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-09-29 02:59:07,012 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-50163568 failed! 2025-09-29 02:59:07,044 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 02:59:09,108 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.966 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.966/4.498/8.030/3.532 ms') 2025-09-29 02:59:09,108 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-50163568 passed 2025-09-29 02:59:09,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:59:09,199 - DEBUG - Waiting to SSH to VM ctest-vm1-test-50163568, IP 10.10.10.3, Port 22 2025-09-29 02:59:09,267 - 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-09-29 02:59:09,365 - DEBUG - VM ctest-vm1-test-50163568 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 02:59:14,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:59:14,366 - DEBUG - Waiting to SSH to VM ctest-vm1-test-50163568, IP 10.10.10.3, Port 22 2025-09-29 02:59:14,420 - 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-09-29 02:59:14,498 - DEBUG - VM ctest-vm1-test-50163568 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 02:59:19,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:59:19,499 - DEBUG - Waiting to SSH to VM ctest-vm1-test-50163568, IP 10.10.10.3, Port 22 2025-09-29 02:59:19,557 - 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-09-29 02:59:19,659 - DEBUG - VM ctest-vm1-test-50163568 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 02:59:24,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:59:24,660 - DEBUG - Waiting to SSH to VM ctest-vm1-test-50163568, IP 10.10.10.3, Port 22 2025-09-29 02:59:24,727 - 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-09-29 02:59:24,812 - DEBUG - VM ctest-vm1-test-50163568 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 02:59:29,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:59:29,813 - DEBUG - Waiting to SSH to VM ctest-vm1-test-50163568, IP 10.10.10.3, Port 22 2025-09-29 02:59:29,970 - DEBUG - VM ctest-vm1-test-50163568 is ready for SSH connections 2025-09-29 02:59:29,970 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 02:59:29,970 - DEBUG - ifconfig | grep 10.10.10.3 2025-09-29 02:59:50,856 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-09-29 02:59:50,857 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-50163568", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 02:59:50,857 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-50163568", None, socket.AF_INET6)' 2025-09-29 02:59:53,674 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-50163568, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 02:59:53,674 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-50163568 2025-09-29 02:59:56,427 - DEBUG - PING ctest-vm1-test-50163568.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-50163568.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=5.81 ms 64 bytes from ctest-vm1-test-50163568.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.65 ms 64 bytes from ctest-vm1-test-50163568.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.398 ms --- ctest-vm1-test-50163568.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.398/2.957/5.816/2.222 ms 2025-09-29 02:59:56,427 - INFO - Ping to IP ctest-vm1-test-50163568 from VM ctest-vm1-test-50163568 passed 2025-09-29 02:59:56,454 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-29 02:59:56,462 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-70239862@0%20AllEntriesVdnsRecordsReq 2025-09-29 02:59:56,468 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-29 02:59:56,474 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-70239862@0%20AllEntriesVdnsRecordsReq 2025-09-29 02:59:56,481 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-29 02:59:56,489 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-70239862@0%20AllEntriesVdnsRecordsReq 2025-09-29 02:59:56,499 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-70239862:1:ctest-vm1-test-50163568:10.10.10.3', 'rec_name': 'ctest-vm1-test-50163568', '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-4203-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-50163568.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-09-29 02:59:56,499 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-70239862:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-50163568', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-50163568', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4203-2/dns'} , Expected record data {'rec_data': 'ctest-vm1-test-50163568.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-09-29 02:59:57,876 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4203-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4203-1) 2025-09-29 02:59:57,876 - INFO - Waiting for VM ctest-vm2-test-65002863 to be up.. 2025-09-29 02:59:57,924 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 03:00:03,008 - DEBUG - VM is in ACTIVE state now 2025-09-29 03:00:03,009 - INFO - VM name : ctest-vm2-test-65002863 2025-09-29 03:00:03,096 - DEBUG - VM ctest-vm2-test-65002863 ID is 15653280-587c-4567-b806-d3b9078e4eec 2025-09-29 03:00:03,096 - DEBUG - VM ctest-vm2-test-65002863 launched on Node an-jenkins-deploy-platform-ansible-os-4203-1 2025-09-29 03:00:03,192 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/15653280-587c-4567-b806-d3b9078e4eec 2025-09-29 03:00:03,204 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3e025ee4-4920-4149-96fd-0264b508449f 2025-09-29 03:00:06,387 - 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-09-29 03:00:06,387 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65002863 failed! 2025-09-29 03:00:06,405 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 03:00:10,486 - 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 1023ms') 2025-09-29 03:00:10,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65002863 failed! 2025-09-29 03:00:10,512 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 03:00:14,616 - 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-09-29 03:00:14,617 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65002863 failed! 2025-09-29 03:00:14,635 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 03:00:18,716 - 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-09-29 03:00:18,716 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65002863 failed! 2025-09-29 03:00:18,743 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 03:00:22,809 - 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-09-29 03:00:22,809 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65002863 failed! 2025-09-29 03:00:22,826 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 03:00:26,912 - 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-09-29 03:00:26,913 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65002863 failed! 2025-09-29 03:00:26,938 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 03:00:31,040 - 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 1037ms') 2025-09-29 03:00:31,041 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65002863 failed! 2025-09-29 03:00:31,060 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 03:00:35,126 - 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-09-29 03:00:35,126 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65002863 failed! 2025-09-29 03:00:35,155 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-35760439:ctest-vn1-vdns-38730102 is 10.10.10.1 and allocation pool is NOT set 2025-09-29 03:00:37,222 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.31 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 = 3.311/6.076/8.842/2.765 ms') 2025-09-29 03:00:37,222 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-65002863 passed 2025-09-29 03:00:37,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:00:37,317 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65002863, IP 10.10.10.4, Port 22 2025-09-29 03:00:37,373 - 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-09-29 03:00:37,450 - DEBUG - VM ctest-vm2-test-65002863 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 03:00:42,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:00:42,451 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65002863, IP 10.10.10.4, Port 22 2025-09-29 03:00:42,511 - 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-09-29 03:00:42,614 - DEBUG - VM ctest-vm2-test-65002863 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 03:00:47,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:00:47,615 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65002863, IP 10.10.10.4, Port 22 2025-09-29 03:00:47,684 - 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-09-29 03:00:47,772 - DEBUG - VM ctest-vm2-test-65002863 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 03:00:52,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:00:52,773 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65002863, IP 10.10.10.4, Port 22 2025-09-29 03:00:52,841 - 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-09-29 03:00:52,945 - DEBUG - VM ctest-vm2-test-65002863 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 03:00:57,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:00:57,946 - DEBUG - Waiting to SSH to VM ctest-vm2-test-65002863, IP 10.10.10.4, Port 22 2025-09-29 03:00:58,116 - DEBUG - VM ctest-vm2-test-65002863 is ready for SSH connections 2025-09-29 03:00:58,116 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-09-29 03:00:58,116 - DEBUG - ifconfig | grep 10.10.10.4 2025-09-29 03:01:18,202 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 2025-09-29 03:01:18,202 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65002863", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-09-29 03:01:18,202 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65002863", None, socket.AF_INET6)' 2025-09-29 03:01:20,490 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-65002863, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-09-29 03:01:20,490 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-65002863 2025-09-29 03:01:22,987 - DEBUG - PING ctest-vm2-test-65002863.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-65002863.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=4.35 ms 64 bytes from ctest-vm2-test-65002863.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=2.31 ms 64 bytes from ctest-vm2-test-65002863.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.222 ms --- ctest-vm2-test-65002863.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.222/2.298/4.359/1.689 ms 2025-09-29 03:01:22,987 - INFO - Ping to IP ctest-vm2-test-65002863 from VM ctest-vm2-test-65002863 passed 2025-09-29 03:01:23,010 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-29 03:01:23,018 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-70239862@0%20AllEntriesVdnsRecordsReq 2025-09-29 03:01:23,025 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-29 03:01:23,030 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-70239862@0%20AllEntriesVdnsRecordsReq 2025-09-29 03:01:23,035 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq 2025-09-29 03:01:23,040 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-70239862@0%20AllEntriesVdnsRecordsReq 2025-09-29 03:01:23,045 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-70239862:1:ctest-vm2-test-65002863:10.10.10.4', 'rec_name': 'ctest-vm2-test-65002863', '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-4203-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-65002863.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'} 2025-09-29 03:01:23,045 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-70239862:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-65002863', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-65002863', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4203-1/dns'} , Expected record data {'rec_data': 'ctest-vm2-test-65002863.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-09-29 03:01:23,045 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65002863", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 03:01:23,045 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-65002863", None, socket.AF_INET6)' 2025-09-29 03:01:24,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-65002863, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 03:01:24,277 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-65002863 2025-09-29 03:01:26,864 - DEBUG - PING ctest-vm2-test-65002863.juniper.net (10.10.10.4) 56(84) bytes of data. 64 bytes from ctest-vm2-test-65002863.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=8.42 ms 64 bytes from ctest-vm2-test-65002863.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.27 ms 64 bytes from ctest-vm2-test-65002863.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.25 ms --- ctest-vm2-test-65002863.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.251/3.650/8.426/3.377 ms 2025-09-29 03:01:26,864 - INFO - Ping to IP ctest-vm2-test-65002863 from VM ctest-vm1-test-50163568 passed 2025-09-29 03:01:26,864 - INFO - Try deleting the VDNS entry ctest-vdns1-70239862 with back ref of ipam. 2025-09-29 03:01:26,931 - DEBUG - Delete when resource still referred: ['http://10.0.0.249:8082/network-ipam/f69d68c9-1bdd-471c-8bb1-4d91ff0b0457'] 2025-09-29 03:01:26,931 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected 2025-09-29 03:01:26,931 - INFO - Add CNAME VDNS record for ctest-vm1-test-50163568 and verify we able to ping by alias name 2025-09-29 03:01:26,983 - DEBUG - Creating VDNS record data : test-rec 2025-09-29 03:01:27,128 - INFO - In verify_on_setup 2025-09-29 03:01:27,227 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-70239862', 'test-rec'] created succesfully 2025-09-29 03:01:27,227 - INFO - Verify VDNS record is shown in the API server 2025-09-29 03:01:27,228 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-29 03:01:27,237 - DEBUG - Requesting: http://10.0.0.38:8082/domain/026b1476-0afc-4093-a11e-3a5638365dda 2025-09-29 03:01:27,253 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/ecda24d0-7dd8-423d-8a7a-9ce0dc88b5ac 2025-09-29 03:01:27,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/9ef65aea-bf29-4582-b60e-9c43286adfd6 2025-09-29 03:01:27,278 - INFO - Verify VDNS record is shown in the control node 2025-09-29 03:01:27,303 - 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.131, gateway password: c0ntrail123 2025-09-29 03:01:27,303 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-09-29 03:01:28,494 - 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.131, gateway password: c0ntrail123 2025-09-29 03:01:28,494 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-09-29 03:01:29,035 - DEBUG - ping: unknown host vm1-test-alias 2025-09-29 03:01:29,035 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-50163568 failed 2025-09-29 03:01:30,036 - 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.131, gateway password: c0ntrail123 2025-09-29 03:01:30,036 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)' 2025-09-29 03:01:31,209 - 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.131, gateway password: c0ntrail123 2025-09-29 03:01:31,209 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias 2025-09-29 03:01:33,823 - DEBUG - PING ctest-vm1-test-50163568.juniper.net (10.10.10.3) 56(84) bytes of data. 64 bytes from ctest-vm1-test-50163568.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.243 ms 64 bytes from ctest-vm1-test-50163568.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.201 ms 64 bytes from ctest-vm1-test-50163568.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.183 ms --- ctest-vm1-test-50163568.juniper.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.183/0.209/0.243/0.025 ms 2025-09-29 03:01:33,823 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-50163568 passed 2025-09-29 03:01:33,824 - DEBUG - Deleting VDNS record data: test-rec 2025-09-29 03:01:33,935 - INFO - VDNS record info: default-domain:ctest-vdns1-70239862:test-rec deleted successfully. 2025-09-29 03:01:33,936 - INFO - Deleting VM ctest-vm2-test-65002863 2025-09-29 03:01:34,016 - INFO - Deleting VM ctest-vm1-test-50163568 2025-09-29 03:01:34,096 - INFO - Deleting VN ctest-vn1-vdns-38730102 2025-09-29 03:01:34,148 - DEBUG - VN e3eb4de5-3391-4c3e-9861-b7b61cb6db7f still in use: Unable to complete operation on network e3eb4de5-3391-4c3e-9861-b7b61cb6db7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-41f5d4cc-0c1e-45ea-a7dd-b9f24d2fd922'] 2025-09-29 03:01:34,148 - WARNING - Deleting VN ctest-vn1-vdns-38730102 failed..Will retry 2025-09-29 03:01:36,352 - DEBUG - Response for deleting network () 2025-09-29 03:01:36,421 - DEBUG - Deleting VDNS Entry: ctest-vdns1-70239862 2025-09-29 03:01:36,503 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-70239862'] deleted successfully. 2025-09-29 03:01:36,503 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-29 03:01:36,509 - DEBUG - Requesting: http://10.0.0.38:8082/domain/026b1476-0afc-4093-a11e-3a5638365dda 2025-09-29 03:01:36,523 - DEBUG - VDNS information not found in API server 2025-09-29 03:01:36,523 - INFO - VDNS information ctest-vdns1-70239862 removed from the API Server 2025-09-29 03:01:36,528 - INFO - VDNS information ctest-vdns1-70239862 removed in the Control node 2025-09-29 03:01:36,528 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-35760439'] 2025-09-29 03:01:37,850 - DEBUG - No XMPP flaps were noticed during the test 2025-09-29 03:01:37,850 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:13] 2025-09-29 03:01:37,850 - INFO - -------------------------------------------------------------------------------- 2025-09-29 03:01:38,683 - INFO - Deleted project: ctest-TestvDNSBasic0-35760439, ID : 52c02387-fbe7-48ac-9402-dd08aac92127