2025-01-27 02:37:26,212 - INFO - Domain Default found not creating
2025-01-27 02:37:26,377 - INFO - Project ctest-TestvDNSBasic0-47754074 not found, creating it
2025-01-27 02:37:26,924 - INFO - Created Project:ctest-TestvDNSBasic0-47754074, ID : 7cf93437-383c-40b7-bc89-235bce0f62e7
2025-01-27 02:37:28,482 - INFO - ================================================================================
2025-01-27 02:37:28,482 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-01-27 02:37:28,482 - 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-27 02:37:29,765 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.8': '0', '10.20.0.13': '0'}, '10.0.0.43': {'10.20.0.8': '0', '10.20.0.13': '0'}} with
2025-01-27 02:37:29,765 - INFO - Initial checks done. Running the testcase now
2025-01-27 02:37:29,765 - INFO -
2025-01-27 02:37:30,509 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-47754074'](7cf93437-383c-40b7-bc89-235bce0f62e7)
2025-01-27 02:37:30,570 - DEBUG - Creating VDNS : ctest-vdns1-12946500
2025-01-27 02:37:30,806 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-12946500'] created succesfully
2025-01-27 02:37:30,806 - DEBUG - Verify VDNS entry is shown in control node
2025-01-27 02:37:30,826 - DEBUG - Verify VDNS entry is shown in the API server
2025-01-27 02:37:30,826 - DEBUG - Requesting: http://10.0.0.37:8082/domains
2025-01-27 02:37:31,131 - DEBUG - Requesting: http://10.0.0.37:8082/domains
2025-01-27 02:37:31,172 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9f6bcc6d-d9b0-4847-910a-1781c72618e1
2025-01-27 02:37:31,191 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-DNS/a00e9977-6b1f-4a3b-9e6f-9755896d7f8f
2025-01-27 02:37:31,961 - DEBUG - Response for create_network : {'network': {'id': '30aa43d4-da2f-4f3b-81e6-32a2c9bb82ed', 'name': 'ctest-vn1-vdns-60767935', 'tenant_id': '7cf93437383c40b7bc89235bce0f62e7', 'project_id': '7cf93437383c40b7bc89235bce0f62e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-47754074', 'ctest-vn1-vdns-60767935'], 'port_security_enabled': True, 'description': ''}}
2025-01-27 02:37:32,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ebd2c42-8af8-4ce8-8163-27d02e477047', 'name': '', 'tenant_id': '7cf93437383c40b7bc89235bce0f62e7', 'network_id': '30aa43d4-da2f-4f3b-81e6-32a2c9bb82ed', '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': '7cf93437383c40b7bc89235bce0f62e7'}}
2025-01-27 02:37:32,295 - INFO - Created VN ctest-vn1-vdns-60767935
2025-01-27 02:37:32,312 - DEBUG - VN ctest-vn1-vdns-60767935 UUID is 30aa43d4-da2f-4f3b-81e6-32a2c9bb82ed
2025-01-27 02:37:32,516 - DEBUG - Services list from nova: [, , , ]
2025-01-27 02:37:33,555 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2660-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2660-2)
2025-01-27 02:37:33,555 - INFO - Waiting for VM ctest-vm1-test-88728585 to be up..
2025-01-27 02:37:33,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-27 02:37:38,873 - DEBUG - VM is in ACTIVE state now
2025-01-27 02:37:38,874 - INFO - VM name : ctest-vm1-test-88728585
2025-01-27 02:37:38,992 - DEBUG - VM ctest-vm1-test-88728585 ID is 2a4bafd7-4181-47a6-9a82-408895a2be9e
2025-01-27 02:37:38,992 - DEBUG - VM ctest-vm1-test-88728585 launched on Node an-jenkins-deploy-platform-ansible-os-2660-2
2025-01-27 02:37:39,098 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2a4bafd7-4181-47a6-9a82-408895a2be9e
2025-01-27 02:37:39,402 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2a4bafd7-4181-47a6-9a82-408895a2be9e
2025-01-27 02:37:39,435 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0c1d7945-e6ed-47a1-953f-c532a4c37825
2025-01-27 02:37:42,675 - 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 1013ms')
2025-01-27 02:37:42,675 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-88728585 failed!
2025-01-27 02:37:42,692 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-47754074:ctest-vn1-vdns-60767935 is 10.10.10.1 and allocation pool is NOT set
2025-01-27 02:37:44,761 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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 = 1.218/5.981/10.745/4.763 ms')
2025-01-27 02:37:44,761 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-88728585 passed
2025-01-27 02:37:44,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 02:37:44,875 - DEBUG - Waiting to SSH to VM ctest-vm1-test-88728585, IP 10.10.10.3, Port 22
2025-01-27 02:37:44,943 - 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-27 02:37:45,046 - DEBUG - VM ctest-vm1-test-88728585 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-27 02:37:50,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-27 02:37:50,047 - DEBUG - Waiting to SSH to VM ctest-vm1-test-88728585, IP 10.10.10.3, Port 22
2025-01-27 02:37:50,219 - DEBUG - VM ctest-vm1-test-88728585 is ready for SSH connections
2025-01-27 02:37:50,219 - 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.43, gateway password: c0ntrail123
2025-01-27 02:37:50,220 - DEBUG - ifconfig | grep 10.10.10.3
2025-01-27 02:37:51,903 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2025-01-27 02:37:51,904 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:51,904 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)'
2025-01-27 02:37:52,160 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:52,161 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585
2025-01-27 02:37:52,420 - DEBUG - ping: bad address 'ctest-vm1-test-88728585'
2025-01-27 02:37:52,420 - WARNING - Ping to IP ctest-vm1-test-88728585 from VM ctest-vm1-test-88728585 failed
2025-01-27 02:37:53,421 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:53,421 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)'
2025-01-27 02:37:53,663 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:53,663 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585
2025-01-27 02:37:53,923 - DEBUG - ping: bad address 'ctest-vm1-test-88728585'
2025-01-27 02:37:53,924 - WARNING - Ping to IP ctest-vm1-test-88728585 from VM ctest-vm1-test-88728585 failed
2025-01-27 02:37:54,924 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:54,925 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)'
2025-01-27 02:37:55,127 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:55,127 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585
2025-01-27 02:37:55,386 - DEBUG - ping: bad address 'ctest-vm1-test-88728585'
2025-01-27 02:37:55,386 - WARNING - Ping to IP ctest-vm1-test-88728585 from VM ctest-vm1-test-88728585 failed
2025-01-27 02:37:56,388 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:56,388 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)'
2025-01-27 02:37:56,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:56,610 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585
2025-01-27 02:37:56,872 - DEBUG - ping: bad address 'ctest-vm1-test-88728585'
2025-01-27 02:37:56,872 - WARNING - Ping to IP ctest-vm1-test-88728585 from VM ctest-vm1-test-88728585 failed
2025-01-27 02:37:57,873 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:57,873 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)'
2025-01-27 02:37:58,069 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:58,069 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585
2025-01-27 02:37:58,336 - DEBUG - ping: bad address 'ctest-vm1-test-88728585'
2025-01-27 02:37:58,336 - WARNING - Ping to IP ctest-vm1-test-88728585 from VM ctest-vm1-test-88728585 failed
2025-01-27 02:37:59,337 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:59,337 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)'
2025-01-27 02:37:59,548 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:37:59,549 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585
2025-01-27 02:37:59,867 - DEBUG - ping: bad address 'ctest-vm1-test-88728585'
2025-01-27 02:37:59,867 - WARNING - Ping to IP ctest-vm1-test-88728585 from VM ctest-vm1-test-88728585 failed
2025-01-27 02:38:00,868 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:38:00,868 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)'
2025-01-27 02:38:01,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:38:01,056 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585
2025-01-27 02:38:01,345 - DEBUG - ping: bad address 'ctest-vm1-test-88728585'
2025-01-27 02:38:01,346 - WARNING - Ping to IP ctest-vm1-test-88728585 from VM ctest-vm1-test-88728585 failed
2025-01-27 02:38:02,347 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:38:02,347 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)'
2025-01-27 02:38:02,561 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:38:02,562 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585
2025-01-27 02:38:02,842 - DEBUG - ping: bad address 'ctest-vm1-test-88728585'
2025-01-27 02:38:02,842 - WARNING - Ping to IP ctest-vm1-test-88728585 from VM ctest-vm1-test-88728585 failed
2025-01-27 02:38:03,843 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:38:03,843 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)'
2025-01-27 02:38:04,045 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:38:04,045 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585
2025-01-27 02:38:04,303 - DEBUG - ping: bad address 'ctest-vm1-test-88728585'
2025-01-27 02:38:04,303 - WARNING - Ping to IP ctest-vm1-test-88728585 from VM ctest-vm1-test-88728585 failed
2025-01-27 02:38:05,304 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:38:05,304 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)'
2025-01-27 02:38:05,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:38:05,558 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585
2025-01-27 02:38:05,819 - DEBUG - ping: bad address 'ctest-vm1-test-88728585'
2025-01-27 02:38:05,819 - WARNING - Ping to IP ctest-vm1-test-88728585 from VM ctest-vm1-test-88728585 failed
2025-01-27 02:38:06,819 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:38:06,820 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-88728585", None, socket.AF_INET6)'
2025-01-27 02:38:07,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123
2025-01-27 02:38:07,059 - DEBUG - ping -s 56 -c 3 -W 1 ctest-vm1-test-88728585
2025-01-27 02:38:07,372 - DEBUG - ping: bad address 'ctest-vm1-test-88728585'
2025-01-27 02:38:07,372 - WARNING - Ping to IP ctest-vm1-test-88728585 from VM ctest-vm1-test-88728585 failed
2025-01-27 02:38:07,380 - INFO - Deleting VM ctest-vm1-test-88728585
2025-01-27 02:38:07,457 - INFO - Deleting VN ctest-vn1-vdns-60767935
2025-01-27 02:38:07,510 - DEBUG - VN 30aa43d4-da2f-4f3b-81e6-32a2c9bb82ed still in use: Unable to complete operation on network 30aa43d4-da2f-4f3b-81e6-32a2c9bb82ed. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-65921e1b-76a8-4c1e-8256-86a345aab257']
2025-01-27 02:38:07,510 - WARNING - Deleting VN ctest-vn1-vdns-60767935 failed..Will retry
2025-01-27 02:38:09,744 - DEBUG - Response for deleting network ()
2025-01-27 02:38:09,801 - DEBUG - Deleting VDNS Entry: ctest-vdns1-12946500
2025-01-27 02:38:09,938 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-12946500'] deleted successfully.
2025-01-27 02:38:09,938 - DEBUG - Requesting: http://10.0.0.37:8082/domains
2025-01-27 02:38:09,949 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9f6bcc6d-d9b0-4847-910a-1781c72618e1
2025-01-27 02:38:09,967 - DEBUG - VDNS information not found in API server
2025-01-27 02:38:09,967 - INFO - VDNS information ctest-vdns1-12946500 removed from the API Server
2025-01-27 02:38:09,976 - INFO - VDNS information ctest-vdns1-12946500 removed in the Control node
2025-01-27 02:38:09,976 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-47754074']
2025-01-27 02:38:11,480 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Mon Jan 27 02:38:07 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-88728585'
msg = 'Ping by using name ctest-vm1-test-88728585 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-88728585 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-88728585 is failed. Dns server should resolve VM name to IP
2025-01-27 02:38:11,497 - DEBUG - No XMPP flaps were noticed during the test
2025-01-27 02:38:11,497 - INFO -
2025-01-27 02:38:11,497 - INFO - END TEST : test_vdns_ping_same_vn : FAILED[0:00:43]
2025-01-27 02:38:11,497 - INFO - --------------------------------------------------------------------------------
2025-01-27 02:38:12,278 - INFO - Deleted project: ctest-TestvDNSBasic0-47754074, ID : 7cf93437-383c-40b7-bc89-235bce0f62e7