2025-10-31 15:51:37,077 - INFO - Domain Default found not creating
2025-10-31 15:51:37,217 - INFO - Project ctest-TestvDNSBasic0-66332879 not found, creating it
2025-10-31 15:51:37,751 - INFO - Created Project:ctest-TestvDNSBasic0-66332879, ID : ed4bc7da-6043-4fe5-ba5c-77a44b114ada
2025-10-31 15:51:39,200 - INFO - ================================================================================
2025-10-31 15:51:39,201 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-10-31 15:51:39,201 - 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-31 15:51:40,525 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.22': {'10.20.0.25': '0', '10.20.0.193': '0'}} with
2025-10-31 15:51:40,526 - INFO - Initial checks done. Running the testcase now
2025-10-31 15:51:40,526 - INFO -
2025-10-31 15:51:41,293 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-66332879'](ed4bc7da-6043-4fe5-ba5c-77a44b114ada)
2025-10-31 15:51:41,350 - DEBUG - Creating VDNS : ctest-vdns1-56655571
2025-10-31 15:51:41,583 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-56655571'] created succesfully
2025-10-31 15:51:41,583 - DEBUG - Verify VDNS entry is shown in control node
2025-10-31 15:51:41,599 - DEBUG - Verify VDNS entry is shown in the API server
2025-10-31 15:51:41,599 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-31 15:51:41,900 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-31 15:51:41,933 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84461aec-f8f2-4c85-873b-ef5843450b69
2025-10-31 15:51:41,949 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/203188d2-bf31-4204-b63b-fa5728236329
2025-10-31 15:51:42,704 - DEBUG - Response for create_network : {'network': {'id': '22785029-749e-41ba-af50-c801fc895a08', 'name': 'ctest-vn1-vdns-87139841', 'tenant_id': 'ed4bc7da60434fe5ba5c77a44b114ada', 'project_id': 'ed4bc7da60434fe5ba5c77a44b114ada', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-66332879', 'ctest-vn1-vdns-87139841'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 15:51:42,952 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b41f706-e622-4caa-a1fd-290afc727803', 'name': '', 'tenant_id': 'ed4bc7da60434fe5ba5c77a44b114ada', 'network_id': '22785029-749e-41ba-af50-c801fc895a08', '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': 'ed4bc7da60434fe5ba5c77a44b114ada'}}
2025-10-31 15:51:42,975 - INFO - Created VN ctest-vn1-vdns-87139841
2025-10-31 15:51:42,989 - DEBUG - VN ctest-vn1-vdns-87139841 UUID is 22785029-749e-41ba-af50-c801fc895a08
2025-10-31 15:51:43,162 - DEBUG - Services list from nova: [, , , ]
2025-10-31 15:51:44,217 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4577-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4577-1)
2025-10-31 15:51:44,217 - INFO - Waiting for VM ctest-vm1-test-01585695 to be up..
2025-10-31 15:51:44,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-31 15:51:49,356 - DEBUG - VM is in ACTIVE state now
2025-10-31 15:51:49,356 - INFO - VM name : ctest-vm1-test-01585695
2025-10-31 15:51:49,444 - DEBUG - VM ctest-vm1-test-01585695 ID is 58d03115-4f3c-4ac1-a216-7cf5388bf3d4
2025-10-31 15:51:49,444 - DEBUG - VM ctest-vm1-test-01585695 launched on Node an-jenkins-deploy-platform-ansible-os-4577-1
2025-10-31 15:51:49,525 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/58d03115-4f3c-4ac1-a216-7cf5388bf3d4
2025-10-31 15:51:49,827 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/58d03115-4f3c-4ac1-a216-7cf5388bf3d4
2025-10-31 15:51:49,857 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/790a534e-b7fa-4107-9417-7fe6224de8db
2025-10-31 15:51:53,030 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2025-10-31 15:51:53,030 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01585695 failed!
2025-10-31 15:51:53,044 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:51:57,129 - 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-31 15:51:57,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01585695 failed!
2025-10-31 15:51:57,142 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:52:01,228 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms')
2025-10-31 15:52:01,228 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01585695 failed!
2025-10-31 15:52:01,243 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:52:05,320 - 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-31 15:52:05,320 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01585695 failed!
2025-10-31 15:52:05,335 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:52:09,418 - 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-31 15:52:09,418 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01585695 failed!
2025-10-31 15:52:09,433 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:52:13,508 - 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-31 15:52:13,508 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01585695 failed!
2025-10-31 15:52:13,523 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:52:17,609 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms')
2025-10-31 15:52:17,609 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01585695 failed!
2025-10-31 15:52:17,623 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:52:21,701 - 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=5.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 5.170/5.170/5.170/0.000 ms')
2025-10-31 15:52:21,701 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-01585695 passed
2025-10-31 15:52:21,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 15:52:21,773 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01585695, IP 10.10.10.3, Port 22
2025-10-31 15:52:21,839 - 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-31 15:52:21,924 - DEBUG - VM ctest-vm1-test-01585695 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 15:52:26,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 15:52:26,925 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01585695, IP 10.10.10.3, Port 22
2025-10-31 15:52:26,980 - 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-31 15:52:27,068 - DEBUG - VM ctest-vm1-test-01585695 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 15:52:32,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 15:52:32,069 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01585695, IP 10.10.10.3, Port 22
2025-10-31 15:52:32,128 - 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-31 15:52:32,219 - DEBUG - VM ctest-vm1-test-01585695 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 15:52:37,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 15:52:37,220 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01585695, IP 10.10.10.3, Port 22
2025-10-31 15:52:37,286 - 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-31 15:52:37,382 - DEBUG - VM ctest-vm1-test-01585695 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 15:52:42,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 15:52:42,383 - DEBUG - Waiting to SSH to VM ctest-vm1-test-01585695, IP 10.10.10.3, Port 22
2025-10-31 15:52:42,536 - DEBUG - VM ctest-vm1-test-01585695 is ready for SSH connections
2025-10-31 15:52:42,536 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-31 15:52:42,537 - DEBUG - ifconfig | grep 10.10.10.3
2025-10-31 15:52:58,152 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-10-31 15:52:58,153 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-01585695", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-31 15:52:58,153 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-01585695", None, socket.AF_INET6)'
2025-10-31 15:52:59,310 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-01585695, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-31 15:52:59,311 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-01585695
2025-10-31 15:53:01,802 - DEBUG - PING ctest-vm1-test-01585695.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-01585695.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=3.94 ms
64 bytes from ctest-vm1-test-01585695.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=0.348 ms
64 bytes from ctest-vm1-test-01585695.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.213 ms
--- ctest-vm1-test-01585695.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.213/1.502/3.947/1.729 ms
2025-10-31 15:53:01,802 - INFO - Ping to IP ctest-vm1-test-01585695 from VM ctest-vm1-test-01585695 passed
2025-10-31 15:53:01,825 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-31 15:53:01,831 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56655571@0%20AllEntriesVdnsRecordsReq
2025-10-31 15:53:01,836 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-31 15:53:01,843 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56655571@0%20AllEntriesVdnsRecordsReq
2025-10-31 15:53:01,848 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-31 15:53:01,852 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56655571@0%20AllEntriesVdnsRecordsReq
2025-10-31 15:53:01,856 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56655571:1:ctest-vm1-test-01585695:10.10.10.3', 'rec_name': 'ctest-vm1-test-01585695', '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-4577-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-01585695.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-31 15:53:01,856 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56655571:12:3.10.10.10.in-addr.arpa:ctest-vm1-test-01585695', 'rec_name': '3.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm1-test-01585695', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4577-1/dns'} ,
Expected record data {'rec_data': 'ctest-vm1-test-01585695.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-31 15:53:03,122 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4577-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4577-2)
2025-10-31 15:53:03,122 - INFO - Waiting for VM ctest-vm2-test-82668795 to be up..
2025-10-31 15:53:03,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-31 15:53:08,250 - DEBUG - VM is in ACTIVE state now
2025-10-31 15:53:08,250 - INFO - VM name : ctest-vm2-test-82668795
2025-10-31 15:53:08,334 - DEBUG - VM ctest-vm2-test-82668795 ID is d81f2e49-1ec3-49b7-89fb-5f2a7a612f18
2025-10-31 15:53:08,334 - DEBUG - VM ctest-vm2-test-82668795 launched on Node an-jenkins-deploy-platform-ansible-os-4577-2
2025-10-31 15:53:08,416 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d81f2e49-1ec3-49b7-89fb-5f2a7a612f18
2025-10-31 15:53:08,426 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b097b3be-9d2b-4846-803d-016f0bcadb09
2025-10-31 15:53:11,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 1022ms')
2025-10-31 15:53:11,607 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82668795 failed!
2025-10-31 15:53:11,623 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:53:15,708 - 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-31 15:53:15,708 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82668795 failed!
2025-10-31 15:53:15,723 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:53:19,795 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2025-10-31 15:53:19,795 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82668795 failed!
2025-10-31 15:53:19,809 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:53:23,890 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms')
2025-10-31 15:53:23,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82668795 failed!
2025-10-31 15:53:23,904 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:53:27,993 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms')
2025-10-31 15:53:27,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82668795 failed!
2025-10-31 15:53:28,008 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:53:32,094 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2025-10-31 15:53:32,094 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82668795 failed!
2025-10-31 15:53:32,108 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:53:36,186 - 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 1004ms')
2025-10-31 15:53:36,186 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82668795 failed!
2025-10-31 15:53:36,200 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:53:40,278 - 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-31 15:53:40,278 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82668795 failed!
2025-10-31 15:53:40,295 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:53:44,377 - 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-31 15:53:44,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82668795 failed!
2025-10-31 15:53:44,392 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:53:48,469 - 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-31 15:53:48,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82668795 failed!
2025-10-31 15:53:48,484 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-66332879:ctest-vn1-vdns-87139841 is 10.10.10.1 and allocation pool is NOT set
2025-10-31 15:53:50,554 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.51 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 = 4.513/6.183/7.853/1.670 ms')
2025-10-31 15:53:50,554 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-test-82668795 passed
2025-10-31 15:53:50,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 15:53:50,624 - DEBUG - Waiting to SSH to VM ctest-vm2-test-82668795, IP 10.10.10.4, Port 22
2025-10-31 15:53:50,690 - 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-31 15:53:50,808 - DEBUG - VM ctest-vm2-test-82668795 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 15:53:55,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 15:53:55,809 - DEBUG - Waiting to SSH to VM ctest-vm2-test-82668795, IP 10.10.10.4, Port 22
2025-10-31 15:53:55,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-31 15:53:55,963 - DEBUG - VM ctest-vm2-test-82668795 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 15:54:00,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 15:54:00,964 - DEBUG - Waiting to SSH to VM ctest-vm2-test-82668795, IP 10.10.10.4, Port 22
2025-10-31 15:54:01,034 - 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-31 15:54:01,117 - DEBUG - VM ctest-vm2-test-82668795 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 15:54:06,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 15:54:06,118 - DEBUG - Waiting to SSH to VM ctest-vm2-test-82668795, IP 10.10.10.4, Port 22
2025-10-31 15:54:06,185 - 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-31 15:54:06,277 - DEBUG - VM ctest-vm2-test-82668795 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 15:54:11,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 15:54:11,278 - DEBUG - Waiting to SSH to VM ctest-vm2-test-82668795, IP 10.10.10.4, Port 22
2025-10-31 15:54:11,453 - DEBUG - VM ctest-vm2-test-82668795 is ready for SSH connections
2025-10-31 15:54:11,453 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-31 15:54:11,453 - DEBUG - ifconfig | grep 10.10.10.4
2025-10-31 15:54:36,575 - DEBUG - inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0
2025-10-31 15:54:36,576 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-82668795", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-31 15:54:36,576 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-82668795", None, socket.AF_INET6)'
2025-10-31 15:54:39,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-82668795, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-31 15:54:39,822 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-82668795
2025-10-31 15:54:42,890 - DEBUG - PING ctest-vm2-test-82668795.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-82668795.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=3.14 ms
64 bytes from ctest-vm2-test-82668795.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=0.276 ms
64 bytes from ctest-vm2-test-82668795.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=0.264 ms
--- ctest-vm2-test-82668795.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.264/1.229/3.149/1.357 ms
2025-10-31 15:54:42,890 - INFO - Ping to IP ctest-vm2-test-82668795 from VM ctest-vm2-test-82668795 passed
2025-10-31 15:54:42,918 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-31 15:54:42,924 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56655571@0%20AllEntriesVdnsRecordsReq
2025-10-31 15:54:42,929 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-31 15:54:42,933 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56655571@0%20AllEntriesVdnsRecordsReq
2025-10-31 15:54:42,938 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2025-10-31 15:54:42,942 - DEBUG - Requesting: http://10.0.0.38:8092/Snh_PageReq?x=default-domain:ctest-vdns1-56655571@0%20AllEntriesVdnsRecordsReq
2025-10-31 15:54:42,947 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56655571:1:ctest-vm2-test-82668795:10.10.10.4', 'rec_name': 'ctest-vm2-test-82668795', '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-4577-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-82668795.juniper.net', 'installed': 'yes', 'zone': 'juniper.net'}
2025-10-31 15:54:42,947 - DEBUG - Actual record data {'name': 'default-domain:ctest-vdns1-56655571:12:4.10.10.10.in-addr.arpa:ctest-vm2-test-82668795', 'rec_name': '4.10.10.10.in-addr.arpa', 'rec_type': 'PTR', 'rec_class': 'IN', 'rec_data': 'ctest-vm2-test-82668795', 'rec_ttl': '100', 'source': 'Agent', 'installed': 'true', 'flags': '3', 'rec_source_name': 'an-jenkins-deploy-platform-ansible-os-4577-2/dns'} ,
Expected record data {'rec_data': 'ctest-vm2-test-82668795.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-31 15:54:42,947 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-82668795", None, socket.AF_INET6)', host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-31 15:54:42,947 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-82668795", None, socket.AF_INET6)'
2025-10-31 15:54:44,006 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm2-test-82668795, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-31 15:54:44,006 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm2-test-82668795
2025-10-31 15:54:46,494 - DEBUG - PING ctest-vm2-test-82668795.juniper.net (10.10.10.4) 56(84) bytes of data.
64 bytes from ctest-vm2-test-82668795.juniper.net (10.10.10.4): icmp_req=1 ttl=64 time=9.84 ms
64 bytes from ctest-vm2-test-82668795.juniper.net (10.10.10.4): icmp_req=2 ttl=64 time=1.29 ms
64 bytes from ctest-vm2-test-82668795.juniper.net (10.10.10.4): icmp_req=3 ttl=64 time=1.73 ms
--- ctest-vm2-test-82668795.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.296/4.293/9.848/3.932 ms
2025-10-31 15:54:46,495 - INFO - Ping to IP ctest-vm2-test-82668795 from VM ctest-vm1-test-01585695 passed
2025-10-31 15:54:46,495 - INFO - Try deleting the VDNS entry ctest-vdns1-56655571 with back ref of ipam.
2025-10-31 15:54:46,558 - DEBUG - Delete when resource still referred: ['http://10.0.0.65:8082/network-ipam/4f4b78ba-508f-4962-8c62-ac0ef7dd5232']
2025-10-31 15:54:46,558 - INFO - Deletion of the vdns entry failed with back ref of ipam as expected
2025-10-31 15:54:46,559 - INFO - Add CNAME VDNS record for ctest-vm1-test-01585695 and verify we able to ping by alias name
2025-10-31 15:54:46,606 - DEBUG - Creating VDNS record data : test-rec
2025-10-31 15:54:46,743 - INFO - In verify_on_setup
2025-10-31 15:54:46,843 - DEBUG - VDNS record: ['default-domain', 'ctest-vdns1-56655571', 'test-rec'] created succesfully
2025-10-31 15:54:46,843 - INFO - Verify VDNS record is shown in the API server
2025-10-31 15:54:46,843 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-31 15:54:46,849 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84461aec-f8f2-4c85-873b-ef5843450b69
2025-10-31 15:54:46,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/203188d2-bf31-4204-b63b-fa5728236329
2025-10-31 15:54:46,883 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS-record/198ea120-4a33-4d86-9633-8b95d5df2187
2025-10-31 15:54:46,893 - INFO - Verify VDNS record is shown in the control node
2025-10-31 15:54:46,916 - 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.19, gateway password: c0ntrail123
2025-10-31 15:54:46,916 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-31 15:54:48,002 - 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.19, gateway password: c0ntrail123
2025-10-31 15:54:48,002 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-10-31 15:54:48,481 - DEBUG - ping: unknown host vm1-test-alias
2025-10-31 15:54:48,481 - WARNING - Ping to IP vm1-test-alias from VM ctest-vm1-test-01585695 failed
2025-10-31 15:54:49,483 - 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.19, gateway password: c0ntrail123
2025-10-31 15:54:49,483 - DEBUG - python -c 'import socket;socket.getaddrinfo("vm1-test-alias", None, socket.AF_INET6)'
2025-10-31 15:54:50,496 - 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.19, gateway password: c0ntrail123
2025-10-31 15:54:50,496 - DEBUG - ping -s 56 -c 3 -W 1 vm1-test-alias
2025-10-31 15:54:52,969 - DEBUG - PING ctest-vm1-test-01585695.juniper.net (10.10.10.3) 56(84) bytes of data.
64 bytes from ctest-vm1-test-01585695.juniper.net (10.10.10.3): icmp_req=1 ttl=64 time=0.210 ms
64 bytes from ctest-vm1-test-01585695.juniper.net (10.10.10.3): icmp_req=2 ttl=64 time=2.04 ms
64 bytes from ctest-vm1-test-01585695.juniper.net (10.10.10.3): icmp_req=3 ttl=64 time=0.304 ms
--- ctest-vm1-test-01585695.juniper.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.210/0.853/2.047/0.845 ms
2025-10-31 15:54:52,969 - INFO - Ping to IP vm1-test-alias from VM ctest-vm1-test-01585695 passed
2025-10-31 15:54:52,969 - DEBUG - Deleting VDNS record data: test-rec
2025-10-31 15:54:53,050 - INFO - VDNS record info: default-domain:ctest-vdns1-56655571:test-rec deleted successfully.
2025-10-31 15:54:53,051 - INFO - Deleting VM ctest-vm2-test-82668795
2025-10-31 15:54:53,122 - INFO - Deleting VM ctest-vm1-test-01585695
2025-10-31 15:54:53,187 - INFO - Deleting VN ctest-vn1-vdns-87139841
2025-10-31 15:54:53,230 - DEBUG - VN 22785029-749e-41ba-af50-c801fc895a08 still in use: Unable to complete operation on network 22785029-749e-41ba-af50-c801fc895a08. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4009fba6-a3f2-4f3b-aac5-fae1299ce47b']
2025-10-31 15:54:53,230 - WARNING - Deleting VN ctest-vn1-vdns-87139841 failed..Will retry
2025-10-31 15:54:55,491 - DEBUG - Response for deleting network ()
2025-10-31 15:54:55,550 - DEBUG - Deleting VDNS Entry: ctest-vdns1-56655571
2025-10-31 15:54:55,659 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-56655571'] deleted successfully.
2025-10-31 15:54:55,659 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-31 15:54:55,665 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84461aec-f8f2-4c85-873b-ef5843450b69
2025-10-31 15:54:55,681 - DEBUG - VDNS information not found in API server
2025-10-31 15:54:55,681 - INFO - VDNS information ctest-vdns1-56655571 removed from the API Server
2025-10-31 15:54:55,686 - INFO - VDNS information ctest-vdns1-56655571 removed in the Control node
2025-10-31 15:54:55,686 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-66332879']
2025-10-31 15:54:56,971 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 15:54:56,971 - INFO - END TEST : test_vdns_ping_same_vn : PASSED[0:03:17]
2025-10-31 15:54:56,971 - INFO - --------------------------------------------------------------------------------
2025-10-31 15:54:57,733 - INFO - Deleted project: ctest-TestvDNSBasic0-66332879, ID : ed4bc7da-6043-4fe5-ba5c-77a44b114ada