-
Bug
-
Resolution: Not a Bug
-
High
-
Release 2.0
-
None
Only the last thread can succeed in vFW instantiation when we run the vFW script concurrently while all the other threads before were failed. Seems the vFW script doesn’t support concurrency.
modify robot openecompete_container file
/var/opt/OpenECOMP_ETE/robot/resources/test_templates/model_test_template.robot
change
${catalog_service_name}= Set Variable If '${catalog_service_name}' =='' ${shortened_uuid} ${catalog_service_name}
to
${catalog_service_name}= Set Variable If '${catalog_service_name}' =='' ${service_name} ${catalog_service_name}
Then execute "/opt/ete.sh instantiate" concurrently on robot, 2 errors appered.
1: 'Exception during create VF 0 : Stack error (CREATE_FAILED): Resource CREATE failed: Conflict: resources.vfw_private_2_port: IP address 10.0.131.101 already allocated in subnet ae8a06df-2698-4208-bef2-c57a680279ee\nNeutron server returns request_ids: ['req-28beaefc-da1e-45b4-8307-fbf4ccb822be'] - stack successfully deleted' rolledBack='true'","percentProgress":100,"finishTime":"Mon, 22 Oct 2018 06:58:32 GMT"}}}' contains 'FAILED'
2: Keyword 'Create VID Service Instance' failed after retrying for 5 minutes. The last error was: Element 'xpath=//select[@prompt='Select Service Type']' did not appear in 2 minutes