2025-11-12 18:16:58,195 - DEBUG - [10.0.0.33]: Running cmd : hostname
2025-11-12 18:16:58,390 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4707-1
2025-11-12 18:16:58,390 - DEBUG - [10.0.0.33]: Running cmd : hostname -f
2025-11-12 18:16:58,450 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4707-1.
2025-11-12 18:16:58,450 - DEBUG - [10.0.0.33]: Running cmd : docker ps 2>/dev/null | grep -v "/pause\|/usr/bin/pod\|nova_api_\|contrail.*init\|init.*contrail\|provisioner\|placement" | awk '{print $NF}'
2025-11-12 18:16:58,561 - DEBUG - Output : NAMES
contrail_test_H0UME3DQn
vrouter_vrouter-agent_1
vrouter_nodemgr_1
rsyslogd_rsyslogd_1
analytics_snmp_snmp-collector_1
analytics_snmp_nodemgr_1
analytics_snmp_topology_1
analytics_alarm_nodemgr_1
analytics_alarm_alarm-gen_1
analytics_alarm_kafka_1
analytics_collector_1
analytics_api_1
analytics_nodemgr_1
analytics_database_query-engine_1
analytics_database_nodemgr_1
analytics_database_cassandra_1
control_named_1
control_control_1
control_nodemgr_1
control_dns_1
webui_job_1
webui_web_1
config_devicemgr_1
config_nodemgr_1
config_dnsmasq_1
config_svcmonitor_1
config_api_1
config_schema_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_engine
heat_api_cfn
heat_api
neutron_server
nova_compute
nova_libvirt
nova_ssh
nova_novncproxy
nova_conductor
nova_api
nova_scheduler
glance_api
keystone
keystone_fernet
keystone_ssh
rabbitmq
memcached
mariadb
cron
kolla_toolbox
fluentd
2025-11-12 18:16:58,562 - DEBUG - [10.0.0.33]: Running cmd : getent hosts 10.0.0.33 | head -n 1 | awk '{print $2}'
2025-11-12 18:16:58,621 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4707-1.
2025-11-12 18:16:58,621 - DEBUG - [10.0.0.33]: Running cmd : ip -4 -o addr show | awk '{print $4}'
2025-11-12 18:16:58,685 - DEBUG - Output : 127.0.0.1/8
10.0.0.33/24
172.17.0.1/16
10.20.0.254/24
2025-11-12 18:16:58,685 - DEBUG - [10.0.0.33]: Running cmd : ip -4 -o addr show dev vhost0 | awk '{print $4}'
2025-11-12 18:16:58,750 - DEBUG - Output : 10.20.0.254/24
2025-11-12 18:16:58,750 - DEBUG - [10.0.0.33]: Running cmd : getent hosts 10.20.0.254 | head -n 1 | awk '{print $2}'
2025-11-12 18:16:58,814 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4707-1-test
2025-11-12 18:16:59,638 - DEBUG - Not creating keypair since it exists
2025-11-12 18:16:59,696 - INFO - Domain Default found not creating
2025-11-12 18:17:00,210 - INFO - Project ctest-TestRbac-19751882 not found, creating it
2025-11-12 18:17:00,683 - INFO - Created Project:ctest-TestRbac-19751882, ID : d0ec078a-2c9d-4243-b48b-0b0dc2584df2
2025-11-12 18:17:02,198 - DEBUG - [10.0.0.33]: Running cmd : docker exec --privileged -it analytics_api_1 /bin/bash -c 'crudini --get /etc/contrail/contrail-analytics-api.conf DEFAULTS aaa_mode'
2025-11-12 18:17:02,336 - DEBUG - Output : rbac
2025-11-12 18:17:04,495 - INFO - ================================================================================
2025-11-12 18:17:04,496 - INFO - STARTING TEST : test_perms2_global_share
2025-11-12 18:17:04,496 - 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
2025-11-12 18:17:04,627 - DEBUG - Skipping xmpp flap check
2025-11-12 18:17:04,627 - DEBUG - Requesting: http://10.0.0.33:8082/aaa-mode
2025-11-12 18:17:04,953 - DEBUG - Requesting: http://10.0.0.33:8082/aaa-mode
2025-11-12 18:17:04,979 - INFO - Initial checks done. Running the testcase now
2025-11-12 18:17:04,979 - INFO -
2025-11-12 18:17:05,352 - INFO - Project ctest-TestRbac-82996095 not found, creating it
2025-11-12 18:17:05,813 - INFO - Created Project:ctest-TestRbac-82996095, ID : 083543db-85ae-4581-b171-9a36d6aefdc4
2025-11-12 18:17:06,208 - INFO - Project ctest-TestRbac-70679904 not found, creating it
2025-11-12 18:17:06,683 - INFO - Created Project:ctest-TestRbac-70679904, ID : f582a0e9-bd0c-4ae6-9f05-c9500d1ac0a5
2025-11-12 18:17:08,594 - DEBUG - Requesting: http://10.0.0.33:8082/api-access-list/1482aaf1-3b51-40a3-927e-f404cdb30e7a
2025-11-12 18:17:08,979 - DEBUG - Requesting: http://10.0.0.33:8082/api-access-list/1482aaf1-3b51-40a3-927e-f404cdb30e7a
2025-11-12 18:17:09,007 - DEBUG - API access-list (1482aaf1-3b51-40a3-927e-f404cdb30e7a) found in api server
2025-11-12 18:17:09,007 - INFO - API access-list 1482aaf1-3b51-40a3-927e-f404cdb30e7a verify on api server passed
2025-11-12 18:17:09,606 - INFO - Created VN ctest-TestRbac-82996095-90200616, UUID :5e27bd18-5da9-45db-b53c-548603fc29aa
2025-11-12 18:17:09,983 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e27bd18-5da9-45db-b53c-548603fc29aa
2025-11-12 18:17:10,306 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e27bd18-5da9-45db-b53c-548603fc29aa
2025-11-12 18:17:10,349 - INFO - API Server: Read VN 5e27bd18-5da9-45db-b53c-548603fc29aa
2025-11-12 18:17:10,349 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e27bd18-5da9-45db-b53c-548603fc29aa
2025-11-12 18:17:10,669 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e27bd18-5da9-45db-b53c-548603fc29aa
2025-11-12 18:17:10,718 - INFO - API Server: Read VN 5e27bd18-5da9-45db-b53c-548603fc29aa
2025-11-12 18:17:10,718 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-82996095:ctest-TestRbac-82996095-90200616?flat
2025-11-12 18:17:11,039 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-82996095:ctest-TestRbac-82996095-90200616?flat
2025-11-12 18:17:11,553 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-11-12 18:17:11,668 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-82996095:ctest-TestRbac-82996095-90200616?flat
2025-11-12 18:17:11,986 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-82996095:ctest-TestRbac-82996095-90200616?flat
2025-11-12 18:17:12,163 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-11-12 18:17:13,067 - WARNING - Unable to get the list of compute nodes
2025-11-12 18:17:13,163 - INFO - Deleting VN ctest-TestRbac-82996095-90200616
2025-11-12 18:17:13,326 - DEBUG - Requesting: http://10.0.0.33:8082/api-access-list/1482aaf1-3b51-40a3-927e-f404cdb30e7a
2025-11-12 18:17:13,330 - DEBUG - Response Code: 404
2025-11-12 18:17:13,330 - INFO - API access-list (1482aaf1-3b51-40a3-927e-f404cdb30e7a) got deleted in api server
2025-11-12 18:17:14,925 - INFO - Deleted project: ctest-TestRbac-70679904, ID : f582a0e9-bd0c-4ae6-9f05-c9500d1ac0a5
2025-11-12 18:17:15,596 - INFO - Deleted project: ctest-TestRbac-82996095, ID : 083543db-85ae-4581-b171-9a36d6aefdc4
2025-11-12 18:17:15,719 - ERROR - Forbidden
Python 3.9.21: /usr/bin/python3
Wed Nov 12 18:17:13 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/serial_scripts/rbac/test_rbac.py in test_perms2_global_share(self=)
60 assert self.get_vn_from_analytics(u1_p2_conn, vn.vn_fq_name)
61 assert vn.vn_fq_name in self.list_vn_from_analytics(u1_p2_conn)
62 vm = self.create_vm(connections=u1_p2_conn, vn_fixture=vn)
63 assert vm, 'VM creation failed on shared VN'
64
vm undefined
self =
self.create_vm = >
connections undefined
u1_p2_conn =
vn_fixture undefined
vn =
/contrail-test/serial_scripts/rbac/base.py in create_vm(self=, vn_fixture=, connections=, verify=True)
227 def create_vm(self, vn_fixture, connections=None, verify=True):
228 connections = connections or self.connections
229 vm_fixture = self.create_fixture(VMFixture, connections=connections,
230 vn_obj=vn_fixture.obj,
231 image_name='cirros',
vm_fixture undefined
self =
self.create_fixture = >
global VMFixture =
connections =
vn_obj undefined
vn_fixture =
vn_fixture.obj = {'network': {'id': '5e27bd18-5da9-45db-b53c-5486...network-ipam']}], 'port_security_enabled': True}}
image_name undefined
admin_connections undefined
self.connections =
/contrail-test/serial_scripts/rbac/base.py in create_fixture(self=, fixturecls=, **kwargs={'admin_connections': , 'connections': , 'image_name': 'cirros', 'vn_obj': {'network': {'id': '5e27bd18-5da9-45db-b53c-5486...network-ipam']}], 'port_security_enabled': 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 = {'admin_connections': , 'connections': , 'image_name': 'cirros', 'vn_obj': {'network': {'id': '5e27bd18-5da9-45db-b53c-5486...network-ipam']}], 'port_security_enabled': 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 = (, Forbidden(), )
/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=Forbidden(), exc_tb=, _marker=