2025-08-07 16:38:30,165 - INFO - Domain Default found not creating
2025-08-07 16:38:30,461 - INFO - Project ctest-TestPorts-75195021 not found, creating it
2025-08-07 16:38:31,199 - INFO - Created Project:ctest-TestPorts-75195021, ID : 528f9b23-f159-4438-8ed6-5a14112d54a1
2025-08-07 16:38:33,250 - INFO - ================================================================================
2025-08-07 16:38:33,250 - INFO - STARTING TEST : test_ports_bindings
2025-08-07 16:38:33,251 - 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-07 16:38:33,467 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-08-07 16:38:33,467 - INFO - Initial checks done. Running the testcase now
2025-08-07 16:38:33,467 - INFO -
2025-08-07 16:38:34,325 - DEBUG - Response for create_network : {'network': {'id': '7438c9de-58ab-4c45-9676-7ac7b38fa158', 'name': 'ctest-vn-20053629', 'tenant_id': '528f9b23f15944388ed65a14112d54a1', 'project_id': '528f9b23f15944388ed65a14112d54a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75195021', 'ctest-vn-20053629'], 'port_security_enabled': True, 'description': ''}}
2025-08-07 16:38:34,562 - ERROR - Neutron Exception while creating subnet for vn with id 7438c9de-58ab-4c45-9676-7ac7b38fa158
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-6f4353b3-14f7-4e7d-92df-a079e617cafb']
2025-08-07 16:38:34,602 - INFO - Created VN ctest-vn-20053629
2025-08-07 16:38:34,671 - DEBUG - VN ctest-vn-20053629 UUID is 7438c9de-58ab-4c45-9676-7ac7b38fa158
2025-08-07 16:38:34,798 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-75195021', 'ctest-vmi-76661384']}
2025-08-07 16:38:35,166 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-76661384', 'id': '4f4d7b65-71dc-4c4f-9a36-2e3774bee17e', 'tenant_id': '528f9b23f15944388ed65a14112d54a1', 'network_id': '7438c9de-58ab-4c45-9676-7ac7b38fa158', 'mac_address': '02:4f:4d:7b:65:71', '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': ['5b643fd2-5df9-4a14-9d3f-337c5eb8c081'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '528f9b23f15944388ed65a14112d54a1'}}
2025-08-07 16:38:35,166 - DEBUG - Created port 4f4d7b65-71dc-4c4f-9a36-2e3774bee17e
2025-08-07 16:38:35,235 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4f4d7b65-71dc-4c4f-9a36-2e3774bee17e
2025-08-07 16:38:35,595 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4f4d7b65-71dc-4c4f-9a36-2e3774bee17e
2025-08-07 16:38:35,645 - INFO - VMI 4f4d7b65-71dc-4c4f-9a36-2e3774bee17e verification in API Server passed
2025-08-07 16:38:35,749 - DEBUG - Response for delete_port : ()
2025-08-07 16:38:35,749 - INFO - Deleted port 4f4d7b65-71dc-4c4f-9a36-2e3774bee17e
2025-08-07 16:38:35,750 - INFO - Deleting VN ctest-vn-20053629
2025-08-07 16:38:35,926 - DEBUG - Response for deleting network ()
2025-08-07 16:38:36,094 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 16:38:36,094 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-07 16:38:36,094 - INFO - --------------------------------------------------------------------------------
2025-08-07 16:38:36,099 - INFO - ================================================================================
2025-08-07 16:38:36,099 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-07 16:38:36,099 - 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-07 16:38:36,312 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-08-07 16:38:36,312 - INFO - Initial checks done. Running the testcase now
2025-08-07 16:38:36,312 - INFO -
2025-08-07 16:38:36,669 - DEBUG - Response for create_network : {'network': {'id': '752f960b-5714-4aa6-b4f2-877e0d1d5d1d', 'name': 'ctest-vn1-76482723', 'tenant_id': '528f9b23f15944388ed65a14112d54a1', 'project_id': '528f9b23f15944388ed65a14112d54a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75195021', 'ctest-vn1-76482723'], 'port_security_enabled': True, 'description': ''}}
2025-08-07 16:38:36,854 - ERROR - Neutron Exception while creating subnet for vn with id 752f960b-5714-4aa6-b4f2-877e0d1d5d1d
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-e9c0c394-efbf-4629-8a15-48bdaa10c6ad']
2025-08-07 16:38:37,031 - ERROR - Neutron Exception while creating subnet for vn with id 752f960b-5714-4aa6-b4f2-877e0d1d5d1d
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-0bf27b5f-e61c-4b21-8cef-297d48808769']
2025-08-07 16:38:37,080 - INFO - Created VN ctest-vn1-76482723
2025-08-07 16:38:37,160 - DEBUG - VN ctest-vn1-76482723 UUID is 752f960b-5714-4aa6-b4f2-877e0d1d5d1d
2025-08-07 16:38:37,274 - INFO - Deleting VN ctest-vn1-76482723
2025-08-07 16:38:37,478 - DEBUG - Response for deleting network ()
2025-08-07 16:38:37,645 - ERROR - IndexError
Python 3.6.8: /usr/bin/python3
Thu Aug 7 16:38:37 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-07 16:38:37,666 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 16:38:37,666 - INFO -
2025-08-07 16:38:37,666 - INFO - END TEST : test_ports_specific_subnet_ip : FAILED[0:00:01]
2025-08-07 16:38:37,666 - INFO - --------------------------------------------------------------------------------
2025-08-07 16:38:38,706 - INFO - Deleted project: ctest-TestPorts-75195021, ID : 528f9b23-f159-4438-8ed6-5a14112d54a1