2026-03-27 21:28:30,669 - DEBUG - [10.0.0.249]: Running cmd : hostname
2026-03-27 21:28:31,432 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-5557-1
2026-03-27 21:28:31,433 - DEBUG - [10.0.0.249]: Running cmd : hostname -f
2026-03-27 21:28:31,518 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-5557-1.
2026-03-27 21:28:31,518 - DEBUG - [10.0.0.249]: Running cmd : docker ps 2>/dev/null | grep -v "/pause\|/usr/bin/pod\|nova_api_\|contrail.*init\|init.*contrail\|provisioner\|placement" | awk '{print $NF}'
2026-03-27 21:28:31,646 - DEBUG - Output : NAMES
contrail_test_inOjKztmo
vrouter_vrouter-agent_1
vrouter_nodemgr_1
rsyslogd_rsyslogd_1
analytics_snmp_nodemgr_1
analytics_snmp_snmp-collector_1
analytics_snmp_topology_1
analytics_alarm_nodemgr_1
analytics_alarm_alarm-gen_1
analytics_alarm_kafka_1
analytics_api_1
analytics_collector_1
analytics_nodemgr_1
analytics_database_nodemgr_1
analytics_database_query-engine_1
analytics_database_cassandra_1
control_named_1
control_nodemgr_1
control_control_1
control_dns_1
webui_web_1
webui_job_1
config_devicemgr_1
config_nodemgr_1
config_api_1
config_schema_1
config_dnsmasq_1
config_svcmonitor_1
config_database_nodemgr_1
config_database_rabbitmq_1
config_database_cassandra_1
config_database_zookeeper_1
redis_redis_1
barbican_worker
barbican_keystone_listener
barbican_api
horizon
heat_api_cfn
heat_api
nova_compute
nova_libvirt
nova_ssh
nova_novncproxy
nova_conductor
nova_api
nova_scheduler
glance_api
keystone
keystone_fernet
keystone_ssh
rabbitmq
memcached
mariadb
mariadb_clustercheck
cron
kolla_toolbox
fluentd
2026-03-27 21:28:31,647 - DEBUG - [10.0.0.249]: Running cmd : getent hosts 10.0.0.249 | head -n 1 | awk '{print $2}'
2026-03-27 21:28:31,760 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-5557-1.
2026-03-27 21:28:31,760 - DEBUG - [10.0.0.249]: Running cmd : ip -4 -o addr show | awk '{print $4}'
2026-03-27 21:28:31,830 - DEBUG - Output : 127.0.0.1/8
10.0.0.249/24
172.17.0.1/16
10.20.0.17/24
2026-03-27 21:28:31,830 - DEBUG - [10.0.0.249]: Running cmd : ip -4 -o addr show dev vhost0 | awk '{print $4}'
2026-03-27 21:28:31,904 - DEBUG - Output : 10.20.0.17/24
2026-03-27 21:28:31,904 - DEBUG - [10.0.0.249]: Running cmd : getent hosts 10.20.0.17 | head -n 1 | awk '{print $2}'
2026-03-27 21:28:31,980 - DEBUG - Output :
2026-03-27 21:28:33,025 - DEBUG - Not creating keypair since it exists
2026-03-27 21:28:33,140 - INFO - Domain Default found not creating
2026-03-27 21:28:33,770 - INFO - Project ctest-TestRbac-98660915 not found, creating it
2026-03-27 21:28:34,603 - INFO - Created Project:ctest-TestRbac-98660915, ID : 96a65716-1254-4242-8184-51d84ef9b21d
2026-03-27 21:28:36,634 - DEBUG - [10.0.0.249]: Running cmd : docker exec --privileged -it analytics_api_1 /bin/bash -c 'crudini --get /etc/contrail/contrail-analytics-api.conf DEFAULTS aaa_mode'
2026-03-27 21:28:36,899 - DEBUG - Output : rbac
2026-03-27 21:28:39,413 - INFO - ================================================================================
2026-03-27 21:28:39,413 - INFO - STARTING TEST : test_perms2_global_share
2026-03-27 21:28:39,413 - INFO - TEST DESCRIPTION :
Test perms2 global shared property of an object
steps:
1. Add user1 as role1 in project1 and project2
2. Add *.* role1:CRUD to domain acl
3. Create a Shared virtual-network in project1
4. Verify global shared flag is set on VN's perms2
4. Using shared VN try to launch a VM in project2
2026-03-27 21:28:39,559 - DEBUG - Skipping xmpp flap check
2026-03-27 21:28:39,560 - DEBUG - Requesting: http://10.0.0.249:8082/aaa-mode
2026-03-27 21:28:39,898 - DEBUG - Requesting: http://10.0.0.249:8082/aaa-mode
2026-03-27 21:28:39,952 - INFO - Initial checks done. Running the testcase now
2026-03-27 21:28:39,952 - INFO -
2026-03-27 21:28:40,363 - INFO - Project ctest-TestRbac-52911499 not found, creating it
2026-03-27 21:28:40,895 - INFO - Created Project:ctest-TestRbac-52911499, ID : 3656d310-a9e3-473b-a697-43ae527960d9
2026-03-27 21:28:41,321 - INFO - Project ctest-TestRbac-83816821 not found, creating it
2026-03-27 21:28:41,970 - INFO - Created Project:ctest-TestRbac-83816821, ID : 70f039e5-8a92-41c3-87e4-c2495050d6ed
2026-03-27 21:28:44,174 - DEBUG - Requesting: http://10.0.0.249:8082/api-access-list/e7d0a2c0-a31e-4230-84a3-3a5f805e0279
2026-03-27 21:28:44,551 - DEBUG - Requesting: http://10.0.0.249:8082/api-access-list/e7d0a2c0-a31e-4230-84a3-3a5f805e0279
2026-03-27 21:28:44,622 - DEBUG - API access-list (e7d0a2c0-a31e-4230-84a3-3a5f805e0279) found in api server
2026-03-27 21:28:44,622 - INFO - API access-list e7d0a2c0-a31e-4230-84a3-3a5f805e0279 verify on api server passed
2026-03-27 21:28:45,318 - INFO - Created VN ctest-TestRbac-52911499-37680183, UUID :829b6dcd-64ed-490f-80a1-8ab1589816c9
2026-03-27 21:28:45,596 - DEBUG - Requesting: http://10.0.0.249:8082/api-access-list/e7d0a2c0-a31e-4230-84a3-3a5f805e0279
2026-03-27 21:28:45,605 - DEBUG - Response Code: 404
2026-03-27 21:28:45,606 - INFO - API access-list (e7d0a2c0-a31e-4230-84a3-3a5f805e0279) got deleted in api server
2026-03-27 21:28:46,758 - INFO - Deleted project: ctest-TestRbac-83816821, ID : 70f039e5-8a92-41c3-87e4-c2495050d6ed
2026-03-27 21:28:46,882 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:28:49,034 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:28:51,199 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:28:53,370 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:28:55,518 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:28:57,654 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:28:59,807 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:01,959 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:04,142 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:06,323 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:08,467 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:10,607 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:12,730 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:14,915 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:17,050 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:19,218 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:21,334 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:23,474 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:25,623 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:27,796 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:29,998 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:32,154 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:34,290 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:36,426 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:38,587 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:40,734 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:42,882 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:45,014 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:47,167 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:49,311 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:51,487 - WARNING - Project ctest-TestRbac-52911499 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-52911499', 'ctest-TestRbac-52911499-37680183'], 'uuid': '829b6dcd-64ed-490f-80a1-8ab1589816c9', 'href': 'http://10.0.0.249:8082/virtual-network/829b6dcd-64ed-490f-80a1-8ab1589816c9'}] before deletion
2026-03-27 21:29:51,487 - WARNING - One or more references still present, will not delete the project ctest-TestRbac-52911499
2026-03-27 21:29:51,661 - ERROR - ConnectFailure
Python 3.9.25: /usr/bin/python3
Fri Mar 27 21:28:45 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.py in test_perms2_global_share(self=)
48 }]
49 domain_rbac = self.create_rbac_acl(rules=rules, parent_type='domain')
50 vn = self.create_vn(connections=u1_p1_conn, shared=True, verify=False)
51 assert vn, 'VN creation failed'
52 obj = self.read_vn(connections=u1_p1_conn, uuid=vn.uuid)
vn undefined
self =
self.create_vn = >
connections undefined
u1_p1_conn =
shared undefined
verify undefined
/contrail-test/serial_scripts/rbac/base.py in create_vn(self=, connections=, verify=False, option='contrail', **kwargs={'shared': True})
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 = {'shared': True}
/contrail-test/serial_scripts/rbac/base.py in create_fixture(self=, fixturecls=, **kwargs={'connections': , 'option': 'contrail', 'shared': True})
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', 'shared': True}
/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=