2025-11-13 13:17:24,460 - INFO - Domain Default found not creating 2025-11-13 13:17:24,596 - INFO - Project ctest-TestRP-97992825 not found, creating it 2025-11-13 13:17:25,027 - INFO - Created Project:ctest-TestRP-97992825, ID : 0c433731-f9e8-4e04-8524-5571e44d055b 2025-11-13 13:17:26,454 - DEBUG - Services list from nova: [, , ] 2025-11-13 13:17:26,454 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4722-1']} 2025-11-13 13:17:26,456 - INFO - ================================================================================ 2025-11-13 13:17:26,457 - INFO - STARTING TEST : test_rp_interface 2025-11-13 13:17:26,457 - 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-13 13:17:26,709 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-11-13 13:17:26,709 - INFO - Initial checks done. Running the testcase now 2025-11-13 13:17:26,709 - INFO - 2025-11-13 13:17:27,225 - DEBUG - Response for create_network : {'network': {'id': '50008391-3cb1-4169-aa13-81fa61e71c76', 'name': 'ctest-bgpaas_vn-69864413', 'tenant_id': '0c433731f9e84e0485245571e44d055b', 'project_id': '0c433731f9e84e0485245571e44d055b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-97992825', 'ctest-bgpaas_vn-69864413'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 13:17:27,430 - DEBUG - Response for create_subnet : {'subnet': {'id': '164c38a3-a299-4658-a796-e2fdc8aefc12', 'name': '', 'tenant_id': '0c433731f9e84e0485245571e44d055b', 'network_id': '50008391-3cb1-4169-aa13-81fa61e71c76', 'ip_version': 4, 'cidr': '173.246.132.64/26', 'allocation_pools': [{'start': '173.246.132.66', 'end': '173.246.132.126'}], 'gateway_ip': '173.246.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.246.132.66', 'tags': [], 'project_id': '0c433731f9e84e0485245571e44d055b'}} 2025-11-13 13:17:27,447 - INFO - Created VN ctest-bgpaas_vn-69864413 2025-11-13 13:17:27,496 - DEBUG - VN ctest-bgpaas_vn-69864413 UUID is 50008391-3cb1-4169-aa13-81fa61e71c76 2025-11-13 13:17:27,973 - DEBUG - Response for create_network : {'network': {'id': '8af545d6-5617-4687-aefe-2d6530ab2fdb', 'name': 'ctest-bgpaas_vn-37315988', 'tenant_id': '0c433731f9e84e0485245571e44d055b', 'project_id': '0c433731f9e84e0485245571e44d055b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-97992825', 'ctest-bgpaas_vn-37315988'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 13:17:28,209 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c20b14d-1e7d-4d73-9a60-616ead242a8c', 'name': '', 'tenant_id': '0c433731f9e84e0485245571e44d055b', 'network_id': '8af545d6-5617-4687-aefe-2d6530ab2fdb', 'ip_version': 4, 'cidr': '163.201.238.128/26', 'allocation_pools': [{'start': '163.201.238.130', 'end': '163.201.238.190'}], 'gateway_ip': '163.201.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.201.238.130', 'tags': [], 'project_id': '0c433731f9e84e0485245571e44d055b'}} 2025-11-13 13:17:28,225 - INFO - Created VN ctest-bgpaas_vn-37315988 2025-11-13 13:17:28,276 - DEBUG - VN ctest-bgpaas_vn-37315988 UUID is 8af545d6-5617-4687-aefe-2d6530ab2fdb 2025-11-13 13:17:29,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1) 2025-11-13 13:17:30,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1) 2025-11-13 13:17:30,677 - INFO - Waiting for VM test_vm to be up.. 2025-11-13 13:17:30,840 - DEBUG - VM is in ERROR state now 2025-11-13 13:17:30,840 - ERROR - VM in error state. 2025-11-13 13:17:30,840 - ERROR - VM is not in ACTIVE state 2025-11-13 13:17:30,930 - ERROR - Fatal Nova Exception while getting VM detail 2025-11-13 13:17:30,930 - DEBUG - None 2025-11-13 13:17:30,935 - INFO - Skip interface_detach for VM test2_vm in state BUILD 2025-11-13 13:17:30,935 - INFO - Deleting VM test2_vm 2025-11-13 13:17:30,955 - ERROR - VM test2_vm has failed to come up 2025-11-13 13:17:30,955 - ERROR - Nova failed to get host of the VM 2025-11-13 13:17:31,167 - INFO - Skip interface_detach for VM test_vm in state ERROR 2025-11-13 13:17:31,167 - INFO - Deleting VM test_vm 2025-11-13 13:17:31,167 - ERROR - VM test_vm has failed to come up 2025-11-13 13:17:31,167 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-11-13T13:17:29Z', '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-13 13:17:31,168 - INFO - Deleting VN ctest-bgpaas_vn-37315988 2025-11-13 13:17:31,273 - DEBUG - Response for deleting network () 2025-11-13 13:17:31,273 - INFO - Deleting VN ctest-bgpaas_vn-69864413 2025-11-13 13:17:31,363 - DEBUG - Response for deleting network () 2025-11-13 13:17:31,615 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Thu Nov 13 13:17: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/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-13 13:17:31,620 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 13:17:31,620 - INFO - 2025-11-13 13:17:31,620 - INFO - END TEST : test_rp_interface : FAILED[0:00:05] 2025-11-13 13:17:31,620 - INFO - -------------------------------------------------------------------------------- 2025-11-13 13:17:32,277 - INFO - Deleted project: ctest-TestRP-97992825, ID : 0c433731-f9e8-4e04-8524-5571e44d055b