2025-12-11 12:17:22,373 - INFO - Domain Default found not creating
2025-12-11 12:17:22,540 - INFO - Project ctest-TestRP-49761703 not found, creating it
2025-12-11 12:17:23,036 - INFO - Created Project:ctest-TestRP-49761703, ID : efc25d8f-57bb-48d8-8133-cdc9f609c3c6
2025-12-11 12:17:24,570 - DEBUG - Services list from nova: [, , ]
2025-12-11 12:17:24,570 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4885-1']}
2025-12-11 12:17:24,573 - INFO - ================================================================================
2025-12-11 12:17:24,573 - INFO - STARTING TEST : test_rp_interface
2025-12-11 12:17:24,573 - 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-12-11 12:17:24,827 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-11 12:17:24,827 - INFO - Initial checks done. Running the testcase now
2025-12-11 12:17:24,827 - INFO -
2025-12-11 12:17:25,397 - DEBUG - Response for create_network : {'network': {'id': 'dd4218ff-ee08-4691-87f3-aea52ff7f039', 'name': 'ctest-bgpaas_vn-74270961', 'tenant_id': 'efc25d8f57bb48d88133cdc9f609c3c6', 'project_id': 'efc25d8f57bb48d88133cdc9f609c3c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-49761703', 'ctest-bgpaas_vn-74270961'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 12:17:25,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '65708015-b644-4fc9-bfba-9b7bc6f31f83', 'name': '', 'tenant_id': 'efc25d8f57bb48d88133cdc9f609c3c6', 'network_id': 'dd4218ff-ee08-4691-87f3-aea52ff7f039', 'ip_version': 4, 'cidr': '96.239.107.192/26', 'allocation_pools': [{'start': '96.239.107.194', 'end': '96.239.107.254'}], 'gateway_ip': '96.239.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.239.107.194', 'tags': [], 'project_id': 'efc25d8f57bb48d88133cdc9f609c3c6'}}
2025-12-11 12:17:25,609 - INFO - Created VN ctest-bgpaas_vn-74270961
2025-12-11 12:17:25,662 - DEBUG - VN ctest-bgpaas_vn-74270961 UUID is dd4218ff-ee08-4691-87f3-aea52ff7f039
2025-12-11 12:17:26,148 - DEBUG - Response for create_network : {'network': {'id': 'ce77a20a-df6e-4655-bf64-1d9c7763ec5c', 'name': 'ctest-bgpaas_vn-23744514', 'tenant_id': 'efc25d8f57bb48d88133cdc9f609c3c6', 'project_id': 'efc25d8f57bb48d88133cdc9f609c3c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-49761703', 'ctest-bgpaas_vn-23744514'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 12:17:26,314 - DEBUG - Response for create_subnet : {'subnet': {'id': '694e14f4-cc4d-4cc8-81e4-a3926cebc1a6', 'name': '', 'tenant_id': 'efc25d8f57bb48d88133cdc9f609c3c6', 'network_id': 'ce77a20a-df6e-4655-bf64-1d9c7763ec5c', 'ip_version': 4, 'cidr': '92.183.114.64/26', 'allocation_pools': [{'start': '92.183.114.66', 'end': '92.183.114.126'}], 'gateway_ip': '92.183.114.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.183.114.66', 'tags': [], 'project_id': 'efc25d8f57bb48d88133cdc9f609c3c6'}}
2025-12-11 12:17:26,331 - INFO - Created VN ctest-bgpaas_vn-23744514
2025-12-11 12:17:26,382 - DEBUG - VN ctest-bgpaas_vn-23744514 UUID is ce77a20a-df6e-4655-bf64-1d9c7763ec5c
2025-12-11 12:17:27,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4885-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4885-1)
2025-12-11 12:17:29,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4885-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4885-1)
2025-12-11 12:17:29,061 - INFO - Waiting for VM test_vm to be up..
2025-12-11 12:17:29,119 - DEBUG - VM is in ERROR state now
2025-12-11 12:17:29,119 - ERROR - VM in error state.
2025-12-11 12:17:29,119 - ERROR - VM is not in ACTIVE state
2025-12-11 12:17:29,199 - ERROR - Fatal Nova Exception while getting VM detail
2025-12-11 12:17:29,199 - DEBUG - None
2025-12-11 12:17:29,200 - INFO - Skip interface_detach for VM test2_vm in state BUILD
2025-12-11 12:17:29,201 - INFO - Deleting VM test2_vm
2025-12-11 12:17:29,222 - ERROR - VM test2_vm has failed to come up
2025-12-11 12:17:29,222 - ERROR - Nova failed to get host of the VM
2025-12-11 12:17:29,416 - INFO - Skip interface_detach for VM test_vm in state ERROR
2025-12-11 12:17:29,417 - INFO - Deleting VM test_vm
2025-12-11 12:17:29,417 - ERROR - VM test_vm has failed to come up
2025-12-11 12:17:29,417 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-12-11T12:17:27Z', '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-12-11 12:17:29,417 - INFO - Deleting VN ctest-bgpaas_vn-23744514
2025-12-11 12:17:29,524 - DEBUG - Response for deleting network ()
2025-12-11 12:17:29,524 - INFO - Deleting VN ctest-bgpaas_vn-74270961
2025-12-11 12:17:29,622 - DEBUG - Response for deleting network ()
2025-12-11 12:17:29,869 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Thu Dec 11 12:17:29 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-12-11 12:17:29,875 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 12:17:29,875 - INFO -
2025-12-11 12:17:29,875 - INFO - END TEST : test_rp_interface : FAILED[0:00:05]
2025-12-11 12:17:29,875 - INFO - --------------------------------------------------------------------------------
2025-12-11 12:17:30,566 - INFO - Deleted project: ctest-TestRP-49761703, ID : efc25d8f-57bb-48d8-8133-cdc9f609c3c6