2025-11-05 08:35:06,529 - INFO - Domain Default found not creating 2025-11-05 08:35:06,709 - INFO - Project ctest-TestRP-49021292 not found, creating it 2025-11-05 08:35:07,225 - INFO - Created Project:ctest-TestRP-49021292, ID : dae3976c-7d33-42f8-939f-e70eddc5d213 2025-11-05 08:35:09,006 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:35:09,006 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4634-1']} 2025-11-05 08:35:09,009 - INFO - ================================================================================ 2025-11-05 08:35:09,009 - INFO - STARTING TEST : test_rp_interface 2025-11-05 08:35:09,009 - INFO - TEST DESCRIPTION : 1. Create a routing policy with interface match. 2. Launch VMs. 3. Attach policy to VN and confirm if policy takes hold. 2025-11-05 08:35:09,266 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.129': '0'}} with 2025-11-05 08:35:09,266 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:35:09,266 - INFO - 2025-11-05 08:35:09,848 - DEBUG - Response for create_network : {'network': {'id': '53a62c84-2005-42e7-b283-31cdce2b4a67', 'name': 'ctest-bgpaas_vn-99197143', 'tenant_id': 'dae3976c7d3342f8939fe70eddc5d213', 'project_id': 'dae3976c7d3342f8939fe70eddc5d213', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-49021292', 'ctest-bgpaas_vn-99197143'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:35:10,066 - DEBUG - Response for create_subnet : {'subnet': {'id': '77785850-3126-483f-b98a-d344235dd056', 'name': '', 'tenant_id': 'dae3976c7d3342f8939fe70eddc5d213', 'network_id': '53a62c84-2005-42e7-b283-31cdce2b4a67', 'ip_version': 4, 'cidr': '136.135.247.192/26', 'allocation_pools': [{'start': '136.135.247.194', 'end': '136.135.247.254'}], 'gateway_ip': '136.135.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.135.247.194', 'tags': [], 'project_id': 'dae3976c7d3342f8939fe70eddc5d213'}} 2025-11-05 08:35:10,087 - INFO - Created VN ctest-bgpaas_vn-99197143 2025-11-05 08:35:10,141 - DEBUG - VN ctest-bgpaas_vn-99197143 UUID is 53a62c84-2005-42e7-b283-31cdce2b4a67 2025-11-05 08:35:10,640 - DEBUG - Response for create_network : {'network': {'id': '919bf139-c1cb-450e-82bd-089f26a0d1a3', 'name': 'ctest-bgpaas_vn-60389430', 'tenant_id': 'dae3976c7d3342f8939fe70eddc5d213', 'project_id': 'dae3976c7d3342f8939fe70eddc5d213', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-49021292', 'ctest-bgpaas_vn-60389430'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:35:10,842 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c8d41b5-1058-40d6-9016-631025c548e4', 'name': '', 'tenant_id': 'dae3976c7d3342f8939fe70eddc5d213', 'network_id': '919bf139-c1cb-450e-82bd-089f26a0d1a3', 'ip_version': 4, 'cidr': '190.243.43.128/26', 'allocation_pools': [{'start': '190.243.43.130', 'end': '190.243.43.190'}], 'gateway_ip': '190.243.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.243.43.130', 'tags': [], 'project_id': 'dae3976c7d3342f8939fe70eddc5d213'}} 2025-11-05 08:35:10,861 - INFO - Created VN ctest-bgpaas_vn-60389430 2025-11-05 08:35:10,917 - DEBUG - VN ctest-bgpaas_vn-60389430 UUID is 919bf139-c1cb-450e-82bd-089f26a0d1a3 2025-11-05 08:35:12,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4634-1) 2025-11-05 08:35:13,935 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4634-1) 2025-11-05 08:35:13,935 - INFO - Waiting for VM test_vm to be up.. 2025-11-05 08:35:13,996 - DEBUG - VM is in ERROR state now 2025-11-05 08:35:13,997 - ERROR - VM in error state. 2025-11-05 08:35:13,997 - ERROR - VM is not in ACTIVE state 2025-11-05 08:35:14,087 - ERROR - Fatal Nova Exception while getting VM detail 2025-11-05 08:35:14,087 - DEBUG - None 2025-11-05 08:35:14,089 - INFO - Skip interface_detach for VM test2_vm in state BUILD 2025-11-05 08:35:14,089 - INFO - Deleting VM test2_vm 2025-11-05 08:35:14,111 - ERROR - VM test2_vm has failed to come up 2025-11-05 08:35:14,111 - ERROR - Nova failed to get host of the VM 2025-11-05 08:35:14,314 - INFO - Skip interface_detach for VM test_vm in state ERROR 2025-11-05 08:35:14,314 - INFO - Deleting VM test_vm 2025-11-05 08:35:14,314 - ERROR - VM test_vm has failed to come up 2025-11-05 08:35:14,314 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-11-05T08:35:12Z', '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'} 2025-11-05 08:35:14,314 - INFO - Deleting VN ctest-bgpaas_vn-60389430 2025-11-05 08:35:14,414 - DEBUG - Response for deleting network () 2025-11-05 08:35:14,414 - INFO - Deleting VN ctest-bgpaas_vn-99197143 2025-11-05 08:35:14,524 - DEBUG - Response for deleting network () 2025-11-05 08:35:14,792 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Wed Nov 5 08:35:14 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/routing_policy/test_routing_policy.py in test_rp_interface(self=) 38 3. Attach policy to VN and confirm if policy takes hold. 39 ''' 40 ret_dict = self.config_basic() 41 vn_fixture = ret_dict['vn_fixture'] 42 test_vm = ret_dict['test_vm'] ret_dict undefined self = self.config_basic = > /contrail-test/scripts/routing_policy/base.py in config_basic(self=) 43 image_name='cirros') 44 test2_vm = self.create_vm(vn2_fixture, 'test2_vm', image_name='cirros') 45 assert test_vm.wait_till_vm_is_up() 46 assert test2_vm.wait_till_vm_is_up() 47 test_vm = test_vm.wait_till_vm_is_up = > AssertionError: __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 = () 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/routing_policy/test_routing_policy.py", line 40, in test_rp_interface ret_dict = self.config_basic() File "/contrail-test/scripts/routing_policy/base.py", line 45, in config_basic assert test_vm.wait_till_vm_is_up() AssertionError 2025-11-05 08:35:14,798 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:35:14,799 - INFO - 2025-11-05 08:35:14,799 - INFO - END TEST : test_rp_interface : FAILED[0:00:05] 2025-11-05 08:35:14,799 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:35:15,573 - INFO - Deleted project: ctest-TestRP-49021292, ID : dae3976c-7d33-42f8-939f-e70eddc5d213