2024-08-20 22:45:14,097 - INFO - Domain Default found not creating 2024-08-20 22:45:14,247 - INFO - Project ctest-TestvDNSBasic0-06257915 not found, creating it 2024-08-20 22:45:14,699 - INFO - Created Project:ctest-TestvDNSBasic0-06257915, ID : 9c382a94-3e16-4029-bbb0-4ffcc3f86692 2024-08-20 22:45:16,434 - INFO - ================================================================================ 2024-08-20 22:45:16,434 - INFO - STARTING TEST : test_vdns_ping_same_vn 2024-08-20 22:45:16,434 - 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-20 22:45:16,696 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.5': '0'}} with 2024-08-20 22:45:16,696 - INFO - Initial checks done. Running the testcase now 2024-08-20 22:45:16,696 - INFO - 2024-08-20 22:45:17,387 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-06257915'](9c382a94-3e16-4029-bbb0-4ffcc3f86692) 2024-08-20 22:45:17,446 - DEBUG - Creating VDNS : ctest-vdns1-42305028 2024-08-20 22:45:17,655 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-42305028'] created succesfully 2024-08-20 22:45:17,655 - DEBUG - Verify VDNS entry is shown in control node 2024-08-20 22:45:17,661 - DEBUG - Verify VDNS entry is shown in the API server 2024-08-20 22:45:17,661 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:17,953 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:17,986 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dfdb5dad-f1ac-44f3-a7b6-a5b0c63b14ec 2024-08-20 22:45:18,000 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-DNS/51ab84ee-b912-45f7-be71-dcab1029a3af 2024-08-20 22:45:18,589 - DEBUG - Response for create_network : {'network': {'id': '2c5d2d95-1064-4ca5-81b6-243f8a80be52', 'name': 'ctest-vn1-vdns-07196273', 'tenant_id': '9c382a943e164029bbb04ffcc3f86692', 'project_id': '9c382a943e164029bbb04ffcc3f86692', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-06257915', 'ctest-vn1-vdns-07196273'], 'port_security_enabled': True, 'description': ''}} 2024-08-20 22:45:18,801 - DEBUG - Response for create_subnet : {'subnet': {'id': '73a19539-dd6e-42ad-b025-b44eabf23cb7', 'name': '', 'tenant_id': '9c382a943e164029bbb04ffcc3f86692', 'network_id': '2c5d2d95-1064-4ca5-81b6-243f8a80be52', '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': '9c382a943e164029bbb04ffcc3f86692'}} 2024-08-20 22:45:18,823 - INFO - Created VN ctest-vn1-vdns-07196273 2024-08-20 22:45:18,875 - DEBUG - VN ctest-vn1-vdns-07196273 UUID is 2c5d2d95-1064-4ca5-81b6-243f8a80be52 2024-08-20 22:45:19,135 - DEBUG - Services list from nova: [, , ] 2024-08-20 22:45:20,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1678-1) 2024-08-20 22:45:20,171 - INFO - Waiting for VM ctest-vm1-test-37542584 to be up.. 2024-08-20 22:45:20,210 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-20 22:45:25,261 - DEBUG - VM is in ERROR state now 2024-08-20 22:45:25,262 - ERROR - VM in error state. 2024-08-20 22:45:25,262 - ERROR - VM is not in ACTIVE state 2024-08-20 22:45:25,331 - ERROR - Fatal Nova Exception while getting VM detail 2024-08-20 22:45:25,331 - DEBUG - None 2024-08-20 22:45:25,332 - INFO - Skip interface_detach for VM ctest-vm1-test-37542584 in state ERROR 2024-08-20 22:45:25,332 - INFO - Deleting VM ctest-vm1-test-37542584 2024-08-20 22:45:25,333 - ERROR - VM ctest-vm1-test-37542584 has failed to come up 2024-08-20 22:45:25,333 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2024-08-20T22:45:20Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} 2024-08-20 22:45:25,333 - INFO - Deleting VN ctest-vn1-vdns-07196273 2024-08-20 22:45:25,744 - DEBUG - Response for deleting network () 2024-08-20 22:45:25,777 - DEBUG - Deleting VDNS Entry: ctest-vdns1-42305028 2024-08-20 22:45:25,846 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-42305028'] deleted successfully. 2024-08-20 22:45:25,847 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-20 22:45:25,854 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dfdb5dad-f1ac-44f3-a7b6-a5b0c63b14ec 2024-08-20 22:45:25,868 - DEBUG - VDNS information not found in API server 2024-08-20 22:45:25,868 - INFO - VDNS information ctest-vdns1-42305028 removed from the API Server 2024-08-20 22:45:25,874 - INFO - VDNS information ctest-vdns1-42305028 removed in the Control node 2024-08-20 22:45:25,874 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-06257915'] 2024-08-20 22:45:26,126 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Tue Aug 20 22:45:25 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=) 109 VMFixture(project_name=self.inputs.project_name, connections=self.connections, vn_obj=vn_quantum_obj, vm_name=vm_name,image_name='ubuntu-traffic')) 110 assert vm_fixture[vm_name].wait_till_vm_is_up(), ('VM %s' 111 ' failed to come up' % (vm_name)) 112 vm_ip = vm_fixture[vm_name].get_vm_ip_from_vm( 113 vn_fq_name=vm_fixture[vm_name].vn_fq_name) vm_name = 'ctest-vm1-test-37542584' AssertionError: VM ctest-vm1-test-37542584 failed to come up __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 = ('VM ctest-vm1-test-37542584 failed to come up',) 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 111, in test_vdns_ping_same_vn ' failed to come up' % (vm_name)) AssertionError: VM ctest-vm1-test-37542584 failed to come up 2024-08-20 22:45:26,132 - DEBUG - No XMPP flaps were noticed during the test 2024-08-20 22:45:26,132 - INFO - 2024-08-20 22:45:26,133 - INFO - END TEST : test_vdns_ping_same_vn : FAILED[0:00:10] 2024-08-20 22:45:26,133 - INFO - -------------------------------------------------------------------------------- 2024-08-20 22:45:26,789 - INFO - Deleted project: ctest-TestvDNSBasic0-06257915, ID : 9c382a94-3e16-4029-bbb0-4ffcc3f86692