2025-09-18 10:29:26,852 - INFO - Domain Default found not creating 2025-09-18 10:29:26,987 - INFO - Project ctest-TestRP-14067121 not found, creating it 2025-09-18 10:29:27,447 - INFO - Created Project:ctest-TestRP-14067121, ID : 5fcb4866-6fd5-465b-b110-a826ab690dc0 2025-09-18 10:29:28,801 - DEBUG - Services list from nova: [, , ] 2025-09-18 10:29:28,802 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4136-1']} 2025-09-18 10:29:28,804 - INFO - ================================================================================ 2025-09-18 10:29:28,804 - INFO - STARTING TEST : test_rp_interface 2025-09-18 10:29:28,804 - 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-09-18 10:29:28,930 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 10:29:28,930 - INFO - Initial checks done. Running the testcase now 2025-09-18 10:29:28,930 - INFO - 2025-09-18 10:29:29,447 - DEBUG - Response for create_network : {'network': {'id': '3c95dee7-a09b-4312-bc1b-c07710175b27', 'name': 'ctest-bgpaas_vn-56978820', 'tenant_id': '5fcb48666fd5465bb110a826ab690dc0', 'project_id': '5fcb48666fd5465bb110a826ab690dc0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-14067121', 'ctest-bgpaas_vn-56978820'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 10:29:29,661 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2444522-09f1-421f-a6f6-422242240a76', 'name': '', 'tenant_id': '5fcb48666fd5465bb110a826ab690dc0', 'network_id': '3c95dee7-a09b-4312-bc1b-c07710175b27', 'ip_version': 4, 'cidr': '150.81.106.192/26', 'allocation_pools': [{'start': '150.81.106.194', 'end': '150.81.106.254'}], 'gateway_ip': '150.81.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.81.106.194', 'tags': [], 'project_id': '5fcb48666fd5465bb110a826ab690dc0'}} 2025-09-18 10:29:29,678 - INFO - Created VN ctest-bgpaas_vn-56978820 2025-09-18 10:29:29,728 - DEBUG - VN ctest-bgpaas_vn-56978820 UUID is 3c95dee7-a09b-4312-bc1b-c07710175b27 2025-09-18 10:29:30,202 - DEBUG - Response for create_network : {'network': {'id': 'acb5266e-8a6b-465c-aacb-3a8463a5460c', 'name': 'ctest-bgpaas_vn-90508020', 'tenant_id': '5fcb48666fd5465bb110a826ab690dc0', 'project_id': '5fcb48666fd5465bb110a826ab690dc0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-14067121', 'ctest-bgpaas_vn-90508020'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 10:29:30,385 - DEBUG - Response for create_subnet : {'subnet': {'id': '970b7fc0-8371-4b76-8e91-fae91aaeb815', 'name': '', 'tenant_id': '5fcb48666fd5465bb110a826ab690dc0', 'network_id': 'acb5266e-8a6b-465c-aacb-3a8463a5460c', 'ip_version': 4, 'cidr': '89.32.203.128/26', 'allocation_pools': [{'start': '89.32.203.130', 'end': '89.32.203.190'}], 'gateway_ip': '89.32.203.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.32.203.130', 'tags': [], 'project_id': '5fcb48666fd5465bb110a826ab690dc0'}} 2025-09-18 10:29:30,402 - INFO - Created VN ctest-bgpaas_vn-90508020 2025-09-18 10:29:30,456 - DEBUG - VN ctest-bgpaas_vn-90508020 UUID is acb5266e-8a6b-465c-aacb-3a8463a5460c 2025-09-18 10:29:31,948 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4136-1) 2025-09-18 10:29:33,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4136-1) 2025-09-18 10:29:33,145 - INFO - Waiting for VM test_vm to be up.. 2025-09-18 10:29:33,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 10:29:38,281 - DEBUG - VM is in ERROR state now 2025-09-18 10:29:38,281 - ERROR - VM in error state. 2025-09-18 10:29:38,281 - ERROR - VM is not in ACTIVE state 2025-09-18 10:29:38,361 - ERROR - Fatal Nova Exception while getting VM detail 2025-09-18 10:29:38,362 - DEBUG - None 2025-09-18 10:29:38,363 - INFO - Skip interface_detach for VM test2_vm in state BUILD 2025-09-18 10:29:38,363 - INFO - Deleting VM test2_vm 2025-09-18 10:29:38,383 - ERROR - VM test2_vm has failed to come up 2025-09-18 10:29:38,383 - ERROR - Nova failed to get host of the VM 2025-09-18 10:29:38,547 - INFO - Skip interface_detach for VM test_vm in state ERROR 2025-09-18 10:29:38,547 - INFO - Deleting VM test_vm 2025-09-18 10:29:38,547 - ERROR - VM test_vm has failed to come up 2025-09-18 10:29:38,547 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-09-18T10:29:33Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:15:a7:af:ee:51,has_traffic_filtering=True,id=15a7afee-5187-4d57-8e2a-d40f70fd9867,network=Network(3c95dee7-a09b-4312-bc1b-c07710175b27),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=15a7afee-5187-4d57-8e2a-d40f70fd9867\', \'--instance_uuid=5ca07e71-fa03-46b1-864b-ab25c5559319\', \'--vn_uuid=3c95dee7-a09b-4312-bc1b-c07710175b27\', \'--vm_project_uuid=5fcb48666fd5465bb110a826ab690dc0\', \'--ip_address=150.81.106.195\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:15:a7:af:ee:51\', \'--tap_name=tap15a7afee-51\', \'--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:15:a7:af:ee:51,has_traffic_filtering=True,id=15a7afee-5187-4d57-8e2a-d40f70fd9867,network=Network(3c95dee7-a09b-4312-bc1b-c07710175b27),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tap15a7afee-51\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=15a7afee-5187-4d57-8e2a-d40f70fd9867\', \'--instance_uuid=5ca07e71-fa03-46b1-864b-ab25c5559319\', \'--vn_uuid=3c95dee7-a09b-4312-bc1b-c07710175b27\', \'--vm_project_uuid=5fcb48666fd5465bb110a826ab690dc0\', \'--ip_address=150.81.106.195\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:15:a7:af:ee:51\', \'--tap_name=tap15a7afee-51\', \'--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:15:a7:af:ee:51,has_traffic_filtering=True,id=15a7afee-5187-4d57-8e2a-d40f70fd9867,network=Network(3c95dee7-a09b-4312-bc1b-c07710175b27),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tap15a7afee-51\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=15a7afee-5187-4d57-8e2a-d40f70fd9867\', \'--instance_uuid=5ca07e71-fa03-46b1-864b-ab25c5559319\', \'--vn_uuid=3c95dee7-a09b-4312-bc1b-c07710175b27\', \'--vm_project_uuid=5fcb48666fd5465bb110a826ab690dc0\', \'--ip_address=150.81.106.195\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:15:a7:af:ee:51\', \'--tap_name=tap15a7afee-51\', \'--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 5ca07e71-fa03-46b1-864b-ab25c5559319 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:15:a7:af:ee:51,has_traffic_filtering=True,id=15a7afee-5187-4d57-8e2a-d40f70fd9867,network=Network(3c95dee7-a09b-4312-bc1b-c07710175b27),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tap15a7afee-51\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=15a7afee-5187-4d57-8e2a-d40f70fd9867\', \'--instance_uuid=5ca07e71-fa03-46b1-864b-ab25c5559319\', \'--vn_uuid=3c95dee7-a09b-4312-bc1b-c07710175b27\', \'--vm_project_uuid=5fcb48666fd5465bb110a826ab690dc0\', \'--ip_address=150.81.106.195\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:15:a7:af:ee:51\', \'--tap_name=tap15a7afee-51\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'} 2025-09-18 10:29:38,548 - INFO - Deleting VN ctest-bgpaas_vn-90508020 2025-09-18 10:29:38,647 - DEBUG - Response for deleting network () 2025-09-18 10:29:38,647 - INFO - Deleting VN ctest-bgpaas_vn-56978820 2025-09-18 10:29:38,749 - DEBUG - Response for deleting network () 2025-09-18 10:29:38,877 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Thu Sep 18 10:29:38 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-09-18 10:29:38,882 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 10:29:38,882 - INFO -
2025-09-18 10:29:38,882 - INFO - END TEST : test_rp_interface : FAILED[0:00:10]
2025-09-18 10:29:38,882 - INFO - -------------------------------------------------------------------------------- 2025-09-18 10:29:39,545 - INFO - Deleted project: ctest-TestRP-14067121, ID : 5fcb4866-6fd5-465b-b110-a826ab690dc0