2025-10-19 23:42:14,836 - INFO - Domain Default found not creating
2025-10-19 23:42:14,988 - INFO - Project ctest-TestRP-64004319 not found, creating it
2025-10-19 23:42:15,416 - INFO - Created Project:ctest-TestRP-64004319, ID : 771810d8-9aa6-493d-8caf-46fc89dcf769
2025-10-19 23:42:16,846 - DEBUG - Services list from nova: [, , ]
2025-10-19 23:42:16,846 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4366-1']}
2025-10-19 23:42:16,848 - INFO - ================================================================================
2025-10-19 23:42:16,849 - INFO - STARTING TEST : test_rp_interface
2025-10-19 23:42:16,849 - 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-10-19 23:42:17,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-19 23:42:17,103 - INFO - Initial checks done. Running the testcase now
2025-10-19 23:42:17,104 - INFO -
2025-10-19 23:42:17,632 - DEBUG - Response for create_network : {'network': {'id': '4d5521ed-ef7d-4abd-849d-e4fc0f28dbab', 'name': 'ctest-bgpaas_vn-99969037', 'tenant_id': '771810d89aa6493d8caf46fc89dcf769', 'project_id': '771810d89aa6493d8caf46fc89dcf769', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-64004319', 'ctest-bgpaas_vn-99969037'], 'port_security_enabled': True, 'description': ''}}
2025-10-19 23:42:17,783 - DEBUG - Response for create_subnet : {'subnet': {'id': '3be0f42c-74b4-48bb-b1cb-8fe48a5903e1', 'name': '', 'tenant_id': '771810d89aa6493d8caf46fc89dcf769', 'network_id': '4d5521ed-ef7d-4abd-849d-e4fc0f28dbab', 'ip_version': 4, 'cidr': '32.165.20.0/26', 'allocation_pools': [{'start': '32.165.20.2', 'end': '32.165.20.62'}], 'gateway_ip': '32.165.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.165.20.2', 'tags': [], 'project_id': '771810d89aa6493d8caf46fc89dcf769'}}
2025-10-19 23:42:17,798 - INFO - Created VN ctest-bgpaas_vn-99969037
2025-10-19 23:42:17,851 - DEBUG - VN ctest-bgpaas_vn-99969037 UUID is 4d5521ed-ef7d-4abd-849d-e4fc0f28dbab
2025-10-19 23:42:18,325 - DEBUG - Response for create_network : {'network': {'id': '831a8179-a1dd-416a-abc1-22c42bfebf93', 'name': 'ctest-bgpaas_vn-50663689', 'tenant_id': '771810d89aa6493d8caf46fc89dcf769', 'project_id': '771810d89aa6493d8caf46fc89dcf769', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-64004319', 'ctest-bgpaas_vn-50663689'], 'port_security_enabled': True, 'description': ''}}
2025-10-19 23:42:18,471 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab402dec-58ea-40a7-a367-d174d3e0a80d', 'name': '', 'tenant_id': '771810d89aa6493d8caf46fc89dcf769', 'network_id': '831a8179-a1dd-416a-abc1-22c42bfebf93', 'ip_version': 4, 'cidr': '212.70.116.64/26', 'allocation_pools': [{'start': '212.70.116.66', 'end': '212.70.116.126'}], 'gateway_ip': '212.70.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.70.116.66', 'tags': [], 'project_id': '771810d89aa6493d8caf46fc89dcf769'}}
2025-10-19 23:42:18,487 - INFO - Created VN ctest-bgpaas_vn-50663689
2025-10-19 23:42:18,539 - DEBUG - VN ctest-bgpaas_vn-50663689 UUID is 831a8179-a1dd-416a-abc1-22c42bfebf93
2025-10-19 23:42:19,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1)
2025-10-19 23:42:21,105 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1)
2025-10-19 23:42:21,106 - INFO - Waiting for VM test_vm to be up..
2025-10-19 23:42:21,176 - DEBUG - VM is in ERROR state now
2025-10-19 23:42:21,176 - ERROR - VM in error state.
2025-10-19 23:42:21,176 - ERROR - VM is not in ACTIVE state
2025-10-19 23:42:21,264 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-19 23:42:21,264 - DEBUG - None
2025-10-19 23:42:21,268 - INFO - Skip interface_detach for VM test2_vm in state BUILD
2025-10-19 23:42:21,268 - INFO - Deleting VM test2_vm
2025-10-19 23:42:21,286 - ERROR - VM test2_vm has failed to come up
2025-10-19 23:42:21,286 - ERROR - Nova failed to get host of the VM
2025-10-19 23:42:21,507 - INFO - Skip interface_detach for VM test_vm in state ERROR
2025-10-19 23:42:21,508 - INFO - Deleting VM test_vm
2025-10-19 23:42:21,508 - ERROR - VM test_vm has failed to come up
2025-10-19 23:42:21,508 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-19T23:42:19Z', '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-10-19 23:42:21,509 - INFO - Deleting VN ctest-bgpaas_vn-50663689
2025-10-19 23:42:21,603 - DEBUG - Response for deleting network ()
2025-10-19 23:42:21,603 - INFO - Deleting VN ctest-bgpaas_vn-99969037
2025-10-19 23:42:21,714 - DEBUG - Response for deleting network ()
2025-10-19 23:42:21,962 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Sun Oct 19 23:42:21 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-10-19 23:42:21,968 - DEBUG - No XMPP flaps were noticed during the test
2025-10-19 23:42:21,968 - INFO -
2025-10-19 23:42:21,968 - INFO - END TEST : test_rp_interface : FAILED[0:00:05]
2025-10-19 23:42:21,968 - INFO - --------------------------------------------------------------------------------
2025-10-19 23:42:22,652 - INFO - Deleted project: ctest-TestRP-64004319, ID : 771810d8-9aa6-493d-8caf-46fc89dcf769