2025-10-11 16:57:16,993 - INFO - Domain Default found not creating
2025-10-11 16:57:17,142 - INFO - Project ctest-TestRP-66155245 not found, creating it
2025-10-11 16:57:17,619 - INFO - Created Project:ctest-TestRP-66155245, ID : ad6b5f05-e5a5-49f7-b232-d62f236c9d7a
2025-10-11 16:57:19,030 - DEBUG - Services list from nova: [, , ]
2025-10-11 16:57:19,031 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4287-1']}
2025-10-11 16:57:19,033 - INFO - ================================================================================
2025-10-11 16:57:19,034 - INFO - STARTING TEST : test_rp_interface
2025-10-11 16:57:19,034 - 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-11 16:57:19,161 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-11 16:57:19,161 - INFO - Initial checks done. Running the testcase now
2025-10-11 16:57:19,161 - INFO -
2025-10-11 16:57:19,685 - DEBUG - Response for create_network : {'network': {'id': 'e8d9813f-10e5-4570-b748-95d432ddd7c6', 'name': 'ctest-bgpaas_vn-00028686', 'tenant_id': 'ad6b5f05e5a549f7b232d62f236c9d7a', 'project_id': 'ad6b5f05e5a549f7b232d62f236c9d7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-66155245', 'ctest-bgpaas_vn-00028686'], 'port_security_enabled': True, 'description': ''}}
2025-10-11 16:57:19,872 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0f8da7d-be86-4b9f-93ab-ba8694b93bef', 'name': '', 'tenant_id': 'ad6b5f05e5a549f7b232d62f236c9d7a', 'network_id': 'e8d9813f-10e5-4570-b748-95d432ddd7c6', 'ip_version': 4, 'cidr': '167.179.108.128/26', 'allocation_pools': [{'start': '167.179.108.130', 'end': '167.179.108.190'}], 'gateway_ip': '167.179.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.179.108.130', 'tags': [], 'project_id': 'ad6b5f05e5a549f7b232d62f236c9d7a'}}
2025-10-11 16:57:19,891 - INFO - Created VN ctest-bgpaas_vn-00028686
2025-10-11 16:57:19,946 - DEBUG - VN ctest-bgpaas_vn-00028686 UUID is e8d9813f-10e5-4570-b748-95d432ddd7c6
2025-10-11 16:57:20,425 - DEBUG - Response for create_network : {'network': {'id': 'cf322c18-1d7e-4970-98a1-d400b9e8a675', 'name': 'ctest-bgpaas_vn-78766489', 'tenant_id': 'ad6b5f05e5a549f7b232d62f236c9d7a', 'project_id': 'ad6b5f05e5a549f7b232d62f236c9d7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-66155245', 'ctest-bgpaas_vn-78766489'], 'port_security_enabled': True, 'description': ''}}
2025-10-11 16:57:20,602 - DEBUG - Response for create_subnet : {'subnet': {'id': '8db827b2-a75e-4445-b6bc-8e7a254814df', 'name': '', 'tenant_id': 'ad6b5f05e5a549f7b232d62f236c9d7a', 'network_id': 'cf322c18-1d7e-4970-98a1-d400b9e8a675', 'ip_version': 4, 'cidr': '158.223.38.192/26', 'allocation_pools': [{'start': '158.223.38.194', 'end': '158.223.38.254'}], 'gateway_ip': '158.223.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.223.38.194', 'tags': [], 'project_id': 'ad6b5f05e5a549f7b232d62f236c9d7a'}}
2025-10-11 16:57:20,619 - INFO - Created VN ctest-bgpaas_vn-78766489
2025-10-11 16:57:20,670 - DEBUG - VN ctest-bgpaas_vn-78766489 UUID is cf322c18-1d7e-4970-98a1-d400b9e8a675
2025-10-11 16:57:22,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4287-1)
2025-10-11 16:57:23,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4287-1)
2025-10-11 16:57:23,356 - INFO - Waiting for VM test_vm to be up..
2025-10-11 16:57:23,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-11 16:57:28,497 - DEBUG - VM is in ERROR state now
2025-10-11 16:57:28,497 - ERROR - VM in error state.
2025-10-11 16:57:28,497 - ERROR - VM is not in ACTIVE state
2025-10-11 16:57:28,590 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-11 16:57:28,590 - DEBUG - None
2025-10-11 16:57:28,592 - INFO - Skip interface_detach for VM test2_vm in state BUILD
2025-10-11 16:57:28,592 - INFO - Deleting VM test2_vm
2025-10-11 16:57:28,614 - ERROR - VM test2_vm has failed to come up
2025-10-11 16:57:28,615 - ERROR - Nova failed to get host of the VM
2025-10-11 16:57:28,818 - INFO - Skip interface_detach for VM test_vm in state ERROR
2025-10-11 16:57:28,818 - INFO - Deleting VM test_vm
2025-10-11 16:57:28,818 - ERROR - VM test_vm has failed to come up
2025-10-11 16:57:28,818 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-11T16:57:23Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:46:8c:9e:8c:b1,has_traffic_filtering=True,id=468c9e8c-b171-4cda-b29d-91fc2cd76776,network=Network(e8d9813f-10e5-4570-b748-95d432ddd7c6),plugin='vrouter',port_p", 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 77, in plug\n plugin.plug(vif, instance_info)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 271, in plug\n self._vrouter_port_add(instance_info, vif)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 263, in _vrouter_port_add\n vhostuser_socket, vhostuser_mode)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/priv_context.py", line 272, in _wrap\n r_call_timeout)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/daemon.py", line 215, in remote_call\n raise exc_type(*result[2])\nvif_plug_vrouter.exception.VrouterPortControlError: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=468c9e8c-b171-4cda-b29d-91fc2cd76776\', \'--instance_uuid=3e3d029a-42be-46df-b966-1d3b74a21ba4\', \'--vn_uuid=e8d9813f-10e5-4570-b748-95d432ddd7c6\', \'--vm_project_uuid=ad6b5f05e5a549f7b232d62f236c9d7a\', \'--ip_address=167.179.108.131\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:46:8c:9e:8c:b1\', \'--tap_name=tap468c9e8c-b1\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 699, in _plug_os_vif\n os_vif.plug(vif, instance_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 82, in plug\n raise os_vif.exception.PlugException(vif=vif, err=err)\nos_vif.exception.PlugException: Failed to plug VIF VIFGeneric(active=True,address=02:46:8c:9e:8c:b1,has_traffic_filtering=True,id=468c9e8c-b171-4cda-b29d-91fc2cd76776,network=Network(e8d9813f-10e5-4570-b748-95d432ddd7c6),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap468c9e8c-b1\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=468c9e8c-b171-4cda-b29d-91fc2cd76776\', \'--instance_uuid=3e3d029a-42be-46df-b966-1d3b74a21ba4\', \'--vn_uuid=e8d9813f-10e5-4570-b748-95d432ddd7c6\', \'--vm_project_uuid=ad6b5f05e5a549f7b232d62f236c9d7a\', \'--ip_address=167.179.108.131\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:46:8c:9e:8c:b1\', \'--tap_name=tap468c9e8c-b1\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2521, in _build_and_run_instance\n accel_info=accel_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 4339, in spawn\n cleanup_instance_disks=created_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7523, in _create_guest_with_network\n cleanup_instance_disks=cleanup_instance_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 227, in __exit__\n self.force_reraise()\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 200, in force_reraise\n raise self.value\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7492, in _create_guest_with_network\n self.plug_vifs(instance, network_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 1386, in plug_vifs\n self.vif_driver.plug(instance, vif)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 723, in plug\n self._plug_os_vif(instance, vif_obj)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 703, in _plug_os_vif\n raise exception.InternalError(msg)\nnova.exception.InternalError: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:46:8c:9e:8c:b1,has_traffic_filtering=True,id=468c9e8c-b171-4cda-b29d-91fc2cd76776,network=Network(e8d9813f-10e5-4570-b748-95d432ddd7c6),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap468c9e8c-b1\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=468c9e8c-b171-4cda-b29d-91fc2cd76776\', \'--instance_uuid=3e3d029a-42be-46df-b966-1d3b74a21ba4\', \'--vn_uuid=e8d9813f-10e5-4570-b748-95d432ddd7c6\', \'--vm_project_uuid=ad6b5f05e5a549f7b232d62f236c9d7a\', \'--ip_address=167.179.108.131\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:46:8c:9e:8c:b1\', \'--tap_name=tap468c9e8c-b1\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2337, in _do_build_and_run_instance\n filter_properties, request_spec, accel_uuids)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2625, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=str(e))\nnova.exception.RescheduledException: Build of instance 3e3d029a-42be-46df-b966-1d3b74a21ba4 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:46:8c:9e:8c:b1,has_traffic_filtering=True,id=468c9e8c-b171-4cda-b29d-91fc2cd76776,network=Network(e8d9813f-10e5-4570-b748-95d432ddd7c6),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap468c9e8c-b1\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=468c9e8c-b171-4cda-b29d-91fc2cd76776\', \'--instance_uuid=3e3d029a-42be-46df-b966-1d3b74a21ba4\', \'--vn_uuid=e8d9813f-10e5-4570-b748-95d432ddd7c6\', \'--vm_project_uuid=ad6b5f05e5a549f7b232d62f236c9d7a\', \'--ip_address=167.179.108.131\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:46:8c:9e:8c:b1\', \'--tap_name=tap468c9e8c-b1\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-11 16:57:28,819 - INFO - Deleting VN ctest-bgpaas_vn-78766489
2025-10-11 16:57:28,912 - DEBUG - Response for deleting network ()
2025-10-11 16:57:28,913 - INFO - Deleting VN ctest-bgpaas_vn-00028686
2025-10-11 16:57:29,010 - DEBUG - Response for deleting network ()
2025-10-11 16:57:29,138 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Sat Oct 11 16:57:28 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-11 16:57:29,143 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 16:57:29,144 - INFO -
2025-10-11 16:57:29,144 - INFO - END TEST : test_rp_interface : FAILED[0:00:10]
2025-10-11 16:57:29,144 - INFO - --------------------------------------------------------------------------------
2025-10-11 16:57:29,803 - INFO - Deleted project: ctest-TestRP-66155245, ID : ad6b5f05-e5a5-49f7-b232-d62f236c9d7a