2025-09-18 10:17:21,319 - INFO - Domain Default found not creating 2025-09-18 10:17:21,463 - INFO - Project ctest-TestPorts-87940992 not found, creating it 2025-09-18 10:17:21,893 - INFO - Created Project:ctest-TestPorts-87940992, ID : 484b7b23-5020-4894-99cf-6729588b779b 2025-09-18 10:17:23,435 - INFO - ================================================================================ 2025-09-18 10:17:23,435 - INFO - STARTING TEST : test_ports_bindings 2025-09-18 10:17:23,435 - 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-09-18 10:17:23,561 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 10:17:23,561 - INFO - Initial checks done. Running the testcase now 2025-09-18 10:17:23,561 - INFO - 2025-09-18 10:17:24,093 - DEBUG - Response for create_network : {'network': {'id': '08818034-bfe2-4cff-ad0e-8c7a82d33491', 'name': 'ctest-vn-71874069', 'tenant_id': '484b7b235020489499cf6729588b779b', 'project_id': '484b7b235020489499cf6729588b779b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87940992', 'ctest-vn-71874069'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 10:17:24,282 - DEBUG - Response for create_subnet : {'subnet': {'id': '57e0370d-e722-4f95-969b-1d28e50cbf21', 'name': '', 'tenant_id': '484b7b235020489499cf6729588b779b', 'network_id': '08818034-bfe2-4cff-ad0e-8c7a82d33491', 'ip_version': 4, 'cidr': '71.106.202.0/26', 'allocation_pools': [{'start': '71.106.202.2', 'end': '71.106.202.62'}], 'gateway_ip': '71.106.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.106.202.2', 'tags': [], 'project_id': '484b7b235020489499cf6729588b779b'}} 2025-09-18 10:17:24,298 - INFO - Created VN ctest-vn-71874069 2025-09-18 10:17:24,348 - DEBUG - VN ctest-vn-71874069 UUID is 08818034-bfe2-4cff-ad0e-8c7a82d33491 2025-09-18 10:17:24,447 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87940992', 'ctest-vmi-97407963']} 2025-09-18 10:17:24,714 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-97407963', 'id': '884a111a-973d-4aba-b3a7-2542beb19a15', 'tenant_id': '484b7b235020489499cf6729588b779b', 'network_id': '08818034-bfe2-4cff-ad0e-8c7a82d33491', 'mac_address': '02:88:4a:11:1a:97', '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': '71.106.202.3', 'subnet_id': '57e0370d-e722-4f95-969b-1d28e50cbf21'}], 'security_groups': ['95d394be-2c78-4521-a07c-e718b48b83f8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '484b7b235020489499cf6729588b779b'}} 2025-09-18 10:17:24,714 - DEBUG - Created port 884a111a-973d-4aba-b3a7-2542beb19a15 2025-09-18 10:17:24,816 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/884a111a-973d-4aba-b3a7-2542beb19a15 2025-09-18 10:17:25,107 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/884a111a-973d-4aba-b3a7-2542beb19a15 2025-09-18 10:17:25,139 - INFO - VMI 884a111a-973d-4aba-b3a7-2542beb19a15 verification in API Server passed 2025-09-18 10:17:25,221 - DEBUG - Response for delete_port : () 2025-09-18 10:17:25,222 - INFO - Deleted port 884a111a-973d-4aba-b3a7-2542beb19a15 2025-09-18 10:17:25,222 - INFO - Deleting VN ctest-vn-71874069 2025-09-18 10:17:25,323 - DEBUG - Response for deleting network () 2025-09-18 10:17:25,452 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 10:17:25,452 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-18 10:17:25,452 - INFO - -------------------------------------------------------------------------------- 2025-09-18 10:17:25,455 - INFO - ================================================================================ 2025-09-18 10:17:25,456 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-18 10:17:25,456 - 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-09-18 10:17:25,614 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 10:17:25,615 - INFO - Initial checks done. Running the testcase now 2025-09-18 10:17:25,615 - INFO - 2025-09-18 10:17:25,779 - DEBUG - Response for create_network : {'network': {'id': '269fd498-b97f-4709-bacc-443b9e1e1db6', 'name': 'ctest-vn1-94196175', 'tenant_id': '484b7b235020489499cf6729588b779b', 'project_id': '484b7b235020489499cf6729588b779b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87940992', 'ctest-vn1-94196175'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 10:17:25,939 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dce8a605-77fb-4365-97c2-31e2a019fdb3', 'name': '', 'tenant_id': '484b7b235020489499cf6729588b779b', 'network_id': '269fd498-b97f-4709-bacc-443b9e1e1db6', 'ip_version': 4, 'cidr': '138.73.167.128/26', 'allocation_pools': [{'start': '138.73.167.130', 'end': '138.73.167.190'}], 'gateway_ip': '138.73.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.73.167.130', 'tags': [], 'project_id': '484b7b235020489499cf6729588b779b'}} 2025-09-18 10:17:26,101 - DEBUG - Response for create_subnet : {'subnet': {'id': '38fa7ce8-fc6b-46a3-aec1-2e070622012e', 'name': '', 'tenant_id': '484b7b235020489499cf6729588b779b', 'network_id': '269fd498-b97f-4709-bacc-443b9e1e1db6', 'ip_version': 4, 'cidr': '82.106.230.64/26', 'allocation_pools': [{'start': '82.106.230.66', 'end': '82.106.230.126'}], 'gateway_ip': '82.106.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.106.230.66', 'tags': [], 'project_id': '484b7b235020489499cf6729588b779b'}} 2025-09-18 10:17:26,119 - INFO - Created VN ctest-vn1-94196175 2025-09-18 10:17:26,172 - DEBUG - VN ctest-vn1-94196175 UUID is 269fd498-b97f-4709-bacc-443b9e1e1db6 2025-09-18 10:17:26,449 - DEBUG - Response for create_port : {'port': {'name': '387472ce-45a9-46fc-8831-1e4c173e68cc', 'id': '387472ce-45a9-46fc-8831-1e4c173e68cc', 'tenant_id': '484b7b235020489499cf6729588b779b', 'network_id': '269fd498-b97f-4709-bacc-443b9e1e1db6', 'mac_address': '02:38:74:72:ce:45', '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': '138.73.167.133', 'subnet_id': 'dce8a605-77fb-4365-97c2-31e2a019fdb3'}], 'security_groups': ['95d394be-2c78-4521-a07c-e718b48b83f8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '484b7b235020489499cf6729588b779b'}} 2025-09-18 10:17:26,609 - DEBUG - Response for create_port : {'port': {'name': '247b0835-6c4c-4386-ae2b-6c8619c7c764', 'id': '247b0835-6c4c-4386-ae2b-6c8619c7c764', 'tenant_id': '484b7b235020489499cf6729588b779b', 'network_id': '269fd498-b97f-4709-bacc-443b9e1e1db6', 'mac_address': '02:24:7b:08:35:6c', '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': '82.106.230.69', 'subnet_id': '38fa7ce8-fc6b-46a3-aec1-2e070622012e'}], 'security_groups': ['95d394be-2c78-4521-a07c-e718b48b83f8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '484b7b235020489499cf6729588b779b'}} 2025-09-18 10:17:26,705 - DEBUG - Services list from nova: [, , ] 2025-09-18 10:17:27,047 - 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:27,457 - 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:27,457 - INFO - Waiting for VM ctest-vn1-vm1-11106712 to be up.. 2025-09-18 10:17:27,491 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 10:17:32,550 - DEBUG - VM is in ERROR state now 2025-09-18 10:17:32,550 - ERROR - VM in error state. 2025-09-18 10:17:32,550 - ERROR - VM is not in ACTIVE state 2025-09-18 10:17:32,621 - ERROR - Fatal Nova Exception while getting VM detail 2025-09-18 10:17:32,621 - DEBUG - None 2025-09-18 10:17:32,622 - INFO - Skip interface_detach for VM ctest-vn1-vm2-81824089 in state BUILD 2025-09-18 10:17:32,622 - INFO - Deleting VM ctest-vn1-vm2-81824089 2025-09-18 10:17:32,639 - ERROR - VM ctest-vn1-vm2-81824089 has failed to come up 2025-09-18 10:17:32,639 - ERROR - Nova failed to get host of the VM 2025-09-18 10:17:32,787 - INFO - Skip interface_detach for VM ctest-vn1-vm1-11106712 in state ERROR 2025-09-18 10:17:32,787 - INFO - Deleting VM ctest-vn1-vm1-11106712 2025-09-18 10:17:32,787 - ERROR - VM ctest-vn1-vm1-11106712 has failed to come up 2025-09-18 10:17:32,787 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-09-18T10:17:29Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:38:74:72:ce:45,has_traffic_filtering=True,id=387472ce-45a9-46fc-8831-1e4c173e68cc,network=Network(269fd498-b97f-4709-bacc-443b9e1e1db6),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=387472ce-45a9-46fc-8831-1e4c173e68cc\', \'--instance_uuid=1472d1b7-35f2-4c62-aab8-e6e6dcefad53\', \'--vn_uuid=269fd498-b97f-4709-bacc-443b9e1e1db6\', \'--vm_project_uuid=484b7b235020489499cf6729588b779b\', \'--ip_address=138.73.167.133\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-11106712\', \'--mac=02:38:74:72:ce:45\', \'--tap_name=tap387472ce-45\', \'--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:38:74:72:ce:45,has_traffic_filtering=True,id=387472ce-45a9-46fc-8831-1e4c173e68cc,network=Network(269fd498-b97f-4709-bacc-443b9e1e1db6),plugin=\'vrouter\',port_profile=,preserve_on_delete=True,vif_name=\'tap387472ce-45\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=387472ce-45a9-46fc-8831-1e4c173e68cc\', \'--instance_uuid=1472d1b7-35f2-4c62-aab8-e6e6dcefad53\', \'--vn_uuid=269fd498-b97f-4709-bacc-443b9e1e1db6\', \'--vm_project_uuid=484b7b235020489499cf6729588b779b\', \'--ip_address=138.73.167.133\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-11106712\', \'--mac=02:38:74:72:ce:45\', \'--tap_name=tap387472ce-45\', \'--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:38:74:72:ce:45,has_traffic_filtering=True,id=387472ce-45a9-46fc-8831-1e4c173e68cc,network=Network(269fd498-b97f-4709-bacc-443b9e1e1db6),plugin=\'vrouter\',port_profile=,preserve_on_delete=True,vif_name=\'tap387472ce-45\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=387472ce-45a9-46fc-8831-1e4c173e68cc\', \'--instance_uuid=1472d1b7-35f2-4c62-aab8-e6e6dcefad53\', \'--vn_uuid=269fd498-b97f-4709-bacc-443b9e1e1db6\', \'--vm_project_uuid=484b7b235020489499cf6729588b779b\', \'--ip_address=138.73.167.133\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-11106712\', \'--mac=02:38:74:72:ce:45\', \'--tap_name=tap387472ce-45\', \'--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 1472d1b7-35f2-4c62-aab8-e6e6dcefad53 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:38:74:72:ce:45,has_traffic_filtering=True,id=387472ce-45a9-46fc-8831-1e4c173e68cc,network=Network(269fd498-b97f-4709-bacc-443b9e1e1db6),plugin=\'vrouter\',port_profile=,preserve_on_delete=True,vif_name=\'tap387472ce-45\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=387472ce-45a9-46fc-8831-1e4c173e68cc\', \'--instance_uuid=1472d1b7-35f2-4c62-aab8-e6e6dcefad53\', \'--vn_uuid=269fd498-b97f-4709-bacc-443b9e1e1db6\', \'--vm_project_uuid=484b7b235020489499cf6729588b779b\', \'--ip_address=138.73.167.133\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-11106712\', \'--mac=02:38:74:72:ce:45\', \'--tap_name=tap387472ce-45\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'} 2025-09-18 10:17:32,888 - DEBUG - Response for delete_port : () 2025-09-18 10:17:32,982 - DEBUG - Response for delete_port : () 2025-09-18 10:17:32,982 - INFO - Deleting VN ctest-vn1-94196175 2025-09-18 10:17:33,101 - DEBUG - Response for deleting network () 2025-09-18 10:17:33,224 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Thu Sep 18 10:17:32 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-09-18 10:17:33,229 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 10:17:33,229 - INFO -
2025-09-18 10:17:33,230 - INFO - END TEST : test_ports_specific_subnet_ip : FAILED[0:00:08]
2025-09-18 10:17:33,230 - INFO - -------------------------------------------------------------------------------- 2025-09-18 10:17:33,905 - INFO - Deleted project: ctest-TestPorts-87940992, ID : 484b7b23-5020-4894-99cf-6729588b779b