2025-01-10 09:45:29,919 - INFO - Domain Default found not creating 2025-01-10 09:45:30,109 - INFO - Project ctest-TestvDNSBasic0-49908567 not found, creating it 2025-01-10 09:45:30,804 - INFO - Created Project:ctest-TestvDNSBasic0-49908567, ID : 3c50f93c-ef17-4bce-94bd-0d17a4a1a7b3 2025-01-10 09:45:32,485 - INFO - ================================================================================ 2025-01-10 09:45:32,485 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-01-10 09:45:32,485 - 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-01-10 09:45:33,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.5': '0', '10.20.0.12': '0'}, '10.0.0.33': {'10.20.0.5': '0', '10.20.0.12': '0'}} with 2025-01-10 09:45:33,787 - INFO - Initial checks done. Running the testcase now 2025-01-10 09:45:33,789 - INFO - 2025-01-10 09:45:34,842 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-49908567'](3c50f93c-ef17-4bce-94bd-0d17a4a1a7b3) 2025-01-10 09:45:34,903 - DEBUG - Creating VDNS : ctest-vdns1-90863327 2025-01-10 09:45:35,167 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-90863327'] created succesfully 2025-01-10 09:45:35,167 - DEBUG - Verify VDNS entry is shown in control node 2025-01-10 09:45:35,188 - DEBUG - Verify VDNS entry is shown in the API server 2025-01-10 09:45:35,188 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-10 09:45:35,502 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-10 09:45:35,538 - DEBUG - Requesting: http://10.0.0.30:8082/domain/9d97cda5-b041-47d1-8a65-cf8886a92f43 2025-01-10 09:45:35,566 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-DNS/2f461aa3-d1b1-4e1c-aabe-5fc799b4bcb3 2025-01-10 09:45:36,384 - DEBUG - Response for create_network : {'network': {'id': '9f894a8a-b5de-48d2-85ed-58eb9975b17f', 'name': 'ctest-vn1-vdns-10514718', 'tenant_id': '3c50f93cef174bce94bd0d17a4a1a7b3', 'project_id': '3c50f93cef174bce94bd0d17a4a1a7b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-49908567', 'ctest-vn1-vdns-10514718'], 'port_security_enabled': True, 'description': ''}} 2025-01-10 09:45:36,731 - DEBUG - Response for create_subnet : {'subnet': {'id': '0de443a1-2b3a-4706-bf19-61a27fd64476', 'name': '', 'tenant_id': '3c50f93cef174bce94bd0d17a4a1a7b3', 'network_id': '9f894a8a-b5de-48d2-85ed-58eb9975b17f', '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': '3c50f93cef174bce94bd0d17a4a1a7b3'}} 2025-01-10 09:45:36,774 - INFO - Created VN ctest-vn1-vdns-10514718 2025-01-10 09:45:36,792 - DEBUG - VN ctest-vn1-vdns-10514718 UUID is 9f894a8a-b5de-48d2-85ed-58eb9975b17f 2025-01-10 09:45:37,135 - DEBUG - Services list from nova: [, , , ] 2025-01-10 09:45:38,248 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2598-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2598-2) 2025-01-10 09:45:38,248 - INFO - Waiting for VM ctest-vm1-test-66234679 to be up.. 2025-01-10 09:45:38,294 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-10 09:45:43,402 - DEBUG - VM is in ACTIVE state now 2025-01-10 09:45:43,402 - INFO - VM name : ctest-vm1-test-66234679 2025-01-10 09:45:43,503 - DEBUG - VM ctest-vm1-test-66234679 ID is 96f59d19-a90c-4d40-8c79-72b57fdd47a5 2025-01-10 09:45:43,503 - DEBUG - VM ctest-vm1-test-66234679 launched on Node an-jenkins-deploy-platform-ansible-os-2598-2 2025-01-10 09:45:43,701 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/96f59d19-a90c-4d40-8c79-72b57fdd47a5 2025-01-10 09:45:44,014 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/96f59d19-a90c-4d40-8c79-72b57fdd47a5 2025-01-10 09:45:44,066 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/1eae01b6-437e-4a64-8991-5d15d5ceeedf 2025-01-10 09:45:47,303 - 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-01-10 09:45:47,304 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66234679 failed! 2025-01-10 09:45:47,323 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-49908567:ctest-vn1-vdns-10514718 is 10.10.10.1 and allocation pool is NOT set 2025-01-10 09:45:49,392 - 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=3.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.27 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.081/3.175/3.269/0.094 ms') 2025-01-10 09:45:49,392 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-66234679 passed 2025-01-10 09:45:49,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-10 09:45:49,514 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66234679, IP 10.10.10.3, Port 22 2025-01-10 09:45:49,583 - DEBUG - Error on ssh to cirros@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-01-10 09:45:49,707 - DEBUG - VM ctest-vm1-test-66234679 is NOT ready for SSH connections, VM status: ACTIVE 2025-01-10 09:45:54,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-10 09:45:54,708 - DEBUG - Waiting to SSH to VM ctest-vm1-test-66234679, IP 10.10.10.3, Port 22 2025-01-10 09:45:54,879 - DEBUG - VM ctest-vm1-test-66234679 is ready for SSH connections 2025-01-10 09:45:54,879 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:45:54,879 - DEBUG - ifconfig | grep 10.10.10.3 2025-01-10 09:45:56,520 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-01-10 09:45:56,520 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:45:56,521 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' 2025-01-10 09:45:56,768 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:45:56,768 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 2025-01-10 09:45:57,018 - DEBUG - ping: bad address 'ctest-vm1-test-66234679' 2025-01-10 09:45:57,019 - WARNING - Ping to IP ctest-vm1-test-66234679 from VM ctest-vm1-test-66234679 failed 2025-01-10 09:45:58,020 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:45:58,020 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' 2025-01-10 09:45:58,207 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:45:58,207 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 2025-01-10 09:45:58,442 - DEBUG - ping: bad address 'ctest-vm1-test-66234679' 2025-01-10 09:45:58,442 - WARNING - Ping to IP ctest-vm1-test-66234679 from VM ctest-vm1-test-66234679 failed 2025-01-10 09:45:59,443 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:45:59,443 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' 2025-01-10 09:45:59,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:45:59,625 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 2025-01-10 09:45:59,876 - DEBUG - ping: bad address 'ctest-vm1-test-66234679' 2025-01-10 09:45:59,876 - WARNING - Ping to IP ctest-vm1-test-66234679 from VM ctest-vm1-test-66234679 failed 2025-01-10 09:46:00,877 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:00,878 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' 2025-01-10 09:46:01,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:01,054 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 2025-01-10 09:46:01,301 - DEBUG - ping: bad address 'ctest-vm1-test-66234679' 2025-01-10 09:46:01,301 - WARNING - Ping to IP ctest-vm1-test-66234679 from VM ctest-vm1-test-66234679 failed 2025-01-10 09:46:02,302 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:02,302 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' 2025-01-10 09:46:02,477 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:02,477 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 2025-01-10 09:46:02,723 - DEBUG - ping: bad address 'ctest-vm1-test-66234679' 2025-01-10 09:46:02,724 - WARNING - Ping to IP ctest-vm1-test-66234679 from VM ctest-vm1-test-66234679 failed 2025-01-10 09:46:03,724 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:03,724 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' 2025-01-10 09:46:03,901 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:03,901 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 2025-01-10 09:46:04,149 - DEBUG - ping: bad address 'ctest-vm1-test-66234679' 2025-01-10 09:46:04,149 - WARNING - Ping to IP ctest-vm1-test-66234679 from VM ctest-vm1-test-66234679 failed 2025-01-10 09:46:05,149 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:05,150 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' 2025-01-10 09:46:05,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:05,326 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 2025-01-10 09:46:05,593 - DEBUG - ping: bad address 'ctest-vm1-test-66234679' 2025-01-10 09:46:05,593 - WARNING - Ping to IP ctest-vm1-test-66234679 from VM ctest-vm1-test-66234679 failed 2025-01-10 09:46:06,594 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:06,594 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' 2025-01-10 09:46:06,770 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:06,770 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 2025-01-10 09:46:07,016 - DEBUG - ping: bad address 'ctest-vm1-test-66234679' 2025-01-10 09:46:07,017 - WARNING - Ping to IP ctest-vm1-test-66234679 from VM ctest-vm1-test-66234679 failed 2025-01-10 09:46:08,017 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:08,018 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' 2025-01-10 09:46:08,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:08,205 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 2025-01-10 09:46:08,461 - DEBUG - ping: bad address 'ctest-vm1-test-66234679' 2025-01-10 09:46:08,462 - WARNING - Ping to IP ctest-vm1-test-66234679 from VM ctest-vm1-test-66234679 failed 2025-01-10 09:46:09,462 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:09,463 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' 2025-01-10 09:46:09,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:09,638 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 2025-01-10 09:46:09,930 - DEBUG - ping: bad address 'ctest-vm1-test-66234679' 2025-01-10 09:46:09,930 - WARNING - Ping to IP ctest-vm1-test-66234679 from VM ctest-vm1-test-66234679 failed 2025-01-10 09:46:10,931 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:10,931 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' 2025-01-10 09:46:11,123 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-10 09:46:11,123 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 2025-01-10 09:46:11,360 - DEBUG - ping: bad address 'ctest-vm1-test-66234679' 2025-01-10 09:46:11,360 - WARNING - Ping to IP ctest-vm1-test-66234679 from VM ctest-vm1-test-66234679 failed 2025-01-10 09:46:11,373 - INFO - Deleting VM ctest-vm1-test-66234679 2025-01-10 09:46:11,487 - INFO - Deleting VN ctest-vn1-vdns-10514718 2025-01-10 09:46:11,553 - DEBUG - VN 9f894a8a-b5de-48d2-85ed-58eb9975b17f still in use: Unable to complete operation on network 9f894a8a-b5de-48d2-85ed-58eb9975b17f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d2858f85-1ce7-4650-bd31-9ba037831222'] 2025-01-10 09:46:11,553 - WARNING - Deleting VN ctest-vn1-vdns-10514718 failed..Will retry 2025-01-10 09:46:13,771 - DEBUG - Response for deleting network () 2025-01-10 09:46:13,871 - DEBUG - Deleting VDNS Entry: ctest-vdns1-90863327 2025-01-10 09:46:13,999 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-90863327'] deleted successfully. 2025-01-10 09:46:13,999 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-10 09:46:14,008 - DEBUG - Requesting: http://10.0.0.30:8082/domain/9d97cda5-b041-47d1-8a65-cf8886a92f43 2025-01-10 09:46:14,027 - DEBUG - VDNS information not found in API server 2025-01-10 09:46:14,027 - INFO - VDNS information ctest-vdns1-90863327 removed from the API Server 2025-01-10 09:46:14,035 - INFO - VDNS information ctest-vdns1-90863327 removed in the Control node 2025-01-10 09:46:14,035 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-49908567'] 2025-01-10 09:46:15,321 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Fri Jan 10 09:46:11 2025 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={}) 78 log.info('Initial checks done. Running the testcase now') 79 log.info('') 80 result = function(self, *args, **kwargs) 81 if self.inputs.upgrade: 82 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/scripts/vdns/test_vdns_basic.py in test_vdns_ping_same_vn(self=) 105 vm_name) 106 self.assertTrue(vm_fixture[vm_name] 107 .ping_with_certainty(ip=vm_name), msg) 108 # Frame the Expected DNS data for VM, one for 'A' record and 109 # another 'PTR' record. global ip = vm_name = 'ctest-vm1-test-66234679' msg = 'Ping by using name ctest-vm1-test-66234679 is failed. Dns server should resolve VM name to IP' /usr/local/lib/python3.6/site-packages/unittest2/case.py in assertTrue(self=, expr=False, msg='False is not true : Ping by using name ctest-vm1...s failed. Dns server should resolve VM name to IP') 700 if not expr: 701 msg = self._formatMessage(msg, "%s is not true" % safe_repr(expr)) 702 raise self.failureException(msg) 703 704 def _formatMessage(self, msg, standardMsg): self = self.failureException = msg = 'False is not true : Ping by using name ctest-vm1...s failed. Dns server should resolve VM name to IP' AssertionError: False is not true : Ping by using name ctest-vm1-test-66234679 is failed. Dns server should resolve VM name to IP __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Assertion failed.' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = args = ('False is not true : Ping by using name ctest-vm1...s failed. Dns server should resolve VM name to IP',) with_traceback = The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vdns/test_vdns_basic.py", line 107, in test_vdns_ping_same_vn .ping_with_certainty(ip=vm_name), msg) File "/usr/local/lib/python3.6/site-packages/unittest2/case.py", line 702, in assertTrue raise self.failureException(msg) AssertionError: False is not true : Ping by using name ctest-vm1-test-66234679 is failed. Dns server should resolve VM name to IP 2025-01-10 09:46:15,339 - DEBUG - No XMPP flaps were noticed during the test 2025-01-10 09:46:15,339 - INFO - 2025-01-10 09:46:15,339 - INFO - END TEST : test_vdns_ping_same_vn : FAILED[0:00:43] 2025-01-10 09:46:15,339 - INFO - -------------------------------------------------------------------------------- 2025-01-10 09:46:16,364 - INFO - Deleted project: ctest-TestvDNSBasic0-49908567, ID : 3c50f93c-ef17-4bce-94bd-0d17a4a1a7b3