2025-10-10 12:13:42,539 - INFO - Domain Default found not creating
2025-10-10 12:13:42,720 - INFO - Project ctest-TestRP-99848976 not found, creating it
2025-10-10 12:13:43,260 - INFO - Created Project:ctest-TestRP-99848976, ID : 4bf6a1be-3d39-44f0-9356-9798b3c06cbc
2025-10-10 12:13:44,831 - DEBUG - Services list from nova: [, , ]
2025-10-10 12:13:44,831 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4285-1']}
2025-10-10 12:13:44,833 - INFO - ================================================================================
2025-10-10 12:13:44,834 - INFO - STARTING TEST : test_rp_interface
2025-10-10 12:13:44,834 - 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-10 12:13:44,962 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2025-10-10 12:13:44,962 - INFO - Initial checks done. Running the testcase now
2025-10-10 12:13:44,962 - INFO -
2025-10-10 12:13:45,593 - DEBUG - Response for create_network : {'network': {'id': 'a548f405-beb2-42a1-9fe4-835070c59b63', 'name': 'ctest-bgpaas_vn-66966326', 'tenant_id': '4bf6a1be3d3944f093569798b3c06cbc', 'project_id': '4bf6a1be3d3944f093569798b3c06cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-99848976', 'ctest-bgpaas_vn-66966326'], 'port_security_enabled': True, 'description': ''}}
2025-10-10 12:13:45,832 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2511e9b-b6e6-4428-9f6f-f80cc705e6bb', 'name': '', 'tenant_id': '4bf6a1be3d3944f093569798b3c06cbc', 'network_id': 'a548f405-beb2-42a1-9fe4-835070c59b63', 'ip_version': 4, 'cidr': '196.223.142.0/26', 'allocation_pools': [{'start': '196.223.142.2', 'end': '196.223.142.62'}], 'gateway_ip': '196.223.142.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.223.142.2', 'tags': [], 'project_id': '4bf6a1be3d3944f093569798b3c06cbc'}}
2025-10-10 12:13:45,854 - INFO - Created VN ctest-bgpaas_vn-66966326
2025-10-10 12:13:45,907 - DEBUG - VN ctest-bgpaas_vn-66966326 UUID is a548f405-beb2-42a1-9fe4-835070c59b63
2025-10-10 12:13:46,431 - DEBUG - Response for create_network : {'network': {'id': '238378d8-b846-4242-8109-1a3b782a185a', 'name': 'ctest-bgpaas_vn-03119545', 'tenant_id': '4bf6a1be3d3944f093569798b3c06cbc', 'project_id': '4bf6a1be3d3944f093569798b3c06cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-99848976', 'ctest-bgpaas_vn-03119545'], 'port_security_enabled': True, 'description': ''}}
2025-10-10 12:13:46,656 - DEBUG - Response for create_subnet : {'subnet': {'id': '56dceec7-a4e7-4eee-8f48-108afb220426', 'name': '', 'tenant_id': '4bf6a1be3d3944f093569798b3c06cbc', 'network_id': '238378d8-b846-4242-8109-1a3b782a185a', 'ip_version': 4, 'cidr': '149.3.155.192/26', 'allocation_pools': [{'start': '149.3.155.194', 'end': '149.3.155.254'}], 'gateway_ip': '149.3.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.3.155.194', 'tags': [], 'project_id': '4bf6a1be3d3944f093569798b3c06cbc'}}
2025-10-10 12:13:46,678 - INFO - Created VN ctest-bgpaas_vn-03119545
2025-10-10 12:13:46,735 - DEBUG - VN ctest-bgpaas_vn-03119545 UUID is 238378d8-b846-4242-8109-1a3b782a185a
2025-10-10 12:13:48,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:13:49,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:13:49,676 - INFO - Waiting for VM test_vm to be up..
2025-10-10 12:13:49,766 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-10 12:13:54,833 - DEBUG - VM is in ERROR state now
2025-10-10 12:13:54,833 - ERROR - VM in error state.
2025-10-10 12:13:54,833 - ERROR - VM is not in ACTIVE state
2025-10-10 12:13:54,921 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-10 12:13:54,921 - DEBUG - None
2025-10-10 12:13:54,922 - INFO - Skip interface_detach for VM test2_vm in state BUILD
2025-10-10 12:13:54,922 - INFO - Deleting VM test2_vm
2025-10-10 12:13:54,950 - ERROR - VM test2_vm has failed to come up
2025-10-10 12:13:54,950 - ERROR - Nova failed to get host of the VM
2025-10-10 12:13:55,185 - INFO - Skip interface_detach for VM test_vm in state ERROR
2025-10-10 12:13:55,185 - INFO - Deleting VM test_vm
2025-10-10 12:13:55,185 - ERROR - VM test_vm has failed to come up
2025-10-10 12:13:55,185 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-10T12:13:50Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:da:0b:34:0a:06,has_traffic_filtering=True,id=da0b340a-06d4-476d-996c-f7a9ece392f3,network=Network(a548f405-beb2-42a1-9fe4-835070c59b63),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=da0b340a-06d4-476d-996c-f7a9ece392f3\', \'--instance_uuid=1bec288b-8409-4621-8de6-59a36d08fbae\', \'--vn_uuid=a548f405-beb2-42a1-9fe4-835070c59b63\', \'--vm_project_uuid=4bf6a1be3d3944f093569798b3c06cbc\', \'--ip_address=196.223.142.3\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:da:0b:34:0a:06\', \'--tap_name=tapda0b340a-06\', \'--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:da:0b:34:0a:06,has_traffic_filtering=True,id=da0b340a-06d4-476d-996c-f7a9ece392f3,network=Network(a548f405-beb2-42a1-9fe4-835070c59b63),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapda0b340a-06\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=da0b340a-06d4-476d-996c-f7a9ece392f3\', \'--instance_uuid=1bec288b-8409-4621-8de6-59a36d08fbae\', \'--vn_uuid=a548f405-beb2-42a1-9fe4-835070c59b63\', \'--vm_project_uuid=4bf6a1be3d3944f093569798b3c06cbc\', \'--ip_address=196.223.142.3\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:da:0b:34:0a:06\', \'--tap_name=tapda0b340a-06\', \'--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:da:0b:34:0a:06,has_traffic_filtering=True,id=da0b340a-06d4-476d-996c-f7a9ece392f3,network=Network(a548f405-beb2-42a1-9fe4-835070c59b63),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapda0b340a-06\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=da0b340a-06d4-476d-996c-f7a9ece392f3\', \'--instance_uuid=1bec288b-8409-4621-8de6-59a36d08fbae\', \'--vn_uuid=a548f405-beb2-42a1-9fe4-835070c59b63\', \'--vm_project_uuid=4bf6a1be3d3944f093569798b3c06cbc\', \'--ip_address=196.223.142.3\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:da:0b:34:0a:06\', \'--tap_name=tapda0b340a-06\', \'--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 1bec288b-8409-4621-8de6-59a36d08fbae was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:da:0b:34:0a:06,has_traffic_filtering=True,id=da0b340a-06d4-476d-996c-f7a9ece392f3,network=Network(a548f405-beb2-42a1-9fe4-835070c59b63),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapda0b340a-06\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=da0b340a-06d4-476d-996c-f7a9ece392f3\', \'--instance_uuid=1bec288b-8409-4621-8de6-59a36d08fbae\', \'--vn_uuid=a548f405-beb2-42a1-9fe4-835070c59b63\', \'--vm_project_uuid=4bf6a1be3d3944f093569798b3c06cbc\', \'--ip_address=196.223.142.3\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:da:0b:34:0a:06\', \'--tap_name=tapda0b340a-06\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-10 12:13:55,185 - INFO - Deleting VN ctest-bgpaas_vn-03119545
2025-10-10 12:13:55,305 - DEBUG - Response for deleting network ()
2025-10-10 12:13:55,305 - INFO - Deleting VN ctest-bgpaas_vn-66966326
2025-10-10 12:13:55,407 - DEBUG - Response for deleting network ()
2025-10-10 12:13:55,536 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Fri Oct 10 12:13:54 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-10 12:13:55,542 - DEBUG - No XMPP flaps were noticed during the test
2025-10-10 12:13:55,542 - INFO -
2025-10-10 12:13:55,543 - INFO - END TEST : test_rp_interface : FAILED[0:00:11]
2025-10-10 12:13:55,543 - INFO - --------------------------------------------------------------------------------
2025-10-10 12:13:56,269 - INFO - Deleted project: ctest-TestRP-99848976, ID : 4bf6a1be-3d39-44f0-9356-9798b3c06cbc