2025-08-24 07:45:12,542 - DEBUG - [10.0.0.254]: Running cmd : hostname 2025-08-24 07:45:13,094 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-3914-1 2025-08-24 07:45:13,095 - DEBUG - [10.0.0.254]: Running cmd : hostname -f 2025-08-24 07:45:13,158 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-3914-1. 2025-08-24 07:45:13,158 - DEBUG - [10.0.0.254]: 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-08-24 07:45:13,261 - DEBUG - Output : NAMES contrail_test_zRhwo34j0 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_collector_1 analytics_nodemgr_1 analytics_api_1 analytics_database_query-engine_1 analytics_database_nodemgr_1 analytics_database_cassandra_1 control_named_1 control_dns_1 control_nodemgr_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_rabbitmq_1 config_database_nodemgr_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-08-24 07:45:13,261 - DEBUG - [10.0.0.254]: Running cmd : getent hosts 10.0.0.254 | head -n 1 | awk '{print $2}' 2025-08-24 07:45:13,319 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-3914-1. 2025-08-24 07:45:13,319 - DEBUG - [10.0.0.254]: Running cmd : ip -4 -o addr show | awk '{print $4}' 2025-08-24 07:45:13,378 - DEBUG - Output : 127.0.0.1/8 10.0.0.254/24 172.17.0.1/16 10.20.0.17/24 2025-08-24 07:45:13,379 - DEBUG - [10.0.0.254]: Running cmd : ip -4 -o addr show dev vhost0 | awk '{print $4}' 2025-08-24 07:45:13,439 - DEBUG - Output : 10.20.0.17/24 2025-08-24 07:45:13,439 - DEBUG - [10.0.0.254]: Running cmd : getent hosts 10.20.0.17 | head -n 1 | awk '{print $2}' 2025-08-24 07:45:13,498 - DEBUG - Output : 2025-08-24 07:45:14,281 - DEBUG - Not creating keypair since it exists 2025-08-24 07:45:14,325 - INFO - Domain Default found not creating 2025-08-24 07:45:14,769 - INFO - Project ctest-TestRbac-91935986 not found, creating it 2025-08-24 07:45:15,234 - INFO - Created Project:ctest-TestRbac-91935986, ID : 680ba4bc-24ec-48d1-9bb6-9de5e62b1890 2025-08-24 07:45:16,564 - DEBUG - [10.0.0.254]: Running cmd : docker exec --privileged -it analytics_api_1 /bin/bash -c 'crudini --get /etc/contrail/contrail-analytics-api.conf DEFAULTS aaa_mode' 2025-08-24 07:45:16,641 - DEBUG - Output : /bin/bash: crudini: command not found 2025-08-24 07:45:18,697 - INFO - ================================================================================ 2025-08-24 07:45:18,697 - INFO - STARTING TEST : test_perms2_global_share 2025-08-24 07:45:18,697 - 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-08-24 07:45:18,816 - DEBUG - Skipping xmpp flap check 2025-08-24 07:45:18,817 - DEBUG - Requesting: http://10.0.0.254:8082/aaa-mode 2025-08-24 07:45:19,107 - DEBUG - Requesting: http://10.0.0.254:8082/aaa-mode 2025-08-24 07:45:19,133 - INFO - Initial checks done. Running the testcase now 2025-08-24 07:45:19,133 - INFO - 2025-08-24 07:45:19,480 - INFO - Project ctest-TestRbac-02527529 not found, creating it 2025-08-24 07:45:19,957 - INFO - Created Project:ctest-TestRbac-02527529, ID : 6678b86e-dace-46dd-81af-87e6eb9cc6b5 2025-08-24 07:45:20,304 - INFO - Project ctest-TestRbac-25034754 not found, creating it 2025-08-24 07:45:20,773 - INFO - Created Project:ctest-TestRbac-25034754, ID : 578b44bc-6506-4da5-adac-47a55afb05dd 2025-08-24 07:45:22,508 - DEBUG - Requesting: http://10.0.0.254:8082/api-access-list/7d7a99a9-3be5-4a58-be54-5e235c3f67e7 2025-08-24 07:45:22,833 - DEBUG - Requesting: http://10.0.0.254:8082/api-access-list/7d7a99a9-3be5-4a58-be54-5e235c3f67e7 2025-08-24 07:45:22,893 - DEBUG - API access-list (7d7a99a9-3be5-4a58-be54-5e235c3f67e7) found in api server 2025-08-24 07:45:22,893 - INFO - API access-list 7d7a99a9-3be5-4a58-be54-5e235c3f67e7 verify on api server passed 2025-08-24 07:45:23,516 - INFO - Created VN ctest-TestRbac-02527529-60487578, UUID :10929312-b4c8-45a7-8e66-9b2d6b0e853a 2025-08-24 07:45:23,739 - DEBUG - Requesting: http://10.0.0.254:8082/api-access-list/7d7a99a9-3be5-4a58-be54-5e235c3f67e7 2025-08-24 07:45:23,753 - DEBUG - Response Code: 404 2025-08-24 07:45:23,753 - INFO - API access-list (7d7a99a9-3be5-4a58-be54-5e235c3f67e7) got deleted in api server 2025-08-24 07:45:24,645 - INFO - Deleted project: ctest-TestRbac-25034754, ID : 578b44bc-6506-4da5-adac-47a55afb05dd 2025-08-24 07:45:24,788 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:26,948 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:29,092 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:31,236 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:33,388 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:35,536 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:37,696 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:39,856 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:42,004 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:44,148 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:46,300 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:48,440 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:50,568 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:52,720 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:54,872 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:57,020 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:45:59,168 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:01,316 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:03,464 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:05,612 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:07,768 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:09,920 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:12,060 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:14,216 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:16,364 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:18,512 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:20,660 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:22,812 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:24,956 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:27,096 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:29,256 - WARNING - Project ctest-TestRbac-02527529 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-02527529', 'ctest-TestRbac-02527529-60487578'], 'uuid': '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'href': 'http://10.0.0.254:8082/virtual-network/10929312-b4c8-45a7-8e66-9b2d6b0e853a'}] before deletion 2025-08-24 07:46:29,256 - WARNING - One or more references still present, will not delete the project ctest-TestRbac-02527529 2025-08-24 07:46:29,376 - ERROR - HttpError Python 3.6.8: /usr/bin/python3 Sun Aug 24 07:45:23 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=) 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}) 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: 219 #WA of verifying using admin creds since RI etal system objects 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.6/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 = (, HttpError(500, "'NoneType' object is not iterable"), ) /usr/local/lib/python3.6/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=HttpError(500, "'NoneType' object is not iterable"), exc_tb=, _marker=) 13 14 def reraise(exc_class, exc_obj, exc_tb, _marker=object()): 15 """Re-raise an exception received from sys.exc_info() or similar.""" 16 raise exc_obj.with_traceback(exc_tb) 17 exc_obj = HttpError(500, "'NoneType' object is not iterable") exc_obj.with_traceback = exc_tb = /usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=, fixture=) 729 """ 730 try: 731 fixture.setUp() 732 except MultipleExceptions as e: 733 if (fixtures is not None and fixture = fixture.setUp = > /contrail-test/fixtures/vn_test.py in setUp(self=) 437 def setUp(self): 438 super(VNFixture, self).setUp() 439 self.create() 440 441 def create(self): self = self.create = > /contrail-test/fixtures/vn_test.py in create(self=) 448 self.webui.create_vn(self) 449 elif (self.option == 'contrail'): 450 self._create_vn_api(self.vn_name, self.project_obj) 451 else: 452 self._create_vn_orch() self = self._create_vn_api = > self.vn_name = 'ctest-TestRbac-02527529-60487578' self.project_obj = /contrail-test/fixtures/vn_test.py in _create_vn_api(self=, vn_name='ctest-TestRbac-02527529-60487578', project_obj=) 414 ipam_sn_lst.append(ipam_sn) 415 self.api_vn_obj.add_network_ipam(ipam, VnSubnetsType(ipam_sn_lst)) 416 self.vnc_lib_h.virtual_network_update(self.api_vn_obj) 417 else: 418 with self.lock: self = self.vnc_lib_h = self.vnc_lib_h.virtual_network_update = functools.partial(>, 'virtual-network') self.api_vn_obj = /usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=, *args=('virtual-network', ), **kwargs={}) 50 retry_on_error=False) 51 self._parse_homepage(homepage) 52 return func(self, *args, **kwargs) 53 return wrapper 54 func = self = args = ('virtual-network', ) kwargs = {} /usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py in _object_update(self=, res_type='virtual-network', obj=) 831 self.ref_update( 832 res_type, obj.uuid, ref_name, ref[0], list(ref[1]), 833 'ADD', ref[2]) 834 obj.clear_pending_updates() 835 ref = ('009fe7f8-9cc3-4e45-86b0-260971609abc', ('default-domain', 'default-project', 'default-network-ipam'), ipam_subnets = [subnet = ip_prefix = 92.117.154....None, dhcp_relay_server = []], host_routes = None) /usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=, *args=('virtual-network', '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'network_ipam_refs', '009fe7f8-9cc3-4e45-86b0-260971609abc', ['default-domain', 'default-project', 'default-network-ipam'], 'ADD', ipam_subnets = [subnet = ip_prefix = 92.117.154....None, dhcp_relay_server = []], host_routes = None), **kwargs={}) 50 retry_on_error=False) 51 self._parse_homepage(homepage) 52 return func(self, *args, **kwargs) 53 return wrapper 54 func = self = args = ('virtual-network', '10929312-b4c8-45a7-8e66-9b2d6b0e853a', 'network_ipam_refs', '009fe7f8-9cc3-4e45-86b0-260971609abc', ['default-domain', 'default-project', 'default-network-ipam'], 'ADD', ipam_subnets = [subnet = ip_prefix = 92.117.154....None, dhcp_relay_server = []], host_routes = None) kwargs = {} /usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py in ref_update(self=, obj_type='virtual-network', obj_uuid='10929312-b4c8-45a7-8e66-9b2d6b0e853a', ref_type='network-ipam', ref_uuid='009fe7f8-9cc3-4e45-86b0-260971609abc', ref_fq_name=['default-domain', 'default-project', 'default-network-ipam'], operation='ADD', attr=ipam_subnets = [subnet = ip_prefix = 92.117.154....None, dhcp_relay_server = []], host_routes = None) 1362 if he.status_code == 404: 1363 return None 1364 raise he 1365 1366 return json.loads(content)['uuid'] he undefined /usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py in ref_update(self=, obj_type='virtual-network', obj_uuid='10929312-b4c8-45a7-8e66-9b2d6b0e853a', ref_type='network-ipam', ref_uuid='009fe7f8-9cc3-4e45-86b0-260971609abc', ref_fq_name=['default-domain', 'default-project', 'default-network-ipam'], operation='ADD', attr=ipam_subnets = [subnet = ip_prefix = 92.117.154....None, dhcp_relay_server = []], host_routes = None) 1358 uri = self._action_uri['ref-update'] 1359 try: 1360 content = self._request_server(OP_POST, uri, data=json_body) 1361 except HttpError as he: 1362 if he.status_code == 404: content undefined self = self._request_server = > global OP_POST = 1 uri = '/ref-update' data undefined json_body = '{"type": "virtual-network", "uuid": "10929312-b4... "dhcp_relay_server": []}], "host_routes": null}}' /usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request_server(self=, op=1, url='/ref-update', data='{"type": "virtual-network", "uuid": "10929312-b4... "dhcp_relay_server": []}], "host_routes": null}}', retry_on_error=True, retry_after_authn=False, retry_count=30) 1126 return self._request( 1127 op, url, data=data, retry_on_error=retry_on_error, 1128 retry_after_authn=retry_after_authn, retry_count=retry_count) 1129 # end _request_server 1130 retry_after_authn = False retry_count = 30 /usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=, op=1, url='/ref-update', data='{"type": "virtual-network", "uuid": "10929312-b4... "dhcp_relay_server": []}], "host_routes": null}}', retry_on_error=True, retry_after_authn=False, retry_count=30) 1206 raise AuthFailed(status, content) 1207 else: # Unknown Error 1208 raise HttpError(status, content) 1209 # end while True 1210 global HttpError = status = 500 content = "'NoneType' object is not iterable" HttpError: HTTP Status: 500 Content: 'NoneType' object is not iterable __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'content': "'NoneType' object is not iterable", 'status_code': 500} __dir__ = __doc__ = None __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'vnc_api.exceptions' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None args = (500, "'NoneType' object is not iterable") content = "'NoneType' object is not iterable" status_code = 500 with_traceback = The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/serial_scripts/rbac/test_rbac.py", line 50, in test_perms2_global_share vn = self.create_vn(connections=u1_p1_conn, shared=True, verify=False) File "/contrail-test/serial_scripts/rbac/base.py", line 217, in create_vn option=option, **kwargs) File "/contrail-test/serial_scripts/rbac/base.py", line 354, in create_fixture return self.useFixture(fixturecls(**kwargs)) File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture reraise(*exc_info) File "/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture fixture.setUp() File "/contrail-test/fixtures/vn_test.py", line 439, in setUp self.create() File "/contrail-test/fixtures/vn_test.py", line 450, in create self._create_vn_api(self.vn_name, self.project_obj) File "/contrail-test/fixtures/vn_test.py", line 416, in _create_vn_api self.vnc_lib_h.virtual_network_update(self.api_vn_obj) File "/usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper return func(self, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 833, in _object_update 'ADD', ref[2]) File "/usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper return func(self, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1364, in ref_update raise he File "/usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1360, in ref_update content = self._request_server(OP_POST, uri, data=json_body) File "/usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server retry_after_authn=retry_after_authn, retry_count=retry_count) File "/usr/local/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1208, in _request raise HttpError(status, content) vnc_api.exceptions.HttpError: HTTP Status: 500 Content: 'NoneType' object is not iterable 2025-08-24 07:46:29,377 - DEBUG - Skipping xmpp flap check 2025-08-24 07:46:29,377 - INFO -
2025-08-24 07:46:29,377 - INFO - END TEST : test_perms2_global_share : FAILED[0:01:11]
2025-08-24 07:46:29,377 - INFO - -------------------------------------------------------------------------------- 2025-08-24 07:46:30,724 - INFO - Deleted project: ctest-TestRbac-91935986, ID : 680ba4bc-24ec-48d1-9bb6-9de5e62b1890 2025-08-24 07:46:32,889 - DEBUG - [10.0.0.254]: Running cmd : docker exec --privileged -it analytics_api_1 /bin/bash -c 'crudini --get /etc/contrail/contrail-analytics-api.conf DEFAULTS aaa_mode' 2025-08-24 07:46:32,964 - DEBUG - Output : /bin/bash: crudini: command not found 2025-08-24 07:46:35,000 - DEBUG - Requesting: http://10.0.0.254:8082/aaa-mode 2025-08-24 07:47:45,264 - DEBUG - Requesting: http://10.0.0.254:8082/aaa-mode 2025-08-24 07:48:54,093 - DEBUG - [10.0.0.254]: Running cmd : docker ps -f status=running --format {{.Names}} 2>/dev/null 2025-08-24 07:48:54,188 - DEBUG - Output : contrail_test_zRhwo34j0 vrouter_vrouter-agent_1 vrouter_nodemgr_1 vrouter_provisioner_1 rsyslogd_rsyslogd_1 analytics_snmp_topology_1 analytics_snmp_nodemgr_1 analytics_snmp_snmp-collector_1 analytics_snmp_provisioner_1 analytics_alarm_nodemgr_1 analytics_alarm_alarm-gen_1 analytics_alarm_provisioner_1 analytics_alarm_kafka_1 analytics_collector_1 analytics_nodemgr_1 analytics_provisioner_1 analytics_api_1 analytics_database_query-engine_1 analytics_database_nodemgr_1 analytics_database_provisioner_1 analytics_database_cassandra_1 control_named_1 control_dns_1 control_nodemgr_1 control_control_1 control_provisioner_1 webui_job_1 webui_web_1 config_devicemgr_1 config_provisioner_1 config_api_1 config_svcmonitor_1 config_nodemgr_1 config_dnsmasq_1 config_schema_1 config_database_rabbitmq_1 config_database_nodemgr_1 config_database_provisioner_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 placement_api glance_api keystone keystone_fernet keystone_ssh rabbitmq memcached mariadb cron kolla_toolbox fluentd