2025-02-17 02:26:36,263 - INFO - Domain Default found not creating 2025-02-17 02:26:36,447 - INFO - Project ctest-TestvDNSBasic0-39239798 not found, creating it 2025-02-17 02:26:37,037 - INFO - Created Project:ctest-TestvDNSBasic0-39239798, ID : b0df81ae-941b-43de-ad33-c84fa3c485e4 2025-02-17 02:26:38,921 - INFO - ================================================================================ 2025-02-17 02:26:38,921 - INFO - STARTING TEST : test_vdns_ping_same_vn 2025-02-17 02:26:38,921 - 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-02-17 02:26:40,210 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.8': '0', '10.20.0.13': '0'}, '10.0.0.42': {'10.20.0.13': '0', '10.20.0.10': '0'}} with 2025-02-17 02:26:40,210 - INFO - Initial checks done. Running the testcase now 2025-02-17 02:26:40,210 - INFO - 2025-02-17 02:26:41,158 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-39239798'](b0df81ae-941b-43de-ad33-c84fa3c485e4) 2025-02-17 02:26:41,225 - DEBUG - Creating VDNS : ctest-vdns1-17257040 2025-02-17 02:26:41,461 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-17257040'] created succesfully 2025-02-17 02:26:41,462 - DEBUG - Verify VDNS entry is shown in control node 2025-02-17 02:26:41,482 - DEBUG - Verify VDNS entry is shown in the API server 2025-02-17 02:26:41,482 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-02-17 02:26:41,787 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-02-17 02:26:41,825 - DEBUG - Requesting: http://10.0.0.56:8082/domain/5380181f-43ee-495b-b284-7033f2a63912 2025-02-17 02:26:41,849 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-DNS/0ad02dd7-b144-44d7-938b-b0418f1687e4 2025-02-17 02:26:42,632 - DEBUG - Response for create_network : {'network': {'id': '5566f266-f00a-4c3b-aef8-88d36faf1fc6', 'name': 'ctest-vn1-vdns-99443073', 'tenant_id': 'b0df81ae941b43dead33c84fa3c485e4', 'project_id': 'b0df81ae941b43dead33c84fa3c485e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-39239798', 'ctest-vn1-vdns-99443073'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:26:42,937 - DEBUG - Response for create_subnet : {'subnet': {'id': '2faf1ba9-58f3-47ca-bdba-dcbfbee31f74', 'name': '', 'tenant_id': 'b0df81ae941b43dead33c84fa3c485e4', 'network_id': '5566f266-f00a-4c3b-aef8-88d36faf1fc6', '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': 'b0df81ae941b43dead33c84fa3c485e4'}} 2025-02-17 02:26:42,977 - INFO - Created VN ctest-vn1-vdns-99443073 2025-02-17 02:26:42,999 - DEBUG - VN ctest-vn1-vdns-99443073 UUID is 5566f266-f00a-4c3b-aef8-88d36faf1fc6 2025-02-17 02:26:43,242 - DEBUG - Services list from nova: [, , , ] 2025-02-17 02:26:44,378 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2738-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2738-2) 2025-02-17 02:26:44,378 - INFO - Waiting for VM ctest-vm1-test-80390668 to be up.. 2025-02-17 02:26:44,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-17 02:26:49,536 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:26:49,536 - INFO - VM name : ctest-vm1-test-80390668 2025-02-17 02:26:49,645 - DEBUG - VM ctest-vm1-test-80390668 ID is 725a9b96-e21c-4d2f-b692-6ae58fa3960c 2025-02-17 02:26:49,645 - DEBUG - VM ctest-vm1-test-80390668 launched on Node an-jenkins-deploy-platform-ansible-os-2738-2 2025-02-17 02:26:49,753 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/725a9b96-e21c-4d2f-b692-6ae58fa3960c 2025-02-17 02:26:50,074 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/725a9b96-e21c-4d2f-b692-6ae58fa3960c 2025-02-17 02:26:50,116 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/125cc950-e6c2-403b-b199-4d669b1fe69b 2025-02-17 02:26:53,341 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2025-02-17 02:26:53,342 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80390668 failed! 2025-02-17 02:26:53,358 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-39239798:ctest-vn1-vdns-99443073 is 10.10.10.1 and allocation pool is NOT set 2025-02-17 02:26:55,429 - 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=5.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.80 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.799/4.063/5.328/1.264 ms') 2025-02-17 02:26:55,430 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-80390668 passed 2025-02-17 02:26:55,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:26:55,554 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80390668, IP 10.10.10.3, Port 22 2025-02-17 02:26:55,625 - 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-02-17 02:26:55,728 - DEBUG - VM ctest-vm1-test-80390668 is NOT ready for SSH connections, VM status: ACTIVE 2025-02-17 02:27:00,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:27:00,729 - DEBUG - Waiting to SSH to VM ctest-vm1-test-80390668, IP 10.10.10.3, Port 22 2025-02-17 02:27:00,894 - DEBUG - VM ctest-vm1-test-80390668 is ready for SSH connections 2025-02-17 02:27:00,894 - 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.42, gateway password: c0ntrail123 2025-02-17 02:27:00,894 - DEBUG - ifconfig | grep 10.10.10.3 2025-02-17 02:27:02,580 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 2025-02-17 02:27:02,580 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:02,580 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)' 2025-02-17 02:27:02,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:02,826 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668 2025-02-17 02:27:03,069 - DEBUG - ping: bad address 'ctest-vm1-test-80390668' 2025-02-17 02:27:03,070 - WARNING - Ping to IP ctest-vm1-test-80390668 from VM ctest-vm1-test-80390668 failed 2025-02-17 02:27:04,071 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:04,071 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)' 2025-02-17 02:27:04,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:04,267 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668 2025-02-17 02:27:04,510 - DEBUG - ping: bad address 'ctest-vm1-test-80390668' 2025-02-17 02:27:04,510 - WARNING - Ping to IP ctest-vm1-test-80390668 from VM ctest-vm1-test-80390668 failed 2025-02-17 02:27:05,512 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:05,512 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)' 2025-02-17 02:27:05,702 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:05,702 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668 2025-02-17 02:27:05,977 - DEBUG - ping: bad address 'ctest-vm1-test-80390668' 2025-02-17 02:27:05,977 - WARNING - Ping to IP ctest-vm1-test-80390668 from VM ctest-vm1-test-80390668 failed 2025-02-17 02:27:06,978 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:06,978 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)' 2025-02-17 02:27:07,171 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:07,171 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668 2025-02-17 02:27:07,418 - DEBUG - ping: bad address 'ctest-vm1-test-80390668' 2025-02-17 02:27:07,418 - WARNING - Ping to IP ctest-vm1-test-80390668 from VM ctest-vm1-test-80390668 failed 2025-02-17 02:27:08,419 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:08,419 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)' 2025-02-17 02:27:08,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:08,599 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668 2025-02-17 02:27:08,851 - DEBUG - ping: bad address 'ctest-vm1-test-80390668' 2025-02-17 02:27:08,851 - WARNING - Ping to IP ctest-vm1-test-80390668 from VM ctest-vm1-test-80390668 failed 2025-02-17 02:27:09,852 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:09,852 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)' 2025-02-17 02:27:10,049 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:10,049 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668 2025-02-17 02:27:10,300 - DEBUG - ping: bad address 'ctest-vm1-test-80390668' 2025-02-17 02:27:10,303 - WARNING - Ping to IP ctest-vm1-test-80390668 from VM ctest-vm1-test-80390668 failed 2025-02-17 02:27:11,304 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:11,304 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)' 2025-02-17 02:27:11,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:11,483 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668 2025-02-17 02:27:11,754 - DEBUG - ping: bad address 'ctest-vm1-test-80390668' 2025-02-17 02:27:11,755 - WARNING - Ping to IP ctest-vm1-test-80390668 from VM ctest-vm1-test-80390668 failed 2025-02-17 02:27:12,756 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:12,756 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)' 2025-02-17 02:27:12,938 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:12,939 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668 2025-02-17 02:27:13,187 - DEBUG - ping: bad address 'ctest-vm1-test-80390668' 2025-02-17 02:27:13,187 - WARNING - Ping to IP ctest-vm1-test-80390668 from VM ctest-vm1-test-80390668 failed 2025-02-17 02:27:14,188 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:14,188 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)' 2025-02-17 02:27:14,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:14,376 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668 2025-02-17 02:27:14,617 - DEBUG - ping: bad address 'ctest-vm1-test-80390668' 2025-02-17 02:27:14,617 - WARNING - Ping to IP ctest-vm1-test-80390668 from VM ctest-vm1-test-80390668 failed 2025-02-17 02:27:15,619 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:15,619 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)' 2025-02-17 02:27:15,814 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:15,814 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668 2025-02-17 02:27:16,086 - DEBUG - ping: bad address 'ctest-vm1-test-80390668' 2025-02-17 02:27:16,086 - WARNING - Ping to IP ctest-vm1-test-80390668 from VM ctest-vm1-test-80390668 failed 2025-02-17 02:27:17,087 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:17,087 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-80390668", None, socket.AF_INET6)' 2025-02-17 02:27:17,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-02-17 02:27:17,277 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-80390668 2025-02-17 02:27:17,575 - DEBUG - ping: bad address 'ctest-vm1-test-80390668' 2025-02-17 02:27:17,575 - WARNING - Ping to IP ctest-vm1-test-80390668 from VM ctest-vm1-test-80390668 failed 2025-02-17 02:27:17,583 - INFO - Deleting VM ctest-vm1-test-80390668 2025-02-17 02:27:17,819 - INFO - Deleting VN ctest-vn1-vdns-99443073 2025-02-17 02:27:17,875 - DEBUG - VN 5566f266-f00a-4c3b-aef8-88d36faf1fc6 still in use: Unable to complete operation on network 5566f266-f00a-4c3b-aef8-88d36faf1fc6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e47dd541-c3e4-4e17-ae4b-249bf89f1aed'] 2025-02-17 02:27:17,875 - WARNING - Deleting VN ctest-vn1-vdns-99443073 failed..Will retry 2025-02-17 02:27:20,135 - DEBUG - Response for deleting network () 2025-02-17 02:27:20,211 - DEBUG - Deleting VDNS Entry: ctest-vdns1-17257040 2025-02-17 02:27:20,333 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-17257040'] deleted successfully. 2025-02-17 02:27:20,333 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-02-17 02:27:20,343 - DEBUG - Requesting: http://10.0.0.56:8082/domain/5380181f-43ee-495b-b284-7033f2a63912 2025-02-17 02:27:20,361 - DEBUG - VDNS information not found in API server 2025-02-17 02:27:20,361 - INFO - VDNS information ctest-vdns1-17257040 removed from the API Server 2025-02-17 02:27:20,368 - INFO - VDNS information ctest-vdns1-17257040 removed in the Control node 2025-02-17 02:27:20,369 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-39239798'] 2025-02-17 02:27:21,646 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Mon Feb 17 02:27:17 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-80390668' msg = 'Ping by using name ctest-vm1-test-80390668 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-80390668 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-80390668 is failed. Dns server should resolve VM name to IP 2025-02-17 02:27:21,662 - DEBUG - No XMPP flaps were noticed during the test 2025-02-17 02:27:21,662 - INFO -
2025-02-17 02:27:21,662 - INFO - END TEST : test_vdns_ping_same_vn : FAILED[0:00:43]
2025-02-17 02:27:21,663 - INFO - -------------------------------------------------------------------------------- 2025-02-17 02:27:22,480 - INFO - Deleted project: ctest-TestvDNSBasic0-39239798, ID : b0df81ae-941b-43de-ad33-c84fa3c485e4