2025-08-13 15:01:42,494 - DEBUG - [10.0.0.27]: Running cmd : hostname
2025-08-13 15:01:43,090 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-3839-1
2025-08-13 15:01:43,090 - DEBUG - [10.0.0.27]: Running cmd : hostname -f
2025-08-13 15:01:43,149 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-3839-1.
2025-08-13 15:01:43,149 - DEBUG - [10.0.0.27]: 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-13 15:01:43,266 - DEBUG - Output : NAMES
contrail_test_x3tIxx7Vd
vrouter_vrouter-agent_1
vrouter_nodemgr_1
rsyslogd_rsyslogd_1
analytics_snmp_snmp-collector_1
analytics_snmp_nodemgr_1
analytics_snmp_topology_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_web_1
webui_job_1
config_devicemgr_1
config_api_1
config_schema_1
config_dnsmasq_1
config_nodemgr_1
config_svcmonitor_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-13 15:01:43,266 - DEBUG - [10.0.0.27]: Running cmd : getent hosts 10.0.0.27 | head -n 1 | awk '{print $2}'
2025-08-13 15:01:43,325 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-3839-1.
2025-08-13 15:01:43,326 - DEBUG - [10.0.0.27]: Running cmd : ip -4 -o addr show | awk '{print $4}'
2025-08-13 15:01:43,389 - DEBUG - Output : 127.0.0.1/8
10.0.0.27/24
172.17.0.1/16
10.20.0.17/24
2025-08-13 15:01:43,390 - DEBUG - [10.0.0.27]: Running cmd : ip -4 -o addr show dev vhost0 | awk '{print $4}'
2025-08-13 15:01:43,454 - DEBUG - Output : 10.20.0.17/24
2025-08-13 15:01:43,454 - DEBUG - [10.0.0.27]: Running cmd : getent hosts 10.20.0.17 | head -n 1 | awk '{print $2}'
2025-08-13 15:01:43,516 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-3839-1-test
2025-08-13 15:01:44,356 - DEBUG - Not creating keypair since it exists
2025-08-13 15:01:44,401 - INFO - Domain Default found not creating
2025-08-13 15:01:44,861 - INFO - Project ctest-TestRbac-19045068 not found, creating it
2025-08-13 15:01:45,311 - INFO - Created Project:ctest-TestRbac-19045068, ID : 7ae78675-523c-464a-9bef-36847076f1a9
2025-08-13 15:01:46,763 - DEBUG - [10.0.0.27]: 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-13 15:01:46,851 - DEBUG - Output : /bin/bash: crudini: command not found
2025-08-13 15:01:48,952 - INFO - ================================================================================
2025-08-13 15:01:48,952 - INFO - STARTING TEST : test_perms2_global_share
2025-08-13 15:01:48,952 - 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-13 15:01:49,079 - DEBUG - Skipping xmpp flap check
2025-08-13 15:01:49,080 - DEBUG - Requesting: http://10.0.0.27:8082/aaa-mode
2025-08-13 15:01:49,373 - DEBUG - Requesting: http://10.0.0.27:8082/aaa-mode
2025-08-13 15:01:49,397 - INFO - Initial checks done. Running the testcase now
2025-08-13 15:01:49,397 - INFO -
2025-08-13 15:01:49,745 - INFO - Project ctest-TestRbac-48382038 not found, creating it
2025-08-13 15:01:50,204 - INFO - Created Project:ctest-TestRbac-48382038, ID : 3c7f05fe-afb0-4ba5-b9df-1e142ee7b3e9
2025-08-13 15:01:50,544 - INFO - Project ctest-TestRbac-76223572 not found, creating it
2025-08-13 15:01:50,995 - INFO - Created Project:ctest-TestRbac-76223572, ID : 628599f2-cfd2-4d6d-8d6a-bce04e43d671
2025-08-13 15:01:52,867 - DEBUG - Requesting: http://10.0.0.27:8082/api-access-list/d47c6023-b454-4b19-aac1-2466c4aefc24
2025-08-13 15:01:53,203 - DEBUG - Requesting: http://10.0.0.27:8082/api-access-list/d47c6023-b454-4b19-aac1-2466c4aefc24
2025-08-13 15:01:53,258 - DEBUG - API access-list (d47c6023-b454-4b19-aac1-2466c4aefc24) found in api server
2025-08-13 15:01:53,258 - INFO - API access-list d47c6023-b454-4b19-aac1-2466c4aefc24 verify on api server passed
2025-08-13 15:01:53,862 - INFO - Created VN ctest-TestRbac-48382038-24064498, UUID :145c10c7-1613-4886-8f4d-c396e8c6a010
2025-08-13 15:01:54,241 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/145c10c7-1613-4886-8f4d-c396e8c6a010
2025-08-13 15:01:54,530 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/145c10c7-1613-4886-8f4d-c396e8c6a010
2025-08-13 15:01:54,571 - INFO - API Server: Read VN 145c10c7-1613-4886-8f4d-c396e8c6a010
2025-08-13 15:01:54,571 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/145c10c7-1613-4886-8f4d-c396e8c6a010
2025-08-13 15:01:54,866 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/145c10c7-1613-4886-8f4d-c396e8c6a010
2025-08-13 15:01:54,906 - INFO - API Server: Read VN 145c10c7-1613-4886-8f4d-c396e8c6a010
2025-08-13 15:01:55,616 - WARNING - Unable to get the list of compute nodes
2025-08-13 15:01:56,785 - INFO - VM ([]) created on node: (None), Zone: (None)
2025-08-13 15:01:56,827 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-13 15:02:01,909 - DEBUG - VM is in ACTIVE state now
2025-08-13 15:02:01,909 - INFO - VM name : ctest-TestRbac-76223572-66360343
2025-08-13 15:02:01,981 - DEBUG - VM ctest-TestRbac-76223572-66360343 ID is f3d07d8e-3ff9-4b70-b117-88154ae35081
2025-08-13 15:02:02,056 - DEBUG - VM is in ACTIVE state now
2025-08-13 15:02:02,086 - DEBUG - VM ctest-TestRbac-76223572-66360343 launched on Node cn-jenkins-deploy-platform-ansible-os-3839-1.
2025-08-13 15:02:02,166 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f3d07d8e-3ff9-4b70-b117-88154ae35081
2025-08-13 15:02:02,186 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f3d07d8e-3ff9-4b70-b117-88154ae35081
2025-08-13 15:02:02,203 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/01753043-a545-4f79-84ae-2051f9f71bc4
2025-08-13 15:02:02,223 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f3d07d8e-3ff9-4b70-b117-88154ae35081
2025-08-13 15:02:02,240 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/01753043-a545-4f79-84ae-2051f9f71bc4
2025-08-13 15:02:02,262 - DEBUG - Requesting: http://10.0.0.27:8082/instance-ip/ddc15a6a-6f61-4348-9260-92071b4de30a
2025-08-13 15:02:02,281 - DEBUG - Verifying in api server 10.0.0.27
2025-08-13 15:02:02,282 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f3d07d8e-3ff9-4b70-b117-88154ae35081
2025-08-13 15:02:02,298 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/01753043-a545-4f79-84ae-2051f9f71bc4
2025-08-13 15:02:02,318 - DEBUG - Requesting: http://10.0.0.27:8082/instance-ip/ddc15a6a-6f61-4348-9260-92071b4de30a
2025-08-13 15:02:02,335 - INFO - VM ctest-TestRbac-76223572-66360343 verfication in all API Servers passed
2025-08-13 15:02:02,335 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_VnListReq?name=default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498
2025-08-13 15:02:02,342 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_PageReq?x=begin:-1,end:-1,table:db.interface.0,uuid:01753043-a545-4f79-84ae-2051f9f71bc4
2025-08-13 15:02:02,348 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_PageReq?x=begin:-1,end:-1,table:db.interface.0,
2025-08-13 15:02:02,355 - DEBUG - VM ctest-TestRbac-76223572-66360343 Tap interface: {'index': '3', 'name': 'tap01753043-a5', 'uuid': '01753043-a545-4f79-84ae-2051f9f71bc4', 'vrf_name': 'default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498:ctest-TestRbac-48382038-24064498', 'active': 'Active', 'ipv4_active': 'Active', 'l2_active': 'L2 Active', 'ip6_active': 'Ipv6 Inactive < no-ipv6-addr >', 'health_check_active': 'Active', 'dhcp_service': 'Enable', 'dhcp_service_v6': 'Disable', 'dns_service': 'Enable', 'type': 'vport', 'label': '25', 'l2_label': '29', 'vxlan_id': '11', 'vn_name': 'default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498', 'vm_uuid': 'f3d07d8e-3ff9-4b70-b117-88154ae35081', 'vm_name': 'ctest-TestRbac-76223572-66360343', 'ip_addr': '181.128.129.60', 'mac_addr': '02:01:75:30:43:a5', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '48', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-TestRbac-76223572:01753043-a545-4f79-84ae-2051f9f71bc4', 'sg_uuid_list': ['a48394ee-ba78-4ce1-9ac2-be76d6c1f51d'], 'static_route_list': None, 'vm_project_uuid': '628599f2-cfd2-4d6d-8d6a-bce04e43d671', 'admin_state': 'Enabled', 'flow_key_idx': '21', 'allowed_address_pair_list': None, 'ip6_addr': '::', 'local_preference': '0', 'tx_vlan_id': '-1', 'rx_vlan_id': '-1', 'parent_interface': None, 'subnet': '--NA--', 'sub_type': 'Tap', 'vrf_assign_acl_uuid': '--NA--', 'vmi_type': 'Virtual Machine', 'transport': 'Ethernet', 'logical_interface_uuid': '00000000-0000-0000-0000-000000000000', 'flood_unknown_unicast': 'false', 'physical_device': None, 'physical_interface': None, 'fixed_ip4_list': None, 'fixed_ip6_list': None, 'fat_flow_list': None, 'metadata_ip_active': 'Active', 'service_health_check_ip': '0.0.0.0', 'alias_ip_list': None, 'drop_new_flows': 'false', 'bridge_domain_list': [], 'vmi_tag_list': None, 'policy_set_acl_list': None, 'slo_list': None, 'vhostuser_mode': '0', 'si_other_end_vmi': '00000000-0000-0000-0000-000000000000', 'cfg_igmp_enable': 'false', 'igmp_enabled': 'false', 'max_flows': '0', 'policy_set_fwaas_list': None, 'bond_interface_list': None, 'mac_ip_learning_enable': 'false', 'mac_ip_list': []}
2025-08-13 15:02:02,355 - DEBUG - Agent 10.0.0.27 vrf name: default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498:ctest-TestRbac-48382038-24064498
2025-08-13 15:02:02,355 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_VrfListReq?name=default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498:ctest-TestRbac-48382038-24064498
2025-08-13 15:02:02,361 - DEBUG - Agent VRF Object : {'vrf_list': [{'name': 'default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498:ctest-TestRbac-48382038-24064498', 'ucindex': '2', 'mcindex': '2', 'l2index': '2', 'source': 'Config; ', 'uc6index': '2', 'vn': 'default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498', 'table_label': '-1', 'vxlan_id': '11', 'evpnindex': '2', 'brindex': '2', 'mplsindex': '0', 'RD': '10.20.0.17:2', 'mac_aging_time': '0', 'layer2_control_word': 'false', 'forwarding_vrf': None, 'hbf_rintf': '-1', 'hbf_lintf': '-1'}]}
2025-08-13 15:02:03,104 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_Inet4UcRouteReq?x=2
2025-08-13 15:02:03,113 - DEBUG - VM ctest-TestRbac-76223572-66360343 : Tap interface tap01753043-a5 is set to Active
2025-08-13 15:02:03,114 - DEBUG - Tap interface tap01753043-a5 detail : {'index': '3', 'name': 'tap01753043-a5', 'uuid': '01753043-a545-4f79-84ae-2051f9f71bc4', 'vrf_name': 'default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498:ctest-TestRbac-48382038-24064498', 'active': 'Active', 'ipv4_active': 'Active', 'l2_active': 'L2 Active', 'ip6_active': 'Ipv6 Inactive < no-ipv6-addr >', 'health_check_active': 'Active', 'dhcp_service': 'Enable', 'dhcp_service_v6': 'Disable', 'dns_service': 'Enable', 'type': 'vport', 'label': '25', 'l2_label': '29', 'vxlan_id': '11', 'vn_name': 'default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498', 'vm_uuid': 'f3d07d8e-3ff9-4b70-b117-88154ae35081', 'vm_name': 'ctest-TestRbac-76223572-66360343', 'ip_addr': '181.128.129.60', 'mac_addr': '02:01:75:30:43:a5', 'policy': 'Enable', 'fip_list': [], 'mdata_ip_addr': '169.254.0.3', 'service_vlan_list': None, 'os_ifindex': '48', 'fabric_port': 'NotFabricPort', 'alloc_linklocal_ip': 'LL-Enable', 'analyzer_name': None, 'config_name': 'default-domain:ctest-TestRbac-76223572:01753043-a545-4f79-84ae-2051f9f71bc4', 'sg_uuid_list': ['a48394ee-ba78-4ce1-9ac2-be76d6c1f51d'], 'static_route_list': None, 'vm_project_uuid': '628599f2-cfd2-4d6d-8d6a-bce04e43d671', 'admin_state': 'Enabled', 'flow_key_idx': '21', 'allowed_address_pair_list': None, 'ip6_addr': '::', 'local_preference': '0', 'tx_vlan_id': '-1', 'rx_vlan_id': '-1', 'parent_interface': None, 'subnet': '--NA--', 'sub_type': 'Tap', 'vrf_assign_acl_uuid': '--NA--', 'vmi_type': 'Virtual Machine', 'transport': 'Ethernet', 'logical_interface_uuid': '00000000-0000-0000-0000-000000000000', 'flood_unknown_unicast': 'false', 'physical_device': None, 'physical_interface': None, 'fixed_ip4_list': None, 'fixed_ip6_list': None, 'fat_flow_list': None, 'metadata_ip_active': 'Active', 'service_health_check_ip': '0.0.0.0', 'alias_ip_list': None, 'drop_new_flows': 'false', 'bridge_domain_list': [], 'vmi_tag_list': None, 'policy_set_acl_list': None, 'slo_list': None, 'vhostuser_mode': '0', 'si_other_end_vmi': '00000000-0000-0000-0000-000000000000', 'cfg_igmp_enable': 'false', 'igmp_enabled': 'false', 'max_flows': '0', 'policy_set_fwaas_list': None, 'bond_interface_list': None, 'mac_ip_learning_enable': 'false', 'mac_ip_list': []}
2025-08-13 15:02:03,235 - DEBUG - Starting Layer 2 verification in Agent
2025-08-13 15:02:03,235 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_Layer2RouteReq?x=2
2025-08-13 15:02:03,247 - DEBUG - Layer 2 path is seen for VM MAC 02:01:75:30:43:a5 in agent 10.0.0.27
2025-08-13 15:02:03,247 - DEBUG - Active layer 2 route in agent is present for VMI tap01753043-a5
2025-08-13 15:02:03,247 - DEBUG - L2 label(29) matches bw route table and interface table
2025-08-13 15:02:03,247 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_VnListReq?name=default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498
2025-08-13 15:02:03,253 - DEBUG - VN default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498 is found in Agent of node 10.0.0.27
2025-08-13 15:02:03,253 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_VrfListReq?name=default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498:ctest-TestRbac-48382038-24064498
2025-08-13 15:02:03,382 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_Inet4UcRouteReq?x=2
2025-08-13 15:02:03,391 - DEBUG - VRF IDs of VN default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498 is consistent in agent 10.0.0.27
2025-08-13 15:02:03,391 - DEBUG - Route for VM IP ['181.128.129.60'] is consistent in agent 10.0.0.27
2025-08-13 15:02:03,391 - DEBUG - VN default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498 verification for VM ctest-TestRbac-76223572-66360343 in Agent 10.0.0.27 passed
2025-08-13 15:02:03,506 - DEBUG - Starting all layer 2 verification in agent 10.0.0.27
2025-08-13 15:02:03,506 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_Layer2RouteReq?x=2
2025-08-13 15:02:03,517 - DEBUG - Route for VM MAC 02:01:75:30:43:a5 is consistent in agent 10.0.0.27
2025-08-13 15:02:06,674 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2025-08-13 15:02:06,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRbac-76223572-66360343 failed!
2025-08-13 15:02:06,746 - DEBUG - Gateway for vn default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498 is 181.128.129.62 and allocation pool is NOT set
2025-08-13 15:02:08,766 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.894 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.894/5.637/10.380/4.743 ms')
2025-08-13 15:02:08,766 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRbac-76223572-66360343 passed
2025-08-13 15:02:08,766 - INFO - VM ctest-TestRbac-76223572-66360343 verifications in Compute nodes passed
2025-08-13 15:02:08,766 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_VrfListReq?name=default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498:ctest-TestRbac-48382038-24064498
2025-08-13 15:02:08,853 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_KRouteReq?x=2
2025-08-13 15:02:08,966 - DEBUG - Requesting: http://10.0.0.27:8085/Snh_KNHReq?x=21
2025-08-13 15:02:08,987 - DEBUG - Validated VM route 181.128.129.60 in vrouter of 10.0.0.27
2025-08-13 15:02:08,992 - DEBUG - Remote Nh validation passed. Expected Tunnel, label: None, 0; Got None,0
2025-08-13 15:02:08,992 - INFO - Validated routes of VM ctest-TestRbac-76223572-66360343 in all vrouters
2025-08-13 15:02:09,195 - INFO - Deleting VM ctest-TestRbac-76223572-66360343
2025-08-13 15:02:09,262 - INFO - Deleting VN ctest-TestRbac-48382038-24064498
2025-08-13 15:02:09,283 - DEBUG - RefsExistError Delete when resource still referred: ['http://10.0.0.27:8082/virtual-machine-interface/01753043-a545-4f79-84ae-2051f9f71bc4'] while deleting VN ctest-TestRbac-48382038-24064498..Will retry
2025-08-13 15:02:11,385 - DEBUG - Requesting: http://10.0.0.27:8082/api-access-list/d47c6023-b454-4b19-aac1-2466c4aefc24
2025-08-13 15:02:11,392 - DEBUG - Response Code: 404
2025-08-13 15:02:11,392 - INFO - API access-list (d47c6023-b454-4b19-aac1-2466c4aefc24) got deleted in api server
2025-08-13 15:02:12,279 - INFO - Deleted project: ctest-TestRbac-76223572, ID : 628599f2-cfd2-4d6d-8d6a-bce04e43d671
2025-08-13 15:02:12,969 - INFO - Deleted project: ctest-TestRbac-48382038, ID : 3c7f05fe-afb0-4ba5-b9df-1e142ee7b3e9
2025-08-13 15:02:13,091 - ERROR - TypeError
Python 3.6.8: /usr/bin/python3
Wed Aug 13 15:02:09 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)
232 admin_connections=self.connections)
233 if vm_fixture and verify:
234 assert vm_fixture.verify_on_setup(), 'VM verification failed'
235 return vm_fixture
236
vm_fixture =
vm_fixture.verify_on_setup = >
/contrail-test/fixtures/vm_test.py in verify_on_setup(self=, force=False, refresh=False)
720 % (self.vm_name))
721 return result
722 result = self.verify_vm_in_control_nodes()
723 if not result:
724 self.logger.error('Route verification for VM %s in Controlnodes'
result = True
self =
self.verify_vm_in_control_nodes = .deco_retry....of >
/contrail-test/tcutils/util.py in f_retry(*args=(,), **kwargs={})
82 mtries, mdelay = tries, delay # make mutable
83
84 result = f(*args, **kwargs) # first attempt
85 rv = result
86 final = False
result undefined
f =
args = (,)
kwargs = {}
/contrail-test/fixtures/vm_test.py in verify_vm_in_control_nodes(self=)
1658 for vn_fq_name in self.vn_fq_names:
1659 if self.vnc_lib_fixture.get_active_forwarding_mode(vn_fq_name) != 'l2':
1660 for cn in self.get_ctrl_nodes_in_rt_group(vn_fq_name):
1661 vn_name = vn_fq_name.split(':')[-1]
1662 ri_name = vn_fq_name + ':' + vn_name
cn undefined
self =
self.get_ctrl_nodes_in_rt_group = >
vn_fq_name = 'default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498'
/contrail-test/fixtures/vm_test.py in get_ctrl_nodes_in_rt_group(self=, vn_fq_name='default-domain:ctest-TestRbac-48382038:ctest-TestRbac-48382038-24064498')
1626 ri = self.vnc_lib_fixture.routing_instance_read(fq_name_str=ri_name)
1627 rt_refs = ri.get_route_target_refs()
1628 for rt_ref in rt_refs:
1629 rt_obj = self.vnc_lib_fixture.route_target_read(id=rt_ref['uuid'])
1630 rt_list.append(rt_obj.name)
rt_ref undefined
rt_refs = None
TypeError: 'NoneType' object is not iterable
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Inappropriate argument type.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ("'NoneType' object is not iterable",)
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 62, in test_perms2_global_share
vm = self.create_vm(connections=u1_p2_conn, vn_fixture=vn)
File "/contrail-test/serial_scripts/rbac/base.py", line 234, in create_vm
assert vm_fixture.verify_on_setup(), 'VM verification failed'
File "/contrail-test/fixtures/vm_test.py", line 722, in verify_on_setup
result = self.verify_vm_in_control_nodes()
File "/contrail-test/tcutils/util.py", line 84, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/vm_test.py", line 1660, in verify_vm_in_control_nodes
for cn in self.get_ctrl_nodes_in_rt_group(vn_fq_name):
File "/contrail-test/fixtures/vm_test.py", line 1628, in get_ctrl_nodes_in_rt_group
for rt_ref in rt_refs:
TypeError: 'NoneType' object is not iterable
2025-08-13 15:02:13,091 - DEBUG - Skipping xmpp flap check
2025-08-13 15:02:13,091 - INFO -
2025-08-13 15:02:13,091 - INFO - END TEST : test_perms2_global_share : FAILED[0:00:25]
2025-08-13 15:02:13,092 - INFO - --------------------------------------------------------------------------------
2025-08-13 15:02:14,373 - INFO - Deleted project: ctest-TestRbac-19045068, ID : 7ae78675-523c-464a-9bef-36847076f1a9
2025-08-13 15:02:16,522 - DEBUG - [10.0.0.27]: 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-13 15:02:16,608 - DEBUG - Output : /bin/bash: crudini: command not found
2025-08-13 15:02:18,659 - DEBUG - Requesting: http://10.0.0.27:8082/aaa-mode
2025-08-13 15:02:27,107 - DEBUG - Requesting: http://10.0.0.27:8082/aaa-mode
2025-08-13 15:03:23,747 - DEBUG - [10.0.0.27]: Running cmd : docker ps -f status=running --format {{.Names}} 2>/dev/null
2025-08-13 15:03:23,844 - DEBUG - Output : contrail_test_x3tIxx7Vd
vrouter_vrouter-agent_1
vrouter_provisioner_1
vrouter_nodemgr_1
rsyslogd_rsyslogd_1
analytics_snmp_snmp-collector_1
analytics_snmp_nodemgr_1
analytics_snmp_provisioner_1
analytics_snmp_topology_1
analytics_alarm_nodemgr_1
analytics_alarm_alarm-gen_1
analytics_alarm_provisioner_1
analytics_alarm_kafka_1
analytics_provisioner_1
analytics_nodemgr_1
analytics_api_1
analytics_collector_1
analytics_database_nodemgr_1
analytics_database_provisioner_1
analytics_database_query-engine_1
analytics_database_cassandra_1
control_named_1
control_provisioner_1
control_control_1
control_nodemgr_1
control_dns_1
webui_web_1
webui_job_1
config_devicemgr_1
config_api_1
config_provisioner_1
config_schema_1
config_dnsmasq_1
config_nodemgr_1
config_svcmonitor_1
config_database_rabbitmq_1
config_database_provisioner_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
placement_api
glance_api
keystone
keystone_fernet
keystone_ssh
rabbitmq
memcached
mariadb
cron
kolla_toolbox
fluentd