2024-08-26 22:27:26,031 - INFO - Domain Default found not creating
2024-08-26 22:27:26,206 - INFO - Project ctest-TestvDNSBasic0-31454167 not found, creating it
2024-08-26 22:27:26,673 - INFO - Created Project:ctest-TestvDNSBasic0-31454167, ID : 186354d3-77ca-4f40-9de8-22d9d3a78a93
2024-08-26 22:27:28,297 - INFO - ================================================================================
2024-08-26 22:27:28,297 - INFO - STARTING TEST : test_vdns_ping_same_vn
2024-08-26 22:27:28,298 - 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
2024-08-26 22:27:28,556 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.14': '0'}} with
2024-08-26 22:27:28,556 - INFO - Initial checks done. Running the testcase now
2024-08-26 22:27:28,556 - INFO -
2024-08-26 22:27:29,331 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-31454167'](186354d3-77ca-4f40-9de8-22d9d3a78a93)
2024-08-26 22:27:29,392 - DEBUG - Creating VDNS : ctest-vdns1-21230420
2024-08-26 22:27:29,617 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-21230420'] created succesfully
2024-08-26 22:27:29,617 - DEBUG - Verify VDNS entry is shown in control node
2024-08-26 22:27:29,629 - DEBUG - Verify VDNS entry is shown in the API server
2024-08-26 22:27:29,629 - DEBUG - Requesting: http://10.0.0.29:8082/domains
2024-08-26 22:27:29,922 - DEBUG - Requesting: http://10.0.0.29:8082/domains
2024-08-26 22:27:29,956 - DEBUG - Requesting: http://10.0.0.29:8082/domain/2d81f321-0ba5-446a-b9e6-944050897b55
2024-08-26 22:27:29,973 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-DNS/944d50ba-5796-405c-9b34-b057a9116204
2024-08-26 22:27:31,723 - DEBUG - Response for create_network : {'network': {'id': '11d2a51f-5438-4511-9928-28552b8e627b', 'name': 'ctest-vn1-vdns-85268668', 'tenant_id': '186354d377ca4f409de822d9d3a78a93', 'project_id': '186354d377ca4f409de822d9d3a78a93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-31454167', 'ctest-vn1-vdns-85268668'], 'port_security_enabled': True, 'description': ''}}
2024-08-26 22:27:32,741 - DEBUG - Response for create_subnet : {'subnet': {'id': '663f0865-0b05-4a8f-8e86-a52f43e38a46', 'name': '', 'tenant_id': '186354d377ca4f409de822d9d3a78a93', 'network_id': '11d2a51f-5438-4511-9928-28552b8e627b', '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': '186354d377ca4f409de822d9d3a78a93'}}
2024-08-26 22:27:32,763 - INFO - Created VN ctest-vn1-vdns-85268668
2024-08-26 22:27:32,817 - DEBUG - VN ctest-vn1-vdns-85268668 UUID is 11d2a51f-5438-4511-9928-28552b8e627b
2024-08-26 22:27:33,039 - DEBUG - Services list from nova: [, , ]
2024-08-26 22:27:34,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1776-1)
2024-08-26 22:27:34,107 - INFO - Waiting for VM ctest-vm1-test-96702067 to be up..
2024-08-26 22:27:34,149 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-08-26 22:27:39,242 - DEBUG - VM is in ACTIVE state now
2024-08-26 22:27:39,242 - INFO - VM name : ctest-vm1-test-96702067
2024-08-26 22:27:39,320 - DEBUG - VM ctest-vm1-test-96702067 ID is d96e5894-6861-4115-b7ff-0ea03a1c2925
2024-08-26 22:27:39,321 - DEBUG - VM ctest-vm1-test-96702067 launched on Node cn-jenkins-deploy-platform-ansible-os-1776-1
2024-08-26 22:27:39,400 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d96e5894-6861-4115-b7ff-0ea03a1c2925
2024-08-26 22:27:39,409 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/eaf4e4d4-80a2-4b97-8083-8a268456d8cd
2024-08-26 22:27:42,676 - 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 1027ms')
2024-08-26 22:27:42,676 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96702067 failed!
2024-08-26 22:27:42,732 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31454167:ctest-vn1-vdns-85268668 is 10.10.10.1 and allocation pool is NOT set
2024-08-26 22:27:44,789 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.276 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.276/4.286/8.296/4.010 ms')
2024-08-26 22:27:44,790 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-96702067 passed
2024-08-26 22:27:44,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-26 22:27:44,941 - DEBUG - Waiting to SSH to VM ctest-vm1-test-96702067, IP 10.10.10.3, Port 22
2024-08-26 22:27:44,997 - 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': ''}
2024-08-26 22:27:45,085 - DEBUG - VM ctest-vm1-test-96702067 is NOT ready for SSH connections, VM status: ACTIVE
2024-08-26 22:27:50,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-26 22:27:50,086 - DEBUG - Waiting to SSH to VM ctest-vm1-test-96702067, IP 10.10.10.3, Port 22
2024-08-26 22:27:50,244 - DEBUG - VM ctest-vm1-test-96702067 is ready for SSH connections
2024-08-26 22:27:50,244 - 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.29, gateway password: c0ntrail123
2024-08-26 22:27:50,244 - DEBUG - ifconfig | grep 10.10.10.3
2024-08-26 22:27:51,925 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2024-08-26 22:27:51,926 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:51,926 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)'
2024-08-26 22:27:52,177 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:52,177 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067
2024-08-26 22:27:52,425 - DEBUG - ping: bad address 'ctest-vm1-test-96702067'
2024-08-26 22:27:52,425 - WARNING - Ping to IP ctest-vm1-test-96702067 from VM ctest-vm1-test-96702067 failed
2024-08-26 22:27:53,426 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:53,426 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)'
2024-08-26 22:27:53,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:53,610 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067
2024-08-26 22:27:53,850 - DEBUG - ping: bad address 'ctest-vm1-test-96702067'
2024-08-26 22:27:53,850 - WARNING - Ping to IP ctest-vm1-test-96702067 from VM ctest-vm1-test-96702067 failed
2024-08-26 22:27:54,851 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:54,851 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)'
2024-08-26 22:27:55,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:55,050 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067
2024-08-26 22:27:55,298 - DEBUG - ping: bad address 'ctest-vm1-test-96702067'
2024-08-26 22:27:55,299 - WARNING - Ping to IP ctest-vm1-test-96702067 from VM ctest-vm1-test-96702067 failed
2024-08-26 22:27:56,299 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:56,299 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)'
2024-08-26 22:27:56,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:56,486 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067
2024-08-26 22:27:56,734 - DEBUG - ping: bad address 'ctest-vm1-test-96702067'
2024-08-26 22:27:56,734 - WARNING - Ping to IP ctest-vm1-test-96702067 from VM ctest-vm1-test-96702067 failed
2024-08-26 22:27:57,735 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:57,735 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)'
2024-08-26 22:27:57,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:57,922 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067
2024-08-26 22:27:58,175 - DEBUG - ping: bad address 'ctest-vm1-test-96702067'
2024-08-26 22:27:58,176 - WARNING - Ping to IP ctest-vm1-test-96702067 from VM ctest-vm1-test-96702067 failed
2024-08-26 22:27:59,177 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:59,177 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)'
2024-08-26 22:27:59,373 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:27:59,373 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067
2024-08-26 22:27:59,632 - DEBUG - ping: bad address 'ctest-vm1-test-96702067'
2024-08-26 22:27:59,632 - WARNING - Ping to IP ctest-vm1-test-96702067 from VM ctest-vm1-test-96702067 failed
2024-08-26 22:28:00,633 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:28:00,633 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)'
2024-08-26 22:28:00,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:28:00,822 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067
2024-08-26 22:28:01,102 - DEBUG - ping: bad address 'ctest-vm1-test-96702067'
2024-08-26 22:28:01,102 - WARNING - Ping to IP ctest-vm1-test-96702067 from VM ctest-vm1-test-96702067 failed
2024-08-26 22:28:02,103 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:28:02,104 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)'
2024-08-26 22:28:02,290 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:28:02,290 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067
2024-08-26 22:28:02,538 - DEBUG - ping: bad address 'ctest-vm1-test-96702067'
2024-08-26 22:28:02,539 - WARNING - Ping to IP ctest-vm1-test-96702067 from VM ctest-vm1-test-96702067 failed
2024-08-26 22:28:03,539 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:28:03,540 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)'
2024-08-26 22:28:03,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:28:03,726 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067
2024-08-26 22:28:03,975 - DEBUG - ping: bad address 'ctest-vm1-test-96702067'
2024-08-26 22:28:03,975 - WARNING - Ping to IP ctest-vm1-test-96702067 from VM ctest-vm1-test-96702067 failed
2024-08-26 22:28:04,976 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:28:04,976 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)'
2024-08-26 22:28:05,194 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:28:05,194 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067
2024-08-26 22:28:05,463 - DEBUG - ping: bad address 'ctest-vm1-test-96702067'
2024-08-26 22:28:05,464 - WARNING - Ping to IP ctest-vm1-test-96702067 from VM ctest-vm1-test-96702067 failed
2024-08-26 22:28:06,464 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:28:06,464 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-96702067", None, socket.AF_INET6)'
2024-08-26 22:28:06,649 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-08-26 22:28:06,649 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-96702067
2024-08-26 22:28:06,921 - DEBUG - ping: bad address 'ctest-vm1-test-96702067'
2024-08-26 22:28:06,921 - WARNING - Ping to IP ctest-vm1-test-96702067 from VM ctest-vm1-test-96702067 failed
2024-08-26 22:28:06,928 - INFO - Deleting VM ctest-vm1-test-96702067
2024-08-26 22:28:06,996 - INFO - Deleting VN ctest-vn1-vdns-85268668
2024-08-26 22:28:07,039 - DEBUG - VN 11d2a51f-5438-4511-9928-28552b8e627b still in use: Unable to complete operation on network 11d2a51f-5438-4511-9928-28552b8e627b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2eb67b8e-6158-496a-bbf7-6a1de0b72b19']
2024-08-26 22:28:07,039 - WARNING - Deleting VN ctest-vn1-vdns-85268668 failed..Will retry
2024-08-26 22:28:09,244 - DEBUG - Response for deleting network ()
2024-08-26 22:28:09,277 - DEBUG - Deleting VDNS Entry: ctest-vdns1-21230420
2024-08-26 22:28:09,352 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-21230420'] deleted successfully.
2024-08-26 22:28:09,352 - DEBUG - Requesting: http://10.0.0.29:8082/domains
2024-08-26 22:28:09,359 - DEBUG - Requesting: http://10.0.0.29:8082/domain/2d81f321-0ba5-446a-b9e6-944050897b55
2024-08-26 22:28:09,373 - DEBUG - VDNS information not found in API server
2024-08-26 22:28:09,373 - INFO - VDNS information ctest-vdns1-21230420 removed from the API Server
2024-08-26 22:28:09,380 - INFO - VDNS information ctest-vdns1-21230420 removed in the Control node
2024-08-26 22:28:09,380 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-31454167']
2024-08-26 22:28:09,629 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Mon Aug 26 22:28:06 2024
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={})
79 log.info('Initial checks done. Running the testcase now')
80 log.info('')
81 result = function(self, *args, **kwargs)
82 if self.inputs.upgrade:
83 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/vdns/test_vdns_basic.py in test_vdns_ping_same_vn(self=)
119 vm_name)
120 self.assertTrue(vm_fixture[vm_name]
121 .ping_with_certainty(ip=vm_name), msg)
122 # Frame the Expected DNS data for VM, one for 'A' record and
123 # another 'PTR' record.
global ip =
vm_name = 'ctest-vm1-test-96702067'
msg = 'Ping by using name ctest-vm1-test-96702067 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-96702067 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 81, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/vdns/test_vdns_basic.py", line 121, 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-96702067 is failed. Dns server should resolve VM name to IP
2024-08-26 22:28:09,635 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 22:28:09,635 - INFO -
2024-08-26 22:28:09,635 - INFO - END TEST : test_vdns_ping_same_vn : FAILED[0:00:41]
2024-08-26 22:28:09,636 - INFO - --------------------------------------------------------------------------------
2024-08-26 22:28:10,316 - INFO - Deleted project: ctest-TestvDNSBasic0-31454167, ID : 186354d3-77ca-4f40-9de8-22d9d3a78a93