2025-08-27 14:15:49,167 - INFO - Domain Default found not creating 2025-08-27 14:15:49,309 - INFO - Project ctest-TestPorts-89628936 not found, creating it 2025-08-27 14:15:49,749 - INFO - Created Project:ctest-TestPorts-89628936, ID : 2ddfd087-fa48-4007-ae47-31b99fe0be25 2025-08-27 14:15:51,201 - INFO - ================================================================================ 2025-08-27 14:15:51,201 - INFO - STARTING TEST : test_ports_bindings 2025-08-27 14:15:51,201 - 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-08-27 14:15:51,325 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-27 14:15:51,325 - INFO - Initial checks done. Running the testcase now 2025-08-27 14:15:51,325 - INFO - 2025-08-27 14:15:51,857 - DEBUG - Response for create_network : {'network': {'id': '222e5ea7-f665-4246-a053-b7a197f57ee8', 'name': 'ctest-vn-08240049', 'tenant_id': '2ddfd087fa484007ae4731b99fe0be25', 'project_id': '2ddfd087fa484007ae4731b99fe0be25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89628936', 'ctest-vn-08240049'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 14:15:51,981 - ERROR - Neutron Exception while creating subnet for vn with id 222e5ea7-f665-4246-a053-b7a197f57ee8 Traceback (most recent call last): File "/contrail-test/fixtures/quantum_test.py", line 128, in create_subnet subnet_rsp = self.obj.create_subnet({'subnet': subnet_req}) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 848, in create_subnet return self.post(self.subnets_path, body=body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 358, in post return self.do_request("POST", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20 raise client_exc(message=error_message, neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-1f70123d-00f2-4147-9b41-cd1f8a5979f5'] 2025-08-27 14:15:51,996 - INFO - Created VN ctest-vn-08240049 2025-08-27 14:15:52,047 - DEBUG - VN ctest-vn-08240049 UUID is 222e5ea7-f665-4246-a053-b7a197f57ee8 2025-08-27 14:15:52,126 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89628936', 'ctest-vmi-34140283']} 2025-08-27 14:15:52,344 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-34140283', 'id': '43be763d-9f15-4661-b8c3-e5ebc8c27942', 'tenant_id': '2ddfd087fa484007ae4731b99fe0be25', 'network_id': '222e5ea7-f665-4246-a053-b7a197f57ee8', 'mac_address': '02:43:be:76:3d:9f', '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': [], 'security_groups': ['e02852af-06fc-464e-a111-86942adf644d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ddfd087fa484007ae4731b99fe0be25'}} 2025-08-27 14:15:52,344 - DEBUG - Created port 43be763d-9f15-4661-b8c3-e5ebc8c27942 2025-08-27 14:15:52,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/43be763d-9f15-4661-b8c3-e5ebc8c27942 2025-08-27 14:15:52,688 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/43be763d-9f15-4661-b8c3-e5ebc8c27942 2025-08-27 14:15:52,718 - INFO - VMI 43be763d-9f15-4661-b8c3-e5ebc8c27942 verification in API Server passed 2025-08-27 14:15:52,772 - DEBUG - Response for delete_port : () 2025-08-27 14:15:52,772 - INFO - Deleted port 43be763d-9f15-4661-b8c3-e5ebc8c27942 2025-08-27 14:15:52,772 - INFO - Deleting VN ctest-vn-08240049 2025-08-27 14:15:52,844 - DEBUG - Response for deleting network () 2025-08-27 14:15:52,974 - DEBUG - No XMPP flaps were noticed during the test
2025-08-27 14:15:52,975 - INFO - END TEST : test_ports_bindings : PASSED[0:00:01]
2025-08-27 14:15:52,975 - INFO - -------------------------------------------------------------------------------- 2025-08-27 14:15:52,978 - INFO - ================================================================================ 2025-08-27 14:15:52,978 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-27 14:15:52,978 - 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-08-27 14:15:53,133 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-27 14:15:53,133 - INFO - Initial checks done. Running the testcase now 2025-08-27 14:15:53,133 - INFO - 2025-08-27 14:15:53,306 - DEBUG - Response for create_network : {'network': {'id': '3e966adc-2a30-43f3-9ca9-0375dad8d2c3', 'name': 'ctest-vn1-23777223', 'tenant_id': '2ddfd087fa484007ae4731b99fe0be25', 'project_id': '2ddfd087fa484007ae4731b99fe0be25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89628936', 'ctest-vn1-23777223'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 14:15:53,471 - ERROR - Neutron Exception while creating subnet for vn with id 3e966adc-2a30-43f3-9ca9-0375dad8d2c3 Traceback (most recent call last): File "/contrail-test/fixtures/quantum_test.py", line 128, in create_subnet subnet_rsp = self.obj.create_subnet({'subnet': subnet_req}) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 848, in create_subnet return self.post(self.subnets_path, body=body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 358, in post return self.do_request("POST", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20 raise client_exc(message=error_message, neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-c468d20c-1a46-405e-b24c-61675c68ce71'] 2025-08-27 14:15:53,655 - ERROR - Neutron Exception while creating subnet for vn with id 3e966adc-2a30-43f3-9ca9-0375dad8d2c3 Traceback (most recent call last): File "/contrail-test/fixtures/quantum_test.py", line 128, in create_subnet subnet_rsp = self.obj.create_subnet({'subnet': subnet_req}) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 848, in create_subnet return self.post(self.subnets_path, body=body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 358, in post return self.do_request("POST", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20 raise client_exc(message=error_message, neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-cb4837f6-31fa-42ae-b36f-c63ad091fa6a'] 2025-08-27 14:15:53,675 - INFO - Created VN ctest-vn1-23777223 2025-08-27 14:15:53,727 - DEBUG - VN ctest-vn1-23777223 UUID is 3e966adc-2a30-43f3-9ca9-0375dad8d2c3 2025-08-27 14:15:53,812 - INFO - Deleting VN ctest-vn1-23777223 2025-08-27 14:15:53,881 - DEBUG - Response for deleting network () 2025-08-27 14:15:54,007 - ERROR - IndexError Python 3.9.21: /usr/bin/python3 Wed Aug 27 14:15: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_ports.py in test_ports_specific_subnet_ip(self=) 157 vn1_vm2_name = get_random_name('vn1-vm2') 158 vn1_fixture = self.create_vn(vn1_name, [vn1_subnet_1, vn1_subnet_2]) 159 vn1_subnet1_id = vn1_fixture.vn_subnet_objs[0]['id'] 160 vn1_subnet2_id = vn1_fixture.vn_subnet_objs[1]['id'] 161 vn1_subnet1_ip = get_an_ip(vn1_fixture.vn_subnet_objs[0]['cidr'], 5) vn1_subnet1_id undefined vn1_fixture = vn1_fixture.vn_subnet_objs = [] IndexError: list index out of range __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Sequence index out of range.' __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 = ('list index out of range',) 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 159, in test_ports_specific_subnet_ip vn1_subnet1_id = vn1_fixture.vn_subnet_objs[0]['id'] IndexError: list index out of range 2025-08-27 14:15:54,013 - DEBUG - No XMPP flaps were noticed during the test 2025-08-27 14:15:54,013 - INFO -
2025-08-27 14:15:54,013 - INFO - END TEST : test_ports_specific_subnet_ip : FAILED[0:00:02]
2025-08-27 14:15:54,013 - INFO - -------------------------------------------------------------------------------- 2025-08-27 14:15:54,662 - INFO - Deleted project: ctest-TestPorts-89628936, ID : 2ddfd087-fa48-4007-ae47-31b99fe0be25