2025-10-10 12:01:40,409 - INFO - Domain Default found not creating 2025-10-10 12:01:40,608 - INFO - Project ctest-TestRouters-16183677 not found, creating it 2025-10-10 12:01:41,130 - INFO - Created Project:ctest-TestRouters-16183677, ID : 8bf6b5ff-5a34-484b-9efd-a17a6184d60a 2025-10-10 12:01:42,852 - INFO - ================================================================================ 2025-10-10 12:01:42,852 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-10 12:01:42,853 - 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-10 12:01:42,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-10-10 12:01:42,998 - INFO - Initial checks done. Running the testcase now 2025-10-10 12:01:42,998 - INFO - 2025-10-10 12:01:43,641 - DEBUG - Response for create_network : {'network': {'id': 'ed10ef6b-c3cc-4c66-9362-e91f7045a451', 'name': 'ctest-vn1-04073716', 'tenant_id': '8bf6b5ff5a34484b9efda17a6184d60a', 'project_id': '8bf6b5ff5a34484b9efda17a6184d60a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16183677', 'ctest-vn1-04073716'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 12:01:43,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '9deecba1-5daf-4c0c-85c5-c342f3a0193d', 'name': '', 'tenant_id': '8bf6b5ff5a34484b9efda17a6184d60a', 'network_id': 'ed10ef6b-c3cc-4c66-9362-e91f7045a451', 'ip_version': 4, 'cidr': '121.203.37.64/26', 'allocation_pools': [{'start': '121.203.37.66', 'end': '121.203.37.126'}], 'gateway_ip': '121.203.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.203.37.66', 'tags': [], 'project_id': '8bf6b5ff5a34484b9efda17a6184d60a'}} 2025-10-10 12:01:43,900 - INFO - Created VN ctest-vn1-04073716 2025-10-10 12:01:43,955 - DEBUG - VN ctest-vn1-04073716 UUID is ed10ef6b-c3cc-4c66-9362-e91f7045a451 2025-10-10 12:01:44,290 - DEBUG - Response for create_network : {'network': {'id': '5f176bf8-9c01-4ae5-88c9-3ddd66b1ce55', 'name': 'ctest-vn2-73225971', 'tenant_id': '8bf6b5ff5a34484b9efda17a6184d60a', 'project_id': '8bf6b5ff5a34484b9efda17a6184d60a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16183677', 'ctest-vn2-73225971'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 12:01:44,511 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd004e816-591b-4285-beaa-0bab265be06f', 'name': '', 'tenant_id': '8bf6b5ff5a34484b9efda17a6184d60a', 'network_id': '5f176bf8-9c01-4ae5-88c9-3ddd66b1ce55', 'ip_version': 4, 'cidr': '66.156.242.192/26', 'allocation_pools': [{'start': '66.156.242.194', 'end': '66.156.242.254'}], 'gateway_ip': '66.156.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.156.242.194', 'tags': [], 'project_id': '8bf6b5ff5a34484b9efda17a6184d60a'}} 2025-10-10 12:01:44,534 - INFO - Created VN ctest-vn2-73225971 2025-10-10 12:01:44,587 - DEBUG - VN ctest-vn2-73225971 UUID is 5f176bf8-9c01-4ae5-88c9-3ddd66b1ce55 2025-10-10 12:01:44,846 - DEBUG - Services list from nova: [, , ] 2025-10-10 12:01:46,062 - 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:01:47,480 - 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:01:47,574 - INFO - Adding interface with subnet_id 9deecba1-5daf-4c0c-85c5-c342f3a0193d, port_id None to router 95c126b5-4717-41e5-80bb-cfb642f57747 2025-10-10 12:01:48,015 - INFO - Waiting for VM ctest-vn1-vm1-83896218 to be up.. 2025-10-10 12:01:48,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-10 12:01:53,187 - DEBUG - VM is in ERROR state now 2025-10-10 12:01:53,188 - ERROR - VM in error state. 2025-10-10 12:01:53,188 - ERROR - VM is not in ACTIVE state 2025-10-10 12:01:53,292 - ERROR - Fatal Nova Exception while getting VM detail 2025-10-10 12:01:53,292 - DEBUG - None 2025-10-10 12:01:53,294 - INFO - Deleting interface with subnet_id 9deecba1-5daf-4c0c-85c5-c342f3a0193d, port_id None from router 95c126b5-4717-41e5-80bb-cfb642f57747 2025-10-10 12:01:53,503 - INFO - Skip interface_detach for VM ctest-vn2-vm1-02576301 in state BUILD 2025-10-10 12:01:53,503 - INFO - Deleting VM ctest-vn2-vm1-02576301 2025-10-10 12:01:53,529 - ERROR - VM ctest-vn2-vm1-02576301 has failed to come up 2025-10-10 12:01:53,529 - ERROR - Nova failed to get host of the VM 2025-10-10 12:01:53,736 - INFO - Skip interface_detach for VM ctest-vn1-vm1-83896218 in state ERROR 2025-10-10 12:01:53,736 - INFO - Deleting VM ctest-vn1-vm1-83896218 2025-10-10 12:01:53,736 - ERROR - VM ctest-vn1-vm1-83896218 has failed to come up 2025-10-10 12:01:53,736 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-10T12:01:48Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:05:b8:57:2f:eb,has_traffic_filtering=True,id=05b8572f-eb39-4463-867c-0c812e7c34ea,network=Network(ed10ef6b-c3cc-4c66-9362-e91f7045a451),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=05b8572f-eb39-4463-867c-0c812e7c34ea\', \'--instance_uuid=da700dd2-baf0-4655-b5b2-99c2bac16384\', \'--vn_uuid=ed10ef6b-c3cc-4c66-9362-e91f7045a451\', \'--vm_project_uuid=8bf6b5ff5a34484b9efda17a6184d60a\', \'--ip_address=121.203.37.67\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-83896218\', \'--mac=02:05:b8:57:2f:eb\', \'--tap_name=tap05b8572f-eb\', \'--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:05:b8:57:2f:eb,has_traffic_filtering=True,id=05b8572f-eb39-4463-867c-0c812e7c34ea,network=Network(ed10ef6b-c3cc-4c66-9362-e91f7045a451),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tap05b8572f-eb\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=05b8572f-eb39-4463-867c-0c812e7c34ea\', \'--instance_uuid=da700dd2-baf0-4655-b5b2-99c2bac16384\', \'--vn_uuid=ed10ef6b-c3cc-4c66-9362-e91f7045a451\', \'--vm_project_uuid=8bf6b5ff5a34484b9efda17a6184d60a\', \'--ip_address=121.203.37.67\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-83896218\', \'--mac=02:05:b8:57:2f:eb\', \'--tap_name=tap05b8572f-eb\', \'--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:05:b8:57:2f:eb,has_traffic_filtering=True,id=05b8572f-eb39-4463-867c-0c812e7c34ea,network=Network(ed10ef6b-c3cc-4c66-9362-e91f7045a451),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tap05b8572f-eb\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=05b8572f-eb39-4463-867c-0c812e7c34ea\', \'--instance_uuid=da700dd2-baf0-4655-b5b2-99c2bac16384\', \'--vn_uuid=ed10ef6b-c3cc-4c66-9362-e91f7045a451\', \'--vm_project_uuid=8bf6b5ff5a34484b9efda17a6184d60a\', \'--ip_address=121.203.37.67\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-83896218\', \'--mac=02:05:b8:57:2f:eb\', \'--tap_name=tap05b8572f-eb\', \'--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 da700dd2-baf0-4655-b5b2-99c2bac16384 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:05:b8:57:2f:eb,has_traffic_filtering=True,id=05b8572f-eb39-4463-867c-0c812e7c34ea,network=Network(ed10ef6b-c3cc-4c66-9362-e91f7045a451),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tap05b8572f-eb\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=05b8572f-eb39-4463-867c-0c812e7c34ea\', \'--instance_uuid=da700dd2-baf0-4655-b5b2-99c2bac16384\', \'--vn_uuid=ed10ef6b-c3cc-4c66-9362-e91f7045a451\', \'--vm_project_uuid=8bf6b5ff5a34484b9efda17a6184d60a\', \'--ip_address=121.203.37.67\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-83896218\', \'--mac=02:05:b8:57:2f:eb\', \'--tap_name=tap05b8572f-eb\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'} 2025-10-10 12:01:53,736 - INFO - Deleting VN ctest-vn2-73225971 2025-10-10 12:01:53,864 - DEBUG - Response for deleting network () 2025-10-10 12:01:53,864 - INFO - Deleting VN ctest-vn1-04073716 2025-10-10 12:01:53,984 - DEBUG - Response for deleting network () 2025-10-10 12:01:54,108 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Fri Oct 10 12:01:53 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-10 12:01:54,114 - DEBUG - No XMPP flaps were noticed during the test 2025-10-10 12:01:54,114 - INFO -
2025-10-10 12:01:54,115 - INFO - END TEST : test_basic_router_behavior : FAILED[0:00:12]
2025-10-10 12:01:54,115 - INFO - -------------------------------------------------------------------------------- 2025-10-10 12:01:54,865 - INFO - Deleted project: ctest-TestRouters-16183677, ID : 8bf6b5ff-5a34-484b-9efd-a17a6184d60a