2025-11-04 07:28:50,735 - DEBUG - [10.0.0.50]: Running cmd : hostname
2025-11-04 07:28:50,931 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4614-1
2025-11-04 07:28:50,931 - DEBUG - [10.0.0.50]: Running cmd : hostname -f
2025-11-04 07:28:50,990 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4614-1.
2025-11-04 07:28:50,990 - 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-04 07:28:51,105 - DEBUG - Output : NAMES
contrail_test_tiIuRWMMq
vrouter_vrouter-agent_1
vrouter_nodemgr_1
rsyslogd_rsyslogd_1
analytics_snmp_topology_1
analytics_snmp_nodemgr_1
analytics_snmp_snmp-collector_1
analytics_alarm_nodemgr_1
analytics_alarm_alarm-gen_1
analytics_alarm_kafka_1
analytics_api_1
analytics_nodemgr_1
analytics_collector_1
analytics_database_nodemgr_1
analytics_database_query-engine_1
analytics_database_cassandra_1
control_named_1
control_control_1
control_nodemgr_1
control_dns_1
webui_web_1
webui_job_1
config_devicemgr_1
config_svcmonitor_1
config_schema_1
config_nodemgr_1
config_dnsmasq_1
config_api_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-04 07:28:51,105 - DEBUG - [10.0.0.50]: Running cmd : getent hosts 10.0.0.50 | head -n 1 | awk '{print $2}'
2025-11-04 07:28:51,162 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4614-1.
2025-11-04 07:28:51,162 - DEBUG - [10.0.0.50]: Running cmd : ip -4 -o addr show | awk '{print $4}'
2025-11-04 07:28:51,225 - DEBUG - Output : 127.0.0.1/8
10.0.0.50/24
172.17.0.1/16
10.20.0.17/24
2025-11-04 07:28:51,226 - DEBUG - [10.0.0.50]: Running cmd : ip -4 -o addr show dev vhost0 | awk '{print $4}'
2025-11-04 07:28:51,286 - DEBUG - Output : 10.20.0.17/24
2025-11-04 07:28:51,286 - DEBUG - [10.0.0.50]: Running cmd : getent hosts 10.20.0.17 | head -n 1 | awk '{print $2}'
2025-11-04 07:28:51,350 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4614-1-test
2025-11-04 07:28:52,151 - DEBUG - Not creating keypair since it exists
2025-11-04 07:28:52,200 - INFO - Domain Default found not creating
2025-11-04 07:28:52,664 - INFO - Project ctest-TestRbac-97534189 not found, creating it
2025-11-04 07:28:53,110 - INFO - Created Project:ctest-TestRbac-97534189, ID : bf639b03-b1a2-4acb-aca2-6fb2b39e3a66
2025-11-04 07:28:54,503 - 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-04 07:28:54,577 - DEBUG - Output : /bin/bash: line 1: crudini: command not found
2025-11-04 07:28:56,699 - INFO - ================================================================================
2025-11-04 07:28:56,699 - INFO - STARTING TEST : test_perms2_global_share
2025-11-04 07:28:56,700 - 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-04 07:28:56,828 - DEBUG - Skipping xmpp flap check
2025-11-04 07:28:56,828 - DEBUG - Requesting: http://10.0.0.50:8082/aaa-mode
2025-11-04 07:28:57,163 - DEBUG - Requesting: http://10.0.0.50:8082/aaa-mode
2025-11-04 07:28:57,185 - INFO - Initial checks done. Running the testcase now
2025-11-04 07:28:57,185 - INFO -
2025-11-04 07:28:57,554 - INFO - Project ctest-TestRbac-56329336 not found, creating it
2025-11-04 07:28:57,994 - INFO - Created Project:ctest-TestRbac-56329336, ID : 3222e197-7894-498e-b783-689704238df6
2025-11-04 07:28:58,352 - INFO - Project ctest-TestRbac-20520282 not found, creating it
2025-11-04 07:28:58,864 - INFO - Created Project:ctest-TestRbac-20520282, ID : 82ab6552-e9b2-4b4b-bd1d-17c778eee476
2025-11-04 07:29:00,667 - DEBUG - Requesting: http://10.0.0.50:8082/api-access-list/dd31a0e7-a23e-4899-9b54-30f5e90fb901
2025-11-04 07:29:01,015 - DEBUG - Requesting: http://10.0.0.50:8082/api-access-list/dd31a0e7-a23e-4899-9b54-30f5e90fb901
2025-11-04 07:29:01,071 - DEBUG - API access-list (dd31a0e7-a23e-4899-9b54-30f5e90fb901) found in api server
2025-11-04 07:29:01,071 - INFO - API access-list dd31a0e7-a23e-4899-9b54-30f5e90fb901 verify on api server passed
2025-11-04 07:29:01,691 - INFO - Created VN ctest-TestRbac-56329336-61809949, UUID :de299191-6d0c-44df-bec2-8e045dad0be2
2025-11-04 07:29:02,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de299191-6d0c-44df-bec2-8e045dad0be2
2025-11-04 07:29:02,639 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de299191-6d0c-44df-bec2-8e045dad0be2
2025-11-04 07:29:02,672 - INFO - API Server: Read VN de299191-6d0c-44df-bec2-8e045dad0be2
2025-11-04 07:29:02,672 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de299191-6d0c-44df-bec2-8e045dad0be2
2025-11-04 07:29:02,985 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de299191-6d0c-44df-bec2-8e045dad0be2
2025-11-04 07:29:03,019 - INFO - API Server: Read VN de299191-6d0c-44df-bec2-8e045dad0be2
2025-11-04 07:29:03,742 - WARNING - Unable to get the list of compute nodes
2025-11-04 07:29:03,756 - INFO - Deleting VN ctest-TestRbac-56329336-61809949
2025-11-04 07:29:03,843 - DEBUG - Requesting: http://10.0.0.50:8082/api-access-list/dd31a0e7-a23e-4899-9b54-30f5e90fb901
2025-11-04 07:29:03,848 - DEBUG - Response Code: 404
2025-11-04 07:29:03,848 - INFO - API access-list (dd31a0e7-a23e-4899-9b54-30f5e90fb901) got deleted in api server
2025-11-04 07:29:04,706 - INFO - Deleted project: ctest-TestRbac-20520282, ID : 82ab6552-e9b2-4b4b-bd1d-17c778eee476
2025-11-04 07:29:05,410 - INFO - Deleted project: ctest-TestRbac-56329336, ID : 3222e197-7894-498e-b783-689704238df6
2025-11-04 07:29:05,532 - ERROR - HTTPForbidden
Python 3.9.21: /usr/bin/python3
Tue Nov 4 07:29:03 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': 'de299191-6d0c-44df-bec2-8e04...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': 'de299191-6d0c-44df-bec2-8e04...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': 'de299191-6d0c-44df-bec2-8e04...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=