2025-08-24 07:44:00,778 - INFO - Domain Default found not creating 2025-08-24 07:44:00,925 - INFO - Project ctest-TestPorts-73636786 not found, creating it 2025-08-24 07:44:01,435 - INFO - Created Project:ctest-TestPorts-73636786, ID : 678d1b2b-c082-4717-88d2-b7e4fc77b45d 2025-08-24 07:44:02,915 - INFO - ================================================================================ 2025-08-24 07:44:02,916 - INFO - STARTING TEST : test_ports_bindings 2025-08-24 07:44:02,916 - 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-24 07:44:03,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-24 07:44:03,043 - INFO - Initial checks done. Running the testcase now 2025-08-24 07:44:03,043 - INFO - 2025-08-24 07:44:03,591 - DEBUG - Response for create_network : {'network': {'id': 'c98e06d9-d107-428c-b8fc-5e58593d7c79', 'name': 'ctest-vn-32023337', 'tenant_id': '678d1b2bc082471788d2b7e4fc77b45d', 'project_id': '678d1b2bc082471788d2b7e4fc77b45d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73636786', 'ctest-vn-32023337'], 'port_security_enabled': True, 'description': ''}} 2025-08-24 07:44:03,751 - ERROR - Neutron Exception while creating subnet for vn with id c98e06d9-d107-428c-b8fc-5e58593d7c79 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.6/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.6/site-packages/neutronclient/v2_0/client.py", line 359, in post headers=headers, params=params) File "/usr/local/lib/python3.6/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.6/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.6/site-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20 request_ids=request_ids) neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-17e6a9c3-bd43-4757-8596-18a59c0ab882'] 2025-08-24 07:44:03,771 - INFO - Created VN ctest-vn-32023337 2025-08-24 07:44:03,824 - DEBUG - VN ctest-vn-32023337 UUID is c98e06d9-d107-428c-b8fc-5e58593d7c79 2025-08-24 07:44:03,915 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-73636786', 'ctest-vmi-99959537']} 2025-08-24 07:44:04,169 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99959537', 'id': '3418b7f4-1b5d-4cbc-8645-c1608370d195', 'tenant_id': '678d1b2bc082471788d2b7e4fc77b45d', 'network_id': 'c98e06d9-d107-428c-b8fc-5e58593d7c79', 'mac_address': '02:34:18:b7:f4:1b', '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': ['b696a4da-8a88-43f7-863c-f3e33f78370d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '678d1b2bc082471788d2b7e4fc77b45d'}} 2025-08-24 07:44:04,170 - DEBUG - Created port 3418b7f4-1b5d-4cbc-8645-c1608370d195 2025-08-24 07:44:04,236 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3418b7f4-1b5d-4cbc-8645-c1608370d195 2025-08-24 07:44:04,545 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3418b7f4-1b5d-4cbc-8645-c1608370d195 2025-08-24 07:44:04,587 - INFO - VMI 3418b7f4-1b5d-4cbc-8645-c1608370d195 verification in API Server passed 2025-08-24 07:44:04,659 - DEBUG - Response for delete_port : () 2025-08-24 07:44:04,659 - INFO - Deleted port 3418b7f4-1b5d-4cbc-8645-c1608370d195 2025-08-24 07:44:04,659 - INFO - Deleting VN ctest-vn-32023337 2025-08-24 07:44:04,772 - DEBUG - Response for deleting network () 2025-08-24 07:44:04,904 - DEBUG - No XMPP flaps were noticed during the test 2025-08-24 07:44:04,904 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-24 07:44:04,904 - INFO - -------------------------------------------------------------------------------- 2025-08-24 07:44:04,907 - INFO - ================================================================================ 2025-08-24 07:44:04,907 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-24 07:44:04,907 - 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-24 07:44:05,070 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-24 07:44:05,070 - INFO - Initial checks done. Running the testcase now 2025-08-24 07:44:05,070 - INFO - 2025-08-24 07:44:05,287 - DEBUG - Response for create_network : {'network': {'id': '3d894a8e-7ca0-47b0-9abc-c608bb5d69e8', 'name': 'ctest-vn1-38951241', 'tenant_id': '678d1b2bc082471788d2b7e4fc77b45d', 'project_id': '678d1b2bc082471788d2b7e4fc77b45d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73636786', 'ctest-vn1-38951241'], 'port_security_enabled': True, 'description': ''}} 2025-08-24 07:44:05,435 - ERROR - Neutron Exception while creating subnet for vn with id 3d894a8e-7ca0-47b0-9abc-c608bb5d69e8 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.6/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.6/site-packages/neutronclient/v2_0/client.py", line 359, in post headers=headers, params=params) File "/usr/local/lib/python3.6/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.6/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.6/site-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20 request_ids=request_ids) neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-91bf01e5-a6dd-4271-9d6c-7f943b5b3cb6'] 2025-08-24 07:44:05,620 - ERROR - Neutron Exception while creating subnet for vn with id 3d894a8e-7ca0-47b0-9abc-c608bb5d69e8 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.6/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.6/site-packages/neutronclient/v2_0/client.py", line 359, in post headers=headers, params=params) File "/usr/local/lib/python3.6/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.6/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.6/site-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20 request_ids=request_ids) neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-faf04a80-8a58-4ae9-940d-f1ad67d4338c'] 2025-08-24 07:44:05,636 - INFO - Created VN ctest-vn1-38951241 2025-08-24 07:44:05,688 - DEBUG - VN ctest-vn1-38951241 UUID is 3d894a8e-7ca0-47b0-9abc-c608bb5d69e8 2025-08-24 07:44:05,770 - INFO - Deleting VN ctest-vn1-38951241 2025-08-24 07:44:05,839 - DEBUG - Response for deleting network () 2025-08-24 07:44:05,960 - ERROR - IndexError Python 3.6.8: /usr/bin/python3 Sun Aug 24 07:44:05 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-24 07:44:05,967 - DEBUG - No XMPP flaps were noticed during the test 2025-08-24 07:44:05,967 - INFO - 2025-08-24 07:44:05,967 - INFO - END TEST : test_ports_specific_subnet_ip : FAILED[0:00:01] 2025-08-24 07:44:05,967 - INFO - -------------------------------------------------------------------------------- 2025-08-24 07:44:06,644 - INFO - Deleted project: ctest-TestPorts-73636786, ID : 678d1b2b-c082-4717-88d2-b7e4fc77b45d