2025-10-16 03:20:25,887 - INFO - Domain Default found not creating
2025-10-16 03:20:26,032 - INFO - Project ctest-TestvDNSBasic0-25889222 not found, creating it
2025-10-16 03:20:26,502 - INFO - Created Project:ctest-TestvDNSBasic0-25889222, ID : d865213e-312e-4317-906b-0762829623a9
2025-10-16 03:20:27,963 - INFO - ================================================================================
2025-10-16 03:20:27,964 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-10-16 03:20:27,964 - 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-10-16 03:20:29,237 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0', '10.20.0.5': '0'}, '10.0.0.129': {'10.20.0.5': '0', '10.20.0.252': '0'}} with
2025-10-16 03:20:29,237 - INFO - Initial checks done. Running the testcase now
2025-10-16 03:20:29,237 - INFO -
2025-10-16 03:20:29,951 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-25889222'](d865213e-312e-4317-906b-0762829623a9)
2025-10-16 03:20:30,006 - DEBUG - Creating VDNS : ctest-vdns1-98397899
2025-10-16 03:20:30,226 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-98397899'] created succesfully
2025-10-16 03:20:30,226 - DEBUG - Verify VDNS entry is shown in control node
2025-10-16 03:20:30,245 - DEBUG - Verify VDNS entry is shown in the API server
2025-10-16 03:20:30,245 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-16 03:20:30,543 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-16 03:20:30,579 - DEBUG - Requesting: http://10.0.0.19:8082/domain/446ea2e6-9d96-4973-a55a-3f633ea4d0f9
2025-10-16 03:20:30,599 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS/59dc66b3-052c-49e6-878a-8aa9ec859e59
2025-10-16 03:20:31,312 - DEBUG - Response for create_network : {'network': {'id': 'ee690840-5ac8-4e58-94b5-dcc53c1ceede', 'name': 'ctest-vn1-vdns-03763793', 'tenant_id': 'd865213e312e4317906b0762829623a9', 'project_id': 'd865213e312e4317906b0762829623a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-25889222', 'ctest-vn1-vdns-03763793'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 03:20:31,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '1da9fc1a-408c-4161-bd16-411a17c21e03', 'name': '', 'tenant_id': 'd865213e312e4317906b0762829623a9', 'network_id': 'ee690840-5ac8-4e58-94b5-dcc53c1ceede', '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': 'd865213e312e4317906b0762829623a9'}}
2025-10-16 03:20:31,617 - INFO - Created VN ctest-vn1-vdns-03763793
2025-10-16 03:20:31,629 - DEBUG - VN ctest-vn1-vdns-03763793 UUID is ee690840-5ac8-4e58-94b5-dcc53c1ceede
2025-10-16 03:20:31,806 - DEBUG - Services list from nova: [, , , ]
2025-10-16 03:20:32,828 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4339-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4339-1)
2025-10-16 03:20:32,828 - INFO - Waiting for VM ctest-vm1-test-80231875 to be up..
2025-10-16 03:20:32,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-16 03:20:37,962 - DEBUG - VM is in ACTIVE state now
2025-10-16 03:20:37,962 - INFO - VM name : ctest-vm1-test-80231875
2025-10-16 03:20:38,045 - DEBUG - VM ctest-vm1-test-80231875 ID is dcdb1e5e-e794-43b9-931f-7c0309798f5b
2025-10-16 03:20:38,045 - DEBUG - VM ctest-vm1-test-80231875 launched on Node an-jenkins-deploy-platform-ansible-os-4339-1
2025-10-16 03:20:38,134 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/dcdb1e5e-e794-43b9-931f-7c0309798f5b
2025-10-16 03:20:38,445 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/dcdb1e5e-e794-43b9-931f-7c0309798f5b
2025-10-16 03:20:38,481 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/2283996e-ac73-4591-a434-42a848f3fa98
2025-10-16 03:20:41,671 - 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-10-16 03:20:41,671 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80231875 failed!
2025-10-16 03:20:41,685 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:20:45,761 - 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-10-16 03:20:45,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80231875 failed!
2025-10-16 03:20:45,774 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:20:49,860 - 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-10-16 03:20:49,860 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80231875 failed!
2025-10-16 03:20:49,875 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:20:53,957 - 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-10-16 03:20:53,957 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80231875 failed!
2025-10-16 03:20:53,973 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:20:58,058 - 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-10-16 03:20:58,058 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80231875 failed!
2025-10-16 03:20:58,071 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:21:02,142 - 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-10-16 03:21:02,143 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80231875 failed!
2025-10-16 03:21:02,157 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:21:06,241 - 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-10-16 03:21:06,241 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80231875 failed!
2025-10-16 03:21:06,254 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:21:10,336 - 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-10-16 03:21:10,337 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80231875 failed!
2025-10-16 03:21:10,350 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:21:12,419 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.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 = 2.292/6.281/10.271/3.989 ms')
2025-10-16 03:21:12,419 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80231875 passed
2025-10-16 03:21:12,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:21:12,487 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80231875, IP 10.10.10.3, Port 22
2025-10-16 03:21:12,545 - 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-10-16 03:21:12,646 - DEBUG - VM ctest-vm1-test-80231875 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:21:17,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:21:17,646 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80231875, IP 10.10.10.3, Port 22
2025-10-16 03:21:17,715 - 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-10-16 03:21:17,801 - DEBUG - VM ctest-vm1-test-80231875 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:21:22,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:21:22,802 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80231875, IP 10.10.10.3, Port 22
2025-10-16 03:21:22,867 - 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-10-16 03:21:22,962 - DEBUG - VM ctest-vm1-test-80231875 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:21:27,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:21:27,964 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80231875, IP 10.10.10.3, Port 22
2025-10-16 03:21:28,031 - 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-10-16 03:21:28,107 - DEBUG - VM ctest-vm1-test-80231875 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:21:33,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:21:33,108 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80231875, IP 10.10.10.3, Port 22
2025-10-16 03:21:33,265 - DEBUG - VM ctest-vm1-test-80231875 is ready for SSH connections
2025-10-16 03:21:33,265 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-16 03:21:33,265 - DEBUG - ifconfig | grep 10.10.10.3
2025-10-16 03:21:52,894 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-10-16 03:21:52,895 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80231875", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-16 03:21:52,895 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80231875", None, socket.AF_INET6)'
2025-10-16 03:21:55,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80231875, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-16 03:21:55,052 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80231875
2025-10-16 03:21:57,565 - DEBUG - PING ctest-vm1-test-80231875.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-80231875.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=4.22 ms
64 bytes from ctest-vm1-test-80231875.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.211 ms
64 bytes from ctest-vm1-test-80231875.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.297 ms
--- ctest-vm1-test-80231875.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.211/1.577/4.224/1.872 ms
2025-10-16 03:21:57,565 - INFO - Ping to IP ctest-vm1-test-80231875 from VM ctest-vm1-test-80231875 passed
2025-10-16 03:21:57,591 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-16 03:21:57,597 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98397899@0%20AllEntriesVdnsRecordsReq
2025-10-16 03:21:57,602 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-16 03:21:57,606 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98397899@0%20AllEntriesVdnsRecordsReq
2025-10-16 03:21:57,610 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-16 03:21:57,615 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98397899@0%20AllEntriesVdnsRecordsReq
2025-10-16 03:21:57,621 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-98397899:1:ctest-vm1-test-80231875:10.10.10.3', 'rec_name': 'ctest-vm1-test-80231875', '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-4339-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-80231875.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-16 03:21:57,621 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-98397899:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-80231875', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-80231875', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4339-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-80231875.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-10-16 03:21:58,880 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4339-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4339-2)
2025-10-16 03:21:58,880 - INFO - Waiting for VM ctest-vm2-test-59394884 to be up..
2025-10-16 03:21:58,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-16 03:22:04,025 - DEBUG - VM is in ACTIVE state now
2025-10-16 03:22:04,025 - INFO - VM name : ctest-vm2-test-59394884
2025-10-16 03:22:04,117 - DEBUG - VM ctest-vm2-test-59394884 ID is cbccc4c2-35ad-46af-867e-3b5882888a3f
2025-10-16 03:22:04,117 - DEBUG - VM ctest-vm2-test-59394884 launched on Node an-jenkins-deploy-platform-ansible-os-4339-2
2025-10-16 03:22:04,210 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/cbccc4c2-35ad-46af-867e-3b5882888a3f
2025-10-16 03:22:04,220 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/73267e21-6d9d-4d28-8f34-7ae540031185
2025-10-16 03:22:07,416 - 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-10-16 03:22:07,416 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 failed!
2025-10-16 03:22:07,430 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:22:11,514 - 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-10-16 03:22:11,515 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 failed!
2025-10-16 03:22:11,529 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:22:15,607 - 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-10-16 03:22:15,607 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 failed!
2025-10-16 03:22:15,620 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:22:19,698 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms')
2025-10-16 03:22:19,699 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 failed!
2025-10-16 03:22:19,715 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:22:23,807 - 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-10-16 03:22:23,807 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 failed!
2025-10-16 03:22:23,821 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:22:27,898 - 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-10-16 03:22:27,898 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 failed!
2025-10-16 03:22:27,910 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:22:31,997 - 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-10-16 03:22:31,997 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 failed!
2025-10-16 03:22:32,012 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:22:36,091 - 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-10-16 03:22:36,092 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 failed!
2025-10-16 03:22:36,105 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:22:40,187 - 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-10-16 03:22:40,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 failed!
2025-10-16 03:22:40,200 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:22:44,289 - 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-10-16 03:22:44,289 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 failed!
2025-10-16 03:22:44,305 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:22:48,380 - 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-10-16 03:22:48,381 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 failed!
2025-10-16 03:22:48,395 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-25889222:ctest-vn1-vdns-03763793 is 10.10.10.1 and allocation pool is NOT set
2025-10-16 03:22:50,461 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.40 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 = 5.399/6.201/7.003/0.802 ms')
2025-10-16 03:22:50,461 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-59394884 passed
2025-10-16 03:22:50,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:22:50,535 - DEBUG - Waiting to SSH to VM ctest-vm2-test-59394884, IP 10.10.10.4, Port 22
2025-10-16 03:22:50,614 - 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-10-16 03:22:50,695 - DEBUG - VM ctest-vm2-test-59394884 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:22:55,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:22:55,696 - DEBUG - Waiting to SSH to VM ctest-vm2-test-59394884, IP 10.10.10.4, Port 22
2025-10-16 03:22:55,763 - 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-10-16 03:22:55,837 - DEBUG - VM ctest-vm2-test-59394884 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:23:00,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:23:00,838 - DEBUG - Waiting to SSH to VM ctest-vm2-test-59394884, IP 10.10.10.4, Port 22
2025-10-16 03:23:00,979 - 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-10-16 03:23:01,066 - DEBUG - VM ctest-vm2-test-59394884 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:23:06,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:23:06,067 - DEBUG - Waiting to SSH to VM ctest-vm2-test-59394884, IP 10.10.10.4, Port 22
2025-10-16 03:23:06,125 - 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-10-16 03:23:06,199 - DEBUG - VM ctest-vm2-test-59394884 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:23:11,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:23:11,201 - DEBUG - Waiting to SSH to VM ctest-vm2-test-59394884, IP 10.10.10.4, Port 22
2025-10-16 03:23:11,268 - 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-10-16 03:23:11,343 - DEBUG - VM ctest-vm2-test-59394884 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:23:16,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:23:16,344 - DEBUG - Waiting to SSH to VM ctest-vm2-test-59394884, IP 10.10.10.4, Port 22
2025-10-16 03:23:16,515 - DEBUG - VM ctest-vm2-test-59394884 is ready for SSH connections
2025-10-16 03:23:16,515 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-10-16 03:23:16,516 - DEBUG - ifconfig | grep 10.10.10.4
2025-10-16 03:23:39,369 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-10-16 03:23:39,369 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-59394884", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-10-16 03:23:39,369 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-59394884", None, socket.AF_INET6)'
2025-10-16 03:23:41,256 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-59394884, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-10-16 03:23:41,257 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-59394884
2025-10-16 03:23:43,884 - DEBUG - PING ctest-vm2-test-59394884.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-59394884.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=5.55 ms
64 bytes from ctest-vm2-test-59394884.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.215 ms
64 bytes from ctest-vm2-test-59394884.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.600 ms
--- ctest-vm2-test-59394884.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.215/2.124/5.558/2.433 ms
2025-10-16 03:23:43,884 - INFO - Ping to IP ctest-vm2-test-59394884 from VM ctest-vm2-test-59394884 passed
2025-10-16 03:23:43,909 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-16 03:23:43,917 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98397899@0%20AllEntriesVdnsRecordsReq
2025-10-16 03:23:43,922 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-16 03:23:43,926 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98397899@0%20AllEntriesVdnsRecordsReq
2025-10-16 03:23:43,930 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-16 03:23:43,936 - DEBUG - Requesting: http://10.0.0.19:8092/Snh_PageReq?x=default-domain:ctest-vdns1-98397899@0%20AllEntriesVdnsRecordsReq
2025-10-16 03:23:43,940 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-98397899:1:ctest-vm2-test-59394884:10.10.10.4', 'rec_name': 'ctest-vm2-test-59394884', '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-4339-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-59394884.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-16 03:23:43,940 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-98397899:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-59394884', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-59394884', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4339-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-59394884.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-10-16 03:23:43,940 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-59394884", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-16 03:23:43,941 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-59394884", None, socket.AF_INET6)'
2025-10-16 03:23:45,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-59394884, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-16 03:23:45,083 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-59394884
2025-10-16 03:23:47,610 - DEBUG - PING ctest-vm2-test-59394884.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-59394884.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=10.5 ms
64 bytes from ctest-vm2-test-59394884.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.22 ms
64 bytes from ctest-vm2-test-59394884.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.08 ms
--- ctest-vm2-test-59394884.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 1.083/4.296/10.578/4.442 ms
2025-10-16 03:23:47,610 - INFO - Ping to IP ctest-vm2-test-59394884 from VM ctest-vm1-test-80231875 passed
2025-10-16 03:23:47,610 - INFO - Try deleting the VDNS entry ctest-vdns1-98397899 with back ref of ipam.
2025-10-16 03:23:47,670 - DEBUG - Delete when resource still referred: ['http://10.0.0.23:8082/network-ipam/2a52f373-66ac-4222-9710-42c9d791e032']
2025-10-16 03:23:47,670 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-10-16 03:23:47,670 - INFO - Add CNAME VDNS record for ctest-vm1-test-80231875 and verify we able to ping by alias name
2025-10-16 03:23:47,718 - DEBUG - Creating VDNS record data : test-rec
2025-10-16 03:23:47,838 - INFO - In verify_on_setup
2025-10-16 03:23:47,935 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-98397899', 'test-rec'] created succesfully
2025-10-16 03:23:47,935 - INFO - Verify VDNS record is shown in the API server
2025-10-16 03:23:47,935 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-16 03:23:47,941 - DEBUG - Requesting: http://10.0.0.19:8082/domain/446ea2e6-9d96-4973-a55a-3f633ea4d0f9
2025-10-16 03:23:47,985 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS/59dc66b3-052c-49e6-878a-8aa9ec859e59
2025-10-16 03:23:47,997 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-DNS-record/2fead71a-d4f6-4a2d-a49f-46ae5e7f2c67
2025-10-16 03:23:48,005 - INFO - Verify VDNS record is shown in the control node
2025-10-16 03:23:48,022 - 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.38, gateway password: c0ntrail123
2025-10-16 03:23:48,022 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-16 03:23:49,166 - 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.38, gateway password: c0ntrail123
2025-10-16 03:23:49,166 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-10-16 03:23:49,663 - DEBUG - ping: unknown host vm1-test-alias
2025-10-16 03:23:49,663 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-80231875 failed
2025-10-16 03:23:50,664 - 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.38, gateway password: c0ntrail123
2025-10-16 03:23:50,664 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-16 03:23:51,829 - 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.38, gateway password: c0ntrail123
2025-10-16 03:23:51,830 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-10-16 03:23:54,360 - DEBUG - PING ctest-vm1-test-80231875.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-80231875.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.222 ms
64 bytes from ctest-vm1-test-80231875.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.246 ms
64 bytes from ctest-vm1-test-80231875.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.224 ms
--- ctest-vm1-test-80231875.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.222/0.230/0.246/0.020 ms
2025-10-16 03:23:54,360 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-80231875 passed
2025-10-16 03:23:54,360 - DEBUG - Deleting VDNS record data: test-rec
2025-10-16 03:23:54,442 - INFO - VDNS record info: default-domain:ctest-vdns1-98397899:test-rec deleted successfully.
2025-10-16 03:23:54,442 - INFO - Deleting VM ctest-vm2-test-59394884
2025-10-16 03:23:54,521 - INFO - Deleting VM ctest-vm1-test-80231875
2025-10-16 03:23:54,592 - INFO - Deleting VN ctest-vn1-vdns-03763793
2025-10-16 03:23:54,640 - DEBUG - VN ee690840-5ac8-4e58-94b5-dcc53c1ceede still in use: Unable to complete operation on network ee690840-5ac8-4e58-94b5-dcc53c1ceede. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d9e94b09-7570-4fa8-b24d-a796f58f7085']
2025-10-16 03:23:54,640 - WARNING - Deleting VN ctest-vn1-vdns-03763793 failed..Will retry
2025-10-16 03:23:56,836 - DEBUG - Response for deleting network ()
2025-10-16 03:23:56,888 - DEBUG - Deleting VDNS Entry: ctest-vdns1-98397899
2025-10-16 03:23:56,974 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-98397899'] deleted successfully.
2025-10-16 03:23:56,975 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-16 03:23:56,986 - DEBUG - Requesting: http://10.0.0.19:8082/domain/446ea2e6-9d96-4973-a55a-3f633ea4d0f9
2025-10-16 03:23:57,003 - DEBUG - VDNS information not found in API server
2025-10-16 03:23:57,003 - INFO - VDNS information ctest-vdns1-98397899 removed from the API Server
2025-10-16 03:23:57,010 - INFO - VDNS information ctest-vdns1-98397899 removed in the Control node
2025-10-16 03:23:57,010 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-25889222']
2025-10-16 03:23:58,283 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 03:23:58,283 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:31]
2025-10-16 03:23:58,283 - INFO - --------------------------------------------------------------------------------
2025-10-16 03:23:59,008 - INFO - Deleted project: ctest-TestvDNSBasic0-25889222, ID : d865213e-312e-4317-906b-0762829623a9