2025-11-10 10:21:01,764 - DEBUG - [10.0.0.50]: Running cmd : hostname
2025-11-10 10:21:01,968 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4679-1
2025-11-10 10:21:01,968 - DEBUG - [10.0.0.50]: Running cmd : hostname -f
2025-11-10 10:21:02,027 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4679-1.
2025-11-10 10:21:02,028 - DEBUG - [10.0.0.50]: 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-10 10:21:02,134 - DEBUG - Output : NAMES
contrail_test_wKf5aaCSc
vrouter_vrouter-agent_1
vrouter_nodemgr_1
rsyslogd_rsyslogd_1
analytics_snmp_snmp-collector_1
analytics_snmp_topology_1
analytics_snmp_nodemgr_1
analytics_alarm_alarm-gen_1
analytics_alarm_nodemgr_1
analytics_alarm_kafka_1
analytics_collector_1
analytics_nodemgr_1
analytics_api_1
analytics_database_nodemgr_1
analytics_database_query-engine_1
analytics_database_cassandra_1
control_named_1
control_nodemgr_1
control_dns_1
control_control_1
webui_job_1
webui_web_1
config_devicemgr_1
config_api_1
config_svcmonitor_1
config_nodemgr_1
config_dnsmasq_1
config_schema_1
config_database_nodemgr_1
config_database_rabbitmq_1
config_database_zookeeper_1
config_database_cassandra_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-10 10:21:02,134 - DEBUG - [10.0.0.50]: Running cmd : getent hosts 10.0.0.50 | head -n 1 | awk '{print $2}'
2025-11-10 10:21:02,199 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4679-1.
2025-11-10 10:21:02,199 - DEBUG - [10.0.0.50]: Running cmd : ip -4 -o addr show | awk '{print $4}'
2025-11-10 10:21:02,259 - DEBUG - Output : 127.0.0.1/8
10.0.0.50/24
172.17.0.1/16
10.20.0.17/24
2025-11-10 10:21:02,259 - DEBUG - [10.0.0.50]: Running cmd : ip -4 -o addr show dev vhost0 | awk '{print $4}'
2025-11-10 10:21:02,324 - DEBUG - Output : 10.20.0.17/24
2025-11-10 10:21:02,324 - DEBUG - [10.0.0.50]: Running cmd : getent hosts 10.20.0.17 | head -n 1 | awk '{print $2}'
2025-11-10 10:21:02,391 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4679-1-test
2025-11-10 10:21:03,218 - DEBUG - Not creating keypair since it exists
2025-11-10 10:21:03,286 - INFO - Domain Default found not creating
2025-11-10 10:21:03,778 - INFO - Project ctest-TestRbac-33886527 not found, creating it
2025-11-10 10:21:04,230 - INFO - Created Project:ctest-TestRbac-33886527, ID : a1a5dde1-f022-4e4d-aa5b-2b86162e3e0f
2025-11-10 10:21:05,761 - DEBUG - [10.0.0.50]: 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-10 10:21:05,899 - DEBUG - Output : rbac
2025-11-10 10:21:08,077 - INFO - ================================================================================
2025-11-10 10:21:08,078 - INFO - STARTING TEST : test_perms2_global_share
2025-11-10 10:21:08,078 - 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-10 10:21:08,201 - DEBUG - Skipping xmpp flap check
2025-11-10 10:21:08,201 - DEBUG - Requesting: http://10.0.0.50:8082/aaa-mode
2025-11-10 10:21:08,518 - DEBUG - Requesting: http://10.0.0.50:8082/aaa-mode
2025-11-10 10:21:08,545 - INFO - Initial checks done. Running the testcase now
2025-11-10 10:21:08,545 - INFO -
2025-11-10 10:21:08,925 - INFO - Project ctest-TestRbac-80108775 not found, creating it
2025-11-10 10:21:09,380 - INFO - Created Project:ctest-TestRbac-80108775, ID : 0429501b-ee9b-4e29-8db6-e0200b83f6ae
2025-11-10 10:21:09,766 - INFO - Project ctest-TestRbac-27443655 not found, creating it
2025-11-10 10:21:10,225 - INFO - Created Project:ctest-TestRbac-27443655, ID : 55f45066-dc30-4472-912d-8004e4fd8c30
2025-11-10 10:21:12,164 - DEBUG - Requesting: http://10.0.0.50:8082/api-access-list/69412c9b-7bfb-46f4-8228-56b56f83d4ee
2025-11-10 10:21:12,505 - DEBUG - Requesting: http://10.0.0.50:8082/api-access-list/69412c9b-7bfb-46f4-8228-56b56f83d4ee
2025-11-10 10:21:12,561 - DEBUG - API access-list (69412c9b-7bfb-46f4-8228-56b56f83d4ee) found in api server
2025-11-10 10:21:12,561 - INFO - API access-list 69412c9b-7bfb-46f4-8228-56b56f83d4ee verify on api server passed
2025-11-10 10:21:13,156 - INFO - Created VN ctest-TestRbac-80108775-21553911, UUID :041897e1-ae54-45fa-a854-86f7d22238be
2025-11-10 10:21:13,498 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/041897e1-ae54-45fa-a854-86f7d22238be
2025-11-10 10:21:13,815 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/041897e1-ae54-45fa-a854-86f7d22238be
2025-11-10 10:21:13,858 - INFO - API Server: Read VN 041897e1-ae54-45fa-a854-86f7d22238be
2025-11-10 10:21:13,858 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/041897e1-ae54-45fa-a854-86f7d22238be
2025-11-10 10:21:14,176 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/041897e1-ae54-45fa-a854-86f7d22238be
2025-11-10 10:21:14,217 - INFO - API Server: Read VN 041897e1-ae54-45fa-a854-86f7d22238be
2025-11-10 10:21:14,217 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-80108775:ctest-TestRbac-80108775-21553911?flat
2025-11-10 10:21:14,532 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-80108775:ctest-TestRbac-80108775-21553911?flat
2025-11-10 10:21:15,047 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-11-10 10:21:15,166 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-80108775:ctest-TestRbac-80108775-21553911?flat
2025-11-10 10:21:15,481 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-80108775:ctest-TestRbac-80108775-21553911?flat
2025-11-10 10:21:15,652 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-11-10 10:21:16,530 - WARNING - Unable to get the list of compute nodes
2025-11-10 10:21:16,546 - INFO - Deleting VN ctest-TestRbac-80108775-21553911
2025-11-10 10:21:16,641 - DEBUG - Requesting: http://10.0.0.50:8082/api-access-list/69412c9b-7bfb-46f4-8228-56b56f83d4ee
2025-11-10 10:21:16,647 - DEBUG - Response Code: 404
2025-11-10 10:21:16,648 - INFO - API access-list (69412c9b-7bfb-46f4-8228-56b56f83d4ee) got deleted in api server
2025-11-10 10:21:17,594 - INFO - Deleted project: ctest-TestRbac-27443655, ID : 55f45066-dc30-4472-912d-8004e4fd8c30
2025-11-10 10:21:18,325 - INFO - Deleted project: ctest-TestRbac-80108775, ID : 0429501b-ee9b-4e29-8db6-e0200b83f6ae
2025-11-10 10:21:18,458 - ERROR - HTTPForbidden
Python 3.9.21: /usr/bin/python3
Mon Nov 10 10:21:16 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': '041897e1-ae54-45fa-a854-86f7...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': '041897e1-ae54-45fa-a854-86f7...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': '041897e1-ae54-45fa-a854-86f7...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 = (, HTTPForbidden(), )
/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=HTTPForbidden(), exc_tb=, _marker=