2025-04-15 16:22:06,942 - INFO - Domain Default found not creating
2025-04-15 16:22:07,108 - INFO - Project ctest-TestvDNSBasic0-31164523 not found, creating it
2025-04-15 16:22:07,582 - INFO - Created Project:ctest-TestvDNSBasic0-31164523, ID : 0dbabd46-be72-4ae2-a45a-997525cddd44
2025-04-15 16:22:09,057 - INFO - ================================================================================
2025-04-15 16:22:09,057 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-04-15 16:22:09,057 - 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-04-15 16:22:09,312 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.0.0.65': '0'}} with
2025-04-15 16:22:09,312 - INFO - Initial checks done. Running the testcase now
2025-04-15 16:22:09,313 - INFO -
2025-04-15 16:22:10,015 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-31164523'](0dbabd46-be72-4ae2-a45a-997525cddd44)
2025-04-15 16:22:10,071 - DEBUG - Creating VDNS : ctest-vdns1-38377294
2025-04-15 16:22:10,283 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-38377294'] created succesfully
2025-04-15 16:22:10,283 - DEBUG - Verify VDNS entry is shown in control node
2025-04-15 16:22:10,288 - DEBUG - Verify VDNS entry is shown in the API server
2025-04-15 16:22:10,288 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-04-15 16:22:10,578 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-04-15 16:22:10,605 - DEBUG - Requesting: http://10.0.0.65:8082/domain/29ed20a0-debe-424b-8fd5-2b37b09e2008
2025-04-15 16:22:10,617 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-DNS/2f6c9fae-27c7-4ffc-9e38-d970f98d44b1
2025-04-15 16:22:11,222 - DEBUG - Response for create_network : {'network': {'id': '1b032f15-837a-450f-9189-046a3af63d18', 'name': 'ctest-vn1-vdns-56445569', 'tenant_id': '0dbabd46be724ae2a45a997525cddd44', 'project_id': '0dbabd46be724ae2a45a997525cddd44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-31164523', 'ctest-vn1-vdns-56445569'], 'port_security_enabled': True, 'description': ''}}
2025-04-15 16:22:11,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3afa464-0a7d-4e20-95ab-e454f5b5b788', 'name': '', 'tenant_id': '0dbabd46be724ae2a45a997525cddd44', 'network_id': '1b032f15-837a-450f-9189-046a3af63d18', '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': '0dbabd46be724ae2a45a997525cddd44'}}
2025-04-15 16:22:11,441 - INFO - Created VN ctest-vn1-vdns-56445569
2025-04-15 16:22:11,495 - DEBUG - VN ctest-vn1-vdns-56445569 UUID is 1b032f15-837a-450f-9189-046a3af63d18
2025-04-15 16:22:11,717 - DEBUG - Services list from nova: [, , ]
2025-04-15 16:22:12,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3120-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3120-1)
2025-04-15 16:22:12,767 - INFO - Waiting for VM ctest-vm1-test-19415263 to be up..
2025-04-15 16:22:12,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-15 16:22:17,907 - DEBUG - VM is in ACTIVE state now
2025-04-15 16:22:17,907 - INFO - VM name : ctest-vm1-test-19415263
2025-04-15 16:22:18,004 - DEBUG - VM ctest-vm1-test-19415263 ID is ae8b809c-8bd4-403b-b7df-1095b326a95c
2025-04-15 16:22:18,005 - DEBUG - VM ctest-vm1-test-19415263 launched on Node cn-jenkins-deploy-platform-ansible-os-3120-1.
2025-04-15 16:22:18,088 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ae8b809c-8bd4-403b-b7df-1095b326a95c
2025-04-15 16:22:18,101 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/49b10385-cd29-428d-aef6-52d626d0f470
2025-04-15 16:22:21,362 - 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 1015ms')
2025-04-15 16:22:21,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-19415263 failed!
2025-04-15 16:22:21,419 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-31164523:ctest-vn1-vdns-56445569 is 10.10.10.1 and allocation pool is NOT set
2025-04-15 16:22:23,481 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.98 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.976/4.389/5.803/1.413 ms')
2025-04-15 16:22:23,481 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-19415263 passed
2025-04-15 16:22:23,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 16:22:23,631 - DEBUG - Waiting to SSH to VM ctest-vm1-test-19415263, IP 10.10.10.3, Port 22
2025-04-15 16:22:23,696 - 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-04-15 16:22:23,787 - DEBUG - VM ctest-vm1-test-19415263 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-15 16:22:28,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 16:22:28,788 - DEBUG - Waiting to SSH to VM ctest-vm1-test-19415263, IP 10.10.10.3, Port 22
2025-04-15 16:22:28,952 - DEBUG - VM ctest-vm1-test-19415263 is ready for SSH connections
2025-04-15 16:22:28,952 - 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.65, gateway password: c0ntrail123
2025-04-15 16:22:28,952 - DEBUG - ifconfig | grep 10.10.10.3
2025-04-15 16:22:30,618 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-04-15 16:22:30,618 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:22:30,618 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)'
2025-04-15 16:22:30,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:22:30,871 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263
2025-04-15 16:22:46,135 - DEBUG - ping: bad address 'ctest-vm1-test-19415263'
2025-04-15 16:22:46,136 - WARNING - Ping to IP ctest-vm1-test-19415263 from VM ctest-vm1-test-19415263 failed
2025-04-15 16:22:47,137 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:22:47,137 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)'
2025-04-15 16:22:47,312 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:22:47,312 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263
2025-04-15 16:23:02,571 - DEBUG - ping: bad address 'ctest-vm1-test-19415263'
2025-04-15 16:23:02,571 - WARNING - Ping to IP ctest-vm1-test-19415263 from VM ctest-vm1-test-19415263 failed
2025-04-15 16:23:03,572 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:23:03,572 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)'
2025-04-15 16:23:03,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:23:03,767 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263
2025-04-15 16:23:19,024 - DEBUG - ping: bad address 'ctest-vm1-test-19415263'
2025-04-15 16:23:19,024 - WARNING - Ping to IP ctest-vm1-test-19415263 from VM ctest-vm1-test-19415263 failed
2025-04-15 16:23:20,025 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:23:20,025 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)'
2025-04-15 16:23:20,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:23:20,219 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263
2025-04-15 16:23:35,491 - DEBUG - ping: bad address 'ctest-vm1-test-19415263'
2025-04-15 16:23:35,491 - WARNING - Ping to IP ctest-vm1-test-19415263 from VM ctest-vm1-test-19415263 failed
2025-04-15 16:23:36,492 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:23:36,493 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)'
2025-04-15 16:23:36,694 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:23:36,694 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263
2025-04-15 16:23:51,956 - DEBUG - ping: bad address 'ctest-vm1-test-19415263'
2025-04-15 16:23:51,956 - WARNING - Ping to IP ctest-vm1-test-19415263 from VM ctest-vm1-test-19415263 failed
2025-04-15 16:23:52,957 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:23:52,957 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)'
2025-04-15 16:23:53,155 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:23:53,155 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263
2025-04-15 16:24:08,433 - DEBUG - ping: bad address 'ctest-vm1-test-19415263'
2025-04-15 16:24:08,433 - WARNING - Ping to IP ctest-vm1-test-19415263 from VM ctest-vm1-test-19415263 failed
2025-04-15 16:24:09,438 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:24:09,438 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)'
2025-04-15 16:24:09,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:24:09,661 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263
2025-04-15 16:24:24,950 - DEBUG - ping: bad address 'ctest-vm1-test-19415263'
2025-04-15 16:24:24,950 - WARNING - Ping to IP ctest-vm1-test-19415263 from VM ctest-vm1-test-19415263 failed
2025-04-15 16:24:25,952 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:24:25,952 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)'
2025-04-15 16:24:26,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:24:26,147 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263
2025-04-15 16:24:41,420 - DEBUG - ping: bad address 'ctest-vm1-test-19415263'
2025-04-15 16:24:41,420 - WARNING - Ping to IP ctest-vm1-test-19415263 from VM ctest-vm1-test-19415263 failed
2025-04-15 16:24:42,420 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:24:42,420 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)'
2025-04-15 16:24:42,611 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:24:42,611 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263
2025-04-15 16:24:57,890 - DEBUG - ping: bad address 'ctest-vm1-test-19415263'
2025-04-15 16:24:57,890 - WARNING - Ping to IP ctest-vm1-test-19415263 from VM ctest-vm1-test-19415263 failed
2025-04-15 16:24:58,891 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:24:58,891 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)'
2025-04-15 16:24:59,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:24:59,108 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263
2025-04-15 16:25:14,384 - DEBUG - ping: bad address 'ctest-vm1-test-19415263'
2025-04-15 16:25:14,384 - WARNING - Ping to IP ctest-vm1-test-19415263 from VM ctest-vm1-test-19415263 failed
2025-04-15 16:25:15,385 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:25:15,386 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-19415263", None, socket.AF_INET6)'
2025-04-15 16:25:15,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-04-15 16:25:15,580 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-19415263
2025-04-15 16:25:30,835 - DEBUG - ping: bad address 'ctest-vm1-test-19415263'
2025-04-15 16:25:30,836 - WARNING - Ping to IP ctest-vm1-test-19415263 from VM ctest-vm1-test-19415263 failed
2025-04-15 16:25:30,837 - INFO - Deleting VM ctest-vm1-test-19415263
2025-04-15 16:25:30,909 - INFO - Deleting VN ctest-vn1-vdns-56445569
2025-04-15 16:25:30,951 - DEBUG - VN 1b032f15-837a-450f-9189-046a3af63d18 still in use: Unable to complete operation on network 1b032f15-837a-450f-9189-046a3af63d18. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-75934527-4023-417b-a196-b580a94e840a']
2025-04-15 16:25:30,951 - WARNING - Deleting VN ctest-vn1-vdns-56445569 failed..Will retry
2025-04-15 16:25:33,138 - DEBUG - Response for deleting network ()
2025-04-15 16:25:33,179 - DEBUG - Deleting VDNS Entry: ctest-vdns1-38377294
2025-04-15 16:25:33,251 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-38377294'] deleted successfully.
2025-04-15 16:25:33,251 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-04-15 16:25:33,258 - DEBUG - Requesting: http://10.0.0.65:8082/domain/29ed20a0-debe-424b-8fd5-2b37b09e2008
2025-04-15 16:25:33,270 - DEBUG - VDNS information not found in API server
2025-04-15 16:25:33,270 - INFO - VDNS information ctest-vdns1-38377294 removed from the API Server
2025-04-15 16:25:33,274 - INFO - VDNS information ctest-vdns1-38377294 removed in the Control node
2025-04-15 16:25:33,274 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-31164523']
2025-04-15 16:25:33,522 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Tue Apr 15 16:25:30 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=)
104 msg = "Ping by using name %s is failed. Dns server should resolve VM name to IP" % (
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
self =
self.assertTrue = >
vm_fixture = {'ctest-vm1-test-19415263': }
vm_name = 'ctest-vm1-test-19415263'
.ping_with_certainty undefined
global ip =
msg = 'Ping by using name ctest-vm1-test-19415263 is failed. Dns server should resolve VM name to IP'
/usr/local/lib/python3.9/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-19415263 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 106, in test_vdns_ping_same_vn
self.assertTrue(vm_fixture[vm_name]
File "/usr/local/lib/python3.9/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-19415263 is failed. Dns server should resolve VM name to IP
2025-04-15 16:25:33,528 - DEBUG - No XMPP flaps were noticed during the test
2025-04-15 16:25:33,528 - INFO -
2025-04-15 16:25:33,528 - INFO - END TEST : test_vdns_ping_same_vn : FAILED[0:03:24]
2025-04-15 16:25:33,528 - INFO - --------------------------------------------------------------------------------
2025-04-15 16:25:34,264 - INFO - Deleted project: ctest-TestvDNSBasic0-31164523, ID : 0dbabd46-be72-4ae2-a45a-997525cddd44