2025-10-11 16:45:28,312 - INFO - Domain Default found not creating
2025-10-11 16:45:28,641 - INFO - Project ctest-TestRouters-44054082 not found, creating it
2025-10-11 16:45:29,158 - INFO - Created Project:ctest-TestRouters-44054082, ID : 5d906486-950f-40e1-a544-5f0a2b5d8f99
2025-10-11 16:45:30,543 - INFO - ================================================================================
2025-10-11 16:45:30,544 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-11 16:45:30,544 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs
Create a router
Create 2 VNs, and a VM in each
Add router port from each VN
Ping between VMs
2025-10-11 16:45:30,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-11 16:45:30,673 - INFO - Initial checks done. Running the testcase now
2025-10-11 16:45:30,673 - INFO -
2025-10-11 16:45:31,213 - DEBUG - Response for create_network : {'network': {'id': '9f4e691d-5d36-4c1f-b725-fc1e1098dbd5', 'name': 'ctest-vn1-86109938', 'tenant_id': '5d906486950f40e1a5445f0a2b5d8f99', 'project_id': '5d906486950f40e1a5445f0a2b5d8f99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-44054082', 'ctest-vn1-86109938'], 'port_security_enabled': True, 'description': ''}}
2025-10-11 16:45:31,443 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b2fc77c-b8b1-4bcc-88e6-9c4b8dcc8942', 'name': '', 'tenant_id': '5d906486950f40e1a5445f0a2b5d8f99', 'network_id': '9f4e691d-5d36-4c1f-b725-fc1e1098dbd5', 'ip_version': 4, 'cidr': '152.117.72.64/26', 'allocation_pools': [{'start': '152.117.72.66', 'end': '152.117.72.126'}], 'gateway_ip': '152.117.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.117.72.66', 'tags': [], 'project_id': '5d906486950f40e1a5445f0a2b5d8f99'}}
2025-10-11 16:45:31,461 - INFO - Created VN ctest-vn1-86109938
2025-10-11 16:45:31,514 - DEBUG - VN ctest-vn1-86109938 UUID is 9f4e691d-5d36-4c1f-b725-fc1e1098dbd5
2025-10-11 16:45:31,824 - DEBUG - Response for create_network : {'network': {'id': 'ae3d547e-b797-42c1-a7d7-76ef0aa94e03', 'name': 'ctest-vn2-02385796', 'tenant_id': '5d906486950f40e1a5445f0a2b5d8f99', 'project_id': '5d906486950f40e1a5445f0a2b5d8f99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-44054082', 'ctest-vn2-02385796'], 'port_security_enabled': True, 'description': ''}}
2025-10-11 16:45:31,973 - DEBUG - Response for create_subnet : {'subnet': {'id': '97afb564-9ea7-492f-97fc-6f9e4f9b6bed', 'name': '', 'tenant_id': '5d906486950f40e1a5445f0a2b5d8f99', 'network_id': 'ae3d547e-b797-42c1-a7d7-76ef0aa94e03', 'ip_version': 4, 'cidr': '50.144.206.192/26', 'allocation_pools': [{'start': '50.144.206.194', 'end': '50.144.206.254'}], 'gateway_ip': '50.144.206.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.144.206.194', 'tags': [], 'project_id': '5d906486950f40e1a5445f0a2b5d8f99'}}
2025-10-11 16:45:31,994 - INFO - Created VN ctest-vn2-02385796
2025-10-11 16:45:32,050 - DEBUG - VN ctest-vn2-02385796 UUID is ae3d547e-b797-42c1-a7d7-76ef0aa94e03
2025-10-11 16:45:32,290 - DEBUG - Services list from nova: [, , ]
2025-10-11 16:45:33,424 - 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:45:34,695 - 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:45:34,764 - INFO - Adding interface with subnet_id 3b2fc77c-b8b1-4bcc-88e6-9c4b8dcc8942, port_id None to router 293b0525-2f0d-4fc3-bd7c-5fbdd6610aef
2025-10-11 16:45:35,071 - INFO - Waiting for VM ctest-vn1-vm1-64770243 to be up..
2025-10-11 16:45:35,148 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-11 16:45:40,210 - DEBUG - VM is in ERROR state now
2025-10-11 16:45:40,210 - ERROR - VM in error state.
2025-10-11 16:45:40,211 - ERROR - VM is not in ACTIVE state
2025-10-11 16:45:40,298 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-11 16:45:40,298 - DEBUG - None
2025-10-11 16:45:40,299 - INFO - Deleting interface with subnet_id 3b2fc77c-b8b1-4bcc-88e6-9c4b8dcc8942, port_id None from router 293b0525-2f0d-4fc3-bd7c-5fbdd6610aef
2025-10-11 16:45:40,464 - INFO - Skip interface_detach for VM ctest-vn2-vm1-70639543 in state BUILD
2025-10-11 16:45:40,464 - INFO - Deleting VM ctest-vn2-vm1-70639543
2025-10-11 16:45:40,489 - ERROR - VM ctest-vn2-vm1-70639543 has failed to come up
2025-10-11 16:45:40,489 - ERROR - Nova failed to get host of the VM
2025-10-11 16:45:40,644 - INFO - Skip interface_detach for VM ctest-vn1-vm1-64770243 in state ERROR
2025-10-11 16:45:40,645 - INFO - Deleting VM ctest-vn1-vm1-64770243
2025-10-11 16:45:40,645 - ERROR - VM ctest-vn1-vm1-64770243 has failed to come up
2025-10-11 16:45:40,645 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-11T16:45:35Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:d0:76:ed:17:2d,has_traffic_filtering=True,id=d076ed17-2d32-4194-bbe2-04a799d54026,network=Network(9f4e691d-5d36-4c1f-b725-fc1e1098dbd5),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=d076ed17-2d32-4194-bbe2-04a799d54026\', \'--instance_uuid=7fc0c320-3102-48de-a69a-97cc370609a8\', \'--vn_uuid=9f4e691d-5d36-4c1f-b725-fc1e1098dbd5\', \'--vm_project_uuid=5d906486950f40e1a5445f0a2b5d8f99\', \'--ip_address=152.117.72.67\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-64770243\', \'--mac=02:d0:76:ed:17:2d\', \'--tap_name=tapd076ed17-2d\', \'--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:d0:76:ed:17:2d,has_traffic_filtering=True,id=d076ed17-2d32-4194-bbe2-04a799d54026,network=Network(9f4e691d-5d36-4c1f-b725-fc1e1098dbd5),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd076ed17-2d\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d076ed17-2d32-4194-bbe2-04a799d54026\', \'--instance_uuid=7fc0c320-3102-48de-a69a-97cc370609a8\', \'--vn_uuid=9f4e691d-5d36-4c1f-b725-fc1e1098dbd5\', \'--vm_project_uuid=5d906486950f40e1a5445f0a2b5d8f99\', \'--ip_address=152.117.72.67\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-64770243\', \'--mac=02:d0:76:ed:17:2d\', \'--tap_name=tapd076ed17-2d\', \'--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:d0:76:ed:17:2d,has_traffic_filtering=True,id=d076ed17-2d32-4194-bbe2-04a799d54026,network=Network(9f4e691d-5d36-4c1f-b725-fc1e1098dbd5),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd076ed17-2d\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d076ed17-2d32-4194-bbe2-04a799d54026\', \'--instance_uuid=7fc0c320-3102-48de-a69a-97cc370609a8\', \'--vn_uuid=9f4e691d-5d36-4c1f-b725-fc1e1098dbd5\', \'--vm_project_uuid=5d906486950f40e1a5445f0a2b5d8f99\', \'--ip_address=152.117.72.67\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-64770243\', \'--mac=02:d0:76:ed:17:2d\', \'--tap_name=tapd076ed17-2d\', \'--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 7fc0c320-3102-48de-a69a-97cc370609a8 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:d0:76:ed:17:2d,has_traffic_filtering=True,id=d076ed17-2d32-4194-bbe2-04a799d54026,network=Network(9f4e691d-5d36-4c1f-b725-fc1e1098dbd5),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd076ed17-2d\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d076ed17-2d32-4194-bbe2-04a799d54026\', \'--instance_uuid=7fc0c320-3102-48de-a69a-97cc370609a8\', \'--vn_uuid=9f4e691d-5d36-4c1f-b725-fc1e1098dbd5\', \'--vm_project_uuid=5d906486950f40e1a5445f0a2b5d8f99\', \'--ip_address=152.117.72.67\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-64770243\', \'--mac=02:d0:76:ed:17:2d\', \'--tap_name=tapd076ed17-2d\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-11 16:45:40,645 - INFO - Deleting VN ctest-vn2-02385796
2025-10-11 16:45:40,740 - DEBUG - Response for deleting network ()
2025-10-11 16:45:40,740 - INFO - Deleting VN ctest-vn1-86109938
2025-10-11 16:45:40,831 - DEBUG - Response for deleting network ()
2025-10-11 16:45:40,951 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Sat Oct 11 16:45:40 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/neutron/test_routers.py in test_basic_router_behavior(self=)
55 router_dict = self.create_router(router_name)
56 self.add_vn_to_router(router_dict['id'], vn1_fixture)
57 assert vn1_vm1_fixture.wait_till_vm_is_up()
58 assert vn2_vm1_fixture.wait_till_vm_is_up()
59 assert vn1_vm1_fixture.ping_with_certainty(vn2_vm1_fixture.vm_ip,
vn1_vm1_fixture =
vn1_vm1_fixture.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/neutron/test_routers.py", line 57, in test_basic_router_behavior
assert vn1_vm1_fixture.wait_till_vm_is_up()
AssertionError
2025-10-11 16:45:40,957 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 16:45:40,957 - INFO -
2025-10-11 16:45:40,957 - INFO - END TEST : test_basic_router_behavior : FAILED[0:00:10]
2025-10-11 16:45:40,957 - INFO - --------------------------------------------------------------------------------
2025-10-11 16:45:41,621 - INFO - Deleted project: ctest-TestRouters-44054082, ID : 5d906486-950f-40e1-a544-5f0a2b5d8f99