2025-10-11 16:45:15,276 - INFO - Domain Default found not creating 2025-10-11 16:45:15,424 - INFO - Project ctest-TestPorts-42364859 not found, creating it 2025-10-11 16:45:15,870 - INFO - Created Project:ctest-TestPorts-42364859, ID : 878ba007-e6f4-4671-8d9d-921aad929708 2025-10-11 16:45:17,392 - INFO - ================================================================================ 2025-10-11 16:45:17,392 - INFO - STARTING TEST : test_ports_bindings 2025-10-11 16:45:17,392 - INFO - TEST DESCRIPTION : Verify that we are able to create a port with custom port bindings Steps: 1) Create Port with Port bindings profile set to {'foo': 'bar'} 2) Retrieve and verify the same is set 2025-10-11 16:45:17,520 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-11 16:45:17,520 - INFO - Initial checks done. Running the testcase now 2025-10-11 16:45:17,520 - INFO - 2025-10-11 16:45:18,070 - DEBUG - Response for create_network : {'network': {'id': '3120f024-db61-42c1-9dec-9b01c3a95c91', 'name': 'ctest-vn-23020673', 'tenant_id': '878ba007e6f446718d9d921aad929708', 'project_id': '878ba007e6f446718d9d921aad929708', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42364859', 'ctest-vn-23020673'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 16:45:18,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '08aa0ac7-c981-42e7-868e-090a0fb3bbbe', 'name': '', 'tenant_id': '878ba007e6f446718d9d921aad929708', 'network_id': '3120f024-db61-42c1-9dec-9b01c3a95c91', 'ip_version': 4, 'cidr': '123.239.248.64/26', 'allocation_pools': [{'start': '123.239.248.66', 'end': '123.239.248.126'}], 'gateway_ip': '123.239.248.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.239.248.66', 'tags': [], 'project_id': '878ba007e6f446718d9d921aad929708'}} 2025-10-11 16:45:18,259 - INFO - Created VN ctest-vn-23020673 2025-10-11 16:45:18,310 - DEBUG - VN ctest-vn-23020673 UUID is 3120f024-db61-42c1-9dec-9b01c3a95c91 2025-10-11 16:45:18,418 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42364859', 'ctest-vmi-73849777']} 2025-10-11 16:45:18,685 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-73849777', 'id': '195eadab-29bf-43f3-a26c-5346910c2dfb', 'tenant_id': '878ba007e6f446718d9d921aad929708', 'network_id': '3120f024-db61-42c1-9dec-9b01c3a95c91', 'mac_address': '02:19:5e:ad:ab:29', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '123.239.248.67', 'subnet_id': '08aa0ac7-c981-42e7-868e-090a0fb3bbbe'}], 'security_groups': ['5791aa6b-f050-4ba3-bbf1-3ae8286e1830'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '878ba007e6f446718d9d921aad929708'}} 2025-10-11 16:45:18,685 - DEBUG - Created port 195eadab-29bf-43f3-a26c-5346910c2dfb 2025-10-11 16:45:18,790 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/195eadab-29bf-43f3-a26c-5346910c2dfb 2025-10-11 16:45:19,080 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/195eadab-29bf-43f3-a26c-5346910c2dfb 2025-10-11 16:45:19,112 - INFO - VMI 195eadab-29bf-43f3-a26c-5346910c2dfb verification in API Server passed 2025-10-11 16:45:19,192 - DEBUG - Response for delete_port : () 2025-10-11 16:45:19,192 - INFO - Deleted port 195eadab-29bf-43f3-a26c-5346910c2dfb 2025-10-11 16:45:19,192 - INFO - Deleting VN ctest-vn-23020673 2025-10-11 16:45:19,290 - DEBUG - Response for deleting network () 2025-10-11 16:45:19,412 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 16:45:19,412 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-11 16:45:19,412 - INFO - -------------------------------------------------------------------------------- 2025-10-11 16:45:19,414 - INFO - ================================================================================ 2025-10-11 16:45:19,415 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-11 16:45:19,415 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP Create two ports in a VN with 2 subnets and specific IPs Attach to two VMs Ping between them should pass 2025-10-11 16:45:19,575 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-11 16:45:19,576 - INFO - Initial checks done. Running the testcase now 2025-10-11 16:45:19,576 - INFO - 2025-10-11 16:45:19,758 - DEBUG - Response for create_network : {'network': {'id': 'ee1fbde8-c132-462e-a0f3-60455b467743', 'name': 'ctest-vn1-36418934', 'tenant_id': '878ba007e6f446718d9d921aad929708', 'project_id': '878ba007e6f446718d9d921aad929708', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42364859', 'ctest-vn1-36418934'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 16:45:19,919 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed832a84-e221-4d07-af84-5eff23885365', 'name': '', 'tenant_id': '878ba007e6f446718d9d921aad929708', 'network_id': 'ee1fbde8-c132-462e-a0f3-60455b467743', 'ip_version': 4, 'cidr': '103.28.74.64/26', 'allocation_pools': [{'start': '103.28.74.66', 'end': '103.28.74.126'}], 'gateway_ip': '103.28.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.28.74.66', 'tags': [], 'project_id': '878ba007e6f446718d9d921aad929708'}} 2025-10-11 16:45:20,126 - DEBUG - Response for create_subnet : {'subnet': {'id': '36a0b075-5790-42a1-893b-f9d0f56ca4b8', 'name': '', 'tenant_id': '878ba007e6f446718d9d921aad929708', 'network_id': 'ee1fbde8-c132-462e-a0f3-60455b467743', 'ip_version': 4, 'cidr': '62.124.177.64/26', 'allocation_pools': [{'start': '62.124.177.66', 'end': '62.124.177.126'}], 'gateway_ip': '62.124.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.124.177.66', 'tags': [], 'project_id': '878ba007e6f446718d9d921aad929708'}} 2025-10-11 16:45:20,145 - INFO - Created VN ctest-vn1-36418934 2025-10-11 16:45:20,198 - DEBUG - VN ctest-vn1-36418934 UUID is ee1fbde8-c132-462e-a0f3-60455b467743 2025-10-11 16:45:20,506 - DEBUG - Response for create_port : {'port': {'name': 'ca491aa1-95ab-4862-aa44-d8d239de779f', 'id': 'ca491aa1-95ab-4862-aa44-d8d239de779f', 'tenant_id': '878ba007e6f446718d9d921aad929708', 'network_id': 'ee1fbde8-c132-462e-a0f3-60455b467743', 'mac_address': '02:ca:49:1a:a1:95', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '103.28.74.69', 'subnet_id': 'ed832a84-e221-4d07-af84-5eff23885365'}], 'security_groups': ['5791aa6b-f050-4ba3-bbf1-3ae8286e1830'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '878ba007e6f446718d9d921aad929708'}} 2025-10-11 16:45:20,668 - DEBUG - Response for create_port : {'port': {'name': 'da5c29b0-7102-45ab-acef-f21b93ae40ad', 'id': 'da5c29b0-7102-45ab-acef-f21b93ae40ad', 'tenant_id': '878ba007e6f446718d9d921aad929708', 'network_id': 'ee1fbde8-c132-462e-a0f3-60455b467743', 'mac_address': '02:da:5c:29:b0:71', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '62.124.177.69', 'subnet_id': '36a0b075-5790-42a1-893b-f9d0f56ca4b8'}], 'security_groups': ['5791aa6b-f050-4ba3-bbf1-3ae8286e1830'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '878ba007e6f446718d9d921aad929708'}} 2025-10-11 16:45:20,768 - DEBUG - Services list from nova: [, , ] 2025-10-11 16:45:21,119 - 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:21,549 - 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:21,549 - INFO - Waiting for VM ctest-vn1-vm1-51571543 to be up.. 2025-10-11 16:45:21,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-11 16:45:26,643 - DEBUG - VM is in ERROR state now 2025-10-11 16:45:26,643 - ERROR - VM in error state. 2025-10-11 16:45:26,643 - ERROR - VM is not in ACTIVE state 2025-10-11 16:45:26,726 - ERROR - Fatal Nova Exception while getting VM detail 2025-10-11 16:45:26,726 - DEBUG - None 2025-10-11 16:45:26,727 - INFO - Skip interface_detach for VM ctest-vn1-vm2-08018141 in state BUILD 2025-10-11 16:45:26,728 - INFO - Deleting VM ctest-vn1-vm2-08018141 2025-10-11 16:45:26,746 - ERROR - VM ctest-vn1-vm2-08018141 has failed to come up 2025-10-11 16:45:26,746 - ERROR - Nova failed to get host of the VM 2025-10-11 16:45:26,958 - INFO - Skip interface_detach for VM ctest-vn1-vm1-51571543 in state ERROR 2025-10-11 16:45:26,958 - INFO - Deleting VM ctest-vn1-vm1-51571543 2025-10-11 16:45:26,958 - ERROR - VM ctest-vn1-vm1-51571543 has failed to come up 2025-10-11 16:45:26,958 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-11T16:45:23Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:ca:49:1a:a1:95,has_traffic_filtering=True,id=ca491aa1-95ab-4862-aa44-d8d239de779f,network=Network(ee1fbde8-c132-462e-a0f3-60455b467743),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=ca491aa1-95ab-4862-aa44-d8d239de779f\', \'--instance_uuid=fdb40932-0aba-419f-a5fe-7c7c8cae4180\', \'--vn_uuid=ee1fbde8-c132-462e-a0f3-60455b467743\', \'--vm_project_uuid=878ba007e6f446718d9d921aad929708\', \'--ip_address=103.28.74.69\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-51571543\', \'--mac=02:ca:49:1a:a1:95\', \'--tap_name=tapca491aa1-95\', \'--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:ca:49:1a:a1:95,has_traffic_filtering=True,id=ca491aa1-95ab-4862-aa44-d8d239de779f,network=Network(ee1fbde8-c132-462e-a0f3-60455b467743),plugin=\'vrouter\',port_profile=,preserve_on_delete=True,vif_name=\'tapca491aa1-95\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=ca491aa1-95ab-4862-aa44-d8d239de779f\', \'--instance_uuid=fdb40932-0aba-419f-a5fe-7c7c8cae4180\', \'--vn_uuid=ee1fbde8-c132-462e-a0f3-60455b467743\', \'--vm_project_uuid=878ba007e6f446718d9d921aad929708\', \'--ip_address=103.28.74.69\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-51571543\', \'--mac=02:ca:49:1a:a1:95\', \'--tap_name=tapca491aa1-95\', \'--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:ca:49:1a:a1:95,has_traffic_filtering=True,id=ca491aa1-95ab-4862-aa44-d8d239de779f,network=Network(ee1fbde8-c132-462e-a0f3-60455b467743),plugin=\'vrouter\',port_profile=,preserve_on_delete=True,vif_name=\'tapca491aa1-95\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=ca491aa1-95ab-4862-aa44-d8d239de779f\', \'--instance_uuid=fdb40932-0aba-419f-a5fe-7c7c8cae4180\', \'--vn_uuid=ee1fbde8-c132-462e-a0f3-60455b467743\', \'--vm_project_uuid=878ba007e6f446718d9d921aad929708\', \'--ip_address=103.28.74.69\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-51571543\', \'--mac=02:ca:49:1a:a1:95\', \'--tap_name=tapca491aa1-95\', \'--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 fdb40932-0aba-419f-a5fe-7c7c8cae4180 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:ca:49:1a:a1:95,has_traffic_filtering=True,id=ca491aa1-95ab-4862-aa44-d8d239de779f,network=Network(ee1fbde8-c132-462e-a0f3-60455b467743),plugin=\'vrouter\',port_profile=,preserve_on_delete=True,vif_name=\'tapca491aa1-95\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=ca491aa1-95ab-4862-aa44-d8d239de779f\', \'--instance_uuid=fdb40932-0aba-419f-a5fe-7c7c8cae4180\', \'--vn_uuid=ee1fbde8-c132-462e-a0f3-60455b467743\', \'--vm_project_uuid=878ba007e6f446718d9d921aad929708\', \'--ip_address=103.28.74.69\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-51571543\', \'--mac=02:ca:49:1a:a1:95\', \'--tap_name=tapca491aa1-95\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'} 2025-10-11 16:45:27,076 - DEBUG - Response for delete_port : () 2025-10-11 16:45:27,198 - DEBUG - Response for delete_port : () 2025-10-11 16:45:27,198 - INFO - Deleting VN ctest-vn1-36418934 2025-10-11 16:45:27,314 - DEBUG - Response for deleting network () 2025-10-11 16:45:27,430 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Sat Oct 11 16:45:26 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_ports.py in test_ports_specific_subnet_ip(self=) 173 image_name='cirros', 174 port_ids=[port2_obj['id']]) 175 assert vm1_fixture.wait_till_vm_is_up() 176 assert vm2_fixture.wait_till_vm_is_up() 177 self.assertEqual(vm1_fixture.vm_ip, vm1_fixture = 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_ports.py", line 175, in test_ports_specific_subnet_ip assert vm1_fixture.wait_till_vm_is_up() AssertionError 2025-10-11 16:45:27,436 - DEBUG - No XMPP flaps were noticed during the test 2025-10-11 16:45:27,436 - INFO -
2025-10-11 16:45:27,436 - INFO - END TEST : test_ports_specific_subnet_ip : FAILED[0:00:08]
2025-10-11 16:45:27,437 - INFO - -------------------------------------------------------------------------------- 2025-10-11 16:45:28,113 - INFO - Deleted project: ctest-TestPorts-42364859, ID : 878ba007-e6f4-4671-8d9d-921aad929708