2025-09-18 10:17:34,083 - INFO - Domain Default found not creating 2025-09-18 10:17:34,216 - INFO - Project ctest-TestRouters-10377777 not found, creating it 2025-09-18 10:17:34,648 - INFO - Created Project:ctest-TestRouters-10377777, ID : 404799c8-8d62-4e31-9ea2-0d17c7df307c 2025-09-18 10:17:36,653 - INFO - ================================================================================ 2025-09-18 10:17:36,653 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-18 10:17:36,653 - 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-09-18 10:17:36,778 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 10:17:36,778 - INFO - Initial checks done. Running the testcase now 2025-09-18 10:17:36,778 - INFO - 2025-09-18 10:17:37,304 - DEBUG - Response for create_network : {'network': {'id': 'aa20dac3-75af-40de-9d00-71bf283ec03c', 'name': 'ctest-vn1-24785487', 'tenant_id': '404799c88d624e319ea20d17c7df307c', 'project_id': '404799c88d624e319ea20d17c7df307c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10377777', 'ctest-vn1-24785487'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 10:17:37,446 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca87badc-d7ac-4ba9-bc1f-48c522789a6f', 'name': '', 'tenant_id': '404799c88d624e319ea20d17c7df307c', 'network_id': 'aa20dac3-75af-40de-9d00-71bf283ec03c', 'ip_version': 4, 'cidr': '187.86.61.0/26', 'allocation_pools': [{'start': '187.86.61.2', 'end': '187.86.61.62'}], 'gateway_ip': '187.86.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.86.61.2', 'tags': [], 'project_id': '404799c88d624e319ea20d17c7df307c'}} 2025-09-18 10:17:37,465 - INFO - Created VN ctest-vn1-24785487 2025-09-18 10:17:37,516 - DEBUG - VN ctest-vn1-24785487 UUID is aa20dac3-75af-40de-9d00-71bf283ec03c 2025-09-18 10:17:37,820 - DEBUG - Response for create_network : {'network': {'id': '52bff137-bc71-44f2-8d16-13e7786161de', 'name': 'ctest-vn2-01415014', 'tenant_id': '404799c88d624e319ea20d17c7df307c', 'project_id': '404799c88d624e319ea20d17c7df307c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10377777', 'ctest-vn2-01415014'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 10:17:38,016 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed26c6a3-8ac8-4ed0-8fe0-a96894572833', 'name': '', 'tenant_id': '404799c88d624e319ea20d17c7df307c', 'network_id': '52bff137-bc71-44f2-8d16-13e7786161de', 'ip_version': 4, 'cidr': '150.6.112.128/26', 'allocation_pools': [{'start': '150.6.112.130', 'end': '150.6.112.190'}], 'gateway_ip': '150.6.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.6.112.130', 'tags': [], 'project_id': '404799c88d624e319ea20d17c7df307c'}} 2025-09-18 10:17:38,031 - INFO - Created VN ctest-vn2-01415014 2025-09-18 10:17:38,084 - DEBUG - VN ctest-vn2-01415014 UUID is 52bff137-bc71-44f2-8d16-13e7786161de 2025-09-18 10:17:38,324 - DEBUG - Services list from nova: [, , ] 2025-09-18 10:17:39,384 - 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:17:40,586 - 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:17:40,659 - INFO - Adding interface with subnet_id ca87badc-d7ac-4ba9-bc1f-48c522789a6f, port_id None to router 8c1650eb-f300-4765-975d-f199d9eab637 2025-09-18 10:17:40,879 - INFO - Waiting for VM ctest-vn1-vm1-21206502 to be up.. 2025-09-18 10:17:40,932 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 10:17:45,987 - DEBUG - VM is in ERROR state now 2025-09-18 10:17:45,987 - ERROR - VM in error state. 2025-09-18 10:17:45,987 - ERROR - VM is not in ACTIVE state 2025-09-18 10:17:46,073 - ERROR - Fatal Nova Exception while getting VM detail 2025-09-18 10:17:46,073 - DEBUG - None 2025-09-18 10:17:46,074 - INFO - Deleting interface with subnet_id ca87badc-d7ac-4ba9-bc1f-48c522789a6f, port_id None from router 8c1650eb-f300-4765-975d-f199d9eab637 2025-09-18 10:17:46,239 - INFO - Skip interface_detach for VM ctest-vn2-vm1-08482177 in state BUILD 2025-09-18 10:17:46,239 - INFO - Deleting VM ctest-vn2-vm1-08482177 2025-09-18 10:17:46,263 - ERROR - VM ctest-vn2-vm1-08482177 has failed to come up 2025-09-18 10:17:46,263 - ERROR - Nova failed to get host of the VM 2025-09-18 10:17:46,423 - INFO - Skip interface_detach for VM ctest-vn1-vm1-21206502 in state ERROR 2025-09-18 10:17:46,423 - INFO - Deleting VM ctest-vn1-vm1-21206502 2025-09-18 10:17:46,423 - ERROR - VM ctest-vn1-vm1-21206502 has failed to come up 2025-09-18 10:17:46,423 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-09-18T10:17:40Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:22:df:c1:a0:e5,has_traffic_filtering=True,id=22dfc1a0-e5a7-4b4f-b550-c8d16b18375d,network=Network(aa20dac3-75af-40de-9d00-71bf283ec03c),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=22dfc1a0-e5a7-4b4f-b550-c8d16b18375d\', \'--instance_uuid=9ffbee11-d578-43df-8aa9-9ef79ba1d018\', \'--vn_uuid=aa20dac3-75af-40de-9d00-71bf283ec03c\', \'--vm_project_uuid=404799c88d624e319ea20d17c7df307c\', \'--ip_address=187.86.61.3\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-21206502\', \'--mac=02:22:df:c1:a0:e5\', \'--tap_name=tap22dfc1a0-e5\', \'--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:22:df:c1:a0:e5,has_traffic_filtering=True,id=22dfc1a0-e5a7-4b4f-b550-c8d16b18375d,network=Network(aa20dac3-75af-40de-9d00-71bf283ec03c),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tap22dfc1a0-e5\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=22dfc1a0-e5a7-4b4f-b550-c8d16b18375d\', \'--instance_uuid=9ffbee11-d578-43df-8aa9-9ef79ba1d018\', \'--vn_uuid=aa20dac3-75af-40de-9d00-71bf283ec03c\', \'--vm_project_uuid=404799c88d624e319ea20d17c7df307c\', \'--ip_address=187.86.61.3\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-21206502\', \'--mac=02:22:df:c1:a0:e5\', \'--tap_name=tap22dfc1a0-e5\', \'--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:22:df:c1:a0:e5,has_traffic_filtering=True,id=22dfc1a0-e5a7-4b4f-b550-c8d16b18375d,network=Network(aa20dac3-75af-40de-9d00-71bf283ec03c),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tap22dfc1a0-e5\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=22dfc1a0-e5a7-4b4f-b550-c8d16b18375d\', \'--instance_uuid=9ffbee11-d578-43df-8aa9-9ef79ba1d018\', \'--vn_uuid=aa20dac3-75af-40de-9d00-71bf283ec03c\', \'--vm_project_uuid=404799c88d624e319ea20d17c7df307c\', \'--ip_address=187.86.61.3\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-21206502\', \'--mac=02:22:df:c1:a0:e5\', \'--tap_name=tap22dfc1a0-e5\', \'--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 9ffbee11-d578-43df-8aa9-9ef79ba1d018 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:22:df:c1:a0:e5,has_traffic_filtering=True,id=22dfc1a0-e5a7-4b4f-b550-c8d16b18375d,network=Network(aa20dac3-75af-40de-9d00-71bf283ec03c),plugin=\'vrouter\',port_profile=,preserve_on_delete=False,vif_name=\'tap22dfc1a0-e5\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=22dfc1a0-e5a7-4b4f-b550-c8d16b18375d\', \'--instance_uuid=9ffbee11-d578-43df-8aa9-9ef79ba1d018\', \'--vn_uuid=aa20dac3-75af-40de-9d00-71bf283ec03c\', \'--vm_project_uuid=404799c88d624e319ea20d17c7df307c\', \'--ip_address=187.86.61.3\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-21206502\', \'--mac=02:22:df:c1:a0:e5\', \'--tap_name=tap22dfc1a0-e5\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'} 2025-09-18 10:17:46,424 - INFO - Deleting VN ctest-vn2-01415014 2025-09-18 10:17:46,523 - DEBUG - Response for deleting network () 2025-09-18 10:17:46,524 - INFO - Deleting VN ctest-vn1-24785487 2025-09-18 10:17:46,624 - DEBUG - Response for deleting network () 2025-09-18 10:17:46,744 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Thu Sep 18 10:17:46 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-09-18 10:17:46,750 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 10:17:46,750 - INFO -
2025-09-18 10:17:46,750 - INFO - END TEST : test_basic_router_behavior : FAILED[0:00:10]
2025-09-18 10:17:46,750 - INFO - -------------------------------------------------------------------------------- 2025-09-18 10:17:47,415 - INFO - Deleted project: ctest-TestRouters-10377777, ID : 404799c8-8d62-4e31-9ea2-0d17c7df307c