2025-11-04 17:15:49,450 - DEBUG - [10.0.0.50]: Running cmd : hostname
2025-11-04 17:15:49,650 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4618-1
2025-11-04 17:15:49,651 - DEBUG - [10.0.0.50]: Running cmd : hostname -f
2025-11-04 17:15:49,713 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4618-1.
2025-11-04 17:15:49,714 - 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 17:15:49,817 - DEBUG - Output : NAMES
contrail_test_dqYdsGaG4
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_nodemgr_1
analytics_api_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_job_1
webui_web_1
config_devicemgr_1
config_api_1
config_dnsmasq_1
config_nodemgr_1
config_svcmonitor_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-04 17:15:49,817 - DEBUG - [10.0.0.50]: Running cmd : getent hosts 10.0.0.50 | head -n 1 | awk '{print $2}'
2025-11-04 17:15:49,873 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4618-1.
2025-11-04 17:15:49,873 - DEBUG - [10.0.0.50]: Running cmd : ip -4 -o addr show | awk '{print $4}'
2025-11-04 17:15:49,937 - 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 17:15:49,938 - DEBUG - [10.0.0.50]: Running cmd : ip -4 -o addr show dev vhost0 | awk '{print $4}'
2025-11-04 17:15:50,001 - DEBUG - Output : 10.20.0.17/24
2025-11-04 17:15:50,001 - DEBUG - [10.0.0.50]: Running cmd : getent hosts 10.20.0.17 | head -n 1 | awk '{print $2}'
2025-11-04 17:15:50,065 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4618-1-test
2025-11-04 17:15:50,953 - DEBUG - Not creating keypair since it exists
2025-11-04 17:15:51,009 - INFO - Domain Default found not creating
2025-11-04 17:15:51,525 - INFO - Project ctest-TestRbac-30200034 not found, creating it
2025-11-04 17:15:51,979 - INFO - Created Project:ctest-TestRbac-30200034, ID : 596cc7f6-3081-4f7a-9d48-523d29e0280e
2025-11-04 17:15:53,632 - 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 17:15:53,718 - DEBUG - Output : /bin/bash: line 1: crudini: command not found
2025-11-04 17:15:56,233 - INFO - ================================================================================
2025-11-04 17:15:56,234 - INFO - STARTING TEST : test_perms2_global_share
2025-11-04 17:15:56,234 - 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 17:15:56,359 - DEBUG - Skipping xmpp flap check
2025-11-04 17:15:56,359 - DEBUG - Requesting: http://10.0.0.50:8082/aaa-mode
2025-11-04 17:15:56,753 - DEBUG - Requesting: http://10.0.0.50:8082/aaa-mode
2025-11-04 17:15:56,787 - INFO - Initial checks done. Running the testcase now
2025-11-04 17:15:56,787 - INFO -
2025-11-04 17:15:57,627 - INFO - Project ctest-TestRbac-04978895 not found, creating it
2025-11-04 17:15:58,498 - INFO - Created Project:ctest-TestRbac-04978895, ID : c8da9964-d1ba-4536-b0a6-181f0a7f89fc
2025-11-04 17:15:58,937 - INFO - Project ctest-TestRbac-97419616 not found, creating it
2025-11-04 17:15:59,398 - INFO - Created Project:ctest-TestRbac-97419616, ID : effc73d7-6868-49ed-a697-56006c8d37f5
2025-11-04 17:16:01,486 - DEBUG - Requesting: http://10.0.0.50:8082/api-access-list/6cebb4a8-c88b-45bf-bb38-54dbf85afb21
2025-11-04 17:16:01,871 - DEBUG - Requesting: http://10.0.0.50:8082/api-access-list/6cebb4a8-c88b-45bf-bb38-54dbf85afb21
2025-11-04 17:16:01,947 - DEBUG - API access-list (6cebb4a8-c88b-45bf-bb38-54dbf85afb21) found in api server
2025-11-04 17:16:01,947 - INFO - API access-list 6cebb4a8-c88b-45bf-bb38-54dbf85afb21 verify on api server passed
2025-11-04 17:16:02,618 - INFO - Created VN ctest-TestRbac-04978895-84292898, UUID :2bb099e5-a2c4-48b2-8c3c-8457dfc13ade
2025-11-04 17:16:02,983 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb099e5-a2c4-48b2-8c3c-8457dfc13ade
2025-11-04 17:16:03,361 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb099e5-a2c4-48b2-8c3c-8457dfc13ade
2025-11-04 17:16:03,405 - INFO - API Server: Read VN 2bb099e5-a2c4-48b2-8c3c-8457dfc13ade
2025-11-04 17:16:03,405 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb099e5-a2c4-48b2-8c3c-8457dfc13ade
2025-11-04 17:16:03,763 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb099e5-a2c4-48b2-8c3c-8457dfc13ade
2025-11-04 17:16:03,805 - INFO - API Server: Read VN 2bb099e5-a2c4-48b2-8c3c-8457dfc13ade
2025-11-04 17:16:04,649 - WARNING - Unable to get the list of compute nodes
2025-11-04 17:16:04,666 - INFO - Deleting VN ctest-TestRbac-04978895-84292898
2025-11-04 17:16:04,760 - DEBUG - Requesting: http://10.0.0.50:8082/api-access-list/6cebb4a8-c88b-45bf-bb38-54dbf85afb21
2025-11-04 17:16:04,765 - DEBUG - Response Code: 404
2025-11-04 17:16:04,765 - INFO - API access-list (6cebb4a8-c88b-45bf-bb38-54dbf85afb21) got deleted in api server
2025-11-04 17:16:05,704 - INFO - Deleted project: ctest-TestRbac-97419616, ID : effc73d7-6868-49ed-a697-56006c8d37f5
2025-11-04 17:16:06,469 - INFO - Deleted project: ctest-TestRbac-04978895, ID : c8da9964-d1ba-4536-b0a6-181f0a7f89fc
2025-11-04 17:16:06,591 - ERROR - HTTPForbidden
Python 3.9.21: /usr/bin/python3
Tue Nov 4 17:16:04 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': '2bb099e5-a2c4-48b2-8c3c-8457...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': '2bb099e5-a2c4-48b2-8c3c-8457...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': '2bb099e5-a2c4-48b2-8c3c-8457...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=