2026-04-02 12:38:39,660 - INFO - Domain Default found not creating
2026-04-02 12:38:40,185 - INFO - Project ctest-TestRbacBasic-20198336 not found, creating it
2026-04-02 12:38:40,636 - INFO - Created Project:ctest-TestRbacBasic-20198336, ID : f1bbd74a-3f3e-4fc5-9b63-59b6f477ff3d
2026-04-02 12:38:44,486 - INFO - ================================================================================
2026-04-02 12:38:44,486 - INFO - STARTING TEST : test_perms2_owner
2026-04-02 12:38:44,487 - 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-04-02 12:38:44,606 - DEBUG - Skipping xmpp flap check
2026-04-02 12:38:44,610 - INFO - Initial checks done. Running the testcase now
2026-04-02 12:38:44,610 - INFO -
2026-04-02 12:38:44,981 - INFO - Project ctest-TestRbacBasic-22729727 not found, creating it
2026-04-02 12:38:45,414 - INFO - Created Project:ctest-TestRbacBasic-22729727, ID : 18bc3ede-329b-4b96-8573-afe188be962e
2026-04-02 12:38:45,787 - INFO - Project ctest-TestRbacBasic-79556000 not found, creating it
2026-04-02 12:38:46,233 - INFO - Created Project:ctest-TestRbacBasic-79556000, ID : 13924b66-5e31-4281-a586-d3dcef7b6ba6
2026-04-02 12:38:48,133 - DEBUG - Requesting: http://10.0.0.141:8082/api-access-list/5e89b294-04c1-4eab-a7f0-e52afd167dc7
2026-04-02 12:38:48,479 - DEBUG - Requesting: http://10.0.0.141:8082/api-access-list/5e89b294-04c1-4eab-a7f0-e52afd167dc7
2026-04-02 12:38:48,539 - DEBUG - API access-list (5e89b294-04c1-4eab-a7f0-e52afd167dc7) found in api server
2026-04-02 12:38:48,539 - INFO - API access-list 5e89b294-04c1-4eab-a7f0-e52afd167dc7 verify on api server passed
2026-04-02 12:38:49,268 - INFO - Created VN ctest-TestRbacBasic-22729727-69603137, UUID :827aac82-c89e-4284-9159-65481b96fc69
2026-04-02 12:38:49,522 - DEBUG - Requesting: http://10.0.0.141:8082/api-access-list/5e89b294-04c1-4eab-a7f0-e52afd167dc7
2026-04-02 12:38:49,527 - DEBUG - Response Code: 404
2026-04-02 12:38:49,527 - INFO - API access-list (5e89b294-04c1-4eab-a7f0-e52afd167dc7) got deleted in api server
2026-04-02 12:38:50,440 - INFO - Deleted project: ctest-TestRbacBasic-79556000, ID : 13924b66-5e31-4281-a586-d3dcef7b6ba6
2026-04-02 12:38:50,577 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:38:52,717 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:38:54,848 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:38:56,981 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:38:59,112 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:01,249 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:03,384 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:05,520 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:07,660 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:09,796 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:11,928 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:14,073 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:16,260 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:18,396 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:20,536 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:22,668 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:24,828 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:26,960 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:29,096 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:31,232 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:33,344 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:35,484 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:37,616 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:39,753 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:41,904 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:44,036 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:46,173 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:48,328 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:50,469 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:52,604 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:54,752 - WARNING - Project ctest-TestRbacBasic-22729727 still has VNs [{'to': ['default-domain', 'ctest-TestRbacBasic-22729727', 'ctest-TestRbacBasic-22729727-69603137'], 'uuid': '827aac82-c89e-4284-9159-65481b96fc69', 'href': 'http://10.0.0.141:8082/virtual-network/827aac82-c89e-4284-9159-65481b96fc69'}] before deletion
2026-04-02 12:39:54,753 - WARNING - One or more references still present, will not delete the project ctest-TestRbacBasic-22729727
2026-04-02 12:39:54,877 - ERROR - ConnectFailure
Python 3.9.25: /usr/bin/python3
Thu Apr 2 12:38:49 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 = (, ConnectFailure("Unable to establish connection t...w connection: [Errno 111] Connection refused'))"), )
/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=ConnectFailure("Unable to establish connection t...w connection: [Errno 111] Connection refused'))"), exc_tb=, _marker=