2025-08-07 16:40:14,978 - DEBUG - [10.0.0.249]: Running cmd : hostname 2025-08-07 16:40:15,726 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-3773-1 2025-08-07 16:40:15,727 - DEBUG - [10.0.0.249]: Running cmd : hostname -f 2025-08-07 16:40:15,811 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-3773-1. 2025-08-07 16:40:15,811 - DEBUG - [10.0.0.249]: 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-07 16:40:16,022 - DEBUG - Output : NAMES contrail_test_A4BePdigg vrouter_vrouter-agent_1 vrouter_nodemgr_1 rsyslogd_rsyslogd_1 analytics_snmp_nodemgr_1 analytics_snmp_topology_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_dns_1 control_control_1 control_nodemgr_1 webui_job_1 webui_web_1 config_devicemgr_1 config_svcmonitor_1 config_schema_1 config_nodemgr_1 config_api_1 config_dnsmasq_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-08-07 16:40:16,023 - DEBUG - [10.0.0.249]: Running cmd : getent hosts 10.0.0.249 | head -n 1 | awk '{print $2}' 2025-08-07 16:40:16,112 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-3773-1. 2025-08-07 16:40:16,113 - DEBUG - [10.0.0.249]: Running cmd : ip -4 -o addr show | awk '{print $4}' 2025-08-07 16:40:16,204 - DEBUG - Output : 127.0.0.1/8 10.0.0.249/24 172.17.0.1/16 10.20.0.17/24 2025-08-07 16:40:16,205 - DEBUG - [10.0.0.249]: Running cmd : ip -4 -o addr show dev vhost0 | awk '{print $4}' 2025-08-07 16:40:16,296 - DEBUG - Output : 10.20.0.17/24 2025-08-07 16:40:16,297 - DEBUG - [10.0.0.249]: Running cmd : getent hosts 10.20.0.17 | head -n 1 | awk '{print $2}' 2025-08-07 16:40:16,413 - DEBUG - Output : 2025-08-07 16:40:17,463 - DEBUG - Not creating keypair since it exists 2025-08-07 16:40:17,558 - INFO - Domain Default found not creating 2025-08-07 16:40:18,315 - INFO - Project ctest-TestRbac-13963368 not found, creating it 2025-08-07 16:40:19,020 - INFO - Created Project:ctest-TestRbac-13963368, ID : 0bb8ecb2-1f89-4d16-82a1-62e547faea51 2025-08-07 16:40:21,202 - DEBUG - [10.0.0.249]: 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-07 16:40:21,429 - DEBUG - Output : /bin/bash: crudini: command not found 2025-08-07 16:40:24,305 - INFO - ================================================================================ 2025-08-07 16:40:24,305 - INFO - STARTING TEST : test_perms2_global_share 2025-08-07 16:40:24,306 - 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-07 16:40:24,478 - DEBUG - Skipping xmpp flap check 2025-08-07 16:40:24,478 - DEBUG - Requesting: http://10.0.0.249:8082/aaa-mode 2025-08-07 16:40:24,826 - DEBUG - Requesting: http://10.0.0.249:8082/aaa-mode 2025-08-07 16:40:24,894 - INFO - Initial checks done. Running the testcase now 2025-08-07 16:40:24,895 - INFO - 2025-08-07 16:40:25,370 - INFO - Project ctest-TestRbac-35145938 not found, creating it 2025-08-07 16:40:26,110 - INFO - Created Project:ctest-TestRbac-35145938, ID : 3f095cf0-e6c7-4143-a3b3-845f2848595c 2025-08-07 16:40:26,610 - INFO - Project ctest-TestRbac-91708049 not found, creating it 2025-08-07 16:40:27,336 - INFO - Created Project:ctest-TestRbac-91708049, ID : 8d057d27-65da-4ef5-a32f-d0cedfd0acba 2025-08-07 16:40:29,976 - DEBUG - Requesting: http://10.0.0.249:8082/api-access-list/3c929ade-42c1-41e4-aa3d-6d297da80576 2025-08-07 16:40:30,375 - DEBUG - Requesting: http://10.0.0.249:8082/api-access-list/3c929ade-42c1-41e4-aa3d-6d297da80576 2025-08-07 16:40:30,465 - DEBUG - API access-list (3c929ade-42c1-41e4-aa3d-6d297da80576) found in api server 2025-08-07 16:40:30,466 - INFO - API access-list 3c929ade-42c1-41e4-aa3d-6d297da80576 verify on api server passed 2025-08-07 16:40:31,447 - INFO - Created VN ctest-TestRbac-35145938-35002225, UUID :c04afeee-de1f-4550-af08-13ab7d71e377 2025-08-07 16:40:31,802 - DEBUG - Requesting: http://10.0.0.249:8082/api-access-list/3c929ade-42c1-41e4-aa3d-6d297da80576 2025-08-07 16:40:31,811 - DEBUG - Response Code: 404 2025-08-07 16:40:31,811 - INFO - API access-list (3c929ade-42c1-41e4-aa3d-6d297da80576) got deleted in api server 2025-08-07 16:40:33,137 - INFO - Deleted project: ctest-TestRbac-91708049, ID : 8d057d27-65da-4ef5-a32f-d0cedfd0acba 2025-08-07 16:40:33,319 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:35,539 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:37,720 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:39,923 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:42,147 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:44,367 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:46,547 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:48,695 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:50,855 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:53,047 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:55,267 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:57,467 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:40:59,672 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:01,799 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:03,951 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:06,156 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:08,327 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:10,523 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:12,707 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:14,903 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:17,063 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:19,207 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:21,399 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:23,590 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:25,791 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:27,988 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:30,160 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:32,319 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:34,503 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:36,663 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:38,827 - WARNING - Project ctest-TestRbac-35145938 still has VNs [{'to': ['default-domain', 'ctest-TestRbac-35145938', 'ctest-TestRbac-35145938-35002225'], 'uuid': 'c04afeee-de1f-4550-af08-13ab7d71e377', 'href': 'http://10.0.0.249:8082/virtual-network/c04afeee-de1f-4550-af08-13ab7d71e377'}] before deletion 2025-08-07 16:41:38,828 - WARNING - One or more references still present, will not delete the project ctest-TestRbac-35145938 2025-08-07 16:41:39,017 - ERROR - HttpError Python 3.6.8: /usr/bin/python3 Thu Aug 7 16:40:31 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-35145938-35002225' self.project_obj = /contrail-test/fixtures/vn_test.py in _create_vn_api(self=, vn_name='ctest-TestRbac-35145938-35002225', 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 = ('ba76b1cc-bdef-4caf-8d84-2e6ccd4ebc6d', ('default-domain', 'default-project', 'default-network-ipam'), ipam_subnets = [subnet = ip_prefix = 54.88.9.192...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', 'c04afeee-de1f-4550-af08-13ab7d71e377', 'network_ipam_refs', 'ba76b1cc-bdef-4caf-8d84-2e6ccd4ebc6d', ['default-domain', 'default-project', 'default-network-ipam'], 'ADD', ipam_subnets = [subnet = ip_prefix = 54.88.9.192...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', 'c04afeee-de1f-4550-af08-13ab7d71e377', 'network_ipam_refs', 'ba76b1cc-bdef-4caf-8d84-2e6ccd4ebc6d', ['default-domain', 'default-project', 'default-network-ipam'], 'ADD', ipam_subnets = [subnet = ip_prefix = 54.88.9.192...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='c04afeee-de1f-4550-af08-13ab7d71e377', ref_type='network-ipam', ref_uuid='ba76b1cc-bdef-4caf-8d84-2e6ccd4ebc6d', ref_fq_name=['default-domain', 'default-project', 'default-network-ipam'], operation='ADD', attr=ipam_subnets = [subnet = ip_prefix = 54.88.9.192...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='c04afeee-de1f-4550-af08-13ab7d71e377', ref_type='network-ipam', ref_uuid='ba76b1cc-bdef-4caf-8d84-2e6ccd4ebc6d', ref_fq_name=['default-domain', 'default-project', 'default-network-ipam'], operation='ADD', attr=ipam_subnets = [subnet = ip_prefix = 54.88.9.192...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": "c04afeee-de... "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": "c04afeee-de... "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": "c04afeee-de... "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-07 16:41:39,019 - DEBUG - Skipping xmpp flap check 2025-08-07 16:41:39,019 - INFO -
2025-08-07 16:41:39,019 - INFO - END TEST : test_perms2_global_share : FAILED[0:01:15]
2025-08-07 16:41:39,019 - INFO - -------------------------------------------------------------------------------- 2025-08-07 16:41:41,717 - INFO - Deleted project: ctest-TestRbac-13963368, ID : 0bb8ecb2-1f89-4d16-82a1-62e547faea51 2025-08-07 16:41:45,752 - DEBUG - [10.0.0.249]: 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-07 16:41:45,950 - DEBUG - Output : /bin/bash: crudini: command not found 2025-08-07 16:41:48,640 - DEBUG - Requesting: http://10.0.0.249:8082/aaa-mode 2025-08-07 16:43:03,551 - DEBUG - Requesting: http://10.0.0.249:8082/aaa-mode 2025-08-07 16:44:16,231 - DEBUG - [10.0.0.249]: Running cmd : docker ps -f status=running --format {{.Names}} 2>/dev/null 2025-08-07 16:44:16,450 - DEBUG - Output : contrail_test_A4BePdigg vrouter_vrouter-agent_1 vrouter_provisioner_1 vrouter_nodemgr_1 rsyslogd_rsyslogd_1 analytics_snmp_nodemgr_1 analytics_snmp_topology_1 analytics_snmp_snmp-collector_1 analytics_snmp_provisioner_1 analytics_alarm_nodemgr_1 analytics_alarm_provisioner_1 analytics_alarm_alarm-gen_1 analytics_alarm_kafka_1 analytics_api_1 analytics_nodemgr_1 analytics_provisioner_1 analytics_collector_1 analytics_database_nodemgr_1 analytics_database_query-engine_1 analytics_database_provisioner_1 analytics_database_cassandra_1 control_named_1 control_dns_1 control_control_1 control_nodemgr_1 control_provisioner_1 webui_job_1 webui_web_1 config_devicemgr_1 config_svcmonitor_1 config_schema_1 config_nodemgr_1 config_api_1 config_dnsmasq_1 config_provisioner_1 config_database_provisioner_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 placement_api glance_api keystone keystone_fernet keystone_ssh rabbitmq memcached mariadb cron kolla_toolbox fluentd