2026-10-20 19:25:10,209 - INFO - Domain Default found not creating
2026-10-20 19:25:10,438 - INFO - Project ctest-TestRbacBasic-51985482 not found, creating it
2026-10-20 19:25:10,962 - INFO - Created Project:ctest-TestRbacBasic-51985482, ID : 31f0e155-4409-436b-b428-04c4ea3367aa
2026-10-20 19:25:15,841 - INFO - ================================================================================
2026-10-20 19:25:15,841 - INFO - STARTING TEST : test_perms2_owner
2026-10-20 19:25:15,842 - INFO - TEST DESCRIPTION :
Validate perms2 tenant ownership
steps:
1. Create Project1 and Project2
2. Add user1 as role1 under project1 and project2
3. create domain acl rule 'VirtualNetwork.* role1:CRUD'
4. create VN1 under Project1
4. create VN2 under Project2
5. user1 shouldnt be able to read VN1 using project2 creds
6. admin should be able to read VN1 though he isnt member of the project
7. Network list with respective project creds should list corresponding VNs
8. Change ownership of VN1 to Project2
9. user1 should now be able to read VN1 using Project2 creds
10. Network list with Project2 creds should list both VNs,
Project1 creds should list VN1 alone, admin should list both VNs
2026-10-20 19:25:16,028 - DEBUG - Skipping xmpp flap check
2026-10-20 19:25:16,034 - INFO - Initial checks done. Running the testcase now
2026-10-20 19:25:16,034 - INFO -
2026-10-20 19:25:16,528 - INFO - Project ctest-TestRbacBasic-84455798 not found, creating it
2026-10-20 19:25:17,074 - INFO - Created Project:ctest-TestRbacBasic-84455798, ID : 69d121d4-1af3-48cd-a9a9-d713a3d1b6ef
2026-10-20 19:25:17,524 - INFO - Project ctest-TestRbacBasic-68873152 not found, creating it
2026-10-20 19:25:18,123 - INFO - Created Project:ctest-TestRbacBasic-68873152, ID : 7d2450d1-7b76-4a20-953d-3c3398bf04b3
2026-10-20 19:25:21,117 - DEBUG - Requesting: http://10.0.0.185:8082/api-access-list/16f42650-a8ab-4429-9b09-97c2b6c2e927
2026-10-20 19:25:21,559 - DEBUG - Requesting: http://10.0.0.185:8082/api-access-list/16f42650-a8ab-4429-9b09-97c2b6c2e927
2026-10-20 19:25:21,589 - DEBUG - API access-list (16f42650-a8ab-4429-9b09-97c2b6c2e927) found in api server
2026-10-20 19:25:21,589 - INFO - API access-list 16f42650-a8ab-4429-9b09-97c2b6c2e927 verify on api server passed
2026-10-20 19:25:22,321 - INFO - Created VN ctest-TestRbacBasic-84455798-36659339, UUID :9135acdd-a174-4e71-90ce-1d03ae857be0
2026-10-20 19:25:22,604 - ERROR - Some exception while doing neutron net-list
Traceback (most recent call last):
File "/contrail-test/fixtures/quantum_test.py", line 288, in get_vn_obj_from_id
return self.obj.show_network(network=uuid)
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 822, in show_network
return self.get(self.network_path % (network), params=_params)
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 353, in get
return self.retry_request("GET", action, body=body,
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 330, in retry_request
return self.do_request(method, 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.NotFound: The resource could not be found.
Neutron server returns request_ids: ['req-ca8fb03d-1243-402c-a741-e7bb8781d4b3']
2026-10-20 19:25:22,641 - DEBUG - Requesting: http://10.0.0.185:8082/api-access-list/16f42650-a8ab-4429-9b09-97c2b6c2e927
2026-10-20 19:25:22,647 - DEBUG - Response Code: 404
2026-10-20 19:25:22,647 - INFO - API access-list (16f42650-a8ab-4429-9b09-97c2b6c2e927) got deleted in api server
2026-10-20 19:25:23,820 - INFO - Deleted project: ctest-TestRbacBasic-68873152, ID : 7d2450d1-7b76-4a20-953d-3c3398bf04b3
2026-10-20 19:25:23,969 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:26,128 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:28,273 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:30,389 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:32,536 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:34,681 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:36,825 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:38,977 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:41,127 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:43,276 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:45,430 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:47,545 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:49,692 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:51,837 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:53,989 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:56,144 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:25:58,305 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:00,461 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:02,629 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:04,752 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:06,909 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:09,053 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:11,197 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:13,345 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:15,485 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:17,648 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:19,793 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:21,953 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:24,109 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:26,261 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:28,401 - WARNING - Project ctest-TestRbacBasic-84455798 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-84455798', 'ctest-TestRbacBasic-84455798-36659339'], 'uuid': '9135acdd-a174-4e71-90ce-1d03ae857be0', 'href': 'http://10.0.0.185:8082/virtual-network/9135acdd-a174-4e71-90ce-1d03ae857be0'}] before deletion
2026-10-20 19:26:28,401 - WARNING - One or more references still present, will not delete the project ctest-TestRbacBasic-84455798
2026-10-20 19:26:28,544 - ERROR - ValueError
Python 3.9.25: /usr/bin/python3
Tue Oct 20 19:25:22 2026
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/serial_scripts/rbac/test_rbac_basic.py in test_perms2_owner(self=)
223 ]
224 domain_rbac = self.create_rbac_acl(rules=vn_rules, parent_type='domain')
225 vn = self.create_vn(connections=u1_p1_conn, verify=False)
226 assert vn, 'VN creation failed'
227 vn2 = self.create_vn(connections=u1_p2_conn, verify=False)
vn undefined
self =
self.create_vn = >
connections undefined
u1_p1_conn =
verify undefined
/contrail-test/serial_scripts/rbac/base.py in create_vn(self=, connections=, verify=False, option='contrail', **kwargs={})
214 def create_vn(self, connections=None, verify=True, option='contrail', **kwargs):
215 connections = connections or self.connections
216 vn_fixture = self.create_fixture(VNFixture, connections=connections,
217 option=option, **kwargs)
218 if vn_fixture and verify:
vn_fixture undefined
self =
self.create_fixture = >
global VNFixture =
connections =
option = 'contrail'
kwargs = {}
/contrail-test/serial_scripts/rbac/base.py in create_fixture(self=, fixturecls=, **kwargs={'connections': , 'option': 'contrail'})
352 def create_fixture(self, fixturecls, **kwargs):
353 try:
354 return self.useFixture(fixturecls(**kwargs))
355 except (PermissionDenied, neutron_forbidden):
356 return None
self =
self.useFixture = >
fixturecls =
kwargs = {'connections': , 'option': 'contrail'}
/usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=, fixture=)
754 # Gather_details worked, so raise the exception setUp
755 # encountered.
756 reraise(*exc_info)
757 else:
758 self.addCleanup(fixture.cleanUp)
global reraise =
exc_info = (, ValueError('could not find ctest-TestRbacBasic-84455798-36659339 in orchestrator'), )
/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=ValueError('could not find ctest-TestRbacBasic-84455798-36659339 in orchestrator'), exc_tb=, _marker=